@azure/communication-call-automation 1.5.0-beta.2 → 1.6.0-alpha.20250711.2

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 (415) hide show
  1. package/README.md +51 -1
  2. package/dist/browser/callAutomationClient.d.ts +9 -2
  3. package/dist/browser/callAutomationClient.d.ts.map +1 -1
  4. package/dist/browser/callAutomationClient.js +115 -10
  5. package/dist/browser/callAutomationClient.js.map +1 -1
  6. package/dist/browser/callAutomationEventParser.d.ts.map +1 -1
  7. package/dist/browser/callAutomationEventParser.js +47 -1
  8. package/dist/browser/callAutomationEventParser.js.map +1 -1
  9. package/dist/browser/callConnection.d.ts +16 -6
  10. package/dist/browser/callConnection.d.ts.map +1 -1
  11. package/dist/browser/callConnection.js +166 -15
  12. package/dist/browser/callConnection.js.map +1 -1
  13. package/dist/browser/callMedia.d.ts +20 -10
  14. package/dist/browser/callMedia.d.ts.map +1 -1
  15. package/dist/browser/callMedia.js +190 -22
  16. package/dist/browser/callMedia.js.map +1 -1
  17. package/dist/browser/callRecording.d.ts +8 -2
  18. package/dist/browser/callRecording.d.ts.map +1 -1
  19. package/dist/browser/callRecording.js +20 -5
  20. package/dist/browser/callRecording.js.map +1 -1
  21. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  22. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  23. package/dist/browser/eventprocessor/callAutomationEventProcessor.js +137 -0
  24. package/dist/browser/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  25. package/dist/browser/eventprocessor/eventResponses.d.ts +134 -0
  26. package/dist/browser/eventprocessor/eventResponses.d.ts.map +1 -0
  27. package/dist/browser/eventprocessor/eventResponses.js +4 -0
  28. package/dist/browser/eventprocessor/eventResponses.js.map +1 -0
  29. package/dist/browser/generated/src/callAutomationApiClient.d.ts +2 -1
  30. package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -1
  31. package/dist/browser/generated/src/callAutomationApiClient.js +4 -3
  32. package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
  33. package/dist/browser/generated/src/models/index.d.ts +971 -206
  34. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  35. package/dist/browser/generated/src/models/index.js +124 -46
  36. package/dist/browser/generated/src/models/index.js.map +1 -1
  37. package/dist/browser/generated/src/models/mappers.d.ts +59 -11
  38. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  39. package/dist/browser/generated/src/models/mappers.js +2122 -466
  40. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  41. package/dist/browser/generated/src/models/parameters.d.ts +8 -1
  42. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  43. package/dist/browser/generated/src/models/parameters.js +45 -6
  44. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  45. package/dist/browser/generated/src/operations/callConnection.d.ts +16 -2
  46. package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -1
  47. package/dist/browser/generated/src/operations/callConnection.js +65 -1
  48. package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
  49. package/dist/browser/generated/src/operations/callDialog.d.ts +35 -0
  50. package/dist/browser/generated/src/operations/callDialog.d.ts.map +1 -0
  51. package/dist/browser/generated/src/operations/callDialog.js +111 -0
  52. package/dist/browser/generated/src/operations/callDialog.js.map +1 -0
  53. package/dist/browser/generated/src/operations/callMedia.d.ts +15 -8
  54. package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
  55. package/dist/browser/generated/src/operations/callMedia.js +50 -25
  56. package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
  57. package/dist/browser/generated/src/operations/callRecording.d.ts +7 -1
  58. package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -1
  59. package/dist/browser/generated/src/operations/callRecording.js +24 -0
  60. package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
  61. package/dist/browser/generated/src/operations/index.d.ts +1 -0
  62. package/dist/browser/generated/src/operations/index.d.ts.map +1 -1
  63. package/dist/browser/generated/src/operations/index.js +1 -0
  64. package/dist/browser/generated/src/operations/index.js.map +1 -1
  65. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  66. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  67. package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  68. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  69. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  70. package/dist/browser/generated/src/operationsInterfaces/callDialog.js +9 -0
  71. package/dist/browser/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  72. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  73. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  74. package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  75. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  76. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  77. package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  78. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +1 -0
  79. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  80. package/dist/browser/generated/src/operationsInterfaces/index.js +1 -0
  81. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -1
  82. package/dist/browser/index.d.ts +2 -0
  83. package/dist/browser/index.d.ts.map +1 -1
  84. package/dist/browser/index.js +2 -0
  85. package/dist/browser/index.js.map +1 -1
  86. package/dist/browser/models/constants.js +1 -1
  87. package/dist/browser/models/constants.js.map +1 -1
  88. package/dist/browser/models/events.d.ts +188 -62
  89. package/dist/browser/models/events.d.ts.map +1 -1
  90. package/dist/browser/models/events.js.map +1 -1
  91. package/dist/browser/models/models.d.ts +85 -7
  92. package/dist/browser/models/models.d.ts.map +1 -1
  93. package/dist/browser/models/models.js +3 -1
  94. package/dist/browser/models/models.js.map +1 -1
  95. package/dist/browser/models/options.d.ts +49 -2
  96. package/dist/browser/models/options.d.ts.map +1 -1
  97. package/dist/browser/models/options.js.map +1 -1
  98. package/dist/browser/models/responses.d.ts +82 -10
  99. package/dist/browser/models/responses.d.ts.map +1 -1
  100. package/dist/browser/models/responses.js.map +1 -1
  101. package/dist/browser/utli/converters.d.ts +26 -2
  102. package/dist/browser/utli/converters.d.ts.map +1 -1
  103. package/dist/browser/utli/converters.js +114 -19
  104. package/dist/browser/utli/converters.js.map +1 -1
  105. package/dist/commonjs/callAutomationClient.d.ts +9 -2
  106. package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
  107. package/dist/commonjs/callAutomationClient.js +116 -11
  108. package/dist/commonjs/callAutomationClient.js.map +1 -1
  109. package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
  110. package/dist/commonjs/callAutomationEventParser.js +46 -0
  111. package/dist/commonjs/callAutomationEventParser.js.map +1 -1
  112. package/dist/commonjs/callConnection.d.ts +16 -6
  113. package/dist/commonjs/callConnection.d.ts.map +1 -1
  114. package/dist/commonjs/callConnection.js +167 -16
  115. package/dist/commonjs/callConnection.js.map +1 -1
  116. package/dist/commonjs/callMedia.d.ts +20 -10
  117. package/dist/commonjs/callMedia.d.ts.map +1 -1
  118. package/dist/commonjs/callMedia.js +209 -41
  119. package/dist/commonjs/callMedia.js.map +1 -1
  120. package/dist/commonjs/callRecording.d.ts +8 -2
  121. package/dist/commonjs/callRecording.d.ts.map +1 -1
  122. package/dist/commonjs/callRecording.js +20 -5
  123. package/dist/commonjs/callRecording.js.map +1 -1
  124. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  125. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  126. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js +141 -0
  127. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  128. package/dist/commonjs/eventprocessor/eventResponses.d.ts +134 -0
  129. package/dist/commonjs/eventprocessor/eventResponses.d.ts.map +1 -0
  130. package/dist/commonjs/eventprocessor/eventResponses.js +5 -0
  131. package/dist/commonjs/eventprocessor/eventResponses.js.map +1 -0
  132. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +2 -1
  133. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -1
  134. package/dist/commonjs/generated/src/callAutomationApiClient.js +3 -2
  135. package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
  136. package/dist/commonjs/generated/src/models/index.d.ts +971 -206
  137. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  138. package/dist/commonjs/generated/src/models/index.js +125 -47
  139. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  140. package/dist/commonjs/generated/src/models/mappers.d.ts +59 -11
  141. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  142. package/dist/commonjs/generated/src/models/mappers.js +2125 -469
  143. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  144. package/dist/commonjs/generated/src/models/parameters.d.ts +8 -1
  145. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  146. package/dist/commonjs/generated/src/models/parameters.js +45 -6
  147. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  148. package/dist/commonjs/generated/src/operations/callConnection.d.ts +16 -2
  149. package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -1
  150. package/dist/commonjs/generated/src/operations/callConnection.js +65 -1
  151. package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
  152. package/dist/commonjs/generated/src/operations/callDialog.d.ts +35 -0
  153. package/dist/commonjs/generated/src/operations/callDialog.d.ts.map +1 -0
  154. package/dist/commonjs/generated/src/operations/callDialog.js +116 -0
  155. package/dist/commonjs/generated/src/operations/callDialog.js.map +1 -0
  156. package/dist/commonjs/generated/src/operations/callMedia.d.ts +15 -8
  157. package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
  158. package/dist/commonjs/generated/src/operations/callMedia.js +50 -25
  159. package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
  160. package/dist/commonjs/generated/src/operations/callRecording.d.ts +7 -1
  161. package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -1
  162. package/dist/commonjs/generated/src/operations/callRecording.js +24 -0
  163. package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
  164. package/dist/commonjs/generated/src/operations/index.d.ts +1 -0
  165. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -1
  166. package/dist/commonjs/generated/src/operations/index.js +1 -0
  167. package/dist/commonjs/generated/src/operations/index.js.map +1 -1
  168. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  169. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  170. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  171. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  172. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  173. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js +10 -0
  174. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  175. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  176. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  177. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  178. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  179. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  180. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  181. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +1 -0
  182. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  183. package/dist/commonjs/generated/src/operationsInterfaces/index.js +1 -0
  184. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -1
  185. package/dist/commonjs/index.d.ts +2 -0
  186. package/dist/commonjs/index.d.ts.map +1 -1
  187. package/dist/commonjs/index.js +2 -0
  188. package/dist/commonjs/index.js.map +1 -1
  189. package/dist/commonjs/models/constants.js +1 -1
  190. package/dist/commonjs/models/constants.js.map +1 -1
  191. package/dist/commonjs/models/events.d.ts +188 -62
  192. package/dist/commonjs/models/events.d.ts.map +1 -1
  193. package/dist/commonjs/models/events.js.map +1 -1
  194. package/dist/commonjs/models/models.d.ts +85 -7
  195. package/dist/commonjs/models/models.d.ts.map +1 -1
  196. package/dist/commonjs/models/models.js +11 -6
  197. package/dist/commonjs/models/models.js.map +1 -1
  198. package/dist/commonjs/models/options.d.ts +49 -2
  199. package/dist/commonjs/models/options.d.ts.map +1 -1
  200. package/dist/commonjs/models/options.js.map +1 -1
  201. package/dist/commonjs/models/responses.d.ts +82 -10
  202. package/dist/commonjs/models/responses.d.ts.map +1 -1
  203. package/dist/commonjs/models/responses.js.map +1 -1
  204. package/dist/commonjs/tsdoc-metadata.json +1 -1
  205. package/dist/commonjs/utli/converters.d.ts +26 -2
  206. package/dist/commonjs/utli/converters.d.ts.map +1 -1
  207. package/dist/commonjs/utli/converters.js +119 -18
  208. package/dist/commonjs/utli/converters.js.map +1 -1
  209. package/dist/esm/callAutomationClient.d.ts +9 -2
  210. package/dist/esm/callAutomationClient.d.ts.map +1 -1
  211. package/dist/esm/callAutomationClient.js +115 -10
  212. package/dist/esm/callAutomationClient.js.map +1 -1
  213. package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
  214. package/dist/esm/callAutomationEventParser.js +47 -1
  215. package/dist/esm/callAutomationEventParser.js.map +1 -1
  216. package/dist/esm/callConnection.d.ts +16 -6
  217. package/dist/esm/callConnection.d.ts.map +1 -1
  218. package/dist/esm/callConnection.js +166 -15
  219. package/dist/esm/callConnection.js.map +1 -1
  220. package/dist/esm/callMedia.d.ts +20 -10
  221. package/dist/esm/callMedia.d.ts.map +1 -1
  222. package/dist/esm/callMedia.js +190 -22
  223. package/dist/esm/callMedia.js.map +1 -1
  224. package/dist/esm/callRecording.d.ts +8 -2
  225. package/dist/esm/callRecording.d.ts.map +1 -1
  226. package/dist/esm/callRecording.js +20 -5
  227. package/dist/esm/callRecording.js.map +1 -1
  228. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  229. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  230. package/dist/esm/eventprocessor/callAutomationEventProcessor.js +137 -0
  231. package/dist/esm/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  232. package/dist/esm/eventprocessor/eventResponses.d.ts +134 -0
  233. package/dist/esm/eventprocessor/eventResponses.d.ts.map +1 -0
  234. package/dist/esm/eventprocessor/eventResponses.js +4 -0
  235. package/dist/esm/eventprocessor/eventResponses.js.map +1 -0
  236. package/dist/esm/generated/src/callAutomationApiClient.d.ts +2 -1
  237. package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -1
  238. package/dist/esm/generated/src/callAutomationApiClient.js +4 -3
  239. package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
  240. package/dist/esm/generated/src/models/index.d.ts +971 -206
  241. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  242. package/dist/esm/generated/src/models/index.js +124 -46
  243. package/dist/esm/generated/src/models/index.js.map +1 -1
  244. package/dist/esm/generated/src/models/mappers.d.ts +59 -11
  245. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  246. package/dist/esm/generated/src/models/mappers.js +2122 -466
  247. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  248. package/dist/esm/generated/src/models/parameters.d.ts +8 -1
  249. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  250. package/dist/esm/generated/src/models/parameters.js +45 -6
  251. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  252. package/dist/esm/generated/src/operations/callConnection.d.ts +16 -2
  253. package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -1
  254. package/dist/esm/generated/src/operations/callConnection.js +65 -1
  255. package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
  256. package/dist/esm/generated/src/operations/callDialog.d.ts +35 -0
  257. package/dist/esm/generated/src/operations/callDialog.d.ts.map +1 -0
  258. package/dist/esm/generated/src/operations/callDialog.js +111 -0
  259. package/dist/esm/generated/src/operations/callDialog.js.map +1 -0
  260. package/dist/esm/generated/src/operations/callMedia.d.ts +15 -8
  261. package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
  262. package/dist/esm/generated/src/operations/callMedia.js +50 -25
  263. package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
  264. package/dist/esm/generated/src/operations/callRecording.d.ts +7 -1
  265. package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -1
  266. package/dist/esm/generated/src/operations/callRecording.js +24 -0
  267. package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
  268. package/dist/esm/generated/src/operations/index.d.ts +1 -0
  269. package/dist/esm/generated/src/operations/index.d.ts.map +1 -1
  270. package/dist/esm/generated/src/operations/index.js +1 -0
  271. package/dist/esm/generated/src/operations/index.js.map +1 -1
  272. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  273. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  274. package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  275. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  276. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  277. package/dist/esm/generated/src/operationsInterfaces/callDialog.js +9 -0
  278. package/dist/esm/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  279. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  280. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  281. package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  282. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  283. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  284. package/dist/esm/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  285. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +1 -0
  286. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  287. package/dist/esm/generated/src/operationsInterfaces/index.js +1 -0
  288. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -1
  289. package/dist/esm/index.d.ts +2 -0
  290. package/dist/esm/index.d.ts.map +1 -1
  291. package/dist/esm/index.js +2 -0
  292. package/dist/esm/index.js.map +1 -1
  293. package/dist/esm/models/constants.js +1 -1
  294. package/dist/esm/models/constants.js.map +1 -1
  295. package/dist/esm/models/events.d.ts +188 -62
  296. package/dist/esm/models/events.d.ts.map +1 -1
  297. package/dist/esm/models/events.js.map +1 -1
  298. package/dist/esm/models/models.d.ts +85 -7
  299. package/dist/esm/models/models.d.ts.map +1 -1
  300. package/dist/esm/models/models.js +3 -1
  301. package/dist/esm/models/models.js.map +1 -1
  302. package/dist/esm/models/options.d.ts +49 -2
  303. package/dist/esm/models/options.d.ts.map +1 -1
  304. package/dist/esm/models/options.js.map +1 -1
  305. package/dist/esm/models/responses.d.ts +82 -10
  306. package/dist/esm/models/responses.d.ts.map +1 -1
  307. package/dist/esm/models/responses.js.map +1 -1
  308. package/dist/esm/utli/converters.d.ts +26 -2
  309. package/dist/esm/utli/converters.d.ts.map +1 -1
  310. package/dist/esm/utli/converters.js +114 -19
  311. package/dist/esm/utli/converters.js.map +1 -1
  312. package/dist/react-native/callAutomationClient.d.ts +9 -2
  313. package/dist/react-native/callAutomationClient.d.ts.map +1 -1
  314. package/dist/react-native/callAutomationClient.js +115 -10
  315. package/dist/react-native/callAutomationClient.js.map +1 -1
  316. package/dist/react-native/callAutomationEventParser.d.ts.map +1 -1
  317. package/dist/react-native/callAutomationEventParser.js +47 -1
  318. package/dist/react-native/callAutomationEventParser.js.map +1 -1
  319. package/dist/react-native/callConnection.d.ts +16 -6
  320. package/dist/react-native/callConnection.d.ts.map +1 -1
  321. package/dist/react-native/callConnection.js +166 -15
  322. package/dist/react-native/callConnection.js.map +1 -1
  323. package/dist/react-native/callMedia.d.ts +20 -10
  324. package/dist/react-native/callMedia.d.ts.map +1 -1
  325. package/dist/react-native/callMedia.js +190 -22
  326. package/dist/react-native/callMedia.js.map +1 -1
  327. package/dist/react-native/callRecording.d.ts +8 -2
  328. package/dist/react-native/callRecording.d.ts.map +1 -1
  329. package/dist/react-native/callRecording.js +20 -5
  330. package/dist/react-native/callRecording.js.map +1 -1
  331. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  332. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  333. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js +137 -0
  334. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  335. package/dist/react-native/eventprocessor/eventResponses.d.ts +134 -0
  336. package/dist/react-native/eventprocessor/eventResponses.d.ts.map +1 -0
  337. package/dist/react-native/eventprocessor/eventResponses.js +4 -0
  338. package/dist/react-native/eventprocessor/eventResponses.js.map +1 -0
  339. package/dist/react-native/generated/src/callAutomationApiClient.d.ts +2 -1
  340. package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -1
  341. package/dist/react-native/generated/src/callAutomationApiClient.js +4 -3
  342. package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
  343. package/dist/react-native/generated/src/models/index.d.ts +971 -206
  344. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  345. package/dist/react-native/generated/src/models/index.js +124 -46
  346. package/dist/react-native/generated/src/models/index.js.map +1 -1
  347. package/dist/react-native/generated/src/models/mappers.d.ts +59 -11
  348. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  349. package/dist/react-native/generated/src/models/mappers.js +2122 -466
  350. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  351. package/dist/react-native/generated/src/models/parameters.d.ts +8 -1
  352. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  353. package/dist/react-native/generated/src/models/parameters.js +45 -6
  354. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  355. package/dist/react-native/generated/src/operations/callConnection.d.ts +16 -2
  356. package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -1
  357. package/dist/react-native/generated/src/operations/callConnection.js +65 -1
  358. package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
  359. package/dist/react-native/generated/src/operations/callDialog.d.ts +35 -0
  360. package/dist/react-native/generated/src/operations/callDialog.d.ts.map +1 -0
  361. package/dist/react-native/generated/src/operations/callDialog.js +111 -0
  362. package/dist/react-native/generated/src/operations/callDialog.js.map +1 -0
  363. package/dist/react-native/generated/src/operations/callMedia.d.ts +15 -8
  364. package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
  365. package/dist/react-native/generated/src/operations/callMedia.js +50 -25
  366. package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
  367. package/dist/react-native/generated/src/operations/callRecording.d.ts +7 -1
  368. package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -1
  369. package/dist/react-native/generated/src/operations/callRecording.js +24 -0
  370. package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
  371. package/dist/react-native/generated/src/operations/index.d.ts +1 -0
  372. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -1
  373. package/dist/react-native/generated/src/operations/index.js +1 -0
  374. package/dist/react-native/generated/src/operations/index.js.map +1 -1
  375. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  376. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  377. package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  378. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  379. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  380. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js +9 -0
  381. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  382. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  383. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  384. package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  385. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  386. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  387. package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  388. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +1 -0
  389. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  390. package/dist/react-native/generated/src/operationsInterfaces/index.js +1 -0
  391. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -1
  392. package/dist/react-native/index.d.ts +2 -0
  393. package/dist/react-native/index.d.ts.map +1 -1
  394. package/dist/react-native/index.js +2 -0
  395. package/dist/react-native/index.js.map +1 -1
  396. package/dist/react-native/models/constants.js +1 -1
  397. package/dist/react-native/models/constants.js.map +1 -1
  398. package/dist/react-native/models/events.d.ts +188 -62
  399. package/dist/react-native/models/events.d.ts.map +1 -1
  400. package/dist/react-native/models/events.js.map +1 -1
  401. package/dist/react-native/models/models.d.ts +85 -7
  402. package/dist/react-native/models/models.d.ts.map +1 -1
  403. package/dist/react-native/models/models.js +3 -1
  404. package/dist/react-native/models/models.js.map +1 -1
  405. package/dist/react-native/models/options.d.ts +49 -2
  406. package/dist/react-native/models/options.d.ts.map +1 -1
  407. package/dist/react-native/models/options.js.map +1 -1
  408. package/dist/react-native/models/responses.d.ts +82 -10
  409. package/dist/react-native/models/responses.d.ts.map +1 -1
  410. package/dist/react-native/models/responses.js.map +1 -1
  411. package/dist/react-native/utli/converters.d.ts +26 -2
  412. package/dist/react-native/utli/converters.d.ts.map +1 -1
  413. package/dist/react-native/utli/converters.js +114 -19
  414. package/dist/react-native/utli/converters.js.map +1 -1
  415. package/package.json +16 -22
@@ -15,20 +15,27 @@ export declare const transferToParticipantRequest: OperationParameter;
15
15
  export declare const addParticipantRequest: OperationParameter;
16
16
  export declare const removeParticipantRequest: OperationParameter;
17
17
  export declare const muteParticipantsRequest: OperationParameter;
18
+ export declare const unmuteParticipantsRequest: OperationParameter;
18
19
  export declare const cancelAddParticipantRequest: OperationParameter;
20
+ export declare const moveParticipantRequest: OperationParameter;
19
21
  export declare const participantRawId: OperationURLParameter;
20
22
  export declare const nextLink: OperationURLParameter;
21
23
  export declare const playRequest: OperationParameter;
22
24
  export declare const startTranscriptionRequest: OperationParameter;
23
25
  export declare const stopTranscriptionRequest: OperationParameter;
24
- export declare const updateTranscriptionRequest: OperationParameter;
25
26
  export declare const recognizeRequest: OperationParameter;
26
27
  export declare const continuousDtmfRecognitionRequest: OperationParameter;
27
28
  export declare const sendDtmfTonesRequest: OperationParameter;
29
+ export declare const updateTranscriptionRequest: OperationParameter;
28
30
  export declare const holdRequest: OperationParameter;
29
31
  export declare const unholdRequest: OperationParameter;
30
32
  export declare const startMediaStreamingRequest: OperationParameter;
31
33
  export declare const stopMediaStreamingRequest: OperationParameter;
34
+ export declare const interruptRequest: OperationParameter;
35
+ export declare const startDialogRequest: OperationParameter;
36
+ export declare const dialogId: OperationURLParameter;
37
+ export declare const operationCallbackUri: OperationQueryParameter;
38
+ export declare const updateDialogRequest: OperationParameter;
32
39
  export declare const startCallRecording: OperationParameter;
33
40
  export declare const recordingId: OperationURLParameter;
34
41
  //# sourceMappingURL=parameters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AA0B5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE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MAAM,gBAAgB,EAAE,qBAS9B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,kBAGvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,kBAGtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,kBAG9C,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,kBAGlC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,kBAGxC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,kBAGxC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,kBAGvC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAGhC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAStB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,uBAQlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,kBAGjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,kBAGhC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,qBASzB,CAAC"}
@@ -7,7 +7,7 @@
7
7
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.recordingId = exports.startCallRecording = exports.stopMediaStreamingRequest = exports.startMediaStreamingRequest = exports.unholdRequest = exports.holdRequest = exports.sendDtmfTonesRequest = exports.continuousDtmfRecognitionRequest = exports.recognizeRequest = exports.updateTranscriptionRequest = exports.stopTranscriptionRequest = exports.startTranscriptionRequest = exports.playRequest = exports.nextLink = exports.participantRawId = exports.cancelAddParticipantRequest = exports.muteParticipantsRequest = exports.removeParticipantRequest = exports.addParticipantRequest = exports.transferToParticipantRequest = exports.callConnectionId = exports.connectRequest = exports.rejectCallRequest = exports.redirectCallRequest = exports.answerCallRequest = exports.repeatabilityFirstSent = exports.repeatabilityRequestID = exports.apiVersion = exports.endpoint = exports.accept = exports.createCallRequest = exports.contentType = void 0;
10
+ exports.recordingId = exports.startCallRecording = exports.updateDialogRequest = exports.operationCallbackUri = exports.dialogId = exports.startDialogRequest = exports.interruptRequest = exports.stopMediaStreamingRequest = exports.startMediaStreamingRequest = exports.unholdRequest = exports.holdRequest = exports.updateTranscriptionRequest = exports.sendDtmfTonesRequest = exports.continuousDtmfRecognitionRequest = exports.recognizeRequest = exports.stopTranscriptionRequest = exports.startTranscriptionRequest = exports.playRequest = exports.nextLink = exports.participantRawId = exports.moveParticipantRequest = exports.cancelAddParticipantRequest = exports.unmuteParticipantsRequest = exports.muteParticipantsRequest = exports.removeParticipantRequest = exports.addParticipantRequest = exports.transferToParticipantRequest = exports.callConnectionId = exports.connectRequest = exports.rejectCallRequest = exports.redirectCallRequest = exports.answerCallRequest = exports.repeatabilityFirstSent = exports.repeatabilityRequestID = exports.apiVersion = exports.endpoint = exports.accept = exports.createCallRequest = exports.contentType = void 0;
11
11
  const mappers_js_1 = require("../models/mappers.js");
12
12
  exports.contentType = {
13
13
  parameterPath: ["options", "contentType"],
@@ -49,7 +49,7 @@ exports.endpoint = {
49
49
  exports.apiVersion = {
50
50
  parameterPath: "apiVersion",
51
51
  mapper: {
52
- defaultValue: "2025-03-30-preview",
52
+ defaultValue: "2024-09-01-preview",
53
53
  isConstant: true,
54
54
  serializedName: "api-version",
55
55
  type: {
@@ -117,10 +117,18 @@ exports.muteParticipantsRequest = {
117
117
  parameterPath: "muteParticipantsRequest",
118
118
  mapper: mappers_js_1.MuteParticipantsRequest,
119
119
  };
120
+ exports.unmuteParticipantsRequest = {
121
+ parameterPath: "unmuteParticipantsRequest",
122
+ mapper: mappers_js_1.UnmuteParticipantsRequest,
123
+ };
120
124
  exports.cancelAddParticipantRequest = {
121
125
  parameterPath: "cancelAddParticipantRequest",
122
126
  mapper: mappers_js_1.CancelAddParticipantRequest,
123
127
  };
128
+ exports.moveParticipantRequest = {
129
+ parameterPath: "moveParticipantRequest",
130
+ mapper: mappers_js_1.MoveParticipantsRequest,
131
+ };
124
132
  exports.participantRawId = {
125
133
  parameterPath: "participantRawId",
126
134
  mapper: {
@@ -154,10 +162,6 @@ exports.stopTranscriptionRequest = {
154
162
  parameterPath: "stopTranscriptionRequest",
155
163
  mapper: mappers_js_1.StopTranscriptionRequest,
156
164
  };
157
- exports.updateTranscriptionRequest = {
158
- parameterPath: "updateTranscriptionRequest",
159
- mapper: mappers_js_1.UpdateTranscriptionRequest,
160
- };
161
165
  exports.recognizeRequest = {
162
166
  parameterPath: "recognizeRequest",
163
167
  mapper: mappers_js_1.RecognizeRequest,
@@ -170,6 +174,10 @@ exports.sendDtmfTonesRequest = {
170
174
  parameterPath: "sendDtmfTonesRequest",
171
175
  mapper: mappers_js_1.SendDtmfTonesRequest,
172
176
  };
177
+ exports.updateTranscriptionRequest = {
178
+ parameterPath: "updateTranscriptionRequest",
179
+ mapper: mappers_js_1.UpdateTranscriptionRequest,
180
+ };
173
181
  exports.holdRequest = {
174
182
  parameterPath: "holdRequest",
175
183
  mapper: mappers_js_1.HoldRequest,
@@ -186,6 +194,37 @@ exports.stopMediaStreamingRequest = {
186
194
  parameterPath: "stopMediaStreamingRequest",
187
195
  mapper: mappers_js_1.StopMediaStreamingRequest,
188
196
  };
197
+ exports.interruptRequest = {
198
+ parameterPath: "interruptRequest",
199
+ mapper: mappers_js_1.InterruptAudioAndAnnounceRequest,
200
+ };
201
+ exports.startDialogRequest = {
202
+ parameterPath: "startDialogRequest",
203
+ mapper: mappers_js_1.StartDialogRequest,
204
+ };
205
+ exports.dialogId = {
206
+ parameterPath: "dialogId",
207
+ mapper: {
208
+ serializedName: "dialogId",
209
+ required: true,
210
+ type: {
211
+ name: "String",
212
+ },
213
+ },
214
+ };
215
+ exports.operationCallbackUri = {
216
+ parameterPath: ["options", "operationCallbackUri"],
217
+ mapper: {
218
+ serializedName: "operationCallbackUri",
219
+ type: {
220
+ name: "String",
221
+ },
222
+ },
223
+ };
224
+ exports.updateDialogRequest = {
225
+ parameterPath: "updateDialogRequest",
226
+ mapper: mappers_js_1.UpdateDialogRequest,
227
+ };
189
228
  exports.startCallRecording = {
190
229
  parameterPath: "startCallRecording",
191
230
  mapper: mappers_js_1.StartCallRecordingRequest,
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAuB8B;AAEjB,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,GAAuB;IACnD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE,8BAAuB;CAChC,CAAC;AAEW,QAAA,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;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEW,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AEW,QAAA,gCAAgC,GAAuB;IAClE,aAAa,EAAE,kCAAkC;IACjD,MAAM,EAAE,6CAAsC;CAC/C,CAAC;AAEW,QAAA,oBAAoB,GAAuB;IACtD,aAAa,EAAE,sBAAsB;IACrC,MAAM,EAAE,iCAA0B;CACnC,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE,wBAAiB;CAC1B,CAAC;AAEW,QAAA,aAAa,GAAuB;IAC/C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,0BAAmB;CAC5B,CAAC;AAEW,QAAA,0BAA0B,GAAuB;IAC5D,aAAa,EAAE,4BAA4B;IAC3C,MAAM,EAAE,uCAAgC;CACzC,CAAC;AAEW,QAAA,yBAAyB,GAAuB;IAC3D,aAAa,EAAE,2BAA2B;IAC1C,MAAM,EAAE,sCAA+B;CACxC,CAAC;AAEW,QAAA,kBAAkB,GAAuB;IACpD,aAAa,EAAE,oBAAoB;IACnC,MAAM,EAAE,sCAA+B;CACxC,CAAC;AAEW,QAAA,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;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 CreateCallRequest as CreateCallRequestMapper,\n AnswerCallRequest as AnswerCallRequestMapper,\n RedirectCallRequest as RedirectCallRequestMapper,\n RejectCallRequest as RejectCallRequestMapper,\n ConnectRequest as ConnectRequestMapper,\n TransferToParticipantRequest as TransferToParticipantRequestMapper,\n AddParticipantRequest as AddParticipantRequestMapper,\n RemoveParticipantRequest as RemoveParticipantRequestMapper,\n MuteParticipantsRequest as MuteParticipantsRequestMapper,\n CancelAddParticipantRequest as CancelAddParticipantRequestMapper,\n PlayRequest as PlayRequestMapper,\n StartTranscriptionRequest as StartTranscriptionRequestMapper,\n StopTranscriptionRequest as StopTranscriptionRequestMapper,\n UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper,\n RecognizeRequest as RecognizeRequestMapper,\n ContinuousDtmfRecognitionRequest as ContinuousDtmfRecognitionRequestMapper,\n SendDtmfTonesRequest as SendDtmfTonesRequestMapper,\n HoldRequest as HoldRequestMapper,\n UnholdRequest as UnholdRequestMapper,\n StartMediaStreamingRequest as StartMediaStreamingRequestMapper,\n StopMediaStreamingRequest as StopMediaStreamingRequestMapper,\n StartCallRecordingRequest as StartCallRecordingRequestMapper,\n} from \"../models/mappers.js\";\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 createCallRequest: OperationParameter = {\n parameterPath: \"createCallRequest\",\n mapper: CreateCallRequestMapper,\n};\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: \"2025-03-30-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const repeatabilityRequestID: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityRequestID\"],\n mapper: {\n serializedName: \"Repeatability-Request-ID\",\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const repeatabilityFirstSent: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityFirstSent\"],\n mapper: {\n serializedName: \"Repeatability-First-Sent\",\n type: {\n name: \"DateTimeRfc1123\",\n },\n },\n};\n\nexport const answerCallRequest: OperationParameter = {\n parameterPath: \"answerCallRequest\",\n mapper: AnswerCallRequestMapper,\n};\n\nexport const redirectCallRequest: OperationParameter = {\n parameterPath: \"redirectCallRequest\",\n mapper: RedirectCallRequestMapper,\n};\n\nexport const rejectCallRequest: OperationParameter = {\n parameterPath: \"rejectCallRequest\",\n mapper: RejectCallRequestMapper,\n};\n\nexport const connectRequest: OperationParameter = {\n parameterPath: \"connectRequest\",\n mapper: ConnectRequestMapper,\n};\n\nexport const callConnectionId: OperationURLParameter = {\n parameterPath: \"callConnectionId\",\n mapper: {\n serializedName: \"callConnectionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const transferToParticipantRequest: OperationParameter = {\n parameterPath: \"transferToParticipantRequest\",\n mapper: TransferToParticipantRequestMapper,\n};\n\nexport const addParticipantRequest: OperationParameter = {\n parameterPath: \"addParticipantRequest\",\n mapper: AddParticipantRequestMapper,\n};\n\nexport const removeParticipantRequest: OperationParameter = {\n parameterPath: \"removeParticipantRequest\",\n mapper: RemoveParticipantRequestMapper,\n};\n\nexport const muteParticipantsRequest: OperationParameter = {\n parameterPath: \"muteParticipantsRequest\",\n mapper: MuteParticipantsRequestMapper,\n};\n\nexport const cancelAddParticipantRequest: OperationParameter = {\n parameterPath: \"cancelAddParticipantRequest\",\n mapper: CancelAddParticipantRequestMapper,\n};\n\nexport const participantRawId: OperationURLParameter = {\n parameterPath: \"participantRawId\",\n mapper: {\n serializedName: \"participantRawId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const playRequest: OperationParameter = {\n parameterPath: \"playRequest\",\n mapper: PlayRequestMapper,\n};\n\nexport const startTranscriptionRequest: OperationParameter = {\n parameterPath: \"startTranscriptionRequest\",\n mapper: StartTranscriptionRequestMapper,\n};\n\nexport const stopTranscriptionRequest: OperationParameter = {\n parameterPath: \"stopTranscriptionRequest\",\n mapper: StopTranscriptionRequestMapper,\n};\n\nexport const updateTranscriptionRequest: OperationParameter = {\n parameterPath: \"updateTranscriptionRequest\",\n mapper: UpdateTranscriptionRequestMapper,\n};\n\nexport const recognizeRequest: OperationParameter = {\n parameterPath: \"recognizeRequest\",\n mapper: RecognizeRequestMapper,\n};\n\nexport const continuousDtmfRecognitionRequest: OperationParameter = {\n parameterPath: \"continuousDtmfRecognitionRequest\",\n mapper: ContinuousDtmfRecognitionRequestMapper,\n};\n\nexport const sendDtmfTonesRequest: OperationParameter = {\n parameterPath: \"sendDtmfTonesRequest\",\n mapper: SendDtmfTonesRequestMapper,\n};\n\nexport const holdRequest: OperationParameter = {\n parameterPath: \"holdRequest\",\n mapper: HoldRequestMapper,\n};\n\nexport const unholdRequest: OperationParameter = {\n parameterPath: \"unholdRequest\",\n mapper: UnholdRequestMapper,\n};\n\nexport const startMediaStreamingRequest: OperationParameter = {\n parameterPath: \"startMediaStreamingRequest\",\n mapper: StartMediaStreamingRequestMapper,\n};\n\nexport const stopMediaStreamingRequest: OperationParameter = {\n parameterPath: \"stopMediaStreamingRequest\",\n mapper: StopMediaStreamingRequestMapper,\n};\n\nexport const startCallRecording: OperationParameter = {\n parameterPath: \"startCallRecording\",\n mapper: StartCallRecordingRequestMapper,\n};\n\nexport const recordingId: OperationURLParameter = {\n parameterPath: \"recordingId\",\n mapper: {\n serializedName: \"recordingId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;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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 CreateCallRequest as CreateCallRequestMapper,\n AnswerCallRequest as AnswerCallRequestMapper,\n RedirectCallRequest as RedirectCallRequestMapper,\n RejectCallRequest as RejectCallRequestMapper,\n ConnectRequest as ConnectRequestMapper,\n TransferToParticipantRequest as TransferToParticipantRequestMapper,\n AddParticipantRequest as AddParticipantRequestMapper,\n RemoveParticipantRequest as RemoveParticipantRequestMapper,\n MuteParticipantsRequest as MuteParticipantsRequestMapper,\n UnmuteParticipantsRequest as UnmuteParticipantsRequestMapper,\n CancelAddParticipantRequest as CancelAddParticipantRequestMapper,\n MoveParticipantsRequest as MoveParticipantsRequestMapper,\n PlayRequest as PlayRequestMapper,\n StartTranscriptionRequest as StartTranscriptionRequestMapper,\n StopTranscriptionRequest as StopTranscriptionRequestMapper,\n RecognizeRequest as RecognizeRequestMapper,\n ContinuousDtmfRecognitionRequest as ContinuousDtmfRecognitionRequestMapper,\n SendDtmfTonesRequest as SendDtmfTonesRequestMapper,\n UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper,\n HoldRequest as HoldRequestMapper,\n UnholdRequest as UnholdRequestMapper,\n StartMediaStreamingRequest as StartMediaStreamingRequestMapper,\n StopMediaStreamingRequest as StopMediaStreamingRequestMapper,\n InterruptAudioAndAnnounceRequest as InterruptAudioAndAnnounceRequestMapper,\n StartDialogRequest as StartDialogRequestMapper,\n UpdateDialogRequest as UpdateDialogRequestMapper,\n StartCallRecordingRequest as StartCallRecordingRequestMapper,\n} from \"../models/mappers.js\";\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 createCallRequest: OperationParameter = {\n parameterPath: \"createCallRequest\",\n mapper: CreateCallRequestMapper,\n};\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: \"2024-09-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const repeatabilityRequestID: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityRequestID\"],\n mapper: {\n serializedName: \"Repeatability-Request-ID\",\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const repeatabilityFirstSent: OperationParameter = {\n parameterPath: [\"options\", \"repeatabilityFirstSent\"],\n mapper: {\n serializedName: \"Repeatability-First-Sent\",\n type: {\n name: \"DateTimeRfc1123\",\n },\n },\n};\n\nexport const answerCallRequest: OperationParameter = {\n parameterPath: \"answerCallRequest\",\n mapper: AnswerCallRequestMapper,\n};\n\nexport const redirectCallRequest: OperationParameter = {\n parameterPath: \"redirectCallRequest\",\n mapper: RedirectCallRequestMapper,\n};\n\nexport const rejectCallRequest: OperationParameter = {\n parameterPath: \"rejectCallRequest\",\n mapper: RejectCallRequestMapper,\n};\n\nexport const connectRequest: OperationParameter = {\n parameterPath: \"connectRequest\",\n mapper: ConnectRequestMapper,\n};\n\nexport const callConnectionId: OperationURLParameter = {\n parameterPath: \"callConnectionId\",\n mapper: {\n serializedName: \"callConnectionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const transferToParticipantRequest: OperationParameter = {\n parameterPath: \"transferToParticipantRequest\",\n mapper: TransferToParticipantRequestMapper,\n};\n\nexport const addParticipantRequest: OperationParameter = {\n parameterPath: \"addParticipantRequest\",\n mapper: AddParticipantRequestMapper,\n};\n\nexport const removeParticipantRequest: OperationParameter = {\n parameterPath: \"removeParticipantRequest\",\n mapper: RemoveParticipantRequestMapper,\n};\n\nexport const muteParticipantsRequest: OperationParameter = {\n parameterPath: \"muteParticipantsRequest\",\n mapper: MuteParticipantsRequestMapper,\n};\n\nexport const unmuteParticipantsRequest: OperationParameter = {\n parameterPath: \"unmuteParticipantsRequest\",\n mapper: UnmuteParticipantsRequestMapper,\n};\n\nexport const cancelAddParticipantRequest: OperationParameter = {\n parameterPath: \"cancelAddParticipantRequest\",\n mapper: CancelAddParticipantRequestMapper,\n};\n\nexport const moveParticipantRequest: OperationParameter = {\n parameterPath: \"moveParticipantRequest\",\n mapper: MoveParticipantsRequestMapper,\n};\n\nexport const participantRawId: OperationURLParameter = {\n parameterPath: \"participantRawId\",\n mapper: {\n serializedName: \"participantRawId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const playRequest: OperationParameter = {\n parameterPath: \"playRequest\",\n mapper: PlayRequestMapper,\n};\n\nexport const startTranscriptionRequest: OperationParameter = {\n parameterPath: \"startTranscriptionRequest\",\n mapper: StartTranscriptionRequestMapper,\n};\n\nexport const stopTranscriptionRequest: OperationParameter = {\n parameterPath: \"stopTranscriptionRequest\",\n mapper: StopTranscriptionRequestMapper,\n};\n\nexport const recognizeRequest: OperationParameter = {\n parameterPath: \"recognizeRequest\",\n mapper: RecognizeRequestMapper,\n};\n\nexport const continuousDtmfRecognitionRequest: OperationParameter = {\n parameterPath: \"continuousDtmfRecognitionRequest\",\n mapper: ContinuousDtmfRecognitionRequestMapper,\n};\n\nexport const sendDtmfTonesRequest: OperationParameter = {\n parameterPath: \"sendDtmfTonesRequest\",\n mapper: SendDtmfTonesRequestMapper,\n};\n\nexport const updateTranscriptionRequest: OperationParameter = {\n parameterPath: \"updateTranscriptionRequest\",\n mapper: UpdateTranscriptionRequestMapper,\n};\n\nexport const holdRequest: OperationParameter = {\n parameterPath: \"holdRequest\",\n mapper: HoldRequestMapper,\n};\n\nexport const unholdRequest: OperationParameter = {\n parameterPath: \"unholdRequest\",\n mapper: UnholdRequestMapper,\n};\n\nexport const startMediaStreamingRequest: OperationParameter = {\n parameterPath: \"startMediaStreamingRequest\",\n mapper: StartMediaStreamingRequestMapper,\n};\n\nexport const stopMediaStreamingRequest: OperationParameter = {\n parameterPath: \"stopMediaStreamingRequest\",\n mapper: StopMediaStreamingRequestMapper,\n};\n\nexport const interruptRequest: OperationParameter = {\n parameterPath: \"interruptRequest\",\n mapper: InterruptAudioAndAnnounceRequestMapper,\n};\n\nexport const startDialogRequest: OperationParameter = {\n parameterPath: \"startDialogRequest\",\n mapper: StartDialogRequestMapper,\n};\n\nexport const dialogId: OperationURLParameter = {\n parameterPath: \"dialogId\",\n mapper: {\n serializedName: \"dialogId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const operationCallbackUri: OperationQueryParameter = {\n parameterPath: [\"options\", \"operationCallbackUri\"],\n mapper: {\n serializedName: \"operationCallbackUri\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const updateDialogRequest: OperationParameter = {\n parameterPath: \"updateDialogRequest\",\n mapper: UpdateDialogRequestMapper,\n};\n\nexport const startCallRecording: OperationParameter = {\n parameterPath: \"startCallRecording\",\n mapper: StartCallRecordingRequestMapper,\n};\n\nexport const recordingId: OperationURLParameter = {\n parameterPath: \"recordingId\",\n mapper: {\n serializedName: \"recordingId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { CallConnection } from "../operationsInterfaces/index.js";
3
3
  import { CallAutomationApiClient } from "../callAutomationApiClient.js";
4
- import { CallParticipantInternal, CallConnectionGetParticipantsOptionalParams, CallConnectionGetCallOptionalParams, CallConnectionGetCallResponse, CallConnectionHangupCallOptionalParams, CallConnectionTerminateCallOptionalParams, TransferToParticipantRequest, CallConnectionTransferToParticipantOptionalParams, CallConnectionTransferToParticipantResponse, AddParticipantRequest, CallConnectionAddParticipantOptionalParams, CallConnectionAddParticipantResponse, RemoveParticipantRequest, CallConnectionRemoveParticipantOptionalParams, CallConnectionRemoveParticipantResponse, MuteParticipantsRequest, CallConnectionMuteOptionalParams, CallConnectionMuteResponse, CancelAddParticipantRequest, CallConnectionCancelAddParticipantOptionalParams, CallConnectionCancelAddParticipantResponse, CallConnectionGetParticipantOptionalParams, CallConnectionGetParticipantResponse } from "../models/index.js";
4
+ import { CallParticipantInternal, CallConnectionGetParticipantsOptionalParams, CallConnectionGetCallOptionalParams, CallConnectionGetCallResponse, CallConnectionHangupCallOptionalParams, CallConnectionTerminateCallOptionalParams, TransferToParticipantRequest, CallConnectionTransferToParticipantOptionalParams, CallConnectionTransferToParticipantResponse, AddParticipantRequest, CallConnectionAddParticipantOptionalParams, CallConnectionAddParticipantResponse, RemoveParticipantRequest, CallConnectionRemoveParticipantOptionalParams, CallConnectionRemoveParticipantResponse, MuteParticipantsRequest, CallConnectionMuteOptionalParams, CallConnectionMuteResponse, UnmuteParticipantsRequest, CallConnectionUnmuteOptionalParams, CallConnectionUnmuteResponse, CancelAddParticipantRequest, CallConnectionCancelAddParticipantOptionalParams, CallConnectionCancelAddParticipantResponse, MoveParticipantsRequest, CallConnectionMoveParticipantsOptionalParams, CallConnectionMoveParticipantsResponse, CallConnectionGetParticipantOptionalParams, CallConnectionGetParticipantResponse } from "../models/index.js";
5
5
  /** Class containing CallConnection operations. */
6
6
  export declare class CallConnectionImpl implements CallConnection {
7
7
  private readonly client;
@@ -53,7 +53,7 @@ export declare class CallConnectionImpl implements CallConnection {
53
53
  /**
54
54
  * Add a participant to the call.
55
55
  * @param callConnectionId The call connection Id
56
- * @param addParticipantRequest The request payload for adding participant to the call.
56
+ * @param addParticipantRequest The add participants request.
57
57
  * @param options The options parameters.
58
58
  */
59
59
  addParticipant(callConnectionId: string, addParticipantRequest: AddParticipantRequest, options?: CallConnectionAddParticipantOptionalParams): Promise<CallConnectionAddParticipantResponse>;
@@ -71,6 +71,13 @@ export declare class CallConnectionImpl implements CallConnection {
71
71
  * @param options The options parameters.
72
72
  */
73
73
  mute(callConnectionId: string, muteParticipantsRequest: MuteParticipantsRequest, options?: CallConnectionMuteOptionalParams): Promise<CallConnectionMuteResponse>;
74
+ /**
75
+ * Unmute participants from the call using identifier.
76
+ * @param callConnectionId The call connection id.
77
+ * @param unmuteParticipantsRequest The participants to be unmuted from the call.
78
+ * @param options The options parameters.
79
+ */
80
+ unmute(callConnectionId: string, unmuteParticipantsRequest: UnmuteParticipantsRequest, options?: CallConnectionUnmuteOptionalParams): Promise<CallConnectionUnmuteResponse>;
74
81
  /**
75
82
  * Cancel add participant operation.
76
83
  * @param callConnectionId The call connection Id
@@ -78,6 +85,13 @@ export declare class CallConnectionImpl implements CallConnection {
78
85
  * @param options The options parameters.
79
86
  */
80
87
  cancelAddParticipant(callConnectionId: string, cancelAddParticipantRequest: CancelAddParticipantRequest, options?: CallConnectionCancelAddParticipantOptionalParams): Promise<CallConnectionCancelAddParticipantResponse>;
88
+ /**
89
+ * Add a participant to the call.
90
+ * @param callConnectionId The call connection Id
91
+ * @param moveParticipantRequest The move participants request.
92
+ * @param options The options parameters.
93
+ */
94
+ moveParticipants(callConnectionId: string, moveParticipantRequest: MoveParticipantsRequest, options?: CallConnectionMoveParticipantsOptionalParams): Promise<CallConnectionMoveParticipantsResponse>;
81
95
  /**
82
96
  * Get participant from a call.
83
97
  * @param callConnectionId The call connection Id
@@ -1 +1 @@
1
- {"version":3,"file":"callConnection.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM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A4B,EAC1D,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAOvD;;;;OAIG;IACH,OAAO,CAAC,gBAAgB;IAUxB;;;;;OAKG;IACH,cAAc,CACZ,gBAAgB,EAAE,MAAM,EACxB,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;OAKG;IACH,iBAAiB,CACf,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,wBAAwB,EAClD,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAOnD;;;;;OAKG;IACH,IAAI,CACF,gBAAgB,EAAE,MAAM,EACxB,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;OAKG;IACH,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,EACxB,2BAA2B,EAAE,2BAA2B,EACxD,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAOtD;;;;;OAKG;IACH,cAAc,CACZ,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;CAU7B"}
1
+ {"version":3,"file":"callConnection.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,uBAAuB,EAEvB,2CAA2C,EAE3C,mCAAmC,EACnC,6BAA6B,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C,gBAAgB;IAUxB;;;;;OAKG;IACH,cAAc,CACZ,gBAAgB,EAAE,MAAM,EACxB,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;OAKG;IACH,iBAAiB,CACf,gBAAgB,EAAE,MAAM,EACxB,wBAAwB,EAAE,wBAAwB,EAClD,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAOnD;;;;;OAKG;IACH,IAAI,CACF,gBAAgB,EAAE,MAAM,EACxB,uBAAuB,EAAE,uBAAuB,EAChD,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;OAKG;IACH,MAAM,CACJ,gBAAgB,EAAE,MAAM,EACxB,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;OAKG;IACH,oBAAoB,CAClB,gBAAgB,EAAE,MAAM,EACxB,2BAA2B,EAAE,2BAA2B,EACxD,OAAO,CAAC,EAAE,gDAAgD,GACzD,OAAO,CAAC,0CAA0C,CAAC;IAOtD;;;;;OAKG;IACH,gBAAgB,CACd,gBAAgB,EAAE,MAAM,EACxB,sBAAsB,EAAE,uBAAuB,EAC/C,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAOlD;;;;;OAKG;IACH,cAAc,CACZ,gBAAgB,EAAE,MAAM,EACxB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;CAU7B"}
@@ -130,7 +130,7 @@ class CallConnectionImpl {
130
130
  /**
131
131
  * Add a participant to the call.
132
132
  * @param callConnectionId The call connection Id
133
- * @param addParticipantRequest The request payload for adding participant to the call.
133
+ * @param addParticipantRequest The add participants request.
134
134
  * @param options The options parameters.
135
135
  */
136
136
  addParticipant(callConnectionId, addParticipantRequest, options) {
@@ -154,6 +154,15 @@ class CallConnectionImpl {
154
154
  mute(callConnectionId, muteParticipantsRequest, options) {
155
155
  return this.client.sendOperationRequest({ callConnectionId, muteParticipantsRequest, options }, muteOperationSpec);
156
156
  }
157
+ /**
158
+ * Unmute participants from the call using identifier.
159
+ * @param callConnectionId The call connection id.
160
+ * @param unmuteParticipantsRequest The participants to be unmuted from the call.
161
+ * @param options The options parameters.
162
+ */
163
+ unmute(callConnectionId, unmuteParticipantsRequest, options) {
164
+ return this.client.sendOperationRequest({ callConnectionId, unmuteParticipantsRequest, options }, unmuteOperationSpec);
165
+ }
157
166
  /**
158
167
  * Cancel add participant operation.
159
168
  * @param callConnectionId The call connection Id
@@ -163,6 +172,15 @@ class CallConnectionImpl {
163
172
  cancelAddParticipant(callConnectionId, cancelAddParticipantRequest, options) {
164
173
  return this.client.sendOperationRequest({ callConnectionId, cancelAddParticipantRequest, options }, cancelAddParticipantOperationSpec);
165
174
  }
175
+ /**
176
+ * Add a participant to the call.
177
+ * @param callConnectionId The call connection Id
178
+ * @param moveParticipantRequest The move participants request.
179
+ * @param options The options parameters.
180
+ */
181
+ moveParticipants(callConnectionId, moveParticipantRequest, options) {
182
+ return this.client.sendOperationRequest({ callConnectionId, moveParticipantRequest, options }, moveParticipantsOperationSpec);
183
+ }
166
184
  /**
167
185
  * Get participant from a call.
168
186
  * @param callConnectionId The call connection Id
@@ -341,6 +359,29 @@ const muteOperationSpec = {
341
359
  mediaType: "json",
342
360
  serializer,
343
361
  };
362
+ const unmuteOperationSpec = {
363
+ path: "/calling/callConnections/{callConnectionId}/participants:unmute",
364
+ httpMethod: "POST",
365
+ responses: {
366
+ 200: {
367
+ bodyMapper: Mappers.UnmuteParticipantsResponse,
368
+ },
369
+ default: {
370
+ bodyMapper: Mappers.CommunicationErrorResponse,
371
+ },
372
+ },
373
+ requestBody: Parameters.unmuteParticipantsRequest,
374
+ queryParameters: [Parameters.apiVersion],
375
+ urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
376
+ headerParameters: [
377
+ Parameters.contentType,
378
+ Parameters.accept,
379
+ Parameters.repeatabilityRequestID,
380
+ Parameters.repeatabilityFirstSent,
381
+ ],
382
+ mediaType: "json",
383
+ serializer,
384
+ };
344
385
  const cancelAddParticipantOperationSpec = {
345
386
  path: "/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant",
346
387
  httpMethod: "POST",
@@ -364,6 +405,29 @@ const cancelAddParticipantOperationSpec = {
364
405
  mediaType: "json",
365
406
  serializer,
366
407
  };
408
+ const moveParticipantsOperationSpec = {
409
+ path: "/calling/callConnections/{callConnectionId}/participants:moveHere",
410
+ httpMethod: "POST",
411
+ responses: {
412
+ 202: {
413
+ bodyMapper: Mappers.MoveParticipantsResponse,
414
+ },
415
+ default: {
416
+ bodyMapper: Mappers.CommunicationErrorResponse,
417
+ },
418
+ },
419
+ requestBody: Parameters.moveParticipantRequest,
420
+ queryParameters: [Parameters.apiVersion],
421
+ urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
422
+ headerParameters: [
423
+ Parameters.contentType,
424
+ Parameters.accept,
425
+ Parameters.repeatabilityRequestID,
426
+ Parameters.repeatabilityFirstSent,
427
+ ],
428
+ mediaType: "json",
429
+ serializer,
430
+ };
367
431
  const getParticipantOperationSpec = {
368
432
  path: "/calling/callConnections/{callConnectionId}/participants/{participantRawId}",
369
433
  httpMethod: "GET",
@@ -1 +1 @@
1
- {"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AA+BtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAA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U,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,QAAQ;KACpB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { CallConnection } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n CallParticipantInternal,\n CallConnectionGetParticipantsNextOptionalParams,\n CallConnectionGetParticipantsOptionalParams,\n CallConnectionGetParticipantsResponse,\n CallConnectionGetCallOptionalParams,\n CallConnectionGetCallResponse,\n CallConnectionHangupCallOptionalParams,\n CallConnectionTerminateCallOptionalParams,\n TransferToParticipantRequest,\n CallConnectionTransferToParticipantOptionalParams,\n CallConnectionTransferToParticipantResponse,\n AddParticipantRequest,\n CallConnectionAddParticipantOptionalParams,\n CallConnectionAddParticipantResponse,\n RemoveParticipantRequest,\n CallConnectionRemoveParticipantOptionalParams,\n CallConnectionRemoveParticipantResponse,\n MuteParticipantsRequest,\n CallConnectionMuteOptionalParams,\n CallConnectionMuteResponse,\n CancelAddParticipantRequest,\n CallConnectionCancelAddParticipantOptionalParams,\n CallConnectionCancelAddParticipantResponse,\n CallConnectionGetParticipantOptionalParams,\n CallConnectionGetParticipantResponse,\n CallConnectionGetParticipantsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CallConnection operations. */\nexport class CallConnectionImpl implements CallConnection {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallConnection class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Get participants from a call. Recording and transcription bots are omitted from this list.\n * @param callConnectionId The call connection Id\n * @param options The options parameters.\n */\n public listParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): PagedAsyncIterableIterator<CallParticipantInternal> {\n const iter = this.getParticipantsPagingAll(callConnectionId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.getParticipantsPagingPage(\n callConnectionId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *getParticipantsPagingPage(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<CallParticipantInternal[]> {\n let result: CallConnectionGetParticipantsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._getParticipants(callConnectionId, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._getParticipantsNext(\n callConnectionId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *getParticipantsPagingAll(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): AsyncIterableIterator<CallParticipantInternal> {\n for await (const page of this.getParticipantsPagingPage(\n callConnectionId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the detail properties of an ongoing call.\n * @param callConnectionId The call connection id.\n * @param options The options parameters.\n */\n getCall(\n callConnectionId: string,\n options?: CallConnectionGetCallOptionalParams,\n ): Promise<CallConnectionGetCallResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n getCallOperationSpec,\n );\n }\n\n /**\n * Hang up call automation service from the call. This will make call automation service leave the\n * call, but does not terminate if there are more than 1 caller in the call.\n * @param callConnectionId The call connection id.\n * @param options The options parameters.\n */\n hangupCall(\n callConnectionId: string,\n options?: CallConnectionHangupCallOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n hangupCallOperationSpec,\n );\n }\n\n /**\n * Terminate a call using CallConnectionId.\n * @param callConnectionId The terminate call request.\n * @param options The options parameters.\n */\n terminateCall(\n callConnectionId: string,\n options?: CallConnectionTerminateCallOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n terminateCallOperationSpec,\n );\n }\n\n /**\n * Transfer the call to a participant.\n * @param callConnectionId The call connection id.\n * @param transferToParticipantRequest The transfer to participant request.\n * @param options The options parameters.\n */\n transferToParticipant(\n callConnectionId: string,\n transferToParticipantRequest: TransferToParticipantRequest,\n options?: CallConnectionTransferToParticipantOptionalParams,\n ): Promise<CallConnectionTransferToParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, transferToParticipantRequest, options },\n transferToParticipantOperationSpec,\n );\n }\n\n /**\n * Get participants from a call. Recording and transcription bots are omitted from this list.\n * @param callConnectionId The call connection Id\n * @param options The options parameters.\n */\n private _getParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): Promise<CallConnectionGetParticipantsResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n getParticipantsOperationSpec,\n );\n }\n\n /**\n * Add a participant to the call.\n * @param callConnectionId The call connection Id\n * @param addParticipantRequest The request payload for adding participant to the call.\n * @param options The options parameters.\n */\n addParticipant(\n callConnectionId: string,\n addParticipantRequest: AddParticipantRequest,\n options?: CallConnectionAddParticipantOptionalParams,\n ): Promise<CallConnectionAddParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, addParticipantRequest, options },\n addParticipantOperationSpec,\n );\n }\n\n /**\n * Remove a participant from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param removeParticipantRequest The participant to be removed from the call.\n * @param options The options parameters.\n */\n removeParticipant(\n callConnectionId: string,\n removeParticipantRequest: RemoveParticipantRequest,\n options?: CallConnectionRemoveParticipantOptionalParams,\n ): Promise<CallConnectionRemoveParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, removeParticipantRequest, options },\n removeParticipantOperationSpec,\n );\n }\n\n /**\n * Mute participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param muteParticipantsRequest The participants to be muted from the call.\n * @param options The options parameters.\n */\n mute(\n callConnectionId: string,\n muteParticipantsRequest: MuteParticipantsRequest,\n options?: CallConnectionMuteOptionalParams,\n ): Promise<CallConnectionMuteResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, muteParticipantsRequest, options },\n muteOperationSpec,\n );\n }\n\n /**\n * Cancel add participant operation.\n * @param callConnectionId The call connection Id\n * @param cancelAddParticipantRequest Cancellation request.\n * @param options The options parameters.\n */\n cancelAddParticipant(\n callConnectionId: string,\n cancelAddParticipantRequest: CancelAddParticipantRequest,\n options?: CallConnectionCancelAddParticipantOptionalParams,\n ): Promise<CallConnectionCancelAddParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, cancelAddParticipantRequest, options },\n cancelAddParticipantOperationSpec,\n );\n }\n\n /**\n * Get participant from a call.\n * @param callConnectionId The call connection Id\n * @param participantRawId Raw id of the participant to retrieve.\n * @param options The options parameters.\n */\n getParticipant(\n callConnectionId: string,\n participantRawId: string,\n options?: CallConnectionGetParticipantOptionalParams,\n ): Promise<CallConnectionGetParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, participantRawId, options },\n getParticipantOperationSpec,\n );\n }\n\n /**\n * GetParticipantsNext\n * @param callConnectionId The call connection Id\n * @param nextLink The nextLink from the previous successful call to the GetParticipants method.\n * @param options The options parameters.\n */\n private _getParticipantsNext(\n callConnectionId: string,\n nextLink: string,\n options?: CallConnectionGetParticipantsNextOptionalParams,\n ): Promise<CallConnectionGetParticipantsNextResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, nextLink, options },\n getParticipantsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CallConnectionPropertiesInternal,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst hangupCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst terminateCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:terminate\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n serializer,\n};\nconst transferToParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:transferToParticipant\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.TransferCallResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.transferToParticipantRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getParticipantsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst addParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:add\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.AddParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.addParticipantRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst removeParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:remove\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.RemoveParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.removeParticipantRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst muteOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:mute\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MuteParticipantsResult,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.muteParticipantsRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst cancelAddParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.CancelAddParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.cancelAddParticipantRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants/{participantRawId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CallParticipantInternal,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.callConnectionId,\n Parameters.participantRawId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getParticipantsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n urlParameters: [\n Parameters.endpoint,\n Parameters.callConnectionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAqCtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,gBAAgB,CACrB,gBAAwB,EACxB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QACtE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MA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AAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,QAAQ;KACpB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { CallConnection } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CallAutomationApiClient } from \"../callAutomationApiClient.js\";\nimport {\n CallParticipantInternal,\n CallConnectionGetParticipantsNextOptionalParams,\n CallConnectionGetParticipantsOptionalParams,\n CallConnectionGetParticipantsResponse,\n CallConnectionGetCallOptionalParams,\n CallConnectionGetCallResponse,\n CallConnectionHangupCallOptionalParams,\n CallConnectionTerminateCallOptionalParams,\n TransferToParticipantRequest,\n CallConnectionTransferToParticipantOptionalParams,\n CallConnectionTransferToParticipantResponse,\n AddParticipantRequest,\n CallConnectionAddParticipantOptionalParams,\n CallConnectionAddParticipantResponse,\n RemoveParticipantRequest,\n CallConnectionRemoveParticipantOptionalParams,\n CallConnectionRemoveParticipantResponse,\n MuteParticipantsRequest,\n CallConnectionMuteOptionalParams,\n CallConnectionMuteResponse,\n UnmuteParticipantsRequest,\n CallConnectionUnmuteOptionalParams,\n CallConnectionUnmuteResponse,\n CancelAddParticipantRequest,\n CallConnectionCancelAddParticipantOptionalParams,\n CallConnectionCancelAddParticipantResponse,\n MoveParticipantsRequest,\n CallConnectionMoveParticipantsOptionalParams,\n CallConnectionMoveParticipantsResponse,\n CallConnectionGetParticipantOptionalParams,\n CallConnectionGetParticipantResponse,\n CallConnectionGetParticipantsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CallConnection operations. */\nexport class CallConnectionImpl implements CallConnection {\n private readonly client: CallAutomationApiClient;\n\n /**\n * Initialize a new instance of the class CallConnection class.\n * @param client Reference to the service client\n */\n constructor(client: CallAutomationApiClient) {\n this.client = client;\n }\n\n /**\n * Get participants from a call. Recording and transcription bots are omitted from this list.\n * @param callConnectionId The call connection Id\n * @param options The options parameters.\n */\n public listParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): PagedAsyncIterableIterator<CallParticipantInternal> {\n const iter = this.getParticipantsPagingAll(callConnectionId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.getParticipantsPagingPage(\n callConnectionId,\n options,\n settings,\n );\n },\n };\n }\n\n private async *getParticipantsPagingPage(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<CallParticipantInternal[]> {\n let result: CallConnectionGetParticipantsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._getParticipants(callConnectionId, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._getParticipantsNext(\n callConnectionId,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *getParticipantsPagingAll(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): AsyncIterableIterator<CallParticipantInternal> {\n for await (const page of this.getParticipantsPagingPage(\n callConnectionId,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the detail properties of an ongoing call.\n * @param callConnectionId The call connection id.\n * @param options The options parameters.\n */\n getCall(\n callConnectionId: string,\n options?: CallConnectionGetCallOptionalParams,\n ): Promise<CallConnectionGetCallResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n getCallOperationSpec,\n );\n }\n\n /**\n * Hang up call automation service from the call. This will make call automation service leave the\n * call, but does not terminate if there are more than 1 caller in the call.\n * @param callConnectionId The call connection id.\n * @param options The options parameters.\n */\n hangupCall(\n callConnectionId: string,\n options?: CallConnectionHangupCallOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n hangupCallOperationSpec,\n );\n }\n\n /**\n * Terminate a call using CallConnectionId.\n * @param callConnectionId The terminate call request.\n * @param options The options parameters.\n */\n terminateCall(\n callConnectionId: string,\n options?: CallConnectionTerminateCallOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n terminateCallOperationSpec,\n );\n }\n\n /**\n * Transfer the call to a participant.\n * @param callConnectionId The call connection id.\n * @param transferToParticipantRequest The transfer to participant request.\n * @param options The options parameters.\n */\n transferToParticipant(\n callConnectionId: string,\n transferToParticipantRequest: TransferToParticipantRequest,\n options?: CallConnectionTransferToParticipantOptionalParams,\n ): Promise<CallConnectionTransferToParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, transferToParticipantRequest, options },\n transferToParticipantOperationSpec,\n );\n }\n\n /**\n * Get participants from a call. Recording and transcription bots are omitted from this list.\n * @param callConnectionId The call connection Id\n * @param options The options parameters.\n */\n private _getParticipants(\n callConnectionId: string,\n options?: CallConnectionGetParticipantsOptionalParams,\n ): Promise<CallConnectionGetParticipantsResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, options },\n getParticipantsOperationSpec,\n );\n }\n\n /**\n * Add a participant to the call.\n * @param callConnectionId The call connection Id\n * @param addParticipantRequest The add participants request.\n * @param options The options parameters.\n */\n addParticipant(\n callConnectionId: string,\n addParticipantRequest: AddParticipantRequest,\n options?: CallConnectionAddParticipantOptionalParams,\n ): Promise<CallConnectionAddParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, addParticipantRequest, options },\n addParticipantOperationSpec,\n );\n }\n\n /**\n * Remove a participant from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param removeParticipantRequest The participant to be removed from the call.\n * @param options The options parameters.\n */\n removeParticipant(\n callConnectionId: string,\n removeParticipantRequest: RemoveParticipantRequest,\n options?: CallConnectionRemoveParticipantOptionalParams,\n ): Promise<CallConnectionRemoveParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, removeParticipantRequest, options },\n removeParticipantOperationSpec,\n );\n }\n\n /**\n * Mute participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param muteParticipantsRequest The participants to be muted from the call.\n * @param options The options parameters.\n */\n mute(\n callConnectionId: string,\n muteParticipantsRequest: MuteParticipantsRequest,\n options?: CallConnectionMuteOptionalParams,\n ): Promise<CallConnectionMuteResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, muteParticipantsRequest, options },\n muteOperationSpec,\n );\n }\n\n /**\n * Unmute participants from the call using identifier.\n * @param callConnectionId The call connection id.\n * @param unmuteParticipantsRequest The participants to be unmuted from the call.\n * @param options The options parameters.\n */\n unmute(\n callConnectionId: string,\n unmuteParticipantsRequest: UnmuteParticipantsRequest,\n options?: CallConnectionUnmuteOptionalParams,\n ): Promise<CallConnectionUnmuteResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, unmuteParticipantsRequest, options },\n unmuteOperationSpec,\n );\n }\n\n /**\n * Cancel add participant operation.\n * @param callConnectionId The call connection Id\n * @param cancelAddParticipantRequest Cancellation request.\n * @param options The options parameters.\n */\n cancelAddParticipant(\n callConnectionId: string,\n cancelAddParticipantRequest: CancelAddParticipantRequest,\n options?: CallConnectionCancelAddParticipantOptionalParams,\n ): Promise<CallConnectionCancelAddParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, cancelAddParticipantRequest, options },\n cancelAddParticipantOperationSpec,\n );\n }\n\n /**\n * Add a participant to the call.\n * @param callConnectionId The call connection Id\n * @param moveParticipantRequest The move participants request.\n * @param options The options parameters.\n */\n moveParticipants(\n callConnectionId: string,\n moveParticipantRequest: MoveParticipantsRequest,\n options?: CallConnectionMoveParticipantsOptionalParams,\n ): Promise<CallConnectionMoveParticipantsResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, moveParticipantRequest, options },\n moveParticipantsOperationSpec,\n );\n }\n\n /**\n * Get participant from a call.\n * @param callConnectionId The call connection Id\n * @param participantRawId Raw id of the participant to retrieve.\n * @param options The options parameters.\n */\n getParticipant(\n callConnectionId: string,\n participantRawId: string,\n options?: CallConnectionGetParticipantOptionalParams,\n ): Promise<CallConnectionGetParticipantResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, participantRawId, options },\n getParticipantOperationSpec,\n );\n }\n\n /**\n * GetParticipantsNext\n * @param callConnectionId The call connection Id\n * @param nextLink The nextLink from the previous successful call to the GetParticipants method.\n * @param options The options parameters.\n */\n private _getParticipantsNext(\n callConnectionId: string,\n nextLink: string,\n options?: CallConnectionGetParticipantsNextOptionalParams,\n ): Promise<CallConnectionGetParticipantsNextResponse> {\n return this.client.sendOperationRequest(\n { callConnectionId, nextLink, options },\n getParticipantsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CallConnectionPropertiesInternal,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst hangupCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}\",\n httpMethod: \"DELETE\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst terminateCallOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:terminate\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n serializer,\n};\nconst transferToParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}:transferToParticipant\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.TransferCallResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.transferToParticipantRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getParticipantsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst addParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:add\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.AddParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.addParticipantRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst removeParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:remove\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.RemoveParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.removeParticipantRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst muteOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:mute\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.MuteParticipantsResult,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.muteParticipantsRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst unmuteOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:unmute\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.UnmuteParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.unmuteParticipantsRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst cancelAddParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.CancelAddParticipantResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.cancelAddParticipantRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst moveParticipantsOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants:moveHere\",\n httpMethod: \"POST\",\n responses: {\n 202: {\n bodyMapper: Mappers.MoveParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n requestBody: Parameters.moveParticipantRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.endpoint, Parameters.callConnectionId],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.repeatabilityRequestID,\n Parameters.repeatabilityFirstSent,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getParticipantOperationSpec: coreClient.OperationSpec = {\n path: \"/calling/callConnections/{callConnectionId}/participants/{participantRawId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CallParticipantInternal,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.endpoint,\n Parameters.callConnectionId,\n Parameters.participantRawId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getParticipantsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GetParticipantsResponse,\n },\n default: {\n bodyMapper: Mappers.CommunicationErrorResponse,\n },\n },\n urlParameters: [\n Parameters.endpoint,\n Parameters.callConnectionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,35 @@
1
+ import { CallDialog } from "../operationsInterfaces/index.js";
2
+ import { CallAutomationApiClient } from "../callAutomationApiClient.js";
3
+ import { StartDialogRequest, CallDialogStartDialogOptionalParams, CallDialogStartDialogResponse, CallDialogStopDialogOptionalParams, UpdateDialogRequest, CallDialogUpdateDialogOptionalParams } from "../models/index.js";
4
+ /** Class containing CallDialog operations. */
5
+ export declare class CallDialogImpl implements CallDialog {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class CallDialog class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: CallAutomationApiClient);
12
+ /**
13
+ * Start a dialog.
14
+ * @param callConnectionId The call connection id
15
+ * @param dialogId The dialog id
16
+ * @param startDialogRequest The start dialog request
17
+ * @param options The options parameters.
18
+ */
19
+ startDialog(callConnectionId: string, dialogId: string, startDialogRequest: StartDialogRequest, options?: CallDialogStartDialogOptionalParams): Promise<CallDialogStartDialogResponse>;
20
+ /**
21
+ * @param callConnectionId
22
+ * @param dialogId
23
+ * @param options The options parameters.
24
+ */
25
+ stopDialog(callConnectionId: string, dialogId: string, options?: CallDialogStopDialogOptionalParams): Promise<void>;
26
+ /**
27
+ * Update a dialog.
28
+ * @param callConnectionId The call connection id
29
+ * @param dialogId The dialog id
30
+ * @param updateDialogRequest The update dialog request
31
+ * @param options The options parameters.
32
+ */
33
+ updateDialog(callConnectionId: string, dialogId: string, updateDialogRequest: UpdateDialogRequest, options?: CallDialogUpdateDialogOptionalParams): Promise<void>;
34
+ }
35
+ //# sourceMappingURL=callDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callDialog.d.ts","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callDialog.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,kBAAkB,EAClB,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,mBAAmB,EACnB,oCAAoC,EACrC,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;OAMG;IACH,WAAW,CACT,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,MAAM,EAChB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAOzC;;;;OAIG;IACH,UAAU,CACR,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,YAAY,CACV,gBAAgB,EAAE,MAAM,EACxB,QAAQ,EAAE,MAAM,EAChB,mBAAmB,EAAE,mBAAmB,EACxC,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,IAAI,CAAC;CAMjB"}