@azure/arm-communication 4.2.0 → 5.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (931) hide show
  1. package/README.md +10 -10
  2. package/dist/browser/api/communicationServiceManagementContext.d.ts +22 -0
  3. package/dist/browser/api/communicationServiceManagementContext.js +24 -0
  4. package/dist/browser/api/communicationServiceManagementContext.js.map +1 -0
  5. package/dist/browser/api/communicationServices/index.d.ts +3 -0
  6. package/dist/browser/api/communicationServices/index.js +4 -0
  7. package/dist/browser/api/communicationServices/index.js.map +1 -0
  8. package/dist/browser/api/communicationServices/operations.d.ts +52 -0
  9. package/dist/browser/api/communicationServices/operations.js +305 -0
  10. package/dist/browser/api/communicationServices/operations.js.map +1 -0
  11. package/dist/browser/api/communicationServices/options.d.ts +39 -0
  12. package/dist/browser/api/communicationServices/options.js +4 -0
  13. package/dist/browser/api/communicationServices/options.js.map +1 -0
  14. package/dist/browser/api/domains/index.d.ts +3 -0
  15. package/dist/browser/api/domains/index.js +4 -0
  16. package/dist/browser/api/domains/index.js.map +1 -0
  17. package/dist/browser/api/domains/operations.d.ts +40 -0
  18. package/dist/browser/api/domains/operations.js +242 -0
  19. package/dist/browser/api/domains/operations.js.map +1 -0
  20. package/dist/browser/api/domains/options.d.ts +33 -0
  21. package/dist/browser/api/domains/options.js +4 -0
  22. package/dist/browser/api/domains/options.js.map +1 -0
  23. package/dist/browser/api/emailServices/index.d.ts +3 -0
  24. package/dist/browser/api/emailServices/index.js +4 -0
  25. package/dist/browser/api/emailServices/index.js.map +1 -0
  26. package/dist/browser/api/emailServices/operations.d.ts +40 -0
  27. package/dist/browser/api/emailServices/operations.js +222 -0
  28. package/dist/browser/api/emailServices/operations.js.map +1 -0
  29. package/dist/browser/api/emailServices/options.d.ts +29 -0
  30. package/dist/browser/api/emailServices/options.js +4 -0
  31. package/dist/browser/api/emailServices/options.js.map +1 -0
  32. package/dist/browser/api/index.d.ts +3 -0
  33. package/dist/browser/api/index.js +4 -0
  34. package/dist/browser/api/index.js.map +1 -0
  35. package/dist/browser/api/operations/index.d.ts +3 -0
  36. package/dist/browser/api/operations/index.js +4 -0
  37. package/dist/browser/api/operations/index.js.map +1 -0
  38. package/dist/browser/api/operations/operations.d.ts +10 -0
  39. package/dist/browser/api/operations/operations.js +31 -0
  40. package/dist/browser/api/operations/operations.js.map +1 -0
  41. package/dist/browser/api/operations/options.d.ts +5 -0
  42. package/dist/browser/api/operations/options.js +4 -0
  43. package/dist/browser/api/operations/options.js.map +1 -0
  44. package/dist/browser/api/senderUsernames/index.d.ts +3 -0
  45. package/dist/browser/api/senderUsernames/index.js +4 -0
  46. package/dist/browser/api/senderUsernames/index.js.map +1 -0
  47. package/dist/browser/api/senderUsernames/operations.d.ts +27 -0
  48. package/dist/browser/api/senderUsernames/operations.js +129 -0
  49. package/dist/browser/api/senderUsernames/operations.js.map +1 -0
  50. package/dist/browser/api/senderUsernames/options.d.ts +14 -0
  51. package/dist/browser/api/senderUsernames/options.js +4 -0
  52. package/dist/browser/api/senderUsernames/options.js.map +1 -0
  53. package/dist/browser/api/smtpUsernames/index.d.ts +3 -0
  54. package/dist/browser/api/smtpUsernames/index.js +4 -0
  55. package/dist/browser/api/smtpUsernames/index.js.map +1 -0
  56. package/dist/browser/api/smtpUsernames/operations.d.ts +27 -0
  57. package/dist/browser/api/smtpUsernames/operations.js +125 -0
  58. package/dist/browser/api/smtpUsernames/operations.js.map +1 -0
  59. package/dist/browser/api/smtpUsernames/options.d.ts +14 -0
  60. package/dist/browser/api/smtpUsernames/options.js +4 -0
  61. package/dist/browser/api/smtpUsernames/options.js.map +1 -0
  62. package/dist/browser/api/suppressionListAddresses/index.d.ts +3 -0
  63. package/dist/browser/api/suppressionListAddresses/index.js +4 -0
  64. package/dist/browser/api/suppressionListAddresses/index.js.map +1 -0
  65. package/dist/browser/api/suppressionListAddresses/operations.d.ts +27 -0
  66. package/dist/browser/api/suppressionListAddresses/operations.js +133 -0
  67. package/dist/browser/api/suppressionListAddresses/operations.js.map +1 -0
  68. package/dist/browser/api/suppressionListAddresses/options.d.ts +14 -0
  69. package/dist/browser/api/suppressionListAddresses/options.js +4 -0
  70. package/dist/browser/api/suppressionListAddresses/options.js.map +1 -0
  71. package/dist/browser/api/suppressionLists/index.d.ts +3 -0
  72. package/dist/browser/api/suppressionLists/index.js +4 -0
  73. package/dist/browser/api/suppressionLists/index.js.map +1 -0
  74. package/dist/browser/api/suppressionLists/operations.d.ts +27 -0
  75. package/dist/browser/api/suppressionLists/operations.js +129 -0
  76. package/dist/browser/api/suppressionLists/operations.js.map +1 -0
  77. package/dist/browser/api/suppressionLists/options.d.ts +14 -0
  78. package/dist/browser/api/suppressionLists/options.js +4 -0
  79. package/dist/browser/api/suppressionLists/options.js.map +1 -0
  80. package/dist/browser/classic/communicationServices/index.d.ts +44 -0
  81. package/dist/browser/classic/communicationServices/index.js +40 -0
  82. package/dist/browser/classic/communicationServices/index.js.map +1 -0
  83. package/dist/browser/classic/domains/index.d.ts +50 -0
  84. package/dist/browser/classic/domains/index.js +61 -0
  85. package/dist/browser/classic/domains/index.js.map +1 -0
  86. package/dist/browser/classic/emailServices/index.d.ts +42 -0
  87. package/dist/browser/classic/emailServices/index.js +45 -0
  88. package/dist/browser/classic/emailServices/index.js.map +1 -0
  89. package/dist/browser/classic/index.d.ts +9 -0
  90. package/dist/browser/classic/index.js +4 -0
  91. package/dist/browser/classic/index.js.map +1 -0
  92. package/dist/browser/classic/operations/index.d.ts +11 -0
  93. package/dist/browser/classic/operations/index.js +14 -0
  94. package/dist/browser/classic/operations/index.js.map +1 -0
  95. package/dist/browser/classic/senderUsernames/index.d.ts +22 -0
  96. package/dist/browser/classic/senderUsernames/index.js +17 -0
  97. package/dist/browser/classic/senderUsernames/index.js.map +1 -0
  98. package/dist/browser/classic/smtpUsernames/index.d.ts +22 -0
  99. package/dist/browser/classic/smtpUsernames/index.js +17 -0
  100. package/dist/browser/classic/smtpUsernames/index.js.map +1 -0
  101. package/dist/browser/classic/suppressionListAddresses/index.d.ts +22 -0
  102. package/dist/browser/classic/suppressionListAddresses/index.js +17 -0
  103. package/dist/browser/classic/suppressionListAddresses/index.js.map +1 -0
  104. package/dist/browser/classic/suppressionLists/index.d.ts +22 -0
  105. package/dist/browser/classic/suppressionLists/index.js +17 -0
  106. package/dist/browser/classic/suppressionLists/index.js.map +1 -0
  107. package/dist/browser/communicationServiceManagementClient.d.ts +34 -25
  108. package/dist/browser/communicationServiceManagementClient.js +46 -108
  109. package/dist/browser/communicationServiceManagementClient.js.map +1 -1
  110. package/dist/browser/index.d.ts +21 -3
  111. package/dist/browser/index.js +4 -6
  112. package/dist/browser/index.js.map +1 -1
  113. package/dist/browser/logger.d.ts +2 -0
  114. package/dist/browser/logger.js +5 -0
  115. package/dist/browser/logger.js.map +1 -0
  116. package/dist/browser/models/index.d.ts +2 -1267
  117. package/dist/browser/models/index.js +1 -194
  118. package/dist/browser/models/index.js.map +1 -1
  119. package/dist/browser/models/models.d.ts +991 -0
  120. package/dist/browser/models/models.js +979 -0
  121. package/dist/browser/models/models.js.map +1 -0
  122. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  123. package/dist/browser/restorePollerHelpers.js +111 -0
  124. package/dist/browser/restorePollerHelpers.js.map +1 -0
  125. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  126. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  127. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  128. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  129. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  130. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  131. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  132. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  133. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  134. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  135. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  136. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  137. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  138. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  139. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  140. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  141. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  142. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  143. package/dist/commonjs/api/communicationServiceManagementContext.d.ts +22 -0
  144. package/dist/commonjs/api/communicationServiceManagementContext.js +45 -0
  145. package/dist/commonjs/api/communicationServiceManagementContext.js.map +7 -0
  146. package/dist/commonjs/api/communicationServices/index.d.ts +3 -0
  147. package/dist/commonjs/api/communicationServices/index.js +46 -0
  148. package/dist/commonjs/api/communicationServices/index.js.map +7 -0
  149. package/dist/commonjs/api/communicationServices/operations.d.ts +52 -0
  150. package/dist/commonjs/api/communicationServices/operations.js +445 -0
  151. package/dist/commonjs/api/communicationServices/operations.js.map +7 -0
  152. package/dist/commonjs/api/communicationServices/options.d.ts +39 -0
  153. package/dist/commonjs/api/communicationServices/options.js +16 -0
  154. package/dist/commonjs/api/communicationServices/options.js.map +7 -0
  155. package/dist/commonjs/api/domains/index.d.ts +3 -0
  156. package/dist/commonjs/api/domains/index.js +40 -0
  157. package/dist/commonjs/api/domains/index.js.map +7 -0
  158. package/dist/commonjs/api/domains/operations.d.ts +40 -0
  159. package/dist/commonjs/api/domains/operations.js +349 -0
  160. package/dist/commonjs/api/domains/operations.js.map +7 -0
  161. package/dist/commonjs/api/domains/options.d.ts +33 -0
  162. package/dist/commonjs/api/domains/options.js +16 -0
  163. package/dist/commonjs/api/domains/options.js.map +7 -0
  164. package/dist/commonjs/api/emailServices/index.d.ts +3 -0
  165. package/dist/commonjs/api/emailServices/index.js +40 -0
  166. package/dist/commonjs/api/emailServices/index.js.map +7 -0
  167. package/dist/commonjs/api/emailServices/operations.d.ts +40 -0
  168. package/dist/commonjs/api/emailServices/operations.js +314 -0
  169. package/dist/commonjs/api/emailServices/operations.js.map +7 -0
  170. package/dist/commonjs/api/emailServices/options.d.ts +29 -0
  171. package/dist/commonjs/api/emailServices/options.js +16 -0
  172. package/dist/commonjs/api/emailServices/options.js.map +7 -0
  173. package/dist/commonjs/api/index.d.ts +3 -0
  174. package/dist/commonjs/api/index.js +28 -0
  175. package/dist/commonjs/api/index.js.map +7 -0
  176. package/dist/commonjs/api/operations/index.d.ts +3 -0
  177. package/dist/commonjs/api/operations/index.js +28 -0
  178. package/dist/commonjs/api/operations/index.js.map +7 -0
  179. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  180. package/dist/commonjs/api/operations/operations.js +68 -0
  181. package/dist/commonjs/api/operations/operations.js.map +7 -0
  182. package/dist/commonjs/api/operations/options.d.ts +5 -0
  183. package/dist/commonjs/api/operations/options.js +16 -0
  184. package/dist/commonjs/api/operations/options.js.map +7 -0
  185. package/dist/commonjs/api/senderUsernames/index.d.ts +3 -0
  186. package/dist/commonjs/api/senderUsernames/index.js +34 -0
  187. package/dist/commonjs/api/senderUsernames/index.js.map +7 -0
  188. package/dist/commonjs/api/senderUsernames/operations.d.ts +27 -0
  189. package/dist/commonjs/api/senderUsernames/operations.js +210 -0
  190. package/dist/commonjs/api/senderUsernames/operations.js.map +7 -0
  191. package/dist/commonjs/api/senderUsernames/options.d.ts +14 -0
  192. package/dist/commonjs/api/senderUsernames/options.js +16 -0
  193. package/dist/commonjs/api/senderUsernames/options.js.map +7 -0
  194. package/dist/commonjs/api/smtpUsernames/index.d.ts +3 -0
  195. package/dist/commonjs/api/smtpUsernames/index.js +34 -0
  196. package/dist/commonjs/api/smtpUsernames/index.js.map +7 -0
  197. package/dist/commonjs/api/smtpUsernames/operations.d.ts +27 -0
  198. package/dist/commonjs/api/smtpUsernames/operations.js +203 -0
  199. package/dist/commonjs/api/smtpUsernames/operations.js.map +7 -0
  200. package/dist/commonjs/api/smtpUsernames/options.d.ts +14 -0
  201. package/dist/commonjs/api/smtpUsernames/options.js +16 -0
  202. package/dist/commonjs/api/smtpUsernames/options.js.map +7 -0
  203. package/dist/commonjs/api/suppressionListAddresses/index.d.ts +3 -0
  204. package/dist/commonjs/api/suppressionListAddresses/index.js +34 -0
  205. package/dist/commonjs/api/suppressionListAddresses/index.js.map +7 -0
  206. package/dist/commonjs/api/suppressionListAddresses/operations.d.ts +27 -0
  207. package/dist/commonjs/api/suppressionListAddresses/operations.js +224 -0
  208. package/dist/commonjs/api/suppressionListAddresses/operations.js.map +7 -0
  209. package/dist/commonjs/api/suppressionListAddresses/options.d.ts +14 -0
  210. package/dist/commonjs/api/suppressionListAddresses/options.js +16 -0
  211. package/dist/commonjs/api/suppressionListAddresses/options.js.map +7 -0
  212. package/dist/commonjs/api/suppressionLists/index.d.ts +3 -0
  213. package/dist/commonjs/api/suppressionLists/index.js +34 -0
  214. package/dist/commonjs/api/suppressionLists/index.js.map +7 -0
  215. package/dist/commonjs/api/suppressionLists/operations.d.ts +27 -0
  216. package/dist/commonjs/api/suppressionLists/operations.js +210 -0
  217. package/dist/commonjs/api/suppressionLists/operations.js.map +7 -0
  218. package/dist/commonjs/api/suppressionLists/options.d.ts +14 -0
  219. package/dist/commonjs/api/suppressionLists/options.js +16 -0
  220. package/dist/commonjs/api/suppressionLists/options.js.map +7 -0
  221. package/dist/commonjs/classic/communicationServices/index.d.ts +44 -0
  222. package/dist/commonjs/classic/communicationServices/index.js +76 -0
  223. package/dist/commonjs/classic/communicationServices/index.js.map +7 -0
  224. package/dist/commonjs/classic/domains/index.d.ts +50 -0
  225. package/dist/commonjs/classic/domains/index.js +155 -0
  226. package/dist/commonjs/classic/domains/index.js.map +7 -0
  227. package/dist/commonjs/classic/emailServices/index.d.ts +42 -0
  228. package/dist/commonjs/classic/emailServices/index.js +81 -0
  229. package/dist/commonjs/classic/emailServices/index.js.map +7 -0
  230. package/dist/commonjs/classic/index.d.ts +9 -0
  231. package/dist/commonjs/classic/index.js +16 -0
  232. package/dist/commonjs/classic/index.js.map +7 -0
  233. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  234. package/dist/commonjs/classic/operations/index.js +38 -0
  235. package/dist/commonjs/classic/operations/index.js.map +7 -0
  236. package/dist/commonjs/classic/senderUsernames/index.d.ts +22 -0
  237. package/dist/commonjs/classic/senderUsernames/index.js +49 -0
  238. package/dist/commonjs/classic/senderUsernames/index.js.map +7 -0
  239. package/dist/commonjs/classic/smtpUsernames/index.d.ts +22 -0
  240. package/dist/commonjs/classic/smtpUsernames/index.js +48 -0
  241. package/dist/commonjs/classic/smtpUsernames/index.js.map +7 -0
  242. package/dist/commonjs/classic/suppressionListAddresses/index.d.ts +22 -0
  243. package/dist/commonjs/classic/suppressionListAddresses/index.js +66 -0
  244. package/dist/commonjs/classic/suppressionListAddresses/index.js.map +7 -0
  245. package/dist/commonjs/classic/suppressionLists/index.d.ts +22 -0
  246. package/dist/commonjs/classic/suppressionLists/index.js +56 -0
  247. package/dist/commonjs/classic/suppressionLists/index.js.map +7 -0
  248. package/dist/commonjs/communicationServiceManagementClient.d.ts +34 -25
  249. package/dist/commonjs/communicationServiceManagementClient.js +74 -119
  250. package/dist/commonjs/communicationServiceManagementClient.js.map +7 -1
  251. package/dist/commonjs/index.d.ts +21 -3
  252. package/dist/commonjs/index.js +65 -16
  253. package/dist/commonjs/index.js.map +7 -1
  254. package/dist/commonjs/logger.d.ts +2 -0
  255. package/dist/commonjs/logger.js +29 -0
  256. package/dist/commonjs/logger.js.map +7 -0
  257. package/dist/commonjs/models/index.d.ts +2 -1267
  258. package/dist/commonjs/models/index.js +56 -200
  259. package/dist/commonjs/models/index.js.map +7 -1
  260. package/dist/commonjs/models/models.d.ts +991 -0
  261. package/dist/commonjs/models/models.js +1061 -0
  262. package/dist/commonjs/models/models.js.map +7 -0
  263. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  264. package/dist/commonjs/restorePollerHelpers.js +124 -0
  265. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  266. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  267. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  268. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  269. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  270. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  271. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  272. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  273. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  274. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  275. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  276. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  277. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  278. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  279. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  280. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  281. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  282. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  283. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  284. package/dist/commonjs/tsdoc-metadata.json +1 -1
  285. package/dist/esm/api/communicationServiceManagementContext.d.ts +22 -0
  286. package/dist/esm/api/communicationServiceManagementContext.js +24 -0
  287. package/dist/esm/api/communicationServiceManagementContext.js.map +1 -0
  288. package/dist/esm/api/communicationServices/index.d.ts +3 -0
  289. package/dist/esm/api/communicationServices/index.js +4 -0
  290. package/dist/esm/api/communicationServices/index.js.map +1 -0
  291. package/dist/esm/api/communicationServices/operations.d.ts +52 -0
  292. package/dist/esm/api/communicationServices/operations.js +305 -0
  293. package/dist/esm/api/communicationServices/operations.js.map +1 -0
  294. package/dist/esm/api/communicationServices/options.d.ts +39 -0
  295. package/dist/esm/api/communicationServices/options.js +4 -0
  296. package/dist/esm/api/communicationServices/options.js.map +1 -0
  297. package/dist/esm/api/domains/index.d.ts +3 -0
  298. package/dist/esm/api/domains/index.js +4 -0
  299. package/dist/esm/api/domains/index.js.map +1 -0
  300. package/dist/esm/api/domains/operations.d.ts +40 -0
  301. package/dist/esm/api/domains/operations.js +242 -0
  302. package/dist/esm/api/domains/operations.js.map +1 -0
  303. package/dist/esm/api/domains/options.d.ts +33 -0
  304. package/dist/esm/api/domains/options.js +4 -0
  305. package/dist/esm/api/domains/options.js.map +1 -0
  306. package/dist/esm/api/emailServices/index.d.ts +3 -0
  307. package/dist/esm/api/emailServices/index.js +4 -0
  308. package/dist/esm/api/emailServices/index.js.map +1 -0
  309. package/dist/esm/api/emailServices/operations.d.ts +40 -0
  310. package/dist/esm/api/emailServices/operations.js +222 -0
  311. package/dist/esm/api/emailServices/operations.js.map +1 -0
  312. package/dist/esm/api/emailServices/options.d.ts +29 -0
  313. package/dist/esm/api/emailServices/options.js +4 -0
  314. package/dist/esm/api/emailServices/options.js.map +1 -0
  315. package/dist/esm/api/index.d.ts +3 -0
  316. package/dist/esm/api/index.js +4 -0
  317. package/dist/esm/api/index.js.map +1 -0
  318. package/dist/esm/api/operations/index.d.ts +3 -0
  319. package/dist/esm/api/operations/index.js +4 -0
  320. package/dist/esm/api/operations/index.js.map +1 -0
  321. package/dist/esm/api/operations/operations.d.ts +10 -0
  322. package/dist/esm/api/operations/operations.js +31 -0
  323. package/dist/esm/api/operations/operations.js.map +1 -0
  324. package/dist/esm/api/operations/options.d.ts +5 -0
  325. package/dist/esm/api/operations/options.js +4 -0
  326. package/dist/esm/api/operations/options.js.map +1 -0
  327. package/dist/esm/api/senderUsernames/index.d.ts +3 -0
  328. package/dist/esm/api/senderUsernames/index.js +4 -0
  329. package/dist/esm/api/senderUsernames/index.js.map +1 -0
  330. package/dist/esm/api/senderUsernames/operations.d.ts +27 -0
  331. package/dist/esm/api/senderUsernames/operations.js +129 -0
  332. package/dist/esm/api/senderUsernames/operations.js.map +1 -0
  333. package/dist/esm/api/senderUsernames/options.d.ts +14 -0
  334. package/dist/esm/api/senderUsernames/options.js +4 -0
  335. package/dist/esm/api/senderUsernames/options.js.map +1 -0
  336. package/dist/esm/api/smtpUsernames/index.d.ts +3 -0
  337. package/dist/esm/api/smtpUsernames/index.js +4 -0
  338. package/dist/esm/api/smtpUsernames/index.js.map +1 -0
  339. package/dist/esm/api/smtpUsernames/operations.d.ts +27 -0
  340. package/dist/esm/api/smtpUsernames/operations.js +125 -0
  341. package/dist/esm/api/smtpUsernames/operations.js.map +1 -0
  342. package/dist/esm/api/smtpUsernames/options.d.ts +14 -0
  343. package/dist/esm/api/smtpUsernames/options.js +4 -0
  344. package/dist/esm/api/smtpUsernames/options.js.map +1 -0
  345. package/dist/esm/api/suppressionListAddresses/index.d.ts +3 -0
  346. package/dist/esm/api/suppressionListAddresses/index.js +4 -0
  347. package/dist/esm/api/suppressionListAddresses/index.js.map +1 -0
  348. package/dist/esm/api/suppressionListAddresses/operations.d.ts +27 -0
  349. package/dist/esm/api/suppressionListAddresses/operations.js +133 -0
  350. package/dist/esm/api/suppressionListAddresses/operations.js.map +1 -0
  351. package/dist/esm/api/suppressionListAddresses/options.d.ts +14 -0
  352. package/dist/esm/api/suppressionListAddresses/options.js +4 -0
  353. package/dist/esm/api/suppressionListAddresses/options.js.map +1 -0
  354. package/dist/esm/api/suppressionLists/index.d.ts +3 -0
  355. package/dist/esm/api/suppressionLists/index.js +4 -0
  356. package/dist/esm/api/suppressionLists/index.js.map +1 -0
  357. package/dist/esm/api/suppressionLists/operations.d.ts +27 -0
  358. package/dist/esm/api/suppressionLists/operations.js +129 -0
  359. package/dist/esm/api/suppressionLists/operations.js.map +1 -0
  360. package/dist/esm/api/suppressionLists/options.d.ts +14 -0
  361. package/dist/esm/api/suppressionLists/options.js +4 -0
  362. package/dist/esm/api/suppressionLists/options.js.map +1 -0
  363. package/dist/esm/classic/communicationServices/index.d.ts +44 -0
  364. package/dist/esm/classic/communicationServices/index.js +40 -0
  365. package/dist/esm/classic/communicationServices/index.js.map +1 -0
  366. package/dist/esm/classic/domains/index.d.ts +50 -0
  367. package/dist/esm/classic/domains/index.js +61 -0
  368. package/dist/esm/classic/domains/index.js.map +1 -0
  369. package/dist/esm/classic/emailServices/index.d.ts +42 -0
  370. package/dist/esm/classic/emailServices/index.js +45 -0
  371. package/dist/esm/classic/emailServices/index.js.map +1 -0
  372. package/dist/esm/classic/index.d.ts +9 -0
  373. package/dist/esm/classic/index.js +4 -0
  374. package/dist/esm/classic/index.js.map +1 -0
  375. package/dist/esm/classic/operations/index.d.ts +11 -0
  376. package/dist/esm/classic/operations/index.js +14 -0
  377. package/dist/esm/classic/operations/index.js.map +1 -0
  378. package/dist/esm/classic/senderUsernames/index.d.ts +22 -0
  379. package/dist/esm/classic/senderUsernames/index.js +17 -0
  380. package/dist/esm/classic/senderUsernames/index.js.map +1 -0
  381. package/dist/esm/classic/smtpUsernames/index.d.ts +22 -0
  382. package/dist/esm/classic/smtpUsernames/index.js +17 -0
  383. package/dist/esm/classic/smtpUsernames/index.js.map +1 -0
  384. package/dist/esm/classic/suppressionListAddresses/index.d.ts +22 -0
  385. package/dist/esm/classic/suppressionListAddresses/index.js +17 -0
  386. package/dist/esm/classic/suppressionListAddresses/index.js.map +1 -0
  387. package/dist/esm/classic/suppressionLists/index.d.ts +22 -0
  388. package/dist/esm/classic/suppressionLists/index.js +17 -0
  389. package/dist/esm/classic/suppressionLists/index.js.map +1 -0
  390. package/dist/esm/communicationServiceManagementClient.d.ts +34 -25
  391. package/dist/esm/communicationServiceManagementClient.js +46 -108
  392. package/dist/esm/communicationServiceManagementClient.js.map +1 -1
  393. package/dist/esm/index.d.ts +21 -3
  394. package/dist/esm/index.js +4 -6
  395. package/dist/esm/index.js.map +1 -1
  396. package/dist/esm/logger.d.ts +2 -0
  397. package/dist/esm/logger.js +5 -0
  398. package/dist/esm/logger.js.map +1 -0
  399. package/dist/esm/models/index.d.ts +2 -1267
  400. package/dist/esm/models/index.js +1 -194
  401. package/dist/esm/models/index.js.map +1 -1
  402. package/dist/esm/models/models.d.ts +991 -0
  403. package/dist/esm/models/models.js +979 -0
  404. package/dist/esm/models/models.js.map +1 -0
  405. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  406. package/dist/esm/restorePollerHelpers.js +111 -0
  407. package/dist/esm/restorePollerHelpers.js.map +1 -0
  408. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  409. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  410. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  411. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  412. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  413. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  414. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  415. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  416. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  417. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  418. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  419. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  420. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  421. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  422. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  423. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  424. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  425. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  426. package/dist/react-native/api/communicationServiceManagementContext.d.ts +22 -0
  427. package/dist/react-native/api/communicationServiceManagementContext.js +24 -0
  428. package/dist/react-native/api/communicationServiceManagementContext.js.map +1 -0
  429. package/dist/react-native/api/communicationServices/index.d.ts +3 -0
  430. package/dist/react-native/api/communicationServices/index.js +4 -0
  431. package/dist/react-native/api/communicationServices/index.js.map +1 -0
  432. package/dist/react-native/api/communicationServices/operations.d.ts +52 -0
  433. package/dist/react-native/api/communicationServices/operations.js +305 -0
  434. package/dist/react-native/api/communicationServices/operations.js.map +1 -0
  435. package/dist/react-native/api/communicationServices/options.d.ts +39 -0
  436. package/dist/react-native/api/communicationServices/options.js +4 -0
  437. package/dist/react-native/api/communicationServices/options.js.map +1 -0
  438. package/dist/react-native/api/domains/index.d.ts +3 -0
  439. package/dist/react-native/api/domains/index.js +4 -0
  440. package/dist/react-native/api/domains/index.js.map +1 -0
  441. package/dist/react-native/api/domains/operations.d.ts +40 -0
  442. package/dist/react-native/api/domains/operations.js +242 -0
  443. package/dist/react-native/api/domains/operations.js.map +1 -0
  444. package/dist/react-native/api/domains/options.d.ts +33 -0
  445. package/dist/react-native/api/domains/options.js +4 -0
  446. package/dist/react-native/api/domains/options.js.map +1 -0
  447. package/dist/react-native/api/emailServices/index.d.ts +3 -0
  448. package/dist/react-native/api/emailServices/index.js +4 -0
  449. package/dist/react-native/api/emailServices/index.js.map +1 -0
  450. package/dist/react-native/api/emailServices/operations.d.ts +40 -0
  451. package/dist/react-native/api/emailServices/operations.js +222 -0
  452. package/dist/react-native/api/emailServices/operations.js.map +1 -0
  453. package/dist/react-native/api/emailServices/options.d.ts +29 -0
  454. package/dist/react-native/api/emailServices/options.js +4 -0
  455. package/dist/react-native/api/emailServices/options.js.map +1 -0
  456. package/dist/react-native/api/index.d.ts +3 -0
  457. package/dist/react-native/api/index.js +4 -0
  458. package/dist/react-native/api/index.js.map +1 -0
  459. package/dist/react-native/api/operations/index.d.ts +3 -0
  460. package/dist/react-native/api/operations/index.js +4 -0
  461. package/dist/react-native/api/operations/index.js.map +1 -0
  462. package/dist/react-native/api/operations/operations.d.ts +10 -0
  463. package/dist/react-native/api/operations/operations.js +31 -0
  464. package/dist/react-native/api/operations/operations.js.map +1 -0
  465. package/dist/react-native/api/operations/options.d.ts +5 -0
  466. package/dist/react-native/api/operations/options.js +4 -0
  467. package/dist/react-native/api/operations/options.js.map +1 -0
  468. package/dist/react-native/api/senderUsernames/index.d.ts +3 -0
  469. package/dist/react-native/api/senderUsernames/index.js +4 -0
  470. package/dist/react-native/api/senderUsernames/index.js.map +1 -0
  471. package/dist/react-native/api/senderUsernames/operations.d.ts +27 -0
  472. package/dist/react-native/api/senderUsernames/operations.js +129 -0
  473. package/dist/react-native/api/senderUsernames/operations.js.map +1 -0
  474. package/dist/react-native/api/senderUsernames/options.d.ts +14 -0
  475. package/dist/react-native/api/senderUsernames/options.js +4 -0
  476. package/dist/react-native/api/senderUsernames/options.js.map +1 -0
  477. package/dist/react-native/api/smtpUsernames/index.d.ts +3 -0
  478. package/dist/react-native/api/smtpUsernames/index.js +4 -0
  479. package/dist/react-native/api/smtpUsernames/index.js.map +1 -0
  480. package/dist/react-native/api/smtpUsernames/operations.d.ts +27 -0
  481. package/dist/react-native/api/smtpUsernames/operations.js +125 -0
  482. package/dist/react-native/api/smtpUsernames/operations.js.map +1 -0
  483. package/dist/react-native/api/smtpUsernames/options.d.ts +14 -0
  484. package/dist/react-native/api/smtpUsernames/options.js +4 -0
  485. package/dist/react-native/api/smtpUsernames/options.js.map +1 -0
  486. package/dist/react-native/api/suppressionListAddresses/index.d.ts +3 -0
  487. package/dist/react-native/api/suppressionListAddresses/index.js +4 -0
  488. package/dist/react-native/api/suppressionListAddresses/index.js.map +1 -0
  489. package/dist/react-native/api/suppressionListAddresses/operations.d.ts +27 -0
  490. package/dist/react-native/api/suppressionListAddresses/operations.js +133 -0
  491. package/dist/react-native/api/suppressionListAddresses/operations.js.map +1 -0
  492. package/dist/react-native/api/suppressionListAddresses/options.d.ts +14 -0
  493. package/dist/react-native/api/suppressionListAddresses/options.js +4 -0
  494. package/dist/react-native/api/suppressionListAddresses/options.js.map +1 -0
  495. package/dist/react-native/api/suppressionLists/index.d.ts +3 -0
  496. package/dist/react-native/api/suppressionLists/index.js +4 -0
  497. package/dist/react-native/api/suppressionLists/index.js.map +1 -0
  498. package/dist/react-native/api/suppressionLists/operations.d.ts +27 -0
  499. package/dist/react-native/api/suppressionLists/operations.js +129 -0
  500. package/dist/react-native/api/suppressionLists/operations.js.map +1 -0
  501. package/dist/react-native/api/suppressionLists/options.d.ts +14 -0
  502. package/dist/react-native/api/suppressionLists/options.js +4 -0
  503. package/dist/react-native/api/suppressionLists/options.js.map +1 -0
  504. package/dist/react-native/classic/communicationServices/index.d.ts +44 -0
  505. package/dist/react-native/classic/communicationServices/index.js +40 -0
  506. package/dist/react-native/classic/communicationServices/index.js.map +1 -0
  507. package/dist/react-native/classic/domains/index.d.ts +50 -0
  508. package/dist/react-native/classic/domains/index.js +61 -0
  509. package/dist/react-native/classic/domains/index.js.map +1 -0
  510. package/dist/react-native/classic/emailServices/index.d.ts +42 -0
  511. package/dist/react-native/classic/emailServices/index.js +45 -0
  512. package/dist/react-native/classic/emailServices/index.js.map +1 -0
  513. package/dist/react-native/classic/index.d.ts +9 -0
  514. package/dist/react-native/classic/index.js +4 -0
  515. package/dist/react-native/classic/index.js.map +1 -0
  516. package/dist/react-native/classic/operations/index.d.ts +11 -0
  517. package/dist/react-native/classic/operations/index.js +14 -0
  518. package/dist/react-native/classic/operations/index.js.map +1 -0
  519. package/dist/react-native/classic/senderUsernames/index.d.ts +22 -0
  520. package/dist/react-native/classic/senderUsernames/index.js +17 -0
  521. package/dist/react-native/classic/senderUsernames/index.js.map +1 -0
  522. package/dist/react-native/classic/smtpUsernames/index.d.ts +22 -0
  523. package/dist/react-native/classic/smtpUsernames/index.js +17 -0
  524. package/dist/react-native/classic/smtpUsernames/index.js.map +1 -0
  525. package/dist/react-native/classic/suppressionListAddresses/index.d.ts +22 -0
  526. package/dist/react-native/classic/suppressionListAddresses/index.js +17 -0
  527. package/dist/react-native/classic/suppressionListAddresses/index.js.map +1 -0
  528. package/dist/react-native/classic/suppressionLists/index.d.ts +22 -0
  529. package/dist/react-native/classic/suppressionLists/index.js +17 -0
  530. package/dist/react-native/classic/suppressionLists/index.js.map +1 -0
  531. package/dist/react-native/communicationServiceManagementClient.d.ts +34 -25
  532. package/dist/react-native/communicationServiceManagementClient.js +46 -108
  533. package/dist/react-native/communicationServiceManagementClient.js.map +1 -1
  534. package/dist/react-native/index.d.ts +21 -3
  535. package/dist/react-native/index.js +4 -6
  536. package/dist/react-native/index.js.map +1 -1
  537. package/dist/react-native/logger.d.ts +2 -0
  538. package/dist/react-native/logger.js +5 -0
  539. package/dist/react-native/logger.js.map +1 -0
  540. package/dist/react-native/models/index.d.ts +2 -1267
  541. package/dist/react-native/models/index.js +1 -194
  542. package/dist/react-native/models/index.js.map +1 -1
  543. package/dist/react-native/models/models.d.ts +991 -0
  544. package/dist/react-native/models/models.js +979 -0
  545. package/dist/react-native/models/models.js.map +1 -0
  546. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  547. package/dist/react-native/restorePollerHelpers.js +111 -0
  548. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  549. package/dist/react-native/static-helpers/cloudSettingHelpers.d.ts +22 -0
  550. package/dist/react-native/static-helpers/cloudSettingHelpers.js +38 -0
  551. package/dist/react-native/static-helpers/cloudSettingHelpers.js.map +1 -0
  552. package/dist/react-native/static-helpers/pagingHelpers.d.ts +74 -0
  553. package/dist/react-native/static-helpers/pagingHelpers.js +143 -0
  554. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  555. package/dist/react-native/static-helpers/pollingHelpers.d.ts +34 -0
  556. package/dist/react-native/static-helpers/pollingHelpers.js +95 -0
  557. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  558. package/dist/react-native/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  559. package/dist/react-native/static-helpers/serialization/check-prop-undefined.js +17 -0
  560. package/dist/react-native/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  561. package/dist/react-native/static-helpers/simplePollerHelpers.d.ts +73 -0
  562. package/dist/react-native/static-helpers/simplePollerHelpers.js +44 -0
  563. package/dist/react-native/static-helpers/simplePollerHelpers.js.map +1 -0
  564. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  565. package/dist/react-native/static-helpers/urlTemplate.js +200 -0
  566. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  567. package/package.json +267 -95
  568. package/dist/browser/communicationServiceManagementClient.d.ts.map +0 -1
  569. package/dist/browser/index.d.ts.map +0 -1
  570. package/dist/browser/lroImpl.d.ts +0 -11
  571. package/dist/browser/lroImpl.d.ts.map +0 -1
  572. package/dist/browser/lroImpl.js +0 -20
  573. package/dist/browser/lroImpl.js.map +0 -1
  574. package/dist/browser/models/index.d.ts.map +0 -1
  575. package/dist/browser/models/mappers.d.ts +0 -56
  576. package/dist/browser/models/mappers.d.ts.map +0 -1
  577. package/dist/browser/models/mappers.js +0 -1452
  578. package/dist/browser/models/mappers.js.map +0 -1
  579. package/dist/browser/models/parameters.d.ts +0 -31
  580. package/dist/browser/models/parameters.d.ts.map +0 -1
  581. package/dist/browser/models/parameters.js +0 -257
  582. package/dist/browser/models/parameters.js.map +0 -1
  583. package/dist/browser/operations/communicationServices.d.ts +0 -128
  584. package/dist/browser/operations/communicationServices.d.ts.map +0 -1
  585. package/dist/browser/operations/communicationServices.js +0 -571
  586. package/dist/browser/operations/communicationServices.js.map +0 -1
  587. package/dist/browser/operations/domains.d.ts +0 -138
  588. package/dist/browser/operations/domains.d.ts.map +0 -1
  589. package/dist/browser/operations/domains.js +0 -647
  590. package/dist/browser/operations/domains.js.map +0 -1
  591. package/dist/browser/operations/emailServices.d.ts +0 -112
  592. package/dist/browser/operations/emailServices.d.ts.map +0 -1
  593. package/dist/browser/operations/emailServices.js +0 -527
  594. package/dist/browser/operations/emailServices.js.map +0 -1
  595. package/dist/browser/operations/index.d.ts +0 -9
  596. package/dist/browser/operations/index.d.ts.map +0 -1
  597. package/dist/browser/operations/index.js +0 -13
  598. package/dist/browser/operations/index.js.map +0 -1
  599. package/dist/browser/operations/operations.d.ts +0 -32
  600. package/dist/browser/operations/operations.d.ts.map +0 -1
  601. package/dist/browser/operations/operations.js +0 -111
  602. package/dist/browser/operations/operations.js.map +0 -1
  603. package/dist/browser/operations/senderUsernames.d.ts +0 -70
  604. package/dist/browser/operations/senderUsernames.d.ts.map +0 -1
  605. package/dist/browser/operations/senderUsernames.js +0 -260
  606. package/dist/browser/operations/senderUsernames.js.map +0 -1
  607. package/dist/browser/operations/smtpUsernames.d.ts +0 -63
  608. package/dist/browser/operations/smtpUsernames.d.ts.map +0 -1
  609. package/dist/browser/operations/smtpUsernames.js +0 -235
  610. package/dist/browser/operations/smtpUsernames.js.map +0 -1
  611. package/dist/browser/operations/suppressionListAddresses.d.ts +0 -75
  612. package/dist/browser/operations/suppressionListAddresses.d.ts.map +0 -1
  613. package/dist/browser/operations/suppressionListAddresses.js +0 -286
  614. package/dist/browser/operations/suppressionListAddresses.js.map +0 -1
  615. package/dist/browser/operations/suppressionLists.d.ts +0 -70
  616. package/dist/browser/operations/suppressionLists.d.ts.map +0 -1
  617. package/dist/browser/operations/suppressionLists.js +0 -260
  618. package/dist/browser/operations/suppressionLists.js.map +0 -1
  619. package/dist/browser/operationsInterfaces/communicationServices.d.ts +0 -92
  620. package/dist/browser/operationsInterfaces/communicationServices.d.ts.map +0 -1
  621. package/dist/browser/operationsInterfaces/communicationServices.js +0 -4
  622. package/dist/browser/operationsInterfaces/communicationServices.js.map +0 -1
  623. package/dist/browser/operationsInterfaces/domains.d.ts +0 -112
  624. package/dist/browser/operationsInterfaces/domains.d.ts.map +0 -1
  625. package/dist/browser/operationsInterfaces/domains.js +0 -4
  626. package/dist/browser/operationsInterfaces/domains.js.map +0 -1
  627. package/dist/browser/operationsInterfaces/emailServices.d.ts +0 -76
  628. package/dist/browser/operationsInterfaces/emailServices.d.ts.map +0 -1
  629. package/dist/browser/operationsInterfaces/emailServices.js +0 -4
  630. package/dist/browser/operationsInterfaces/emailServices.js.map +0 -1
  631. package/dist/browser/operationsInterfaces/index.d.ts +0 -9
  632. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  633. package/dist/browser/operationsInterfaces/index.js +0 -13
  634. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  635. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  636. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  637. package/dist/browser/operationsInterfaces/operations.js +0 -4
  638. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  639. package/dist/browser/operationsInterfaces/senderUsernames.d.ts +0 -43
  640. package/dist/browser/operationsInterfaces/senderUsernames.d.ts.map +0 -1
  641. package/dist/browser/operationsInterfaces/senderUsernames.js +0 -4
  642. package/dist/browser/operationsInterfaces/senderUsernames.js.map +0 -1
  643. package/dist/browser/operationsInterfaces/smtpUsernames.d.ts +0 -38
  644. package/dist/browser/operationsInterfaces/smtpUsernames.d.ts.map +0 -1
  645. package/dist/browser/operationsInterfaces/smtpUsernames.js +0 -4
  646. package/dist/browser/operationsInterfaces/smtpUsernames.js.map +0 -1
  647. package/dist/browser/operationsInterfaces/suppressionListAddresses.d.ts +0 -46
  648. package/dist/browser/operationsInterfaces/suppressionListAddresses.d.ts.map +0 -1
  649. package/dist/browser/operationsInterfaces/suppressionListAddresses.js +0 -4
  650. package/dist/browser/operationsInterfaces/suppressionListAddresses.js.map +0 -1
  651. package/dist/browser/operationsInterfaces/suppressionLists.d.ts +0 -43
  652. package/dist/browser/operationsInterfaces/suppressionLists.d.ts.map +0 -1
  653. package/dist/browser/operationsInterfaces/suppressionLists.js +0 -4
  654. package/dist/browser/operationsInterfaces/suppressionLists.js.map +0 -1
  655. package/dist/browser/pagingHelper.d.ts +0 -13
  656. package/dist/browser/pagingHelper.d.ts.map +0 -1
  657. package/dist/browser/pagingHelper.js +0 -25
  658. package/dist/browser/pagingHelper.js.map +0 -1
  659. package/dist/commonjs/communicationServiceManagementClient.d.ts.map +0 -1
  660. package/dist/commonjs/index.d.ts.map +0 -1
  661. package/dist/commonjs/lroImpl.d.ts +0 -11
  662. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  663. package/dist/commonjs/lroImpl.js +0 -23
  664. package/dist/commonjs/lroImpl.js.map +0 -1
  665. package/dist/commonjs/models/index.d.ts.map +0 -1
  666. package/dist/commonjs/models/mappers.d.ts +0 -56
  667. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  668. package/dist/commonjs/models/mappers.js +0 -1456
  669. package/dist/commonjs/models/mappers.js.map +0 -1
  670. package/dist/commonjs/models/parameters.d.ts +0 -31
  671. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  672. package/dist/commonjs/models/parameters.js +0 -260
  673. package/dist/commonjs/models/parameters.js.map +0 -1
  674. package/dist/commonjs/operations/communicationServices.d.ts +0 -128
  675. package/dist/commonjs/operations/communicationServices.d.ts.map +0 -1
  676. package/dist/commonjs/operations/communicationServices.js +0 -576
  677. package/dist/commonjs/operations/communicationServices.js.map +0 -1
  678. package/dist/commonjs/operations/domains.d.ts +0 -138
  679. package/dist/commonjs/operations/domains.d.ts.map +0 -1
  680. package/dist/commonjs/operations/domains.js +0 -652
  681. package/dist/commonjs/operations/domains.js.map +0 -1
  682. package/dist/commonjs/operations/emailServices.d.ts +0 -112
  683. package/dist/commonjs/operations/emailServices.d.ts.map +0 -1
  684. package/dist/commonjs/operations/emailServices.js +0 -532
  685. package/dist/commonjs/operations/emailServices.js.map +0 -1
  686. package/dist/commonjs/operations/index.d.ts +0 -9
  687. package/dist/commonjs/operations/index.d.ts.map +0 -1
  688. package/dist/commonjs/operations/index.js +0 -16
  689. package/dist/commonjs/operations/index.js.map +0 -1
  690. package/dist/commonjs/operations/operations.d.ts +0 -32
  691. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  692. package/dist/commonjs/operations/operations.js +0 -116
  693. package/dist/commonjs/operations/operations.js.map +0 -1
  694. package/dist/commonjs/operations/senderUsernames.d.ts +0 -70
  695. package/dist/commonjs/operations/senderUsernames.d.ts.map +0 -1
  696. package/dist/commonjs/operations/senderUsernames.js +0 -265
  697. package/dist/commonjs/operations/senderUsernames.js.map +0 -1
  698. package/dist/commonjs/operations/smtpUsernames.d.ts +0 -63
  699. package/dist/commonjs/operations/smtpUsernames.d.ts.map +0 -1
  700. package/dist/commonjs/operations/smtpUsernames.js +0 -240
  701. package/dist/commonjs/operations/smtpUsernames.js.map +0 -1
  702. package/dist/commonjs/operations/suppressionListAddresses.d.ts +0 -75
  703. package/dist/commonjs/operations/suppressionListAddresses.d.ts.map +0 -1
  704. package/dist/commonjs/operations/suppressionListAddresses.js +0 -291
  705. package/dist/commonjs/operations/suppressionListAddresses.js.map +0 -1
  706. package/dist/commonjs/operations/suppressionLists.d.ts +0 -70
  707. package/dist/commonjs/operations/suppressionLists.d.ts.map +0 -1
  708. package/dist/commonjs/operations/suppressionLists.js +0 -265
  709. package/dist/commonjs/operations/suppressionLists.js.map +0 -1
  710. package/dist/commonjs/operationsInterfaces/communicationServices.d.ts +0 -92
  711. package/dist/commonjs/operationsInterfaces/communicationServices.d.ts.map +0 -1
  712. package/dist/commonjs/operationsInterfaces/communicationServices.js +0 -5
  713. package/dist/commonjs/operationsInterfaces/communicationServices.js.map +0 -1
  714. package/dist/commonjs/operationsInterfaces/domains.d.ts +0 -112
  715. package/dist/commonjs/operationsInterfaces/domains.d.ts.map +0 -1
  716. package/dist/commonjs/operationsInterfaces/domains.js +0 -5
  717. package/dist/commonjs/operationsInterfaces/domains.js.map +0 -1
  718. package/dist/commonjs/operationsInterfaces/emailServices.d.ts +0 -76
  719. package/dist/commonjs/operationsInterfaces/emailServices.d.ts.map +0 -1
  720. package/dist/commonjs/operationsInterfaces/emailServices.js +0 -5
  721. package/dist/commonjs/operationsInterfaces/emailServices.js.map +0 -1
  722. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -9
  723. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  724. package/dist/commonjs/operationsInterfaces/index.js +0 -16
  725. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  726. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  727. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  728. package/dist/commonjs/operationsInterfaces/operations.js +0 -5
  729. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  730. package/dist/commonjs/operationsInterfaces/senderUsernames.d.ts +0 -43
  731. package/dist/commonjs/operationsInterfaces/senderUsernames.d.ts.map +0 -1
  732. package/dist/commonjs/operationsInterfaces/senderUsernames.js +0 -5
  733. package/dist/commonjs/operationsInterfaces/senderUsernames.js.map +0 -1
  734. package/dist/commonjs/operationsInterfaces/smtpUsernames.d.ts +0 -38
  735. package/dist/commonjs/operationsInterfaces/smtpUsernames.d.ts.map +0 -1
  736. package/dist/commonjs/operationsInterfaces/smtpUsernames.js +0 -5
  737. package/dist/commonjs/operationsInterfaces/smtpUsernames.js.map +0 -1
  738. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.d.ts +0 -46
  739. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.d.ts.map +0 -1
  740. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.js +0 -5
  741. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.js.map +0 -1
  742. package/dist/commonjs/operationsInterfaces/suppressionLists.d.ts +0 -43
  743. package/dist/commonjs/operationsInterfaces/suppressionLists.d.ts.map +0 -1
  744. package/dist/commonjs/operationsInterfaces/suppressionLists.js +0 -5
  745. package/dist/commonjs/operationsInterfaces/suppressionLists.js.map +0 -1
  746. package/dist/commonjs/pagingHelper.d.ts +0 -13
  747. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  748. package/dist/commonjs/pagingHelper.js +0 -29
  749. package/dist/commonjs/pagingHelper.js.map +0 -1
  750. package/dist/esm/communicationServiceManagementClient.d.ts.map +0 -1
  751. package/dist/esm/index.d.ts.map +0 -1
  752. package/dist/esm/lroImpl.d.ts +0 -11
  753. package/dist/esm/lroImpl.d.ts.map +0 -1
  754. package/dist/esm/lroImpl.js +0 -20
  755. package/dist/esm/lroImpl.js.map +0 -1
  756. package/dist/esm/models/index.d.ts.map +0 -1
  757. package/dist/esm/models/mappers.d.ts +0 -56
  758. package/dist/esm/models/mappers.d.ts.map +0 -1
  759. package/dist/esm/models/mappers.js +0 -1452
  760. package/dist/esm/models/mappers.js.map +0 -1
  761. package/dist/esm/models/parameters.d.ts +0 -31
  762. package/dist/esm/models/parameters.d.ts.map +0 -1
  763. package/dist/esm/models/parameters.js +0 -257
  764. package/dist/esm/models/parameters.js.map +0 -1
  765. package/dist/esm/operations/communicationServices.d.ts +0 -128
  766. package/dist/esm/operations/communicationServices.d.ts.map +0 -1
  767. package/dist/esm/operations/communicationServices.js +0 -571
  768. package/dist/esm/operations/communicationServices.js.map +0 -1
  769. package/dist/esm/operations/domains.d.ts +0 -138
  770. package/dist/esm/operations/domains.d.ts.map +0 -1
  771. package/dist/esm/operations/domains.js +0 -647
  772. package/dist/esm/operations/domains.js.map +0 -1
  773. package/dist/esm/operations/emailServices.d.ts +0 -112
  774. package/dist/esm/operations/emailServices.d.ts.map +0 -1
  775. package/dist/esm/operations/emailServices.js +0 -527
  776. package/dist/esm/operations/emailServices.js.map +0 -1
  777. package/dist/esm/operations/index.d.ts +0 -9
  778. package/dist/esm/operations/index.d.ts.map +0 -1
  779. package/dist/esm/operations/index.js +0 -13
  780. package/dist/esm/operations/index.js.map +0 -1
  781. package/dist/esm/operations/operations.d.ts +0 -32
  782. package/dist/esm/operations/operations.d.ts.map +0 -1
  783. package/dist/esm/operations/operations.js +0 -111
  784. package/dist/esm/operations/operations.js.map +0 -1
  785. package/dist/esm/operations/senderUsernames.d.ts +0 -70
  786. package/dist/esm/operations/senderUsernames.d.ts.map +0 -1
  787. package/dist/esm/operations/senderUsernames.js +0 -260
  788. package/dist/esm/operations/senderUsernames.js.map +0 -1
  789. package/dist/esm/operations/smtpUsernames.d.ts +0 -63
  790. package/dist/esm/operations/smtpUsernames.d.ts.map +0 -1
  791. package/dist/esm/operations/smtpUsernames.js +0 -235
  792. package/dist/esm/operations/smtpUsernames.js.map +0 -1
  793. package/dist/esm/operations/suppressionListAddresses.d.ts +0 -75
  794. package/dist/esm/operations/suppressionListAddresses.d.ts.map +0 -1
  795. package/dist/esm/operations/suppressionListAddresses.js +0 -286
  796. package/dist/esm/operations/suppressionListAddresses.js.map +0 -1
  797. package/dist/esm/operations/suppressionLists.d.ts +0 -70
  798. package/dist/esm/operations/suppressionLists.d.ts.map +0 -1
  799. package/dist/esm/operations/suppressionLists.js +0 -260
  800. package/dist/esm/operations/suppressionLists.js.map +0 -1
  801. package/dist/esm/operationsInterfaces/communicationServices.d.ts +0 -92
  802. package/dist/esm/operationsInterfaces/communicationServices.d.ts.map +0 -1
  803. package/dist/esm/operationsInterfaces/communicationServices.js +0 -4
  804. package/dist/esm/operationsInterfaces/communicationServices.js.map +0 -1
  805. package/dist/esm/operationsInterfaces/domains.d.ts +0 -112
  806. package/dist/esm/operationsInterfaces/domains.d.ts.map +0 -1
  807. package/dist/esm/operationsInterfaces/domains.js +0 -4
  808. package/dist/esm/operationsInterfaces/domains.js.map +0 -1
  809. package/dist/esm/operationsInterfaces/emailServices.d.ts +0 -76
  810. package/dist/esm/operationsInterfaces/emailServices.d.ts.map +0 -1
  811. package/dist/esm/operationsInterfaces/emailServices.js +0 -4
  812. package/dist/esm/operationsInterfaces/emailServices.js.map +0 -1
  813. package/dist/esm/operationsInterfaces/index.d.ts +0 -9
  814. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  815. package/dist/esm/operationsInterfaces/index.js +0 -13
  816. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  817. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  818. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  819. package/dist/esm/operationsInterfaces/operations.js +0 -4
  820. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  821. package/dist/esm/operationsInterfaces/senderUsernames.d.ts +0 -43
  822. package/dist/esm/operationsInterfaces/senderUsernames.d.ts.map +0 -1
  823. package/dist/esm/operationsInterfaces/senderUsernames.js +0 -4
  824. package/dist/esm/operationsInterfaces/senderUsernames.js.map +0 -1
  825. package/dist/esm/operationsInterfaces/smtpUsernames.d.ts +0 -38
  826. package/dist/esm/operationsInterfaces/smtpUsernames.d.ts.map +0 -1
  827. package/dist/esm/operationsInterfaces/smtpUsernames.js +0 -4
  828. package/dist/esm/operationsInterfaces/smtpUsernames.js.map +0 -1
  829. package/dist/esm/operationsInterfaces/suppressionListAddresses.d.ts +0 -46
  830. package/dist/esm/operationsInterfaces/suppressionListAddresses.d.ts.map +0 -1
  831. package/dist/esm/operationsInterfaces/suppressionListAddresses.js +0 -4
  832. package/dist/esm/operationsInterfaces/suppressionListAddresses.js.map +0 -1
  833. package/dist/esm/operationsInterfaces/suppressionLists.d.ts +0 -43
  834. package/dist/esm/operationsInterfaces/suppressionLists.d.ts.map +0 -1
  835. package/dist/esm/operationsInterfaces/suppressionLists.js +0 -4
  836. package/dist/esm/operationsInterfaces/suppressionLists.js.map +0 -1
  837. package/dist/esm/pagingHelper.d.ts +0 -13
  838. package/dist/esm/pagingHelper.d.ts.map +0 -1
  839. package/dist/esm/pagingHelper.js +0 -25
  840. package/dist/esm/pagingHelper.js.map +0 -1
  841. package/dist/react-native/communicationServiceManagementClient.d.ts.map +0 -1
  842. package/dist/react-native/index.d.ts.map +0 -1
  843. package/dist/react-native/lroImpl.d.ts +0 -11
  844. package/dist/react-native/lroImpl.d.ts.map +0 -1
  845. package/dist/react-native/lroImpl.js +0 -20
  846. package/dist/react-native/lroImpl.js.map +0 -1
  847. package/dist/react-native/models/index.d.ts.map +0 -1
  848. package/dist/react-native/models/mappers.d.ts +0 -56
  849. package/dist/react-native/models/mappers.d.ts.map +0 -1
  850. package/dist/react-native/models/mappers.js +0 -1452
  851. package/dist/react-native/models/mappers.js.map +0 -1
  852. package/dist/react-native/models/parameters.d.ts +0 -31
  853. package/dist/react-native/models/parameters.d.ts.map +0 -1
  854. package/dist/react-native/models/parameters.js +0 -257
  855. package/dist/react-native/models/parameters.js.map +0 -1
  856. package/dist/react-native/operations/communicationServices.d.ts +0 -128
  857. package/dist/react-native/operations/communicationServices.d.ts.map +0 -1
  858. package/dist/react-native/operations/communicationServices.js +0 -571
  859. package/dist/react-native/operations/communicationServices.js.map +0 -1
  860. package/dist/react-native/operations/domains.d.ts +0 -138
  861. package/dist/react-native/operations/domains.d.ts.map +0 -1
  862. package/dist/react-native/operations/domains.js +0 -647
  863. package/dist/react-native/operations/domains.js.map +0 -1
  864. package/dist/react-native/operations/emailServices.d.ts +0 -112
  865. package/dist/react-native/operations/emailServices.d.ts.map +0 -1
  866. package/dist/react-native/operations/emailServices.js +0 -527
  867. package/dist/react-native/operations/emailServices.js.map +0 -1
  868. package/dist/react-native/operations/index.d.ts +0 -9
  869. package/dist/react-native/operations/index.d.ts.map +0 -1
  870. package/dist/react-native/operations/index.js +0 -13
  871. package/dist/react-native/operations/index.js.map +0 -1
  872. package/dist/react-native/operations/operations.d.ts +0 -32
  873. package/dist/react-native/operations/operations.d.ts.map +0 -1
  874. package/dist/react-native/operations/operations.js +0 -111
  875. package/dist/react-native/operations/operations.js.map +0 -1
  876. package/dist/react-native/operations/senderUsernames.d.ts +0 -70
  877. package/dist/react-native/operations/senderUsernames.d.ts.map +0 -1
  878. package/dist/react-native/operations/senderUsernames.js +0 -260
  879. package/dist/react-native/operations/senderUsernames.js.map +0 -1
  880. package/dist/react-native/operations/smtpUsernames.d.ts +0 -63
  881. package/dist/react-native/operations/smtpUsernames.d.ts.map +0 -1
  882. package/dist/react-native/operations/smtpUsernames.js +0 -235
  883. package/dist/react-native/operations/smtpUsernames.js.map +0 -1
  884. package/dist/react-native/operations/suppressionListAddresses.d.ts +0 -75
  885. package/dist/react-native/operations/suppressionListAddresses.d.ts.map +0 -1
  886. package/dist/react-native/operations/suppressionListAddresses.js +0 -286
  887. package/dist/react-native/operations/suppressionListAddresses.js.map +0 -1
  888. package/dist/react-native/operations/suppressionLists.d.ts +0 -70
  889. package/dist/react-native/operations/suppressionLists.d.ts.map +0 -1
  890. package/dist/react-native/operations/suppressionLists.js +0 -260
  891. package/dist/react-native/operations/suppressionLists.js.map +0 -1
  892. package/dist/react-native/operationsInterfaces/communicationServices.d.ts +0 -92
  893. package/dist/react-native/operationsInterfaces/communicationServices.d.ts.map +0 -1
  894. package/dist/react-native/operationsInterfaces/communicationServices.js +0 -4
  895. package/dist/react-native/operationsInterfaces/communicationServices.js.map +0 -1
  896. package/dist/react-native/operationsInterfaces/domains.d.ts +0 -112
  897. package/dist/react-native/operationsInterfaces/domains.d.ts.map +0 -1
  898. package/dist/react-native/operationsInterfaces/domains.js +0 -4
  899. package/dist/react-native/operationsInterfaces/domains.js.map +0 -1
  900. package/dist/react-native/operationsInterfaces/emailServices.d.ts +0 -76
  901. package/dist/react-native/operationsInterfaces/emailServices.d.ts.map +0 -1
  902. package/dist/react-native/operationsInterfaces/emailServices.js +0 -4
  903. package/dist/react-native/operationsInterfaces/emailServices.js.map +0 -1
  904. package/dist/react-native/operationsInterfaces/index.d.ts +0 -9
  905. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  906. package/dist/react-native/operationsInterfaces/index.js +0 -13
  907. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  908. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  909. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  910. package/dist/react-native/operationsInterfaces/operations.js +0 -4
  911. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  912. package/dist/react-native/operationsInterfaces/senderUsernames.d.ts +0 -43
  913. package/dist/react-native/operationsInterfaces/senderUsernames.d.ts.map +0 -1
  914. package/dist/react-native/operationsInterfaces/senderUsernames.js +0 -4
  915. package/dist/react-native/operationsInterfaces/senderUsernames.js.map +0 -1
  916. package/dist/react-native/operationsInterfaces/smtpUsernames.d.ts +0 -38
  917. package/dist/react-native/operationsInterfaces/smtpUsernames.d.ts.map +0 -1
  918. package/dist/react-native/operationsInterfaces/smtpUsernames.js +0 -4
  919. package/dist/react-native/operationsInterfaces/smtpUsernames.js.map +0 -1
  920. package/dist/react-native/operationsInterfaces/suppressionListAddresses.d.ts +0 -46
  921. package/dist/react-native/operationsInterfaces/suppressionListAddresses.d.ts.map +0 -1
  922. package/dist/react-native/operationsInterfaces/suppressionListAddresses.js +0 -4
  923. package/dist/react-native/operationsInterfaces/suppressionListAddresses.js.map +0 -1
  924. package/dist/react-native/operationsInterfaces/suppressionLists.d.ts +0 -43
  925. package/dist/react-native/operationsInterfaces/suppressionLists.d.ts.map +0 -1
  926. package/dist/react-native/operationsInterfaces/suppressionLists.js +0 -4
  927. package/dist/react-native/operationsInterfaces/suppressionLists.js.map +0 -1
  928. package/dist/react-native/pagingHelper.d.ts +0 -13
  929. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  930. package/dist/react-native/pagingHelper.js +0 -25
  931. package/dist/react-native/pagingHelper.js.map +0 -1
@@ -1,571 +0,0 @@
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
- import { createHttpPoller } from "@azure/core-lro";
8
- import { createLroSpec } from "../lroImpl.js";
9
- /// <reference lib="esnext.asynciterable" />
10
- /** Class containing CommunicationServices operations. */
11
- export class CommunicationServicesImpl {
12
- client;
13
- /**
14
- * Initialize a new instance of the class CommunicationServices class.
15
- * @param client Reference to the service client
16
- */
17
- constructor(client) {
18
- this.client = client;
19
- }
20
- /**
21
- * Handles requests to list all resources in a subscription.
22
- * @param options The options parameters.
23
- */
24
- listBySubscription(options) {
25
- const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);
38
- },
39
- };
40
- }
41
- async *listBySubscriptionPagingPage(options, settings) {
42
- let result;
43
- let continuationToken = settings?.continuationToken;
44
- if (!continuationToken) {
45
- result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);
53
- continuationToken = result.nextLink;
54
- const page = result.value || [];
55
- setContinuationToken(page, continuationToken);
56
- yield page;
57
- }
58
- }
59
- async *listBySubscriptionPagingAll(options) {
60
- for await (const page of this.listBySubscriptionPagingPage(options)) {
61
- yield* page;
62
- }
63
- }
64
- /**
65
- * Handles requests to list all resources in a resource group.
66
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
67
- * @param options The options parameters.
68
- */
69
- listByResourceGroup(resourceGroupName, options) {
70
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
71
- return {
72
- next() {
73
- return iter.next();
74
- },
75
- [Symbol.asyncIterator]() {
76
- return this;
77
- },
78
- byPage: (settings) => {
79
- if (settings?.maxPageSize) {
80
- throw new Error("maxPageSize is not supported by this operation.");
81
- }
82
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
83
- },
84
- };
85
- }
86
- async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
87
- let result;
88
- let continuationToken = settings?.continuationToken;
89
- if (!continuationToken) {
90
- result = await this._listByResourceGroup(resourceGroupName, options);
91
- const page = result.value || [];
92
- continuationToken = result.nextLink;
93
- setContinuationToken(page, continuationToken);
94
- yield page;
95
- }
96
- while (continuationToken) {
97
- result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
98
- continuationToken = result.nextLink;
99
- const page = result.value || [];
100
- setContinuationToken(page, continuationToken);
101
- yield page;
102
- }
103
- }
104
- async *listByResourceGroupPagingAll(resourceGroupName, options) {
105
- for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
106
- yield* page;
107
- }
108
- }
109
- /**
110
- * Checks that the CommunicationService name is valid and is not already in use.
111
- * @param nameAvailabilityParameters Parameters supplied to the operation.
112
- * @param options The options parameters.
113
- */
114
- checkNameAvailability(nameAvailabilityParameters, options) {
115
- return this.client.sendOperationRequest({ nameAvailabilityParameters, options }, checkNameAvailabilityOperationSpec);
116
- }
117
- /**
118
- * Links an Azure Notification Hub to this communication service.
119
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
- * @param communicationServiceName The name of the CommunicationService resource.
121
- * @param options The options parameters.
122
- */
123
- linkNotificationHub(resourceGroupName, communicationServiceName, options) {
124
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, options }, linkNotificationHubOperationSpec);
125
- }
126
- /**
127
- * Handles requests to list all resources in a subscription.
128
- * @param options The options parameters.
129
- */
130
- _listBySubscription(options) {
131
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
132
- }
133
- /**
134
- * Handles requests to list all resources in a resource group.
135
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
136
- * @param options The options parameters.
137
- */
138
- _listByResourceGroup(resourceGroupName, options) {
139
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
140
- }
141
- /**
142
- * Operation to update an existing CommunicationService.
143
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
144
- * @param communicationServiceName The name of the CommunicationService resource.
145
- * @param parameters Parameters for the update operation
146
- * @param options The options parameters.
147
- */
148
- update(resourceGroupName, communicationServiceName, parameters, options) {
149
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, parameters, options }, updateOperationSpec);
150
- }
151
- /**
152
- * Get the CommunicationService and its properties.
153
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
154
- * @param communicationServiceName The name of the CommunicationService resource.
155
- * @param options The options parameters.
156
- */
157
- get(resourceGroupName, communicationServiceName, options) {
158
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, options }, getOperationSpec);
159
- }
160
- /**
161
- * Create a new CommunicationService or update an existing CommunicationService.
162
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
163
- * @param communicationServiceName The name of the CommunicationService resource.
164
- * @param parameters Parameters for the create or update operation
165
- * @param options The options parameters.
166
- */
167
- async beginCreateOrUpdate(resourceGroupName, communicationServiceName, parameters, options) {
168
- const directSendOperation = async (args, spec) => {
169
- return this.client.sendOperationRequest(args, spec);
170
- };
171
- const sendOperationFn = async (args, spec) => {
172
- let currentRawResponse = undefined;
173
- const providedCallback = args.options?.onResponse;
174
- const callback = (rawResponse, flatResponse) => {
175
- currentRawResponse = rawResponse;
176
- providedCallback?.(rawResponse, flatResponse);
177
- };
178
- const updatedArgs = {
179
- ...args,
180
- options: {
181
- ...args.options,
182
- onResponse: callback,
183
- },
184
- };
185
- const flatResponse = await directSendOperation(updatedArgs, spec);
186
- return {
187
- flatResponse,
188
- rawResponse: {
189
- statusCode: currentRawResponse.status,
190
- body: currentRawResponse.parsedBody,
191
- headers: currentRawResponse.headers.toJSON(),
192
- },
193
- };
194
- };
195
- const lro = createLroSpec({
196
- sendOperationFn,
197
- args: {
198
- resourceGroupName,
199
- communicationServiceName,
200
- parameters,
201
- options,
202
- },
203
- spec: createOrUpdateOperationSpec,
204
- });
205
- const poller = await createHttpPoller(lro, {
206
- restoreFrom: options?.resumeFrom,
207
- intervalInMs: options?.updateIntervalInMs,
208
- resourceLocationConfig: "azure-async-operation",
209
- });
210
- await poller.poll();
211
- return poller;
212
- }
213
- /**
214
- * Create a new CommunicationService or update an existing CommunicationService.
215
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
216
- * @param communicationServiceName The name of the CommunicationService resource.
217
- * @param parameters Parameters for the create or update operation
218
- * @param options The options parameters.
219
- */
220
- async beginCreateOrUpdateAndWait(resourceGroupName, communicationServiceName, parameters, options) {
221
- const poller = await this.beginCreateOrUpdate(resourceGroupName, communicationServiceName, parameters, options);
222
- return poller.pollUntilDone();
223
- }
224
- /**
225
- * Operation to delete a CommunicationService.
226
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
227
- * @param communicationServiceName The name of the CommunicationService resource.
228
- * @param options The options parameters.
229
- */
230
- async beginDelete(resourceGroupName, communicationServiceName, options) {
231
- const directSendOperation = async (args, spec) => {
232
- return this.client.sendOperationRequest(args, spec);
233
- };
234
- const sendOperationFn = async (args, spec) => {
235
- let currentRawResponse = undefined;
236
- const providedCallback = args.options?.onResponse;
237
- const callback = (rawResponse, flatResponse) => {
238
- currentRawResponse = rawResponse;
239
- providedCallback?.(rawResponse, flatResponse);
240
- };
241
- const updatedArgs = {
242
- ...args,
243
- options: {
244
- ...args.options,
245
- onResponse: callback,
246
- },
247
- };
248
- const flatResponse = await directSendOperation(updatedArgs, spec);
249
- return {
250
- flatResponse,
251
- rawResponse: {
252
- statusCode: currentRawResponse.status,
253
- body: currentRawResponse.parsedBody,
254
- headers: currentRawResponse.headers.toJSON(),
255
- },
256
- };
257
- };
258
- const lro = createLroSpec({
259
- sendOperationFn,
260
- args: { resourceGroupName, communicationServiceName, options },
261
- spec: deleteOperationSpec,
262
- });
263
- const poller = await createHttpPoller(lro, {
264
- restoreFrom: options?.resumeFrom,
265
- intervalInMs: options?.updateIntervalInMs,
266
- resourceLocationConfig: "location",
267
- });
268
- await poller.poll();
269
- return poller;
270
- }
271
- /**
272
- * Operation to delete a CommunicationService.
273
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
274
- * @param communicationServiceName The name of the CommunicationService resource.
275
- * @param options The options parameters.
276
- */
277
- async beginDeleteAndWait(resourceGroupName, communicationServiceName, options) {
278
- const poller = await this.beginDelete(resourceGroupName, communicationServiceName, options);
279
- return poller.pollUntilDone();
280
- }
281
- /**
282
- * Get the access keys of the CommunicationService resource.
283
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
284
- * @param communicationServiceName The name of the CommunicationService resource.
285
- * @param options The options parameters.
286
- */
287
- listKeys(resourceGroupName, communicationServiceName, options) {
288
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, options }, listKeysOperationSpec);
289
- }
290
- /**
291
- * Regenerate CommunicationService access key. PrimaryKey and SecondaryKey cannot be regenerated at the
292
- * same time.
293
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
294
- * @param communicationServiceName The name of the CommunicationService resource.
295
- * @param parameters Parameter that describes the Regenerate Key Operation.
296
- * @param options The options parameters.
297
- */
298
- regenerateKey(resourceGroupName, communicationServiceName, parameters, options) {
299
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, parameters, options }, regenerateKeyOperationSpec);
300
- }
301
- /**
302
- * ListBySubscriptionNext
303
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
304
- * @param options The options parameters.
305
- */
306
- _listBySubscriptionNext(nextLink, options) {
307
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
308
- }
309
- /**
310
- * ListByResourceGroupNext
311
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
312
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
313
- * @param options The options parameters.
314
- */
315
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
316
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
317
- }
318
- }
319
- // Operation Specifications
320
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
321
- const checkNameAvailabilityOperationSpec = {
322
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Communication/checkNameAvailability",
323
- httpMethod: "POST",
324
- responses: {
325
- 200: {
326
- bodyMapper: Mappers.CheckNameAvailabilityResponse,
327
- },
328
- default: {
329
- bodyMapper: Mappers.ErrorResponse,
330
- },
331
- },
332
- requestBody: Parameters.nameAvailabilityParameters,
333
- queryParameters: [Parameters.apiVersion],
334
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
335
- headerParameters: [Parameters.accept, Parameters.contentType],
336
- mediaType: "json",
337
- serializer,
338
- };
339
- const linkNotificationHubOperationSpec = {
340
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/linkNotificationHub",
341
- httpMethod: "POST",
342
- responses: {
343
- 200: {
344
- bodyMapper: Mappers.LinkedNotificationHub,
345
- },
346
- default: {
347
- bodyMapper: Mappers.ErrorResponse,
348
- },
349
- },
350
- requestBody: Parameters.linkNotificationHubParameters,
351
- queryParameters: [Parameters.apiVersion],
352
- urlParameters: [
353
- Parameters.$host,
354
- Parameters.subscriptionId,
355
- Parameters.resourceGroupName,
356
- Parameters.communicationServiceName,
357
- ],
358
- headerParameters: [Parameters.accept, Parameters.contentType],
359
- mediaType: "json",
360
- serializer,
361
- };
362
- const listBySubscriptionOperationSpec = {
363
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Communication/communicationServices",
364
- httpMethod: "GET",
365
- responses: {
366
- 200: {
367
- bodyMapper: Mappers.CommunicationServiceResourceList,
368
- },
369
- default: {
370
- bodyMapper: Mappers.ErrorResponse,
371
- },
372
- },
373
- queryParameters: [Parameters.apiVersion],
374
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
375
- headerParameters: [Parameters.accept],
376
- serializer,
377
- };
378
- const listByResourceGroupOperationSpec = {
379
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices",
380
- httpMethod: "GET",
381
- responses: {
382
- 200: {
383
- bodyMapper: Mappers.CommunicationServiceResourceList,
384
- },
385
- default: {
386
- bodyMapper: Mappers.ErrorResponse,
387
- },
388
- },
389
- queryParameters: [Parameters.apiVersion],
390
- urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
391
- headerParameters: [Parameters.accept],
392
- serializer,
393
- };
394
- const updateOperationSpec = {
395
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",
396
- httpMethod: "PATCH",
397
- responses: {
398
- 200: {
399
- bodyMapper: Mappers.CommunicationServiceResource,
400
- },
401
- default: {
402
- bodyMapper: Mappers.ErrorResponse,
403
- },
404
- },
405
- requestBody: Parameters.parameters,
406
- queryParameters: [Parameters.apiVersion],
407
- urlParameters: [
408
- Parameters.$host,
409
- Parameters.subscriptionId,
410
- Parameters.resourceGroupName,
411
- Parameters.communicationServiceName,
412
- ],
413
- headerParameters: [Parameters.accept, Parameters.contentType],
414
- mediaType: "json",
415
- serializer,
416
- };
417
- const getOperationSpec = {
418
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",
419
- httpMethod: "GET",
420
- responses: {
421
- 200: {
422
- bodyMapper: Mappers.CommunicationServiceResource,
423
- },
424
- default: {
425
- bodyMapper: Mappers.ErrorResponse,
426
- },
427
- },
428
- queryParameters: [Parameters.apiVersion],
429
- urlParameters: [
430
- Parameters.$host,
431
- Parameters.subscriptionId,
432
- Parameters.resourceGroupName,
433
- Parameters.communicationServiceName,
434
- ],
435
- headerParameters: [Parameters.accept],
436
- serializer,
437
- };
438
- const createOrUpdateOperationSpec = {
439
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",
440
- httpMethod: "PUT",
441
- responses: {
442
- 200: {
443
- bodyMapper: Mappers.CommunicationServiceResource,
444
- },
445
- 201: {
446
- bodyMapper: Mappers.CommunicationServiceResource,
447
- },
448
- 202: {
449
- bodyMapper: Mappers.CommunicationServiceResource,
450
- },
451
- 204: {
452
- bodyMapper: Mappers.CommunicationServiceResource,
453
- },
454
- default: {
455
- bodyMapper: Mappers.ErrorResponse,
456
- },
457
- },
458
- requestBody: Parameters.parameters1,
459
- queryParameters: [Parameters.apiVersion],
460
- urlParameters: [
461
- Parameters.$host,
462
- Parameters.subscriptionId,
463
- Parameters.resourceGroupName,
464
- Parameters.communicationServiceName,
465
- ],
466
- headerParameters: [Parameters.accept, Parameters.contentType],
467
- mediaType: "json",
468
- serializer,
469
- };
470
- const deleteOperationSpec = {
471
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",
472
- httpMethod: "DELETE",
473
- responses: {
474
- 200: {},
475
- 201: {},
476
- 202: {},
477
- 204: {},
478
- default: {
479
- bodyMapper: Mappers.ErrorResponse,
480
- },
481
- },
482
- queryParameters: [Parameters.apiVersion],
483
- urlParameters: [
484
- Parameters.$host,
485
- Parameters.subscriptionId,
486
- Parameters.resourceGroupName,
487
- Parameters.communicationServiceName,
488
- ],
489
- headerParameters: [Parameters.accept],
490
- serializer,
491
- };
492
- const listKeysOperationSpec = {
493
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/listKeys",
494
- httpMethod: "POST",
495
- responses: {
496
- 200: {
497
- bodyMapper: Mappers.CommunicationServiceKeys,
498
- },
499
- default: {
500
- bodyMapper: Mappers.ErrorResponse,
501
- },
502
- },
503
- queryParameters: [Parameters.apiVersion],
504
- urlParameters: [
505
- Parameters.$host,
506
- Parameters.subscriptionId,
507
- Parameters.resourceGroupName,
508
- Parameters.communicationServiceName,
509
- ],
510
- headerParameters: [Parameters.accept],
511
- serializer,
512
- };
513
- const regenerateKeyOperationSpec = {
514
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey",
515
- httpMethod: "POST",
516
- responses: {
517
- 200: {
518
- bodyMapper: Mappers.CommunicationServiceKeys,
519
- },
520
- default: {
521
- bodyMapper: Mappers.ErrorResponse,
522
- },
523
- },
524
- requestBody: Parameters.parameters2,
525
- queryParameters: [Parameters.apiVersion],
526
- urlParameters: [
527
- Parameters.$host,
528
- Parameters.subscriptionId,
529
- Parameters.resourceGroupName,
530
- Parameters.communicationServiceName,
531
- ],
532
- headerParameters: [Parameters.accept, Parameters.contentType],
533
- mediaType: "json",
534
- serializer,
535
- };
536
- const listBySubscriptionNextOperationSpec = {
537
- path: "{nextLink}",
538
- httpMethod: "GET",
539
- responses: {
540
- 200: {
541
- bodyMapper: Mappers.CommunicationServiceResourceList,
542
- },
543
- default: {
544
- bodyMapper: Mappers.ErrorResponse,
545
- },
546
- },
547
- urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
548
- headerParameters: [Parameters.accept],
549
- serializer,
550
- };
551
- const listByResourceGroupNextOperationSpec = {
552
- path: "{nextLink}",
553
- httpMethod: "GET",
554
- responses: {
555
- 200: {
556
- bodyMapper: Mappers.CommunicationServiceResourceList,
557
- },
558
- default: {
559
- bodyMapper: Mappers.ErrorResponse,
560
- },
561
- },
562
- urlParameters: [
563
- Parameters.$host,
564
- Parameters.nextLink,
565
- Parameters.subscriptionId,
566
- Parameters.resourceGroupName,
567
- ],
568
- headerParameters: [Parameters.accept],
569
- serializer,
570
- };
571
- //# sourceMappingURL=communicationServices.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"communicationServices.js","sourceRoot":"","sources":["../../../src/operations/communicationServices.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;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA+B9C,4CAA4C;AAC5C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAAuC;IAE9D;;;OAGG;IACH,YAAY,MAA4C;QACtD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB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U,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;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 { CommunicationServices } 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 { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n CommunicationServiceResource,\n CommunicationServicesListBySubscriptionNextOptionalParams,\n CommunicationServicesListBySubscriptionOptionalParams,\n CommunicationServicesListBySubscriptionResponse,\n CommunicationServicesListByResourceGroupNextOptionalParams,\n CommunicationServicesListByResourceGroupOptionalParams,\n CommunicationServicesListByResourceGroupResponse,\n NameAvailabilityParameters,\n CommunicationServicesCheckNameAvailabilityOptionalParams,\n CommunicationServicesCheckNameAvailabilityResponse,\n CommunicationServicesLinkNotificationHubOptionalParams,\n CommunicationServicesLinkNotificationHubResponse,\n CommunicationServiceResourceUpdate,\n CommunicationServicesUpdateOptionalParams,\n CommunicationServicesUpdateResponse,\n CommunicationServicesGetOptionalParams,\n CommunicationServicesGetResponse,\n CommunicationServicesCreateOrUpdateOptionalParams,\n CommunicationServicesCreateOrUpdateResponse,\n CommunicationServicesDeleteOptionalParams,\n CommunicationServicesListKeysOptionalParams,\n CommunicationServicesListKeysResponse,\n RegenerateKeyParameters,\n CommunicationServicesRegenerateKeyOptionalParams,\n CommunicationServicesRegenerateKeyResponse,\n CommunicationServicesListBySubscriptionNextResponse,\n CommunicationServicesListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CommunicationServices operations. */\nexport class CommunicationServicesImpl implements CommunicationServices {\n private readonly client: CommunicationServiceManagementClient;\n\n /**\n * Initialize a new instance of the class CommunicationServices class.\n * @param client Reference to the service client\n */\n constructor(client: CommunicationServiceManagementClient) {\n this.client = client;\n }\n\n /**\n * Handles requests to list all resources in a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: CommunicationServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<CommunicationServiceResource> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: CommunicationServicesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<CommunicationServiceResource[]> {\n let result: CommunicationServicesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: CommunicationServicesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<CommunicationServiceResource> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\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 public listByResourceGroup(\n resourceGroupName: string,\n options?: CommunicationServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<CommunicationServiceResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: CommunicationServicesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<CommunicationServiceResource[]> {\n let result: CommunicationServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: CommunicationServicesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<CommunicationServiceResource> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Checks that the CommunicationService name is valid and is not already in use.\n * @param nameAvailabilityParameters Parameters supplied to the operation.\n * @param options The options parameters.\n */\n checkNameAvailability(\n nameAvailabilityParameters: NameAvailabilityParameters,\n options?: CommunicationServicesCheckNameAvailabilityOptionalParams,\n ): Promise<CommunicationServicesCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { nameAvailabilityParameters, options },\n checkNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * Links an Azure Notification Hub to this communication service.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n linkNotificationHub(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesLinkNotificationHubOptionalParams,\n ): Promise<CommunicationServicesLinkNotificationHubResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, options },\n linkNotificationHubOperationSpec,\n );\n }\n\n /**\n * Handles requests to list all resources in a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: CommunicationServicesListBySubscriptionOptionalParams,\n ): Promise<CommunicationServicesListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);\n }\n\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 private _listByResourceGroup(\n resourceGroupName: string,\n options?: CommunicationServicesListByResourceGroupOptionalParams,\n ): Promise<CommunicationServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Operation to update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameters for the update operation\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: CommunicationServiceResourceUpdate,\n options?: CommunicationServicesUpdateOptionalParams,\n ): Promise<CommunicationServicesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Get the CommunicationService and its properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesGetOptionalParams,\n ): Promise<CommunicationServicesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create a new CommunicationService or update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: CommunicationServiceResource,\n options?: CommunicationServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<CommunicationServicesCreateOrUpdateResponse>,\n CommunicationServicesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<CommunicationServicesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n communicationServiceName,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n CommunicationServicesCreateOrUpdateResponse,\n OperationState<CommunicationServicesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a new CommunicationService or update an existing CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: CommunicationServiceResource,\n options?: CommunicationServicesCreateOrUpdateOptionalParams,\n ): Promise<CommunicationServicesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n communicationServiceName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Operation to delete a CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, communicationServiceName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Operation to delete a CommunicationService.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, communicationServiceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Get the access keys of the CommunicationService resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param options The options parameters.\n */\n listKeys(\n resourceGroupName: string,\n communicationServiceName: string,\n options?: CommunicationServicesListKeysOptionalParams,\n ): Promise<CommunicationServicesListKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, options },\n listKeysOperationSpec,\n );\n }\n\n /**\n * Regenerate CommunicationService access key. PrimaryKey and SecondaryKey cannot be regenerated at the\n * same time.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param communicationServiceName The name of the CommunicationService resource.\n * @param parameters Parameter that describes the Regenerate Key Operation.\n * @param options The options parameters.\n */\n regenerateKey(\n resourceGroupName: string,\n communicationServiceName: string,\n parameters: RegenerateKeyParameters,\n options?: CommunicationServicesRegenerateKeyOptionalParams,\n ): Promise<CommunicationServicesRegenerateKeyResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, communicationServiceName, parameters, options },\n regenerateKeyOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: CommunicationServicesListBySubscriptionNextOptionalParams,\n ): Promise<CommunicationServicesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: CommunicationServicesListByResourceGroupNextOptionalParams,\n ): Promise<CommunicationServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Communication/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.nameAvailabilityParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst linkNotificationHubOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/linkNotificationHub\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LinkedNotificationHub,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.linkNotificationHubParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Communication/communicationServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResourceList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResourceList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResource,\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 createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResource,\n },\n 201: {\n bodyMapper: Mappers.CommunicationServiceResource,\n },\n 202: {\n bodyMapper: Mappers.CommunicationServiceResource,\n },\n 204: {\n bodyMapper: Mappers.CommunicationServiceResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName,\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}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceKeys,\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 regenerateKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceKeys,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.communicationServiceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResourceList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CommunicationServiceResourceList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}