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

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