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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +0 -3
  3. package/dist/browser/communicationServiceManagementClient.d.ts +6 -3
  4. package/dist/browser/communicationServiceManagementClient.d.ts.map +1 -1
  5. package/dist/browser/communicationServiceManagementClient.js +15 -14
  6. package/dist/browser/communicationServiceManagementClient.js.map +1 -1
  7. package/dist/browser/index.d.ts.map +1 -1
  8. package/dist/browser/index.js +4 -7
  9. package/dist/browser/index.js.map +1 -1
  10. package/dist/browser/lroImpl.d.ts +1 -1
  11. package/dist/browser/lroImpl.d.ts.map +1 -1
  12. package/dist/browser/lroImpl.js +2 -0
  13. package/dist/browser/lroImpl.js.map +1 -1
  14. package/dist/browser/models/index.d.ts +201 -1
  15. package/dist/browser/models/index.d.ts.map +1 -1
  16. package/dist/browser/models/index.js +12 -7
  17. package/dist/browser/models/index.js.map +1 -1
  18. package/dist/browser/models/mappers.d.ts +9 -1
  19. package/dist/browser/models/mappers.d.ts.map +1 -1
  20. package/dist/browser/models/mappers.js +284 -7
  21. package/dist/browser/models/mappers.js.map +1 -1
  22. package/dist/browser/models/parameters.d.ts +8 -1
  23. package/dist/browser/models/parameters.d.ts.map +1 -1
  24. package/dist/browser/models/parameters.js +76 -9
  25. package/dist/browser/models/parameters.js.map +1 -1
  26. package/dist/browser/operations/communicationServices.d.ts +5 -5
  27. package/dist/browser/operations/communicationServices.d.ts.map +1 -1
  28. package/dist/browser/operations/communicationServices.js +9 -22
  29. package/dist/browser/operations/communicationServices.js.map +1 -1
  30. package/dist/browser/operations/domains.d.ts +5 -5
  31. package/dist/browser/operations/domains.d.ts.map +1 -1
  32. package/dist/browser/operations/domains.js +5 -10
  33. package/dist/browser/operations/domains.js.map +1 -1
  34. package/dist/browser/operations/emailServices.d.ts +5 -5
  35. package/dist/browser/operations/emailServices.d.ts.map +1 -1
  36. package/dist/browser/operations/emailServices.js +9 -22
  37. package/dist/browser/operations/emailServices.js.map +1 -1
  38. package/dist/browser/operations/index.d.ts +3 -0
  39. package/dist/browser/operations/index.d.ts.map +1 -1
  40. package/dist/browser/operations/index.js +7 -7
  41. package/dist/browser/operations/index.js.map +1 -1
  42. package/dist/browser/operations/operations.d.ts +4 -4
  43. package/dist/browser/operations/operations.d.ts.map +1 -1
  44. package/dist/browser/operations/operations.js +4 -9
  45. package/dist/browser/operations/operations.js.map +1 -1
  46. package/dist/browser/operations/senderUsernames.d.ts +4 -4
  47. package/dist/browser/operations/senderUsernames.d.ts.map +1 -1
  48. package/dist/browser/operations/senderUsernames.js +4 -9
  49. package/dist/browser/operations/senderUsernames.js.map +1 -1
  50. package/dist/browser/operations/smtpUsernames.d.ts +63 -0
  51. package/dist/browser/operations/smtpUsernames.d.ts.map +1 -0
  52. package/dist/browser/operations/smtpUsernames.js +235 -0
  53. package/dist/browser/operations/smtpUsernames.js.map +1 -0
  54. package/dist/browser/operations/suppressionListAddresses.d.ts +75 -0
  55. package/dist/browser/operations/suppressionListAddresses.d.ts.map +1 -0
  56. package/dist/browser/operations/suppressionListAddresses.js +286 -0
  57. package/dist/browser/operations/suppressionListAddresses.js.map +1 -0
  58. package/dist/browser/operations/suppressionLists.d.ts +70 -0
  59. package/dist/browser/operations/suppressionLists.d.ts.map +1 -0
  60. package/dist/browser/operations/suppressionLists.js +260 -0
  61. package/dist/browser/operations/suppressionLists.js.map +1 -0
  62. package/dist/browser/operationsInterfaces/communicationServices.d.ts +3 -3
  63. package/dist/browser/operationsInterfaces/communicationServices.d.ts.map +1 -1
  64. package/dist/browser/operationsInterfaces/communicationServices.js +2 -7
  65. package/dist/browser/operationsInterfaces/communicationServices.js.map +1 -1
  66. package/dist/browser/operationsInterfaces/domains.d.ts +3 -3
  67. package/dist/browser/operationsInterfaces/domains.d.ts.map +1 -1
  68. package/dist/browser/operationsInterfaces/domains.js +2 -7
  69. package/dist/browser/operationsInterfaces/domains.js.map +1 -1
  70. package/dist/browser/operationsInterfaces/emailServices.d.ts +3 -3
  71. package/dist/browser/operationsInterfaces/emailServices.d.ts.map +1 -1
  72. package/dist/browser/operationsInterfaces/emailServices.js +2 -7
  73. package/dist/browser/operationsInterfaces/emailServices.js.map +1 -1
  74. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  75. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  76. package/dist/browser/operationsInterfaces/index.js +7 -7
  77. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  78. package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
  79. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  80. package/dist/browser/operationsInterfaces/operations.js +2 -7
  81. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  82. package/dist/browser/operationsInterfaces/senderUsernames.d.ts +2 -2
  83. package/dist/browser/operationsInterfaces/senderUsernames.d.ts.map +1 -1
  84. package/dist/browser/operationsInterfaces/senderUsernames.js +2 -7
  85. package/dist/browser/operationsInterfaces/senderUsernames.js.map +1 -1
  86. package/dist/browser/operationsInterfaces/smtpUsernames.d.ts +38 -0
  87. package/dist/browser/operationsInterfaces/smtpUsernames.d.ts.map +1 -0
  88. package/dist/browser/operationsInterfaces/smtpUsernames.js +4 -0
  89. package/dist/browser/operationsInterfaces/smtpUsernames.js.map +1 -0
  90. package/dist/browser/operationsInterfaces/suppressionListAddresses.d.ts +46 -0
  91. package/dist/browser/operationsInterfaces/suppressionListAddresses.d.ts.map +1 -0
  92. package/dist/browser/operationsInterfaces/suppressionListAddresses.js +4 -0
  93. package/dist/browser/operationsInterfaces/suppressionListAddresses.js.map +1 -0
  94. package/dist/browser/operationsInterfaces/suppressionLists.d.ts +43 -0
  95. package/dist/browser/operationsInterfaces/suppressionLists.d.ts.map +1 -0
  96. package/dist/browser/operationsInterfaces/suppressionLists.js +4 -0
  97. package/dist/browser/operationsInterfaces/suppressionLists.js.map +1 -0
  98. package/dist/browser/pagingHelper.d.ts.map +1 -1
  99. package/dist/browser/pagingHelper.js +2 -7
  100. package/dist/browser/pagingHelper.js.map +1 -1
  101. package/dist/commonjs/communicationServiceManagementClient.d.ts +6 -3
  102. package/dist/commonjs/communicationServiceManagementClient.d.ts.map +1 -1
  103. package/dist/commonjs/communicationServiceManagementClient.js +14 -13
  104. package/dist/commonjs/communicationServiceManagementClient.js.map +1 -1
  105. package/dist/commonjs/index.d.ts.map +1 -1
  106. package/dist/commonjs/index.js +4 -7
  107. package/dist/commonjs/index.js.map +1 -1
  108. package/dist/commonjs/lroImpl.d.ts +1 -1
  109. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  110. package/dist/commonjs/lroImpl.js +2 -0
  111. package/dist/commonjs/lroImpl.js.map +1 -1
  112. package/dist/commonjs/models/index.d.ts +201 -1
  113. package/dist/commonjs/models/index.d.ts.map +1 -1
  114. package/dist/commonjs/models/index.js +13 -8
  115. package/dist/commonjs/models/index.js.map +1 -1
  116. package/dist/commonjs/models/mappers.d.ts +9 -1
  117. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  118. package/dist/commonjs/models/mappers.js +286 -8
  119. package/dist/commonjs/models/mappers.js.map +1 -1
  120. package/dist/commonjs/models/parameters.d.ts +8 -1
  121. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  122. package/dist/commonjs/models/parameters.js +76 -9
  123. package/dist/commonjs/models/parameters.js.map +1 -1
  124. package/dist/commonjs/operations/communicationServices.d.ts +5 -5
  125. package/dist/commonjs/operations/communicationServices.d.ts.map +1 -1
  126. package/dist/commonjs/operations/communicationServices.js +8 -21
  127. package/dist/commonjs/operations/communicationServices.js.map +1 -1
  128. package/dist/commonjs/operations/domains.d.ts +5 -5
  129. package/dist/commonjs/operations/domains.d.ts.map +1 -1
  130. package/dist/commonjs/operations/domains.js +4 -9
  131. package/dist/commonjs/operations/domains.js.map +1 -1
  132. package/dist/commonjs/operations/emailServices.d.ts +5 -5
  133. package/dist/commonjs/operations/emailServices.d.ts.map +1 -1
  134. package/dist/commonjs/operations/emailServices.js +8 -21
  135. package/dist/commonjs/operations/emailServices.js.map +1 -1
  136. package/dist/commonjs/operations/index.d.ts +3 -0
  137. package/dist/commonjs/operations/index.d.ts.map +1 -1
  138. package/dist/commonjs/operations/index.js +7 -7
  139. package/dist/commonjs/operations/index.js.map +1 -1
  140. package/dist/commonjs/operations/operations.d.ts +4 -4
  141. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  142. package/dist/commonjs/operations/operations.js +4 -9
  143. package/dist/commonjs/operations/operations.js.map +1 -1
  144. package/dist/commonjs/operations/senderUsernames.d.ts +4 -4
  145. package/dist/commonjs/operations/senderUsernames.d.ts.map +1 -1
  146. package/dist/commonjs/operations/senderUsernames.js +4 -9
  147. package/dist/commonjs/operations/senderUsernames.js.map +1 -1
  148. package/dist/commonjs/operations/smtpUsernames.d.ts +63 -0
  149. package/dist/commonjs/operations/smtpUsernames.d.ts.map +1 -0
  150. package/dist/commonjs/operations/smtpUsernames.js +240 -0
  151. package/dist/commonjs/operations/smtpUsernames.js.map +1 -0
  152. package/dist/commonjs/operations/suppressionListAddresses.d.ts +75 -0
  153. package/dist/commonjs/operations/suppressionListAddresses.d.ts.map +1 -0
  154. package/dist/commonjs/operations/suppressionListAddresses.js +291 -0
  155. package/dist/commonjs/operations/suppressionListAddresses.js.map +1 -0
  156. package/dist/commonjs/operations/suppressionLists.d.ts +70 -0
  157. package/dist/commonjs/operations/suppressionLists.d.ts.map +1 -0
  158. package/dist/commonjs/operations/suppressionLists.js +265 -0
  159. package/dist/commonjs/operations/suppressionLists.js.map +1 -0
  160. package/dist/commonjs/operationsInterfaces/communicationServices.d.ts +3 -3
  161. package/dist/commonjs/operationsInterfaces/communicationServices.d.ts.map +1 -1
  162. package/dist/commonjs/operationsInterfaces/communicationServices.js +2 -7
  163. package/dist/commonjs/operationsInterfaces/communicationServices.js.map +1 -1
  164. package/dist/commonjs/operationsInterfaces/domains.d.ts +3 -3
  165. package/dist/commonjs/operationsInterfaces/domains.d.ts.map +1 -1
  166. package/dist/commonjs/operationsInterfaces/domains.js +2 -7
  167. package/dist/commonjs/operationsInterfaces/domains.js.map +1 -1
  168. package/dist/commonjs/operationsInterfaces/emailServices.d.ts +3 -3
  169. package/dist/commonjs/operationsInterfaces/emailServices.d.ts.map +1 -1
  170. package/dist/commonjs/operationsInterfaces/emailServices.js +2 -7
  171. package/dist/commonjs/operationsInterfaces/emailServices.js.map +1 -1
  172. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  173. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  174. package/dist/commonjs/operationsInterfaces/index.js +7 -7
  175. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  176. package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
  177. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  178. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  179. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  180. package/dist/commonjs/operationsInterfaces/senderUsernames.d.ts +2 -2
  181. package/dist/commonjs/operationsInterfaces/senderUsernames.d.ts.map +1 -1
  182. package/dist/commonjs/operationsInterfaces/senderUsernames.js +2 -7
  183. package/dist/commonjs/operationsInterfaces/senderUsernames.js.map +1 -1
  184. package/dist/commonjs/operationsInterfaces/smtpUsernames.d.ts +38 -0
  185. package/dist/commonjs/operationsInterfaces/smtpUsernames.d.ts.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/smtpUsernames.js +5 -0
  187. package/dist/commonjs/operationsInterfaces/smtpUsernames.js.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.d.ts +46 -0
  189. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.d.ts.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.js +5 -0
  191. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.js.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/suppressionLists.d.ts +43 -0
  193. package/dist/commonjs/operationsInterfaces/suppressionLists.d.ts.map +1 -0
  194. package/dist/commonjs/operationsInterfaces/suppressionLists.js +5 -0
  195. package/dist/commonjs/operationsInterfaces/suppressionLists.js.map +1 -0
  196. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  197. package/dist/commonjs/pagingHelper.js +2 -7
  198. package/dist/commonjs/pagingHelper.js.map +1 -1
  199. package/dist/esm/communicationServiceManagementClient.d.ts +6 -3
  200. package/dist/esm/communicationServiceManagementClient.d.ts.map +1 -1
  201. package/dist/esm/communicationServiceManagementClient.js +15 -14
  202. package/dist/esm/communicationServiceManagementClient.js.map +1 -1
  203. package/dist/esm/index.d.ts.map +1 -1
  204. package/dist/esm/index.js +4 -7
  205. package/dist/esm/index.js.map +1 -1
  206. package/dist/esm/lroImpl.d.ts +1 -1
  207. package/dist/esm/lroImpl.d.ts.map +1 -1
  208. package/dist/esm/lroImpl.js +2 -0
  209. package/dist/esm/lroImpl.js.map +1 -1
  210. package/dist/esm/models/index.d.ts +201 -1
  211. package/dist/esm/models/index.d.ts.map +1 -1
  212. package/dist/esm/models/index.js +12 -7
  213. package/dist/esm/models/index.js.map +1 -1
  214. package/dist/esm/models/mappers.d.ts +9 -1
  215. package/dist/esm/models/mappers.d.ts.map +1 -1
  216. package/dist/esm/models/mappers.js +284 -7
  217. package/dist/esm/models/mappers.js.map +1 -1
  218. package/dist/esm/models/parameters.d.ts +8 -1
  219. package/dist/esm/models/parameters.d.ts.map +1 -1
  220. package/dist/esm/models/parameters.js +76 -9
  221. package/dist/esm/models/parameters.js.map +1 -1
  222. package/dist/esm/operations/communicationServices.d.ts +5 -5
  223. package/dist/esm/operations/communicationServices.d.ts.map +1 -1
  224. package/dist/esm/operations/communicationServices.js +9 -22
  225. package/dist/esm/operations/communicationServices.js.map +1 -1
  226. package/dist/esm/operations/domains.d.ts +5 -5
  227. package/dist/esm/operations/domains.d.ts.map +1 -1
  228. package/dist/esm/operations/domains.js +5 -10
  229. package/dist/esm/operations/domains.js.map +1 -1
  230. package/dist/esm/operations/emailServices.d.ts +5 -5
  231. package/dist/esm/operations/emailServices.d.ts.map +1 -1
  232. package/dist/esm/operations/emailServices.js +9 -22
  233. package/dist/esm/operations/emailServices.js.map +1 -1
  234. package/dist/esm/operations/index.d.ts +3 -0
  235. package/dist/esm/operations/index.d.ts.map +1 -1
  236. package/dist/esm/operations/index.js +7 -7
  237. package/dist/esm/operations/index.js.map +1 -1
  238. package/dist/esm/operations/operations.d.ts +4 -4
  239. package/dist/esm/operations/operations.d.ts.map +1 -1
  240. package/dist/esm/operations/operations.js +4 -9
  241. package/dist/esm/operations/operations.js.map +1 -1
  242. package/dist/esm/operations/senderUsernames.d.ts +4 -4
  243. package/dist/esm/operations/senderUsernames.d.ts.map +1 -1
  244. package/dist/esm/operations/senderUsernames.js +4 -9
  245. package/dist/esm/operations/senderUsernames.js.map +1 -1
  246. package/dist/esm/operations/smtpUsernames.d.ts +63 -0
  247. package/dist/esm/operations/smtpUsernames.d.ts.map +1 -0
  248. package/dist/esm/operations/smtpUsernames.js +235 -0
  249. package/dist/esm/operations/smtpUsernames.js.map +1 -0
  250. package/dist/esm/operations/suppressionListAddresses.d.ts +75 -0
  251. package/dist/esm/operations/suppressionListAddresses.d.ts.map +1 -0
  252. package/dist/esm/operations/suppressionListAddresses.js +286 -0
  253. package/dist/esm/operations/suppressionListAddresses.js.map +1 -0
  254. package/dist/esm/operations/suppressionLists.d.ts +70 -0
  255. package/dist/esm/operations/suppressionLists.d.ts.map +1 -0
  256. package/dist/esm/operations/suppressionLists.js +260 -0
  257. package/dist/esm/operations/suppressionLists.js.map +1 -0
  258. package/dist/esm/operationsInterfaces/communicationServices.d.ts +3 -3
  259. package/dist/esm/operationsInterfaces/communicationServices.d.ts.map +1 -1
  260. package/dist/esm/operationsInterfaces/communicationServices.js +2 -7
  261. package/dist/esm/operationsInterfaces/communicationServices.js.map +1 -1
  262. package/dist/esm/operationsInterfaces/domains.d.ts +3 -3
  263. package/dist/esm/operationsInterfaces/domains.d.ts.map +1 -1
  264. package/dist/esm/operationsInterfaces/domains.js +2 -7
  265. package/dist/esm/operationsInterfaces/domains.js.map +1 -1
  266. package/dist/esm/operationsInterfaces/emailServices.d.ts +3 -3
  267. package/dist/esm/operationsInterfaces/emailServices.d.ts.map +1 -1
  268. package/dist/esm/operationsInterfaces/emailServices.js +2 -7
  269. package/dist/esm/operationsInterfaces/emailServices.js.map +1 -1
  270. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  271. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  272. package/dist/esm/operationsInterfaces/index.js +7 -7
  273. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  274. package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
  275. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  276. package/dist/esm/operationsInterfaces/operations.js +2 -7
  277. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  278. package/dist/esm/operationsInterfaces/senderUsernames.d.ts +2 -2
  279. package/dist/esm/operationsInterfaces/senderUsernames.d.ts.map +1 -1
  280. package/dist/esm/operationsInterfaces/senderUsernames.js +2 -7
  281. package/dist/esm/operationsInterfaces/senderUsernames.js.map +1 -1
  282. package/dist/esm/operationsInterfaces/smtpUsernames.d.ts +38 -0
  283. package/dist/esm/operationsInterfaces/smtpUsernames.d.ts.map +1 -0
  284. package/dist/esm/operationsInterfaces/smtpUsernames.js +4 -0
  285. package/dist/esm/operationsInterfaces/smtpUsernames.js.map +1 -0
  286. package/dist/esm/operationsInterfaces/suppressionListAddresses.d.ts +46 -0
  287. package/dist/esm/operationsInterfaces/suppressionListAddresses.d.ts.map +1 -0
  288. package/dist/esm/operationsInterfaces/suppressionListAddresses.js +4 -0
  289. package/dist/esm/operationsInterfaces/suppressionListAddresses.js.map +1 -0
  290. package/dist/esm/operationsInterfaces/suppressionLists.d.ts +43 -0
  291. package/dist/esm/operationsInterfaces/suppressionLists.d.ts.map +1 -0
  292. package/dist/esm/operationsInterfaces/suppressionLists.js +4 -0
  293. package/dist/esm/operationsInterfaces/suppressionLists.js.map +1 -0
  294. package/dist/esm/pagingHelper.d.ts.map +1 -1
  295. package/dist/esm/pagingHelper.js +2 -7
  296. package/dist/esm/pagingHelper.js.map +1 -1
  297. package/dist/react-native/communicationServiceManagementClient.d.ts +6 -3
  298. package/dist/react-native/communicationServiceManagementClient.d.ts.map +1 -1
  299. package/dist/react-native/communicationServiceManagementClient.js +15 -14
  300. package/dist/react-native/communicationServiceManagementClient.js.map +1 -1
  301. package/dist/react-native/index.d.ts.map +1 -1
  302. package/dist/react-native/index.js +4 -7
  303. package/dist/react-native/index.js.map +1 -1
  304. package/dist/react-native/lroImpl.d.ts +1 -1
  305. package/dist/react-native/lroImpl.d.ts.map +1 -1
  306. package/dist/react-native/lroImpl.js +2 -0
  307. package/dist/react-native/lroImpl.js.map +1 -1
  308. package/dist/react-native/models/index.d.ts +201 -1
  309. package/dist/react-native/models/index.d.ts.map +1 -1
  310. package/dist/react-native/models/index.js +12 -7
  311. package/dist/react-native/models/index.js.map +1 -1
  312. package/dist/react-native/models/mappers.d.ts +9 -1
  313. package/dist/react-native/models/mappers.d.ts.map +1 -1
  314. package/dist/react-native/models/mappers.js +284 -7
  315. package/dist/react-native/models/mappers.js.map +1 -1
  316. package/dist/react-native/models/parameters.d.ts +8 -1
  317. package/dist/react-native/models/parameters.d.ts.map +1 -1
  318. package/dist/react-native/models/parameters.js +76 -9
  319. package/dist/react-native/models/parameters.js.map +1 -1
  320. package/dist/react-native/operations/communicationServices.d.ts +5 -5
  321. package/dist/react-native/operations/communicationServices.d.ts.map +1 -1
  322. package/dist/react-native/operations/communicationServices.js +9 -22
  323. package/dist/react-native/operations/communicationServices.js.map +1 -1
  324. package/dist/react-native/operations/domains.d.ts +5 -5
  325. package/dist/react-native/operations/domains.d.ts.map +1 -1
  326. package/dist/react-native/operations/domains.js +5 -10
  327. package/dist/react-native/operations/domains.js.map +1 -1
  328. package/dist/react-native/operations/emailServices.d.ts +5 -5
  329. package/dist/react-native/operations/emailServices.d.ts.map +1 -1
  330. package/dist/react-native/operations/emailServices.js +9 -22
  331. package/dist/react-native/operations/emailServices.js.map +1 -1
  332. package/dist/react-native/operations/index.d.ts +3 -0
  333. package/dist/react-native/operations/index.d.ts.map +1 -1
  334. package/dist/react-native/operations/index.js +7 -7
  335. package/dist/react-native/operations/index.js.map +1 -1
  336. package/dist/react-native/operations/operations.d.ts +4 -4
  337. package/dist/react-native/operations/operations.d.ts.map +1 -1
  338. package/dist/react-native/operations/operations.js +4 -9
  339. package/dist/react-native/operations/operations.js.map +1 -1
  340. package/dist/react-native/operations/senderUsernames.d.ts +4 -4
  341. package/dist/react-native/operations/senderUsernames.d.ts.map +1 -1
  342. package/dist/react-native/operations/senderUsernames.js +4 -9
  343. package/dist/react-native/operations/senderUsernames.js.map +1 -1
  344. package/dist/react-native/operations/smtpUsernames.d.ts +63 -0
  345. package/dist/react-native/operations/smtpUsernames.d.ts.map +1 -0
  346. package/dist/react-native/operations/smtpUsernames.js +235 -0
  347. package/dist/react-native/operations/smtpUsernames.js.map +1 -0
  348. package/dist/react-native/operations/suppressionListAddresses.d.ts +75 -0
  349. package/dist/react-native/operations/suppressionListAddresses.d.ts.map +1 -0
  350. package/dist/react-native/operations/suppressionListAddresses.js +286 -0
  351. package/dist/react-native/operations/suppressionListAddresses.js.map +1 -0
  352. package/dist/react-native/operations/suppressionLists.d.ts +70 -0
  353. package/dist/react-native/operations/suppressionLists.d.ts.map +1 -0
  354. package/dist/react-native/operations/suppressionLists.js +260 -0
  355. package/dist/react-native/operations/suppressionLists.js.map +1 -0
  356. package/dist/react-native/operationsInterfaces/communicationServices.d.ts +3 -3
  357. package/dist/react-native/operationsInterfaces/communicationServices.d.ts.map +1 -1
  358. package/dist/react-native/operationsInterfaces/communicationServices.js +2 -7
  359. package/dist/react-native/operationsInterfaces/communicationServices.js.map +1 -1
  360. package/dist/react-native/operationsInterfaces/domains.d.ts +3 -3
  361. package/dist/react-native/operationsInterfaces/domains.d.ts.map +1 -1
  362. package/dist/react-native/operationsInterfaces/domains.js +2 -7
  363. package/dist/react-native/operationsInterfaces/domains.js.map +1 -1
  364. package/dist/react-native/operationsInterfaces/emailServices.d.ts +3 -3
  365. package/dist/react-native/operationsInterfaces/emailServices.d.ts.map +1 -1
  366. package/dist/react-native/operationsInterfaces/emailServices.js +2 -7
  367. package/dist/react-native/operationsInterfaces/emailServices.js.map +1 -1
  368. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  369. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  370. package/dist/react-native/operationsInterfaces/index.js +7 -7
  371. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  372. package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
  373. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  374. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  375. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  376. package/dist/react-native/operationsInterfaces/senderUsernames.d.ts +2 -2
  377. package/dist/react-native/operationsInterfaces/senderUsernames.d.ts.map +1 -1
  378. package/dist/react-native/operationsInterfaces/senderUsernames.js +2 -7
  379. package/dist/react-native/operationsInterfaces/senderUsernames.js.map +1 -1
  380. package/dist/react-native/operationsInterfaces/smtpUsernames.d.ts +38 -0
  381. package/dist/react-native/operationsInterfaces/smtpUsernames.d.ts.map +1 -0
  382. package/dist/react-native/operationsInterfaces/smtpUsernames.js +4 -0
  383. package/dist/react-native/operationsInterfaces/smtpUsernames.js.map +1 -0
  384. package/dist/react-native/operationsInterfaces/suppressionListAddresses.d.ts +46 -0
  385. package/dist/react-native/operationsInterfaces/suppressionListAddresses.d.ts.map +1 -0
  386. package/dist/react-native/operationsInterfaces/suppressionListAddresses.js +4 -0
  387. package/dist/react-native/operationsInterfaces/suppressionListAddresses.js.map +1 -0
  388. package/dist/react-native/operationsInterfaces/suppressionLists.d.ts +43 -0
  389. package/dist/react-native/operationsInterfaces/suppressionLists.d.ts.map +1 -0
  390. package/dist/react-native/operationsInterfaces/suppressionLists.js +4 -0
  391. package/dist/react-native/operationsInterfaces/suppressionLists.js.map +1 -0
  392. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  393. package/dist/react-native/pagingHelper.js +2 -7
  394. package/dist/react-native/pagingHelper.js.map +1 -1
  395. package/package.json +39 -38
  396. package/CHANGELOG.md +0 -216
  397. package/review/arm-communication-node.api.md +0 -829
@@ -0,0 +1,235 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { setContinuationToken } from "../pagingHelper.js";
4
+ import * as coreClient from "@azure/core-client";
5
+ import * as Mappers from "../models/mappers.js";
6
+ import * as Parameters from "../models/parameters.js";
7
+ /// <reference lib="esnext.asynciterable" />
8
+ /** Class containing SmtpUsernames operations. */
9
+ export class SmtpUsernamesImpl {
10
+ client;
11
+ /**
12
+ * Initialize a new instance of the class SmtpUsernames class.
13
+ * @param client Reference to the service client
14
+ */
15
+ constructor(client) {
16
+ this.client = client;
17
+ }
18
+ /**
19
+ * Get all SmtpUsernameResources for a Communication resource.
20
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
21
+ * @param communicationServiceName The name of the CommunicationService resource.
22
+ * @param options The options parameters.
23
+ */
24
+ list(resourceGroupName, communicationServiceName, options) {
25
+ const iter = this.listPagingAll(resourceGroupName, communicationServiceName, options);
26
+ return {
27
+ next() {
28
+ return iter.next();
29
+ },
30
+ [Symbol.asyncIterator]() {
31
+ return this;
32
+ },
33
+ byPage: (settings) => {
34
+ if (settings?.maxPageSize) {
35
+ throw new Error("maxPageSize is not supported by this operation.");
36
+ }
37
+ return this.listPagingPage(resourceGroupName, communicationServiceName, options, settings);
38
+ },
39
+ };
40
+ }
41
+ async *listPagingPage(resourceGroupName, communicationServiceName, options, settings) {
42
+ let result;
43
+ let continuationToken = settings?.continuationToken;
44
+ if (!continuationToken) {
45
+ result = await this._list(resourceGroupName, communicationServiceName, options);
46
+ const page = result.value || [];
47
+ continuationToken = result.nextLink;
48
+ setContinuationToken(page, continuationToken);
49
+ yield page;
50
+ }
51
+ while (continuationToken) {
52
+ result = await this._listNext(resourceGroupName, communicationServiceName, continuationToken, options);
53
+ continuationToken = result.nextLink;
54
+ const page = result.value || [];
55
+ setContinuationToken(page, continuationToken);
56
+ yield page;
57
+ }
58
+ }
59
+ async *listPagingAll(resourceGroupName, communicationServiceName, options) {
60
+ for await (const page of this.listPagingPage(resourceGroupName, communicationServiceName, options)) {
61
+ yield* page;
62
+ }
63
+ }
64
+ /**
65
+ * Get all SmtpUsernameResources for a Communication resource.
66
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
67
+ * @param communicationServiceName The name of the CommunicationService resource.
68
+ * @param options The options parameters.
69
+ */
70
+ _list(resourceGroupName, communicationServiceName, options) {
71
+ return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, options }, listOperationSpec);
72
+ }
73
+ /**
74
+ * Get a SmtpUsernameResource.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param communicationServiceName The name of the CommunicationService resource.
77
+ * @param smtpUsername The name of the SmtpUsernameResource.
78
+ * @param options The options parameters.
79
+ */
80
+ get(resourceGroupName, communicationServiceName, smtpUsername, options) {
81
+ return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, smtpUsername, options }, getOperationSpec);
82
+ }
83
+ /**
84
+ * Create or update an SmtpUsernameResource.
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param communicationServiceName The name of the CommunicationService resource.
87
+ * @param smtpUsername The name of the SmtpUsernameResource.
88
+ * @param parameters Parameters for the create or update operation
89
+ * @param options The options parameters.
90
+ */
91
+ createOrUpdate(resourceGroupName, communicationServiceName, smtpUsername, parameters, options) {
92
+ return this.client.sendOperationRequest({
93
+ resourceGroupName,
94
+ communicationServiceName,
95
+ smtpUsername,
96
+ parameters,
97
+ options,
98
+ }, createOrUpdateOperationSpec);
99
+ }
100
+ /**
101
+ * Operation to delete a single SmtpUsername resource.
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param communicationServiceName The name of the CommunicationService resource.
104
+ * @param smtpUsername The name of the SmtpUsernameResource.
105
+ * @param options The options parameters.
106
+ */
107
+ delete(resourceGroupName, communicationServiceName, smtpUsername, options) {
108
+ return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, smtpUsername, options }, deleteOperationSpec);
109
+ }
110
+ /**
111
+ * ListNext
112
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
113
+ * @param communicationServiceName The name of the CommunicationService resource.
114
+ * @param nextLink The nextLink from the previous successful call to the List method.
115
+ * @param options The options parameters.
116
+ */
117
+ _listNext(resourceGroupName, communicationServiceName, nextLink, options) {
118
+ return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, nextLink, options }, listNextOperationSpec);
119
+ }
120
+ }
121
+ // Operation Specifications
122
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
123
+ const listOperationSpec = {
124
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames",
125
+ httpMethod: "GET",
126
+ responses: {
127
+ 200: {
128
+ bodyMapper: Mappers.SmtpUsernameResourceCollection,
129
+ },
130
+ default: {
131
+ bodyMapper: Mappers.ErrorResponse,
132
+ },
133
+ },
134
+ queryParameters: [Parameters.apiVersion],
135
+ urlParameters: [
136
+ Parameters.$host,
137
+ Parameters.subscriptionId,
138
+ Parameters.resourceGroupName,
139
+ Parameters.communicationServiceName,
140
+ ],
141
+ headerParameters: [Parameters.accept],
142
+ serializer,
143
+ };
144
+ const getOperationSpec = {
145
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames/{smtpUsername}",
146
+ httpMethod: "GET",
147
+ responses: {
148
+ 200: {
149
+ bodyMapper: Mappers.SmtpUsernameResource,
150
+ },
151
+ default: {
152
+ bodyMapper: Mappers.ErrorResponse,
153
+ },
154
+ },
155
+ queryParameters: [Parameters.apiVersion],
156
+ urlParameters: [
157
+ Parameters.$host,
158
+ Parameters.subscriptionId,
159
+ Parameters.resourceGroupName,
160
+ Parameters.communicationServiceName,
161
+ Parameters.smtpUsername,
162
+ ],
163
+ headerParameters: [Parameters.accept],
164
+ serializer,
165
+ };
166
+ const createOrUpdateOperationSpec = {
167
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames/{smtpUsername}",
168
+ httpMethod: "PUT",
169
+ responses: {
170
+ 200: {
171
+ bodyMapper: Mappers.SmtpUsernameResource,
172
+ },
173
+ 201: {
174
+ bodyMapper: Mappers.SmtpUsernameResource,
175
+ },
176
+ default: {
177
+ bodyMapper: Mappers.ErrorResponse,
178
+ },
179
+ },
180
+ requestBody: Parameters.parameters9,
181
+ queryParameters: [Parameters.apiVersion],
182
+ urlParameters: [
183
+ Parameters.$host,
184
+ Parameters.subscriptionId,
185
+ Parameters.resourceGroupName,
186
+ Parameters.communicationServiceName,
187
+ Parameters.smtpUsername,
188
+ ],
189
+ headerParameters: [Parameters.accept, Parameters.contentType],
190
+ mediaType: "json",
191
+ serializer,
192
+ };
193
+ const deleteOperationSpec = {
194
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames/{smtpUsername}",
195
+ httpMethod: "DELETE",
196
+ responses: {
197
+ 200: {},
198
+ 204: {},
199
+ default: {
200
+ bodyMapper: Mappers.ErrorResponse,
201
+ },
202
+ },
203
+ queryParameters: [Parameters.apiVersion],
204
+ urlParameters: [
205
+ Parameters.$host,
206
+ Parameters.subscriptionId,
207
+ Parameters.resourceGroupName,
208
+ Parameters.communicationServiceName,
209
+ Parameters.smtpUsername,
210
+ ],
211
+ headerParameters: [Parameters.accept],
212
+ serializer,
213
+ };
214
+ const listNextOperationSpec = {
215
+ path: "{nextLink}",
216
+ httpMethod: "GET",
217
+ responses: {
218
+ 200: {
219
+ bodyMapper: Mappers.SmtpUsernameResourceCollection,
220
+ },
221
+ default: {
222
+ bodyMapper: Mappers.ErrorResponse,
223
+ },
224
+ },
225
+ urlParameters: [
226
+ Parameters.$host,
227
+ Parameters.nextLink,
228
+ Parameters.subscriptionId,
229
+ Parameters.resourceGroupName,
230
+ Parameters.communicationServiceName,
231
+ ],
232
+ headerParameters: [Parameters.accept],
233
+ serializer,
234
+ };
235
+ //# sourceMappingURL=smtpUsernames.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smtpUsernames.js","sourceRoot":"","sources":["../../../src/operations/smtpUsernames.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAetD,4CAA4C;AAC5C,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IACX,MAAM,CAAuC;IAE9D;;;OAGG;IACH,YAAY,MAA4C;QACtD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,wBAAgC,EAChC,OAAyC;QAEzC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAC;QACtF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBACl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,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { SmtpUsernames } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { CommunicationServiceManagementClient } from \"../communicationServiceManagementClient.js\";\nimport type {\n SmtpUsernameResource,\n SmtpUsernamesListNextOptionalParams,\n SmtpUsernamesListOptionalParams,\n SmtpUsernamesListResponse,\n SmtpUsernamesGetOptionalParams,\n SmtpUsernamesGetResponse,\n SmtpUsernamesCreateOrUpdateOptionalParams,\n SmtpUsernamesCreateOrUpdateResponse,\n SmtpUsernamesDeleteOptionalParams,\n SmtpUsernamesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SmtpUsernames operations. */\nexport class SmtpUsernamesImpl implements SmtpUsernames {\n private readonly client: CommunicationServiceManagementClient;\n\n /**\n * Initialize a new instance of the class SmtpUsernames class.\n * @param client Reference to the service client\n */\n constructor(client: CommunicationServiceManagementClient) {\n this.client = client;\n }\n\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 public list(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: SmtpUsernamesListOptionalParams,\n ): PagedAsyncIterableIterator<SmtpUsernameResource> {\n const iter = this.listPagingAll(resourceGroupName, communicationServiceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, communicationServiceName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: SmtpUsernamesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SmtpUsernameResource[]> {\n let result: SmtpUsernamesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, communicationServiceName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n communicationServiceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: SmtpUsernamesListOptionalParams,\n ): AsyncIterableIterator<SmtpUsernameResource> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n communicationServiceName,\n options,\n )) {\n yield* page;\n }\n }\n\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 private _list(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: SmtpUsernamesListOptionalParams,\n ): Promise<SmtpUsernamesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, options },\n listOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, smtpUsername, options },\n getOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n {\n resourceGroupName,\n communicationServiceName,\n smtpUsername,\n parameters,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\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 return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, smtpUsername, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListNext\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 nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n communicationServiceName: string,\n nextLink: string,\n options?: SmtpUsernamesListNextOptionalParams,\n ): Promise<SmtpUsernamesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SmtpUsernameResourceCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames/{smtpUsername}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SmtpUsernameResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName,\n Parameters.smtpUsername,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames/{smtpUsername}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SmtpUsernameResource,\n },\n 201: {\n bodyMapper: Mappers.SmtpUsernameResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName,\n Parameters.smtpUsername,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/smtpUsernames/{smtpUsername}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName,\n Parameters.smtpUsername,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SmtpUsernameResourceCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,75 @@
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { SuppressionListAddresses } from "../operationsInterfaces/index.js";
3
+ import type { CommunicationServiceManagementClient } from "../communicationServiceManagementClient.js";
4
+ import type { SuppressionListAddressResource, SuppressionListAddressesListOptionalParams, SuppressionListAddressesGetOptionalParams, SuppressionListAddressesGetResponse, SuppressionListAddressesCreateOrUpdateOptionalParams, SuppressionListAddressesCreateOrUpdateResponse, SuppressionListAddressesDeleteOptionalParams } from "../models/index.js";
5
+ /** Class containing SuppressionListAddresses operations. */
6
+ export declare class SuppressionListAddressesImpl implements SuppressionListAddresses {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class SuppressionListAddresses class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: CommunicationServiceManagementClient);
13
+ /**
14
+ * Get all the addresses in a suppression list.
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
+ list(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, options?: SuppressionListAddressesListOptionalParams): PagedAsyncIterableIterator<SuppressionListAddressResource>;
22
+ private listPagingPage;
23
+ private listPagingAll;
24
+ /**
25
+ * Get all the addresses in a suppression list.
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 options The options parameters.
31
+ */
32
+ private _list;
33
+ /**
34
+ * Get a SuppressionListAddress.
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 addressId The id of the address in a suppression list.
40
+ * @param options The options parameters.
41
+ */
42
+ get(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, addressId: string, options?: SuppressionListAddressesGetOptionalParams): Promise<SuppressionListAddressesGetResponse>;
43
+ /**
44
+ * Create or update a SuppressionListAddress.
45
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
+ * @param emailServiceName The name of the EmailService resource.
47
+ * @param domainName The name of the Domains resource.
48
+ * @param suppressionListName The name of the suppression list.
49
+ * @param addressId The id of the address in a suppression list.
50
+ * @param parameters Parameters for the create or update operation
51
+ * @param options The options parameters.
52
+ */
53
+ createOrUpdate(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, addressId: string, parameters: SuppressionListAddressResource, options?: SuppressionListAddressesCreateOrUpdateOptionalParams): Promise<SuppressionListAddressesCreateOrUpdateResponse>;
54
+ /**
55
+ * Operation to delete a single address from a suppression list.
56
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
57
+ * @param emailServiceName The name of the EmailService resource.
58
+ * @param domainName The name of the Domains resource.
59
+ * @param suppressionListName The name of the suppression list.
60
+ * @param addressId The id of the address in a suppression list.
61
+ * @param options The options parameters.
62
+ */
63
+ delete(resourceGroupName: string, emailServiceName: string, domainName: string, suppressionListName: string, addressId: string, options?: SuppressionListAddressesDeleteOptionalParams): Promise<void>;
64
+ /**
65
+ * ListNext
66
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
67
+ * @param emailServiceName The name of the EmailService resource.
68
+ * @param domainName The name of the Domains resource.
69
+ * @param suppressionListName The name of the suppression list.
70
+ * @param nextLink The nextLink from the previous successful call to the List method.
71
+ * @param options The options parameters.
72
+ */
73
+ private _listNext;
74
+ }
75
+ //# sourceMappingURL=suppressionListAddresses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suppressionListAddresses.d.ts","sourceRoot":"","sources":["../../../src/operations/suppressionListAddresses.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAIjF,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AACvG,OAAO,KAAK,EACV,8BAA8B,EAE9B,0CAA0C,EAE1C,yCAAyC,EACzC,mCAAmC,EACnC,oDAAoD,EACpD,8CAA8C,EAC9C,4CAA4C,EAE7C,MAAM,oBAAoB,CAAC;AAG5B,4DAA4D;AAC5D,qBAAa,4BAA6B,YAAW,wBAAwB;IAC3E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAE9D;;;OAGG;gBACS,MAAM,EAAE,oCAAoC;IAIxD;;;;;;;OAOG;IACI,IAAI,CACT,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;YA+B9C,cAAc;YAuCd,aAAa;IAkB5B;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAmBb;;;;;;;;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;IAc/C;;;;;;;;;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;IAe1D;;;;;;;;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;IAchB;;;;;;;;OAQG;IACH,OAAO,CAAC,SAAS;CAoBlB"}
@@ -0,0 +1,286 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { setContinuationToken } from "../pagingHelper.js";
4
+ import * as coreClient from "@azure/core-client";
5
+ import * as Mappers from "../models/mappers.js";
6
+ import * as Parameters from "../models/parameters.js";
7
+ /// <reference lib="esnext.asynciterable" />
8
+ /** Class containing SuppressionListAddresses operations. */
9
+ export class SuppressionListAddressesImpl {
10
+ client;
11
+ /**
12
+ * Initialize a new instance of the class SuppressionListAddresses class.
13
+ * @param client Reference to the service client
14
+ */
15
+ constructor(client) {
16
+ this.client = client;
17
+ }
18
+ /**
19
+ * Get all the addresses in a suppression list.
20
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
21
+ * @param emailServiceName The name of the EmailService resource.
22
+ * @param domainName The name of the Domains resource.
23
+ * @param suppressionListName The name of the suppression list.
24
+ * @param options The options parameters.
25
+ */
26
+ list(resourceGroupName, emailServiceName, domainName, suppressionListName, options) {
27
+ const iter = this.listPagingAll(resourceGroupName, emailServiceName, domainName, suppressionListName, options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: (settings) => {
36
+ if (settings?.maxPageSize) {
37
+ throw new Error("maxPageSize is not supported by this operation.");
38
+ }
39
+ return this.listPagingPage(resourceGroupName, emailServiceName, domainName, suppressionListName, options, settings);
40
+ },
41
+ };
42
+ }
43
+ async *listPagingPage(resourceGroupName, emailServiceName, domainName, suppressionListName, options, settings) {
44
+ let result;
45
+ let continuationToken = settings?.continuationToken;
46
+ if (!continuationToken) {
47
+ result = await this._list(resourceGroupName, emailServiceName, domainName, suppressionListName, options);
48
+ const page = result.value || [];
49
+ continuationToken = result.nextLink;
50
+ setContinuationToken(page, continuationToken);
51
+ yield page;
52
+ }
53
+ while (continuationToken) {
54
+ result = await this._listNext(resourceGroupName, emailServiceName, domainName, suppressionListName, continuationToken, options);
55
+ continuationToken = result.nextLink;
56
+ const page = result.value || [];
57
+ setContinuationToken(page, continuationToken);
58
+ yield page;
59
+ }
60
+ }
61
+ async *listPagingAll(resourceGroupName, emailServiceName, domainName, suppressionListName, options) {
62
+ for await (const page of this.listPagingPage(resourceGroupName, emailServiceName, domainName, suppressionListName, options)) {
63
+ yield* page;
64
+ }
65
+ }
66
+ /**
67
+ * Get all the addresses in a suppression list.
68
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
69
+ * @param emailServiceName The name of the EmailService resource.
70
+ * @param domainName The name of the Domains resource.
71
+ * @param suppressionListName The name of the suppression list.
72
+ * @param options The options parameters.
73
+ */
74
+ _list(resourceGroupName, emailServiceName, domainName, suppressionListName, options) {
75
+ return this.client.sendOperationRequest({
76
+ resourceGroupName,
77
+ emailServiceName,
78
+ domainName,
79
+ suppressionListName,
80
+ options,
81
+ }, listOperationSpec);
82
+ }
83
+ /**
84
+ * Get a SuppressionListAddress.
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param emailServiceName The name of the EmailService resource.
87
+ * @param domainName The name of the Domains resource.
88
+ * @param suppressionListName The name of the suppression list.
89
+ * @param addressId The id of the address in a suppression list.
90
+ * @param options The options parameters.
91
+ */
92
+ get(resourceGroupName, emailServiceName, domainName, suppressionListName, addressId, options) {
93
+ return this.client.sendOperationRequest({
94
+ resourceGroupName,
95
+ emailServiceName,
96
+ domainName,
97
+ suppressionListName,
98
+ addressId,
99
+ options,
100
+ }, getOperationSpec);
101
+ }
102
+ /**
103
+ * Create or update a SuppressionListAddress.
104
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
105
+ * @param emailServiceName The name of the EmailService resource.
106
+ * @param domainName The name of the Domains resource.
107
+ * @param suppressionListName The name of the suppression list.
108
+ * @param addressId The id of the address in a suppression list.
109
+ * @param parameters Parameters for the create or update operation
110
+ * @param options The options parameters.
111
+ */
112
+ createOrUpdate(resourceGroupName, emailServiceName, domainName, suppressionListName, addressId, parameters, options) {
113
+ return this.client.sendOperationRequest({
114
+ resourceGroupName,
115
+ emailServiceName,
116
+ domainName,
117
+ suppressionListName,
118
+ addressId,
119
+ parameters,
120
+ options,
121
+ }, createOrUpdateOperationSpec);
122
+ }
123
+ /**
124
+ * Operation to delete a single address from a suppression list.
125
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
126
+ * @param emailServiceName The name of the EmailService resource.
127
+ * @param domainName The name of the Domains resource.
128
+ * @param suppressionListName The name of the suppression list.
129
+ * @param addressId The id of the address in a suppression list.
130
+ * @param options The options parameters.
131
+ */
132
+ delete(resourceGroupName, emailServiceName, domainName, suppressionListName, addressId, options) {
133
+ return this.client.sendOperationRequest({
134
+ resourceGroupName,
135
+ emailServiceName,
136
+ domainName,
137
+ suppressionListName,
138
+ addressId,
139
+ options,
140
+ }, deleteOperationSpec);
141
+ }
142
+ /**
143
+ * ListNext
144
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
145
+ * @param emailServiceName The name of the EmailService resource.
146
+ * @param domainName The name of the Domains resource.
147
+ * @param suppressionListName The name of the suppression list.
148
+ * @param nextLink The nextLink from the previous successful call to the List method.
149
+ * @param options The options parameters.
150
+ */
151
+ _listNext(resourceGroupName, emailServiceName, domainName, suppressionListName, nextLink, options) {
152
+ return this.client.sendOperationRequest({
153
+ resourceGroupName,
154
+ emailServiceName,
155
+ domainName,
156
+ suppressionListName,
157
+ nextLink,
158
+ options,
159
+ }, listNextOperationSpec);
160
+ }
161
+ }
162
+ // Operation Specifications
163
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
164
+ const listOperationSpec = {
165
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses",
166
+ httpMethod: "GET",
167
+ responses: {
168
+ 200: {
169
+ bodyMapper: Mappers.SuppressionListAddressResourceCollection,
170
+ },
171
+ default: {
172
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
173
+ },
174
+ },
175
+ queryParameters: [Parameters.apiVersion],
176
+ urlParameters: [
177
+ Parameters.$host,
178
+ Parameters.subscriptionId,
179
+ Parameters.resourceGroupName,
180
+ Parameters.emailServiceName,
181
+ Parameters.domainName1,
182
+ Parameters.suppressionListName,
183
+ ],
184
+ headerParameters: [Parameters.accept],
185
+ serializer,
186
+ };
187
+ const getOperationSpec = {
188
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId}",
189
+ httpMethod: "GET",
190
+ responses: {
191
+ 200: {
192
+ bodyMapper: Mappers.SuppressionListAddressResource,
193
+ },
194
+ default: {
195
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
196
+ },
197
+ },
198
+ queryParameters: [Parameters.apiVersion],
199
+ urlParameters: [
200
+ Parameters.$host,
201
+ Parameters.subscriptionId,
202
+ Parameters.resourceGroupName,
203
+ Parameters.emailServiceName,
204
+ Parameters.domainName1,
205
+ Parameters.suppressionListName,
206
+ Parameters.addressId,
207
+ ],
208
+ headerParameters: [Parameters.accept],
209
+ serializer,
210
+ };
211
+ const createOrUpdateOperationSpec = {
212
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId}",
213
+ httpMethod: "PUT",
214
+ responses: {
215
+ 200: {
216
+ bodyMapper: Mappers.SuppressionListAddressResource,
217
+ },
218
+ 201: {
219
+ bodyMapper: Mappers.SuppressionListAddressResource,
220
+ },
221
+ default: {
222
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
223
+ },
224
+ },
225
+ requestBody: Parameters.parameters11,
226
+ queryParameters: [Parameters.apiVersion],
227
+ urlParameters: [
228
+ Parameters.$host,
229
+ Parameters.subscriptionId,
230
+ Parameters.resourceGroupName,
231
+ Parameters.emailServiceName,
232
+ Parameters.domainName1,
233
+ Parameters.suppressionListName,
234
+ Parameters.addressId,
235
+ ],
236
+ headerParameters: [Parameters.accept, Parameters.contentType],
237
+ mediaType: "json",
238
+ serializer,
239
+ };
240
+ const deleteOperationSpec = {
241
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}/domains/{domainName}/suppressionLists/{suppressionListName}/suppressionListAddresses/{addressId}",
242
+ httpMethod: "DELETE",
243
+ responses: {
244
+ 200: {},
245
+ 204: {},
246
+ default: {
247
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
248
+ },
249
+ },
250
+ queryParameters: [Parameters.apiVersion],
251
+ urlParameters: [
252
+ Parameters.$host,
253
+ Parameters.subscriptionId,
254
+ Parameters.resourceGroupName,
255
+ Parameters.emailServiceName,
256
+ Parameters.domainName1,
257
+ Parameters.suppressionListName,
258
+ Parameters.addressId,
259
+ ],
260
+ headerParameters: [Parameters.accept],
261
+ serializer,
262
+ };
263
+ const listNextOperationSpec = {
264
+ path: "{nextLink}",
265
+ httpMethod: "GET",
266
+ responses: {
267
+ 200: {
268
+ bodyMapper: Mappers.SuppressionListAddressResourceCollection,
269
+ },
270
+ default: {
271
+ bodyMapper: Mappers.ErrorResponseAutoGenerated,
272
+ },
273
+ },
274
+ urlParameters: [
275
+ Parameters.$host,
276
+ Parameters.nextLink,
277
+ Parameters.subscriptionId,
278
+ Parameters.resourceGroupName,
279
+ Parameters.emailServiceName,
280
+ Parameters.domainName1,
281
+ Parameters.suppressionListName,
282
+ ],
283
+ headerParameters: [Parameters.accept],
284
+ serializer,
285
+ };
286
+ //# sourceMappingURL=suppressionListAddresses.js.map