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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/README.md +51 -1
  2. package/dist/browser/callAutomationClient.d.ts +9 -2
  3. package/dist/browser/callAutomationClient.d.ts.map +1 -1
  4. package/dist/browser/callAutomationClient.js +115 -10
  5. package/dist/browser/callAutomationClient.js.map +1 -1
  6. package/dist/browser/callAutomationEventParser.d.ts.map +1 -1
  7. package/dist/browser/callAutomationEventParser.js +47 -1
  8. package/dist/browser/callAutomationEventParser.js.map +1 -1
  9. package/dist/browser/callConnection.d.ts +16 -6
  10. package/dist/browser/callConnection.d.ts.map +1 -1
  11. package/dist/browser/callConnection.js +166 -15
  12. package/dist/browser/callConnection.js.map +1 -1
  13. package/dist/browser/callMedia.d.ts +20 -10
  14. package/dist/browser/callMedia.d.ts.map +1 -1
  15. package/dist/browser/callMedia.js +190 -22
  16. package/dist/browser/callMedia.js.map +1 -1
  17. package/dist/browser/callRecording.d.ts +8 -2
  18. package/dist/browser/callRecording.d.ts.map +1 -1
  19. package/dist/browser/callRecording.js +20 -5
  20. package/dist/browser/callRecording.js.map +1 -1
  21. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  22. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  23. package/dist/browser/eventprocessor/callAutomationEventProcessor.js +137 -0
  24. package/dist/browser/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  25. package/dist/browser/eventprocessor/eventResponses.d.ts +134 -0
  26. package/dist/browser/eventprocessor/eventResponses.d.ts.map +1 -0
  27. package/dist/browser/eventprocessor/eventResponses.js +4 -0
  28. package/dist/browser/eventprocessor/eventResponses.js.map +1 -0
  29. package/dist/browser/generated/src/callAutomationApiClient.d.ts +2 -1
  30. package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -1
  31. package/dist/browser/generated/src/callAutomationApiClient.js +4 -3
  32. package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
  33. package/dist/browser/generated/src/models/index.d.ts +971 -206
  34. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  35. package/dist/browser/generated/src/models/index.js +124 -46
  36. package/dist/browser/generated/src/models/index.js.map +1 -1
  37. package/dist/browser/generated/src/models/mappers.d.ts +59 -11
  38. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  39. package/dist/browser/generated/src/models/mappers.js +2122 -466
  40. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  41. package/dist/browser/generated/src/models/parameters.d.ts +8 -1
  42. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  43. package/dist/browser/generated/src/models/parameters.js +45 -6
  44. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  45. package/dist/browser/generated/src/operations/callConnection.d.ts +16 -2
  46. package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -1
  47. package/dist/browser/generated/src/operations/callConnection.js +65 -1
  48. package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
  49. package/dist/browser/generated/src/operations/callDialog.d.ts +35 -0
  50. package/dist/browser/generated/src/operations/callDialog.d.ts.map +1 -0
  51. package/dist/browser/generated/src/operations/callDialog.js +111 -0
  52. package/dist/browser/generated/src/operations/callDialog.js.map +1 -0
  53. package/dist/browser/generated/src/operations/callMedia.d.ts +15 -8
  54. package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
  55. package/dist/browser/generated/src/operations/callMedia.js +50 -25
  56. package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
  57. package/dist/browser/generated/src/operations/callRecording.d.ts +7 -1
  58. package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -1
  59. package/dist/browser/generated/src/operations/callRecording.js +24 -0
  60. package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
  61. package/dist/browser/generated/src/operations/index.d.ts +1 -0
  62. package/dist/browser/generated/src/operations/index.d.ts.map +1 -1
  63. package/dist/browser/generated/src/operations/index.js +1 -0
  64. package/dist/browser/generated/src/operations/index.js.map +1 -1
  65. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  66. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  67. package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  68. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  69. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  70. package/dist/browser/generated/src/operationsInterfaces/callDialog.js +9 -0
  71. package/dist/browser/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  72. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  73. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  74. package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  75. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  76. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  77. package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  78. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +1 -0
  79. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  80. package/dist/browser/generated/src/operationsInterfaces/index.js +1 -0
  81. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -1
  82. package/dist/browser/index.d.ts +2 -0
  83. package/dist/browser/index.d.ts.map +1 -1
  84. package/dist/browser/index.js +2 -0
  85. package/dist/browser/index.js.map +1 -1
  86. package/dist/browser/models/constants.js +1 -1
  87. package/dist/browser/models/constants.js.map +1 -1
  88. package/dist/browser/models/events.d.ts +188 -62
  89. package/dist/browser/models/events.d.ts.map +1 -1
  90. package/dist/browser/models/events.js.map +1 -1
  91. package/dist/browser/models/models.d.ts +85 -7
  92. package/dist/browser/models/models.d.ts.map +1 -1
  93. package/dist/browser/models/models.js +3 -1
  94. package/dist/browser/models/models.js.map +1 -1
  95. package/dist/browser/models/options.d.ts +49 -2
  96. package/dist/browser/models/options.d.ts.map +1 -1
  97. package/dist/browser/models/options.js.map +1 -1
  98. package/dist/browser/models/responses.d.ts +82 -10
  99. package/dist/browser/models/responses.d.ts.map +1 -1
  100. package/dist/browser/models/responses.js.map +1 -1
  101. package/dist/browser/utli/converters.d.ts +26 -2
  102. package/dist/browser/utli/converters.d.ts.map +1 -1
  103. package/dist/browser/utli/converters.js +114 -19
  104. package/dist/browser/utli/converters.js.map +1 -1
  105. package/dist/commonjs/callAutomationClient.d.ts +9 -2
  106. package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
  107. package/dist/commonjs/callAutomationClient.js +116 -11
  108. package/dist/commonjs/callAutomationClient.js.map +1 -1
  109. package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
  110. package/dist/commonjs/callAutomationEventParser.js +46 -0
  111. package/dist/commonjs/callAutomationEventParser.js.map +1 -1
  112. package/dist/commonjs/callConnection.d.ts +16 -6
  113. package/dist/commonjs/callConnection.d.ts.map +1 -1
  114. package/dist/commonjs/callConnection.js +167 -16
  115. package/dist/commonjs/callConnection.js.map +1 -1
  116. package/dist/commonjs/callMedia.d.ts +20 -10
  117. package/dist/commonjs/callMedia.d.ts.map +1 -1
  118. package/dist/commonjs/callMedia.js +209 -41
  119. package/dist/commonjs/callMedia.js.map +1 -1
  120. package/dist/commonjs/callRecording.d.ts +8 -2
  121. package/dist/commonjs/callRecording.d.ts.map +1 -1
  122. package/dist/commonjs/callRecording.js +20 -5
  123. package/dist/commonjs/callRecording.js.map +1 -1
  124. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  125. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  126. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js +141 -0
  127. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  128. package/dist/commonjs/eventprocessor/eventResponses.d.ts +134 -0
  129. package/dist/commonjs/eventprocessor/eventResponses.d.ts.map +1 -0
  130. package/dist/commonjs/eventprocessor/eventResponses.js +5 -0
  131. package/dist/commonjs/eventprocessor/eventResponses.js.map +1 -0
  132. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +2 -1
  133. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -1
  134. package/dist/commonjs/generated/src/callAutomationApiClient.js +3 -2
  135. package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
  136. package/dist/commonjs/generated/src/models/index.d.ts +971 -206
  137. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  138. package/dist/commonjs/generated/src/models/index.js +125 -47
  139. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  140. package/dist/commonjs/generated/src/models/mappers.d.ts +59 -11
  141. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  142. package/dist/commonjs/generated/src/models/mappers.js +2125 -469
  143. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  144. package/dist/commonjs/generated/src/models/parameters.d.ts +8 -1
  145. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  146. package/dist/commonjs/generated/src/models/parameters.js +45 -6
  147. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  148. package/dist/commonjs/generated/src/operations/callConnection.d.ts +16 -2
  149. package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -1
  150. package/dist/commonjs/generated/src/operations/callConnection.js +65 -1
  151. package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
  152. package/dist/commonjs/generated/src/operations/callDialog.d.ts +35 -0
  153. package/dist/commonjs/generated/src/operations/callDialog.d.ts.map +1 -0
  154. package/dist/commonjs/generated/src/operations/callDialog.js +116 -0
  155. package/dist/commonjs/generated/src/operations/callDialog.js.map +1 -0
  156. package/dist/commonjs/generated/src/operations/callMedia.d.ts +15 -8
  157. package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
  158. package/dist/commonjs/generated/src/operations/callMedia.js +50 -25
  159. package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
  160. package/dist/commonjs/generated/src/operations/callRecording.d.ts +7 -1
  161. package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -1
  162. package/dist/commonjs/generated/src/operations/callRecording.js +24 -0
  163. package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
  164. package/dist/commonjs/generated/src/operations/index.d.ts +1 -0
  165. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -1
  166. package/dist/commonjs/generated/src/operations/index.js +1 -0
  167. package/dist/commonjs/generated/src/operations/index.js.map +1 -1
  168. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  169. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  170. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  171. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  172. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  173. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js +10 -0
  174. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  175. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  176. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  177. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  178. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  179. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  180. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  181. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +1 -0
  182. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  183. package/dist/commonjs/generated/src/operationsInterfaces/index.js +1 -0
  184. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -1
  185. package/dist/commonjs/index.d.ts +2 -0
  186. package/dist/commonjs/index.d.ts.map +1 -1
  187. package/dist/commonjs/index.js +2 -0
  188. package/dist/commonjs/index.js.map +1 -1
  189. package/dist/commonjs/models/constants.js +1 -1
  190. package/dist/commonjs/models/constants.js.map +1 -1
  191. package/dist/commonjs/models/events.d.ts +188 -62
  192. package/dist/commonjs/models/events.d.ts.map +1 -1
  193. package/dist/commonjs/models/events.js.map +1 -1
  194. package/dist/commonjs/models/models.d.ts +85 -7
  195. package/dist/commonjs/models/models.d.ts.map +1 -1
  196. package/dist/commonjs/models/models.js +11 -6
  197. package/dist/commonjs/models/models.js.map +1 -1
  198. package/dist/commonjs/models/options.d.ts +49 -2
  199. package/dist/commonjs/models/options.d.ts.map +1 -1
  200. package/dist/commonjs/models/options.js.map +1 -1
  201. package/dist/commonjs/models/responses.d.ts +82 -10
  202. package/dist/commonjs/models/responses.d.ts.map +1 -1
  203. package/dist/commonjs/models/responses.js.map +1 -1
  204. package/dist/commonjs/tsdoc-metadata.json +1 -1
  205. package/dist/commonjs/utli/converters.d.ts +26 -2
  206. package/dist/commonjs/utli/converters.d.ts.map +1 -1
  207. package/dist/commonjs/utli/converters.js +119 -18
  208. package/dist/commonjs/utli/converters.js.map +1 -1
  209. package/dist/esm/callAutomationClient.d.ts +9 -2
  210. package/dist/esm/callAutomationClient.d.ts.map +1 -1
  211. package/dist/esm/callAutomationClient.js +115 -10
  212. package/dist/esm/callAutomationClient.js.map +1 -1
  213. package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
  214. package/dist/esm/callAutomationEventParser.js +47 -1
  215. package/dist/esm/callAutomationEventParser.js.map +1 -1
  216. package/dist/esm/callConnection.d.ts +16 -6
  217. package/dist/esm/callConnection.d.ts.map +1 -1
  218. package/dist/esm/callConnection.js +166 -15
  219. package/dist/esm/callConnection.js.map +1 -1
  220. package/dist/esm/callMedia.d.ts +20 -10
  221. package/dist/esm/callMedia.d.ts.map +1 -1
  222. package/dist/esm/callMedia.js +190 -22
  223. package/dist/esm/callMedia.js.map +1 -1
  224. package/dist/esm/callRecording.d.ts +8 -2
  225. package/dist/esm/callRecording.d.ts.map +1 -1
  226. package/dist/esm/callRecording.js +20 -5
  227. package/dist/esm/callRecording.js.map +1 -1
  228. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  229. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  230. package/dist/esm/eventprocessor/callAutomationEventProcessor.js +137 -0
  231. package/dist/esm/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  232. package/dist/esm/eventprocessor/eventResponses.d.ts +134 -0
  233. package/dist/esm/eventprocessor/eventResponses.d.ts.map +1 -0
  234. package/dist/esm/eventprocessor/eventResponses.js +4 -0
  235. package/dist/esm/eventprocessor/eventResponses.js.map +1 -0
  236. package/dist/esm/generated/src/callAutomationApiClient.d.ts +2 -1
  237. package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -1
  238. package/dist/esm/generated/src/callAutomationApiClient.js +4 -3
  239. package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
  240. package/dist/esm/generated/src/models/index.d.ts +971 -206
  241. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  242. package/dist/esm/generated/src/models/index.js +124 -46
  243. package/dist/esm/generated/src/models/index.js.map +1 -1
  244. package/dist/esm/generated/src/models/mappers.d.ts +59 -11
  245. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  246. package/dist/esm/generated/src/models/mappers.js +2122 -466
  247. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  248. package/dist/esm/generated/src/models/parameters.d.ts +8 -1
  249. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  250. package/dist/esm/generated/src/models/parameters.js +45 -6
  251. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  252. package/dist/esm/generated/src/operations/callConnection.d.ts +16 -2
  253. package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -1
  254. package/dist/esm/generated/src/operations/callConnection.js +65 -1
  255. package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
  256. package/dist/esm/generated/src/operations/callDialog.d.ts +35 -0
  257. package/dist/esm/generated/src/operations/callDialog.d.ts.map +1 -0
  258. package/dist/esm/generated/src/operations/callDialog.js +111 -0
  259. package/dist/esm/generated/src/operations/callDialog.js.map +1 -0
  260. package/dist/esm/generated/src/operations/callMedia.d.ts +15 -8
  261. package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
  262. package/dist/esm/generated/src/operations/callMedia.js +50 -25
  263. package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
  264. package/dist/esm/generated/src/operations/callRecording.d.ts +7 -1
  265. package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -1
  266. package/dist/esm/generated/src/operations/callRecording.js +24 -0
  267. package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
  268. package/dist/esm/generated/src/operations/index.d.ts +1 -0
  269. package/dist/esm/generated/src/operations/index.d.ts.map +1 -1
  270. package/dist/esm/generated/src/operations/index.js +1 -0
  271. package/dist/esm/generated/src/operations/index.js.map +1 -1
  272. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  273. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  274. package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  275. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  276. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  277. package/dist/esm/generated/src/operationsInterfaces/callDialog.js +9 -0
  278. package/dist/esm/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  279. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  280. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  281. package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  282. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  283. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  284. package/dist/esm/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  285. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +1 -0
  286. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  287. package/dist/esm/generated/src/operationsInterfaces/index.js +1 -0
  288. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -1
  289. package/dist/esm/index.d.ts +2 -0
  290. package/dist/esm/index.d.ts.map +1 -1
  291. package/dist/esm/index.js +2 -0
  292. package/dist/esm/index.js.map +1 -1
  293. package/dist/esm/models/constants.js +1 -1
  294. package/dist/esm/models/constants.js.map +1 -1
  295. package/dist/esm/models/events.d.ts +188 -62
  296. package/dist/esm/models/events.d.ts.map +1 -1
  297. package/dist/esm/models/events.js.map +1 -1
  298. package/dist/esm/models/models.d.ts +85 -7
  299. package/dist/esm/models/models.d.ts.map +1 -1
  300. package/dist/esm/models/models.js +3 -1
  301. package/dist/esm/models/models.js.map +1 -1
  302. package/dist/esm/models/options.d.ts +49 -2
  303. package/dist/esm/models/options.d.ts.map +1 -1
  304. package/dist/esm/models/options.js.map +1 -1
  305. package/dist/esm/models/responses.d.ts +82 -10
  306. package/dist/esm/models/responses.d.ts.map +1 -1
  307. package/dist/esm/models/responses.js.map +1 -1
  308. package/dist/esm/utli/converters.d.ts +26 -2
  309. package/dist/esm/utli/converters.d.ts.map +1 -1
  310. package/dist/esm/utli/converters.js +114 -19
  311. package/dist/esm/utli/converters.js.map +1 -1
  312. package/dist/react-native/callAutomationClient.d.ts +9 -2
  313. package/dist/react-native/callAutomationClient.d.ts.map +1 -1
  314. package/dist/react-native/callAutomationClient.js +115 -10
  315. package/dist/react-native/callAutomationClient.js.map +1 -1
  316. package/dist/react-native/callAutomationEventParser.d.ts.map +1 -1
  317. package/dist/react-native/callAutomationEventParser.js +47 -1
  318. package/dist/react-native/callAutomationEventParser.js.map +1 -1
  319. package/dist/react-native/callConnection.d.ts +16 -6
  320. package/dist/react-native/callConnection.d.ts.map +1 -1
  321. package/dist/react-native/callConnection.js +166 -15
  322. package/dist/react-native/callConnection.js.map +1 -1
  323. package/dist/react-native/callMedia.d.ts +20 -10
  324. package/dist/react-native/callMedia.d.ts.map +1 -1
  325. package/dist/react-native/callMedia.js +190 -22
  326. package/dist/react-native/callMedia.js.map +1 -1
  327. package/dist/react-native/callRecording.d.ts +8 -2
  328. package/dist/react-native/callRecording.d.ts.map +1 -1
  329. package/dist/react-native/callRecording.js +20 -5
  330. package/dist/react-native/callRecording.js.map +1 -1
  331. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  332. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  333. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js +137 -0
  334. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  335. package/dist/react-native/eventprocessor/eventResponses.d.ts +134 -0
  336. package/dist/react-native/eventprocessor/eventResponses.d.ts.map +1 -0
  337. package/dist/react-native/eventprocessor/eventResponses.js +4 -0
  338. package/dist/react-native/eventprocessor/eventResponses.js.map +1 -0
  339. package/dist/react-native/generated/src/callAutomationApiClient.d.ts +2 -1
  340. package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -1
  341. package/dist/react-native/generated/src/callAutomationApiClient.js +4 -3
  342. package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
  343. package/dist/react-native/generated/src/models/index.d.ts +971 -206
  344. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  345. package/dist/react-native/generated/src/models/index.js +124 -46
  346. package/dist/react-native/generated/src/models/index.js.map +1 -1
  347. package/dist/react-native/generated/src/models/mappers.d.ts +59 -11
  348. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  349. package/dist/react-native/generated/src/models/mappers.js +2122 -466
  350. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  351. package/dist/react-native/generated/src/models/parameters.d.ts +8 -1
  352. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  353. package/dist/react-native/generated/src/models/parameters.js +45 -6
  354. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  355. package/dist/react-native/generated/src/operations/callConnection.d.ts +16 -2
  356. package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -1
  357. package/dist/react-native/generated/src/operations/callConnection.js +65 -1
  358. package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
  359. package/dist/react-native/generated/src/operations/callDialog.d.ts +35 -0
  360. package/dist/react-native/generated/src/operations/callDialog.d.ts.map +1 -0
  361. package/dist/react-native/generated/src/operations/callDialog.js +111 -0
  362. package/dist/react-native/generated/src/operations/callDialog.js.map +1 -0
  363. package/dist/react-native/generated/src/operations/callMedia.d.ts +15 -8
  364. package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
  365. package/dist/react-native/generated/src/operations/callMedia.js +50 -25
  366. package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
  367. package/dist/react-native/generated/src/operations/callRecording.d.ts +7 -1
  368. package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -1
  369. package/dist/react-native/generated/src/operations/callRecording.js +24 -0
  370. package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
  371. package/dist/react-native/generated/src/operations/index.d.ts +1 -0
  372. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -1
  373. package/dist/react-native/generated/src/operations/index.js +1 -0
  374. package/dist/react-native/generated/src/operations/index.js.map +1 -1
  375. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  376. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  377. package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  378. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  379. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  380. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js +9 -0
  381. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  382. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  383. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  384. package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  385. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  386. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  387. package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  388. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +1 -0
  389. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  390. package/dist/react-native/generated/src/operationsInterfaces/index.js +1 -0
  391. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -1
  392. package/dist/react-native/index.d.ts +2 -0
  393. package/dist/react-native/index.d.ts.map +1 -1
  394. package/dist/react-native/index.js +2 -0
  395. package/dist/react-native/index.js.map +1 -1
  396. package/dist/react-native/models/constants.js +1 -1
  397. package/dist/react-native/models/constants.js.map +1 -1
  398. package/dist/react-native/models/events.d.ts +188 -62
  399. package/dist/react-native/models/events.d.ts.map +1 -1
  400. package/dist/react-native/models/events.js.map +1 -1
  401. package/dist/react-native/models/models.d.ts +85 -7
  402. package/dist/react-native/models/models.d.ts.map +1 -1
  403. package/dist/react-native/models/models.js +3 -1
  404. package/dist/react-native/models/models.js.map +1 -1
  405. package/dist/react-native/models/options.d.ts +49 -2
  406. package/dist/react-native/models/options.d.ts.map +1 -1
  407. package/dist/react-native/models/options.js.map +1 -1
  408. package/dist/react-native/models/responses.d.ts +82 -10
  409. package/dist/react-native/models/responses.d.ts.map +1 -1
  410. package/dist/react-native/models/responses.js.map +1 -1
  411. package/dist/react-native/utli/converters.d.ts +26 -2
  412. package/dist/react-native/utli/converters.d.ts.map +1 -1
  413. package/dist/react-native/utli/converters.js +114 -19
  414. package/dist/react-native/utli/converters.js.map +1 -1
  415. package/package.json +16 -22
@@ -1,4 +1,6 @@
1
1
  import * as coreClient from "@azure/core-client";
2
+ export type BaseDialogUnion = BaseDialog | AzureOpenAIDialog | PowerVirtualAgentsDialog;
3
+ export type DialogUpdateBaseUnion = DialogUpdateBase | AzureOpenAIDialogUpdate;
2
4
  /** The request payload for creating the call. */
3
5
  export interface CreateCallRequest {
4
6
  /** The targets of the call. */
@@ -18,12 +20,14 @@ export interface CreateCallRequest {
18
20
  callbackUri: string;
19
21
  /** AI options for the call. */
20
22
  callIntelligenceOptions?: CallIntelligenceOptionsInternal;
23
+ /** The identifier of the source for creating call with Teams resource account ID. */
24
+ teamsAppSource?: MicrosoftTeamsAppIdentifierModel;
25
+ /** Used by customer to send custom calling context to targets */
26
+ customCallingContext?: CustomCallingContextInternal;
21
27
  /** Media Streaming Options. */
22
28
  mediaStreamingOptions?: MediaStreamingOptions;
23
29
  /** Transcription Options. */
24
- transcriptionOptions?: TranscriptionOptions;
25
- /** The identifier of the source for creating call with Teams resource account ID. */
26
- teamsAppSource?: MicrosoftTeamsAppIdentifierModel;
30
+ transcriptionOptions?: TranscriptionOptionsInternal;
27
31
  }
28
32
  /** Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model is polymorphic: Apart from kind and rawId, at most one further property may be set which must match the kind enum value. */
29
33
  export interface CommunicationIdentifierModel {
@@ -87,6 +91,74 @@ export interface TeamsExtensionUserIdentifierModel {
87
91
  export interface CallIntelligenceOptionsInternal {
88
92
  /** The identifier of the Cognitive Service resource assigned to this call. */
89
93
  cognitiveServicesEndpoint?: string;
94
+ /** A backup identifier of the Cognitive Service resource assigned to this call. */
95
+ backupCognitiveServicesEndpoint?: string;
96
+ }
97
+ /** The custom calling context which will be sent to the target */
98
+ export interface CustomCallingContextInternal {
99
+ /** Custom calling context VoiP headers */
100
+ voipHeaders?: {
101
+ [propertyName: string]: string;
102
+ };
103
+ /** Custom calling context SIP headers */
104
+ sipHeaders?: {
105
+ [propertyName: string]: string;
106
+ };
107
+ /** Custom calling context TeamsPhoneCallDetails */
108
+ teamsPhoneCallDetails?: TeamsPhoneCallDetailsInternal;
109
+ }
110
+ /** The call details which will be sent to the target */
111
+ export interface TeamsPhoneCallDetailsInternal {
112
+ /** Container for details relating to the original caller of the call */
113
+ teamsPhoneCallerDetails?: TeamsPhoneCallerDetailsInternal;
114
+ /** Container for details relating to the entity responsible for the creation of these call details */
115
+ teamsPhoneSourceDetails?: TeamsPhoneSourceDetailsInternal;
116
+ /** Id to exclusively identify this call session. IVR will use this for their telemetry/reporting. */
117
+ sessionId?: string;
118
+ /** The intent of the call */
119
+ intent?: string;
120
+ /** A very short description (max 48 chars) of the reason for the call. To be displayed in Teams CallNotification */
121
+ callTopic?: string;
122
+ /** A summary of the call thus far. It will be displayed on a side panel in the Teams UI */
123
+ callContext?: string;
124
+ /** Url for fetching the transcript of the call */
125
+ transcriptUrl?: string;
126
+ /** Sentiment of the call thus far */
127
+ callSentiment?: string;
128
+ /** Recommendations for resolving the issue based on the customer’s intent and interaction history */
129
+ suggestedActions?: string;
130
+ }
131
+ /** Container for details relating to the original caller of the call */
132
+ export interface TeamsPhoneCallerDetailsInternal {
133
+ /** Caller's ID */
134
+ caller: CommunicationIdentifierModel;
135
+ /** Caller's name */
136
+ name: string;
137
+ /** Caller's phone number */
138
+ phoneNumber: string;
139
+ /** Caller's record ID (ex in CRM) */
140
+ recordId?: string;
141
+ /** Caller's screen pop URL */
142
+ screenPopUrl?: string;
143
+ /** Flag indicating whether the caller was authenticated */
144
+ isAuthenticated?: boolean;
145
+ /** A set of key value pairs (max 10, any additional entries would be ignored) which a bot author wants to pass to the Teams Client for display to the agent */
146
+ additionalCallerInformation?: {
147
+ [propertyName: string]: string;
148
+ };
149
+ }
150
+ /** Container for details relating to the entity responsible for the creation of these call details */
151
+ export interface TeamsPhoneSourceDetailsInternal {
152
+ /** ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA) */
153
+ source: CommunicationIdentifierModel;
154
+ /** Language of the source entity passing along the call details, passed in the ISO-639 standard */
155
+ language: string;
156
+ /** Status of the source entity passing along the call details */
157
+ status: string;
158
+ /** Intended targets of the source entity passing along the call details */
159
+ intendedTargets?: {
160
+ [propertyName: string]: CommunicationIdentifierModel;
161
+ };
90
162
  }
91
163
  /** Configuration of Media streaming. */
92
164
  export interface MediaStreamingOptions {
@@ -106,7 +178,7 @@ export interface MediaStreamingOptions {
106
178
  audioFormat?: AudioFormat;
107
179
  }
108
180
  /** Configuration of live transcription. */
109
- export interface TranscriptionOptions {
181
+ export interface TranscriptionOptionsInternal {
110
182
  /** Transport URL for live transcription */
111
183
  transportUrl: string;
112
184
  /** The type of transport to be used for live transcription, eg. Websocket */
@@ -114,7 +186,7 @@ export interface TranscriptionOptions {
114
186
  /** Defines the locale for the data e.g en-CA, en-AU */
115
187
  locale: string;
116
188
  /** Endpoint where the custom model was deployed. */
117
- speechRecognitionModelEndpointId?: string;
189
+ speechModelEndpointId?: string;
118
190
  /** Determines if the transcription should be started immediately after call is answered or not. */
119
191
  startTranscription: boolean;
120
192
  /** Enables intermediate results for the transcribed speech. */
@@ -145,6 +217,10 @@ export interface CallConnectionPropertiesInternal {
145
217
  correlationId?: string;
146
218
  /** Identity of the answering entity. Only populated when identity is provided in the request. */
147
219
  answeredBy?: CommunicationUserIdentifierModel;
220
+ /** SubscriptionId for media streaming */
221
+ mediaSubscriptionId?: string;
222
+ /** SubscriptionId for transcription */
223
+ dataSubscriptionId?: string;
148
224
  /** The state of media streaming subscription for the call */
149
225
  mediaStreamingSubscription?: MediaStreamingSubscription;
150
226
  /** Transcription Subscription. */
@@ -203,6 +279,8 @@ export interface AnswerCallRequest {
203
279
  incomingCallContext: string;
204
280
  /** The callback uri. */
205
281
  callbackUri: string;
282
+ /** Used by customer to send custom calling context to targets when answering On-Behalf-Of call */
283
+ customCallingContext?: CustomCallingContextInternal;
206
284
  /** A customer set value used to track the answering of a call. */
207
285
  operationContext?: string;
208
286
  /** AI options for the call. */
@@ -212,7 +290,7 @@ export interface AnswerCallRequest {
212
290
  /** Media Streaming Options. */
213
291
  mediaStreamingOptions?: MediaStreamingOptions;
214
292
  /** Transcription Options. */
215
- transcriptionOptions?: TranscriptionOptions;
293
+ transcriptionOptions?: TranscriptionOptionsInternal;
216
294
  }
217
295
  /** The request payload for redirecting the call. */
218
296
  export interface RedirectCallRequest {
@@ -220,6 +298,8 @@ export interface RedirectCallRequest {
220
298
  incomingCallContext: string;
221
299
  /** The target identity to redirect the call to. */
222
300
  target: CommunicationIdentifierModel;
301
+ /** Used by customer to send custom calling context to targets */
302
+ customCallingContext?: CustomCallingContextInternal;
223
303
  }
224
304
  /** The request payload for rejecting the call. */
225
305
  export interface RejectCallRequest {
@@ -238,10 +318,10 @@ export interface ConnectRequest {
238
318
  operationContext?: string;
239
319
  /** AI options for the call. */
240
320
  callIntelligenceOptions?: CallIntelligenceOptionsInternal;
241
- /** Media Streaming Configuration. */
321
+ /** Media Streaming Options. */
242
322
  mediaStreamingOptions?: MediaStreamingOptions;
243
- /** Live Transcription Configuration. */
244
- transcriptionOptions?: TranscriptionOptions;
323
+ /** Transcription Options. */
324
+ transcriptionOptions?: TranscriptionOptionsInternal;
245
325
  }
246
326
  /** The locator used for joining or taking action on a call */
247
327
  export interface CallLocator {
@@ -272,17 +352,6 @@ export interface TransferToParticipantRequest {
272
352
  /** The source caller Id, a phone number, that will be used as the transferor's caller Id when transferring a call to a Pstn target. */
273
353
  sourceCallerIdNumber?: PhoneNumberIdentifierModel;
274
354
  }
275
- /** The custom calling context which will be sent to the target */
276
- export interface CustomCallingContextInternal {
277
- /** Custom calling context VoiP headers */
278
- voipHeaders?: {
279
- [propertyName: string]: string;
280
- };
281
- /** Custom calling context SIP headers */
282
- sipHeaders?: {
283
- [propertyName: string]: string;
284
- };
285
- }
286
355
  /** The response payload for transferring the call. */
287
356
  export interface TransferCallResponse {
288
357
  /** The operation context provided by client. */
@@ -296,8 +365,6 @@ export interface PlayRequest {
296
365
  * Plays to everyone in the call when not provided.
297
366
  */
298
367
  playTo?: CommunicationIdentifierModel[];
299
- /** If set play can barge into other existing queued-up/currently-processing requests. */
300
- interruptCallMediaOperation?: boolean;
301
368
  /** Defines options for playing the audio. */
302
369
  playOptions?: PlayOptionsInternal;
303
370
  /** The value to identify context of the operation. */
@@ -351,26 +418,32 @@ export interface SsmlSourceInternal {
351
418
  export interface PlayOptionsInternal {
352
419
  /** The option to play the provided audio source in loop when set to true */
353
420
  loop: boolean;
421
+ /** If set play can barge into other existing queued-up/currently-processing requests. */
422
+ interruptCallMediaOperation?: boolean;
423
+ /** If set, hold audio will be interrupted, then this request will be played, and then the hold audio will be resumed. */
424
+ interruptHoldAudio?: boolean;
354
425
  }
355
426
  export interface StartTranscriptionRequest {
356
427
  /** Defines Locale for the transcription e,g en-US */
357
428
  locale?: string;
358
429
  /** Endpoint where the custom model was deployed. */
359
- speechRecognitionModelEndpointId?: string;
430
+ speechModelEndpointId?: string;
360
431
  /** The value to identify context of the operation. */
361
432
  operationContext?: string;
433
+ /**
434
+ * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
435
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
436
+ */
437
+ operationCallbackUri?: string;
362
438
  }
363
439
  export interface StopTranscriptionRequest {
364
440
  /** The value to identify context of the operation. */
365
441
  operationContext?: string;
366
- }
367
- export interface UpdateTranscriptionRequest {
368
- /** Sets new locale for transcription. */
369
- locale: string;
370
- /** Sets Endpoint id where the custom model was deployed. */
371
- speechRecognitionModelEndpointId?: string;
372
- /** The value to identify context of the operation. */
373
- operationContext?: string;
442
+ /**
443
+ * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
444
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
445
+ */
446
+ operationCallbackUri?: string;
374
447
  }
375
448
  export interface RecognizeRequest {
376
449
  /** Determines the type of the recognition. */
@@ -458,6 +531,19 @@ export interface SendDtmfTonesResult {
458
531
  /** The operation context provided by client. */
459
532
  operationContext?: string;
460
533
  }
534
+ export interface UpdateTranscriptionRequest {
535
+ /** Defines new locale for transcription. */
536
+ locale?: string;
537
+ /** Sets Endpoint id where the custom model was deployed. */
538
+ speechModelEndpointId?: string;
539
+ /** The value to identify context of the operation. */
540
+ operationContext?: string;
541
+ /**
542
+ * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
543
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
544
+ */
545
+ operationCallbackUri?: string;
546
+ }
461
547
  /** The request payload for holding participant from the call. */
462
548
  export interface HoldRequest {
463
549
  /** Participant to be held from the call. */
@@ -500,6 +586,63 @@ export interface StopMediaStreamingRequest {
500
586
  /** The value to identify context of the operation. */
501
587
  operationContext?: string;
502
588
  }
589
+ export interface InterruptAudioAndAnnounceRequest {
590
+ /** The source of the audio to be played. */
591
+ playSources: PlaySourceInternal[];
592
+ /**
593
+ * The list of call participants play provided audio to.
594
+ * Plays to everyone in the call when not provided.
595
+ */
596
+ playTo: CommunicationIdentifierModel;
597
+ /** The value to identify context of the operation. */
598
+ operationContext?: string;
599
+ }
600
+ export interface StartDialogRequest {
601
+ /** Defines the dialog. */
602
+ dialog: BaseDialogUnion;
603
+ /**
604
+ * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
605
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
606
+ */
607
+ operationCallbackUri?: string;
608
+ /** The value to identify context of the operation. */
609
+ operationContext?: string;
610
+ }
611
+ export interface BaseDialog {
612
+ /** Polymorphic discriminator, which specifies the different types this object can be */
613
+ kind: "azureOpenAI" | "powerVirtualAgents";
614
+ /** Dialog context. */
615
+ context: {
616
+ [propertyName: string]: Record<string, unknown>;
617
+ };
618
+ }
619
+ export interface DialogStateResponse {
620
+ /** The dialog ID. */
621
+ dialogId?: string;
622
+ /** Defines dialog. */
623
+ dialog?: BaseDialogUnion;
624
+ /** The value to identify context of the operation. */
625
+ operationContext?: string;
626
+ }
627
+ export interface UpdateDialogRequest {
628
+ /** Dialog context. */
629
+ dialog: DialogUpdateBaseUnion;
630
+ /**
631
+ * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
632
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
633
+ */
634
+ operationCallbackUri?: string;
635
+ /** The value to identify context of the operation. */
636
+ operationContext?: string;
637
+ }
638
+ export interface DialogUpdateBase {
639
+ /** Polymorphic discriminator, which specifies the different types this object can be */
640
+ kind: "azureOpenAI";
641
+ /** Dialog context. */
642
+ context?: {
643
+ [propertyName: string]: Record<string, unknown>;
644
+ };
645
+ }
503
646
  /** The response payload for getting participants of the call. */
504
647
  export interface GetParticipantsResponse {
505
648
  /** List of the current participants in the call. */
@@ -586,6 +729,21 @@ export interface MuteParticipantsResult {
586
729
  /** The operation context provided by client. */
587
730
  operationContext?: string;
588
731
  }
732
+ /** The request payload for unmuting participant from the call. */
733
+ export interface UnmuteParticipantsRequest {
734
+ /**
735
+ * Participants to be unmuted from the call.
736
+ * Only ACS Users are supported.
737
+ */
738
+ targetParticipants: CommunicationIdentifierModel[];
739
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
740
+ operationContext?: string;
741
+ }
742
+ /** The response payload for unmuting participants from the call. */
743
+ export interface UnmuteParticipantsResponse {
744
+ /** The operation context provided by client. */
745
+ operationContext?: string;
746
+ }
589
747
  /** Request payload for cancelling add participant request. */
590
748
  export interface CancelAddParticipantRequest {
591
749
  /** Invitation ID used to add a participant. */
@@ -605,11 +763,34 @@ export interface CancelAddParticipantResponse {
605
763
  /** The operation context provided by client. */
606
764
  operationContext?: string;
607
765
  }
766
+ /** The request payload for moving participant to the call. */
767
+ export interface MoveParticipantsRequest {
768
+ /** The participant to Move. */
769
+ targetParticipants: CommunicationIdentifierModel[];
770
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
771
+ operationContext?: string;
772
+ /**
773
+ * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
774
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
775
+ */
776
+ operationCallbackUri?: string;
777
+ /** The CallConnectionId for the call you want to move the participant from */
778
+ fromCall: string;
779
+ }
780
+ /** The response payload for moving participants to the call. */
781
+ export interface MoveParticipantsResponse {
782
+ /** List of current participants in the call. */
783
+ participants?: CallParticipantInternal[];
784
+ /** The operation context provided by client. */
785
+ operationContext?: string;
786
+ /** The CallConnectionId for the call you want to move the participant from */
787
+ fromCall?: string;
788
+ }
608
789
  /** The request payload start for call recording operation with call locator. */
609
790
  export interface StartCallRecordingRequest {
610
791
  /** The call locator. (Only one of callLocator or callConnectionId to be used) */
611
792
  callLocator?: CallLocator;
612
- /** The call connection Id. (Only one of callLocator or callConnectionId to be used) */
793
+ /** The call connectionId. (Only one of callLocator or callConnectionId to be used) */
613
794
  callConnectionId?: string;
614
795
  /** The uri to send notifications to. */
615
796
  recordingStateCallbackUri?: string;
@@ -637,6 +818,8 @@ export interface StartCallRecordingRequest {
637
818
  pauseOnStart?: boolean;
638
819
  /** Optional property to specify location where recording will be stored */
639
820
  recordingStorage?: RecordingStorage;
821
+ /** The post processing options for the recording. */
822
+ postProcessingOptions?: PostProcessingOptions;
640
823
  }
641
824
  /** Channel affinity for a participant */
642
825
  export interface ChannelAffinity {
@@ -654,13 +837,107 @@ export interface RecordingStorage {
654
837
  /** Uri of a container or a location within a container */
655
838
  recordingDestinationContainerUrl?: string;
656
839
  }
840
+ export interface PostProcessingOptions {
841
+ /**
842
+ * The identifier of the Cognitive Service resource assigned to the post recording processing.
843
+ * The Cognitive Service resource will be used by the summarization feature.
844
+ */
845
+ cognitiveServicesEndpoint?: string;
846
+ /** Define options of the transcription for the post recording processing. */
847
+ transcription: Transcription;
848
+ /** Define options of the summarization for the post recording processing. */
849
+ summarization?: Summarization;
850
+ }
851
+ export interface Transcription {
852
+ /** Determine if the Transcription should be enabled for the post recording processing. */
853
+ enableTranscription: boolean;
854
+ }
855
+ export interface Summarization {
856
+ /** Determine if the summarization should be enabled for the post recording processing. */
857
+ enableSummarization: boolean;
858
+ }
657
859
  export interface RecordingStateResponse {
658
860
  recordingId?: string;
659
861
  recordingState?: RecordingState;
660
862
  recordingKind?: RecordingKind;
661
863
  }
662
- /** The ConnectFailed event. */
663
- export interface ConnectFailed {
864
+ /** Recording result data */
865
+ export interface RecordingResultResponse {
866
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
867
+ readonly recordingId?: string;
868
+ /**
869
+ * Container for chunks
870
+ * NOTE: This property will not be serialized. It can only be populated by the server.
871
+ */
872
+ readonly recordingStorageInfo?: RecordingStorageInfo;
873
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
874
+ readonly errors?: ErrorModel[];
875
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
876
+ readonly recordingStartTime?: Date;
877
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
878
+ readonly recordingDurationMs?: number;
879
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
880
+ readonly sessionEndReason?: CallSessionEndReason;
881
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
882
+ readonly recordingExpirationTime?: Date;
883
+ }
884
+ /** Container for chunks */
885
+ export interface RecordingStorageInfo {
886
+ /** Collection of {Microsoft.Skype.Platform.ExecutionAgent.Azure.Communication.Service.ServerCalling.Content.Contracts.ALPHA4_2024_09_01_preview.Models.RecordingChunkStorageInfo} */
887
+ recordingChunks?: RecordingChunkStorageInfo[];
888
+ }
889
+ /** Recording chunk data */
890
+ export interface RecordingChunkStorageInfo {
891
+ /** Chunk document id */
892
+ documentId?: string;
893
+ /** Chunks order in a multi chunk recording */
894
+ index?: number;
895
+ /** Reason this chunk ended */
896
+ endReason?: ChunkEndReason;
897
+ /** Location of the chunk */
898
+ contentLocation?: string;
899
+ /** Location of chunk metadata */
900
+ metadataLocation?: string;
901
+ /** Callback for deleting chunk */
902
+ deleteLocation?: string;
903
+ }
904
+ /** Error details */
905
+ export interface ErrorModel {
906
+ /** Error code */
907
+ code?: string;
908
+ /** Error message */
909
+ message?: string;
910
+ /** Inner error details */
911
+ innerError?: ErrorModel;
912
+ }
913
+ export interface DtmfResult {
914
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
915
+ readonly tones?: Tone[];
916
+ }
917
+ export interface ChoiceResult {
918
+ /** Label is the primary identifier for the choice detected */
919
+ label?: string;
920
+ /**
921
+ * Phrases are set to the value if choice is selected via phrase detection.
922
+ * If Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null
923
+ */
924
+ recognizedPhrase?: string;
925
+ }
926
+ /** The speech status as a result. */
927
+ export interface SpeechResult {
928
+ /** The recognized speech in string. */
929
+ speech?: string;
930
+ /** The confidence of the recognized speech. */
931
+ confidence?: number;
932
+ }
933
+ export interface DialogCompleted {
934
+ /** Determines the type of the dialog. */
935
+ dialogInputType?: DialogInputType;
936
+ /**
937
+ * Dialog ID
938
+ * NOTE: This property will not be serialized. It can only be populated by the server.
939
+ */
940
+ readonly dialogId?: string;
664
941
  /** Call connection ID. */
665
942
  callConnectionId?: string;
666
943
  /** Server call ID. */
@@ -680,8 +957,14 @@ export interface RestResultInformation {
680
957
  /** Detail message that describes the current result. */
681
958
  message?: string;
682
959
  }
683
- /** Play started event. */
684
- export interface PlayStarted {
960
+ export interface DialogFailed {
961
+ /** Determines the type of the dialog. */
962
+ dialogInputType?: DialogInputType;
963
+ /**
964
+ * Dialog ID
965
+ * NOTE: This property will not be serialized. It can only be populated by the server.
966
+ */
967
+ readonly dialogId?: string;
685
968
  /** Call connection ID. */
686
969
  callConnectionId?: string;
687
970
  /** Server call ID. */
@@ -693,30 +976,41 @@ export interface PlayStarted {
693
976
  /** Contains the resulting SIP code, sub-code and message. */
694
977
  resultInformation?: RestResultInformation;
695
978
  }
696
- export interface DtmfResult {
697
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
698
- readonly tones?: Tone[];
699
- }
700
- export interface ChoiceResult {
701
- /** Label is the primary identifier for the choice detected */
702
- label?: string;
979
+ export interface DialogConsent {
980
+ /** Determines the type of the dialog. */
981
+ dialogInputType?: DialogInputType;
703
982
  /**
704
- * Phrases are set to the value if choice is selected via phrase detection.
705
- * If Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null
983
+ * UserConsent data from the Conversation Conductor
984
+ * NOTE: This property will not be serialized. It can only be populated by the server.
706
985
  */
707
- recognizedPhrase?: string;
986
+ readonly userConsent?: UserConsent;
987
+ /**
988
+ * Dialog ID
989
+ * NOTE: This property will not be serialized. It can only be populated by the server.
990
+ */
991
+ readonly dialogId?: string;
992
+ /** Call connection ID. */
993
+ callConnectionId?: string;
994
+ /** Server call ID. */
995
+ serverCallId?: string;
996
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
997
+ correlationId?: string;
998
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
999
+ operationContext?: string;
1000
+ /** Contains the resulting SIP code, sub-code and message. */
1001
+ resultInformation?: RestResultInformation;
708
1002
  }
709
- /** The speech status as a result. */
710
- export interface SpeechResult {
711
- /** The recognized speech in string. */
712
- speech?: string;
1003
+ export interface UserConsent {
1004
+ recording?: number;
713
1005
  }
714
- export interface MediaStreamingFailed {
1006
+ export interface DialogStarted {
1007
+ /** Determines the type of the dialog. */
1008
+ dialogInputType?: DialogInputType;
715
1009
  /**
716
- * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1010
+ * Dialog ID
717
1011
  * NOTE: This property will not be serialized. It can only be populated by the server.
718
1012
  */
719
- readonly mediaStreamingUpdate?: MediaStreamingUpdate;
1013
+ readonly dialogId?: string;
720
1014
  /** Call connection ID. */
721
1015
  callConnectionId?: string;
722
1016
  /** Server call ID. */
@@ -728,17 +1022,53 @@ export interface MediaStreamingFailed {
728
1022
  /** Contains the resulting SIP code, sub-code and message. */
729
1023
  resultInformation?: RestResultInformation;
730
1024
  }
731
- export interface MediaStreamingUpdate {
732
- contentType?: string;
733
- mediaStreamingStatus?: MediaStreamingStatus;
734
- mediaStreamingStatusDetails?: MediaStreamingStatusDetails;
1025
+ export interface DialogHangup {
1026
+ /** Determines the type of the dialog. */
1027
+ dialogInputType?: DialogInputType;
1028
+ /**
1029
+ * Dialog ID
1030
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1031
+ */
1032
+ readonly dialogId?: string;
1033
+ /**
1034
+ * Ivr Context
1035
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1036
+ */
1037
+ readonly ivrContext?: Record<string, unknown>;
1038
+ /** Call connection ID. */
1039
+ callConnectionId?: string;
1040
+ /** Server call ID. */
1041
+ serverCallId?: string;
1042
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1043
+ correlationId?: string;
1044
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1045
+ operationContext?: string;
1046
+ /** Contains the resulting SIP code, sub-code and message. */
1047
+ resultInformation?: RestResultInformation;
735
1048
  }
736
- export interface MediaStreamingStarted {
1049
+ export interface DialogTransfer {
1050
+ /** Determines the type of the dialog. */
1051
+ dialogInputType?: DialogInputType;
737
1052
  /**
738
- * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1053
+ * Dialog ID
739
1054
  * NOTE: This property will not be serialized. It can only be populated by the server.
740
1055
  */
741
- readonly mediaStreamingUpdate?: MediaStreamingUpdate;
1056
+ readonly dialogId?: string;
1057
+ /**
1058
+ * Transfer type
1059
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1060
+ */
1061
+ readonly transferType?: string;
1062
+ /**
1063
+ * Transfer destination
1064
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1065
+ */
1066
+ readonly transferDestination?: string;
1067
+ /**
1068
+ * IVR context
1069
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1070
+ */
1071
+ readonly ivrContext?: Record<string, unknown>;
742
1072
  /** Call connection ID. */
743
1073
  callConnectionId?: string;
744
1074
  /** Server call ID. */
@@ -750,12 +1080,24 @@ export interface MediaStreamingStarted {
750
1080
  /** Contains the resulting SIP code, sub-code and message. */
751
1081
  resultInformation?: RestResultInformation;
752
1082
  }
753
- export interface MediaStreamingStopped {
1083
+ export interface DialogLanguageChange {
1084
+ /** Determines the type of the dialog. */
1085
+ dialogInputType?: DialogInputType;
754
1086
  /**
755
- * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1087
+ * Dialog ID
756
1088
  * NOTE: This property will not be serialized. It can only be populated by the server.
757
1089
  */
758
- readonly mediaStreamingUpdate?: MediaStreamingUpdate;
1090
+ readonly dialogId?: string;
1091
+ /**
1092
+ * Selected Language
1093
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1094
+ */
1095
+ readonly selectedLanguage?: string;
1096
+ /**
1097
+ * Ivr Context
1098
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1099
+ */
1100
+ readonly ivrContext?: Record<string, unknown>;
759
1101
  /** Call connection ID. */
760
1102
  callConnectionId?: string;
761
1103
  /** Server call ID. */
@@ -767,12 +1109,43 @@ export interface MediaStreamingStopped {
767
1109
  /** Contains the resulting SIP code, sub-code and message. */
768
1110
  resultInformation?: RestResultInformation;
769
1111
  }
770
- export interface StartRecordingFailed {
1112
+ export interface DialogSensitivityUpdate {
1113
+ /** Determines the type of the dialog. */
1114
+ dialogInputType?: DialogInputType;
771
1115
  /**
772
- * The call recording Id.
1116
+ * Dialog ID
773
1117
  * NOTE: This property will not be serialized. It can only be populated by the server.
774
1118
  */
775
- readonly recordingId?: string;
1119
+ readonly dialogId?: string;
1120
+ /**
1121
+ * SensitiveMask
1122
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1123
+ */
1124
+ readonly sensitiveMask?: boolean;
1125
+ /** Call connection ID. */
1126
+ callConnectionId?: string;
1127
+ /** Server call ID. */
1128
+ serverCallId?: string;
1129
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1130
+ correlationId?: string;
1131
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1132
+ operationContext?: string;
1133
+ /** Contains the resulting SIP code, sub-code and message. */
1134
+ resultInformation?: RestResultInformation;
1135
+ }
1136
+ export interface DialogUpdated {
1137
+ /** Determines the type of the dialog. */
1138
+ dialogInputType?: DialogInputType;
1139
+ /**
1140
+ * Dialog ID
1141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1142
+ */
1143
+ readonly dialogId?: string;
1144
+ /**
1145
+ * IVR context
1146
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1147
+ */
1148
+ readonly ivrContext?: Record<string, unknown>;
776
1149
  /** Call connection ID. */
777
1150
  callConnectionId?: string;
778
1151
  /** Server call ID. */
@@ -788,6 +1161,11 @@ export interface TranscriptionUpdate {
788
1161
  transcriptionStatus?: TranscriptionStatus;
789
1162
  transcriptionStatusDetails?: TranscriptionStatusDetails;
790
1163
  }
1164
+ export interface MediaStreamingUpdate {
1165
+ contentType?: string;
1166
+ mediaStreamingStatus?: MediaStreamingStatus;
1167
+ mediaStreamingStatusDetails?: MediaStreamingStatusDetails;
1168
+ }
791
1169
  /** The participants successfully added event. */
792
1170
  export interface RestAddParticipantSucceeded {
793
1171
  /** Call connection ID. */
@@ -818,6 +1196,40 @@ export interface RestAddParticipantFailed {
818
1196
  /** Participant */
819
1197
  participant?: CommunicationIdentifierModel;
820
1198
  }
1199
+ /** Moving the participant successfully event. */
1200
+ export interface RestMoveParticipantSucceeded {
1201
+ /** The CallConnectionId for the call you want to move the participant from */
1202
+ fromCall?: string;
1203
+ /** Call connection ID. */
1204
+ callConnectionId?: string;
1205
+ /** Server call ID. */
1206
+ serverCallId?: string;
1207
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1208
+ correlationId?: string;
1209
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1210
+ operationContext?: string;
1211
+ /** Contains the resulting SIP code, sub-code and message. */
1212
+ resultInformation?: RestResultInformation;
1213
+ /** Participant */
1214
+ participant?: CommunicationIdentifierModel;
1215
+ }
1216
+ /** Moving the participant failed event. */
1217
+ export interface RestMoveParticipantFailed {
1218
+ /** The CallConnectionId for the call you want to move the participant from */
1219
+ fromCall?: string;
1220
+ /** Call connection ID. */
1221
+ callConnectionId?: string;
1222
+ /** Server call ID. */
1223
+ serverCallId?: string;
1224
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1225
+ correlationId?: string;
1226
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1227
+ operationContext?: string;
1228
+ /** Contains the resulting SIP code, sub-code and message. */
1229
+ resultInformation?: RestResultInformation;
1230
+ /** Participant */
1231
+ participant?: CommunicationIdentifierModel;
1232
+ }
821
1233
  /** The participant removed event. */
822
1234
  export interface RestRemoveParticipantSucceeded {
823
1235
  /** Call connection ID. */
@@ -1061,7 +1473,224 @@ export interface RestContinuousDtmfRecognitionToneFailed {
1061
1473
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1062
1474
  operationContext?: string;
1063
1475
  }
1064
- export interface RestContinuousDtmfRecognitionStopped {
1476
+ export interface RestContinuousDtmfRecognitionStopped {
1477
+ /** Call connection ID. */
1478
+ callConnectionId?: string;
1479
+ /** Server call ID. */
1480
+ serverCallId?: string;
1481
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1482
+ correlationId?: string;
1483
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1484
+ operationContext?: string;
1485
+ /** Contains the resulting SIP code, sub-code and message. */
1486
+ resultInformation?: RestResultInformation;
1487
+ }
1488
+ export interface RestSendDtmfTonesCompleted {
1489
+ /** Call connection ID. */
1490
+ callConnectionId?: string;
1491
+ /** Server call ID. */
1492
+ serverCallId?: string;
1493
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1494
+ correlationId?: string;
1495
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1496
+ operationContext?: string;
1497
+ /** Contains the resulting SIP code, sub-code and message. */
1498
+ resultInformation?: RestResultInformation;
1499
+ }
1500
+ export interface RestSendDtmfTonesFailed {
1501
+ /** Call connection ID. */
1502
+ callConnectionId?: string;
1503
+ /** Server call ID. */
1504
+ serverCallId?: string;
1505
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1506
+ correlationId?: string;
1507
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1508
+ operationContext?: string;
1509
+ /** Contains the resulting SIP code, sub-code and message. */
1510
+ resultInformation?: RestResultInformation;
1511
+ }
1512
+ /** Successful cancel add participant event. */
1513
+ export interface RestCancelAddParticipantSucceeded {
1514
+ /** Call connection ID. */
1515
+ callConnectionId?: string;
1516
+ /** Server call ID. */
1517
+ serverCallId?: string;
1518
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1519
+ correlationId?: string;
1520
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1521
+ operationContext?: string;
1522
+ /** Invitation ID used to cancel the request. */
1523
+ invitationId?: string;
1524
+ /** Contains the resulting SIP code, sub-code and message. */
1525
+ resultInformation?: RestResultInformation;
1526
+ }
1527
+ /** Failed cancel add participant event. */
1528
+ export interface RestCancelAddParticipantFailed {
1529
+ /** Call connection ID. */
1530
+ callConnectionId?: string;
1531
+ /** Server call ID. */
1532
+ serverCallId?: string;
1533
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1534
+ correlationId?: string;
1535
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1536
+ operationContext?: string;
1537
+ /** Contains the resulting SIP code, sub-code and message. */
1538
+ resultInformation?: RestResultInformation;
1539
+ /** Invitation ID used to cancel the request. */
1540
+ invitationId?: string;
1541
+ }
1542
+ export interface RestTranscriptionStarted {
1543
+ /**
1544
+ * Defines the result for TranscriptionUpdate with the current status and the details about the status
1545
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1546
+ */
1547
+ readonly transcriptionUpdate?: TranscriptionUpdate;
1548
+ /** Call connection ID. */
1549
+ callConnectionId?: string;
1550
+ /** Server call ID. */
1551
+ serverCallId?: string;
1552
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1553
+ correlationId?: string;
1554
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1555
+ operationContext?: string;
1556
+ /** Contains the resulting SIP code, sub-code and message. */
1557
+ resultInformation?: RestResultInformation;
1558
+ }
1559
+ export interface RestTranscriptionStopped {
1560
+ /**
1561
+ * Defines the result for TranscriptionUpdate with the current status and the details about the status
1562
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1563
+ */
1564
+ readonly transcriptionUpdate?: TranscriptionUpdate;
1565
+ /** Call connection ID. */
1566
+ callConnectionId?: string;
1567
+ /** Server call ID. */
1568
+ serverCallId?: string;
1569
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1570
+ correlationId?: string;
1571
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1572
+ operationContext?: string;
1573
+ /** Contains the resulting SIP code, sub-code and message. */
1574
+ resultInformation?: RestResultInformation;
1575
+ }
1576
+ export interface RestTranscriptionUpdated {
1577
+ /**
1578
+ * Defines the result for TranscriptionUpdate with the current status and the details about the status
1579
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1580
+ */
1581
+ readonly transcriptionUpdate?: TranscriptionUpdate;
1582
+ /** Call connection ID. */
1583
+ callConnectionId?: string;
1584
+ /** Server call ID. */
1585
+ serverCallId?: string;
1586
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1587
+ correlationId?: string;
1588
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1589
+ operationContext?: string;
1590
+ /** Contains the resulting SIP code, sub-code and message. */
1591
+ resultInformation?: RestResultInformation;
1592
+ }
1593
+ export interface RestTranscriptionFailed {
1594
+ /**
1595
+ * Defines the result for TranscriptionUpdate with the current status and the details about the status
1596
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1597
+ */
1598
+ readonly transcriptionUpdate?: TranscriptionUpdate;
1599
+ /** Call connection ID. */
1600
+ callConnectionId?: string;
1601
+ /** Server call ID. */
1602
+ serverCallId?: string;
1603
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1604
+ correlationId?: string;
1605
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1606
+ operationContext?: string;
1607
+ /** Contains the resulting SIP code, sub-code and message. */
1608
+ resultInformation?: RestResultInformation;
1609
+ }
1610
+ /** The create call failed event. */
1611
+ export interface RestCreateCallFailed {
1612
+ /** Call connection ID. */
1613
+ callConnectionId?: string;
1614
+ /** Server call ID. */
1615
+ serverCallId?: string;
1616
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1617
+ correlationId?: string;
1618
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1619
+ operationContext?: string;
1620
+ /** Contains the resulting SIP code, sub-code and message. */
1621
+ resultInformation?: RestResultInformation;
1622
+ }
1623
+ /** The failed to answer call event. */
1624
+ export interface RestAnswerFailed {
1625
+ /** Call connection ID. */
1626
+ callConnectionId?: string;
1627
+ /** Server call ID. */
1628
+ serverCallId?: string;
1629
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1630
+ correlationId?: string;
1631
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1632
+ operationContext?: string;
1633
+ /** Contains the resulting SIP code, sub-code and message. */
1634
+ resultInformation?: RestResultInformation;
1635
+ }
1636
+ /** Hold Failed event. */
1637
+ export interface RestHoldFailed {
1638
+ /** Call connection ID. */
1639
+ callConnectionId?: string;
1640
+ /** Server call ID. */
1641
+ serverCallId?: string;
1642
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1643
+ correlationId?: string;
1644
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1645
+ operationContext?: string;
1646
+ /** Contains the resulting SIP code, sub-code and message. */
1647
+ resultInformation?: RestResultInformation;
1648
+ }
1649
+ /** The incoming call event. */
1650
+ export interface RestIncomingCall {
1651
+ /**
1652
+ * The communication identifier of the target user.
1653
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1654
+ */
1655
+ readonly to?: CommunicationIdentifierModel;
1656
+ /**
1657
+ * The communication identifier of the user who initiated the call.
1658
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1659
+ */
1660
+ readonly from?: CommunicationIdentifierModel;
1661
+ /**
1662
+ * Display name of caller.
1663
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1664
+ */
1665
+ readonly callerDisplayName?: string;
1666
+ /**
1667
+ * The server call id.
1668
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1669
+ */
1670
+ readonly serverCallId?: string;
1671
+ /**
1672
+ * Custom Context of Incoming Call
1673
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1674
+ */
1675
+ readonly customContext?: CustomCallingContextInternal;
1676
+ /**
1677
+ * Incoming call context.
1678
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1679
+ */
1680
+ readonly incomingCallContext?: string;
1681
+ /**
1682
+ * The communication identifier of the user on behalf of whom the call is made.
1683
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1684
+ */
1685
+ readonly onBehalfOfCallee?: CommunicationIdentifierModel;
1686
+ /**
1687
+ * Correlation ID for event to call correlation. Also called ChainId for skype chain ID.
1688
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1689
+ */
1690
+ readonly correlationId?: string;
1691
+ }
1692
+ /** The ConnectFailed event. */
1693
+ export interface RestConnectFailed {
1065
1694
  /** Call connection ID. */
1066
1695
  callConnectionId?: string;
1067
1696
  /** Server call ID. */
@@ -1073,7 +1702,12 @@ export interface RestContinuousDtmfRecognitionStopped {
1073
1702
  /** Contains the resulting SIP code, sub-code and message. */
1074
1703
  resultInformation?: RestResultInformation;
1075
1704
  }
1076
- export interface RestSendDtmfTonesCompleted {
1705
+ export interface RestMediaStreamingStopped {
1706
+ /**
1707
+ * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1708
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1709
+ */
1710
+ readonly mediaStreamingUpdate?: MediaStreamingUpdate;
1077
1711
  /** Call connection ID. */
1078
1712
  callConnectionId?: string;
1079
1713
  /** Server call ID. */
@@ -1085,7 +1719,12 @@ export interface RestSendDtmfTonesCompleted {
1085
1719
  /** Contains the resulting SIP code, sub-code and message. */
1086
1720
  resultInformation?: RestResultInformation;
1087
1721
  }
1088
- export interface RestSendDtmfTonesFailed {
1722
+ export interface RestMediaStreamingStarted {
1723
+ /**
1724
+ * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1725
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1726
+ */
1727
+ readonly mediaStreamingUpdate?: MediaStreamingUpdate;
1089
1728
  /** Call connection ID. */
1090
1729
  callConnectionId?: string;
1091
1730
  /** Server call ID. */
@@ -1097,8 +1736,12 @@ export interface RestSendDtmfTonesFailed {
1097
1736
  /** Contains the resulting SIP code, sub-code and message. */
1098
1737
  resultInformation?: RestResultInformation;
1099
1738
  }
1100
- /** Successful cancel add participant event. */
1101
- export interface RestCancelAddParticipantSucceeded {
1739
+ export interface RestMediaStreamingFailed {
1740
+ /**
1741
+ * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1742
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1743
+ */
1744
+ readonly mediaStreamingUpdate?: MediaStreamingUpdate;
1102
1745
  /** Call connection ID. */
1103
1746
  callConnectionId?: string;
1104
1747
  /** Server call ID. */
@@ -1107,32 +1750,22 @@ export interface RestCancelAddParticipantSucceeded {
1107
1750
  correlationId?: string;
1108
1751
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1109
1752
  operationContext?: string;
1110
- /** Invitation ID used to cancel the request. */
1111
- invitationId?: string;
1112
1753
  /** Contains the resulting SIP code, sub-code and message. */
1113
1754
  resultInformation?: RestResultInformation;
1114
1755
  }
1115
- /** Failed cancel add participant event. */
1116
- export interface RestCancelAddParticipantFailed {
1756
+ export interface RestStartRecordingFailed {
1117
1757
  /** Call connection ID. */
1118
1758
  callConnectionId?: string;
1119
- /** Server call ID. */
1120
- serverCallId?: string;
1121
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1759
+ /** Correlation ID for event to call correlation. */
1122
1760
  correlationId?: string;
1123
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1124
- operationContext?: string;
1125
- /** Contains the resulting SIP code, sub-code and message. */
1126
- resultInformation?: RestResultInformation;
1127
- /** Invitation ID used to cancel the request. */
1128
- invitationId?: string;
1129
- }
1130
- export interface RestTranscriptionStarted {
1131
1761
  /**
1132
- * Defines the result for TranscriptionUpdate with the current status and the details about the status
1762
+ * The call recording id
1133
1763
  * NOTE: This property will not be serialized. It can only be populated by the server.
1134
1764
  */
1135
- readonly transcriptionUpdate?: TranscriptionUpdate;
1765
+ readonly recordingId?: string;
1766
+ }
1767
+ /** Play started event. */
1768
+ export interface RestPlayStarted {
1136
1769
  /** Call connection ID. */
1137
1770
  callConnectionId?: string;
1138
1771
  /** Server call ID. */
@@ -1144,12 +1777,8 @@ export interface RestTranscriptionStarted {
1144
1777
  /** Contains the resulting SIP code, sub-code and message. */
1145
1778
  resultInformation?: RestResultInformation;
1146
1779
  }
1147
- export interface RestTranscriptionStopped {
1148
- /**
1149
- * Defines the result for TranscriptionUpdate with the current status and the details about the status
1150
- * NOTE: This property will not be serialized. It can only be populated by the server.
1151
- */
1152
- readonly transcriptionUpdate?: TranscriptionUpdate;
1780
+ /** Play Paused event. */
1781
+ export interface RestPlayPaused {
1153
1782
  /** Call connection ID. */
1154
1783
  callConnectionId?: string;
1155
1784
  /** Server call ID. */
@@ -1161,12 +1790,8 @@ export interface RestTranscriptionStopped {
1161
1790
  /** Contains the resulting SIP code, sub-code and message. */
1162
1791
  resultInformation?: RestResultInformation;
1163
1792
  }
1164
- export interface RestTranscriptionUpdated {
1165
- /**
1166
- * Defines the result for TranscriptionUpdate with the current status and the details about the status
1167
- * NOTE: This property will not be serialized. It can only be populated by the server.
1168
- */
1169
- readonly transcriptionUpdate?: TranscriptionUpdate;
1793
+ /** Play Resumed event. */
1794
+ export interface RestPlayResumed {
1170
1795
  /** Call connection ID. */
1171
1796
  callConnectionId?: string;
1172
1797
  /** Server call ID. */
@@ -1178,12 +1803,8 @@ export interface RestTranscriptionUpdated {
1178
1803
  /** Contains the resulting SIP code, sub-code and message. */
1179
1804
  resultInformation?: RestResultInformation;
1180
1805
  }
1181
- export interface RestTranscriptionFailed {
1182
- /**
1183
- * Defines the result for TranscriptionUpdate with the current status and the details about the status
1184
- * NOTE: This property will not be serialized. It can only be populated by the server.
1185
- */
1186
- readonly transcriptionUpdate?: TranscriptionUpdate;
1806
+ /** Hold Audio Started event. */
1807
+ export interface RestHoldAudioStarted {
1187
1808
  /** Call connection ID. */
1188
1809
  callConnectionId?: string;
1189
1810
  /** Server call ID. */
@@ -1195,8 +1816,8 @@ export interface RestTranscriptionFailed {
1195
1816
  /** Contains the resulting SIP code, sub-code and message. */
1196
1817
  resultInformation?: RestResultInformation;
1197
1818
  }
1198
- /** The create call failed event. */
1199
- export interface RestCreateCallFailed {
1819
+ /** Hold Audio Paused event. */
1820
+ export interface RestHoldAudioPaused {
1200
1821
  /** Call connection ID. */
1201
1822
  callConnectionId?: string;
1202
1823
  /** Server call ID. */
@@ -1208,8 +1829,8 @@ export interface RestCreateCallFailed {
1208
1829
  /** Contains the resulting SIP code, sub-code and message. */
1209
1830
  resultInformation?: RestResultInformation;
1210
1831
  }
1211
- /** The failed to answer call event. */
1212
- export interface RestAnswerFailed {
1832
+ /** Hold Audio Resumed event. */
1833
+ export interface RestHoldAudioResumed {
1213
1834
  /** Call connection ID. */
1214
1835
  callConnectionId?: string;
1215
1836
  /** Server call ID. */
@@ -1221,7 +1842,8 @@ export interface RestAnswerFailed {
1221
1842
  /** Contains the resulting SIP code, sub-code and message. */
1222
1843
  resultInformation?: RestResultInformation;
1223
1844
  }
1224
- export interface RestHoldFailed {
1845
+ /** Hold Audio Completed event. */
1846
+ export interface RestHoldAudioCompleted {
1225
1847
  /** Call connection ID. */
1226
1848
  callConnectionId?: string;
1227
1849
  /** Server call ID. */
@@ -1233,48 +1855,24 @@ export interface RestHoldFailed {
1233
1855
  /** Contains the resulting SIP code, sub-code and message. */
1234
1856
  resultInformation?: RestResultInformation;
1235
1857
  }
1236
- /** The incoming call event. */
1237
- export interface RestIncomingCall {
1238
- /**
1239
- * The communication identifier of the target user.
1240
- * NOTE: This property will not be serialized. It can only be populated by the server.
1241
- */
1242
- readonly to?: CommunicationIdentifierModel;
1243
- /**
1244
- * The communication identifier of the user who initiated the call.
1245
- * NOTE: This property will not be serialized. It can only be populated by the server.
1246
- */
1247
- readonly from?: CommunicationIdentifierModel;
1248
- /**
1249
- * Display name of caller.
1250
- * NOTE: This property will not be serialized. It can only be populated by the server.
1251
- */
1252
- readonly callerDisplayName?: string;
1253
- /**
1254
- * The server call id.
1255
- * NOTE: This property will not be serialized. It can only be populated by the server.
1256
- */
1257
- readonly serverCallId?: string;
1258
- /**
1259
- * Custom Context of Incoming Call
1260
- * NOTE: This property will not be serialized. It can only be populated by the server.
1261
- */
1262
- readonly customContext?: CustomCallingContextInternal;
1263
- /**
1264
- * Incoming call context.
1265
- * NOTE: This property will not be serialized. It can only be populated by the server.
1266
- */
1267
- readonly incomingCallContext?: string;
1268
- /**
1269
- * The communication identifier of the user on behalf of whom the call is made.
1270
- * NOTE: This property will not be serialized. It can only be populated by the server.
1271
- */
1272
- readonly onBehalfOfCallee?: CommunicationIdentifierModel;
1273
- /**
1274
- * Correlation ID for event to call correlation. Also called ChainId for skype chain ID.
1275
- * NOTE: This property will not be serialized. It can only be populated by the server.
1276
- */
1277
- readonly correlationId?: string;
1858
+ /** Azure Open AI Dialog */
1859
+ export interface AzureOpenAIDialog extends BaseDialog {
1860
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1861
+ kind: "azureOpenAI";
1862
+ }
1863
+ /** Power Virtual Agents Dialog */
1864
+ export interface PowerVirtualAgentsDialog extends BaseDialog {
1865
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1866
+ kind: "powerVirtualAgents";
1867
+ /** Bot identifier. */
1868
+ botAppId: string;
1869
+ /** Language. */
1870
+ language?: string;
1871
+ }
1872
+ /** Azure Open AI Dialog for UpdateDialog API Call */
1873
+ export interface AzureOpenAIDialogUpdate extends DialogUpdateBase {
1874
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1875
+ kind: "azureOpenAI";
1278
1876
  }
1279
1877
  /** Known values of {@link CommunicationIdentifierModelKind} that the service accepts. */
1280
1878
  export declare enum KnownCommunicationIdentifierModelKind {
@@ -1632,6 +2230,22 @@ export declare enum KnownTone {
1632
2230
  * **asterisk**
1633
2231
  */
1634
2232
  export type Tone = string;
2233
+ /** Known values of {@link DialogInputType} that the service accepts. */
2234
+ export declare enum KnownDialogInputType {
2235
+ /** PowerVirtualAgents */
2236
+ PowerVirtualAgents = "powerVirtualAgents",
2237
+ /** AzureOpenAI */
2238
+ AzureOpenAI = "azureOpenAI"
2239
+ }
2240
+ /**
2241
+ * Defines values for DialogInputType. \
2242
+ * {@link KnownDialogInputType} can be used interchangeably with DialogInputType,
2243
+ * this enum contains the known values that the service supports.
2244
+ * ### Known values supported by the service
2245
+ * **powerVirtualAgents** \
2246
+ * **azureOpenAI**
2247
+ */
2248
+ export type DialogInputType = string;
1635
2249
  /** Known values of {@link RecordingContentType} that the service accepts. */
1636
2250
  export declare enum KnownRecordingContentType {
1637
2251
  /** Audio */
@@ -1734,30 +2348,149 @@ export declare enum KnownRecordingKind {
1734
2348
  * **TeamsCompliance**: Recording initiated by Teams compliance policy
1735
2349
  */
1736
2350
  export type RecordingKind = string;
1737
- /** Known values of {@link MediaStreamingStatus} that the service accepts. */
1738
- export declare enum KnownMediaStreamingStatus {
1739
- /** MediaStreamingStarted */
1740
- MediaStreamingStarted = "mediaStreamingStarted",
1741
- /** MediaStreamingFailed */
1742
- MediaStreamingFailed = "mediaStreamingFailed",
1743
- /** MediaStreamingStopped */
1744
- MediaStreamingStopped = "mediaStreamingStopped",
2351
+ /** Known values of {@link ChunkEndReason} that the service accepts. */
2352
+ export declare enum KnownChunkEndReason {
2353
+ /** ChunkIsBeingRecorded */
2354
+ ChunkIsBeingRecorded = "chunkIsBeingRecorded",
2355
+ /** SessionEnded */
2356
+ SessionEnded = "sessionEnded",
2357
+ /** ChunkMaximumSizeExceeded */
2358
+ ChunkMaximumSizeExceeded = "chunkMaximumSizeExceeded",
2359
+ /** ChunkMaximumTimeExceeded */
2360
+ ChunkMaximumTimeExceeded = "chunkMaximumTimeExceeded",
2361
+ /** ChunkUploadFailure */
2362
+ ChunkUploadFailure = "chunkUploadFailure"
2363
+ }
2364
+ /**
2365
+ * Defines values for ChunkEndReason. \
2366
+ * {@link KnownChunkEndReason} can be used interchangeably with ChunkEndReason,
2367
+ * this enum contains the known values that the service supports.
2368
+ * ### Known values supported by the service
2369
+ * **chunkIsBeingRecorded** \
2370
+ * **sessionEnded** \
2371
+ * **chunkMaximumSizeExceeded** \
2372
+ * **chunkMaximumTimeExceeded** \
2373
+ * **chunkUploadFailure**
2374
+ */
2375
+ export type ChunkEndReason = string;
2376
+ /** Known values of {@link CallSessionEndReason} that the service accepts. */
2377
+ export declare enum KnownCallSessionEndReason {
2378
+ /** SessionStillOngoing */
2379
+ SessionStillOngoing = "sessionStillOngoing",
2380
+ /** CallEnded */
2381
+ CallEnded = "callEnded",
2382
+ /** InitiatorLeft */
2383
+ InitiatorLeft = "initiatorLeft",
2384
+ /** HandedOverOrTransfered */
2385
+ HandedOverOrTransfered = "handedOverOrTransfered",
2386
+ /** MaximumSessionTimeReached */
2387
+ MaximumSessionTimeReached = "maximumSessionTimeReached",
2388
+ /** CallStartTimeout */
2389
+ CallStartTimeout = "callStartTimeout",
2390
+ /** MediaTimeout */
2391
+ MediaTimeout = "mediaTimeout",
2392
+ /** AudioStreamFailure */
2393
+ AudioStreamFailure = "audioStreamFailure",
2394
+ /** AllInstancesBusy */
2395
+ AllInstancesBusy = "allInstancesBusy",
2396
+ /** TeamsTokenConversionFailed */
2397
+ TeamsTokenConversionFailed = "teamsTokenConversionFailed",
2398
+ /** ReportCallStateFailed */
2399
+ ReportCallStateFailed = "reportCallStateFailed",
2400
+ /** ReportCallStateFailedAndSessionMustBeDiscarded */
2401
+ ReportCallStateFailedAndSessionMustBeDiscarded = "reportCallStateFailedAndSessionMustBeDiscarded",
2402
+ /** CouldNotRejoinCall */
2403
+ CouldNotRejoinCall = "couldNotRejoinCall",
2404
+ /** InvalidBotData */
2405
+ InvalidBotData = "invalidBotData",
2406
+ /** CouldNotStart */
2407
+ CouldNotStart = "couldNotStart",
2408
+ /** AppHostedMediaFailureOutcomeWithError */
2409
+ AppHostedMediaFailureOutcomeWithError = "appHostedMediaFailureOutcomeWithError",
2410
+ /** AppHostedMediaFailureOutcomeGracefully */
2411
+ AppHostedMediaFailureOutcomeGracefully = "appHostedMediaFailureOutcomeGracefully",
2412
+ /** HandedOverDueToMediaTimeout */
2413
+ HandedOverDueToMediaTimeout = "handedOverDueToMediaTimeout",
2414
+ /** HandedOverDueToAudioStreamFailure */
2415
+ HandedOverDueToAudioStreamFailure = "handedOverDueToAudioStreamFailure",
2416
+ /** SpeechRecognitionSessionNonRetriableError */
2417
+ SpeechRecognitionSessionNonRetriableError = "speechRecognitionSessionNonRetriableError",
2418
+ /** SpeechRecognitionSessionRetriableErrorMaxRetryCountReached */
2419
+ SpeechRecognitionSessionRetriableErrorMaxRetryCountReached = "speechRecognitionSessionRetriableErrorMaxRetryCountReached",
2420
+ /** HandedOverDueToChunkCreationFailure */
2421
+ HandedOverDueToChunkCreationFailure = "handedOverDueToChunkCreationFailure",
2422
+ /** ChunkCreationFailed */
2423
+ ChunkCreationFailed = "chunkCreationFailed",
2424
+ /** HandedOverDueToProcessingTimeout */
2425
+ HandedOverDueToProcessingTimeout = "handedOverDueToProcessingTimeout",
2426
+ /** ProcessingTimeout */
2427
+ ProcessingTimeout = "processingTimeout",
2428
+ /** TranscriptObjectCreationFailed */
2429
+ TranscriptObjectCreationFailed = "transcriptObjectCreationFailed"
2430
+ }
2431
+ /**
2432
+ * Defines values for CallSessionEndReason. \
2433
+ * {@link KnownCallSessionEndReason} can be used interchangeably with CallSessionEndReason,
2434
+ * this enum contains the known values that the service supports.
2435
+ * ### Known values supported by the service
2436
+ * **sessionStillOngoing** \
2437
+ * **callEnded** \
2438
+ * **initiatorLeft** \
2439
+ * **handedOverOrTransfered** \
2440
+ * **maximumSessionTimeReached** \
2441
+ * **callStartTimeout** \
2442
+ * **mediaTimeout** \
2443
+ * **audioStreamFailure** \
2444
+ * **allInstancesBusy** \
2445
+ * **teamsTokenConversionFailed** \
2446
+ * **reportCallStateFailed** \
2447
+ * **reportCallStateFailedAndSessionMustBeDiscarded** \
2448
+ * **couldNotRejoinCall** \
2449
+ * **invalidBotData** \
2450
+ * **couldNotStart** \
2451
+ * **appHostedMediaFailureOutcomeWithError** \
2452
+ * **appHostedMediaFailureOutcomeGracefully** \
2453
+ * **handedOverDueToMediaTimeout** \
2454
+ * **handedOverDueToAudioStreamFailure** \
2455
+ * **speechRecognitionSessionNonRetriableError** \
2456
+ * **speechRecognitionSessionRetriableErrorMaxRetryCountReached** \
2457
+ * **handedOverDueToChunkCreationFailure** \
2458
+ * **chunkCreationFailed** \
2459
+ * **handedOverDueToProcessingTimeout** \
2460
+ * **processingTimeout** \
2461
+ * **transcriptObjectCreationFailed**
2462
+ */
2463
+ export type CallSessionEndReason = string;
2464
+ /** Known values of {@link TranscriptionStatus} that the service accepts. */
2465
+ export declare enum KnownTranscriptionStatus {
2466
+ /** TranscriptionStarted */
2467
+ TranscriptionStarted = "transcriptionStarted",
2468
+ /** TranscriptionFailed */
2469
+ TranscriptionFailed = "transcriptionFailed",
2470
+ /** TranscriptionResumed */
2471
+ TranscriptionResumed = "transcriptionResumed",
2472
+ /** TranscriptionUpdated */
2473
+ TranscriptionUpdated = "transcriptionUpdated",
2474
+ /** TranscriptionStopped */
2475
+ TranscriptionStopped = "transcriptionStopped",
1745
2476
  /** UnspecifiedError */
1746
2477
  UnspecifiedError = "unspecifiedError"
1747
2478
  }
1748
2479
  /**
1749
- * Defines values for MediaStreamingStatus. \
1750
- * {@link KnownMediaStreamingStatus} can be used interchangeably with MediaStreamingStatus,
2480
+ * Defines values for TranscriptionStatus. \
2481
+ * {@link KnownTranscriptionStatus} can be used interchangeably with TranscriptionStatus,
1751
2482
  * this enum contains the known values that the service supports.
1752
2483
  * ### Known values supported by the service
1753
- * **mediaStreamingStarted** \
1754
- * **mediaStreamingFailed** \
1755
- * **mediaStreamingStopped** \
2484
+ * **transcriptionStarted** \
2485
+ * **transcriptionFailed** \
2486
+ * **transcriptionResumed** \
2487
+ * **transcriptionUpdated** \
2488
+ * **transcriptionStopped** \
1756
2489
  * **unspecifiedError**
1757
2490
  */
1758
- export type MediaStreamingStatus = string;
1759
- /** Known values of {@link MediaStreamingStatusDetails} that the service accepts. */
1760
- export declare enum KnownMediaStreamingStatusDetails {
2491
+ export type TranscriptionStatus = string;
2492
+ /** Known values of {@link TranscriptionStatusDetails} that the service accepts. */
2493
+ export declare enum KnownTranscriptionStatusDetails {
1761
2494
  /** SubscriptionStarted */
1762
2495
  SubscriptionStarted = "subscriptionStarted",
1763
2496
  /** StreamConnectionReestablished */
@@ -1786,12 +2519,12 @@ export declare enum KnownMediaStreamingStatusDetails {
1786
2519
  Forbidden = "forbidden",
1787
2520
  /** ServiceTimeout */
1788
2521
  ServiceTimeout = "serviceTimeout",
1789
- /** InitialWebSocketConnectionFailed */
1790
- InitialWebSocketConnectionFailed = "initialWebSocketConnectionFailed"
2522
+ /** TranscriptionLocaleUpdated */
2523
+ TranscriptionLocaleUpdated = "transcriptionLocaleUpdated"
1791
2524
  }
1792
2525
  /**
1793
- * Defines values for MediaStreamingStatusDetails. \
1794
- * {@link KnownMediaStreamingStatusDetails} can be used interchangeably with MediaStreamingStatusDetails,
2526
+ * Defines values for TranscriptionStatusDetails. \
2527
+ * {@link KnownTranscriptionStatusDetails} can be used interchangeably with TranscriptionStatusDetails,
1795
2528
  * this enum contains the known values that the service supports.
1796
2529
  * ### Known values supported by the service
1797
2530
  * **subscriptionStarted** \
@@ -1808,39 +2541,33 @@ export declare enum KnownMediaStreamingStatusDetails {
1808
2541
  * **tooManyRequests** \
1809
2542
  * **forbidden** \
1810
2543
  * **serviceTimeout** \
1811
- * **initialWebSocketConnectionFailed**
2544
+ * **transcriptionLocaleUpdated**
1812
2545
  */
1813
- export type MediaStreamingStatusDetails = string;
1814
- /** Known values of {@link TranscriptionStatus} that the service accepts. */
1815
- export declare enum KnownTranscriptionStatus {
1816
- /** TranscriptionStarted */
1817
- TranscriptionStarted = "transcriptionStarted",
1818
- /** TranscriptionFailed */
1819
- TranscriptionFailed = "transcriptionFailed",
1820
- /** TranscriptionResumed */
1821
- TranscriptionResumed = "transcriptionResumed",
1822
- /** TranscriptionUpdated */
1823
- TranscriptionUpdated = "transcriptionUpdated",
1824
- /** TranscriptionStopped */
1825
- TranscriptionStopped = "transcriptionStopped",
2546
+ export type TranscriptionStatusDetails = string;
2547
+ /** Known values of {@link MediaStreamingStatus} that the service accepts. */
2548
+ export declare enum KnownMediaStreamingStatus {
2549
+ /** MediaStreamingStarted */
2550
+ MediaStreamingStarted = "mediaStreamingStarted",
2551
+ /** MediaStreamingFailed */
2552
+ MediaStreamingFailed = "mediaStreamingFailed",
2553
+ /** MediaStreamingStopped */
2554
+ MediaStreamingStopped = "mediaStreamingStopped",
1826
2555
  /** UnspecifiedError */
1827
2556
  UnspecifiedError = "unspecifiedError"
1828
2557
  }
1829
2558
  /**
1830
- * Defines values for TranscriptionStatus. \
1831
- * {@link KnownTranscriptionStatus} can be used interchangeably with TranscriptionStatus,
2559
+ * Defines values for MediaStreamingStatus. \
2560
+ * {@link KnownMediaStreamingStatus} can be used interchangeably with MediaStreamingStatus,
1832
2561
  * this enum contains the known values that the service supports.
1833
2562
  * ### Known values supported by the service
1834
- * **transcriptionStarted** \
1835
- * **transcriptionFailed** \
1836
- * **transcriptionResumed** \
1837
- * **transcriptionUpdated** \
1838
- * **transcriptionStopped** \
2563
+ * **mediaStreamingStarted** \
2564
+ * **mediaStreamingFailed** \
2565
+ * **mediaStreamingStopped** \
1839
2566
  * **unspecifiedError**
1840
2567
  */
1841
- export type TranscriptionStatus = string;
1842
- /** Known values of {@link TranscriptionStatusDetails} that the service accepts. */
1843
- export declare enum KnownTranscriptionStatusDetails {
2568
+ export type MediaStreamingStatus = string;
2569
+ /** Known values of {@link MediaStreamingStatusDetails} that the service accepts. */
2570
+ export declare enum KnownMediaStreamingStatusDetails {
1844
2571
  /** SubscriptionStarted */
1845
2572
  SubscriptionStarted = "subscriptionStarted",
1846
2573
  /** StreamConnectionReestablished */
@@ -1869,12 +2596,12 @@ export declare enum KnownTranscriptionStatusDetails {
1869
2596
  Forbidden = "forbidden",
1870
2597
  /** ServiceTimeout */
1871
2598
  ServiceTimeout = "serviceTimeout",
1872
- /** TranscriptionLocaleUpdated */
1873
- TranscriptionLocaleUpdated = "transcriptionLocaleUpdated"
2599
+ /** InitialWebSocketConnectionFailed */
2600
+ InitialWebSocketConnectionFailed = "initialWebSocketConnectionFailed"
1874
2601
  }
1875
2602
  /**
1876
- * Defines values for TranscriptionStatusDetails. \
1877
- * {@link KnownTranscriptionStatusDetails} can be used interchangeably with TranscriptionStatusDetails,
2603
+ * Defines values for MediaStreamingStatusDetails. \
2604
+ * {@link KnownMediaStreamingStatusDetails} can be used interchangeably with MediaStreamingStatusDetails,
1878
2605
  * this enum contains the known values that the service supports.
1879
2606
  * ### Known values supported by the service
1880
2607
  * **subscriptionStarted** \
@@ -1891,9 +2618,9 @@ export declare enum KnownTranscriptionStatusDetails {
1891
2618
  * **tooManyRequests** \
1892
2619
  * **forbidden** \
1893
2620
  * **serviceTimeout** \
1894
- * **transcriptionLocaleUpdated**
2621
+ * **initialWebSocketConnectionFailed**
1895
2622
  */
1896
- export type TranscriptionStatusDetails = string;
2623
+ export type MediaStreamingStatusDetails = string;
1897
2624
  /** Known values of {@link RecognitionType} that the service accepts. */
1898
2625
  export declare enum KnownRecognitionType {
1899
2626
  /** Dtmf */
@@ -2011,6 +2738,15 @@ export interface CallConnectionMuteOptionalParams extends coreClient.OperationOp
2011
2738
  /** Contains response data for the mute operation. */
2012
2739
  export type CallConnectionMuteResponse = MuteParticipantsResult;
2013
2740
  /** Optional parameters. */
2741
+ export interface CallConnectionUnmuteOptionalParams extends coreClient.OperationOptions {
2742
+ /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */
2743
+ repeatabilityRequestID?: string;
2744
+ /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */
2745
+ repeatabilityFirstSent?: Date;
2746
+ }
2747
+ /** Contains response data for the unmute operation. */
2748
+ export type CallConnectionUnmuteResponse = UnmuteParticipantsResponse;
2749
+ /** Optional parameters. */
2014
2750
  export interface CallConnectionCancelAddParticipantOptionalParams extends coreClient.OperationOptions {
2015
2751
  /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */
2016
2752
  repeatabilityRequestID?: string;
@@ -2020,6 +2756,15 @@ export interface CallConnectionCancelAddParticipantOptionalParams extends coreCl
2020
2756
  /** Contains response data for the cancelAddParticipant operation. */
2021
2757
  export type CallConnectionCancelAddParticipantResponse = CancelAddParticipantResponse;
2022
2758
  /** Optional parameters. */
2759
+ export interface CallConnectionMoveParticipantsOptionalParams extends coreClient.OperationOptions {
2760
+ /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */
2761
+ repeatabilityRequestID?: string;
2762
+ /** If Repeatability-Request-ID header is specified, then Repeatability-First-Sent header must also be specified. The value should be the date and time at which the request was first created, expressed using the IMF-fixdate form of HTTP-date. Example: Sun, 06 Nov 1994 08:49:37 GMT. */
2763
+ repeatabilityFirstSent?: Date;
2764
+ }
2765
+ /** Contains response data for the moveParticipants operation. */
2766
+ export type CallConnectionMoveParticipantsResponse = MoveParticipantsResponse;
2767
+ /** Optional parameters. */
2023
2768
  export interface CallConnectionGetParticipantOptionalParams extends coreClient.OperationOptions {
2024
2769
  }
2025
2770
  /** Contains response data for the getParticipant operation. */
@@ -2039,9 +2784,6 @@ export interface CallMediaStartTranscriptionOptionalParams extends coreClient.Op
2039
2784
  export interface CallMediaStopTranscriptionOptionalParams extends coreClient.OperationOptions {
2040
2785
  }
2041
2786
  /** Optional parameters. */
2042
- export interface CallMediaUpdateTranscriptionOptionalParams extends coreClient.OperationOptions {
2043
- }
2044
- /** Optional parameters. */
2045
2787
  export interface CallMediaCancelAllMediaOperationsOptionalParams extends coreClient.OperationOptions {
2046
2788
  }
2047
2789
  /** Optional parameters. */
@@ -2063,6 +2805,9 @@ export interface CallMediaSendDtmfTonesOptionalParams extends coreClient.Operati
2063
2805
  /** Contains response data for the sendDtmfTones operation. */
2064
2806
  export type CallMediaSendDtmfTonesResponse = SendDtmfTonesResult;
2065
2807
  /** Optional parameters. */
2808
+ export interface CallMediaUpdateTranscriptionOptionalParams extends coreClient.OperationOptions {
2809
+ }
2810
+ /** Optional parameters. */
2066
2811
  export interface CallMediaHoldOptionalParams extends coreClient.OperationOptions {
2067
2812
  }
2068
2813
  /** Optional parameters. */
@@ -2075,6 +2820,21 @@ export interface CallMediaStartMediaStreamingOptionalParams extends coreClient.O
2075
2820
  export interface CallMediaStopMediaStreamingOptionalParams extends coreClient.OperationOptions {
2076
2821
  }
2077
2822
  /** Optional parameters. */
2823
+ export interface CallMediaInterruptAudioAndAnnounceOptionalParams extends coreClient.OperationOptions {
2824
+ }
2825
+ /** Optional parameters. */
2826
+ export interface CallDialogStartDialogOptionalParams extends coreClient.OperationOptions {
2827
+ }
2828
+ /** Contains response data for the startDialog operation. */
2829
+ export type CallDialogStartDialogResponse = DialogStateResponse;
2830
+ /** Optional parameters. */
2831
+ export interface CallDialogStopDialogOptionalParams extends coreClient.OperationOptions {
2832
+ operationCallbackUri?: string;
2833
+ }
2834
+ /** Optional parameters. */
2835
+ export interface CallDialogUpdateDialogOptionalParams extends coreClient.OperationOptions {
2836
+ }
2837
+ /** Optional parameters. */
2078
2838
  export interface CallRecordingStartRecordingOptionalParams extends coreClient.OperationOptions {
2079
2839
  /** If specified, the client directs that the request is repeatable; that is, that the client can make the request multiple times with the same Repeatability-Request-Id and get back an appropriate response without the server executing the request multiple times. The value of the Repeatability-Request-Id is an opaque string representing a client-generated unique identifier for the request. It is a version 4 (random) UUID. */
2080
2840
  repeatabilityRequestID?: string;
@@ -2098,6 +2858,11 @@ export interface CallRecordingPauseRecordingOptionalParams extends coreClient.Op
2098
2858
  export interface CallRecordingResumeRecordingOptionalParams extends coreClient.OperationOptions {
2099
2859
  }
2100
2860
  /** Optional parameters. */
2861
+ export interface CallRecordingGetRecordingResultOptionalParams extends coreClient.OperationOptions {
2862
+ }
2863
+ /** Contains response data for the getRecordingResult operation. */
2864
+ export type CallRecordingGetRecordingResultResponse = RecordingResultResponse;
2865
+ /** Optional parameters. */
2101
2866
  export interface CallAutomationApiClientOptionalParams extends coreClient.ServiceClientOptions {
2102
2867
  /** Api Version */
2103
2868
  apiVersion?: string;