@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
@@ -1,9 +1,4 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  export {};
9
4
  //# sourceMappingURL=emailServices.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"emailServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/emailServices.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 EmailServiceResource,\n EmailServicesListBySubscriptionOptionalParams,\n EmailServicesListByResourceGroupOptionalParams,\n EmailServicesGetOptionalParams,\n EmailServicesGetResponse,\n EmailServicesCreateOrUpdateOptionalParams,\n EmailServicesCreateOrUpdateResponse,\n EmailServicesDeleteOptionalParams,\n EmailServiceResourceUpdate,\n EmailServicesUpdateOptionalParams,\n EmailServicesUpdateResponse,\n EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams,\n EmailServicesListVerifiedExchangeOnlineDomainsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a EmailServices. */\nexport interface EmailServices {\n /**\n * Handles requests to list all resources in a subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: EmailServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<EmailServiceResource>;\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?: EmailServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<EmailServiceResource>;\n /**\n * Get the EmailService 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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n emailServiceName: string,\n options?: EmailServicesGetOptionalParams,\n ): Promise<EmailServicesGetResponse>;\n /**\n * Create a new EmailService or update an existing EmailService.\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 parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResource,\n options?: EmailServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EmailServicesCreateOrUpdateResponse>,\n EmailServicesCreateOrUpdateResponse\n >\n >;\n /**\n * Create a new EmailService or update an existing EmailService.\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 parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResource,\n options?: EmailServicesCreateOrUpdateOptionalParams,\n ): Promise<EmailServicesCreateOrUpdateResponse>;\n /**\n * Operation to delete a EmailService.\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 beginDelete(\n resourceGroupName: string,\n emailServiceName: string,\n options?: EmailServicesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Operation to delete a EmailService.\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 beginDeleteAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n options?: EmailServicesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Operation to update an existing EmailService.\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 parameters Parameters for the update operation\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResourceUpdate,\n options?: EmailServicesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EmailServicesUpdateResponse>,\n EmailServicesUpdateResponse\n >\n >;\n /**\n * Operation to update an existing EmailService.\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 parameters Parameters for the update operation\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResourceUpdate,\n options?: EmailServicesUpdateOptionalParams,\n ): Promise<EmailServicesUpdateResponse>;\n /**\n * Get a list of domains that are fully verified in Exchange Online.\n * @param options The options parameters.\n */\n listVerifiedExchangeOnlineDomains(\n options?: EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams,\n ): Promise<EmailServicesListVerifiedExchangeOnlineDomainsResponse>;\n}\n"]}
1
+ {"version":3,"file":"emailServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/emailServices.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 EmailServiceResource,\n EmailServicesListBySubscriptionOptionalParams,\n EmailServicesListByResourceGroupOptionalParams,\n EmailServicesGetOptionalParams,\n EmailServicesGetResponse,\n EmailServicesCreateOrUpdateOptionalParams,\n EmailServicesCreateOrUpdateResponse,\n EmailServicesDeleteOptionalParams,\n EmailServiceResourceUpdate,\n EmailServicesUpdateOptionalParams,\n EmailServicesUpdateResponse,\n EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams,\n EmailServicesListVerifiedExchangeOnlineDomainsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a EmailServices. */\nexport interface EmailServices {\n /**\n * Handles requests to list all resources in a subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: EmailServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<EmailServiceResource>;\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?: EmailServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<EmailServiceResource>;\n /**\n * Get the EmailService 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 options The options parameters.\n */\n get(\n resourceGroupName: string,\n emailServiceName: string,\n options?: EmailServicesGetOptionalParams,\n ): Promise<EmailServicesGetResponse>;\n /**\n * Create a new EmailService or update an existing EmailService.\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 parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResource,\n options?: EmailServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<EmailServicesCreateOrUpdateResponse>,\n EmailServicesCreateOrUpdateResponse\n >\n >;\n /**\n * Create a new EmailService or update an existing EmailService.\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 parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResource,\n options?: EmailServicesCreateOrUpdateOptionalParams,\n ): Promise<EmailServicesCreateOrUpdateResponse>;\n /**\n * Operation to delete a EmailService.\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 beginDelete(\n resourceGroupName: string,\n emailServiceName: string,\n options?: EmailServicesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Operation to delete a EmailService.\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 beginDeleteAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n options?: EmailServicesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Operation to update an existing EmailService.\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 parameters Parameters for the update operation\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResourceUpdate,\n options?: EmailServicesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<EmailServicesUpdateResponse>, EmailServicesUpdateResponse>\n >;\n /**\n * Operation to update an existing EmailService.\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 parameters Parameters for the update operation\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n emailServiceName: string,\n parameters: EmailServiceResourceUpdate,\n options?: EmailServicesUpdateOptionalParams,\n ): Promise<EmailServicesUpdateResponse>;\n /**\n * Get a list of domains that are fully verified in Exchange Online.\n * @param options The options parameters.\n */\n listVerifiedExchangeOnlineDomains(\n options?: EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams,\n ): Promise<EmailServicesListVerifiedExchangeOnlineDomainsResponse>;\n}\n"]}
@@ -3,4 +3,7 @@ export * from "./communicationServices.js";
3
3
  export * from "./domains.js";
4
4
  export * from "./emailServices.js";
5
5
  export * from "./senderUsernames.js";
6
+ export * from "./smtpUsernames.js";
7
+ export * from "./suppressionLists.js";
8
+ export * from "./suppressionListAddresses.js";
6
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAMA,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC"}
@@ -1,13 +1,13 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ // Code generated by Microsoft (R) AutoRest Code Generator.
4
+ // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
5
  export * from "./operations.js";
9
6
  export * from "./communicationServices.js";
10
7
  export * from "./domains.js";
11
8
  export * from "./emailServices.js";
12
9
  export * from "./senderUsernames.js";
10
+ export * from "./smtpUsernames.js";
11
+ export * from "./suppressionLists.js";
12
+ export * from "./suppressionListAddresses.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./communicationServices.js\";\nexport * from \"./domains.js\";\nexport * from \"./emailServices.js\";\nexport * from \"./senderUsernames.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,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\nexport * from \"./operations.js\";\nexport * from \"./communicationServices.js\";\nexport * from \"./domains.js\";\nexport * from \"./emailServices.js\";\nexport * from \"./senderUsernames.js\";\nexport * from \"./smtpUsernames.js\";\nexport * from \"./suppressionLists.js\";\nexport * from \"./suppressionListAddresses.js\";\n"]}
@@ -1,5 +1,5 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operation, OperationsListOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Operation, OperationsListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Operations. */
4
4
  export interface Operations {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGlF,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACrF"}
@@ -1,9 +1,4 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  export {};
9
4
  //# sourceMappingURL=operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.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 { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available REST API operations of the Microsoft.Communication provider.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.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 { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available REST API operations of the Microsoft.Communication provider.\n * @param options The options parameters.\n */\n list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { SenderUsernameResource, SenderUsernamesListByDomainsOptionalParams, SenderUsernamesGetOptionalParams, SenderUsernamesGetResponse, SenderUsernamesCreateOrUpdateOptionalParams, SenderUsernamesCreateOrUpdateResponse, SenderUsernamesDeleteOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SenderUsernameResource, SenderUsernamesListByDomainsOptionalParams, SenderUsernamesGetOptionalParams, SenderUsernamesGetResponse, SenderUsernamesCreateOrUpdateOptionalParams, SenderUsernamesCreateOrUpdateResponse, SenderUsernamesDeleteOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a SenderUsernames. */
4
4
  export interface SenderUsernames {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"senderUsernames.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/senderUsernames.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,sBAAsB,EACtB,0CAA0C,EAC1C,gCAAgC,EAChC,0BAA0B,EAC1B,2CAA2C,EAC3C,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;;;OAMG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,sBAAsB,CAAC,CAAC;IACtD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"senderUsernames.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/senderUsernames.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,sBAAsB,EACtB,0CAA0C,EAC1C,gCAAgC,EAChC,0BAA0B,EAC1B,2CAA2C,EAC3C,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;;;;OAMG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,sBAAsB,CAAC,CAAC;IACtD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1,9 +1,4 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  export {};
9
4
  //# sourceMappingURL=senderUsernames.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"senderUsernames.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/senderUsernames.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 {\n SenderUsernameResource,\n SenderUsernamesListByDomainsOptionalParams,\n SenderUsernamesGetOptionalParams,\n SenderUsernamesGetResponse,\n SenderUsernamesCreateOrUpdateOptionalParams,\n SenderUsernamesCreateOrUpdateResponse,\n SenderUsernamesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SenderUsernames. */\nexport interface SenderUsernames {\n /**\n * List all valid sender usernames 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 listByDomains(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: SenderUsernamesListByDomainsOptionalParams,\n ): PagedAsyncIterableIterator<SenderUsernameResource>;\n /**\n * Get a valid sender username 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 senderUsername The valid sender Username.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n options?: SenderUsernamesGetOptionalParams,\n ): Promise<SenderUsernamesGetResponse>;\n /**\n * Add a new SenderUsername resource under the parent Domains resource or update an existing\n * SenderUsername 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 senderUsername The valid sender Username.\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 senderUsername: string,\n parameters: SenderUsernameResource,\n options?: SenderUsernamesCreateOrUpdateOptionalParams,\n ): Promise<SenderUsernamesCreateOrUpdateResponse>;\n /**\n * Operation to delete a SenderUsernames 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 senderUsername The valid sender Username.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n options?: SenderUsernamesDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"senderUsernames.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/senderUsernames.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 {\n SenderUsernameResource,\n SenderUsernamesListByDomainsOptionalParams,\n SenderUsernamesGetOptionalParams,\n SenderUsernamesGetResponse,\n SenderUsernamesCreateOrUpdateOptionalParams,\n SenderUsernamesCreateOrUpdateResponse,\n SenderUsernamesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SenderUsernames. */\nexport interface SenderUsernames {\n /**\n * List all valid sender usernames 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 listByDomains(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: SenderUsernamesListByDomainsOptionalParams,\n ): PagedAsyncIterableIterator<SenderUsernameResource>;\n /**\n * Get a valid sender username 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 senderUsername The valid sender Username.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n options?: SenderUsernamesGetOptionalParams,\n ): Promise<SenderUsernamesGetResponse>;\n /**\n * Add a new SenderUsername resource under the parent Domains resource or update an existing\n * SenderUsername 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 senderUsername The valid sender Username.\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 senderUsername: string,\n parameters: SenderUsernameResource,\n options?: SenderUsernamesCreateOrUpdateOptionalParams,\n ): Promise<SenderUsernamesCreateOrUpdateResponse>;\n /**\n * Operation to delete a SenderUsernames 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 senderUsername The valid sender Username.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n senderUsername: string,\n options?: SenderUsernamesDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
@@ -0,0 +1,38 @@
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SmtpUsernameResource, SmtpUsernamesListOptionalParams, SmtpUsernamesGetOptionalParams, SmtpUsernamesGetResponse, SmtpUsernamesCreateOrUpdateOptionalParams, SmtpUsernamesCreateOrUpdateResponse, SmtpUsernamesDeleteOptionalParams } from "../models/index.js";
3
+ /** Interface representing a SmtpUsernames. */
4
+ export interface SmtpUsernames {
5
+ /**
6
+ * Get all SmtpUsernameResources for a Communication resource.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param communicationServiceName The name of the CommunicationService resource.
9
+ * @param options The options parameters.
10
+ */
11
+ list(resourceGroupName: string, communicationServiceName: string, options?: SmtpUsernamesListOptionalParams): PagedAsyncIterableIterator<SmtpUsernameResource>;
12
+ /**
13
+ * Get a SmtpUsernameResource.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param communicationServiceName The name of the CommunicationService resource.
16
+ * @param smtpUsername The name of the SmtpUsernameResource.
17
+ * @param options The options parameters.
18
+ */
19
+ get(resourceGroupName: string, communicationServiceName: string, smtpUsername: string, options?: SmtpUsernamesGetOptionalParams): Promise<SmtpUsernamesGetResponse>;
20
+ /**
21
+ * Create or update an SmtpUsernameResource.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param communicationServiceName The name of the CommunicationService resource.
24
+ * @param smtpUsername The name of the SmtpUsernameResource.
25
+ * @param parameters Parameters for the create or update operation
26
+ * @param options The options parameters.
27
+ */
28
+ createOrUpdate(resourceGroupName: string, communicationServiceName: string, smtpUsername: string, parameters: SmtpUsernameResource, options?: SmtpUsernamesCreateOrUpdateOptionalParams): Promise<SmtpUsernamesCreateOrUpdateResponse>;
29
+ /**
30
+ * Operation to delete a single SmtpUsername resource.
31
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
32
+ * @param communicationServiceName The name of the CommunicationService resource.
33
+ * @param smtpUsername The name of the SmtpUsernameResource.
34
+ * @param options The options parameters.
35
+ */
36
+ delete(resourceGroupName: string, communicationServiceName: string, smtpUsername: string, options?: SmtpUsernamesDeleteOptionalParams): Promise<void>;
37
+ }
38
+ //# sourceMappingURL=smtpUsernames.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smtpUsernames.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/smtpUsernames.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,oBAAoB,EACpB,+BAA+B,EAC/B,8BAA8B,EAC9B,wBAAwB,EACxB,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EAClC,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,+BAA+B,GACxC,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACpD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,oBAAoB,EAChC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,wBAAwB,EAAE,MAAM,EAChC,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=smtpUsernames.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smtpUsernames.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/smtpUsernames.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 {\n SmtpUsernameResource,\n SmtpUsernamesListOptionalParams,\n SmtpUsernamesGetOptionalParams,\n SmtpUsernamesGetResponse,\n SmtpUsernamesCreateOrUpdateOptionalParams,\n SmtpUsernamesCreateOrUpdateResponse,\n SmtpUsernamesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SmtpUsernames. */\nexport interface SmtpUsernames {\n /**\n * Get all SmtpUsernameResources for a Communication 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 list(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: SmtpUsernamesListOptionalParams,\n ): PagedAsyncIterableIterator<SmtpUsernameResource>;\n /**\n * Get a SmtpUsernameResource.\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 smtpUsername The name of the SmtpUsernameResource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n communicationServiceName: string,\n smtpUsername: string,\n options?: SmtpUsernamesGetOptionalParams,\n ): Promise<SmtpUsernamesGetResponse>;\n /**\n * Create or update an SmtpUsernameResource.\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 smtpUsername The name of the SmtpUsernameResource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n communicationServiceName: string,\n smtpUsername: string,\n parameters: SmtpUsernameResource,\n options?: SmtpUsernamesCreateOrUpdateOptionalParams,\n ): Promise<SmtpUsernamesCreateOrUpdateResponse>;\n /**\n * Operation to delete a single SmtpUsername 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 smtpUsername The name of the SmtpUsernameResource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n communicationServiceName: string,\n smtpUsername: string,\n options?: SmtpUsernamesDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
@@ -0,0 +1,46 @@
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SuppressionListAddressResource, SuppressionListAddressesListOptionalParams, SuppressionListAddressesGetOptionalParams, SuppressionListAddressesGetResponse, SuppressionListAddressesCreateOrUpdateOptionalParams, SuppressionListAddressesCreateOrUpdateResponse, SuppressionListAddressesDeleteOptionalParams } from "../models/index.js";
3
+ /** Interface representing a SuppressionListAddresses. */
4
+ export interface SuppressionListAddresses {
5
+ /**
6
+ * Get all the addresses in a suppression list.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param emailServiceName The name of the EmailService resource.
9
+ * @param domainName The name of the Domains resource.
10
+ * @param suppressionListName The name of the suppression list.
11
+ * @param options The options parameters.
12
+ */
13
+ list(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, options?: SuppressionListAddressesListOptionalParams): PagedAsyncIterableIterator<SuppressionListAddressResource>;
14
+ /**
15
+ * Get a SuppressionListAddress.
16
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
17
+ * @param emailServiceName The name of the EmailService resource.
18
+ * @param domainName The name of the Domains resource.
19
+ * @param suppressionListName The name of the suppression list.
20
+ * @param addressId The id of the address in a suppression list.
21
+ * @param options The options parameters.
22
+ */
23
+ get(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, addressId: string, options?: SuppressionListAddressesGetOptionalParams): Promise<SuppressionListAddressesGetResponse>;
24
+ /**
25
+ * Create or update a SuppressionListAddress.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param emailServiceName The name of the EmailService resource.
28
+ * @param domainName The name of the Domains resource.
29
+ * @param suppressionListName The name of the suppression list.
30
+ * @param addressId The id of the address in a suppression list.
31
+ * @param parameters Parameters for the create or update operation
32
+ * @param options The options parameters.
33
+ */
34
+ createOrUpdate(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, addressId: string, parameters: SuppressionListAddressResource, options?: SuppressionListAddressesCreateOrUpdateOptionalParams): Promise<SuppressionListAddressesCreateOrUpdateResponse>;
35
+ /**
36
+ * Operation to delete a single address from a suppression list.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param emailServiceName The name of the EmailService resource.
39
+ * @param domainName The name of the Domains resource.
40
+ * @param suppressionListName The name of the suppression list.
41
+ * @param addressId The id of the address in a suppression list.
42
+ * @param options The options parameters.
43
+ */
44
+ delete(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, addressId: string, options?: SuppressionListAddressesDeleteOptionalParams): Promise<void>;
45
+ }
46
+ //# sourceMappingURL=suppressionListAddresses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressionListAddresses.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/suppressionListAddresses.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,8BAA8B,EAC9B,0CAA0C,EAC1C,yCAAyC,EACzC,mCAAmC,EACnC,oDAAoD,EACpD,8CAA8C,EAC9C,4CAA4C,EAC7C,MAAM,oBAAoB,CAAC;AAG5B,yDAAyD;AACzD,MAAM,WAAW,wBAAwB;IACvC;;;;;;;OAOG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,8BAA8B,CAAC,CAAC;IAC9D;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAChD;;;;;;;;;OASG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,8BAA8B,EAC1C,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;IAC3D;;;;;;;;OAQG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=suppressionListAddresses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressionListAddresses.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/suppressionListAddresses.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 {\n SuppressionListAddressResource,\n SuppressionListAddressesListOptionalParams,\n SuppressionListAddressesGetOptionalParams,\n SuppressionListAddressesGetResponse,\n SuppressionListAddressesCreateOrUpdateOptionalParams,\n SuppressionListAddressesCreateOrUpdateResponse,\n SuppressionListAddressesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SuppressionListAddresses. */\nexport interface SuppressionListAddresses {\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 list(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n suppressionListName: string,\n options?: SuppressionListAddressesListOptionalParams,\n ): PagedAsyncIterableIterator<SuppressionListAddressResource>;\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 /**\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 /**\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}\n"]}
@@ -0,0 +1,43 @@
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SuppressionListResource, SuppressionListsListByDomainOptionalParams, SuppressionListsGetOptionalParams, SuppressionListsGetResponse, SuppressionListsCreateOrUpdateOptionalParams, SuppressionListsCreateOrUpdateResponse, SuppressionListsDeleteOptionalParams } from "../models/index.js";
3
+ /** Interface representing a SuppressionLists. */
4
+ export interface SuppressionLists {
5
+ /**
6
+ * List all suppression lists for a domains resource.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param emailServiceName The name of the EmailService resource.
9
+ * @param domainName The name of the Domains resource.
10
+ * @param options The options parameters.
11
+ */
12
+ listByDomain(resourceGroupName: string, emailServiceName: string, domainName: string, options?: SuppressionListsListByDomainOptionalParams): PagedAsyncIterableIterator<SuppressionListResource>;
13
+ /**
14
+ * Get a SuppressionList 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 suppressionListName The name of the suppression list.
19
+ * @param options The options parameters.
20
+ */
21
+ get(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, options?: SuppressionListsGetOptionalParams): Promise<SuppressionListsGetResponse>;
22
+ /**
23
+ * Add a new SuppressionList resource under the parent Domains resource or update an existing
24
+ * SuppressionList 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 suppressionListName The name of the suppression list.
29
+ * @param parameters Parameters for the create or update operation
30
+ * @param options The options parameters.
31
+ */
32
+ createOrUpdate(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, parameters: SuppressionListResource, options?: SuppressionListsCreateOrUpdateOptionalParams): Promise<SuppressionListsCreateOrUpdateResponse>;
33
+ /**
34
+ * Delete a SuppressionList.
35
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
36
+ * @param emailServiceName The name of the EmailService resource.
37
+ * @param domainName The name of the Domains resource.
38
+ * @param suppressionListName The name of the suppression list.
39
+ * @param options The options parameters.
40
+ */
41
+ delete(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, options?: SuppressionListsDeleteOptionalParams): Promise<void>;
42
+ }
43
+ //# sourceMappingURL=suppressionLists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressionLists.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/suppressionLists.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,uBAAuB,EACvB,0CAA0C,EAC1C,iCAAiC,EACjC,2BAA2B,EAC3B,4CAA4C,EAC5C,sCAAsC,EACtC,oCAAoC,EACrC,MAAM,oBAAoB,CAAC;AAG5B,iDAAiD;AACjD,MAAM,WAAW,gBAAgB;IAC/B;;;;;;OAMG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,gBAAgB,EAAE,MAAM,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,uBAAuB,CAAC,CAAC;IACvD;;;;;;;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,CAAC;IACxC;;;;;;;;;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,CAAC;IACnD;;;;;;;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,CAAC;CAClB"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=suppressionLists.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressionLists.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/suppressionLists.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 {\n SuppressionListResource,\n SuppressionListsListByDomainOptionalParams,\n SuppressionListsGetOptionalParams,\n SuppressionListsGetResponse,\n SuppressionListsCreateOrUpdateOptionalParams,\n SuppressionListsCreateOrUpdateResponse,\n SuppressionListsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SuppressionLists. */\nexport interface SuppressionLists {\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 listByDomain(\n resourceGroupName: string,\n emailServiceName: string,\n domainName: string,\n options?: SuppressionListsListByDomainOptionalParams,\n ): PagedAsyncIterableIterator<SuppressionListResource>;\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 /**\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 /**\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}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAO/F"}
@@ -1,10 +1,5 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  const pageMap = new WeakMap();
9
4
  /**
10
5
  * Given the last `.value` produced by the `byPage` iterator,
@@ -1 +1 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AASlC,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAa,EAAE,iBAAqC;IACvF,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(page: unknown, continuationToken: string | undefined): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- import * as coreAuth from "@azure/core-auth";
3
- import { Operations, CommunicationServices, Domains, EmailServices, SenderUsernames } from "./operationsInterfaces/index.js";
4
- import { CommunicationServiceManagementClientOptionalParams } from "./models/index.js";
2
+ import type * as coreAuth from "@azure/core-auth";
3
+ import type { Operations, CommunicationServices, Domains, EmailServices, SenderUsernames, SmtpUsernames, SuppressionLists, SuppressionListAddresses } from "./operationsInterfaces/index.js";
4
+ import type { CommunicationServiceManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class CommunicationServiceManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -20,5 +20,8 @@ export declare class CommunicationServiceManagementClient extends coreClient.Ser
20
20
  domains: Domains;
21
21
  emailServices: EmailServices;
22
22
  senderUsernames: SenderUsernames;
23
+ smtpUsernames: SmtpUsernames;
24
+ suppressionLists: SuppressionLists;
25
+ suppressionListAddresses: SuppressionListAddresses;
23
26
  }
24
27
  //# sourceMappingURL=communicationServiceManagementClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"communicationServiceManagementClient.d.ts","sourceRoot":"","sources":["../../src/communicationServiceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,UAAU,EACV,qBAAqB,EACrB,OAAO,EACP,aAAa,EACb,eAAe,EAChB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,kDAAkD,EAAE,MAAM,mBAAmB,CAAC;AAEvF,qBAAa,oCAAqC,SAAQ,UAAU,CAAC,aAAa;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kDAAkD;IAiF9D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,aAAa,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;CAClC"}
1
+ {"version":3,"file":"communicationServiceManagementClient.d.ts","sourceRoot":"","sources":["../../src/communicationServiceManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAWlD,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACrB,OAAO,EACP,aAAa,EACb,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,kDAAkD,EAAE,MAAM,mBAAmB,CAAC;AAE5F,qBAAa,oCAAqC,SAAQ,UAAU,CAAC,aAAa;IAChF,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kDAAkD;IAgF9D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC,UAAU,EAAE,UAAU,CAAC;IACvB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,aAAa,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;IACjC,aAAa,EAAE,aAAa,CAAC;IAC7B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,wBAAwB,EAAE,wBAAwB,CAAC;CACpD"}
@@ -1,13 +1,10 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ // Code generated by Microsoft (R) AutoRest Code Generator.
4
+ // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
5
  import * as coreClient from "@azure/core-client";
9
6
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
- import { OperationsImpl, CommunicationServicesImpl, DomainsImpl, EmailServicesImpl, SenderUsernamesImpl, } from "./operations/index.js";
7
+ import { OperationsImpl, CommunicationServicesImpl, DomainsImpl, EmailServicesImpl, SenderUsernamesImpl, SmtpUsernamesImpl, SuppressionListsImpl, SuppressionListAddressesImpl, } from "./operations/index.js";
11
8
  export class CommunicationServiceManagementClient extends coreClient.ServiceClient {
12
9
  $host;
13
10
  apiVersion;
@@ -33,7 +30,7 @@ export class CommunicationServiceManagementClient extends coreClient.ServiceClie
33
30
  requestContentType: "application/json; charset=utf-8",
34
31
  credential: credentials,
35
32
  };
36
- const packageDetails = `azsdk-js-arm-communication/4.1.2`;
33
+ const packageDetails = `azsdk-js-arm-communication/4.2.0`;
37
34
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
38
35
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
39
36
  : `${packageDetails}`;
@@ -49,8 +46,7 @@ export class CommunicationServiceManagementClient extends coreClient.ServiceClie
49
46
  let bearerTokenAuthenticationPolicyFound = false;
50
47
  if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
51
48
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
52
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
53
- coreRestPipeline.bearerTokenAuthenticationPolicyName);
49
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
54
50
  }
55
51
  if (!options ||
56
52
  !options.pipeline ||
@@ -61,8 +57,7 @@ export class CommunicationServiceManagementClient extends coreClient.ServiceClie
61
57
  });
62
58
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
63
59
  credential: credentials,
64
- scopes: optionsWithDefaults.credentialScopes ??
65
- `${optionsWithDefaults.endpoint}/.default`,
60
+ scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
66
61
  challengeCallbacks: {
67
62
  authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
68
63
  },
@@ -72,12 +67,15 @@ export class CommunicationServiceManagementClient extends coreClient.ServiceClie
72
67
  this.subscriptionId = subscriptionId;
73
68
  // Assigning values to Constant parameters
74
69
  this.$host = options.$host || "https://management.azure.com";
75
- this.apiVersion = options.apiVersion || "2023-04-01";
70
+ this.apiVersion = options.apiVersion || "2025-09-01";
76
71
  this.operations = new OperationsImpl(this);
77
72
  this.communicationServices = new CommunicationServicesImpl(this);
78
73
  this.domains = new DomainsImpl(this);
79
74
  this.emailServices = new EmailServicesImpl(this);
80
75
  this.senderUsernames = new SenderUsernamesImpl(this);
76
+ this.smtpUsernames = new SmtpUsernamesImpl(this);
77
+ this.suppressionLists = new SuppressionListsImpl(this);
78
+ this.suppressionListAddresses = new SuppressionListAddressesImpl(this);
81
79
  this.addCustomApiVersionPolicy(options.apiVersion);
82
80
  }
83
81
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
@@ -110,5 +108,8 @@ export class CommunicationServiceManagementClient extends coreClient.ServiceClie
110
108
  domains;
111
109
  emailServices;
112
110
  senderUsernames;
111
+ smtpUsernames;
112
+ suppressionLists;
113
+ suppressionListAddresses;
113
114
  }
114
115
  //# sourceMappingURL=communicationServiceManagementClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"communicationServiceManagementClient.js","sourceRoot":"","sources":["../../src/communicationServiceManagementClient.ts"],"names":[],"mappings":"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","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n CommunicationServicesImpl,\n DomainsImpl,\n EmailServicesImpl,\n SenderUsernamesImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n CommunicationServices,\n Domains,\n EmailServices,\n SenderUsernames,\n} from \"./operationsInterfaces/index.js\";\nimport { CommunicationServiceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class CommunicationServiceManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the CommunicationServiceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CommunicationServiceManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CommunicationServiceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-communication/4.1.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-04-01\";\n this.operations = new OperationsImpl(this);\n this.communicationServices = new CommunicationServicesImpl(this);\n this.domains = new DomainsImpl(this);\n this.emailServices = new EmailServicesImpl(this);\n this.senderUsernames = new SenderUsernamesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n communicationServices: CommunicationServices;\n domains: Domains;\n emailServices: EmailServices;\n senderUsernames: SenderUsernames;\n}\n"]}
1
+ {"version":3,"file":"communicationServiceManagementClient.js","sourceRoot":"","sources":["../../src/communicationServiceManagementClient.ts"],"names":[],"mappings":"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","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n CommunicationServicesImpl,\n DomainsImpl,\n EmailServicesImpl,\n SenderUsernamesImpl,\n SmtpUsernamesImpl,\n SuppressionListsImpl,\n SuppressionListAddressesImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n CommunicationServices,\n Domains,\n EmailServices,\n SenderUsernames,\n SmtpUsernames,\n SuppressionLists,\n SuppressionListAddresses,\n} from \"./operationsInterfaces/index.js\";\nimport type { CommunicationServiceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class CommunicationServiceManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the CommunicationServiceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CommunicationServiceManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CommunicationServiceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-communication/4.2.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-09-01\";\n this.operations = new OperationsImpl(this);\n this.communicationServices = new CommunicationServicesImpl(this);\n this.domains = new DomainsImpl(this);\n this.emailServices = new EmailServicesImpl(this);\n this.senderUsernames = new SenderUsernamesImpl(this);\n this.smtpUsernames = new SmtpUsernamesImpl(this);\n this.suppressionLists = new SuppressionListsImpl(this);\n this.suppressionListAddresses = new SuppressionListAddressesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n communicationServices: CommunicationServices;\n domains: Domains;\n emailServices: EmailServices;\n senderUsernames: SenderUsernames;\n smtpUsernames: SmtpUsernames;\n suppressionLists: SuppressionLists;\n suppressionListAddresses: SuppressionListAddresses;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,cAAc,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,cAAc,iCAAiC,CAAC"}
@@ -1,10 +1,7 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ // Code generated by Microsoft (R) AutoRest Code Generator.
4
+ // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
5
  /// <reference lib="esnext.asynciterable" />
9
6
  export { getContinuationToken } from "./pagingHelper.js";
10
7
  export * from "./models/index.js";