@azure/arm-communication 4.1.2-alpha.20260122.1 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +0 -3
  3. package/dist/browser/communicationServiceManagementClient.d.ts +6 -3
  4. package/dist/browser/communicationServiceManagementClient.d.ts.map +1 -1
  5. package/dist/browser/communicationServiceManagementClient.js +15 -14
  6. package/dist/browser/communicationServiceManagementClient.js.map +1 -1
  7. package/dist/browser/index.d.ts.map +1 -1
  8. package/dist/browser/index.js +4 -7
  9. package/dist/browser/index.js.map +1 -1
  10. package/dist/browser/lroImpl.d.ts +1 -1
  11. package/dist/browser/lroImpl.d.ts.map +1 -1
  12. package/dist/browser/lroImpl.js +2 -0
  13. package/dist/browser/lroImpl.js.map +1 -1
  14. package/dist/browser/models/index.d.ts +201 -1
  15. package/dist/browser/models/index.d.ts.map +1 -1
  16. package/dist/browser/models/index.js +12 -7
  17. package/dist/browser/models/index.js.map +1 -1
  18. package/dist/browser/models/mappers.d.ts +9 -1
  19. package/dist/browser/models/mappers.d.ts.map +1 -1
  20. package/dist/browser/models/mappers.js +284 -7
  21. package/dist/browser/models/mappers.js.map +1 -1
  22. package/dist/browser/models/parameters.d.ts +8 -1
  23. package/dist/browser/models/parameters.d.ts.map +1 -1
  24. package/dist/browser/models/parameters.js +76 -9
  25. package/dist/browser/models/parameters.js.map +1 -1
  26. package/dist/browser/operations/communicationServices.d.ts +5 -5
  27. package/dist/browser/operations/communicationServices.d.ts.map +1 -1
  28. package/dist/browser/operations/communicationServices.js +9 -22
  29. package/dist/browser/operations/communicationServices.js.map +1 -1
  30. package/dist/browser/operations/domains.d.ts +5 -5
  31. package/dist/browser/operations/domains.d.ts.map +1 -1
  32. package/dist/browser/operations/domains.js +5 -10
  33. package/dist/browser/operations/domains.js.map +1 -1
  34. package/dist/browser/operations/emailServices.d.ts +5 -5
  35. package/dist/browser/operations/emailServices.d.ts.map +1 -1
  36. package/dist/browser/operations/emailServices.js +9 -22
  37. package/dist/browser/operations/emailServices.js.map +1 -1
  38. package/dist/browser/operations/index.d.ts +3 -0
  39. package/dist/browser/operations/index.d.ts.map +1 -1
  40. package/dist/browser/operations/index.js +7 -7
  41. package/dist/browser/operations/index.js.map +1 -1
  42. package/dist/browser/operations/operations.d.ts +4 -4
  43. package/dist/browser/operations/operations.d.ts.map +1 -1
  44. package/dist/browser/operations/operations.js +4 -9
  45. package/dist/browser/operations/operations.js.map +1 -1
  46. package/dist/browser/operations/senderUsernames.d.ts +4 -4
  47. package/dist/browser/operations/senderUsernames.d.ts.map +1 -1
  48. package/dist/browser/operations/senderUsernames.js +4 -9
  49. package/dist/browser/operations/senderUsernames.js.map +1 -1
  50. package/dist/browser/operations/smtpUsernames.d.ts +63 -0
  51. package/dist/browser/operations/smtpUsernames.d.ts.map +1 -0
  52. package/dist/browser/operations/smtpUsernames.js +235 -0
  53. package/dist/browser/operations/smtpUsernames.js.map +1 -0
  54. package/dist/browser/operations/suppressionListAddresses.d.ts +75 -0
  55. package/dist/browser/operations/suppressionListAddresses.d.ts.map +1 -0
  56. package/dist/browser/operations/suppressionListAddresses.js +286 -0
  57. package/dist/browser/operations/suppressionListAddresses.js.map +1 -0
  58. package/dist/browser/operations/suppressionLists.d.ts +70 -0
  59. package/dist/browser/operations/suppressionLists.d.ts.map +1 -0
  60. package/dist/browser/operations/suppressionLists.js +260 -0
  61. package/dist/browser/operations/suppressionLists.js.map +1 -0
  62. package/dist/browser/operationsInterfaces/communicationServices.d.ts +3 -3
  63. package/dist/browser/operationsInterfaces/communicationServices.d.ts.map +1 -1
  64. package/dist/browser/operationsInterfaces/communicationServices.js +2 -7
  65. package/dist/browser/operationsInterfaces/communicationServices.js.map +1 -1
  66. package/dist/browser/operationsInterfaces/domains.d.ts +3 -3
  67. package/dist/browser/operationsInterfaces/domains.d.ts.map +1 -1
  68. package/dist/browser/operationsInterfaces/domains.js +2 -7
  69. package/dist/browser/operationsInterfaces/domains.js.map +1 -1
  70. package/dist/browser/operationsInterfaces/emailServices.d.ts +3 -3
  71. package/dist/browser/operationsInterfaces/emailServices.d.ts.map +1 -1
  72. package/dist/browser/operationsInterfaces/emailServices.js +2 -7
  73. package/dist/browser/operationsInterfaces/emailServices.js.map +1 -1
  74. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  75. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  76. package/dist/browser/operationsInterfaces/index.js +7 -7
  77. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  78. package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
  79. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  80. package/dist/browser/operationsInterfaces/operations.js +2 -7
  81. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  82. package/dist/browser/operationsInterfaces/senderUsernames.d.ts +2 -2
  83. package/dist/browser/operationsInterfaces/senderUsernames.d.ts.map +1 -1
  84. package/dist/browser/operationsInterfaces/senderUsernames.js +2 -7
  85. package/dist/browser/operationsInterfaces/senderUsernames.js.map +1 -1
  86. package/dist/browser/operationsInterfaces/smtpUsernames.d.ts +38 -0
  87. package/dist/browser/operationsInterfaces/smtpUsernames.d.ts.map +1 -0
  88. package/dist/browser/operationsInterfaces/smtpUsernames.js +4 -0
  89. package/dist/browser/operationsInterfaces/smtpUsernames.js.map +1 -0
  90. package/dist/browser/operationsInterfaces/suppressionListAddresses.d.ts +46 -0
  91. package/dist/browser/operationsInterfaces/suppressionListAddresses.d.ts.map +1 -0
  92. package/dist/browser/operationsInterfaces/suppressionListAddresses.js +4 -0
  93. package/dist/browser/operationsInterfaces/suppressionListAddresses.js.map +1 -0
  94. package/dist/browser/operationsInterfaces/suppressionLists.d.ts +43 -0
  95. package/dist/browser/operationsInterfaces/suppressionLists.d.ts.map +1 -0
  96. package/dist/browser/operationsInterfaces/suppressionLists.js +4 -0
  97. package/dist/browser/operationsInterfaces/suppressionLists.js.map +1 -0
  98. package/dist/browser/pagingHelper.d.ts.map +1 -1
  99. package/dist/browser/pagingHelper.js +2 -7
  100. package/dist/browser/pagingHelper.js.map +1 -1
  101. package/dist/commonjs/communicationServiceManagementClient.d.ts +6 -3
  102. package/dist/commonjs/communicationServiceManagementClient.d.ts.map +1 -1
  103. package/dist/commonjs/communicationServiceManagementClient.js +14 -13
  104. package/dist/commonjs/communicationServiceManagementClient.js.map +1 -1
  105. package/dist/commonjs/index.d.ts.map +1 -1
  106. package/dist/commonjs/index.js +4 -7
  107. package/dist/commonjs/index.js.map +1 -1
  108. package/dist/commonjs/lroImpl.d.ts +1 -1
  109. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  110. package/dist/commonjs/lroImpl.js +2 -0
  111. package/dist/commonjs/lroImpl.js.map +1 -1
  112. package/dist/commonjs/models/index.d.ts +201 -1
  113. package/dist/commonjs/models/index.d.ts.map +1 -1
  114. package/dist/commonjs/models/index.js +13 -8
  115. package/dist/commonjs/models/index.js.map +1 -1
  116. package/dist/commonjs/models/mappers.d.ts +9 -1
  117. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  118. package/dist/commonjs/models/mappers.js +286 -8
  119. package/dist/commonjs/models/mappers.js.map +1 -1
  120. package/dist/commonjs/models/parameters.d.ts +8 -1
  121. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  122. package/dist/commonjs/models/parameters.js +76 -9
  123. package/dist/commonjs/models/parameters.js.map +1 -1
  124. package/dist/commonjs/operations/communicationServices.d.ts +5 -5
  125. package/dist/commonjs/operations/communicationServices.d.ts.map +1 -1
  126. package/dist/commonjs/operations/communicationServices.js +8 -21
  127. package/dist/commonjs/operations/communicationServices.js.map +1 -1
  128. package/dist/commonjs/operations/domains.d.ts +5 -5
  129. package/dist/commonjs/operations/domains.d.ts.map +1 -1
  130. package/dist/commonjs/operations/domains.js +4 -9
  131. package/dist/commonjs/operations/domains.js.map +1 -1
  132. package/dist/commonjs/operations/emailServices.d.ts +5 -5
  133. package/dist/commonjs/operations/emailServices.d.ts.map +1 -1
  134. package/dist/commonjs/operations/emailServices.js +8 -21
  135. package/dist/commonjs/operations/emailServices.js.map +1 -1
  136. package/dist/commonjs/operations/index.d.ts +3 -0
  137. package/dist/commonjs/operations/index.d.ts.map +1 -1
  138. package/dist/commonjs/operations/index.js +7 -7
  139. package/dist/commonjs/operations/index.js.map +1 -1
  140. package/dist/commonjs/operations/operations.d.ts +4 -4
  141. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  142. package/dist/commonjs/operations/operations.js +4 -9
  143. package/dist/commonjs/operations/operations.js.map +1 -1
  144. package/dist/commonjs/operations/senderUsernames.d.ts +4 -4
  145. package/dist/commonjs/operations/senderUsernames.d.ts.map +1 -1
  146. package/dist/commonjs/operations/senderUsernames.js +4 -9
  147. package/dist/commonjs/operations/senderUsernames.js.map +1 -1
  148. package/dist/commonjs/operations/smtpUsernames.d.ts +63 -0
  149. package/dist/commonjs/operations/smtpUsernames.d.ts.map +1 -0
  150. package/dist/commonjs/operations/smtpUsernames.js +240 -0
  151. package/dist/commonjs/operations/smtpUsernames.js.map +1 -0
  152. package/dist/commonjs/operations/suppressionListAddresses.d.ts +75 -0
  153. package/dist/commonjs/operations/suppressionListAddresses.d.ts.map +1 -0
  154. package/dist/commonjs/operations/suppressionListAddresses.js +291 -0
  155. package/dist/commonjs/operations/suppressionListAddresses.js.map +1 -0
  156. package/dist/commonjs/operations/suppressionLists.d.ts +70 -0
  157. package/dist/commonjs/operations/suppressionLists.d.ts.map +1 -0
  158. package/dist/commonjs/operations/suppressionLists.js +265 -0
  159. package/dist/commonjs/operations/suppressionLists.js.map +1 -0
  160. package/dist/commonjs/operationsInterfaces/communicationServices.d.ts +3 -3
  161. package/dist/commonjs/operationsInterfaces/communicationServices.d.ts.map +1 -1
  162. package/dist/commonjs/operationsInterfaces/communicationServices.js +2 -7
  163. package/dist/commonjs/operationsInterfaces/communicationServices.js.map +1 -1
  164. package/dist/commonjs/operationsInterfaces/domains.d.ts +3 -3
  165. package/dist/commonjs/operationsInterfaces/domains.d.ts.map +1 -1
  166. package/dist/commonjs/operationsInterfaces/domains.js +2 -7
  167. package/dist/commonjs/operationsInterfaces/domains.js.map +1 -1
  168. package/dist/commonjs/operationsInterfaces/emailServices.d.ts +3 -3
  169. package/dist/commonjs/operationsInterfaces/emailServices.d.ts.map +1 -1
  170. package/dist/commonjs/operationsInterfaces/emailServices.js +2 -7
  171. package/dist/commonjs/operationsInterfaces/emailServices.js.map +1 -1
  172. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  173. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  174. package/dist/commonjs/operationsInterfaces/index.js +7 -7
  175. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  176. package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
  177. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  178. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  179. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  180. package/dist/commonjs/operationsInterfaces/senderUsernames.d.ts +2 -2
  181. package/dist/commonjs/operationsInterfaces/senderUsernames.d.ts.map +1 -1
  182. package/dist/commonjs/operationsInterfaces/senderUsernames.js +2 -7
  183. package/dist/commonjs/operationsInterfaces/senderUsernames.js.map +1 -1
  184. package/dist/commonjs/operationsInterfaces/smtpUsernames.d.ts +38 -0
  185. package/dist/commonjs/operationsInterfaces/smtpUsernames.d.ts.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/smtpUsernames.js +5 -0
  187. package/dist/commonjs/operationsInterfaces/smtpUsernames.js.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.d.ts +46 -0
  189. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.d.ts.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.js +5 -0
  191. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.js.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/suppressionLists.d.ts +43 -0
  193. package/dist/commonjs/operationsInterfaces/suppressionLists.d.ts.map +1 -0
  194. package/dist/commonjs/operationsInterfaces/suppressionLists.js +5 -0
  195. package/dist/commonjs/operationsInterfaces/suppressionLists.js.map +1 -0
  196. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  197. package/dist/commonjs/pagingHelper.js +2 -7
  198. package/dist/commonjs/pagingHelper.js.map +1 -1
  199. package/dist/esm/communicationServiceManagementClient.d.ts +6 -3
  200. package/dist/esm/communicationServiceManagementClient.d.ts.map +1 -1
  201. package/dist/esm/communicationServiceManagementClient.js +15 -14
  202. package/dist/esm/communicationServiceManagementClient.js.map +1 -1
  203. package/dist/esm/index.d.ts.map +1 -1
  204. package/dist/esm/index.js +4 -7
  205. package/dist/esm/index.js.map +1 -1
  206. package/dist/esm/lroImpl.d.ts +1 -1
  207. package/dist/esm/lroImpl.d.ts.map +1 -1
  208. package/dist/esm/lroImpl.js +2 -0
  209. package/dist/esm/lroImpl.js.map +1 -1
  210. package/dist/esm/models/index.d.ts +201 -1
  211. package/dist/esm/models/index.d.ts.map +1 -1
  212. package/dist/esm/models/index.js +12 -7
  213. package/dist/esm/models/index.js.map +1 -1
  214. package/dist/esm/models/mappers.d.ts +9 -1
  215. package/dist/esm/models/mappers.d.ts.map +1 -1
  216. package/dist/esm/models/mappers.js +284 -7
  217. package/dist/esm/models/mappers.js.map +1 -1
  218. package/dist/esm/models/parameters.d.ts +8 -1
  219. package/dist/esm/models/parameters.d.ts.map +1 -1
  220. package/dist/esm/models/parameters.js +76 -9
  221. package/dist/esm/models/parameters.js.map +1 -1
  222. package/dist/esm/operations/communicationServices.d.ts +5 -5
  223. package/dist/esm/operations/communicationServices.d.ts.map +1 -1
  224. package/dist/esm/operations/communicationServices.js +9 -22
  225. package/dist/esm/operations/communicationServices.js.map +1 -1
  226. package/dist/esm/operations/domains.d.ts +5 -5
  227. package/dist/esm/operations/domains.d.ts.map +1 -1
  228. package/dist/esm/operations/domains.js +5 -10
  229. package/dist/esm/operations/domains.js.map +1 -1
  230. package/dist/esm/operations/emailServices.d.ts +5 -5
  231. package/dist/esm/operations/emailServices.d.ts.map +1 -1
  232. package/dist/esm/operations/emailServices.js +9 -22
  233. package/dist/esm/operations/emailServices.js.map +1 -1
  234. package/dist/esm/operations/index.d.ts +3 -0
  235. package/dist/esm/operations/index.d.ts.map +1 -1
  236. package/dist/esm/operations/index.js +7 -7
  237. package/dist/esm/operations/index.js.map +1 -1
  238. package/dist/esm/operations/operations.d.ts +4 -4
  239. package/dist/esm/operations/operations.d.ts.map +1 -1
  240. package/dist/esm/operations/operations.js +4 -9
  241. package/dist/esm/operations/operations.js.map +1 -1
  242. package/dist/esm/operations/senderUsernames.d.ts +4 -4
  243. package/dist/esm/operations/senderUsernames.d.ts.map +1 -1
  244. package/dist/esm/operations/senderUsernames.js +4 -9
  245. package/dist/esm/operations/senderUsernames.js.map +1 -1
  246. package/dist/esm/operations/smtpUsernames.d.ts +63 -0
  247. package/dist/esm/operations/smtpUsernames.d.ts.map +1 -0
  248. package/dist/esm/operations/smtpUsernames.js +235 -0
  249. package/dist/esm/operations/smtpUsernames.js.map +1 -0
  250. package/dist/esm/operations/suppressionListAddresses.d.ts +75 -0
  251. package/dist/esm/operations/suppressionListAddresses.d.ts.map +1 -0
  252. package/dist/esm/operations/suppressionListAddresses.js +286 -0
  253. package/dist/esm/operations/suppressionListAddresses.js.map +1 -0
  254. package/dist/esm/operations/suppressionLists.d.ts +70 -0
  255. package/dist/esm/operations/suppressionLists.d.ts.map +1 -0
  256. package/dist/esm/operations/suppressionLists.js +260 -0
  257. package/dist/esm/operations/suppressionLists.js.map +1 -0
  258. package/dist/esm/operationsInterfaces/communicationServices.d.ts +3 -3
  259. package/dist/esm/operationsInterfaces/communicationServices.d.ts.map +1 -1
  260. package/dist/esm/operationsInterfaces/communicationServices.js +2 -7
  261. package/dist/esm/operationsInterfaces/communicationServices.js.map +1 -1
  262. package/dist/esm/operationsInterfaces/domains.d.ts +3 -3
  263. package/dist/esm/operationsInterfaces/domains.d.ts.map +1 -1
  264. package/dist/esm/operationsInterfaces/domains.js +2 -7
  265. package/dist/esm/operationsInterfaces/domains.js.map +1 -1
  266. package/dist/esm/operationsInterfaces/emailServices.d.ts +3 -3
  267. package/dist/esm/operationsInterfaces/emailServices.d.ts.map +1 -1
  268. package/dist/esm/operationsInterfaces/emailServices.js +2 -7
  269. package/dist/esm/operationsInterfaces/emailServices.js.map +1 -1
  270. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  271. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  272. package/dist/esm/operationsInterfaces/index.js +7 -7
  273. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  274. package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
  275. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  276. package/dist/esm/operationsInterfaces/operations.js +2 -7
  277. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  278. package/dist/esm/operationsInterfaces/senderUsernames.d.ts +2 -2
  279. package/dist/esm/operationsInterfaces/senderUsernames.d.ts.map +1 -1
  280. package/dist/esm/operationsInterfaces/senderUsernames.js +2 -7
  281. package/dist/esm/operationsInterfaces/senderUsernames.js.map +1 -1
  282. package/dist/esm/operationsInterfaces/smtpUsernames.d.ts +38 -0
  283. package/dist/esm/operationsInterfaces/smtpUsernames.d.ts.map +1 -0
  284. package/dist/esm/operationsInterfaces/smtpUsernames.js +4 -0
  285. package/dist/esm/operationsInterfaces/smtpUsernames.js.map +1 -0
  286. package/dist/esm/operationsInterfaces/suppressionListAddresses.d.ts +46 -0
  287. package/dist/esm/operationsInterfaces/suppressionListAddresses.d.ts.map +1 -0
  288. package/dist/esm/operationsInterfaces/suppressionListAddresses.js +4 -0
  289. package/dist/esm/operationsInterfaces/suppressionListAddresses.js.map +1 -0
  290. package/dist/esm/operationsInterfaces/suppressionLists.d.ts +43 -0
  291. package/dist/esm/operationsInterfaces/suppressionLists.d.ts.map +1 -0
  292. package/dist/esm/operationsInterfaces/suppressionLists.js +4 -0
  293. package/dist/esm/operationsInterfaces/suppressionLists.js.map +1 -0
  294. package/dist/esm/pagingHelper.d.ts.map +1 -1
  295. package/dist/esm/pagingHelper.js +2 -7
  296. package/dist/esm/pagingHelper.js.map +1 -1
  297. package/dist/react-native/communicationServiceManagementClient.d.ts +6 -3
  298. package/dist/react-native/communicationServiceManagementClient.d.ts.map +1 -1
  299. package/dist/react-native/communicationServiceManagementClient.js +15 -14
  300. package/dist/react-native/communicationServiceManagementClient.js.map +1 -1
  301. package/dist/react-native/index.d.ts.map +1 -1
  302. package/dist/react-native/index.js +4 -7
  303. package/dist/react-native/index.js.map +1 -1
  304. package/dist/react-native/lroImpl.d.ts +1 -1
  305. package/dist/react-native/lroImpl.d.ts.map +1 -1
  306. package/dist/react-native/lroImpl.js +2 -0
  307. package/dist/react-native/lroImpl.js.map +1 -1
  308. package/dist/react-native/models/index.d.ts +201 -1
  309. package/dist/react-native/models/index.d.ts.map +1 -1
  310. package/dist/react-native/models/index.js +12 -7
  311. package/dist/react-native/models/index.js.map +1 -1
  312. package/dist/react-native/models/mappers.d.ts +9 -1
  313. package/dist/react-native/models/mappers.d.ts.map +1 -1
  314. package/dist/react-native/models/mappers.js +284 -7
  315. package/dist/react-native/models/mappers.js.map +1 -1
  316. package/dist/react-native/models/parameters.d.ts +8 -1
  317. package/dist/react-native/models/parameters.d.ts.map +1 -1
  318. package/dist/react-native/models/parameters.js +76 -9
  319. package/dist/react-native/models/parameters.js.map +1 -1
  320. package/dist/react-native/operations/communicationServices.d.ts +5 -5
  321. package/dist/react-native/operations/communicationServices.d.ts.map +1 -1
  322. package/dist/react-native/operations/communicationServices.js +9 -22
  323. package/dist/react-native/operations/communicationServices.js.map +1 -1
  324. package/dist/react-native/operations/domains.d.ts +5 -5
  325. package/dist/react-native/operations/domains.d.ts.map +1 -1
  326. package/dist/react-native/operations/domains.js +5 -10
  327. package/dist/react-native/operations/domains.js.map +1 -1
  328. package/dist/react-native/operations/emailServices.d.ts +5 -5
  329. package/dist/react-native/operations/emailServices.d.ts.map +1 -1
  330. package/dist/react-native/operations/emailServices.js +9 -22
  331. package/dist/react-native/operations/emailServices.js.map +1 -1
  332. package/dist/react-native/operations/index.d.ts +3 -0
  333. package/dist/react-native/operations/index.d.ts.map +1 -1
  334. package/dist/react-native/operations/index.js +7 -7
  335. package/dist/react-native/operations/index.js.map +1 -1
  336. package/dist/react-native/operations/operations.d.ts +4 -4
  337. package/dist/react-native/operations/operations.d.ts.map +1 -1
  338. package/dist/react-native/operations/operations.js +4 -9
  339. package/dist/react-native/operations/operations.js.map +1 -1
  340. package/dist/react-native/operations/senderUsernames.d.ts +4 -4
  341. package/dist/react-native/operations/senderUsernames.d.ts.map +1 -1
  342. package/dist/react-native/operations/senderUsernames.js +4 -9
  343. package/dist/react-native/operations/senderUsernames.js.map +1 -1
  344. package/dist/react-native/operations/smtpUsernames.d.ts +63 -0
  345. package/dist/react-native/operations/smtpUsernames.d.ts.map +1 -0
  346. package/dist/react-native/operations/smtpUsernames.js +235 -0
  347. package/dist/react-native/operations/smtpUsernames.js.map +1 -0
  348. package/dist/react-native/operations/suppressionListAddresses.d.ts +75 -0
  349. package/dist/react-native/operations/suppressionListAddresses.d.ts.map +1 -0
  350. package/dist/react-native/operations/suppressionListAddresses.js +286 -0
  351. package/dist/react-native/operations/suppressionListAddresses.js.map +1 -0
  352. package/dist/react-native/operations/suppressionLists.d.ts +70 -0
  353. package/dist/react-native/operations/suppressionLists.d.ts.map +1 -0
  354. package/dist/react-native/operations/suppressionLists.js +260 -0
  355. package/dist/react-native/operations/suppressionLists.js.map +1 -0
  356. package/dist/react-native/operationsInterfaces/communicationServices.d.ts +3 -3
  357. package/dist/react-native/operationsInterfaces/communicationServices.d.ts.map +1 -1
  358. package/dist/react-native/operationsInterfaces/communicationServices.js +2 -7
  359. package/dist/react-native/operationsInterfaces/communicationServices.js.map +1 -1
  360. package/dist/react-native/operationsInterfaces/domains.d.ts +3 -3
  361. package/dist/react-native/operationsInterfaces/domains.d.ts.map +1 -1
  362. package/dist/react-native/operationsInterfaces/domains.js +2 -7
  363. package/dist/react-native/operationsInterfaces/domains.js.map +1 -1
  364. package/dist/react-native/operationsInterfaces/emailServices.d.ts +3 -3
  365. package/dist/react-native/operationsInterfaces/emailServices.d.ts.map +1 -1
  366. package/dist/react-native/operationsInterfaces/emailServices.js +2 -7
  367. package/dist/react-native/operationsInterfaces/emailServices.js.map +1 -1
  368. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  369. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  370. package/dist/react-native/operationsInterfaces/index.js +7 -7
  371. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  372. package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
  373. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  374. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  375. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  376. package/dist/react-native/operationsInterfaces/senderUsernames.d.ts +2 -2
  377. package/dist/react-native/operationsInterfaces/senderUsernames.d.ts.map +1 -1
  378. package/dist/react-native/operationsInterfaces/senderUsernames.js +2 -7
  379. package/dist/react-native/operationsInterfaces/senderUsernames.js.map +1 -1
  380. package/dist/react-native/operationsInterfaces/smtpUsernames.d.ts +38 -0
  381. package/dist/react-native/operationsInterfaces/smtpUsernames.d.ts.map +1 -0
  382. package/dist/react-native/operationsInterfaces/smtpUsernames.js +4 -0
  383. package/dist/react-native/operationsInterfaces/smtpUsernames.js.map +1 -0
  384. package/dist/react-native/operationsInterfaces/suppressionListAddresses.d.ts +46 -0
  385. package/dist/react-native/operationsInterfaces/suppressionListAddresses.d.ts.map +1 -0
  386. package/dist/react-native/operationsInterfaces/suppressionListAddresses.js +4 -0
  387. package/dist/react-native/operationsInterfaces/suppressionListAddresses.js.map +1 -0
  388. package/dist/react-native/operationsInterfaces/suppressionLists.d.ts +43 -0
  389. package/dist/react-native/operationsInterfaces/suppressionLists.d.ts.map +1 -0
  390. package/dist/react-native/operationsInterfaces/suppressionLists.js +4 -0
  391. package/dist/react-native/operationsInterfaces/suppressionLists.js.map +1 -0
  392. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  393. package/dist/react-native/pagingHelper.js +2 -7
  394. package/dist/react-native/pagingHelper.js.map +1 -1
  395. package/package.json +39 -38
  396. package/CHANGELOG.md +0 -216
  397. package/review/arm-communication-node.api.md +0 -829
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressionListAddresses.js","sourceRoot":"","sources":["../../../src/operations/suppressionListAddresses.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAetD,4CAA4C;AAC5C,4DAA4D;AAC5D,MAAa,4BAA4B;IACtB,MAAM,CAAuC;IAE9D;;;OAGG;IACH,YAAY,MAA4C;QACtD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,iBAAyB,EACzB,gBAAwB,EACxB,UAAkB,EAClB,mBAA2B,EAC3B,OAAoD;QAEpD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACnB,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,gBA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AAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,SAAS;KACrB;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,wCAAwC;SAC7D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,mBAAmB;KAC/B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { SuppressionListAddresses } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { CommunicationServiceManagementClient } from \"../communicationServiceManagementClient.js\";\nimport type {\n SuppressionListAddressResource,\n SuppressionListAddressesListNextOptionalParams,\n SuppressionListAddressesListOptionalParams,\n SuppressionListAddressesListResponse,\n SuppressionListAddressesGetOptionalParams,\n SuppressionListAddressesGetResponse,\n SuppressionListAddressesCreateOrUpdateOptionalParams,\n SuppressionListAddressesCreateOrUpdateResponse,\n SuppressionListAddressesDeleteOptionalParams,\n SuppressionListAddressesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SuppressionListAddresses operations. */\nexport class SuppressionListAddressesImpl implements SuppressionListAddresses {\n private readonly client: CommunicationServiceManagementClient;\n\n /**\n * Initialize a new instance of the class SuppressionListAddresses class.\n * @param client Reference to the service client\n */\n constructor(client: CommunicationServiceManagementClient) {\n this.client = client;\n }\n\n /**\n * Get all the addresses in a suppression list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param suppressionListName The name of the suppression list.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n options?: SuppressionListAddressesListOptionalParams,\n ): PagedAsyncIterableIterator<SuppressionListAddressResource> {\n const iter = this.listPagingAll(\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\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 emailServiceName,\n domainName,\n suppressionListName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n options?: SuppressionListAddressesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SuppressionListAddressResource[]> {\n let result: SuppressionListAddressesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n options,\n );\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n options?: SuppressionListAddressesListOptionalParams,\n ): AsyncIterableIterator<SuppressionListAddressResource> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get all the addresses in a suppression list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param suppressionListName The name of the suppression list.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n options?: SuppressionListAddressesListOptionalParams,\n ): Promise<SuppressionListAddressesListResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n options,\n },\n listOperationSpec,\n );\n }\n\n /**\n * Get a SuppressionListAddress.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param suppressionListName The name of the suppression list.\n * @param addressId The id of the address in a suppression list.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n addressId: string,\n options?: SuppressionListAddressesGetOptionalParams,\n ): Promise<SuppressionListAddressesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n addressId,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a SuppressionListAddress.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param suppressionListName The name of the suppression list.\n * @param addressId The id of the address in a suppression list.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n addressId: string,\n parameters: SuppressionListAddressResource,\n options?: SuppressionListAddressesCreateOrUpdateOptionalParams,\n ): Promise<SuppressionListAddressesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n addressId,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Operation to delete a single address from a suppression list.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param suppressionListName The name of the suppression list.\n * @param addressId The id of the address in a suppression list.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n addressId: string,\n options?: SuppressionListAddressesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n addressId,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param suppressionListName The name of the suppression list.\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 emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n nextLink: string,\n options?: SuppressionListAddressesListNextOptionalParams,\n ): Promise<SuppressionListAddressesListNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n nextLink,\n options,\n },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuppressionListAddressResourceCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n Parameters.suppressionListName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuppressionListAddressResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n Parameters.suppressionListName,\n Parameters.addressId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuppressionListAddressResource,\n },\n 201: {\n bodyMapper: Mappers.SuppressionListAddressResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n requestBody: Parameters.parameters11,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n Parameters.suppressionListName,\n Parameters.addressId,\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.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n Parameters.suppressionListName,\n Parameters.addressId,\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.SuppressionListAddressResourceCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n Parameters.suppressionListName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,70 @@
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SuppressionLists } from "../operationsInterfaces/index.js";
3
+ import type { CommunicationServiceManagementClient } from "../communicationServiceManagementClient.js";
4
+ import type { SuppressionListResource, SuppressionListsListByDomainOptionalParams, SuppressionListsGetOptionalParams, SuppressionListsGetResponse, SuppressionListsCreateOrUpdateOptionalParams, SuppressionListsCreateOrUpdateResponse, SuppressionListsDeleteOptionalParams } from "../models/index.js";
5
+ /** Class containing SuppressionLists operations. */
6
+ export declare class SuppressionListsImpl implements SuppressionLists {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class SuppressionLists class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: CommunicationServiceManagementClient);
13
+ /**
14
+ * List all suppression lists for a domains resource.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param emailServiceName The name of the EmailService resource.
17
+ * @param domainName The name of the Domains resource.
18
+ * @param options The options parameters.
19
+ */
20
+ listByDomain(resourceGroupName: string, emailServiceName: string, domainName: string, options?: SuppressionListsListByDomainOptionalParams): PagedAsyncIterableIterator<SuppressionListResource>;
21
+ private listByDomainPagingPage;
22
+ private listByDomainPagingAll;
23
+ /**
24
+ * List all suppression lists for a domains resource.
25
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
+ * @param emailServiceName The name of the EmailService resource.
27
+ * @param domainName The name of the Domains resource.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listByDomain;
31
+ /**
32
+ * Get a SuppressionList resource.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param emailServiceName The name of the EmailService resource.
35
+ * @param domainName The name of the Domains resource.
36
+ * @param suppressionListName The name of the suppression list.
37
+ * @param options The options parameters.
38
+ */
39
+ get(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, options?: SuppressionListsGetOptionalParams): Promise<SuppressionListsGetResponse>;
40
+ /**
41
+ * Add a new SuppressionList resource under the parent Domains resource or update an existing
42
+ * SuppressionList resource.
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param emailServiceName The name of the EmailService resource.
45
+ * @param domainName The name of the Domains resource.
46
+ * @param suppressionListName The name of the suppression list.
47
+ * @param parameters Parameters for the create or update operation
48
+ * @param options The options parameters.
49
+ */
50
+ createOrUpdate(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, parameters: SuppressionListResource, options?: SuppressionListsCreateOrUpdateOptionalParams): Promise<SuppressionListsCreateOrUpdateResponse>;
51
+ /**
52
+ * Delete a SuppressionList.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param emailServiceName The name of the EmailService resource.
55
+ * @param domainName The name of the Domains resource.
56
+ * @param suppressionListName The name of the suppression list.
57
+ * @param options The options parameters.
58
+ */
59
+ delete(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, options?: SuppressionListsDeleteOptionalParams): Promise<void>;
60
+ /**
61
+ * ListByDomainNext
62
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
63
+ * @param emailServiceName The name of the EmailService resource.
64
+ * @param domainName The name of the Domains resource.
65
+ * @param nextLink The nextLink from the previous successful call to the ListByDomain method.
66
+ * @param options The options parameters.
67
+ */
68
+ private _listByDomainNext;
69
+ }
70
+ //# sourceMappingURL=suppressionLists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressionLists.d.ts","sourceRoot":"","sources":["../../../src/operations/suppressionLists.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIzE,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AACvG,OAAO,KAAK,EACV,uBAAuB,EAEvB,0CAA0C,EAE1C,iCAAiC,EACjC,2BAA2B,EAC3B,4CAA4C,EAC5C,sCAAsC,EACtC,oCAAoC,EAErC,MAAM,oBAAoB,CAAC;AAG5B,oDAAoD;AACpD,qBAAa,oBAAqB,YAAW,gBAAgB;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAE9D;;;OAGG;gBACS,MAAM,EAAE,oCAAoC;IAIxD;;;;;;OAMG;IACI,YAAY,CACjB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,uBAAuB,CAAC;YA6BvC,sBAAsB;YA+BtB,qBAAqB;IAgBpC;;;;;;OAMG;IACH,OAAO,CAAC,aAAa;IAYrB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAavC;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAclD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,IAAI,CAAC;IAahB;;;;;;;OAOG;IACH,OAAO,CAAC,iBAAiB;CAY1B"}
@@ -0,0 +1,265 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SuppressionListsImpl = void 0;
6
+ const tslib_1 = require("tslib");
7
+ const pagingHelper_js_1 = require("../pagingHelper.js");
8
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
9
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
10
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
11
+ /// <reference lib="esnext.asynciterable" />
12
+ /** Class containing SuppressionLists operations. */
13
+ class SuppressionListsImpl {
14
+ client;
15
+ /**
16
+ * Initialize a new instance of the class SuppressionLists class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * List all suppression lists for a domains resource.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param emailServiceName The name of the EmailService resource.
26
+ * @param domainName The name of the Domains resource.
27
+ * @param options The options parameters.
28
+ */
29
+ listByDomain(resourceGroupName, emailServiceName, domainName, options) {
30
+ const iter = this.listByDomainPagingAll(resourceGroupName, emailServiceName, domainName, options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: (settings) => {
39
+ if (settings?.maxPageSize) {
40
+ throw new Error("maxPageSize is not supported by this operation.");
41
+ }
42
+ return this.listByDomainPagingPage(resourceGroupName, emailServiceName, domainName, options, settings);
43
+ },
44
+ };
45
+ }
46
+ async *listByDomainPagingPage(resourceGroupName, emailServiceName, domainName, options, settings) {
47
+ let result;
48
+ let continuationToken = settings?.continuationToken;
49
+ if (!continuationToken) {
50
+ result = await this._listByDomain(resourceGroupName, emailServiceName, domainName, options);
51
+ const page = result.value || [];
52
+ continuationToken = result.nextLink;
53
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
54
+ yield page;
55
+ }
56
+ while (continuationToken) {
57
+ result = await this._listByDomainNext(resourceGroupName, emailServiceName, domainName, continuationToken, options);
58
+ continuationToken = result.nextLink;
59
+ const page = result.value || [];
60
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
61
+ yield page;
62
+ }
63
+ }
64
+ async *listByDomainPagingAll(resourceGroupName, emailServiceName, domainName, options) {
65
+ for await (const page of this.listByDomainPagingPage(resourceGroupName, emailServiceName, domainName, options)) {
66
+ yield* page;
67
+ }
68
+ }
69
+ /**
70
+ * List all suppression lists for a domains resource.
71
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
72
+ * @param emailServiceName The name of the EmailService resource.
73
+ * @param domainName The name of the Domains resource.
74
+ * @param options The options parameters.
75
+ */
76
+ _listByDomain(resourceGroupName, emailServiceName, domainName, options) {
77
+ return this.client.sendOperationRequest({ resourceGroupName, emailServiceName, domainName, options }, listByDomainOperationSpec);
78
+ }
79
+ /**
80
+ * Get a SuppressionList resource.
81
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
+ * @param emailServiceName The name of the EmailService resource.
83
+ * @param domainName The name of the Domains resource.
84
+ * @param suppressionListName The name of the suppression list.
85
+ * @param options The options parameters.
86
+ */
87
+ get(resourceGroupName, emailServiceName, domainName, suppressionListName, options) {
88
+ return this.client.sendOperationRequest({
89
+ resourceGroupName,
90
+ emailServiceName,
91
+ domainName,
92
+ suppressionListName,
93
+ options,
94
+ }, getOperationSpec);
95
+ }
96
+ /**
97
+ * Add a new SuppressionList resource under the parent Domains resource or update an existing
98
+ * SuppressionList resource.
99
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
100
+ * @param emailServiceName The name of the EmailService resource.
101
+ * @param domainName The name of the Domains resource.
102
+ * @param suppressionListName The name of the suppression list.
103
+ * @param parameters Parameters for the create or update operation
104
+ * @param options The options parameters.
105
+ */
106
+ createOrUpdate(resourceGroupName, emailServiceName, domainName, suppressionListName, parameters, options) {
107
+ return this.client.sendOperationRequest({
108
+ resourceGroupName,
109
+ emailServiceName,
110
+ domainName,
111
+ suppressionListName,
112
+ parameters,
113
+ options,
114
+ }, createOrUpdateOperationSpec);
115
+ }
116
+ /**
117
+ * Delete a SuppressionList.
118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
119
+ * @param emailServiceName The name of the EmailService resource.
120
+ * @param domainName The name of the Domains resource.
121
+ * @param suppressionListName The name of the suppression list.
122
+ * @param options The options parameters.
123
+ */
124
+ delete(resourceGroupName, emailServiceName, domainName, suppressionListName, options) {
125
+ return this.client.sendOperationRequest({
126
+ resourceGroupName,
127
+ emailServiceName,
128
+ domainName,
129
+ suppressionListName,
130
+ options,
131
+ }, deleteOperationSpec);
132
+ }
133
+ /**
134
+ * ListByDomainNext
135
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
136
+ * @param emailServiceName The name of the EmailService resource.
137
+ * @param domainName The name of the Domains resource.
138
+ * @param nextLink The nextLink from the previous successful call to the ListByDomain method.
139
+ * @param options The options parameters.
140
+ */
141
+ _listByDomainNext(resourceGroupName, emailServiceName, domainName, nextLink, options) {
142
+ return this.client.sendOperationRequest({ resourceGroupName, emailServiceName, domainName, nextLink, options }, listByDomainNextOperationSpec);
143
+ }
144
+ }
145
+ exports.SuppressionListsImpl = SuppressionListsImpl;
146
+ // Operation Specifications
147
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
148
+ const listByDomainOperationSpec = {
149
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists",
150
+ httpMethod: "GET",
151
+ responses: {
152
+ 200: {
153
+ bodyMapper: Mappers.SuppressionListResourceCollection,
154
+ },
155
+ default: {
156
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
157
+ },
158
+ },
159
+ queryParameters: [Parameters.apiVersion],
160
+ urlParameters: [
161
+ Parameters.$host,
162
+ Parameters.subscriptionId,
163
+ Parameters.resourceGroupName,
164
+ Parameters.emailServiceName,
165
+ Parameters.domainName1,
166
+ ],
167
+ headerParameters: [Parameters.accept],
168
+ serializer,
169
+ };
170
+ const getOperationSpec = {
171
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}",
172
+ httpMethod: "GET",
173
+ responses: {
174
+ 200: {
175
+ bodyMapper: Mappers.SuppressionListResource,
176
+ },
177
+ default: {
178
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
179
+ },
180
+ },
181
+ queryParameters: [Parameters.apiVersion],
182
+ urlParameters: [
183
+ Parameters.$host,
184
+ Parameters.subscriptionId,
185
+ Parameters.resourceGroupName,
186
+ Parameters.emailServiceName,
187
+ Parameters.domainName1,
188
+ Parameters.suppressionListName,
189
+ ],
190
+ headerParameters: [Parameters.accept],
191
+ serializer,
192
+ };
193
+ const createOrUpdateOperationSpec = {
194
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}",
195
+ httpMethod: "PUT",
196
+ responses: {
197
+ 200: {
198
+ bodyMapper: Mappers.SuppressionListResource,
199
+ },
200
+ 201: {
201
+ bodyMapper: Mappers.SuppressionListResource,
202
+ },
203
+ default: {
204
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
205
+ },
206
+ },
207
+ requestBody: Parameters.parameters10,
208
+ queryParameters: [Parameters.apiVersion],
209
+ urlParameters: [
210
+ Parameters.$host,
211
+ Parameters.subscriptionId,
212
+ Parameters.resourceGroupName,
213
+ Parameters.emailServiceName,
214
+ Parameters.domainName1,
215
+ Parameters.suppressionListName,
216
+ ],
217
+ headerParameters: [Parameters.accept, Parameters.contentType],
218
+ mediaType: "json",
219
+ serializer,
220
+ };
221
+ const deleteOperationSpec = {
222
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}",
223
+ httpMethod: "DELETE",
224
+ responses: {
225
+ 200: {},
226
+ 204: {},
227
+ default: {
228
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
229
+ },
230
+ },
231
+ queryParameters: [Parameters.apiVersion],
232
+ urlParameters: [
233
+ Parameters.$host,
234
+ Parameters.subscriptionId,
235
+ Parameters.resourceGroupName,
236
+ Parameters.emailServiceName,
237
+ Parameters.domainName1,
238
+ Parameters.suppressionListName,
239
+ ],
240
+ headerParameters: [Parameters.accept],
241
+ serializer,
242
+ };
243
+ const listByDomainNextOperationSpec = {
244
+ path: "{nextLink}",
245
+ httpMethod: "GET",
246
+ responses: {
247
+ 200: {
248
+ bodyMapper: Mappers.SuppressionListResourceCollection,
249
+ },
250
+ default: {
251
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
252
+ },
253
+ },
254
+ urlParameters: [
255
+ Parameters.$host,
256
+ Parameters.nextLink,
257
+ Parameters.subscriptionId,
258
+ Parameters.resourceGroupName,
259
+ Parameters.emailServiceName,
260
+ Parameters.domainName1,
261
+ ],
262
+ headerParameters: [Parameters.accept],
263
+ serializer,
264
+ };
265
+ //# sourceMappingURL=suppressionLists.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressionLists.js","sourceRoot":"","sources":["../../../src/operations/suppressionLists.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAMlC,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAetD,4CAA4C;AAC5C,oDAAoD;AACpD,MAAa,oBAAoB;IACd,MAAM,CAAuC;IAE9D;;;OAGG;IACH,YAAY,MAA4C;QACtD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,YAAY,CACjB,iBAAyB,EACzB,gBAAwB,EACxB,UAAkB,EAClB,OAAoD;QAEpD,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CACrC,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,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,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAi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;IACrC,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { SuppressionLists } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { CommunicationServiceManagementClient } from \"../communicationServiceManagementClient.js\";\nimport type {\n SuppressionListResource,\n SuppressionListsListByDomainNextOptionalParams,\n SuppressionListsListByDomainOptionalParams,\n SuppressionListsListByDomainResponse,\n SuppressionListsGetOptionalParams,\n SuppressionListsGetResponse,\n SuppressionListsCreateOrUpdateOptionalParams,\n SuppressionListsCreateOrUpdateResponse,\n SuppressionListsDeleteOptionalParams,\n SuppressionListsListByDomainNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SuppressionLists operations. */\nexport class SuppressionListsImpl implements SuppressionLists {\n private readonly client: CommunicationServiceManagementClient;\n\n /**\n * Initialize a new instance of the class SuppressionLists class.\n * @param client Reference to the service client\n */\n constructor(client: CommunicationServiceManagementClient) {\n this.client = client;\n }\n\n /**\n * List all suppression lists for a domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param options The options parameters.\n */\n public listByDomain(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: SuppressionListsListByDomainOptionalParams,\n ): PagedAsyncIterableIterator<SuppressionListResource> {\n const iter = this.listByDomainPagingAll(\n resourceGroupName,\n emailServiceName,\n domainName,\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.listByDomainPagingPage(\n resourceGroupName,\n emailServiceName,\n domainName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByDomainPagingPage(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: SuppressionListsListByDomainOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SuppressionListResource[]> {\n let result: SuppressionListsListByDomainResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByDomain(resourceGroupName, emailServiceName, domainName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByDomainNext(\n resourceGroupName,\n emailServiceName,\n domainName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByDomainPagingAll(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: SuppressionListsListByDomainOptionalParams,\n ): AsyncIterableIterator<SuppressionListResource> {\n for await (const page of this.listByDomainPagingPage(\n resourceGroupName,\n emailServiceName,\n domainName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List all suppression lists for a domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param options The options parameters.\n */\n private _listByDomain(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: SuppressionListsListByDomainOptionalParams,\n ): Promise<SuppressionListsListByDomainResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, emailServiceName, domainName, options },\n listByDomainOperationSpec,\n );\n }\n\n /**\n * Get a SuppressionList resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param suppressionListName The name of the suppression list.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n options?: SuppressionListsGetOptionalParams,\n ): Promise<SuppressionListsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Add a new SuppressionList resource under the parent Domains resource or update an existing\n * SuppressionList resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param suppressionListName The name of the suppression list.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n parameters: SuppressionListResource,\n options?: SuppressionListsCreateOrUpdateOptionalParams,\n ): Promise<SuppressionListsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete a SuppressionList.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param suppressionListName The name of the suppression list.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n options?: SuppressionListsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n emailServiceName,\n domainName,\n suppressionListName,\n options,\n },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListByDomainNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param nextLink The nextLink from the previous successful call to the ListByDomain method.\n * @param options The options parameters.\n */\n private _listByDomainNext(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n nextLink: string,\n options?: SuppressionListsListByDomainNextOptionalParams,\n ): Promise<SuppressionListsListByDomainNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, emailServiceName, domainName, nextLink, options },\n listByDomainNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByDomainOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuppressionListResourceCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuppressionListResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n Parameters.suppressionListName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuppressionListResource,\n },\n 201: {\n bodyMapper: Mappers.SuppressionListResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n requestBody: Parameters.parameters10,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n Parameters.suppressionListName,\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.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n Parameters.suppressionListName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByDomainNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SuppressionListResourceCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.emailServiceName,\n Parameters.domainName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { CommunicationServiceResource, CommunicationServicesListBySubscriptionOptionalParams, CommunicationServicesListByResourceGroupOptionalParams, NameAvailabilityParameters, CommunicationServicesCheckNameAvailabilityOptionalParams, CommunicationServicesCheckNameAvailabilityResponse, CommunicationServicesLinkNotificationHubOptionalParams, CommunicationServicesLinkNotificationHubResponse, CommunicationServiceResourceUpdate, CommunicationServicesUpdateOptionalParams, CommunicationServicesUpdateResponse, CommunicationServicesGetOptionalParams, CommunicationServicesGetResponse, CommunicationServicesCreateOrUpdateOptionalParams, CommunicationServicesCreateOrUpdateResponse, CommunicationServicesDeleteOptionalParams, CommunicationServicesListKeysOptionalParams, CommunicationServicesListKeysResponse, RegenerateKeyParameters, CommunicationServicesRegenerateKeyOptionalParams, CommunicationServicesRegenerateKeyResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import type { CommunicationServiceResource, CommunicationServicesListBySubscriptionOptionalParams, CommunicationServicesListByResourceGroupOptionalParams, NameAvailabilityParameters, CommunicationServicesCheckNameAvailabilityOptionalParams, CommunicationServicesCheckNameAvailabilityResponse, CommunicationServicesLinkNotificationHubOptionalParams, CommunicationServicesLinkNotificationHubResponse, CommunicationServiceResourceUpdate, CommunicationServicesUpdateOptionalParams, CommunicationServicesUpdateResponse, CommunicationServicesGetOptionalParams, CommunicationServicesGetResponse, CommunicationServicesCreateOrUpdateOptionalParams, CommunicationServicesCreateOrUpdateResponse, CommunicationServicesDeleteOptionalParams, CommunicationServicesListKeysOptionalParams, CommunicationServicesListKeysResponse, RegenerateKeyParameters, CommunicationServicesRegenerateKeyOptionalParams, CommunicationServicesRegenerateKeyResponse } from "../models/index.js";
4
4
  /** Interface representing a CommunicationServices. */
5
5
  export interface CommunicationServices {
6
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"communicationServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/communicationServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,4BAA4B,EAC5B,qDAAqD,EACrD,sDAAsD,EACtD,0BAA0B,EAC1B,wDAAwD,EACxD,kDAAkD,EAClD,sDAAsD,EACtD,gDAAgD,EAChD,kCAAkC,EAClC,yCAAyC,EACzC,mCAAmC,EACnC,sCAAsC,EACtC,gCAAgC,EAChC,iDAAiD,EACjD,2CAA2C,EAC3C,yCAAyC,EACzC,2CAA2C,EAC3C,qCAAqC,EACrC,uBAAuB,EACvB,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,4BAA4B,CAAC,CAAC;IAC5D;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,4BAA4B,CAAC,CAAC;IAC5D;;;;OAIG;IACH,qBAAqB,CACnB,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,wDAAwD,GACjE,OAAO,CAAC,kDAAkD,CAAC,CAAC;IAC/D;;;;;OAKG;IAC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AAC;IACjB;;;;;OAKG;IACH,QAAQ,CACN,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
1
+ {"version":3,"file":"communicationServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/communicationServices.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,4BAA4B,EAC5B,qDAAqD,EACrD,sDAAsD,EACtD,0BAA0B,EAC1B,wDAAwD,EACxD,kDAAkD,EAClD,sDAAsD,EACtD,gDAAgD,EAChD,kCAAkC,EAClC,yCAAyC,EACzC,mCAAmC,EACnC,sCAAsC,EACtC,gCAAgC,EAChC,iDAAiD,EACjD,2CAA2C,EAC3C,yCAAyC,EACzC,2CAA2C,EAC3C,qCAAqC,EACrC,uBAAuB,EACvB,gDAAgD,EAChD,0CAA0C,EAC3C,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,4BAA4B,CAAC,CAAC;IAC5D;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,4BAA4B,CAAC,CAAC;IAC5D;;;;OAIG;IACH,qBAAqB,CACnB,0BAA0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AAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,QAAQ,CACN,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC,CAAC;CACxD"}
@@ -1,10 +1,5 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  //# sourceMappingURL=communicationServices.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"communicationServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/communicationServices.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n CommunicationServiceResource,\n CommunicationServicesListBySubscriptionOptionalParams,\n CommunicationServicesListByResourceGroupOptionalParams,\n NameAvailabilityParameters,\n CommunicationServicesCheckNameAvailabilityOptionalParams,\n CommunicationServicesCheckNameAvailabilityResponse,\n CommunicationServicesLinkNotificationHubOptionalParams,\n CommunicationServicesLinkNotificationHubResponse,\n CommunicationServiceResourceUpdate,\n CommunicationServicesUpdateOptionalParams,\n CommunicationServicesUpdateResponse,\n CommunicationServicesGetOptionalParams,\n CommunicationServicesGetResponse,\n CommunicationServicesCreateOrUpdateOptionalParams,\n CommunicationServicesCreateOrUpdateResponse,\n CommunicationServicesDeleteOptionalParams,\n CommunicationServicesListKeysOptionalParams,\n CommunicationServicesListKeysResponse,\n RegenerateKeyParameters,\n CommunicationServicesRegenerateKeyOptionalParams,\n CommunicationServicesRegenerateKeyResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CommunicationServices. */\nexport interface CommunicationServices {\n /**\n * Handles requests to list all resources in a subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: CommunicationServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<CommunicationServiceResource>;\n /**\n * Handles requests to list all resources in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: CommunicationServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<CommunicationServiceResource>;\n /**\n * Checks that the CommunicationService name is valid and is not already in use.\n * @param nameAvailabilityParameters Parameters supplied to the operation.\n * @param options The options parameters.\n */\n checkNameAvailability(\n nameAvailabilityParameters: NameAvailabilityParameters,\n options?: CommunicationServicesCheckNameAvailabilityOptionalParams,\n ): Promise<CommunicationServicesCheckNameAvailabilityResponse>;\n /**\n * Links an Azure Notification Hub to this communication service.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n linkNotificationHub(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesLinkNotificationHubOptionalParams,\n ): Promise<CommunicationServicesLinkNotificationHubResponse>;\n /**\n * Operation to update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameters for the update operation\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: CommunicationServiceResourceUpdate,\n options?: CommunicationServicesUpdateOptionalParams,\n ): Promise<CommunicationServicesUpdateResponse>;\n /**\n * Get the CommunicationService and its properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesGetOptionalParams,\n ): Promise<CommunicationServicesGetResponse>;\n /**\n * Create a new CommunicationService or update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: CommunicationServiceResource,\n options?: CommunicationServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<CommunicationServicesCreateOrUpdateResponse>,\n CommunicationServicesCreateOrUpdateResponse\n >\n >;\n /**\n * Create a new CommunicationService or update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: CommunicationServiceResource,\n options?: CommunicationServicesCreateOrUpdateOptionalParams,\n ): Promise<CommunicationServicesCreateOrUpdateResponse>;\n /**\n * Operation to delete a CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Operation to delete a CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Get the access keys of the CommunicationService resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesListKeysOptionalParams,\n ): Promise<CommunicationServicesListKeysResponse>;\n /**\n * Regenerate CommunicationService access key. PrimaryKey and SecondaryKey cannot be regenerated at the\n * same time.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameter that describes the Regenerate Key Operation.\n * @param options The options parameters.\n */\n regenerateKey(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: RegenerateKeyParameters,\n options?: CommunicationServicesRegenerateKeyOptionalParams,\n ): Promise<CommunicationServicesRegenerateKeyResponse>;\n}\n"]}
1
+ {"version":3,"file":"communicationServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/communicationServices.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n CommunicationServiceResource,\n CommunicationServicesListBySubscriptionOptionalParams,\n CommunicationServicesListByResourceGroupOptionalParams,\n NameAvailabilityParameters,\n CommunicationServicesCheckNameAvailabilityOptionalParams,\n CommunicationServicesCheckNameAvailabilityResponse,\n CommunicationServicesLinkNotificationHubOptionalParams,\n CommunicationServicesLinkNotificationHubResponse,\n CommunicationServiceResourceUpdate,\n CommunicationServicesUpdateOptionalParams,\n CommunicationServicesUpdateResponse,\n CommunicationServicesGetOptionalParams,\n CommunicationServicesGetResponse,\n CommunicationServicesCreateOrUpdateOptionalParams,\n CommunicationServicesCreateOrUpdateResponse,\n CommunicationServicesDeleteOptionalParams,\n CommunicationServicesListKeysOptionalParams,\n CommunicationServicesListKeysResponse,\n RegenerateKeyParameters,\n CommunicationServicesRegenerateKeyOptionalParams,\n CommunicationServicesRegenerateKeyResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CommunicationServices. */\nexport interface CommunicationServices {\n /**\n * Handles requests to list all resources in a subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: CommunicationServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<CommunicationServiceResource>;\n /**\n * Handles requests to list all resources in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: CommunicationServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<CommunicationServiceResource>;\n /**\n * Checks that the CommunicationService name is valid and is not already in use.\n * @param nameAvailabilityParameters Parameters supplied to the operation.\n * @param options The options parameters.\n */\n checkNameAvailability(\n nameAvailabilityParameters: NameAvailabilityParameters,\n options?: CommunicationServicesCheckNameAvailabilityOptionalParams,\n ): Promise<CommunicationServicesCheckNameAvailabilityResponse>;\n /**\n * Links an Azure Notification Hub to this communication service.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n linkNotificationHub(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesLinkNotificationHubOptionalParams,\n ): Promise<CommunicationServicesLinkNotificationHubResponse>;\n /**\n * Operation to update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameters for the update operation\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: CommunicationServiceResourceUpdate,\n options?: CommunicationServicesUpdateOptionalParams,\n ): Promise<CommunicationServicesUpdateResponse>;\n /**\n * Get the CommunicationService and its properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesGetOptionalParams,\n ): Promise<CommunicationServicesGetResponse>;\n /**\n * Create a new CommunicationService or update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: CommunicationServiceResource,\n options?: CommunicationServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<CommunicationServicesCreateOrUpdateResponse>,\n CommunicationServicesCreateOrUpdateResponse\n >\n >;\n /**\n * Create a new CommunicationService or update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: CommunicationServiceResource,\n options?: CommunicationServicesCreateOrUpdateOptionalParams,\n ): Promise<CommunicationServicesCreateOrUpdateResponse>;\n /**\n * Operation to delete a CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Operation to delete a CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Get the access keys of the CommunicationService resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesListKeysOptionalParams,\n ): Promise<CommunicationServicesListKeysResponse>;\n /**\n * Regenerate CommunicationService access key. PrimaryKey and SecondaryKey cannot be regenerated at the\n * same time.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameter that describes the Regenerate Key Operation.\n * @param options The options parameters.\n */\n regenerateKey(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: RegenerateKeyParameters,\n options?: CommunicationServicesRegenerateKeyOptionalParams,\n ): Promise<CommunicationServicesRegenerateKeyResponse>;\n}\n"]}
@@ -1,6 +1,6 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { DomainResource, DomainsListByEmailServiceResourceOptionalParams, DomainsGetOptionalParams, DomainsGetResponse, DomainsCreateOrUpdateOptionalParams, DomainsCreateOrUpdateResponse, DomainsDeleteOptionalParams, UpdateDomainRequestParameters, DomainsUpdateOptionalParams, DomainsUpdateResponse, VerificationParameter, DomainsInitiateVerificationOptionalParams, DomainsInitiateVerificationResponse, DomainsCancelVerificationOptionalParams, DomainsCancelVerificationResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import type { DomainResource, DomainsListByEmailServiceResourceOptionalParams, DomainsGetOptionalParams, DomainsGetResponse, DomainsCreateOrUpdateOptionalParams, DomainsCreateOrUpdateResponse, DomainsDeleteOptionalParams, UpdateDomainRequestParameters, DomainsUpdateOptionalParams, DomainsUpdateResponse, VerificationParameter, DomainsInitiateVerificationOptionalParams, DomainsInitiateVerificationResponse, DomainsCancelVerificationOptionalParams, DomainsCancelVerificationResponse } from "../models/index.js";
4
4
  /** Interface representing a Domains. */
5
5
  export interface Domains {
6
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"domains.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/domains.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,+CAA+C,EAC/C,wBAAwB,EACxB,kBAAkB,EAClB,mCAAmC,EACnC,6BAA6B,EAC7B,2BAA2B,EAC3B,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,EACrB,yCAAyC,EACzC,mCAAmC,EACnC,uCAAuC,EACvC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAG5B,wCAAwC;AACxC,MAAM,WAAW,OAAO;IACtB;;;;;OAKG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B;;;;;;;;OAQG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,cAAc,EA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AiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,mCAAmC,CAAC,EACnD,mCAAmC,CACpC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,gCAAgC,CAC9B,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;;OAOG;IACH,uBAAuB,CACrB,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,8BAA8B,CAC5B,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;CAC/C"}
1
+ {"version":3,"file":"domains.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/domains.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,cAAc,EACd,+CAA+C,EAC/C,wBAAwB,EACxB,kBAAkB,EAClB,mCAAmC,EACnC,6BAA6B,EAC7B,2BAA2B,EAC3B,6BA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uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,8BAA8B,CAC5B,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;CAC/C"}
@@ -1,10 +1,5 @@
1
1
  "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
9
4
  Object.defineProperty(exports, "__esModule", { value: true });
10
5
  //# sourceMappingURL=domains.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"domains.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/domains.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DomainResource,\n DomainsListByEmailServiceResourceOptionalParams,\n DomainsGetOptionalParams,\n DomainsGetResponse,\n DomainsCreateOrUpdateOptionalParams,\n DomainsCreateOrUpdateResponse,\n DomainsDeleteOptionalParams,\n UpdateDomainRequestParameters,\n DomainsUpdateOptionalParams,\n DomainsUpdateResponse,\n VerificationParameter,\n DomainsInitiateVerificationOptionalParams,\n DomainsInitiateVerificationResponse,\n DomainsCancelVerificationOptionalParams,\n DomainsCancelVerificationResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Domains. */\nexport interface Domains {\n /**\n * Handles requests to list all Domains resources under the parent EmailServices resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param options The options parameters.\n */\n listByEmailServiceResource(\n resourceGroupName: string,\n emailServiceName: string,\n options?: DomainsListByEmailServiceResourceOptionalParams,\n ): PagedAsyncIterableIterator<DomainResource>;\n /**\n * Get the Domains resource and its properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: DomainsGetOptionalParams,\n ): Promise<DomainsGetResponse>;\n /**\n * Add a new Domains resource under the parent EmailService resource or update an existing Domains\n * resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: DomainResource,\n options?: DomainsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainsCreateOrUpdateResponse>,\n DomainsCreateOrUpdateResponse\n >\n >;\n /**\n * Add a new Domains resource under the parent EmailService resource or update an existing Domains\n * resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: DomainResource,\n options?: DomainsCreateOrUpdateOptionalParams,\n ): Promise<DomainsCreateOrUpdateResponse>;\n /**\n * Operation to delete a Domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: DomainsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Operation to delete a Domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: DomainsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Operation to update an existing Domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Parameters for the update operation\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: UpdateDomainRequestParameters,\n options?: DomainsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainsUpdateResponse>,\n DomainsUpdateResponse\n >\n >;\n /**\n * Operation to update an existing Domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Parameters for the update operation\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: UpdateDomainRequestParameters,\n options?: DomainsUpdateOptionalParams,\n ): Promise<DomainsUpdateResponse>;\n /**\n * Initiate verification of DNS record.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Type of verification to be initiated.\n * @param options The options parameters.\n */\n beginInitiateVerification(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: VerificationParameter,\n options?: DomainsInitiateVerificationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainsInitiateVerificationResponse>,\n DomainsInitiateVerificationResponse\n >\n >;\n /**\n * Initiate verification of DNS record.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Type of verification to be initiated.\n * @param options The options parameters.\n */\n beginInitiateVerificationAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: VerificationParameter,\n options?: DomainsInitiateVerificationOptionalParams,\n ): Promise<DomainsInitiateVerificationResponse>;\n /**\n * Cancel verification of DNS record.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Type of verification to be canceled.\n * @param options The options parameters.\n */\n beginCancelVerification(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: VerificationParameter,\n options?: DomainsCancelVerificationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainsCancelVerificationResponse>,\n DomainsCancelVerificationResponse\n >\n >;\n /**\n * Cancel verification of DNS record.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Type of verification to be canceled.\n * @param options The options parameters.\n */\n beginCancelVerificationAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: VerificationParameter,\n options?: DomainsCancelVerificationOptionalParams,\n ): Promise<DomainsCancelVerificationResponse>;\n}\n"]}
1
+ {"version":3,"file":"domains.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/domains.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// 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\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n DomainResource,\n DomainsListByEmailServiceResourceOptionalParams,\n DomainsGetOptionalParams,\n DomainsGetResponse,\n DomainsCreateOrUpdateOptionalParams,\n DomainsCreateOrUpdateResponse,\n DomainsDeleteOptionalParams,\n UpdateDomainRequestParameters,\n DomainsUpdateOptionalParams,\n DomainsUpdateResponse,\n VerificationParameter,\n DomainsInitiateVerificationOptionalParams,\n DomainsInitiateVerificationResponse,\n DomainsCancelVerificationOptionalParams,\n DomainsCancelVerificationResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Domains. */\nexport interface Domains {\n /**\n * Handles requests to list all Domains resources under the parent EmailServices resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param options The options parameters.\n */\n listByEmailServiceResource(\n resourceGroupName: string,\n emailServiceName: string,\n options?: DomainsListByEmailServiceResourceOptionalParams,\n ): PagedAsyncIterableIterator<DomainResource>;\n /**\n * Get the Domains resource and its properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: DomainsGetOptionalParams,\n ): Promise<DomainsGetResponse>;\n /**\n * Add a new Domains resource under the parent EmailService resource or update an existing Domains\n * resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: DomainResource,\n options?: DomainsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<DomainsCreateOrUpdateResponse>, DomainsCreateOrUpdateResponse>\n >;\n /**\n * Add a new Domains resource under the parent EmailService resource or update an existing Domains\n * resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: DomainResource,\n options?: DomainsCreateOrUpdateOptionalParams,\n ): Promise<DomainsCreateOrUpdateResponse>;\n /**\n * Operation to delete a Domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: DomainsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Operation to delete a Domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: DomainsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Operation to update an existing Domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Parameters for the update operation\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: UpdateDomainRequestParameters,\n options?: DomainsUpdateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<DomainsUpdateResponse>, DomainsUpdateResponse>>;\n /**\n * Operation to update an existing Domains resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Parameters for the update operation\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: UpdateDomainRequestParameters,\n options?: DomainsUpdateOptionalParams,\n ): Promise<DomainsUpdateResponse>;\n /**\n * Initiate verification of DNS record.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Type of verification to be initiated.\n * @param options The options parameters.\n */\n beginInitiateVerification(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: VerificationParameter,\n options?: DomainsInitiateVerificationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainsInitiateVerificationResponse>,\n DomainsInitiateVerificationResponse\n >\n >;\n /**\n * Initiate verification of DNS record.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Type of verification to be initiated.\n * @param options The options parameters.\n */\n beginInitiateVerificationAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: VerificationParameter,\n options?: DomainsInitiateVerificationOptionalParams,\n ): Promise<DomainsInitiateVerificationResponse>;\n /**\n * Cancel verification of DNS record.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Type of verification to be canceled.\n * @param options The options parameters.\n */\n beginCancelVerification(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: VerificationParameter,\n options?: DomainsCancelVerificationOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DomainsCancelVerificationResponse>,\n DomainsCancelVerificationResponse\n >\n >;\n /**\n * Cancel verification of DNS record.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param emailServiceName The name of the EmailService resource.\n * @param domainName The name of the Domains resource.\n * @param parameters Type of verification to be canceled.\n * @param options The options parameters.\n */\n beginCancelVerificationAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n parameters: VerificationParameter,\n options?: DomainsCancelVerificationOptionalParams,\n ): Promise<DomainsCancelVerificationResponse>;\n}\n"]}
@@ -1,6 +1,6 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import { EmailServiceResource, EmailServicesListBySubscriptionOptionalParams, EmailServicesListByResourceGroupOptionalParams, EmailServicesGetOptionalParams, EmailServicesGetResponse, EmailServicesCreateOrUpdateOptionalParams, EmailServicesCreateOrUpdateResponse, EmailServicesDeleteOptionalParams, EmailServiceResourceUpdate, EmailServicesUpdateOptionalParams, EmailServicesUpdateResponse, EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams, EmailServicesListVerifiedExchangeOnlineDomainsResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import type { EmailServiceResource, EmailServicesListBySubscriptionOptionalParams, EmailServicesListByResourceGroupOptionalParams, EmailServicesGetOptionalParams, EmailServicesGetResponse, EmailServicesCreateOrUpdateOptionalParams, EmailServicesCreateOrUpdateResponse, EmailServicesDeleteOptionalParams, EmailServiceResourceUpdate, EmailServicesUpdateOptionalParams, EmailServicesUpdateResponse, EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams, EmailServicesListVerifiedExchangeOnlineDomainsResponse } from "../models/index.js";
4
4
  /** Interface representing a EmailServices. */
5
5
  export interface EmailServices {
6
6
  /**