@azure/communication-call-automation 1.5.0 → 1.6.0-alpha.20250901.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 (481) hide show
  1. package/README.md +48 -0
  2. package/dist/browser/callAutomationClient.d.ts +8 -0
  3. package/dist/browser/callAutomationClient.d.ts.map +1 -1
  4. package/dist/browser/callAutomationClient.js +141 -84
  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 +56 -9
  8. package/dist/browser/callAutomationEventParser.js.map +1 -1
  9. package/dist/browser/callConnection.d.ts +15 -5
  10. package/dist/browser/callConnection.d.ts.map +1 -1
  11. package/dist/browser/callConnection.js +193 -86
  12. package/dist/browser/callConnection.js.map +1 -1
  13. package/dist/browser/callMedia.d.ts +19 -9
  14. package/dist/browser/callMedia.d.ts.map +1 -1
  15. package/dist/browser/callMedia.js +175 -28
  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 +26 -16
  20. package/dist/browser/callRecording.js.map +1 -1
  21. package/dist/browser/contentDownloader.js +12 -11
  22. package/dist/browser/contentDownloader.js.map +1 -1
  23. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
  24. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  25. package/dist/browser/credential/callAutomationAuthPolicy.js +1 -1
  26. package/dist/browser/credential/callAutomationAuthPolicy.js.map +1 -1
  27. package/dist/browser/credential/cryptoUtils-browser.mjs.map +1 -1
  28. package/dist/browser/credential/cryptoUtils.js +2 -1
  29. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  30. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  31. package/dist/browser/eventprocessor/callAutomationEventProcessor.js +137 -0
  32. package/dist/browser/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  33. package/dist/browser/eventprocessor/eventResponses.d.ts +134 -0
  34. package/dist/browser/eventprocessor/eventResponses.d.ts.map +1 -0
  35. package/dist/browser/eventprocessor/eventResponses.js +4 -0
  36. package/dist/browser/eventprocessor/eventResponses.js.map +1 -0
  37. package/dist/browser/generated/src/callAutomationApiClient.d.ts +2 -1
  38. package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -1
  39. package/dist/browser/generated/src/callAutomationApiClient.js +7 -15
  40. package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
  41. package/dist/browser/generated/src/models/index.d.ts +1129 -347
  42. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  43. package/dist/browser/generated/src/models/index.js +159 -75
  44. package/dist/browser/generated/src/models/index.js.map +1 -1
  45. package/dist/browser/generated/src/models/mappers.d.ts +88 -47
  46. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  47. package/dist/browser/generated/src/models/mappers.js +2136 -499
  48. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  49. package/dist/browser/generated/src/models/parameters.d.ts +8 -1
  50. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  51. package/dist/browser/generated/src/models/parameters.js +45 -6
  52. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  53. package/dist/browser/generated/src/operations/callConnection.d.ts +16 -2
  54. package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -1
  55. package/dist/browser/generated/src/operations/callConnection.js +105 -24
  56. package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
  57. package/dist/browser/generated/src/operations/callDialog.d.ts +35 -0
  58. package/dist/browser/generated/src/operations/callDialog.d.ts.map +1 -0
  59. package/dist/browser/generated/src/operations/callDialog.js +111 -0
  60. package/dist/browser/generated/src/operations/callDialog.js.map +1 -0
  61. package/dist/browser/generated/src/operations/callMedia.d.ts +15 -8
  62. package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
  63. package/dist/browser/generated/src/operations/callMedia.js +50 -26
  64. package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
  65. package/dist/browser/generated/src/operations/callRecording.d.ts +7 -1
  66. package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -1
  67. package/dist/browser/generated/src/operations/callRecording.js +24 -1
  68. package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
  69. package/dist/browser/generated/src/operations/index.d.ts +1 -0
  70. package/dist/browser/generated/src/operations/index.d.ts.map +1 -1
  71. package/dist/browser/generated/src/operations/index.js +1 -0
  72. package/dist/browser/generated/src/operations/index.js.map +1 -1
  73. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  74. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  75. package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  76. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  77. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  78. package/dist/browser/generated/src/operationsInterfaces/callDialog.js +9 -0
  79. package/dist/browser/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  80. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  81. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  82. package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  83. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  84. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  85. package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  86. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +1 -0
  87. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  88. package/dist/browser/generated/src/operationsInterfaces/index.js +1 -0
  89. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -1
  90. package/dist/browser/generated/src/pagingHelper.js +4 -2
  91. package/dist/browser/generated/src/pagingHelper.js.map +1 -1
  92. package/dist/browser/index.d.ts +2 -0
  93. package/dist/browser/index.d.ts.map +1 -1
  94. package/dist/browser/index.js +2 -0
  95. package/dist/browser/index.js.map +1 -1
  96. package/dist/browser/models/constants.d.ts.map +1 -1
  97. package/dist/browser/models/constants.js +1 -1
  98. package/dist/browser/models/constants.js.map +1 -1
  99. package/dist/browser/models/events.d.ts +336 -296
  100. package/dist/browser/models/events.d.ts.map +1 -1
  101. package/dist/browser/models/events.js.map +1 -1
  102. package/dist/browser/models/models.d.ts +76 -38
  103. package/dist/browser/models/models.d.ts.map +1 -1
  104. package/dist/browser/models/models.js +3 -1
  105. package/dist/browser/models/models.js.map +1 -1
  106. package/dist/browser/models/options.d.ts +34 -4
  107. package/dist/browser/models/options.d.ts.map +1 -1
  108. package/dist/browser/models/options.js.map +1 -1
  109. package/dist/browser/models/responses.d.ts +82 -10
  110. package/dist/browser/models/responses.d.ts.map +1 -1
  111. package/dist/browser/models/responses.js.map +1 -1
  112. package/dist/browser/models/streaming.d.ts +27 -26
  113. package/dist/browser/models/streaming.d.ts.map +1 -1
  114. package/dist/browser/models/streaming.js +57 -28
  115. package/dist/browser/models/streaming.js.map +1 -1
  116. package/dist/browser/streamingData.d.ts.map +1 -1
  117. package/dist/browser/streamingData.js +1 -10
  118. package/dist/browser/streamingData.js.map +1 -1
  119. package/dist/browser/utli/converters.d.ts +26 -2
  120. package/dist/browser/utli/converters.d.ts.map +1 -1
  121. package/dist/browser/utli/converters.js +122 -48
  122. package/dist/browser/utli/converters.js.map +1 -1
  123. package/dist/commonjs/callAutomationClient.d.ts +8 -0
  124. package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
  125. package/dist/commonjs/callAutomationClient.js +139 -82
  126. package/dist/commonjs/callAutomationClient.js.map +1 -1
  127. package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
  128. package/dist/commonjs/callAutomationEventParser.js +55 -8
  129. package/dist/commonjs/callAutomationEventParser.js.map +1 -1
  130. package/dist/commonjs/callConnection.d.ts +15 -5
  131. package/dist/commonjs/callConnection.d.ts.map +1 -1
  132. package/dist/commonjs/callConnection.js +194 -87
  133. package/dist/commonjs/callConnection.js.map +1 -1
  134. package/dist/commonjs/callMedia.d.ts +19 -9
  135. package/dist/commonjs/callMedia.d.ts.map +1 -1
  136. package/dist/commonjs/callMedia.js +183 -36
  137. package/dist/commonjs/callMedia.js.map +1 -1
  138. package/dist/commonjs/callRecording.d.ts +8 -2
  139. package/dist/commonjs/callRecording.d.ts.map +1 -1
  140. package/dist/commonjs/callRecording.js +27 -17
  141. package/dist/commonjs/callRecording.js.map +1 -1
  142. package/dist/commonjs/contentDownloader.js +12 -11
  143. package/dist/commonjs/contentDownloader.js.map +1 -1
  144. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
  145. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  146. package/dist/commonjs/credential/callAutomationAuthPolicy.js +1 -1
  147. package/dist/commonjs/credential/callAutomationAuthPolicy.js.map +1 -1
  148. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  149. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  150. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js +141 -0
  151. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  152. package/dist/commonjs/eventprocessor/eventResponses.d.ts +134 -0
  153. package/dist/commonjs/eventprocessor/eventResponses.d.ts.map +1 -0
  154. package/dist/commonjs/eventprocessor/eventResponses.js +5 -0
  155. package/dist/commonjs/eventprocessor/eventResponses.js.map +1 -0
  156. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +2 -1
  157. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -1
  158. package/dist/commonjs/generated/src/callAutomationApiClient.js +6 -14
  159. package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
  160. package/dist/commonjs/generated/src/models/index.d.ts +1129 -347
  161. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  162. package/dist/commonjs/generated/src/models/index.js +160 -76
  163. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  164. package/dist/commonjs/generated/src/models/mappers.d.ts +88 -47
  165. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  166. package/dist/commonjs/generated/src/models/mappers.js +2139 -502
  167. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  168. package/dist/commonjs/generated/src/models/parameters.d.ts +8 -1
  169. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  170. package/dist/commonjs/generated/src/models/parameters.js +45 -6
  171. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  172. package/dist/commonjs/generated/src/operations/callConnection.d.ts +16 -2
  173. package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -1
  174. package/dist/commonjs/generated/src/operations/callConnection.js +104 -24
  175. package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
  176. package/dist/commonjs/generated/src/operations/callDialog.d.ts +35 -0
  177. package/dist/commonjs/generated/src/operations/callDialog.d.ts.map +1 -0
  178. package/dist/commonjs/generated/src/operations/callDialog.js +116 -0
  179. package/dist/commonjs/generated/src/operations/callDialog.js.map +1 -0
  180. package/dist/commonjs/generated/src/operations/callMedia.d.ts +15 -8
  181. package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
  182. package/dist/commonjs/generated/src/operations/callMedia.js +50 -26
  183. package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
  184. package/dist/commonjs/generated/src/operations/callRecording.d.ts +7 -1
  185. package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -1
  186. package/dist/commonjs/generated/src/operations/callRecording.js +24 -1
  187. package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
  188. package/dist/commonjs/generated/src/operations/index.d.ts +1 -0
  189. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -1
  190. package/dist/commonjs/generated/src/operations/index.js +1 -0
  191. package/dist/commonjs/generated/src/operations/index.js.map +1 -1
  192. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  193. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  194. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  195. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  196. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  197. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js +10 -0
  198. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  199. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  200. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  201. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  202. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  203. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  204. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  205. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +1 -0
  206. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  207. package/dist/commonjs/generated/src/operationsInterfaces/index.js +1 -0
  208. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -1
  209. package/dist/commonjs/generated/src/pagingHelper.js +4 -2
  210. package/dist/commonjs/generated/src/pagingHelper.js.map +1 -1
  211. package/dist/commonjs/index.d.ts +2 -0
  212. package/dist/commonjs/index.d.ts.map +1 -1
  213. package/dist/commonjs/index.js +2 -0
  214. package/dist/commonjs/index.js.map +1 -1
  215. package/dist/commonjs/models/constants.d.ts.map +1 -1
  216. package/dist/commonjs/models/constants.js +1 -1
  217. package/dist/commonjs/models/constants.js.map +1 -1
  218. package/dist/commonjs/models/events.d.ts +336 -296
  219. package/dist/commonjs/models/events.d.ts.map +1 -1
  220. package/dist/commonjs/models/events.js.map +1 -1
  221. package/dist/commonjs/models/models.d.ts +76 -38
  222. package/dist/commonjs/models/models.d.ts.map +1 -1
  223. package/dist/commonjs/models/models.js +21 -2
  224. package/dist/commonjs/models/models.js.map +1 -1
  225. package/dist/commonjs/models/options.d.ts +34 -4
  226. package/dist/commonjs/models/options.d.ts.map +1 -1
  227. package/dist/commonjs/models/options.js.map +1 -1
  228. package/dist/commonjs/models/responses.d.ts +82 -10
  229. package/dist/commonjs/models/responses.d.ts.map +1 -1
  230. package/dist/commonjs/models/responses.js.map +1 -1
  231. package/dist/commonjs/models/streaming.d.ts +27 -26
  232. package/dist/commonjs/models/streaming.d.ts.map +1 -1
  233. package/dist/commonjs/models/streaming.js +59 -31
  234. package/dist/commonjs/models/streaming.js.map +1 -1
  235. package/dist/commonjs/streamingData.d.ts.map +1 -1
  236. package/dist/commonjs/streamingData.js +1 -10
  237. package/dist/commonjs/streamingData.js.map +1 -1
  238. package/dist/commonjs/tsdoc-metadata.json +11 -11
  239. package/dist/commonjs/utli/converters.d.ts +26 -2
  240. package/dist/commonjs/utli/converters.d.ts.map +1 -1
  241. package/dist/commonjs/utli/converters.js +127 -47
  242. package/dist/commonjs/utli/converters.js.map +1 -1
  243. package/dist/esm/callAutomationClient.d.ts +8 -0
  244. package/dist/esm/callAutomationClient.d.ts.map +1 -1
  245. package/dist/esm/callAutomationClient.js +141 -84
  246. package/dist/esm/callAutomationClient.js.map +1 -1
  247. package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
  248. package/dist/esm/callAutomationEventParser.js +56 -9
  249. package/dist/esm/callAutomationEventParser.js.map +1 -1
  250. package/dist/esm/callConnection.d.ts +15 -5
  251. package/dist/esm/callConnection.d.ts.map +1 -1
  252. package/dist/esm/callConnection.js +193 -86
  253. package/dist/esm/callConnection.js.map +1 -1
  254. package/dist/esm/callMedia.d.ts +19 -9
  255. package/dist/esm/callMedia.d.ts.map +1 -1
  256. package/dist/esm/callMedia.js +175 -28
  257. package/dist/esm/callMedia.js.map +1 -1
  258. package/dist/esm/callRecording.d.ts +8 -2
  259. package/dist/esm/callRecording.d.ts.map +1 -1
  260. package/dist/esm/callRecording.js +26 -16
  261. package/dist/esm/callRecording.js.map +1 -1
  262. package/dist/esm/contentDownloader.js +12 -11
  263. package/dist/esm/contentDownloader.js.map +1 -1
  264. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
  265. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  266. package/dist/esm/credential/callAutomationAuthPolicy.js +1 -1
  267. package/dist/esm/credential/callAutomationAuthPolicy.js.map +1 -1
  268. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  269. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  270. package/dist/esm/eventprocessor/callAutomationEventProcessor.js +137 -0
  271. package/dist/esm/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  272. package/dist/esm/eventprocessor/eventResponses.d.ts +134 -0
  273. package/dist/esm/eventprocessor/eventResponses.d.ts.map +1 -0
  274. package/dist/esm/eventprocessor/eventResponses.js +4 -0
  275. package/dist/esm/eventprocessor/eventResponses.js.map +1 -0
  276. package/dist/esm/generated/src/callAutomationApiClient.d.ts +2 -1
  277. package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -1
  278. package/dist/esm/generated/src/callAutomationApiClient.js +7 -15
  279. package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
  280. package/dist/esm/generated/src/models/index.d.ts +1129 -347
  281. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  282. package/dist/esm/generated/src/models/index.js +159 -75
  283. package/dist/esm/generated/src/models/index.js.map +1 -1
  284. package/dist/esm/generated/src/models/mappers.d.ts +88 -47
  285. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  286. package/dist/esm/generated/src/models/mappers.js +2136 -499
  287. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  288. package/dist/esm/generated/src/models/parameters.d.ts +8 -1
  289. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  290. package/dist/esm/generated/src/models/parameters.js +45 -6
  291. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  292. package/dist/esm/generated/src/operations/callConnection.d.ts +16 -2
  293. package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -1
  294. package/dist/esm/generated/src/operations/callConnection.js +105 -24
  295. package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
  296. package/dist/esm/generated/src/operations/callDialog.d.ts +35 -0
  297. package/dist/esm/generated/src/operations/callDialog.d.ts.map +1 -0
  298. package/dist/esm/generated/src/operations/callDialog.js +111 -0
  299. package/dist/esm/generated/src/operations/callDialog.js.map +1 -0
  300. package/dist/esm/generated/src/operations/callMedia.d.ts +15 -8
  301. package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
  302. package/dist/esm/generated/src/operations/callMedia.js +50 -26
  303. package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
  304. package/dist/esm/generated/src/operations/callRecording.d.ts +7 -1
  305. package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -1
  306. package/dist/esm/generated/src/operations/callRecording.js +24 -1
  307. package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
  308. package/dist/esm/generated/src/operations/index.d.ts +1 -0
  309. package/dist/esm/generated/src/operations/index.d.ts.map +1 -1
  310. package/dist/esm/generated/src/operations/index.js +1 -0
  311. package/dist/esm/generated/src/operations/index.js.map +1 -1
  312. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  313. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  314. package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  315. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  316. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  317. package/dist/esm/generated/src/operationsInterfaces/callDialog.js +9 -0
  318. package/dist/esm/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  319. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  320. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  321. package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  322. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  323. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  324. package/dist/esm/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  325. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +1 -0
  326. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  327. package/dist/esm/generated/src/operationsInterfaces/index.js +1 -0
  328. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -1
  329. package/dist/esm/generated/src/pagingHelper.js +4 -2
  330. package/dist/esm/generated/src/pagingHelper.js.map +1 -1
  331. package/dist/esm/index.d.ts +2 -0
  332. package/dist/esm/index.d.ts.map +1 -1
  333. package/dist/esm/index.js +2 -0
  334. package/dist/esm/index.js.map +1 -1
  335. package/dist/esm/models/constants.d.ts.map +1 -1
  336. package/dist/esm/models/constants.js +1 -1
  337. package/dist/esm/models/constants.js.map +1 -1
  338. package/dist/esm/models/events.d.ts +336 -296
  339. package/dist/esm/models/events.d.ts.map +1 -1
  340. package/dist/esm/models/events.js.map +1 -1
  341. package/dist/esm/models/models.d.ts +76 -38
  342. package/dist/esm/models/models.d.ts.map +1 -1
  343. package/dist/esm/models/models.js +3 -1
  344. package/dist/esm/models/models.js.map +1 -1
  345. package/dist/esm/models/options.d.ts +34 -4
  346. package/dist/esm/models/options.d.ts.map +1 -1
  347. package/dist/esm/models/options.js.map +1 -1
  348. package/dist/esm/models/responses.d.ts +82 -10
  349. package/dist/esm/models/responses.d.ts.map +1 -1
  350. package/dist/esm/models/responses.js.map +1 -1
  351. package/dist/esm/models/streaming.d.ts +27 -26
  352. package/dist/esm/models/streaming.d.ts.map +1 -1
  353. package/dist/esm/models/streaming.js +57 -28
  354. package/dist/esm/models/streaming.js.map +1 -1
  355. package/dist/esm/streamingData.d.ts.map +1 -1
  356. package/dist/esm/streamingData.js +1 -10
  357. package/dist/esm/streamingData.js.map +1 -1
  358. package/dist/esm/utli/converters.d.ts +26 -2
  359. package/dist/esm/utli/converters.d.ts.map +1 -1
  360. package/dist/esm/utli/converters.js +122 -48
  361. package/dist/esm/utli/converters.js.map +1 -1
  362. package/dist/react-native/callAutomationClient.d.ts +8 -0
  363. package/dist/react-native/callAutomationClient.d.ts.map +1 -1
  364. package/dist/react-native/callAutomationClient.js +141 -84
  365. package/dist/react-native/callAutomationClient.js.map +1 -1
  366. package/dist/react-native/callAutomationEventParser.d.ts.map +1 -1
  367. package/dist/react-native/callAutomationEventParser.js +56 -9
  368. package/dist/react-native/callAutomationEventParser.js.map +1 -1
  369. package/dist/react-native/callConnection.d.ts +15 -5
  370. package/dist/react-native/callConnection.d.ts.map +1 -1
  371. package/dist/react-native/callConnection.js +193 -86
  372. package/dist/react-native/callConnection.js.map +1 -1
  373. package/dist/react-native/callMedia.d.ts +19 -9
  374. package/dist/react-native/callMedia.d.ts.map +1 -1
  375. package/dist/react-native/callMedia.js +175 -28
  376. package/dist/react-native/callMedia.js.map +1 -1
  377. package/dist/react-native/callRecording.d.ts +8 -2
  378. package/dist/react-native/callRecording.d.ts.map +1 -1
  379. package/dist/react-native/callRecording.js +26 -16
  380. package/dist/react-native/callRecording.js.map +1 -1
  381. package/dist/react-native/contentDownloader.js +12 -11
  382. package/dist/react-native/contentDownloader.js.map +1 -1
  383. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
  384. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  385. package/dist/react-native/credential/callAutomationAuthPolicy.js +1 -1
  386. package/dist/react-native/credential/callAutomationAuthPolicy.js.map +1 -1
  387. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  388. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  389. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js +137 -0
  390. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  391. package/dist/react-native/eventprocessor/eventResponses.d.ts +134 -0
  392. package/dist/react-native/eventprocessor/eventResponses.d.ts.map +1 -0
  393. package/dist/react-native/eventprocessor/eventResponses.js +4 -0
  394. package/dist/react-native/eventprocessor/eventResponses.js.map +1 -0
  395. package/dist/react-native/generated/src/callAutomationApiClient.d.ts +2 -1
  396. package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -1
  397. package/dist/react-native/generated/src/callAutomationApiClient.js +7 -15
  398. package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
  399. package/dist/react-native/generated/src/models/index.d.ts +1129 -347
  400. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  401. package/dist/react-native/generated/src/models/index.js +159 -75
  402. package/dist/react-native/generated/src/models/index.js.map +1 -1
  403. package/dist/react-native/generated/src/models/mappers.d.ts +88 -47
  404. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  405. package/dist/react-native/generated/src/models/mappers.js +2136 -499
  406. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  407. package/dist/react-native/generated/src/models/parameters.d.ts +8 -1
  408. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  409. package/dist/react-native/generated/src/models/parameters.js +45 -6
  410. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  411. package/dist/react-native/generated/src/operations/callConnection.d.ts +16 -2
  412. package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -1
  413. package/dist/react-native/generated/src/operations/callConnection.js +105 -24
  414. package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
  415. package/dist/react-native/generated/src/operations/callDialog.d.ts +35 -0
  416. package/dist/react-native/generated/src/operations/callDialog.d.ts.map +1 -0
  417. package/dist/react-native/generated/src/operations/callDialog.js +111 -0
  418. package/dist/react-native/generated/src/operations/callDialog.js.map +1 -0
  419. package/dist/react-native/generated/src/operations/callMedia.d.ts +15 -8
  420. package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
  421. package/dist/react-native/generated/src/operations/callMedia.js +50 -26
  422. package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
  423. package/dist/react-native/generated/src/operations/callRecording.d.ts +7 -1
  424. package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -1
  425. package/dist/react-native/generated/src/operations/callRecording.js +24 -1
  426. package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
  427. package/dist/react-native/generated/src/operations/index.d.ts +1 -0
  428. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -1
  429. package/dist/react-native/generated/src/operations/index.js +1 -0
  430. package/dist/react-native/generated/src/operations/index.js.map +1 -1
  431. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  432. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  433. package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  434. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  435. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  436. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js +9 -0
  437. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  438. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  439. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  440. package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  441. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  442. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  443. package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  444. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +1 -0
  445. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  446. package/dist/react-native/generated/src/operationsInterfaces/index.js +1 -0
  447. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -1
  448. package/dist/react-native/generated/src/pagingHelper.js +4 -2
  449. package/dist/react-native/generated/src/pagingHelper.js.map +1 -1
  450. package/dist/react-native/index.d.ts +2 -0
  451. package/dist/react-native/index.d.ts.map +1 -1
  452. package/dist/react-native/index.js +2 -0
  453. package/dist/react-native/index.js.map +1 -1
  454. package/dist/react-native/models/constants.d.ts.map +1 -1
  455. package/dist/react-native/models/constants.js +1 -1
  456. package/dist/react-native/models/constants.js.map +1 -1
  457. package/dist/react-native/models/events.d.ts +336 -296
  458. package/dist/react-native/models/events.d.ts.map +1 -1
  459. package/dist/react-native/models/events.js.map +1 -1
  460. package/dist/react-native/models/models.d.ts +76 -38
  461. package/dist/react-native/models/models.d.ts.map +1 -1
  462. package/dist/react-native/models/models.js +3 -1
  463. package/dist/react-native/models/models.js.map +1 -1
  464. package/dist/react-native/models/options.d.ts +34 -4
  465. package/dist/react-native/models/options.d.ts.map +1 -1
  466. package/dist/react-native/models/options.js.map +1 -1
  467. package/dist/react-native/models/responses.d.ts +82 -10
  468. package/dist/react-native/models/responses.d.ts.map +1 -1
  469. package/dist/react-native/models/responses.js.map +1 -1
  470. package/dist/react-native/models/streaming.d.ts +27 -26
  471. package/dist/react-native/models/streaming.d.ts.map +1 -1
  472. package/dist/react-native/models/streaming.js +57 -28
  473. package/dist/react-native/models/streaming.js.map +1 -1
  474. package/dist/react-native/streamingData.d.ts.map +1 -1
  475. package/dist/react-native/streamingData.js +1 -10
  476. package/dist/react-native/streamingData.js.map +1 -1
  477. package/dist/react-native/utli/converters.d.ts +26 -2
  478. package/dist/react-native/utli/converters.d.ts.map +1 -1
  479. package/dist/react-native/utli/converters.js +122 -48
  480. package/dist/react-native/utli/converters.js.map +1 -1
  481. package/package.json +36 -35
@@ -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,kBAG/B,CAAC;AAEF,eAAO,M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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"}
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { CreateCallRequest as CreateCallRequestMapper, AnswerCallRequest as AnswerCallRequestMapper, RedirectCallRequest as RedirectCallRequestMapper, RejectCallRequest as RejectCallRequestMapper, ConnectRequest as ConnectRequestMapper, TransferToParticipantRequest as TransferToParticipantRequestMapper, AddParticipantRequest as AddParticipantRequestMapper, RemoveParticipantRequest as RemoveParticipantRequestMapper, MuteParticipantsRequest as MuteParticipantsRequestMapper, CancelAddParticipantRequest as CancelAddParticipantRequestMapper, PlayRequest as PlayRequestMapper, StartTranscriptionRequest as StartTranscriptionRequestMapper, StopTranscriptionRequest as StopTranscriptionRequestMapper, UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper, RecognizeRequest as RecognizeRequestMapper, ContinuousDtmfRecognitionRequest as ContinuousDtmfRecognitionRequestMapper, SendDtmfTonesRequest as SendDtmfTonesRequestMapper, HoldRequest as HoldRequestMapper, UnholdRequest as UnholdRequestMapper, StartMediaStreamingRequest as StartMediaStreamingRequestMapper, StopMediaStreamingRequest as StopMediaStreamingRequestMapper, StartCallRecordingRequest as StartCallRecordingRequestMapper, } from "../models/mappers.js";
8
+ import { CreateCallRequest as CreateCallRequestMapper, AnswerCallRequest as AnswerCallRequestMapper, RedirectCallRequest as RedirectCallRequestMapper, RejectCallRequest as RejectCallRequestMapper, ConnectRequest as ConnectRequestMapper, TransferToParticipantRequest as TransferToParticipantRequestMapper, AddParticipantRequest as AddParticipantRequestMapper, RemoveParticipantRequest as RemoveParticipantRequestMapper, MuteParticipantsRequest as MuteParticipantsRequestMapper, UnmuteParticipantsRequest as UnmuteParticipantsRequestMapper, CancelAddParticipantRequest as CancelAddParticipantRequestMapper, MoveParticipantsRequest as MoveParticipantsRequestMapper, PlayRequest as PlayRequestMapper, StartTranscriptionRequest as StartTranscriptionRequestMapper, StopTranscriptionRequest as StopTranscriptionRequestMapper, RecognizeRequest as RecognizeRequestMapper, ContinuousDtmfRecognitionRequest as ContinuousDtmfRecognitionRequestMapper, SendDtmfTonesRequest as SendDtmfTonesRequestMapper, UpdateTranscriptionRequest as UpdateTranscriptionRequestMapper, HoldRequest as HoldRequestMapper, UnholdRequest as UnholdRequestMapper, StartMediaStreamingRequest as StartMediaStreamingRequestMapper, StopMediaStreamingRequest as StopMediaStreamingRequestMapper, InterruptAudioAndAnnounceRequest as InterruptAudioAndAnnounceRequestMapper, StartDialogRequest as StartDialogRequestMapper, UpdateDialogRequest as UpdateDialogRequestMapper, StartCallRecordingRequest as StartCallRecordingRequestMapper, } from "../models/mappers.js";
9
9
  export const contentType = {
10
10
  parameterPath: ["options", "contentType"],
11
11
  mapper: {
@@ -46,7 +46,7 @@ export const endpoint = {
46
46
  export const apiVersion = {
47
47
  parameterPath: "apiVersion",
48
48
  mapper: {
49
- defaultValue: "2025-06-15",
49
+ defaultValue: "2024-09-01-preview",
50
50
  isConstant: true,
51
51
  serializedName: "api-version",
52
52
  type: {
@@ -114,10 +114,18 @@ export const muteParticipantsRequest = {
114
114
  parameterPath: "muteParticipantsRequest",
115
115
  mapper: MuteParticipantsRequestMapper,
116
116
  };
117
+ export const unmuteParticipantsRequest = {
118
+ parameterPath: "unmuteParticipantsRequest",
119
+ mapper: UnmuteParticipantsRequestMapper,
120
+ };
117
121
  export const cancelAddParticipantRequest = {
118
122
  parameterPath: "cancelAddParticipantRequest",
119
123
  mapper: CancelAddParticipantRequestMapper,
120
124
  };
125
+ export const moveParticipantRequest = {
126
+ parameterPath: "moveParticipantRequest",
127
+ mapper: MoveParticipantsRequestMapper,
128
+ };
121
129
  export const participantRawId = {
122
130
  parameterPath: "participantRawId",
123
131
  mapper: {
@@ -151,10 +159,6 @@ export const stopTranscriptionRequest = {
151
159
  parameterPath: "stopTranscriptionRequest",
152
160
  mapper: StopTranscriptionRequestMapper,
153
161
  };
154
- export const updateTranscriptionRequest = {
155
- parameterPath: "updateTranscriptionRequest",
156
- mapper: UpdateTranscriptionRequestMapper,
157
- };
158
162
  export const recognizeRequest = {
159
163
  parameterPath: "recognizeRequest",
160
164
  mapper: RecognizeRequestMapper,
@@ -167,6 +171,10 @@ export const sendDtmfTonesRequest = {
167
171
  parameterPath: "sendDtmfTonesRequest",
168
172
  mapper: SendDtmfTonesRequestMapper,
169
173
  };
174
+ export const updateTranscriptionRequest = {
175
+ parameterPath: "updateTranscriptionRequest",
176
+ mapper: UpdateTranscriptionRequestMapper,
177
+ };
170
178
  export const holdRequest = {
171
179
  parameterPath: "holdRequest",
172
180
  mapper: HoldRequestMapper,
@@ -183,6 +191,37 @@ export const stopMediaStreamingRequest = {
183
191
  parameterPath: "stopMediaStreamingRequest",
184
192
  mapper: StopMediaStreamingRequestMapper,
185
193
  };
194
+ export const interruptRequest = {
195
+ parameterPath: "interruptRequest",
196
+ mapper: InterruptAudioAndAnnounceRequestMapper,
197
+ };
198
+ export const startDialogRequest = {
199
+ parameterPath: "startDialogRequest",
200
+ mapper: StartDialogRequestMapper,
201
+ };
202
+ export const dialogId = {
203
+ parameterPath: "dialogId",
204
+ mapper: {
205
+ serializedName: "dialogId",
206
+ required: true,
207
+ type: {
208
+ name: "String",
209
+ },
210
+ },
211
+ };
212
+ export const operationCallbackUri = {
213
+ parameterPath: ["options", "operationCallbackUri"],
214
+ mapper: {
215
+ serializedName: "operationCallbackUri",
216
+ type: {
217
+ name: "String",
218
+ },
219
+ },
220
+ };
221
+ export const updateDialogRequest = {
222
+ parameterPath: "updateDialogRequest",
223
+ mapper: UpdateDialogRequestMapper,
224
+ };
186
225
  export const startCallRecording = {
187
226
  parameterPath: "startCallRecording",
188
227
  mapper: StartCallRecordingRequestMapper,
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../../../src/generated/src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,iBAAiB,IAAI,uBAAuB,EAC5C,iBAAiB,IAAI,uBAAuB,EAC5C,mBAAmB,IAAI,yBAAyB,EAChD,iBAAiB,IAAI,uBAAuB,EAC5C,cAAc,IAAI,oBAAoB,EACtC,4BAA4B,IAAI,kCAAkC,EAClE,qBAAqB,IAAI,2BAA2B,EACpD,wBAAwB,IAAI,8BAA8B,EAC1D,uBAAuB,IAAI,6BAA6B,EACxD,2BAA2B,IAAI,iCAAiC,EAChE,WAAW,IAAI,iBAAiB,EAChC,yBAAyB,IAAI,+BAA+B,EAC5D,wBAAwB,IAAI,8BAA8B,EAC1D,0BAA0B,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AAuB;IAClD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,sBAAsB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAuB;IAClE,aAAa,EAAE,kCAAkC;IACjD,MAAM,EAAE,sCAAsC;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAuB;IACtD,aAAa,EAAE,sBAAsB;IACrC,MAAM,EAAE,0BAA0B;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE,iBAAiB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,mBAAmB;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAuB;IAC5D,aAAa,EAAE,4BAA4B;IAC3C,MAAM,EAAE,gCAAgC;CACzC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAuB;IAC3D,aAAa,EAAE,2BAA2B;IAC1C,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAuB;IACpD,aAAa,EAAE,oBAAoB;IACnC,MAAM,EAAE,+BAA+B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,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-06-15\",\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;AAOH,OAAO,EACL,iBAAiB,IAAI,uBAAuB,EAC5C,iBAAiB,IAAI,uBAAuB,EAC5C,mBAAmB,IAAI,yBAAyB,EAChD,iBAAiB,IAAI,uBAAuB,EAC5C,cAAc,IAAI,oBAAoB,EACtC,4BAA4B,IAAI,kCAAkC,EAClE,qBAAqB,IAAI,2BAA2B,EACpD,wBAAwB,IAAI,8BAA8B,EAC1D,uBAAuB,IAAI,6BAA6B,EACxD,yBAAyB,IAAI,+BAA+B,EAC5D,2BAA2B,IAAI,iCAAiC,EAChE,uBAAuB,IAAI,6BAA6B,EACxD,WAAW,IAAI,iBAAiB,EAChC,yBAAyB,IAAI,+BAA+B,EAC5D,wBAAwB,IAAI,8BAA8B,EAC1D,gBAAgB,IAAI,sBAAsB,EAC1C,gCAAgC,IAAI,sCAAsC,EAC1E,oBAAoB,IAAI,0BAA0B,EAClD,0BAA0B,IAAI,gCAAgC,EAC9D,WAAW,IAAI,iBAAiB,EAChC,aAAa,IAAI,mBAAmB,EACpC,0BAA0B,IAAI,gCAAgC,EAC9D,yBAAyB,IAAI,+BAA+B,EAC5D,gCAAgC,IAAI,sCAAsC,EAC1E,kBAAkB,IAAI,wBAAwB,EAC9C,mBAAmB,IAAI,yBAAyB,EAChD,yBAAyB,IAAI,+BAA+B,GAC7D,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,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,CAA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AAM,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 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,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,EAC7B,sCAAsC,EACtC,yCAAyC,EACzC,4BAA4B,EAC5B,iDAAiD,EACjD,2CAA2C,EAC3C,qBAAqB,EACrB,0CAA0C,EAC1C,oCAAoC,EACpC,wBAAwB,EACxB,6CAA6C,EAC7C,uCAAuC,EACvC,uBAAuB,EACvB,gCAAgC,EAChC,0BAA0B,EAC1B,2BAA2B,EAC3B,gDAAgD,EAChD,0CAA0C,EAC1C,0CAA0C,EAC1C,oCAAoC,EAErC,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;OAIG;IACI,gBAAgB,CACrB,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,uBAAuB,CAAC;YAsBvC,yBAAyB;YA2BzB,wBAAwB;IAYvC;;;;OAIG;IACH,OAAO,CACL,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAOzC;;;;;OAKG;IACH,UAAU,CACR,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,aAAa,CACX,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,qBAAqB,CACnB,gBAAgB,EAAE,MAAM,EACxB,4BAA4B,EAAE,4BAA4B,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,0B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AA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;CAU7B"}
@@ -5,6 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
8
9
  import { setContinuationToken } from "../pagingHelper.js";
9
10
  import * as coreClient from "@azure/core-client";
10
11
  import * as Mappers from "../models/mappers.js";
@@ -12,7 +13,6 @@ import * as Parameters from "../models/parameters.js";
12
13
  /// <reference lib="esnext.asynciterable" />
13
14
  /** Class containing CallConnection operations. */
14
15
  export class CallConnectionImpl {
15
- client;
16
16
  /**
17
17
  * Initialize a new instance of the class CallConnection class.
18
18
  * @param client Reference to the service client
@@ -35,35 +35,52 @@ export class CallConnectionImpl {
35
35
  return this;
36
36
  },
37
37
  byPage: (settings) => {
38
- if (settings?.maxPageSize) {
38
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
39
39
  throw new Error("maxPageSize is not supported by this operation.");
40
40
  }
41
41
  return this.getParticipantsPagingPage(callConnectionId, options, settings);
42
42
  },
43
43
  };
44
44
  }
45
- async *getParticipantsPagingPage(callConnectionId, options, settings) {
46
- let result;
47
- let continuationToken = settings?.continuationToken;
48
- if (!continuationToken) {
49
- result = await this._getParticipants(callConnectionId, options);
50
- let page = result.value || [];
51
- continuationToken = result.nextLink;
52
- setContinuationToken(page, continuationToken);
53
- yield page;
54
- }
55
- while (continuationToken) {
56
- result = await this._getParticipantsNext(callConnectionId, continuationToken, options);
57
- continuationToken = result.nextLink;
58
- let page = result.value || [];
59
- setContinuationToken(page, continuationToken);
60
- yield page;
61
- }
45
+ getParticipantsPagingPage(callConnectionId, options, settings) {
46
+ return __asyncGenerator(this, arguments, function* getParticipantsPagingPage_1() {
47
+ let result;
48
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
49
+ if (!continuationToken) {
50
+ result = yield __await(this._getParticipants(callConnectionId, options));
51
+ let page = result.value || [];
52
+ continuationToken = result.nextLink;
53
+ setContinuationToken(page, continuationToken);
54
+ yield yield __await(page);
55
+ }
56
+ while (continuationToken) {
57
+ result = yield __await(this._getParticipantsNext(callConnectionId, continuationToken, options));
58
+ continuationToken = result.nextLink;
59
+ let page = result.value || [];
60
+ setContinuationToken(page, continuationToken);
61
+ yield yield __await(page);
62
+ }
63
+ });
62
64
  }
63
- async *getParticipantsPagingAll(callConnectionId, options) {
64
- for await (const page of this.getParticipantsPagingPage(callConnectionId, options)) {
65
- yield* page;
66
- }
65
+ getParticipantsPagingAll(callConnectionId, options) {
66
+ return __asyncGenerator(this, arguments, function* getParticipantsPagingAll_1() {
67
+ var _a, e_1, _b, _c;
68
+ try {
69
+ for (var _d = true, _e = __asyncValues(this.getParticipantsPagingPage(callConnectionId, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
70
+ _c = _f.value;
71
+ _d = false;
72
+ const page = _c;
73
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
74
+ }
75
+ }
76
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
77
+ finally {
78
+ try {
79
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
80
+ }
81
+ finally { if (e_1) throw e_1.error; }
82
+ }
83
+ });
67
84
  }
68
85
  /**
69
86
  * Get the detail properties of an ongoing call.
@@ -110,7 +127,7 @@ export class CallConnectionImpl {
110
127
  /**
111
128
  * Add a participant to the call.
112
129
  * @param callConnectionId The call connection Id
113
- * @param addParticipantRequest The request payload for adding participant to the call.
130
+ * @param addParticipantRequest The add participants request.
114
131
  * @param options The options parameters.
115
132
  */
116
133
  addParticipant(callConnectionId, addParticipantRequest, options) {
@@ -134,6 +151,15 @@ export class CallConnectionImpl {
134
151
  mute(callConnectionId, muteParticipantsRequest, options) {
135
152
  return this.client.sendOperationRequest({ callConnectionId, muteParticipantsRequest, options }, muteOperationSpec);
136
153
  }
154
+ /**
155
+ * Unmute participants from the call using identifier.
156
+ * @param callConnectionId The call connection id.
157
+ * @param unmuteParticipantsRequest The participants to be unmuted from the call.
158
+ * @param options The options parameters.
159
+ */
160
+ unmute(callConnectionId, unmuteParticipantsRequest, options) {
161
+ return this.client.sendOperationRequest({ callConnectionId, unmuteParticipantsRequest, options }, unmuteOperationSpec);
162
+ }
137
163
  /**
138
164
  * Cancel add participant operation.
139
165
  * @param callConnectionId The call connection Id
@@ -143,6 +169,15 @@ export class CallConnectionImpl {
143
169
  cancelAddParticipant(callConnectionId, cancelAddParticipantRequest, options) {
144
170
  return this.client.sendOperationRequest({ callConnectionId, cancelAddParticipantRequest, options }, cancelAddParticipantOperationSpec);
145
171
  }
172
+ /**
173
+ * Add a participant to the call.
174
+ * @param callConnectionId The call connection Id
175
+ * @param moveParticipantRequest The move participants request.
176
+ * @param options The options parameters.
177
+ */
178
+ moveParticipants(callConnectionId, moveParticipantRequest, options) {
179
+ return this.client.sendOperationRequest({ callConnectionId, moveParticipantRequest, options }, moveParticipantsOperationSpec);
180
+ }
146
181
  /**
147
182
  * Get participant from a call.
148
183
  * @param callConnectionId The call connection Id
@@ -320,6 +355,29 @@ const muteOperationSpec = {
320
355
  mediaType: "json",
321
356
  serializer,
322
357
  };
358
+ const unmuteOperationSpec = {
359
+ path: "/calling/callConnections/{callConnectionId}/participants:unmute",
360
+ httpMethod: "POST",
361
+ responses: {
362
+ 200: {
363
+ bodyMapper: Mappers.UnmuteParticipantsResponse,
364
+ },
365
+ default: {
366
+ bodyMapper: Mappers.CommunicationErrorResponse,
367
+ },
368
+ },
369
+ requestBody: Parameters.unmuteParticipantsRequest,
370
+ queryParameters: [Parameters.apiVersion],
371
+ urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
372
+ headerParameters: [
373
+ Parameters.contentType,
374
+ Parameters.accept,
375
+ Parameters.repeatabilityRequestID,
376
+ Parameters.repeatabilityFirstSent,
377
+ ],
378
+ mediaType: "json",
379
+ serializer,
380
+ };
323
381
  const cancelAddParticipantOperationSpec = {
324
382
  path: "/calling/callConnections/{callConnectionId}/participants:cancelAddParticipant",
325
383
  httpMethod: "POST",
@@ -343,6 +401,29 @@ const cancelAddParticipantOperationSpec = {
343
401
  mediaType: "json",
344
402
  serializer,
345
403
  };
404
+ const moveParticipantsOperationSpec = {
405
+ path: "/calling/callConnections/{callConnectionId}/participants:moveHere",
406
+ httpMethod: "POST",
407
+ responses: {
408
+ 202: {
409
+ bodyMapper: Mappers.MoveParticipantsResponse,
410
+ },
411
+ default: {
412
+ bodyMapper: Mappers.CommunicationErrorResponse,
413
+ },
414
+ },
415
+ requestBody: Parameters.moveParticipantRequest,
416
+ queryParameters: [Parameters.apiVersion],
417
+ urlParameters: [Parameters.endpoint, Parameters.callConnectionId],
418
+ headerParameters: [
419
+ Parameters.contentType,
420
+ Parameters.accept,
421
+ Parameters.repeatabilityRequestID,
422
+ Parameters.repeatabilityFirstSent,
423
+ ],
424
+ mediaType: "json",
425
+ serializer,
426
+ };
346
427
  const getParticipantOperationSpec = {
347
428
  path: "/calling/callConnections/{callConnectionId}/participants/{participantRawId}",
348
429
  httpMethod: "GET",
@@ -1 +1 @@
1
- {"version":3,"file":"callConnection.js","sourceRoot":"","sources":["../../../../../src/generated/src/operations/callConnection.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AA+BtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IACZ,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,gBAAgB,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AU,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,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAqCtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,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,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC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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