@azure-tools/communication-recipient-verification 1.0.0-alpha.20241119.1 → 1.0.0-alpha.20241122.8

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 (291) hide show
  1. package/dist/index.js +661 -0
  2. package/dist/index.js.map +1 -0
  3. package/{dist/esm → dist-esm/src}/generated/src/index.js +3 -3
  4. package/dist-esm/src/generated/src/index.js.map +1 -0
  5. package/{dist/browser → dist-esm/src}/generated/src/models/parameters.js +1 -1
  6. package/{dist/esm → dist-esm/src}/generated/src/models/parameters.js.map +1 -1
  7. package/{dist/esm → dist-esm/src}/generated/src/operations/acsVerificationOperations.js +3 -3
  8. package/dist-esm/src/generated/src/operations/acsVerificationOperations.js.map +1 -0
  9. package/{dist/esm/generated/src/models → dist-esm/src/generated/src/operations}/index.js +1 -1
  10. package/{dist/esm → dist-esm/src}/generated/src/operations/index.js.map +1 -1
  11. package/dist-esm/src/generated/src/operationsInterfaces/acsVerificationOperations.js.map +1 -0
  12. package/{dist/react-native/generated/src/models → dist-esm/src/generated/src/operationsInterfaces}/index.js +1 -1
  13. package/{dist/react-native → dist-esm/src}/generated/src/operationsInterfaces/index.js.map +1 -1
  14. package/{dist/react-native → dist-esm/src}/generated/src/recipientVerificationClient.js +1 -1
  15. package/dist-esm/src/generated/src/recipientVerificationClient.js.map +1 -0
  16. package/dist-esm/src/index.js +6 -0
  17. package/dist-esm/src/index.js.map +1 -0
  18. package/{dist/esm → dist-esm/src}/mappers.js +5 -5
  19. package/dist-esm/src/mappers.js.map +1 -0
  20. package/{dist/browser → dist-esm/src}/models.js.map +1 -1
  21. package/{dist/esm → dist-esm/src}/recipientVerificationClient.js +3 -3
  22. package/dist-esm/src/recipientVerificationClient.js.map +1 -0
  23. package/dist-esm/src/utils/index.js +5 -0
  24. package/dist-esm/src/utils/index.js.map +1 -0
  25. package/package.json +37 -57
  26. package/dist/browser/generated/src/index.d.ts +0 -4
  27. package/dist/browser/generated/src/index.d.ts.map +0 -1
  28. package/dist/browser/generated/src/index.js +0 -11
  29. package/dist/browser/generated/src/index.js.map +0 -1
  30. package/dist/browser/generated/src/models/index.d.ts +0 -112
  31. package/dist/browser/generated/src/models/index.d.ts.map +0 -1
  32. package/dist/browser/generated/src/models/mappers.d.ts +0 -9
  33. package/dist/browser/generated/src/models/mappers.d.ts.map +0 -1
  34. package/dist/browser/generated/src/models/parameters.d.ts +0 -10
  35. package/dist/browser/generated/src/models/parameters.d.ts.map +0 -1
  36. package/dist/browser/generated/src/models/parameters.js.map +0 -1
  37. package/dist/browser/generated/src/operations/acsVerificationOperations.d.ts +0 -40
  38. package/dist/browser/generated/src/operations/acsVerificationOperations.d.ts.map +0 -1
  39. package/dist/browser/generated/src/operations/acsVerificationOperations.js +0 -167
  40. package/dist/browser/generated/src/operations/acsVerificationOperations.js.map +0 -1
  41. package/dist/browser/generated/src/operations/index.d.ts +0 -2
  42. package/dist/browser/generated/src/operations/index.d.ts.map +0 -1
  43. package/dist/browser/generated/src/operations/index.js +0 -9
  44. package/dist/browser/generated/src/operations/index.js.map +0 -1
  45. package/dist/browser/generated/src/operationsInterfaces/acsVerificationOperations.d.ts +0 -32
  46. package/dist/browser/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +0 -1
  47. package/dist/browser/generated/src/operationsInterfaces/acsVerificationOperations.js.map +0 -1
  48. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +0 -2
  49. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  50. package/dist/browser/generated/src/operationsInterfaces/index.js +0 -9
  51. package/dist/browser/generated/src/operationsInterfaces/index.js.map +0 -1
  52. package/dist/browser/generated/src/recipientVerificationClient.d.ts +0 -17
  53. package/dist/browser/generated/src/recipientVerificationClient.d.ts.map +0 -1
  54. package/dist/browser/generated/src/recipientVerificationClient.js +0 -86
  55. package/dist/browser/generated/src/recipientVerificationClient.js.map +0 -1
  56. package/dist/browser/generated/src/tracing.d.ts +0 -2
  57. package/dist/browser/generated/src/tracing.d.ts.map +0 -1
  58. package/dist/browser/index.d.ts +0 -4
  59. package/dist/browser/index.d.ts.map +0 -1
  60. package/dist/browser/index.js +0 -6
  61. package/dist/browser/index.js.map +0 -1
  62. package/dist/browser/mappers.d.ts +0 -6
  63. package/dist/browser/mappers.d.ts.map +0 -1
  64. package/dist/browser/mappers.js +0 -8
  65. package/dist/browser/mappers.js.map +0 -1
  66. package/dist/browser/models.d.ts +0 -2
  67. package/dist/browser/models.d.ts.map +0 -1
  68. package/dist/browser/package.json +0 -3
  69. package/dist/browser/recipientVerificationClient.d.ts +0 -74
  70. package/dist/browser/recipientVerificationClient.d.ts.map +0 -1
  71. package/dist/browser/recipientVerificationClient.js +0 -82
  72. package/dist/browser/recipientVerificationClient.js.map +0 -1
  73. package/dist/browser/utils/constants.d.ts +0 -2
  74. package/dist/browser/utils/constants.d.ts.map +0 -1
  75. package/dist/browser/utils/index.d.ts +0 -3
  76. package/dist/browser/utils/index.d.ts.map +0 -1
  77. package/dist/browser/utils/index.js +0 -5
  78. package/dist/browser/utils/index.js.map +0 -1
  79. package/dist/browser/utils/logger.d.ts +0 -5
  80. package/dist/browser/utils/logger.d.ts.map +0 -1
  81. package/dist/commonjs/generated/src/index.d.ts +0 -4
  82. package/dist/commonjs/generated/src/index.d.ts.map +0 -1
  83. package/dist/commonjs/generated/src/index.js +0 -16
  84. package/dist/commonjs/generated/src/index.js.map +0 -1
  85. package/dist/commonjs/generated/src/models/index.d.ts +0 -112
  86. package/dist/commonjs/generated/src/models/index.d.ts.map +0 -1
  87. package/dist/commonjs/generated/src/models/index.js +0 -10
  88. package/dist/commonjs/generated/src/models/index.js.map +0 -1
  89. package/dist/commonjs/generated/src/models/mappers.d.ts +0 -9
  90. package/dist/commonjs/generated/src/models/mappers.d.ts.map +0 -1
  91. package/dist/commonjs/generated/src/models/mappers.js +0 -211
  92. package/dist/commonjs/generated/src/models/mappers.js.map +0 -1
  93. package/dist/commonjs/generated/src/models/parameters.d.ts +0 -10
  94. package/dist/commonjs/generated/src/models/parameters.d.ts.map +0 -1
  95. package/dist/commonjs/generated/src/models/parameters.js +0 -78
  96. package/dist/commonjs/generated/src/models/parameters.js.map +0 -1
  97. package/dist/commonjs/generated/src/operations/acsVerificationOperations.d.ts +0 -40
  98. package/dist/commonjs/generated/src/operations/acsVerificationOperations.d.ts.map +0 -1
  99. package/dist/commonjs/generated/src/operations/acsVerificationOperations.js +0 -172
  100. package/dist/commonjs/generated/src/operations/acsVerificationOperations.js.map +0 -1
  101. package/dist/commonjs/generated/src/operations/index.d.ts +0 -2
  102. package/dist/commonjs/generated/src/operations/index.d.ts.map +0 -1
  103. package/dist/commonjs/generated/src/operations/index.js +0 -12
  104. package/dist/commonjs/generated/src/operations/index.js.map +0 -1
  105. package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.d.ts +0 -32
  106. package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +0 -1
  107. package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.js +0 -10
  108. package/dist/commonjs/generated/src/operationsInterfaces/acsVerificationOperations.js.map +0 -1
  109. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +0 -2
  110. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  111. package/dist/commonjs/generated/src/operationsInterfaces/index.js +0 -12
  112. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +0 -1
  113. package/dist/commonjs/generated/src/recipientVerificationClient.d.ts +0 -17
  114. package/dist/commonjs/generated/src/recipientVerificationClient.d.ts.map +0 -1
  115. package/dist/commonjs/generated/src/recipientVerificationClient.js +0 -91
  116. package/dist/commonjs/generated/src/recipientVerificationClient.js.map +0 -1
  117. package/dist/commonjs/generated/src/tracing.d.ts +0 -2
  118. package/dist/commonjs/generated/src/tracing.d.ts.map +0 -1
  119. package/dist/commonjs/generated/src/tracing.js +0 -17
  120. package/dist/commonjs/generated/src/tracing.js.map +0 -1
  121. package/dist/commonjs/index.d.ts +0 -4
  122. package/dist/commonjs/index.d.ts.map +0 -1
  123. package/dist/commonjs/index.js +0 -9
  124. package/dist/commonjs/index.js.map +0 -1
  125. package/dist/commonjs/mappers.d.ts +0 -6
  126. package/dist/commonjs/mappers.d.ts.map +0 -1
  127. package/dist/commonjs/mappers.js +0 -16
  128. package/dist/commonjs/mappers.js.map +0 -1
  129. package/dist/commonjs/models.d.ts +0 -2
  130. package/dist/commonjs/models.d.ts.map +0 -1
  131. package/dist/commonjs/models.js +0 -5
  132. package/dist/commonjs/models.js.map +0 -1
  133. package/dist/commonjs/package.json +0 -3
  134. package/dist/commonjs/recipientVerificationClient.d.ts +0 -74
  135. package/dist/commonjs/recipientVerificationClient.d.ts.map +0 -1
  136. package/dist/commonjs/recipientVerificationClient.js +0 -86
  137. package/dist/commonjs/recipientVerificationClient.js.map +0 -1
  138. package/dist/commonjs/tsdoc-metadata.json +0 -11
  139. package/dist/commonjs/utils/constants.d.ts +0 -2
  140. package/dist/commonjs/utils/constants.d.ts.map +0 -1
  141. package/dist/commonjs/utils/constants.js +0 -7
  142. package/dist/commonjs/utils/constants.js.map +0 -1
  143. package/dist/commonjs/utils/index.d.ts +0 -3
  144. package/dist/commonjs/utils/index.d.ts.map +0 -1
  145. package/dist/commonjs/utils/index.js +0 -8
  146. package/dist/commonjs/utils/index.js.map +0 -1
  147. package/dist/commonjs/utils/logger.d.ts +0 -5
  148. package/dist/commonjs/utils/logger.d.ts.map +0 -1
  149. package/dist/commonjs/utils/logger.js +0 -11
  150. package/dist/commonjs/utils/logger.js.map +0 -1
  151. package/dist/esm/generated/src/index.d.ts +0 -4
  152. package/dist/esm/generated/src/index.d.ts.map +0 -1
  153. package/dist/esm/generated/src/index.js.map +0 -1
  154. package/dist/esm/generated/src/models/index.d.ts +0 -112
  155. package/dist/esm/generated/src/models/index.d.ts.map +0 -1
  156. package/dist/esm/generated/src/models/index.js.map +0 -1
  157. package/dist/esm/generated/src/models/mappers.d.ts +0 -9
  158. package/dist/esm/generated/src/models/mappers.d.ts.map +0 -1
  159. package/dist/esm/generated/src/models/mappers.js +0 -208
  160. package/dist/esm/generated/src/models/mappers.js.map +0 -1
  161. package/dist/esm/generated/src/models/parameters.d.ts +0 -10
  162. package/dist/esm/generated/src/models/parameters.d.ts.map +0 -1
  163. package/dist/esm/generated/src/models/parameters.js +0 -75
  164. package/dist/esm/generated/src/operations/acsVerificationOperations.d.ts +0 -40
  165. package/dist/esm/generated/src/operations/acsVerificationOperations.d.ts.map +0 -1
  166. package/dist/esm/generated/src/operations/acsVerificationOperations.js.map +0 -1
  167. package/dist/esm/generated/src/operations/index.d.ts +0 -2
  168. package/dist/esm/generated/src/operations/index.d.ts.map +0 -1
  169. package/dist/esm/generated/src/operations/index.js +0 -9
  170. package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.d.ts +0 -32
  171. package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +0 -1
  172. package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.js +0 -9
  173. package/dist/esm/generated/src/operationsInterfaces/acsVerificationOperations.js.map +0 -1
  174. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +0 -2
  175. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  176. package/dist/esm/generated/src/operationsInterfaces/index.js +0 -9
  177. package/dist/esm/generated/src/operationsInterfaces/index.js.map +0 -1
  178. package/dist/esm/generated/src/recipientVerificationClient.d.ts +0 -17
  179. package/dist/esm/generated/src/recipientVerificationClient.d.ts.map +0 -1
  180. package/dist/esm/generated/src/recipientVerificationClient.js +0 -86
  181. package/dist/esm/generated/src/recipientVerificationClient.js.map +0 -1
  182. package/dist/esm/generated/src/tracing.d.ts +0 -2
  183. package/dist/esm/generated/src/tracing.d.ts.map +0 -1
  184. package/dist/esm/generated/src/tracing.js +0 -14
  185. package/dist/esm/generated/src/tracing.js.map +0 -1
  186. package/dist/esm/index.d.ts +0 -4
  187. package/dist/esm/index.d.ts.map +0 -1
  188. package/dist/esm/index.js +0 -6
  189. package/dist/esm/index.js.map +0 -1
  190. package/dist/esm/mappers.d.ts +0 -6
  191. package/dist/esm/mappers.d.ts.map +0 -1
  192. package/dist/esm/mappers.js.map +0 -1
  193. package/dist/esm/models.d.ts +0 -2
  194. package/dist/esm/models.d.ts.map +0 -1
  195. package/dist/esm/models.js +0 -4
  196. package/dist/esm/models.js.map +0 -1
  197. package/dist/esm/package.json +0 -3
  198. package/dist/esm/recipientVerificationClient.d.ts +0 -74
  199. package/dist/esm/recipientVerificationClient.d.ts.map +0 -1
  200. package/dist/esm/recipientVerificationClient.js.map +0 -1
  201. package/dist/esm/utils/constants.d.ts +0 -2
  202. package/dist/esm/utils/constants.d.ts.map +0 -1
  203. package/dist/esm/utils/constants.js +0 -4
  204. package/dist/esm/utils/constants.js.map +0 -1
  205. package/dist/esm/utils/index.d.ts +0 -3
  206. package/dist/esm/utils/index.d.ts.map +0 -1
  207. package/dist/esm/utils/index.js +0 -5
  208. package/dist/esm/utils/index.js.map +0 -1
  209. package/dist/esm/utils/logger.d.ts +0 -5
  210. package/dist/esm/utils/logger.d.ts.map +0 -1
  211. package/dist/esm/utils/logger.js +0 -8
  212. package/dist/esm/utils/logger.js.map +0 -1
  213. package/dist/react-native/generated/src/index.d.ts +0 -4
  214. package/dist/react-native/generated/src/index.d.ts.map +0 -1
  215. package/dist/react-native/generated/src/index.js +0 -11
  216. package/dist/react-native/generated/src/index.js.map +0 -1
  217. package/dist/react-native/generated/src/models/index.d.ts +0 -112
  218. package/dist/react-native/generated/src/models/index.d.ts.map +0 -1
  219. package/dist/react-native/generated/src/models/index.js.map +0 -1
  220. package/dist/react-native/generated/src/models/mappers.d.ts +0 -9
  221. package/dist/react-native/generated/src/models/mappers.d.ts.map +0 -1
  222. package/dist/react-native/generated/src/models/mappers.js +0 -208
  223. package/dist/react-native/generated/src/models/mappers.js.map +0 -1
  224. package/dist/react-native/generated/src/models/parameters.d.ts +0 -10
  225. package/dist/react-native/generated/src/models/parameters.d.ts.map +0 -1
  226. package/dist/react-native/generated/src/models/parameters.js +0 -75
  227. package/dist/react-native/generated/src/models/parameters.js.map +0 -1
  228. package/dist/react-native/generated/src/operations/acsVerificationOperations.d.ts +0 -40
  229. package/dist/react-native/generated/src/operations/acsVerificationOperations.d.ts.map +0 -1
  230. package/dist/react-native/generated/src/operations/acsVerificationOperations.js +0 -167
  231. package/dist/react-native/generated/src/operations/acsVerificationOperations.js.map +0 -1
  232. package/dist/react-native/generated/src/operations/index.d.ts +0 -2
  233. package/dist/react-native/generated/src/operations/index.d.ts.map +0 -1
  234. package/dist/react-native/generated/src/operations/index.js +0 -9
  235. package/dist/react-native/generated/src/operations/index.js.map +0 -1
  236. package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.d.ts +0 -32
  237. package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.d.ts.map +0 -1
  238. package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.js +0 -9
  239. package/dist/react-native/generated/src/operationsInterfaces/acsVerificationOperations.js.map +0 -1
  240. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +0 -2
  241. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  242. package/dist/react-native/generated/src/operationsInterfaces/index.js +0 -9
  243. package/dist/react-native/generated/src/recipientVerificationClient.d.ts +0 -17
  244. package/dist/react-native/generated/src/recipientVerificationClient.d.ts.map +0 -1
  245. package/dist/react-native/generated/src/recipientVerificationClient.js.map +0 -1
  246. package/dist/react-native/generated/src/tracing.d.ts +0 -2
  247. package/dist/react-native/generated/src/tracing.d.ts.map +0 -1
  248. package/dist/react-native/generated/src/tracing.js +0 -14
  249. package/dist/react-native/generated/src/tracing.js.map +0 -1
  250. package/dist/react-native/index.d.ts +0 -4
  251. package/dist/react-native/index.d.ts.map +0 -1
  252. package/dist/react-native/index.js +0 -6
  253. package/dist/react-native/index.js.map +0 -1
  254. package/dist/react-native/mappers.d.ts +0 -6
  255. package/dist/react-native/mappers.d.ts.map +0 -1
  256. package/dist/react-native/mappers.js +0 -8
  257. package/dist/react-native/mappers.js.map +0 -1
  258. package/dist/react-native/models.d.ts +0 -2
  259. package/dist/react-native/models.d.ts.map +0 -1
  260. package/dist/react-native/models.js +0 -4
  261. package/dist/react-native/models.js.map +0 -1
  262. package/dist/react-native/package.json +0 -3
  263. package/dist/react-native/recipientVerificationClient.d.ts +0 -74
  264. package/dist/react-native/recipientVerificationClient.d.ts.map +0 -1
  265. package/dist/react-native/recipientVerificationClient.js +0 -82
  266. package/dist/react-native/recipientVerificationClient.js.map +0 -1
  267. package/dist/react-native/utils/constants.d.ts +0 -2
  268. package/dist/react-native/utils/constants.d.ts.map +0 -1
  269. package/dist/react-native/utils/constants.js +0 -4
  270. package/dist/react-native/utils/constants.js.map +0 -1
  271. package/dist/react-native/utils/index.d.ts +0 -3
  272. package/dist/react-native/utils/index.d.ts.map +0 -1
  273. package/dist/react-native/utils/index.js +0 -5
  274. package/dist/react-native/utils/index.js.map +0 -1
  275. package/dist/react-native/utils/logger.d.ts +0 -5
  276. package/dist/react-native/utils/logger.d.ts.map +0 -1
  277. package/dist/react-native/utils/logger.js +0 -8
  278. package/dist/react-native/utils/logger.js.map +0 -1
  279. /package/{dist/browser → dist-esm/src}/generated/src/models/index.js +0 -0
  280. /package/{dist/browser → dist-esm/src}/generated/src/models/index.js.map +0 -0
  281. /package/{dist/browser → dist-esm/src}/generated/src/models/mappers.js +0 -0
  282. /package/{dist/browser → dist-esm/src}/generated/src/models/mappers.js.map +0 -0
  283. /package/{dist/browser → dist-esm/src}/generated/src/operationsInterfaces/acsVerificationOperations.js +0 -0
  284. /package/{dist/browser → dist-esm/src}/generated/src/tracing.js +0 -0
  285. /package/{dist/browser → dist-esm/src}/generated/src/tracing.js.map +0 -0
  286. /package/{dist/browser → dist-esm/src}/models.js +0 -0
  287. /package/{dist/browser → dist-esm/src}/utils/constants.js +0 -0
  288. /package/{dist/browser → dist-esm/src}/utils/constants.js.map +0 -0
  289. /package/{dist/browser → dist-esm/src}/utils/logger.js +0 -0
  290. /package/{dist/browser → dist-esm/src}/utils/logger.js.map +0 -0
  291. /package/{dist → types}/communication-recipient-verification.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/generated/src/models/mappers.ts","../src/generated/src/tracing.ts","../src/generated/src/models/parameters.ts","../src/generated/src/operations/acsVerificationOperations.ts","../src/generated/src/recipientVerificationClient.ts","../src/utils/logger.ts","../src/recipientVerificationClient.ts"],"sourcesContent":["/*\n * 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 */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const AcsVerification: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AcsVerification\",\n modelProperties: {\n immutableId: {\n serializedName: \"ImmutableId\",\n type: {\n name: \"String\"\n }\n },\n verificationId: {\n serializedName: \"VerificationId\",\n type: {\n name: \"String\"\n }\n },\n status: {\n serializedName: \"Status\",\n type: {\n name: \"String\"\n }\n },\n subscriptionId: {\n serializedName: \"SubscriptionId\",\n type: {\n name: \"String\"\n }\n },\n identity: {\n serializedName: \"Identity\",\n type: {\n name: \"String\"\n }\n },\n challengeId: {\n serializedName: \"ChallengeId\",\n type: {\n name: \"String\"\n }\n },\n retries: {\n serializedName: \"Retries\",\n type: {\n name: \"Number\"\n }\n },\n attempts: {\n serializedName: \"Attempts\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const CommunicationErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const CommunicationError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n },\n innerError: {\n serializedName: \"innererror\",\n type: {\n name: \"Composite\",\n className: \"CommunicationError\"\n }\n }\n }\n }\n};\n\nexport const VerificationRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VerificationRequest\",\n modelProperties: {\n identity: {\n serializedName: \"Identity\",\n type: {\n name: \"String\"\n }\n },\n channel: {\n serializedName: \"Channel\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const VerificationResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VerificationResponse\",\n modelProperties: {\n verificationId: {\n serializedName: \"VerificationId\",\n type: {\n name: \"String\"\n }\n },\n isVerified: {\n serializedName: \"IsVerified\",\n type: {\n name: \"Boolean\"\n }\n }\n }\n }\n};\n\nexport const VerificationCodeRequest: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VerificationCodeRequest\",\n modelProperties: {\n verificationCode: {\n serializedName: \"VerificationCode\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const VerificationConstantsResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"VerificationConstantsResponse\",\n modelProperties: {\n maxRetriesAllowed: {\n serializedName: \"MaxRetriesAllowed\",\n type: {\n name: \"Number\"\n }\n },\n maxVerificationsAllowed: {\n serializedName: \"MaxVerificationsAllowed\",\n type: {\n name: \"Number\"\n }\n },\n currentNumberOfVerifications: {\n serializedName: \"CurrentNumberOfVerifications\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n","/*\n * 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 */\n\nimport { createTracingClient } from \"@azure/core-tracing\";\n\nexport const tracingClient = createTracingClient({\n namespace: \"Microsoft.Communication\",\n packageName: \"@azure/communication-recipient-verification\",\n packageVersion: \"1.0.0-beta.1\"\n});\n","/*\n * 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 */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n VerificationRequest as VerificationRequestMapper,\n VerificationCodeRequest as VerificationCodeRequestMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-11-15\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const identity: OperationParameter = {\n parameterPath: [\"options\", \"identity\"],\n mapper: VerificationRequestMapper\n};\n\nexport const channel: OperationParameter = {\n parameterPath: [\"options\", \"channel\"],\n mapper: VerificationRequestMapper\n};\n\nexport const verificationCode: OperationParameter = {\n parameterPath: [\"options\", \"verificationCode\"],\n mapper: VerificationCodeRequestMapper\n};\n\nexport const verificationId: OperationURLParameter = {\n parameterPath: \"verificationId\",\n mapper: {\n serializedName: \"verificationId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n","/*\n * 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 */\n\nimport { tracingClient } from \"../tracing\";\nimport { AcsVerificationOperations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { RecipientVerificationClient } from \"../recipientVerificationClient\";\nimport {\n AcsVerificationGetVerificationsOptionalParams,\n AcsVerificationGetVerificationsResponse,\n AcsVerificationRequestVerificationOptionalParams,\n AcsVerificationRequestVerificationResponse,\n AcsVerificationVerifyIdentityOptionalParams,\n AcsVerificationVerifyIdentityResponse,\n AcsVerificationDeleteVerificationOptionalParams,\n AcsVerificationGetVerificationConstantsOptionalParams,\n AcsVerificationGetVerificationConstantsResponse\n} from \"../models\";\n\n/** Class containing AcsVerificationOperations operations. */\nexport class AcsVerificationOperationsImpl\n implements AcsVerificationOperations {\n private readonly client: RecipientVerificationClient;\n\n /**\n * Initialize a new instance of the class AcsVerificationOperations class.\n * @param client Reference to the service client\n */\n constructor(client: RecipientVerificationClient) {\n this.client = client;\n }\n\n /**\n * Gets the array of verified phone numbers for the current resource.\n * @param options The options parameters.\n */\n async getVerifications(\n options?: AcsVerificationGetVerificationsOptionalParams\n ): Promise<AcsVerificationGetVerificationsResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.getVerifications\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getVerificationsOperationSpec\n ) as Promise<AcsVerificationGetVerificationsResponse>;\n }\n );\n }\n\n /**\n * Request the identity for the verification.\n * @param options The options parameters.\n */\n async requestVerification(\n options?: AcsVerificationRequestVerificationOptionalParams\n ): Promise<AcsVerificationRequestVerificationResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.requestVerification\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n requestVerificationOperationSpec\n ) as Promise<AcsVerificationRequestVerificationResponse>;\n }\n );\n }\n\n /**\n * Verify that the user received the correct verification code.\n * @param verificationId Verification Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async verifyIdentity(\n verificationId: string,\n options?: AcsVerificationVerifyIdentityOptionalParams\n ): Promise<AcsVerificationVerifyIdentityResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.verifyIdentity\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { verificationId, options },\n verifyIdentityOperationSpec\n ) as Promise<AcsVerificationVerifyIdentityResponse>;\n }\n );\n }\n\n /**\n * Deleting a verification.\n * @param verificationId Verification Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async deleteVerification(\n verificationId: string,\n options?: AcsVerificationDeleteVerificationOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.deleteVerification\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { verificationId, options },\n deleteVerificationOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Getting all the constants for the resource.\n * @param options The options parameters.\n */\n async getVerificationConstants(\n options?: AcsVerificationGetVerificationConstantsOptionalParams\n ): Promise<AcsVerificationGetVerificationConstantsResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.getVerificationConstants\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getVerificationConstantsOperationSpec\n ) as Promise<AcsVerificationGetVerificationConstantsResponse>;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getVerificationsOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: { type: { name: \"Composite\", className: \"AcsVerification\" } }\n }\n }\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst requestVerificationOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.VerificationResponse\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: {\n identity: [\"options\", \"identity\"],\n channel: [\"options\", \"channel\"]\n },\n mapper: Mappers.VerificationRequest\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst verifyIdentityOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications/{verificationId}/check\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.VerificationResponse\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: { verificationCode: [\"options\", \"verificationCode\"] },\n mapper: Mappers.VerificationCodeRequest\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.verificationId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteVerificationOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications/{verificationId}/\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.verificationId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getVerificationConstantsOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications/configuration\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VerificationConstantsResponse\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * 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 */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport { AcsVerificationOperationsImpl } from \"./operations\";\nimport { AcsVerificationOperations } from \"./operationsInterfaces\";\nimport { RecipientVerificationClientOptionalParams } from \"./models\";\n\nexport class RecipientVerificationClient extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the RecipientVerificationClient class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(\n endpoint: string,\n options?: RecipientVerificationClientOptionalParams\n ) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: RecipientVerificationClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-communication-recipient-verification/1.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint ?? options.baseUri ?? \"{endpoint}\"\n };\n super(optionsWithDefaults);\n\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n if (!bearerTokenAuthenticationPolicyFound) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n scopes: `${optionsWithDefaults.baseUri}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n }\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2022-11-15\";\n this.acsVerificationOperations = new AcsVerificationOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n acsVerificationOperations: AcsVerificationOperations;\n}\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\n\n/**\n * The \\@azure\\/logger configuration for this package.\n */\nexport const logger = createClientLogger(\"communication-verified-recipients\");\n","// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n/// <reference lib=\"esnext.asynciterable\" />\n\nimport type {\n AcsVerificationGetVerificationsOptionalParams,\n AcsVerificationRequestVerificationOptionalParams,\n AcsVerificationRequestVerificationResponse,\n AcsVerificationVerifyIdentityOptionalParams,\n AcsVerificationVerifyIdentityResponse,\n AcsVerificationDeleteVerificationOptionalParams,\n AcsVerificationGetVerificationConstantsOptionalParams,\n} from \"./models\";\nimport type { CommonClientOptions, InternalClientPipelineOptions } from \"@azure/core-client\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport { isTokenCredential } from \"@azure/core-auth\";\nimport type { AcsVerification, VerificationConstantsResponse } from \"./generated/src/models\";\nimport { createCommunicationAuthPolicy } from \"@azure/communication-common\";\nimport { isKeyCredential, parseClientArguments } from \"@azure/communication-common\";\nimport { RecipientVerificationClient as RecipientVerificationGeneratedClient } from \"./generated/src\";\nimport { logger } from \"./utils\";\nimport { tracingClient } from \"./generated/src/tracing\";\n\n/**\n * Client options used to configure the RecipientVerificationGeneratedClient API requests.\n */\nexport interface RecipientVerificationClientOptions extends CommonClientOptions {}\n\nconst isRecipientVerificationClientOptions = (\n options: any,\n): options is RecipientVerificationClientOptions =>\n options && !isKeyCredential(options) && !isTokenCredential(options);\n\n/**\n * Client class for interacting with Azure Communication Services Recipient Verification.\n */\nexport class RecipientVerificationClient {\n /**\n * A reference to the auto-generated RecipientVerification HTTP client.\n */\n private readonly client: RecipientVerificationGeneratedClient;\n\n /**\n * Initializes a new instance of the RecipientVerificationClient class using a connection string.\n *\n * @param connectionString - Connection string to connect to an Azure Communication Service resource. (eg: endpoint=https://contoso.eastus.communications.azure.net/;accesskey=secret)\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n public constructor(connectionString: string, options?: RecipientVerificationClientOptions);\n\n /**\n * Initializes a new instance of the RecipientVerificationClient class using an Azure KeyCredential.\n *\n * @param endpoint - The endpoint of the service (eg: https://contoso.eastus.communications.azure.net)\n * @param credential - An object that is used to authenticate requests to the service. Use the Azure KeyCredential or `@azure/identity` to create a credential.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n public constructor(\n endpoint: string,\n credential: KeyCredential,\n options?: RecipientVerificationClientOptions,\n );\n\n /**\n * Initializes a new instance of the RecipientVerificationClient class using an Azure KeyCredential.\n *\n * @param endpoint - The endpoint of the service (eg: https://contoso.eastus.communications.azure.net)\n * @param credential - An object that is used to authenticate requests to the service. Use the Azure KeyCredential or `@azure/identity` to create a credential.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n public constructor(\n endpoint: string,\n credential: TokenCredential,\n options?: RecipientVerificationClientOptions,\n );\n\n public constructor(\n connectionStringOrUrl: string,\n credentialOrOptions?: KeyCredential | TokenCredential | RecipientVerificationClientOptions,\n maybeOptions: RecipientVerificationClientOptions = {},\n ) {\n const { url, credential } = parseClientArguments(connectionStringOrUrl, credentialOrOptions);\n const options = isRecipientVerificationClientOptions(credentialOrOptions)\n ? credentialOrOptions\n : maybeOptions;\n\n const internalPipelineOptions: InternalClientPipelineOptions = {\n ...options,\n ...{\n loggingOptions: {\n logger: logger.info,\n },\n },\n };\n\n this.client = new RecipientVerificationGeneratedClient(url, internalPipelineOptions);\n const authPolicy = createCommunicationAuthPolicy(credential);\n this.client.pipeline.addPolicy(authPolicy);\n }\n\n /**\n * Returns list of verified/pending phone numbers.\n *\n * @param options - Additional request options.\n */\n public getVerifications(\n options: AcsVerificationGetVerificationsOptionalParams = {},\n ): Promise<AcsVerification[]> {\n return tracingClient.withSpan(\n \"RecipientVerification.getVerifications\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.getVerifications(updatedOptions);\n },\n );\n }\n\n /**\n * Removes a pending/verified number.\n *\n * @param verificationId - Id that is used to reference users phone number.\n * @param options - Additional request options.\n */\n public deleteVerification(\n verificationId: string,\n options: AcsVerificationDeleteVerificationOptionalParams = {},\n ): Promise<void> {\n return tracingClient.withSpan(\n \"RecipientVerification.deleteVerification\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.deleteVerification(\n verificationId,\n updatedOptions,\n );\n },\n );\n }\n\n /**\n * Verifies a users phone number.\n *\n * @param verificationId - Id that is used to reference users phone number.\n * @param options - Additional request options.\n */\n public verifyIdentity(\n verificationId: string,\n options: AcsVerificationVerifyIdentityOptionalParams = {},\n ): Promise<AcsVerificationVerifyIdentityResponse> {\n return tracingClient.withSpan(\n \"RecipientVerification.verifyIdentity\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.verifyIdentity(verificationId, updatedOptions);\n },\n );\n }\n\n /**\n * Returns information about a resource in relation to recipient verification.\n *\n * @param options - Additional request options.\n */\n public getVerificationConstants(\n options: AcsVerificationGetVerificationConstantsOptionalParams = {},\n ): Promise<VerificationConstantsResponse> {\n return tracingClient.withSpan(\n \"RecipientVerification.getVerificationConstants\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.getVerificationConstants(updatedOptions);\n },\n );\n }\n\n /**\n * Sends a code to users phone number that will be used for verification.\n *\n * @param options - Additional request options.\n */\n public requestVerification(\n options: AcsVerificationRequestVerificationOptionalParams = {},\n ): Promise<AcsVerificationRequestVerificationResponse> {\n return tracingClient.withSpan(\n \"RecipientVerification.requestVerification\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.requestVerification(updatedOptions);\n },\n );\n }\n}\n"],"names":["createTracingClient","coreClient","Mappers.CommunicationErrorResponse","Parameters.apiVersion","Parameters.endpoint","Parameters.accept","Mappers.VerificationResponse","Mappers.VerificationRequest","Parameters.contentType","Mappers.VerificationCodeRequest","Parameters.verificationId","Mappers.VerificationConstantsResponse","coreRestPipeline","createClientLogger","isKeyCredential","isTokenCredential","parseClientArguments","RecipientVerificationGeneratedClient","createCommunicationAuthPolicy"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAIU,MAAA,eAAe,GAA+B;AACzD,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE,WAAW;AACjB,QAAA,SAAS,EAAE,iBAAiB;AAC5B,QAAA,eAAe,EAAE;AACf,YAAA,WAAW,EAAE;AACX,gBAAA,cAAc,EAAE,aAAa;AAC7B,gBAAA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a,CAAC,QAAQ,CAC3B,0CAA0C,EAC1C,OAAO,EACP,CAAC,cAAc,KAAI;AACjB,YAAA,OAAO,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,kBAAkB,CAC7D,cAAc,EACd,cAAc,CACf;AACH,SAAC,CACF;;AAGH;;;;;AAKG;AACI,IAAA,cAAc,CACnB,cAAsB,EACtB,OAAA,GAAuD,EAAE,EAAA;QAEzD,OAAO,aAAa,CAAC,QAAQ,CAC3B,sCAAsC,EACtC,OAAO,EACP,CAAC,cAAc,KAAI;AACjB,YAAA,OAAO,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,cAAc,CAAC,cAAc,EAAE,cAAc,CAAC;AAC7F,SAAC,CACF;;AAGH;;;;AAIG;IACI,wBAAwB,CAC7B,UAAiE,EAAE,EAAA;QAEnE,OAAO,aAAa,CAAC,QAAQ,CAC3B,gDAAgD,EAChD,OAAO,EACP,CAAC,cAAc,KAAI;YACjB,OAAO,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,wBAAwB,CAAC,cAAc,CAAC;AACvF,SAAC,CACF;;AAGH;;;;AAIG;IACI,mBAAmB,CACxB,UAA4D,EAAE,EAAA;QAE9D,OAAO,aAAa,CAAC,QAAQ,CAC3B,2CAA2C,EAC3C,OAAO,EACP,CAAC,cAAc,KAAI;YACjB,OAAO,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,mBAAmB,CAAC,cAAc,CAAC;AAClF,SAAC,CACF;;AAEJ;;;;;;;;;"}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export * from "./models/index.js";
9
- export { RecipientVerificationClient } from "./recipientVerificationClient.js";
10
- export * from "./operationsInterfaces/index.js";
8
+ export * from "./models";
9
+ export { RecipientVerificationClient } from "./recipientVerificationClient";
10
+ export * from "./operationsInterfaces";
11
11
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,cAAc,wBAAwB,CAAC","sourcesContent":["/*\n * 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 */\n\nexport * from \"./models\";\nexport { RecipientVerificationClient } from \"./recipientVerificationClient\";\nexport * from \"./operationsInterfaces\";\n"]}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { VerificationRequest as VerificationRequestMapper, VerificationCodeRequest as VerificationCodeRequestMapper } from "../models/mappers.js";
8
+ import { VerificationRequest as VerificationRequestMapper, VerificationCodeRequest as VerificationCodeRequestMapper } from "../models/mappers";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,mBAAmB,IAAI,yBAAyB,EAChD,uBAAuB,IAAI,6BAA6B,EACzD,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,c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Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n VerificationRequest as VerificationRequestMapper,\n VerificationCodeRequest as VerificationCodeRequestMapper\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-11-15\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const identity: OperationParameter = {\n parameterPath: [\"options\", \"identity\"],\n mapper: VerificationRequestMapper\n};\n\nexport const channel: OperationParameter = {\n parameterPath: [\"options\", \"channel\"],\n mapper: VerificationRequestMapper\n};\n\nexport const verificationCode: OperationParameter = {\n parameterPath: [\"options\", \"verificationCode\"],\n mapper: VerificationCodeRequestMapper\n};\n\nexport const verificationId: OperationURLParameter = {\n parameterPath: \"verificationId\",\n mapper: {\n serializedName: \"verificationId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,mBAAmB,IAAI,yBAAyB,EAChD,uBAAuB,IAAI,6BAA6B,EACzD,MAAM,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,EAAE,kBAAkB,CAAC;IAC9C,MAAM,EAAE,6BAA6B;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA0B;IACnD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,gBAAgB;QAChC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;SACb;KACF;CACF,CAAC","sourcesContent":["/*\n * 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 */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n VerificationRequest as VerificationRequestMapper,\n VerificationCodeRequest as VerificationCodeRequestMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const endpoint: OperationURLParameter = {\n parameterPath: \"endpoint\",\n mapper: {\n serializedName: \"endpoint\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-11-15\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const identity: OperationParameter = {\n parameterPath: [\"options\", \"identity\"],\n mapper: VerificationRequestMapper\n};\n\nexport const channel: OperationParameter = {\n parameterPath: [\"options\", \"channel\"],\n mapper: VerificationRequestMapper\n};\n\nexport const verificationCode: OperationParameter = {\n parameterPath: [\"options\", \"verificationCode\"],\n mapper: VerificationCodeRequestMapper\n};\n\nexport const verificationId: OperationURLParameter = {\n parameterPath: \"verificationId\",\n mapper: {\n serializedName: \"verificationId\",\n required: true,\n type: {\n name: \"Uuid\"\n }\n }\n};\n"]}
@@ -5,10 +5,10 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { tracingClient } from "../tracing.js";
8
+ import { tracingClient } from "../tracing";
9
9
  import * as coreClient from "@azure/core-client";
10
- import * as Mappers from "../models/mappers.js";
11
- import * as Parameters from "../models/parameters.js";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
12
  /** Class containing AcsVerificationOperations operations. */
13
13
  export class AcsVerificationOperationsImpl {
14
14
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acsVerificationOperations.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/acsVerificationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAcnD,6DAA6D;AAC7D,MAAM,OAAO,6BAA6B;IAIxC;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAuD;QAEvD,OAAO,aAAa,CAAC,QAAQ,CAC3B,8CAA8C,EAC9C,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,EAAE,EACb,KAAK,EAAE,OAAO,EAAE,EAAE;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,6BAA6B,CACsB,CAAC;QACxD,CAAC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AAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC;IACpC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * 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 */\n\nimport { tracingClient } from \"../tracing\";\nimport { AcsVerificationOperations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { RecipientVerificationClient } from \"../recipientVerificationClient\";\nimport {\n AcsVerificationGetVerificationsOptionalParams,\n AcsVerificationGetVerificationsResponse,\n AcsVerificationRequestVerificationOptionalParams,\n AcsVerificationRequestVerificationResponse,\n AcsVerificationVerifyIdentityOptionalParams,\n AcsVerificationVerifyIdentityResponse,\n AcsVerificationDeleteVerificationOptionalParams,\n AcsVerificationGetVerificationConstantsOptionalParams,\n AcsVerificationGetVerificationConstantsResponse\n} from \"../models\";\n\n/** Class containing AcsVerificationOperations operations. */\nexport class AcsVerificationOperationsImpl\n implements AcsVerificationOperations {\n private readonly client: RecipientVerificationClient;\n\n /**\n * Initialize a new instance of the class AcsVerificationOperations class.\n * @param client Reference to the service client\n */\n constructor(client: RecipientVerificationClient) {\n this.client = client;\n }\n\n /**\n * Gets the array of verified phone numbers for the current resource.\n * @param options The options parameters.\n */\n async getVerifications(\n options?: AcsVerificationGetVerificationsOptionalParams\n ): Promise<AcsVerificationGetVerificationsResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.getVerifications\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getVerificationsOperationSpec\n ) as Promise<AcsVerificationGetVerificationsResponse>;\n }\n );\n }\n\n /**\n * Request the identity for the verification.\n * @param options The options parameters.\n */\n async requestVerification(\n options?: AcsVerificationRequestVerificationOptionalParams\n ): Promise<AcsVerificationRequestVerificationResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.requestVerification\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n requestVerificationOperationSpec\n ) as Promise<AcsVerificationRequestVerificationResponse>;\n }\n );\n }\n\n /**\n * Verify that the user received the correct verification code.\n * @param verificationId Verification Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async verifyIdentity(\n verificationId: string,\n options?: AcsVerificationVerifyIdentityOptionalParams\n ): Promise<AcsVerificationVerifyIdentityResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.verifyIdentity\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { verificationId, options },\n verifyIdentityOperationSpec\n ) as Promise<AcsVerificationVerifyIdentityResponse>;\n }\n );\n }\n\n /**\n * Deleting a verification.\n * @param verificationId Verification Id. Must be a valid GUID\n * @param options The options parameters.\n */\n async deleteVerification(\n verificationId: string,\n options?: AcsVerificationDeleteVerificationOptionalParams\n ): Promise<void> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.deleteVerification\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { verificationId, options },\n deleteVerificationOperationSpec\n ) as Promise<void>;\n }\n );\n }\n\n /**\n * Getting all the constants for the resource.\n * @param options The options parameters.\n */\n async getVerificationConstants(\n options?: AcsVerificationGetVerificationConstantsOptionalParams\n ): Promise<AcsVerificationGetVerificationConstantsResponse> {\n return tracingClient.withSpan(\n \"RecipientVerificationClient.getVerificationConstants\",\n options ?? {},\n async (options) => {\n return this.client.sendOperationRequest(\n { options },\n getVerificationConstantsOperationSpec\n ) as Promise<AcsVerificationGetVerificationConstantsResponse>;\n }\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getVerificationsOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: {\n type: {\n name: \"Sequence\",\n element: { type: { name: \"Composite\", className: \"AcsVerification\" } }\n }\n }\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst requestVerificationOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.VerificationResponse\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: {\n identity: [\"options\", \"identity\"],\n channel: [\"options\", \"channel\"]\n },\n mapper: Mappers.VerificationRequest\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst verifyIdentityOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications/{verificationId}/check\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.VerificationResponse\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n requestBody: {\n parameterPath: { verificationCode: [\"options\", \"verificationCode\"] },\n mapper: Mappers.VerificationCodeRequest\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.verificationId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteVerificationOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications/{verificationId}/\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.verificationId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getVerificationConstantsOperationSpec: coreClient.OperationSpec = {\n path: \"/verifications/configuration\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VerificationConstantsResponse\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -5,5 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export {};
8
+ export * from "./acsVerificationOperations";
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gCAAgC,CAAC","sourcesContent":["/*\n * 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 */\n\nexport * from \"./acsVerificationOperations.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,6BAA6B,CAAC","sourcesContent":["/*\n * 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 */\n\nexport * from \"./acsVerificationOperations\";\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acsVerificationOperations.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/acsVerificationOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * 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 */\n\nimport {\n AcsVerificationGetVerificationsOptionalParams,\n AcsVerificationGetVerificationsResponse,\n AcsVerificationRequestVerificationOptionalParams,\n AcsVerificationRequestVerificationResponse,\n AcsVerificationVerifyIdentityOptionalParams,\n AcsVerificationVerifyIdentityResponse,\n AcsVerificationDeleteVerificationOptionalParams,\n AcsVerificationGetVerificationConstantsOptionalParams,\n AcsVerificationGetVerificationConstantsResponse\n} from \"../models\";\n\n/** Interface representing a AcsVerificationOperations. */\nexport interface AcsVerificationOperations {\n /**\n * Gets the array of verified phone numbers for the current resource.\n * @param options The options parameters.\n */\n getVerifications(\n options?: AcsVerificationGetVerificationsOptionalParams\n ): Promise<AcsVerificationGetVerificationsResponse>;\n /**\n * Request the identity for the verification.\n * @param options The options parameters.\n */\n requestVerification(\n options?: AcsVerificationRequestVerificationOptionalParams\n ): Promise<AcsVerificationRequestVerificationResponse>;\n /**\n * Verify that the user received the correct verification code.\n * @param verificationId Verification Id. Must be a valid GUID\n * @param options The options parameters.\n */\n verifyIdentity(\n verificationId: string,\n options?: AcsVerificationVerifyIdentityOptionalParams\n ): Promise<AcsVerificationVerifyIdentityResponse>;\n /**\n * Deleting a verification.\n * @param verificationId Verification Id. Must be a valid GUID\n * @param options The options parameters.\n */\n deleteVerification(\n verificationId: string,\n options?: AcsVerificationDeleteVerificationOptionalParams\n ): Promise<void>;\n /**\n * Getting all the constants for the resource.\n * @param options The options parameters.\n */\n getVerificationConstants(\n options?: AcsVerificationGetVerificationConstantsOptionalParams\n ): Promise<AcsVerificationGetVerificationConstantsResponse>;\n}\n"]}
@@ -5,5 +5,5 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- export {};
8
+ export * from "./acsVerificationOperations";
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gCAAgC,CAAC","sourcesContent":["/*\n * 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 */\n\nexport * from \"./acsVerificationOperations.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,6BAA6B,CAAC","sourcesContent":["/*\n * 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 */\n\nexport * from \"./acsVerificationOperations\";\n"]}
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
- import { AcsVerificationOperationsImpl } from "./operations/index.js";
10
+ import { AcsVerificationOperationsImpl } from "./operations";
11
11
  export class RecipientVerificationClient extends coreClient.ServiceClient {
12
12
  /**
13
13
  * Initializes a new instance of the RecipientVerificationClient class.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipientVerificationClient.js","sourceRoot":"","sources":["../../../../src/generated/src/recipientVerificationClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAM9D,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAC;AAI7D,MAAM,OAAO,2BAA4B,SAAQ,UAAU,CAAC,aAAa;IAIvE;;;;OAIG;IACH,YACE,QAAgB,EAChB,OAAmD;;QAEnD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,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AC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAGF","sourcesContent":["/*\n * 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 */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport { AcsVerificationOperationsImpl } from \"./operations\";\nimport { AcsVerificationOperations } from \"./operationsInterfaces\";\nimport { RecipientVerificationClientOptionalParams } from \"./models\";\n\nexport class RecipientVerificationClient extends coreClient.ServiceClient {\n endpoint: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the RecipientVerificationClient class.\n * @param endpoint The communication resource, for example https://resourcename.communication.azure.com\n * @param options The parameter options\n */\n constructor(\n endpoint: string,\n options?: RecipientVerificationClientOptionalParams\n ) {\n if (endpoint === undefined) {\n throw new Error(\"'endpoint' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: RecipientVerificationClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\"\n };\n\n const packageDetails = `azsdk-js-communication-recipient-verification/1.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint ?? options.baseUri ?? \"{endpoint}\"\n };\n super(optionsWithDefaults);\n\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n if (!bearerTokenAuthenticationPolicyFound) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n scopes: `${optionsWithDefaults.baseUri}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n }\n // Parameter assignments\n this.endpoint = endpoint;\n\n // Assigning values to Constant parameters\n this.apiVersion = options.apiVersion || \"2022-11-15\";\n this.acsVerificationOperations = new AcsVerificationOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n acsVerificationOperations: AcsVerificationOperations;\n}\n"]}
@@ -0,0 +1,6 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export * from "./models";
4
+ export * from "./mappers";
5
+ export * from "./recipientVerificationClient";
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,+BAA+B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from \"./models\";\nexport * from \"./mappers\";\nexport * from \"./recipientVerificationClient\";\n"]}
@@ -1,8 +1,8 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- export { AcsVerification as AcsVerificationMapper } from "./generated/src/models/mappers.js";
4
- export { VerificationConstantsResponse as ConstantsMapper } from "./generated/src/models/mappers.js";
5
- export { VerificationCodeRequest as VerificationCodeRequestMapper } from "./generated/src/models/mappers.js";
6
- export { VerificationResponse as VerificationResponseMapper } from "./generated/src/models/mappers.js";
7
- export { VerificationRequest as VerificationRequestMapper } from "./generated/src/models/mappers.js";
3
+ export { AcsVerification as AcsVerificationMapper } from "./generated/src/models/mappers";
4
+ export { VerificationConstantsResponse as ConstantsMapper } from "./generated/src/models/mappers";
5
+ export { VerificationCodeRequest as VerificationCodeRequestMapper } from "./generated/src/models/mappers";
6
+ export { VerificationResponse as VerificationResponseMapper } from "./generated/src/models/mappers";
7
+ export { VerificationRequest as VerificationRequestMapper } from "./generated/src/models/mappers";
8
8
  //# sourceMappingURL=mappers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../src/mappers.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,eAAe,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC1F,OAAO,EAAE,6BAA6B,IAAI,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAClG,OAAO,EAAE,uBAAuB,IAAI,6BAA6B,EAAE,MAAM,gCAAgC,CAAC;AAC1G,OAAO,EAAE,oBAAoB,IAAI,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACpG,OAAO,EAAE,mBAAmB,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { AcsVerification as AcsVerificationMapper } from \"./generated/src/models/mappers\";\nexport { VerificationConstantsResponse as ConstantsMapper } from \"./generated/src/models/mappers\";\nexport { VerificationCodeRequest as VerificationCodeRequestMapper } from \"./generated/src/models/mappers\";\nexport { VerificationResponse as VerificationResponseMapper } from \"./generated/src/models/mappers\";\nexport { VerificationRequest as VerificationRequestMapper } from \"./generated/src/models/mappers\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n AcsVerificationGetVerificationsOptionalParams,\n AcsVerificationGetVerificationsResponse,\n AcsVerificationRequestVerificationOptionalParams,\n AcsVerificationRequestVerificationResponse,\n AcsVerificationVerifyIdentityOptionalParams,\n AcsVerificationVerifyIdentityResponse,\n AcsVerificationDeleteVerificationOptionalParams,\n AcsVerificationGetVerificationConstantsOptionalParams,\n AcsVerificationGetVerificationConstantsResponse,\n AcsVerification,\n VerificationConstantsResponse,\n VerificationResponse,\n} from \"./generated/src/models/index.js\";\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n AcsVerificationGetVerificationsOptionalParams,\n AcsVerificationGetVerificationsResponse,\n AcsVerificationRequestVerificationOptionalParams,\n AcsVerificationRequestVerificationResponse,\n AcsVerificationVerifyIdentityOptionalParams,\n AcsVerificationVerifyIdentityResponse,\n AcsVerificationDeleteVerificationOptionalParams,\n AcsVerificationGetVerificationConstantsOptionalParams,\n AcsVerificationGetVerificationConstantsResponse,\n AcsVerification,\n VerificationConstantsResponse,\n VerificationResponse,\n} from \"./generated/src/models\";\n"]}
@@ -4,9 +4,9 @@
4
4
  import { isTokenCredential } from "@azure/core-auth";
5
5
  import { createCommunicationAuthPolicy } from "@azure/communication-common";
6
6
  import { isKeyCredential, parseClientArguments } from "@azure/communication-common";
7
- import { RecipientVerificationClient as RecipientVerificationGeneratedClient } from "./generated/src/index.js";
8
- import { logger } from "./utils/index.js";
9
- import { tracingClient } from "./generated/src/tracing.js";
7
+ import { RecipientVerificationClient as RecipientVerificationGeneratedClient } from "./generated/src";
8
+ import { logger } from "./utils";
9
+ import { tracingClient } from "./generated/src/tracing";
10
10
  const isRecipientVerificationClientOptions = (options) => options && !isKeyCredential(options) && !isTokenCredential(options);
11
11
  /**
12
12
  * Client class for interacting with Azure Communication Services Recipient Verification.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipientVerificationClient.js","sourceRoot":"","sources":["../../src/recipientVerificationClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,4CAA4C;AAa5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,2BAA2B,IAAI,oCAAoC,EAAE,MAAM,iBAAiB,CAAC;AACtG,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAOxD,MAAM,oCAAoC,GAAG,CAC3C,OAAY,EACmC,EAAE,CACjD,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;AAEtE;;GAEG;AACH,MAAM,OAAO,2BAA2B;IAwCtC,YACE,qBAA6B,EAC7B,mBAA0F,EAC1F,eAAmD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,EAAE;YACjB,OAAO,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,cAAc,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC;QAC9F,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACI,wBAAwB,CAC7B,UAAiE,EAAE;QAEnE,OAAO,aAAa,CAAC,QAAQ,CAC3B,gDAAgD,EAChD,OAAO,EACP,CAAC,cAAc,EAAE,EAAE;YACjB,OAAO,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;QACxF,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,UAA4D,EAAE;QAE9D,OAAO,aAAa,CAAC,QAAQ,CAC3B,2CAA2C,EAC3C,OAAO,EACP,CAAC,cAAc,EAAE,EAAE;YACjB,OAAO,IAAI,CAAC,MAAM,CAAC,yBAAyB,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;QACnF,CAAC,CACF,CAAC;IACJ,CAAC;CACF","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n/// <reference lib=\"esnext.asynciterable\" />\n\nimport type {\n AcsVerificationGetVerificationsOptionalParams,\n AcsVerificationRequestVerificationOptionalParams,\n AcsVerificationRequestVerificationResponse,\n AcsVerificationVerifyIdentityOptionalParams,\n AcsVerificationVerifyIdentityResponse,\n AcsVerificationDeleteVerificationOptionalParams,\n AcsVerificationGetVerificationConstantsOptionalParams,\n} from \"./models\";\nimport type { CommonClientOptions, InternalClientPipelineOptions } from \"@azure/core-client\";\nimport type { KeyCredential, TokenCredential } from \"@azure/core-auth\";\nimport { isTokenCredential } from \"@azure/core-auth\";\nimport type { AcsVerification, VerificationConstantsResponse } from \"./generated/src/models\";\nimport { createCommunicationAuthPolicy } from \"@azure/communication-common\";\nimport { isKeyCredential, parseClientArguments } from \"@azure/communication-common\";\nimport { RecipientVerificationClient as RecipientVerificationGeneratedClient } from \"./generated/src\";\nimport { logger } from \"./utils\";\nimport { tracingClient } from \"./generated/src/tracing\";\n\n/**\n * Client options used to configure the RecipientVerificationGeneratedClient API requests.\n */\nexport interface RecipientVerificationClientOptions extends CommonClientOptions {}\n\nconst isRecipientVerificationClientOptions = (\n options: any,\n): options is RecipientVerificationClientOptions =>\n options && !isKeyCredential(options) && !isTokenCredential(options);\n\n/**\n * Client class for interacting with Azure Communication Services Recipient Verification.\n */\nexport class RecipientVerificationClient {\n /**\n * A reference to the auto-generated RecipientVerification HTTP client.\n */\n private readonly client: RecipientVerificationGeneratedClient;\n\n /**\n * Initializes a new instance of the RecipientVerificationClient class using a connection string.\n *\n * @param connectionString - Connection string to connect to an Azure Communication Service resource. (eg: endpoint=https://contoso.eastus.communications.azure.net/;accesskey=secret)\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n public constructor(connectionString: string, options?: RecipientVerificationClientOptions);\n\n /**\n * Initializes a new instance of the RecipientVerificationClient class using an Azure KeyCredential.\n *\n * @param endpoint - The endpoint of the service (eg: https://contoso.eastus.communications.azure.net)\n * @param credential - An object that is used to authenticate requests to the service. Use the Azure KeyCredential or `@azure/identity` to create a credential.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n public constructor(\n endpoint: string,\n credential: KeyCredential,\n options?: RecipientVerificationClientOptions,\n );\n\n /**\n * Initializes a new instance of the RecipientVerificationClient class using an Azure KeyCredential.\n *\n * @param endpoint - The endpoint of the service (eg: https://contoso.eastus.communications.azure.net)\n * @param credential - An object that is used to authenticate requests to the service. Use the Azure KeyCredential or `@azure/identity` to create a credential.\n * @param options - Optional. Options to configure the HTTP pipeline.\n */\n public constructor(\n endpoint: string,\n credential: TokenCredential,\n options?: RecipientVerificationClientOptions,\n );\n\n public constructor(\n connectionStringOrUrl: string,\n credentialOrOptions?: KeyCredential | TokenCredential | RecipientVerificationClientOptions,\n maybeOptions: RecipientVerificationClientOptions = {},\n ) {\n const { url, credential } = parseClientArguments(connectionStringOrUrl, credentialOrOptions);\n const options = isRecipientVerificationClientOptions(credentialOrOptions)\n ? credentialOrOptions\n : maybeOptions;\n\n const internalPipelineOptions: InternalClientPipelineOptions = {\n ...options,\n ...{\n loggingOptions: {\n logger: logger.info,\n },\n },\n };\n\n this.client = new RecipientVerificationGeneratedClient(url, internalPipelineOptions);\n const authPolicy = createCommunicationAuthPolicy(credential);\n this.client.pipeline.addPolicy(authPolicy);\n }\n\n /**\n * Returns list of verified/pending phone numbers.\n *\n * @param options - Additional request options.\n */\n public getVerifications(\n options: AcsVerificationGetVerificationsOptionalParams = {},\n ): Promise<AcsVerification[]> {\n return tracingClient.withSpan(\n \"RecipientVerification.getVerifications\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.getVerifications(updatedOptions);\n },\n );\n }\n\n /**\n * Removes a pending/verified number.\n *\n * @param verificationId - Id that is used to reference users phone number.\n * @param options - Additional request options.\n */\n public deleteVerification(\n verificationId: string,\n options: AcsVerificationDeleteVerificationOptionalParams = {},\n ): Promise<void> {\n return tracingClient.withSpan(\n \"RecipientVerification.deleteVerification\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.deleteVerification(\n verificationId,\n updatedOptions,\n );\n },\n );\n }\n\n /**\n * Verifies a users phone number.\n *\n * @param verificationId - Id that is used to reference users phone number.\n * @param options - Additional request options.\n */\n public verifyIdentity(\n verificationId: string,\n options: AcsVerificationVerifyIdentityOptionalParams = {},\n ): Promise<AcsVerificationVerifyIdentityResponse> {\n return tracingClient.withSpan(\n \"RecipientVerification.verifyIdentity\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.verifyIdentity(verificationId, updatedOptions);\n },\n );\n }\n\n /**\n * Returns information about a resource in relation to recipient verification.\n *\n * @param options - Additional request options.\n */\n public getVerificationConstants(\n options: AcsVerificationGetVerificationConstantsOptionalParams = {},\n ): Promise<VerificationConstantsResponse> {\n return tracingClient.withSpan(\n \"RecipientVerification.getVerificationConstants\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.getVerificationConstants(updatedOptions);\n },\n );\n }\n\n /**\n * Sends a code to users phone number that will be used for verification.\n *\n * @param options - Additional request options.\n */\n public requestVerification(\n options: AcsVerificationRequestVerificationOptionalParams = {},\n ): Promise<AcsVerificationRequestVerificationResponse> {\n return tracingClient.withSpan(\n \"RecipientVerification.requestVerification\",\n options,\n (updatedOptions) => {\n return this.client.acsVerificationOperations.requestVerification(updatedOptions);\n },\n );\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export * from "./logger";
4
+ export * from "./constants";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from \"./logger\";\nexport * from \"./constants\";\n"]}
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@azure-tools/communication-recipient-verification",
3
- "version": "1.0.0-alpha.20241119.1",
3
+ "version": "1.0.0-alpha.20241122.8",
4
4
  "description": "Test",
5
5
  "sdk-type": "client",
6
- "main": "./dist/commonjs/index.js",
7
- "module": "./dist/esm/index.js",
8
- "types": "./dist/commonjs/index.d.ts",
6
+ "main": "dist/index.js",
7
+ "module": "dist-esm/src/index.js",
8
+ "types": "types/communication-recipient-verification.d.ts",
9
9
  "scripts": {
10
- "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
10
+ "build": "npm run clean && tsc -p . && dev-tool run bundle && dev-tool run extract-api",
11
11
  "build:autorest": "autorest --typescript ./swagger/README.md && rushx format",
12
- "build:browser": "dev-tool run build-package && dev-tool run bundle",
12
+ "build:browser": "tsc -p . && dev-tool run bundle",
13
13
  "build:clean": "rush update --recheck && rush rebuild && npm run build",
14
- "build:node": "dev-tool run build-package && dev-tool run bundle",
14
+ "build:node": "tsc -p . && dev-tool run bundle",
15
15
  "build:samples": "dev-tool samples publish --force",
16
- "build:test": "dev-tool run build-package && dev-tool run bundle",
16
+ "build:test": "tsc -p . && dev-tool run bundle",
17
17
  "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
18
18
  "clean": "dev-tool run vendored rimraf --glob dist dist-* types *.tgz *.log",
19
19
  "execute:samples": "dev-tool samples run samples-dev",
20
- "extract-api": "dev-tool run build-package && dev-tool run extract-api",
20
+ "extract-api": "tsc -p . && dev-tool run extract-api",
21
21
  "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
22
22
  "integration-test": "npm run integration-test:node && npm run integration-test:browser",
23
23
  "integration-test:browser": "dev-tool run test:browser",
@@ -30,12 +30,14 @@
30
30
  "test:node": "npm run build:test && npm run unit-test:node && npm run integration-test:node",
31
31
  "test:watch": "npm run test -- --watch --reporter min",
32
32
  "unit-test": "npm run unit-test:node && npm run unit-test:browser",
33
- "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
34
- "unit-test:node": "dev-tool run test:vitest",
33
+ "unit-test:browser": "dev-tool run test:browser",
34
+ "unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
35
35
  "update-snippets": "echo skipped"
36
36
  },
37
37
  "files": [
38
38
  "dist/",
39
+ "dist-esm/src/",
40
+ "types/communication-recipient-verification.d.ts",
39
41
  "README.md",
40
42
  "LICENSE"
41
43
  ],
@@ -67,23 +69,39 @@
67
69
  "@azure/core-tracing": "^1.0.0",
68
70
  "@azure/logger": "^1.0.0",
69
71
  "events": "^3.0.0",
70
- "tslib": "^2.2.0"
72
+ "tslib": "^2.2.0",
73
+ "uuid": "^8.3.2"
71
74
  },
72
75
  "devDependencies": {
73
- "@azure-tools/test-recorder": ">=4.1.0-alpha <4.1.0-alphb",
74
- "@azure-tools/test-utils-vitest": ">=1.0.0-alpha <1.0.0-alphb",
76
+ "@azure-tools/test-recorder": "^3.0.0",
77
+ "@azure-tools/test-utils": "^1.0.1",
75
78
  "@azure/core-util": "^1.9.0",
76
79
  "@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
77
80
  "@azure/eslint-plugin-azure-sdk": ">=3.0.0-alpha <3.0.0-alphb",
78
81
  "@azure/identity": "^4.0.1",
82
+ "@types/chai": "^4.1.6",
83
+ "@types/mocha": "^10.0.0",
79
84
  "@types/node": "^18.0.0",
80
- "@vitest/browser": "^2.1.4",
81
- "@vitest/coverage-istanbul": "^2.1.4",
85
+ "@types/sinon": "^17.0.0",
86
+ "@types/uuid": "^8.3.2",
87
+ "chai": "^4.2.0",
82
88
  "dotenv": "^16.0.0",
83
89
  "eslint": "^9.9.0",
84
- "playwright": "^1.48.2",
85
- "typescript": "~5.6.2",
86
- "vitest": "^2.1.4"
90
+ "inherits": "^2.0.3",
91
+ "karma": "^6.2.0",
92
+ "karma-chrome-launcher": "^3.0.0",
93
+ "karma-coverage": "^2.0.0",
94
+ "karma-env-preprocessor": "^0.1.1",
95
+ "karma-firefox-launcher": "^1.1.0",
96
+ "karma-junit-reporter": "^2.0.1",
97
+ "karma-mocha": "^2.0.1",
98
+ "karma-mocha-reporter": "^2.2.5",
99
+ "karma-sourcemap-loader": "^0.3.8",
100
+ "mocha": "^10.0.0",
101
+ "nyc": "^17.0.0",
102
+ "sinon": "^17.0.0",
103
+ "ts-node": "^10.0.0",
104
+ "typescript": "~5.6.2"
87
105
  },
88
106
  "//metadata": {
89
107
  "constantPaths": [
@@ -114,43 +132,5 @@
114
132
  "requiredResources": {
115
133
  "Azure Communication Services account": "https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource"
116
134
  }
117
- },
118
- "type": "module",
119
- "tshy": {
120
- "exports": {
121
- "./package.json": "./package.json",
122
- ".": "./src/index.ts"
123
- },
124
- "dialects": [
125
- "esm",
126
- "commonjs"
127
- ],
128
- "esmDialects": [
129
- "browser",
130
- "react-native"
131
- ],
132
- "selfLink": false
133
- },
134
- "browser": "./dist/browser/index.js",
135
- "exports": {
136
- "./package.json": "./package.json",
137
- ".": {
138
- "browser": {
139
- "types": "./dist/browser/index.d.ts",
140
- "default": "./dist/browser/index.js"
141
- },
142
- "react-native": {
143
- "types": "./dist/react-native/index.d.ts",
144
- "default": "./dist/react-native/index.js"
145
- },
146
- "import": {
147
- "types": "./dist/esm/index.d.ts",
148
- "default": "./dist/esm/index.js"
149
- },
150
- "require": {
151
- "types": "./dist/commonjs/index.d.ts",
152
- "default": "./dist/commonjs/index.js"
153
- }
154
- }
155
135
  }
156
136
  }
@@ -1,4 +0,0 @@
1
- export * from "./models/index.js";
2
- export { RecipientVerificationClient } from "./recipientVerificationClient.js";
3
- export * from "./operationsInterfaces/index.js";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,CAAC"}
@@ -1,11 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- export * from "./models/index.js";
9
- export { RecipientVerificationClient } from "./recipientVerificationClient.js";
10
- export * from "./operationsInterfaces/index.js";
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * 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 */\n\nexport * from \"./models/index.js\";\nexport { RecipientVerificationClient } from \"./recipientVerificationClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}