@azure/arm-communication 4.2.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (793) 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/{esm/operationsInterfaces/domains.js → browser/api/communicationServices/options.js} +1 -1
  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/{operationsInterfaces/domains.js → api/domains/options.js} +1 -1
  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/{react-native/operationsInterfaces/domains.js → browser/api/emailServices/options.js} +1 -1
  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/{operationsInterfaces/communicationServices.js → api/operations/index.js} +2 -2
  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/{operationsInterfaces/operations.js → api/operations/options.js} +1 -1
  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/{esm/operationsInterfaces/operations.js → browser/classic/index.js} +1 -1
  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/{browser/operationsInterfaces/emailServices.js → esm/api/operations/index.js} +2 -2
  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/package.json +227 -96
  427. package/dist/browser/communicationServiceManagementClient.d.ts.map +0 -1
  428. package/dist/browser/index.d.ts.map +0 -1
  429. package/dist/browser/lroImpl.d.ts +0 -11
  430. package/dist/browser/lroImpl.d.ts.map +0 -1
  431. package/dist/browser/lroImpl.js +0 -20
  432. package/dist/browser/lroImpl.js.map +0 -1
  433. package/dist/browser/models/index.d.ts.map +0 -1
  434. package/dist/browser/models/mappers.d.ts +0 -56
  435. package/dist/browser/models/mappers.d.ts.map +0 -1
  436. package/dist/browser/models/mappers.js +0 -1452
  437. package/dist/browser/models/mappers.js.map +0 -1
  438. package/dist/browser/models/parameters.d.ts +0 -31
  439. package/dist/browser/models/parameters.d.ts.map +0 -1
  440. package/dist/browser/models/parameters.js +0 -257
  441. package/dist/browser/models/parameters.js.map +0 -1
  442. package/dist/browser/operations/communicationServices.d.ts +0 -128
  443. package/dist/browser/operations/communicationServices.d.ts.map +0 -1
  444. package/dist/browser/operations/communicationServices.js +0 -571
  445. package/dist/browser/operations/communicationServices.js.map +0 -1
  446. package/dist/browser/operations/domains.d.ts +0 -138
  447. package/dist/browser/operations/domains.d.ts.map +0 -1
  448. package/dist/browser/operations/domains.js +0 -647
  449. package/dist/browser/operations/domains.js.map +0 -1
  450. package/dist/browser/operations/emailServices.d.ts +0 -112
  451. package/dist/browser/operations/emailServices.d.ts.map +0 -1
  452. package/dist/browser/operations/emailServices.js +0 -527
  453. package/dist/browser/operations/emailServices.js.map +0 -1
  454. package/dist/browser/operations/index.d.ts +0 -9
  455. package/dist/browser/operations/index.d.ts.map +0 -1
  456. package/dist/browser/operations/index.js +0 -13
  457. package/dist/browser/operations/index.js.map +0 -1
  458. package/dist/browser/operations/operations.d.ts +0 -32
  459. package/dist/browser/operations/operations.d.ts.map +0 -1
  460. package/dist/browser/operations/operations.js +0 -111
  461. package/dist/browser/operations/operations.js.map +0 -1
  462. package/dist/browser/operations/senderUsernames.d.ts +0 -70
  463. package/dist/browser/operations/senderUsernames.d.ts.map +0 -1
  464. package/dist/browser/operations/senderUsernames.js +0 -260
  465. package/dist/browser/operations/senderUsernames.js.map +0 -1
  466. package/dist/browser/operations/smtpUsernames.d.ts +0 -63
  467. package/dist/browser/operations/smtpUsernames.d.ts.map +0 -1
  468. package/dist/browser/operations/smtpUsernames.js +0 -235
  469. package/dist/browser/operations/smtpUsernames.js.map +0 -1
  470. package/dist/browser/operations/suppressionListAddresses.d.ts +0 -75
  471. package/dist/browser/operations/suppressionListAddresses.d.ts.map +0 -1
  472. package/dist/browser/operations/suppressionListAddresses.js +0 -286
  473. package/dist/browser/operations/suppressionListAddresses.js.map +0 -1
  474. package/dist/browser/operations/suppressionLists.d.ts +0 -70
  475. package/dist/browser/operations/suppressionLists.d.ts.map +0 -1
  476. package/dist/browser/operations/suppressionLists.js +0 -260
  477. package/dist/browser/operations/suppressionLists.js.map +0 -1
  478. package/dist/browser/operationsInterfaces/communicationServices.d.ts +0 -92
  479. package/dist/browser/operationsInterfaces/communicationServices.d.ts.map +0 -1
  480. package/dist/browser/operationsInterfaces/communicationServices.js.map +0 -1
  481. package/dist/browser/operationsInterfaces/domains.d.ts +0 -112
  482. package/dist/browser/operationsInterfaces/domains.d.ts.map +0 -1
  483. package/dist/browser/operationsInterfaces/domains.js.map +0 -1
  484. package/dist/browser/operationsInterfaces/emailServices.d.ts +0 -76
  485. package/dist/browser/operationsInterfaces/emailServices.d.ts.map +0 -1
  486. package/dist/browser/operationsInterfaces/emailServices.js.map +0 -1
  487. package/dist/browser/operationsInterfaces/index.d.ts +0 -9
  488. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  489. package/dist/browser/operationsInterfaces/index.js +0 -13
  490. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  491. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  492. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  493. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  494. package/dist/browser/operationsInterfaces/senderUsernames.d.ts +0 -43
  495. package/dist/browser/operationsInterfaces/senderUsernames.d.ts.map +0 -1
  496. package/dist/browser/operationsInterfaces/senderUsernames.js +0 -4
  497. package/dist/browser/operationsInterfaces/senderUsernames.js.map +0 -1
  498. package/dist/browser/operationsInterfaces/smtpUsernames.d.ts +0 -38
  499. package/dist/browser/operationsInterfaces/smtpUsernames.d.ts.map +0 -1
  500. package/dist/browser/operationsInterfaces/smtpUsernames.js +0 -4
  501. package/dist/browser/operationsInterfaces/smtpUsernames.js.map +0 -1
  502. package/dist/browser/operationsInterfaces/suppressionListAddresses.d.ts +0 -46
  503. package/dist/browser/operationsInterfaces/suppressionListAddresses.d.ts.map +0 -1
  504. package/dist/browser/operationsInterfaces/suppressionListAddresses.js +0 -4
  505. package/dist/browser/operationsInterfaces/suppressionListAddresses.js.map +0 -1
  506. package/dist/browser/operationsInterfaces/suppressionLists.d.ts +0 -43
  507. package/dist/browser/operationsInterfaces/suppressionLists.d.ts.map +0 -1
  508. package/dist/browser/operationsInterfaces/suppressionLists.js +0 -4
  509. package/dist/browser/operationsInterfaces/suppressionLists.js.map +0 -1
  510. package/dist/browser/pagingHelper.d.ts +0 -13
  511. package/dist/browser/pagingHelper.d.ts.map +0 -1
  512. package/dist/browser/pagingHelper.js +0 -25
  513. package/dist/browser/pagingHelper.js.map +0 -1
  514. package/dist/commonjs/communicationServiceManagementClient.d.ts.map +0 -1
  515. package/dist/commonjs/index.d.ts.map +0 -1
  516. package/dist/commonjs/lroImpl.d.ts +0 -11
  517. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  518. package/dist/commonjs/lroImpl.js +0 -23
  519. package/dist/commonjs/lroImpl.js.map +0 -1
  520. package/dist/commonjs/models/index.d.ts.map +0 -1
  521. package/dist/commonjs/models/mappers.d.ts +0 -56
  522. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  523. package/dist/commonjs/models/mappers.js +0 -1456
  524. package/dist/commonjs/models/mappers.js.map +0 -1
  525. package/dist/commonjs/models/parameters.d.ts +0 -31
  526. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  527. package/dist/commonjs/models/parameters.js +0 -260
  528. package/dist/commonjs/models/parameters.js.map +0 -1
  529. package/dist/commonjs/operations/communicationServices.d.ts +0 -128
  530. package/dist/commonjs/operations/communicationServices.d.ts.map +0 -1
  531. package/dist/commonjs/operations/communicationServices.js +0 -576
  532. package/dist/commonjs/operations/communicationServices.js.map +0 -1
  533. package/dist/commonjs/operations/domains.d.ts +0 -138
  534. package/dist/commonjs/operations/domains.d.ts.map +0 -1
  535. package/dist/commonjs/operations/domains.js +0 -652
  536. package/dist/commonjs/operations/domains.js.map +0 -1
  537. package/dist/commonjs/operations/emailServices.d.ts +0 -112
  538. package/dist/commonjs/operations/emailServices.d.ts.map +0 -1
  539. package/dist/commonjs/operations/emailServices.js +0 -532
  540. package/dist/commonjs/operations/emailServices.js.map +0 -1
  541. package/dist/commonjs/operations/index.d.ts +0 -9
  542. package/dist/commonjs/operations/index.d.ts.map +0 -1
  543. package/dist/commonjs/operations/index.js +0 -16
  544. package/dist/commonjs/operations/index.js.map +0 -1
  545. package/dist/commonjs/operations/operations.d.ts +0 -32
  546. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  547. package/dist/commonjs/operations/operations.js +0 -116
  548. package/dist/commonjs/operations/operations.js.map +0 -1
  549. package/dist/commonjs/operations/senderUsernames.d.ts +0 -70
  550. package/dist/commonjs/operations/senderUsernames.d.ts.map +0 -1
  551. package/dist/commonjs/operations/senderUsernames.js +0 -265
  552. package/dist/commonjs/operations/senderUsernames.js.map +0 -1
  553. package/dist/commonjs/operations/smtpUsernames.d.ts +0 -63
  554. package/dist/commonjs/operations/smtpUsernames.d.ts.map +0 -1
  555. package/dist/commonjs/operations/smtpUsernames.js +0 -240
  556. package/dist/commonjs/operations/smtpUsernames.js.map +0 -1
  557. package/dist/commonjs/operations/suppressionListAddresses.d.ts +0 -75
  558. package/dist/commonjs/operations/suppressionListAddresses.d.ts.map +0 -1
  559. package/dist/commonjs/operations/suppressionListAddresses.js +0 -291
  560. package/dist/commonjs/operations/suppressionListAddresses.js.map +0 -1
  561. package/dist/commonjs/operations/suppressionLists.d.ts +0 -70
  562. package/dist/commonjs/operations/suppressionLists.d.ts.map +0 -1
  563. package/dist/commonjs/operations/suppressionLists.js +0 -265
  564. package/dist/commonjs/operations/suppressionLists.js.map +0 -1
  565. package/dist/commonjs/operationsInterfaces/communicationServices.d.ts +0 -92
  566. package/dist/commonjs/operationsInterfaces/communicationServices.d.ts.map +0 -1
  567. package/dist/commonjs/operationsInterfaces/communicationServices.js +0 -5
  568. package/dist/commonjs/operationsInterfaces/communicationServices.js.map +0 -1
  569. package/dist/commonjs/operationsInterfaces/domains.d.ts +0 -112
  570. package/dist/commonjs/operationsInterfaces/domains.d.ts.map +0 -1
  571. package/dist/commonjs/operationsInterfaces/domains.js +0 -5
  572. package/dist/commonjs/operationsInterfaces/domains.js.map +0 -1
  573. package/dist/commonjs/operationsInterfaces/emailServices.d.ts +0 -76
  574. package/dist/commonjs/operationsInterfaces/emailServices.d.ts.map +0 -1
  575. package/dist/commonjs/operationsInterfaces/emailServices.js +0 -5
  576. package/dist/commonjs/operationsInterfaces/emailServices.js.map +0 -1
  577. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -9
  578. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  579. package/dist/commonjs/operationsInterfaces/index.js +0 -16
  580. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  581. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  582. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  583. package/dist/commonjs/operationsInterfaces/operations.js +0 -5
  584. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
  585. package/dist/commonjs/operationsInterfaces/senderUsernames.d.ts +0 -43
  586. package/dist/commonjs/operationsInterfaces/senderUsernames.d.ts.map +0 -1
  587. package/dist/commonjs/operationsInterfaces/senderUsernames.js +0 -5
  588. package/dist/commonjs/operationsInterfaces/senderUsernames.js.map +0 -1
  589. package/dist/commonjs/operationsInterfaces/smtpUsernames.d.ts +0 -38
  590. package/dist/commonjs/operationsInterfaces/smtpUsernames.d.ts.map +0 -1
  591. package/dist/commonjs/operationsInterfaces/smtpUsernames.js +0 -5
  592. package/dist/commonjs/operationsInterfaces/smtpUsernames.js.map +0 -1
  593. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.d.ts +0 -46
  594. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.d.ts.map +0 -1
  595. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.js +0 -5
  596. package/dist/commonjs/operationsInterfaces/suppressionListAddresses.js.map +0 -1
  597. package/dist/commonjs/operationsInterfaces/suppressionLists.d.ts +0 -43
  598. package/dist/commonjs/operationsInterfaces/suppressionLists.d.ts.map +0 -1
  599. package/dist/commonjs/operationsInterfaces/suppressionLists.js +0 -5
  600. package/dist/commonjs/operationsInterfaces/suppressionLists.js.map +0 -1
  601. package/dist/commonjs/pagingHelper.d.ts +0 -13
  602. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  603. package/dist/commonjs/pagingHelper.js +0 -29
  604. package/dist/commonjs/pagingHelper.js.map +0 -1
  605. package/dist/esm/communicationServiceManagementClient.d.ts.map +0 -1
  606. package/dist/esm/index.d.ts.map +0 -1
  607. package/dist/esm/lroImpl.d.ts +0 -11
  608. package/dist/esm/lroImpl.d.ts.map +0 -1
  609. package/dist/esm/lroImpl.js +0 -20
  610. package/dist/esm/lroImpl.js.map +0 -1
  611. package/dist/esm/models/index.d.ts.map +0 -1
  612. package/dist/esm/models/mappers.d.ts +0 -56
  613. package/dist/esm/models/mappers.d.ts.map +0 -1
  614. package/dist/esm/models/mappers.js +0 -1452
  615. package/dist/esm/models/mappers.js.map +0 -1
  616. package/dist/esm/models/parameters.d.ts +0 -31
  617. package/dist/esm/models/parameters.d.ts.map +0 -1
  618. package/dist/esm/models/parameters.js +0 -257
  619. package/dist/esm/models/parameters.js.map +0 -1
  620. package/dist/esm/operations/communicationServices.d.ts +0 -128
  621. package/dist/esm/operations/communicationServices.d.ts.map +0 -1
  622. package/dist/esm/operations/communicationServices.js +0 -571
  623. package/dist/esm/operations/communicationServices.js.map +0 -1
  624. package/dist/esm/operations/domains.d.ts +0 -138
  625. package/dist/esm/operations/domains.d.ts.map +0 -1
  626. package/dist/esm/operations/domains.js +0 -647
  627. package/dist/esm/operations/domains.js.map +0 -1
  628. package/dist/esm/operations/emailServices.d.ts +0 -112
  629. package/dist/esm/operations/emailServices.d.ts.map +0 -1
  630. package/dist/esm/operations/emailServices.js +0 -527
  631. package/dist/esm/operations/emailServices.js.map +0 -1
  632. package/dist/esm/operations/index.d.ts +0 -9
  633. package/dist/esm/operations/index.d.ts.map +0 -1
  634. package/dist/esm/operations/index.js +0 -13
  635. package/dist/esm/operations/index.js.map +0 -1
  636. package/dist/esm/operations/operations.d.ts +0 -32
  637. package/dist/esm/operations/operations.d.ts.map +0 -1
  638. package/dist/esm/operations/operations.js +0 -111
  639. package/dist/esm/operations/operations.js.map +0 -1
  640. package/dist/esm/operations/senderUsernames.d.ts +0 -70
  641. package/dist/esm/operations/senderUsernames.d.ts.map +0 -1
  642. package/dist/esm/operations/senderUsernames.js +0 -260
  643. package/dist/esm/operations/senderUsernames.js.map +0 -1
  644. package/dist/esm/operations/smtpUsernames.d.ts +0 -63
  645. package/dist/esm/operations/smtpUsernames.d.ts.map +0 -1
  646. package/dist/esm/operations/smtpUsernames.js +0 -235
  647. package/dist/esm/operations/smtpUsernames.js.map +0 -1
  648. package/dist/esm/operations/suppressionListAddresses.d.ts +0 -75
  649. package/dist/esm/operations/suppressionListAddresses.d.ts.map +0 -1
  650. package/dist/esm/operations/suppressionListAddresses.js +0 -286
  651. package/dist/esm/operations/suppressionListAddresses.js.map +0 -1
  652. package/dist/esm/operations/suppressionLists.d.ts +0 -70
  653. package/dist/esm/operations/suppressionLists.d.ts.map +0 -1
  654. package/dist/esm/operations/suppressionLists.js +0 -260
  655. package/dist/esm/operations/suppressionLists.js.map +0 -1
  656. package/dist/esm/operationsInterfaces/communicationServices.d.ts +0 -92
  657. package/dist/esm/operationsInterfaces/communicationServices.d.ts.map +0 -1
  658. package/dist/esm/operationsInterfaces/communicationServices.js +0 -4
  659. package/dist/esm/operationsInterfaces/communicationServices.js.map +0 -1
  660. package/dist/esm/operationsInterfaces/domains.d.ts +0 -112
  661. package/dist/esm/operationsInterfaces/domains.d.ts.map +0 -1
  662. package/dist/esm/operationsInterfaces/domains.js.map +0 -1
  663. package/dist/esm/operationsInterfaces/emailServices.d.ts +0 -76
  664. package/dist/esm/operationsInterfaces/emailServices.d.ts.map +0 -1
  665. package/dist/esm/operationsInterfaces/emailServices.js +0 -4
  666. package/dist/esm/operationsInterfaces/emailServices.js.map +0 -1
  667. package/dist/esm/operationsInterfaces/index.d.ts +0 -9
  668. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  669. package/dist/esm/operationsInterfaces/index.js +0 -13
  670. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  671. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  672. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  673. package/dist/esm/operationsInterfaces/operations.js.map +0 -1
  674. package/dist/esm/operationsInterfaces/senderUsernames.d.ts +0 -43
  675. package/dist/esm/operationsInterfaces/senderUsernames.d.ts.map +0 -1
  676. package/dist/esm/operationsInterfaces/senderUsernames.js +0 -4
  677. package/dist/esm/operationsInterfaces/senderUsernames.js.map +0 -1
  678. package/dist/esm/operationsInterfaces/smtpUsernames.d.ts +0 -38
  679. package/dist/esm/operationsInterfaces/smtpUsernames.d.ts.map +0 -1
  680. package/dist/esm/operationsInterfaces/smtpUsernames.js +0 -4
  681. package/dist/esm/operationsInterfaces/smtpUsernames.js.map +0 -1
  682. package/dist/esm/operationsInterfaces/suppressionListAddresses.d.ts +0 -46
  683. package/dist/esm/operationsInterfaces/suppressionListAddresses.d.ts.map +0 -1
  684. package/dist/esm/operationsInterfaces/suppressionListAddresses.js +0 -4
  685. package/dist/esm/operationsInterfaces/suppressionListAddresses.js.map +0 -1
  686. package/dist/esm/operationsInterfaces/suppressionLists.d.ts +0 -43
  687. package/dist/esm/operationsInterfaces/suppressionLists.d.ts.map +0 -1
  688. package/dist/esm/operationsInterfaces/suppressionLists.js +0 -4
  689. package/dist/esm/operationsInterfaces/suppressionLists.js.map +0 -1
  690. package/dist/esm/pagingHelper.d.ts +0 -13
  691. package/dist/esm/pagingHelper.d.ts.map +0 -1
  692. package/dist/esm/pagingHelper.js +0 -25
  693. package/dist/esm/pagingHelper.js.map +0 -1
  694. package/dist/react-native/communicationServiceManagementClient.d.ts +0 -27
  695. package/dist/react-native/communicationServiceManagementClient.d.ts.map +0 -1
  696. package/dist/react-native/communicationServiceManagementClient.js +0 -115
  697. package/dist/react-native/communicationServiceManagementClient.js.map +0 -1
  698. package/dist/react-native/index.d.ts +0 -5
  699. package/dist/react-native/index.d.ts.map +0 -1
  700. package/dist/react-native/index.js +0 -10
  701. package/dist/react-native/index.js.map +0 -1
  702. package/dist/react-native/lroImpl.d.ts +0 -11
  703. package/dist/react-native/lroImpl.d.ts.map +0 -1
  704. package/dist/react-native/lroImpl.js +0 -20
  705. package/dist/react-native/lroImpl.js.map +0 -1
  706. package/dist/react-native/models/index.d.ts +0 -1268
  707. package/dist/react-native/models/index.d.ts.map +0 -1
  708. package/dist/react-native/models/index.js +0 -197
  709. package/dist/react-native/models/index.js.map +0 -1
  710. package/dist/react-native/models/mappers.d.ts +0 -56
  711. package/dist/react-native/models/mappers.d.ts.map +0 -1
  712. package/dist/react-native/models/mappers.js +0 -1452
  713. package/dist/react-native/models/mappers.js.map +0 -1
  714. package/dist/react-native/models/parameters.d.ts +0 -31
  715. package/dist/react-native/models/parameters.d.ts.map +0 -1
  716. package/dist/react-native/models/parameters.js +0 -257
  717. package/dist/react-native/models/parameters.js.map +0 -1
  718. package/dist/react-native/operations/communicationServices.d.ts +0 -128
  719. package/dist/react-native/operations/communicationServices.d.ts.map +0 -1
  720. package/dist/react-native/operations/communicationServices.js +0 -571
  721. package/dist/react-native/operations/communicationServices.js.map +0 -1
  722. package/dist/react-native/operations/domains.d.ts +0 -138
  723. package/dist/react-native/operations/domains.d.ts.map +0 -1
  724. package/dist/react-native/operations/domains.js +0 -647
  725. package/dist/react-native/operations/domains.js.map +0 -1
  726. package/dist/react-native/operations/emailServices.d.ts +0 -112
  727. package/dist/react-native/operations/emailServices.d.ts.map +0 -1
  728. package/dist/react-native/operations/emailServices.js +0 -527
  729. package/dist/react-native/operations/emailServices.js.map +0 -1
  730. package/dist/react-native/operations/index.d.ts +0 -9
  731. package/dist/react-native/operations/index.d.ts.map +0 -1
  732. package/dist/react-native/operations/index.js +0 -13
  733. package/dist/react-native/operations/index.js.map +0 -1
  734. package/dist/react-native/operations/operations.d.ts +0 -32
  735. package/dist/react-native/operations/operations.d.ts.map +0 -1
  736. package/dist/react-native/operations/operations.js +0 -111
  737. package/dist/react-native/operations/operations.js.map +0 -1
  738. package/dist/react-native/operations/senderUsernames.d.ts +0 -70
  739. package/dist/react-native/operations/senderUsernames.d.ts.map +0 -1
  740. package/dist/react-native/operations/senderUsernames.js +0 -260
  741. package/dist/react-native/operations/senderUsernames.js.map +0 -1
  742. package/dist/react-native/operations/smtpUsernames.d.ts +0 -63
  743. package/dist/react-native/operations/smtpUsernames.d.ts.map +0 -1
  744. package/dist/react-native/operations/smtpUsernames.js +0 -235
  745. package/dist/react-native/operations/smtpUsernames.js.map +0 -1
  746. package/dist/react-native/operations/suppressionListAddresses.d.ts +0 -75
  747. package/dist/react-native/operations/suppressionListAddresses.d.ts.map +0 -1
  748. package/dist/react-native/operations/suppressionListAddresses.js +0 -286
  749. package/dist/react-native/operations/suppressionListAddresses.js.map +0 -1
  750. package/dist/react-native/operations/suppressionLists.d.ts +0 -70
  751. package/dist/react-native/operations/suppressionLists.d.ts.map +0 -1
  752. package/dist/react-native/operations/suppressionLists.js +0 -260
  753. package/dist/react-native/operations/suppressionLists.js.map +0 -1
  754. package/dist/react-native/operationsInterfaces/communicationServices.d.ts +0 -92
  755. package/dist/react-native/operationsInterfaces/communicationServices.d.ts.map +0 -1
  756. package/dist/react-native/operationsInterfaces/communicationServices.js +0 -4
  757. package/dist/react-native/operationsInterfaces/communicationServices.js.map +0 -1
  758. package/dist/react-native/operationsInterfaces/domains.d.ts +0 -112
  759. package/dist/react-native/operationsInterfaces/domains.d.ts.map +0 -1
  760. package/dist/react-native/operationsInterfaces/domains.js.map +0 -1
  761. package/dist/react-native/operationsInterfaces/emailServices.d.ts +0 -76
  762. package/dist/react-native/operationsInterfaces/emailServices.d.ts.map +0 -1
  763. package/dist/react-native/operationsInterfaces/emailServices.js +0 -4
  764. package/dist/react-native/operationsInterfaces/emailServices.js.map +0 -1
  765. package/dist/react-native/operationsInterfaces/index.d.ts +0 -9
  766. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  767. package/dist/react-native/operationsInterfaces/index.js +0 -13
  768. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  769. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  770. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  771. package/dist/react-native/operationsInterfaces/operations.js +0 -4
  772. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  773. package/dist/react-native/operationsInterfaces/senderUsernames.d.ts +0 -43
  774. package/dist/react-native/operationsInterfaces/senderUsernames.d.ts.map +0 -1
  775. package/dist/react-native/operationsInterfaces/senderUsernames.js +0 -4
  776. package/dist/react-native/operationsInterfaces/senderUsernames.js.map +0 -1
  777. package/dist/react-native/operationsInterfaces/smtpUsernames.d.ts +0 -38
  778. package/dist/react-native/operationsInterfaces/smtpUsernames.d.ts.map +0 -1
  779. package/dist/react-native/operationsInterfaces/smtpUsernames.js +0 -4
  780. package/dist/react-native/operationsInterfaces/smtpUsernames.js.map +0 -1
  781. package/dist/react-native/operationsInterfaces/suppressionListAddresses.d.ts +0 -46
  782. package/dist/react-native/operationsInterfaces/suppressionListAddresses.d.ts.map +0 -1
  783. package/dist/react-native/operationsInterfaces/suppressionListAddresses.js +0 -4
  784. package/dist/react-native/operationsInterfaces/suppressionListAddresses.js.map +0 -1
  785. package/dist/react-native/operationsInterfaces/suppressionLists.d.ts +0 -43
  786. package/dist/react-native/operationsInterfaces/suppressionLists.d.ts.map +0 -1
  787. package/dist/react-native/operationsInterfaces/suppressionLists.js +0 -4
  788. package/dist/react-native/operationsInterfaces/suppressionLists.js.map +0 -1
  789. package/dist/react-native/package.json +0 -3
  790. package/dist/react-native/pagingHelper.d.ts +0 -13
  791. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  792. package/dist/react-native/pagingHelper.js +0 -25
  793. package/dist/react-native/pagingHelper.js.map +0 -1
@@ -1,576 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.CommunicationServicesImpl = void 0;
6
- const tslib_1 = require("tslib");
7
- const pagingHelper_js_1 = require("../pagingHelper.js");
8
- const coreClient = tslib_1.__importStar(require("@azure/core-client"));
9
- const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
10
- const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
11
- const core_lro_1 = require("@azure/core-lro");
12
- const lroImpl_js_1 = require("../lroImpl.js");
13
- /// <reference lib="esnext.asynciterable" />
14
- /** Class containing CommunicationServices operations. */
15
- class CommunicationServicesImpl {
16
- client;
17
- /**
18
- * Initialize a new instance of the class CommunicationServices class.
19
- * @param client Reference to the service client
20
- */
21
- constructor(client) {
22
- this.client = client;
23
- }
24
- /**
25
- * Handles requests to list all resources in a subscription.
26
- * @param options The options parameters.
27
- */
28
- listBySubscription(options) {
29
- const iter = this.listBySubscriptionPagingAll(options);
30
- return {
31
- next() {
32
- return iter.next();
33
- },
34
- [Symbol.asyncIterator]() {
35
- return this;
36
- },
37
- byPage: (settings) => {
38
- if (settings?.maxPageSize) {
39
- throw new Error("maxPageSize is not supported by this operation.");
40
- }
41
- return this.listBySubscriptionPagingPage(options, settings);
42
- },
43
- };
44
- }
45
- async *listBySubscriptionPagingPage(options, settings) {
46
- let result;
47
- let continuationToken = settings?.continuationToken;
48
- if (!continuationToken) {
49
- result = await this._listBySubscription(options);
50
- const page = result.value || [];
51
- continuationToken = result.nextLink;
52
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
53
- yield page;
54
- }
55
- while (continuationToken) {
56
- result = await this._listBySubscriptionNext(continuationToken, options);
57
- continuationToken = result.nextLink;
58
- const page = result.value || [];
59
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
- yield page;
61
- }
62
- }
63
- async *listBySubscriptionPagingAll(options) {
64
- for await (const page of this.listBySubscriptionPagingPage(options)) {
65
- yield* page;
66
- }
67
- }
68
- /**
69
- * Handles requests to list all resources in a resource group.
70
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
- * @param options The options parameters.
72
- */
73
- listByResourceGroup(resourceGroupName, options) {
74
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
75
- return {
76
- next() {
77
- return iter.next();
78
- },
79
- [Symbol.asyncIterator]() {
80
- return this;
81
- },
82
- byPage: (settings) => {
83
- if (settings?.maxPageSize) {
84
- throw new Error("maxPageSize is not supported by this operation.");
85
- }
86
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
87
- },
88
- };
89
- }
90
- async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
91
- let result;
92
- let continuationToken = settings?.continuationToken;
93
- if (!continuationToken) {
94
- result = await this._listByResourceGroup(resourceGroupName, options);
95
- const page = result.value || [];
96
- continuationToken = result.nextLink;
97
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
98
- yield page;
99
- }
100
- while (continuationToken) {
101
- result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
102
- continuationToken = result.nextLink;
103
- const page = result.value || [];
104
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
105
- yield page;
106
- }
107
- }
108
- async *listByResourceGroupPagingAll(resourceGroupName, options) {
109
- for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
110
- yield* page;
111
- }
112
- }
113
- /**
114
- * Checks that the CommunicationService name is valid and is not already in use.
115
- * @param nameAvailabilityParameters Parameters supplied to the operation.
116
- * @param options The options parameters.
117
- */
118
- checkNameAvailability(nameAvailabilityParameters, options) {
119
- return this.client.sendOperationRequest({ nameAvailabilityParameters, options }, checkNameAvailabilityOperationSpec);
120
- }
121
- /**
122
- * Links an Azure Notification Hub to this communication service.
123
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
124
- * @param communicationServiceName The name of the CommunicationService resource.
125
- * @param options The options parameters.
126
- */
127
- linkNotificationHub(resourceGroupName, communicationServiceName, options) {
128
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, options }, linkNotificationHubOperationSpec);
129
- }
130
- /**
131
- * Handles requests to list all resources in a subscription.
132
- * @param options The options parameters.
133
- */
134
- _listBySubscription(options) {
135
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
136
- }
137
- /**
138
- * Handles requests to list all resources in a resource group.
139
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
140
- * @param options The options parameters.
141
- */
142
- _listByResourceGroup(resourceGroupName, options) {
143
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
144
- }
145
- /**
146
- * Operation to update an existing CommunicationService.
147
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
148
- * @param communicationServiceName The name of the CommunicationService resource.
149
- * @param parameters Parameters for the update operation
150
- * @param options The options parameters.
151
- */
152
- update(resourceGroupName, communicationServiceName, parameters, options) {
153
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, parameters, options }, updateOperationSpec);
154
- }
155
- /**
156
- * Get the CommunicationService and its properties.
157
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
158
- * @param communicationServiceName The name of the CommunicationService resource.
159
- * @param options The options parameters.
160
- */
161
- get(resourceGroupName, communicationServiceName, options) {
162
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, options }, getOperationSpec);
163
- }
164
- /**
165
- * Create a new CommunicationService or update an existing CommunicationService.
166
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
167
- * @param communicationServiceName The name of the CommunicationService resource.
168
- * @param parameters Parameters for the create or update operation
169
- * @param options The options parameters.
170
- */
171
- async beginCreateOrUpdate(resourceGroupName, communicationServiceName, parameters, options) {
172
- const directSendOperation = async (args, spec) => {
173
- return this.client.sendOperationRequest(args, spec);
174
- };
175
- const sendOperationFn = async (args, spec) => {
176
- let currentRawResponse = undefined;
177
- const providedCallback = args.options?.onResponse;
178
- const callback = (rawResponse, flatResponse) => {
179
- currentRawResponse = rawResponse;
180
- providedCallback?.(rawResponse, flatResponse);
181
- };
182
- const updatedArgs = {
183
- ...args,
184
- options: {
185
- ...args.options,
186
- onResponse: callback,
187
- },
188
- };
189
- const flatResponse = await directSendOperation(updatedArgs, spec);
190
- return {
191
- flatResponse,
192
- rawResponse: {
193
- statusCode: currentRawResponse.status,
194
- body: currentRawResponse.parsedBody,
195
- headers: currentRawResponse.headers.toJSON(),
196
- },
197
- };
198
- };
199
- const lro = (0, lroImpl_js_1.createLroSpec)({
200
- sendOperationFn,
201
- args: {
202
- resourceGroupName,
203
- communicationServiceName,
204
- parameters,
205
- options,
206
- },
207
- spec: createOrUpdateOperationSpec,
208
- });
209
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
210
- restoreFrom: options?.resumeFrom,
211
- intervalInMs: options?.updateIntervalInMs,
212
- resourceLocationConfig: "azure-async-operation",
213
- });
214
- await poller.poll();
215
- return poller;
216
- }
217
- /**
218
- * Create a new CommunicationService or update an existing CommunicationService.
219
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
220
- * @param communicationServiceName The name of the CommunicationService resource.
221
- * @param parameters Parameters for the create or update operation
222
- * @param options The options parameters.
223
- */
224
- async beginCreateOrUpdateAndWait(resourceGroupName, communicationServiceName, parameters, options) {
225
- const poller = await this.beginCreateOrUpdate(resourceGroupName, communicationServiceName, parameters, options);
226
- return poller.pollUntilDone();
227
- }
228
- /**
229
- * Operation to delete a CommunicationService.
230
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
231
- * @param communicationServiceName The name of the CommunicationService resource.
232
- * @param options The options parameters.
233
- */
234
- async beginDelete(resourceGroupName, communicationServiceName, options) {
235
- const directSendOperation = async (args, spec) => {
236
- return this.client.sendOperationRequest(args, spec);
237
- };
238
- const sendOperationFn = async (args, spec) => {
239
- let currentRawResponse = undefined;
240
- const providedCallback = args.options?.onResponse;
241
- const callback = (rawResponse, flatResponse) => {
242
- currentRawResponse = rawResponse;
243
- providedCallback?.(rawResponse, flatResponse);
244
- };
245
- const updatedArgs = {
246
- ...args,
247
- options: {
248
- ...args.options,
249
- onResponse: callback,
250
- },
251
- };
252
- const flatResponse = await directSendOperation(updatedArgs, spec);
253
- return {
254
- flatResponse,
255
- rawResponse: {
256
- statusCode: currentRawResponse.status,
257
- body: currentRawResponse.parsedBody,
258
- headers: currentRawResponse.headers.toJSON(),
259
- },
260
- };
261
- };
262
- const lro = (0, lroImpl_js_1.createLroSpec)({
263
- sendOperationFn,
264
- args: { resourceGroupName, communicationServiceName, options },
265
- spec: deleteOperationSpec,
266
- });
267
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
268
- restoreFrom: options?.resumeFrom,
269
- intervalInMs: options?.updateIntervalInMs,
270
- resourceLocationConfig: "location",
271
- });
272
- await poller.poll();
273
- return poller;
274
- }
275
- /**
276
- * Operation to delete a CommunicationService.
277
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
278
- * @param communicationServiceName The name of the CommunicationService resource.
279
- * @param options The options parameters.
280
- */
281
- async beginDeleteAndWait(resourceGroupName, communicationServiceName, options) {
282
- const poller = await this.beginDelete(resourceGroupName, communicationServiceName, options);
283
- return poller.pollUntilDone();
284
- }
285
- /**
286
- * Get the access keys of the CommunicationService resource.
287
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
288
- * @param communicationServiceName The name of the CommunicationService resource.
289
- * @param options The options parameters.
290
- */
291
- listKeys(resourceGroupName, communicationServiceName, options) {
292
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, options }, listKeysOperationSpec);
293
- }
294
- /**
295
- * Regenerate CommunicationService access key. PrimaryKey and SecondaryKey cannot be regenerated at the
296
- * same time.
297
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
298
- * @param communicationServiceName The name of the CommunicationService resource.
299
- * @param parameters Parameter that describes the Regenerate Key Operation.
300
- * @param options The options parameters.
301
- */
302
- regenerateKey(resourceGroupName, communicationServiceName, parameters, options) {
303
- return this.client.sendOperationRequest({ resourceGroupName, communicationServiceName, parameters, options }, regenerateKeyOperationSpec);
304
- }
305
- /**
306
- * ListBySubscriptionNext
307
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
308
- * @param options The options parameters.
309
- */
310
- _listBySubscriptionNext(nextLink, options) {
311
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
312
- }
313
- /**
314
- * ListByResourceGroupNext
315
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
316
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
317
- * @param options The options parameters.
318
- */
319
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
320
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
321
- }
322
- }
323
- exports.CommunicationServicesImpl = CommunicationServicesImpl;
324
- // Operation Specifications
325
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
326
- const checkNameAvailabilityOperationSpec = {
327
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Communication/checkNameAvailability",
328
- httpMethod: "POST",
329
- responses: {
330
- 200: {
331
- bodyMapper: Mappers.CheckNameAvailabilityResponse,
332
- },
333
- default: {
334
- bodyMapper: Mappers.ErrorResponse,
335
- },
336
- },
337
- requestBody: Parameters.nameAvailabilityParameters,
338
- queryParameters: [Parameters.apiVersion],
339
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
340
- headerParameters: [Parameters.accept, Parameters.contentType],
341
- mediaType: "json",
342
- serializer,
343
- };
344
- const linkNotificationHubOperationSpec = {
345
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/linkNotificationHub",
346
- httpMethod: "POST",
347
- responses: {
348
- 200: {
349
- bodyMapper: Mappers.LinkedNotificationHub,
350
- },
351
- default: {
352
- bodyMapper: Mappers.ErrorResponse,
353
- },
354
- },
355
- requestBody: Parameters.linkNotificationHubParameters,
356
- queryParameters: [Parameters.apiVersion],
357
- urlParameters: [
358
- Parameters.$host,
359
- Parameters.subscriptionId,
360
- Parameters.resourceGroupName,
361
- Parameters.communicationServiceName,
362
- ],
363
- headerParameters: [Parameters.accept, Parameters.contentType],
364
- mediaType: "json",
365
- serializer,
366
- };
367
- const listBySubscriptionOperationSpec = {
368
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Communication/communicationServices",
369
- httpMethod: "GET",
370
- responses: {
371
- 200: {
372
- bodyMapper: Mappers.CommunicationServiceResourceList,
373
- },
374
- default: {
375
- bodyMapper: Mappers.ErrorResponse,
376
- },
377
- },
378
- queryParameters: [Parameters.apiVersion],
379
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
380
- headerParameters: [Parameters.accept],
381
- serializer,
382
- };
383
- const listByResourceGroupOperationSpec = {
384
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices",
385
- httpMethod: "GET",
386
- responses: {
387
- 200: {
388
- bodyMapper: Mappers.CommunicationServiceResourceList,
389
- },
390
- default: {
391
- bodyMapper: Mappers.ErrorResponse,
392
- },
393
- },
394
- queryParameters: [Parameters.apiVersion],
395
- urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
396
- headerParameters: [Parameters.accept],
397
- serializer,
398
- };
399
- const updateOperationSpec = {
400
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",
401
- httpMethod: "PATCH",
402
- responses: {
403
- 200: {
404
- bodyMapper: Mappers.CommunicationServiceResource,
405
- },
406
- default: {
407
- bodyMapper: Mappers.ErrorResponse,
408
- },
409
- },
410
- requestBody: Parameters.parameters,
411
- queryParameters: [Parameters.apiVersion],
412
- urlParameters: [
413
- Parameters.$host,
414
- Parameters.subscriptionId,
415
- Parameters.resourceGroupName,
416
- Parameters.communicationServiceName,
417
- ],
418
- headerParameters: [Parameters.accept, Parameters.contentType],
419
- mediaType: "json",
420
- serializer,
421
- };
422
- const getOperationSpec = {
423
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",
424
- httpMethod: "GET",
425
- responses: {
426
- 200: {
427
- bodyMapper: Mappers.CommunicationServiceResource,
428
- },
429
- default: {
430
- bodyMapper: Mappers.ErrorResponse,
431
- },
432
- },
433
- queryParameters: [Parameters.apiVersion],
434
- urlParameters: [
435
- Parameters.$host,
436
- Parameters.subscriptionId,
437
- Parameters.resourceGroupName,
438
- Parameters.communicationServiceName,
439
- ],
440
- headerParameters: [Parameters.accept],
441
- serializer,
442
- };
443
- const createOrUpdateOperationSpec = {
444
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",
445
- httpMethod: "PUT",
446
- responses: {
447
- 200: {
448
- bodyMapper: Mappers.CommunicationServiceResource,
449
- },
450
- 201: {
451
- bodyMapper: Mappers.CommunicationServiceResource,
452
- },
453
- 202: {
454
- bodyMapper: Mappers.CommunicationServiceResource,
455
- },
456
- 204: {
457
- bodyMapper: Mappers.CommunicationServiceResource,
458
- },
459
- default: {
460
- bodyMapper: Mappers.ErrorResponse,
461
- },
462
- },
463
- requestBody: Parameters.parameters1,
464
- queryParameters: [Parameters.apiVersion],
465
- urlParameters: [
466
- Parameters.$host,
467
- Parameters.subscriptionId,
468
- Parameters.resourceGroupName,
469
- Parameters.communicationServiceName,
470
- ],
471
- headerParameters: [Parameters.accept, Parameters.contentType],
472
- mediaType: "json",
473
- serializer,
474
- };
475
- const deleteOperationSpec = {
476
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}",
477
- httpMethod: "DELETE",
478
- responses: {
479
- 200: {},
480
- 201: {},
481
- 202: {},
482
- 204: {},
483
- default: {
484
- bodyMapper: Mappers.ErrorResponse,
485
- },
486
- },
487
- queryParameters: [Parameters.apiVersion],
488
- urlParameters: [
489
- Parameters.$host,
490
- Parameters.subscriptionId,
491
- Parameters.resourceGroupName,
492
- Parameters.communicationServiceName,
493
- ],
494
- headerParameters: [Parameters.accept],
495
- serializer,
496
- };
497
- const listKeysOperationSpec = {
498
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/listKeys",
499
- httpMethod: "POST",
500
- responses: {
501
- 200: {
502
- bodyMapper: Mappers.CommunicationServiceKeys,
503
- },
504
- default: {
505
- bodyMapper: Mappers.ErrorResponse,
506
- },
507
- },
508
- queryParameters: [Parameters.apiVersion],
509
- urlParameters: [
510
- Parameters.$host,
511
- Parameters.subscriptionId,
512
- Parameters.resourceGroupName,
513
- Parameters.communicationServiceName,
514
- ],
515
- headerParameters: [Parameters.accept],
516
- serializer,
517
- };
518
- const regenerateKeyOperationSpec = {
519
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey",
520
- httpMethod: "POST",
521
- responses: {
522
- 200: {
523
- bodyMapper: Mappers.CommunicationServiceKeys,
524
- },
525
- default: {
526
- bodyMapper: Mappers.ErrorResponse,
527
- },
528
- },
529
- requestBody: Parameters.parameters2,
530
- queryParameters: [Parameters.apiVersion],
531
- urlParameters: [
532
- Parameters.$host,
533
- Parameters.subscriptionId,
534
- Parameters.resourceGroupName,
535
- Parameters.communicationServiceName,
536
- ],
537
- headerParameters: [Parameters.accept, Parameters.contentType],
538
- mediaType: "json",
539
- serializer,
540
- };
541
- const listBySubscriptionNextOperationSpec = {
542
- path: "{nextLink}",
543
- httpMethod: "GET",
544
- responses: {
545
- 200: {
546
- bodyMapper: Mappers.CommunicationServiceResourceList,
547
- },
548
- default: {
549
- bodyMapper: Mappers.ErrorResponse,
550
- },
551
- },
552
- urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
553
- headerParameters: [Parameters.accept],
554
- serializer,
555
- };
556
- const listByResourceGroupNextOperationSpec = {
557
- path: "{nextLink}",
558
- httpMethod: "GET",
559
- responses: {
560
- 200: {
561
- bodyMapper: Mappers.CommunicationServiceResourceList,
562
- },
563
- default: {
564
- bodyMapper: Mappers.ErrorResponse,
565
- },
566
- },
567
- urlParameters: [
568
- Parameters.$host,
569
- Parameters.nextLink,
570
- Parameters.subscriptionId,
571
- Parameters.resourceGroupName,
572
- ],
573
- headerParameters: [Parameters.accept],
574
- serializer,
575
- };
576
- //# 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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AA+B9C,4CAA4C;AAC5C,yDAAyD;AACzD,MAAa,yBAAyB;IACnB,MAAM,CAAuC;IAE9D;;;OAGG;IACH,YAAY,MAA4C;QACtD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IA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AAC,iBAAiB;QAC5B,UAAU,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"]}