@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,532 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.EmailServicesImpl = void 0;
6
- const tslib_1 = require("tslib");
7
- const pagingHelper_js_1 = require("../pagingHelper.js");
8
- const coreClient = tslib_1.__importStar(require("@azure/core-client"));
9
- const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
10
- const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
11
- const core_lro_1 = require("@azure/core-lro");
12
- const lroImpl_js_1 = require("../lroImpl.js");
13
- /// <reference lib="esnext.asynciterable" />
14
- /** Class containing EmailServices operations. */
15
- class EmailServicesImpl {
16
- client;
17
- /**
18
- * Initialize a new instance of the class EmailServices class.
19
- * @param client Reference to the service client
20
- */
21
- constructor(client) {
22
- this.client = client;
23
- }
24
- /**
25
- * Handles requests to list all resources in a subscription.
26
- * @param options The options parameters.
27
- */
28
- listBySubscription(options) {
29
- const iter = this.listBySubscriptionPagingAll(options);
30
- return {
31
- next() {
32
- return iter.next();
33
- },
34
- [Symbol.asyncIterator]() {
35
- return this;
36
- },
37
- byPage: (settings) => {
38
- if (settings?.maxPageSize) {
39
- throw new Error("maxPageSize is not supported by this operation.");
40
- }
41
- return this.listBySubscriptionPagingPage(options, settings);
42
- },
43
- };
44
- }
45
- async *listBySubscriptionPagingPage(options, settings) {
46
- let result;
47
- let continuationToken = settings?.continuationToken;
48
- if (!continuationToken) {
49
- result = await this._listBySubscription(options);
50
- const page = result.value || [];
51
- continuationToken = result.nextLink;
52
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
53
- yield page;
54
- }
55
- while (continuationToken) {
56
- result = await this._listBySubscriptionNext(continuationToken, options);
57
- continuationToken = result.nextLink;
58
- const page = result.value || [];
59
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
- yield page;
61
- }
62
- }
63
- async *listBySubscriptionPagingAll(options) {
64
- for await (const page of this.listBySubscriptionPagingPage(options)) {
65
- yield* page;
66
- }
67
- }
68
- /**
69
- * Handles requests to list all resources in a resource group.
70
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
- * @param options The options parameters.
72
- */
73
- listByResourceGroup(resourceGroupName, options) {
74
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
75
- return {
76
- next() {
77
- return iter.next();
78
- },
79
- [Symbol.asyncIterator]() {
80
- return this;
81
- },
82
- byPage: (settings) => {
83
- if (settings?.maxPageSize) {
84
- throw new Error("maxPageSize is not supported by this operation.");
85
- }
86
- return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
87
- },
88
- };
89
- }
90
- async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
91
- let result;
92
- let continuationToken = settings?.continuationToken;
93
- if (!continuationToken) {
94
- result = await this._listByResourceGroup(resourceGroupName, options);
95
- const page = result.value || [];
96
- continuationToken = result.nextLink;
97
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
98
- yield page;
99
- }
100
- while (continuationToken) {
101
- result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
102
- continuationToken = result.nextLink;
103
- const page = result.value || [];
104
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
105
- yield page;
106
- }
107
- }
108
- async *listByResourceGroupPagingAll(resourceGroupName, options) {
109
- for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
110
- yield* page;
111
- }
112
- }
113
- /**
114
- * Get the EmailService and its properties.
115
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
116
- * @param emailServiceName The name of the EmailService resource.
117
- * @param options The options parameters.
118
- */
119
- get(resourceGroupName, emailServiceName, options) {
120
- return this.client.sendOperationRequest({ resourceGroupName, emailServiceName, options }, getOperationSpec);
121
- }
122
- /**
123
- * Create a new EmailService or update an existing EmailService.
124
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
125
- * @param emailServiceName The name of the EmailService resource.
126
- * @param parameters Parameters for the create or update operation
127
- * @param options The options parameters.
128
- */
129
- async beginCreateOrUpdate(resourceGroupName, emailServiceName, parameters, options) {
130
- const directSendOperation = async (args, spec) => {
131
- return this.client.sendOperationRequest(args, spec);
132
- };
133
- const sendOperationFn = async (args, spec) => {
134
- let currentRawResponse = undefined;
135
- const providedCallback = args.options?.onResponse;
136
- const callback = (rawResponse, flatResponse) => {
137
- currentRawResponse = rawResponse;
138
- providedCallback?.(rawResponse, flatResponse);
139
- };
140
- const updatedArgs = {
141
- ...args,
142
- options: {
143
- ...args.options,
144
- onResponse: callback,
145
- },
146
- };
147
- const flatResponse = await directSendOperation(updatedArgs, spec);
148
- return {
149
- flatResponse,
150
- rawResponse: {
151
- statusCode: currentRawResponse.status,
152
- body: currentRawResponse.parsedBody,
153
- headers: currentRawResponse.headers.toJSON(),
154
- },
155
- };
156
- };
157
- const lro = (0, lroImpl_js_1.createLroSpec)({
158
- sendOperationFn,
159
- args: { resourceGroupName, emailServiceName, parameters, options },
160
- spec: createOrUpdateOperationSpec,
161
- });
162
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
163
- restoreFrom: options?.resumeFrom,
164
- intervalInMs: options?.updateIntervalInMs,
165
- resourceLocationConfig: "azure-async-operation",
166
- });
167
- await poller.poll();
168
- return poller;
169
- }
170
- /**
171
- * Create a new EmailService or update an existing EmailService.
172
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
173
- * @param emailServiceName The name of the EmailService resource.
174
- * @param parameters Parameters for the create or update operation
175
- * @param options The options parameters.
176
- */
177
- async beginCreateOrUpdateAndWait(resourceGroupName, emailServiceName, parameters, options) {
178
- const poller = await this.beginCreateOrUpdate(resourceGroupName, emailServiceName, parameters, options);
179
- return poller.pollUntilDone();
180
- }
181
- /**
182
- * Operation to delete a EmailService.
183
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
184
- * @param emailServiceName The name of the EmailService resource.
185
- * @param options The options parameters.
186
- */
187
- async beginDelete(resourceGroupName, emailServiceName, options) {
188
- const directSendOperation = async (args, spec) => {
189
- return this.client.sendOperationRequest(args, spec);
190
- };
191
- const sendOperationFn = async (args, spec) => {
192
- let currentRawResponse = undefined;
193
- const providedCallback = args.options?.onResponse;
194
- const callback = (rawResponse, flatResponse) => {
195
- currentRawResponse = rawResponse;
196
- providedCallback?.(rawResponse, flatResponse);
197
- };
198
- const updatedArgs = {
199
- ...args,
200
- options: {
201
- ...args.options,
202
- onResponse: callback,
203
- },
204
- };
205
- const flatResponse = await directSendOperation(updatedArgs, spec);
206
- return {
207
- flatResponse,
208
- rawResponse: {
209
- statusCode: currentRawResponse.status,
210
- body: currentRawResponse.parsedBody,
211
- headers: currentRawResponse.headers.toJSON(),
212
- },
213
- };
214
- };
215
- const lro = (0, lroImpl_js_1.createLroSpec)({
216
- sendOperationFn,
217
- args: { resourceGroupName, emailServiceName, options },
218
- spec: deleteOperationSpec,
219
- });
220
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
221
- restoreFrom: options?.resumeFrom,
222
- intervalInMs: options?.updateIntervalInMs,
223
- resourceLocationConfig: "location",
224
- });
225
- await poller.poll();
226
- return poller;
227
- }
228
- /**
229
- * Operation to delete a EmailService.
230
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
231
- * @param emailServiceName The name of the EmailService resource.
232
- * @param options The options parameters.
233
- */
234
- async beginDeleteAndWait(resourceGroupName, emailServiceName, options) {
235
- const poller = await this.beginDelete(resourceGroupName, emailServiceName, options);
236
- return poller.pollUntilDone();
237
- }
238
- /**
239
- * Operation to update an existing EmailService.
240
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
241
- * @param emailServiceName The name of the EmailService resource.
242
- * @param parameters Parameters for the update operation
243
- * @param options The options parameters.
244
- */
245
- async beginUpdate(resourceGroupName, emailServiceName, parameters, options) {
246
- const directSendOperation = async (args, spec) => {
247
- return this.client.sendOperationRequest(args, spec);
248
- };
249
- const sendOperationFn = async (args, spec) => {
250
- let currentRawResponse = undefined;
251
- const providedCallback = args.options?.onResponse;
252
- const callback = (rawResponse, flatResponse) => {
253
- currentRawResponse = rawResponse;
254
- providedCallback?.(rawResponse, flatResponse);
255
- };
256
- const updatedArgs = {
257
- ...args,
258
- options: {
259
- ...args.options,
260
- onResponse: callback,
261
- },
262
- };
263
- const flatResponse = await directSendOperation(updatedArgs, spec);
264
- return {
265
- flatResponse,
266
- rawResponse: {
267
- statusCode: currentRawResponse.status,
268
- body: currentRawResponse.parsedBody,
269
- headers: currentRawResponse.headers.toJSON(),
270
- },
271
- };
272
- };
273
- const lro = (0, lroImpl_js_1.createLroSpec)({
274
- sendOperationFn,
275
- args: { resourceGroupName, emailServiceName, parameters, options },
276
- spec: updateOperationSpec,
277
- });
278
- const poller = await (0, core_lro_1.createHttpPoller)(lro, {
279
- restoreFrom: options?.resumeFrom,
280
- intervalInMs: options?.updateIntervalInMs,
281
- resourceLocationConfig: "azure-async-operation",
282
- });
283
- await poller.poll();
284
- return poller;
285
- }
286
- /**
287
- * Operation to update an existing EmailService.
288
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
289
- * @param emailServiceName The name of the EmailService resource.
290
- * @param parameters Parameters for the update operation
291
- * @param options The options parameters.
292
- */
293
- async beginUpdateAndWait(resourceGroupName, emailServiceName, parameters, options) {
294
- const poller = await this.beginUpdate(resourceGroupName, emailServiceName, parameters, options);
295
- return poller.pollUntilDone();
296
- }
297
- /**
298
- * Handles requests to list all resources in a subscription.
299
- * @param options The options parameters.
300
- */
301
- _listBySubscription(options) {
302
- return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
303
- }
304
- /**
305
- * Handles requests to list all resources in a resource group.
306
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
307
- * @param options The options parameters.
308
- */
309
- _listByResourceGroup(resourceGroupName, options) {
310
- return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
311
- }
312
- /**
313
- * Get a list of domains that are fully verified in Exchange Online.
314
- * @param options The options parameters.
315
- */
316
- listVerifiedExchangeOnlineDomains(options) {
317
- return this.client.sendOperationRequest({ options }, listVerifiedExchangeOnlineDomainsOperationSpec);
318
- }
319
- /**
320
- * ListBySubscriptionNext
321
- * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
322
- * @param options The options parameters.
323
- */
324
- _listBySubscriptionNext(nextLink, options) {
325
- return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
326
- }
327
- /**
328
- * ListByResourceGroupNext
329
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
330
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
331
- * @param options The options parameters.
332
- */
333
- _listByResourceGroupNext(resourceGroupName, nextLink, options) {
334
- return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
335
- }
336
- }
337
- exports.EmailServicesImpl = EmailServicesImpl;
338
- // Operation Specifications
339
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
340
- const getOperationSpec = {
341
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}",
342
- httpMethod: "GET",
343
- responses: {
344
- 200: {
345
- bodyMapper: Mappers.EmailServiceResource,
346
- },
347
- default: {
348
- bodyMapper: Mappers.ErrorResponse,
349
- },
350
- },
351
- queryParameters: [Parameters.apiVersion],
352
- urlParameters: [
353
- Parameters.$host,
354
- Parameters.subscriptionId,
355
- Parameters.resourceGroupName,
356
- Parameters.emailServiceName,
357
- ],
358
- headerParameters: [Parameters.accept],
359
- serializer,
360
- };
361
- const createOrUpdateOperationSpec = {
362
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}",
363
- httpMethod: "PUT",
364
- responses: {
365
- 200: {
366
- bodyMapper: Mappers.EmailServiceResource,
367
- },
368
- 201: {
369
- bodyMapper: Mappers.EmailServiceResource,
370
- },
371
- 202: {
372
- bodyMapper: Mappers.EmailServiceResource,
373
- },
374
- 204: {
375
- bodyMapper: Mappers.EmailServiceResource,
376
- },
377
- default: {
378
- bodyMapper: Mappers.ErrorResponse,
379
- },
380
- },
381
- requestBody: Parameters.parameters6,
382
- queryParameters: [Parameters.apiVersion],
383
- urlParameters: [
384
- Parameters.$host,
385
- Parameters.subscriptionId,
386
- Parameters.resourceGroupName,
387
- Parameters.emailServiceName,
388
- ],
389
- headerParameters: [Parameters.accept, Parameters.contentType],
390
- mediaType: "json",
391
- serializer,
392
- };
393
- const deleteOperationSpec = {
394
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}",
395
- httpMethod: "DELETE",
396
- responses: {
397
- 200: {},
398
- 201: {},
399
- 202: {},
400
- 204: {},
401
- default: {
402
- bodyMapper: Mappers.ErrorResponse,
403
- },
404
- },
405
- queryParameters: [Parameters.apiVersion],
406
- urlParameters: [
407
- Parameters.$host,
408
- Parameters.subscriptionId,
409
- Parameters.resourceGroupName,
410
- Parameters.emailServiceName,
411
- ],
412
- headerParameters: [Parameters.accept],
413
- serializer,
414
- };
415
- const updateOperationSpec = {
416
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices/{emailServiceName}",
417
- httpMethod: "PATCH",
418
- responses: {
419
- 200: {
420
- bodyMapper: Mappers.EmailServiceResource,
421
- },
422
- 201: {
423
- bodyMapper: Mappers.EmailServiceResource,
424
- },
425
- 202: {
426
- bodyMapper: Mappers.EmailServiceResource,
427
- },
428
- 204: {
429
- bodyMapper: Mappers.EmailServiceResource,
430
- },
431
- default: {
432
- bodyMapper: Mappers.ErrorResponse,
433
- },
434
- },
435
- requestBody: Parameters.parameters7,
436
- queryParameters: [Parameters.apiVersion],
437
- urlParameters: [
438
- Parameters.$host,
439
- Parameters.subscriptionId,
440
- Parameters.resourceGroupName,
441
- Parameters.emailServiceName,
442
- ],
443
- headerParameters: [Parameters.accept, Parameters.contentType],
444
- mediaType: "json",
445
- serializer,
446
- };
447
- const listBySubscriptionOperationSpec = {
448
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Communication/emailServices",
449
- httpMethod: "GET",
450
- responses: {
451
- 200: {
452
- bodyMapper: Mappers.EmailServiceResourceList,
453
- },
454
- default: {
455
- bodyMapper: Mappers.ErrorResponse,
456
- },
457
- },
458
- queryParameters: [Parameters.apiVersion],
459
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
460
- headerParameters: [Parameters.accept],
461
- serializer,
462
- };
463
- const listByResourceGroupOperationSpec = {
464
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/emailServices",
465
- httpMethod: "GET",
466
- responses: {
467
- 200: {
468
- bodyMapper: Mappers.EmailServiceResourceList,
469
- },
470
- default: {
471
- bodyMapper: Mappers.ErrorResponse,
472
- },
473
- },
474
- queryParameters: [Parameters.apiVersion],
475
- urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
476
- headerParameters: [Parameters.accept],
477
- serializer,
478
- };
479
- const listVerifiedExchangeOnlineDomainsOperationSpec = {
480
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Communication/listVerifiedExchangeOnlineDomains",
481
- httpMethod: "POST",
482
- responses: {
483
- 200: {
484
- bodyMapper: {
485
- type: { name: "Sequence", element: { type: { name: "String" } } },
486
- },
487
- },
488
- default: {
489
- bodyMapper: Mappers.ErrorResponse,
490
- },
491
- },
492
- queryParameters: [Parameters.apiVersion],
493
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
494
- headerParameters: [Parameters.accept],
495
- serializer,
496
- };
497
- const listBySubscriptionNextOperationSpec = {
498
- path: "{nextLink}",
499
- httpMethod: "GET",
500
- responses: {
501
- 200: {
502
- bodyMapper: Mappers.EmailServiceResourceList,
503
- },
504
- default: {
505
- bodyMapper: Mappers.ErrorResponse,
506
- },
507
- },
508
- urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.subscriptionId],
509
- headerParameters: [Parameters.accept],
510
- serializer,
511
- };
512
- const listByResourceGroupNextOperationSpec = {
513
- path: "{nextLink}",
514
- httpMethod: "GET",
515
- responses: {
516
- 200: {
517
- bodyMapper: Mappers.EmailServiceResourceList,
518
- },
519
- default: {
520
- bodyMapper: Mappers.ErrorResponse,
521
- },
522
- },
523
- urlParameters: [
524
- Parameters.$host,
525
- Parameters.nextLink,
526
- Parameters.subscriptionId,
527
- Parameters.resourceGroupName,
528
- ],
529
- headerParameters: [Parameters.accept],
530
- serializer,
531
- };
532
- //# 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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAuB9C,4CAA4C;AAC5C,iDAAiD;AACjD,MAAa,iBAAiB;IACX,MAAM,CAAuC;IAE9D;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AAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,EAAE,UAAU,CAAC,cAAc,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,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,16 +0,0 @@
1
- "use strict";
2
- // Copyright (c) Microsoft Corporation.
3
- // Licensed under the MIT License.
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- const tslib_1 = require("tslib");
6
- // Code generated by Microsoft (R) AutoRest Code Generator.
7
- // Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- tslib_1.__exportStar(require("./operations.js"), exports);
9
- tslib_1.__exportStar(require("./communicationServices.js"), exports);
10
- tslib_1.__exportStar(require("./domains.js"), exports);
11
- tslib_1.__exportStar(require("./emailServices.js"), exports);
12
- tslib_1.__exportStar(require("./senderUsernames.js"), exports);
13
- tslib_1.__exportStar(require("./smtpUsernames.js"), exports);
14
- tslib_1.__exportStar(require("./suppressionLists.js"), exports);
15
- tslib_1.__exportStar(require("./suppressionListAddresses.js"), exports);
16
- //# 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,0DAAgC;AAChC,qEAA2C;AAC3C,uDAA6B;AAC7B,6DAAmC;AACnC,+DAAqC;AACrC,6DAAmC;AACnC,gEAAsC;AACtC,wEAA8C","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"]}