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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (477) hide show
  1. package/README.md +0 -48
  2. package/dist/browser/callAutomationClient.d.ts +0 -8
  3. package/dist/browser/callAutomationClient.d.ts.map +1 -1
  4. package/dist/browser/callAutomationClient.js +87 -141
  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 +22 -54
  8. package/dist/browser/callAutomationEventParser.js.map +1 -1
  9. package/dist/browser/callConnection.d.ts +12 -14
  10. package/dist/browser/callConnection.d.ts.map +1 -1
  11. package/dist/browser/callConnection.js +111 -183
  12. package/dist/browser/callConnection.js.map +1 -1
  13. package/dist/browser/callMedia.d.ts +15 -20
  14. package/dist/browser/callMedia.d.ts.map +1 -1
  15. package/dist/browser/callMedia.js +58 -177
  16. package/dist/browser/callMedia.js.map +1 -1
  17. package/dist/browser/callRecording.d.ts +2 -8
  18. package/dist/browser/callRecording.d.ts.map +1 -1
  19. package/dist/browser/callRecording.js +16 -26
  20. package/dist/browser/callRecording.js.map +1 -1
  21. package/dist/browser/contentDownloader.js +11 -12
  22. package/dist/browser/contentDownloader.js.map +1 -1
  23. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
  24. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  25. package/dist/browser/credential/callAutomationAuthPolicy.js +1 -1
  26. package/dist/browser/credential/callAutomationAuthPolicy.js.map +1 -1
  27. package/dist/browser/credential/cryptoUtils-browser.mjs.map +1 -1
  28. package/dist/browser/credential/cryptoUtils.js +1 -2
  29. package/dist/browser/generated/src/callAutomationApiClient.d.ts +1 -2
  30. package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -1
  31. package/dist/browser/generated/src/callAutomationApiClient.js +14 -6
  32. package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
  33. package/dist/browser/generated/src/models/index.d.ts +534 -1064
  34. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  35. package/dist/browser/generated/src/models/index.js +87 -159
  36. package/dist/browser/generated/src/models/index.js.map +1 -1
  37. package/dist/browser/generated/src/models/mappers.d.ts +58 -86
  38. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  39. package/dist/browser/generated/src/models/mappers.js +1173 -2159
  40. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  41. package/dist/browser/generated/src/models/parameters.d.ts +2 -7
  42. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  43. package/dist/browser/generated/src/models/parameters.js +10 -41
  44. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  45. package/dist/browser/generated/src/operations/callConnection.d.ts +2 -9
  46. package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -1
  47. package/dist/browser/generated/src/operations/callConnection.js +24 -73
  48. package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
  49. package/dist/browser/generated/src/operations/callMedia.d.ts +15 -15
  50. package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
  51. package/dist/browser/generated/src/operations/callMedia.js +51 -50
  52. package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
  53. package/dist/browser/generated/src/operations/callRecording.d.ts +1 -7
  54. package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -1
  55. package/dist/browser/generated/src/operations/callRecording.js +1 -24
  56. package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
  57. package/dist/browser/generated/src/operations/index.d.ts +0 -1
  58. package/dist/browser/generated/src/operations/index.d.ts.map +1 -1
  59. package/dist/browser/generated/src/operations/index.js +0 -1
  60. package/dist/browser/generated/src/operations/index.js.map +1 -1
  61. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
  62. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  63. package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  64. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +15 -15
  65. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  66. package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  67. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
  68. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  69. package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  70. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +0 -1
  71. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  72. package/dist/browser/generated/src/operationsInterfaces/index.js +0 -1
  73. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -1
  74. package/dist/browser/generated/src/pagingHelper.js +2 -4
  75. package/dist/browser/generated/src/pagingHelper.js.map +1 -1
  76. package/dist/browser/index.d.ts +0 -2
  77. package/dist/browser/index.d.ts.map +1 -1
  78. package/dist/browser/index.js +0 -2
  79. package/dist/browser/index.js.map +1 -1
  80. package/dist/browser/models/constants.js +1 -1
  81. package/dist/browser/models/constants.js.map +1 -1
  82. package/dist/browser/models/events.d.ts +136 -195
  83. package/dist/browser/models/events.d.ts.map +1 -1
  84. package/dist/browser/models/events.js.map +1 -1
  85. package/dist/browser/models/models.d.ts +76 -39
  86. package/dist/browser/models/models.d.ts.map +1 -1
  87. package/dist/browser/models/models.js +1 -3
  88. package/dist/browser/models/models.js.map +1 -1
  89. package/dist/browser/models/options.d.ts +64 -30
  90. package/dist/browser/models/options.d.ts.map +1 -1
  91. package/dist/browser/models/options.js.map +1 -1
  92. package/dist/browser/models/responses.d.ts +19 -82
  93. package/dist/browser/models/responses.d.ts.map +1 -1
  94. package/dist/browser/models/responses.js.map +1 -1
  95. package/dist/browser/models/streaming.d.ts +38 -28
  96. package/dist/browser/models/streaming.d.ts.map +1 -1
  97. package/dist/browser/models/streaming.js +28 -57
  98. package/dist/browser/models/streaming.js.map +1 -1
  99. package/dist/browser/streamingData.d.ts.map +1 -1
  100. package/dist/browser/streamingData.js +15 -1
  101. package/dist/browser/streamingData.js.map +1 -1
  102. package/dist/browser/utli/converters.d.ts +1 -1
  103. package/dist/browser/utli/converters.d.ts.map +1 -1
  104. package/dist/browser/utli/converters.js +48 -9
  105. package/dist/browser/utli/converters.js.map +1 -1
  106. package/dist/commonjs/callAutomationClient.d.ts +0 -8
  107. package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
  108. package/dist/commonjs/callAutomationClient.js +85 -139
  109. package/dist/commonjs/callAutomationClient.js.map +1 -1
  110. package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
  111. package/dist/commonjs/callAutomationEventParser.js +21 -53
  112. package/dist/commonjs/callAutomationEventParser.js.map +1 -1
  113. package/dist/commonjs/callConnection.d.ts +12 -14
  114. package/dist/commonjs/callConnection.d.ts.map +1 -1
  115. package/dist/commonjs/callConnection.js +113 -185
  116. package/dist/commonjs/callConnection.js.map +1 -1
  117. package/dist/commonjs/callMedia.d.ts +15 -20
  118. package/dist/commonjs/callMedia.d.ts.map +1 -1
  119. package/dist/commonjs/callMedia.js +66 -185
  120. package/dist/commonjs/callMedia.js.map +1 -1
  121. package/dist/commonjs/callRecording.d.ts +2 -8
  122. package/dist/commonjs/callRecording.d.ts.map +1 -1
  123. package/dist/commonjs/callRecording.js +17 -27
  124. package/dist/commonjs/callRecording.js.map +1 -1
  125. package/dist/commonjs/contentDownloader.js +11 -12
  126. package/dist/commonjs/contentDownloader.js.map +1 -1
  127. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
  128. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  129. package/dist/commonjs/credential/callAutomationAuthPolicy.js +1 -1
  130. package/dist/commonjs/credential/callAutomationAuthPolicy.js.map +1 -1
  131. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +1 -2
  132. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -1
  133. package/dist/commonjs/generated/src/callAutomationApiClient.js +13 -5
  134. package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
  135. package/dist/commonjs/generated/src/models/index.d.ts +534 -1064
  136. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  137. package/dist/commonjs/generated/src/models/index.js +88 -160
  138. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  139. package/dist/commonjs/generated/src/models/mappers.d.ts +58 -86
  140. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  141. package/dist/commonjs/generated/src/models/mappers.js +1176 -2162
  142. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  143. package/dist/commonjs/generated/src/models/parameters.d.ts +2 -7
  144. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  145. package/dist/commonjs/generated/src/models/parameters.js +10 -41
  146. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  147. package/dist/commonjs/generated/src/operations/callConnection.d.ts +2 -9
  148. package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -1
  149. package/dist/commonjs/generated/src/operations/callConnection.js +24 -72
  150. package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
  151. package/dist/commonjs/generated/src/operations/callMedia.d.ts +15 -15
  152. package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
  153. package/dist/commonjs/generated/src/operations/callMedia.js +51 -50
  154. package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
  155. package/dist/commonjs/generated/src/operations/callRecording.d.ts +1 -7
  156. package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -1
  157. package/dist/commonjs/generated/src/operations/callRecording.js +1 -24
  158. package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
  159. package/dist/commonjs/generated/src/operations/index.d.ts +0 -1
  160. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -1
  161. package/dist/commonjs/generated/src/operations/index.js +0 -1
  162. package/dist/commonjs/generated/src/operations/index.js.map +1 -1
  163. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
  164. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  165. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  166. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +15 -15
  167. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  168. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  169. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
  170. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  171. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  172. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +0 -1
  173. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  174. package/dist/commonjs/generated/src/operationsInterfaces/index.js +0 -1
  175. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -1
  176. package/dist/commonjs/generated/src/pagingHelper.js +2 -4
  177. package/dist/commonjs/generated/src/pagingHelper.js.map +1 -1
  178. package/dist/commonjs/index.d.ts +0 -2
  179. package/dist/commonjs/index.d.ts.map +1 -1
  180. package/dist/commonjs/index.js +0 -2
  181. package/dist/commonjs/index.js.map +1 -1
  182. package/dist/commonjs/models/constants.js +1 -1
  183. package/dist/commonjs/models/constants.js.map +1 -1
  184. package/dist/commonjs/models/events.d.ts +136 -195
  185. package/dist/commonjs/models/events.d.ts.map +1 -1
  186. package/dist/commonjs/models/events.js.map +1 -1
  187. package/dist/commonjs/models/models.d.ts +76 -39
  188. package/dist/commonjs/models/models.d.ts.map +1 -1
  189. package/dist/commonjs/models/models.js +2 -21
  190. package/dist/commonjs/models/models.js.map +1 -1
  191. package/dist/commonjs/models/options.d.ts +64 -30
  192. package/dist/commonjs/models/options.d.ts.map +1 -1
  193. package/dist/commonjs/models/options.js.map +1 -1
  194. package/dist/commonjs/models/responses.d.ts +19 -82
  195. package/dist/commonjs/models/responses.d.ts.map +1 -1
  196. package/dist/commonjs/models/responses.js.map +1 -1
  197. package/dist/commonjs/models/streaming.d.ts +38 -28
  198. package/dist/commonjs/models/streaming.d.ts.map +1 -1
  199. package/dist/commonjs/models/streaming.js +31 -59
  200. package/dist/commonjs/models/streaming.js.map +1 -1
  201. package/dist/commonjs/streamingData.d.ts.map +1 -1
  202. package/dist/commonjs/streamingData.js +15 -1
  203. package/dist/commonjs/streamingData.js.map +1 -1
  204. package/dist/commonjs/tsdoc-metadata.json +11 -11
  205. package/dist/commonjs/utli/converters.d.ts +1 -1
  206. package/dist/commonjs/utli/converters.d.ts.map +1 -1
  207. package/dist/commonjs/utli/converters.js +47 -8
  208. package/dist/commonjs/utli/converters.js.map +1 -1
  209. package/dist/esm/callAutomationClient.d.ts +0 -8
  210. package/dist/esm/callAutomationClient.d.ts.map +1 -1
  211. package/dist/esm/callAutomationClient.js +87 -141
  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 +22 -54
  215. package/dist/esm/callAutomationEventParser.js.map +1 -1
  216. package/dist/esm/callConnection.d.ts +12 -14
  217. package/dist/esm/callConnection.d.ts.map +1 -1
  218. package/dist/esm/callConnection.js +111 -183
  219. package/dist/esm/callConnection.js.map +1 -1
  220. package/dist/esm/callMedia.d.ts +15 -20
  221. package/dist/esm/callMedia.d.ts.map +1 -1
  222. package/dist/esm/callMedia.js +58 -177
  223. package/dist/esm/callMedia.js.map +1 -1
  224. package/dist/esm/callRecording.d.ts +2 -8
  225. package/dist/esm/callRecording.d.ts.map +1 -1
  226. package/dist/esm/callRecording.js +16 -26
  227. package/dist/esm/callRecording.js.map +1 -1
  228. package/dist/esm/contentDownloader.js +11 -12
  229. package/dist/esm/contentDownloader.js.map +1 -1
  230. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
  231. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  232. package/dist/esm/credential/callAutomationAuthPolicy.js +1 -1
  233. package/dist/esm/credential/callAutomationAuthPolicy.js.map +1 -1
  234. package/dist/esm/generated/src/callAutomationApiClient.d.ts +1 -2
  235. package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -1
  236. package/dist/esm/generated/src/callAutomationApiClient.js +14 -6
  237. package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
  238. package/dist/esm/generated/src/models/index.d.ts +534 -1064
  239. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  240. package/dist/esm/generated/src/models/index.js +87 -159
  241. package/dist/esm/generated/src/models/index.js.map +1 -1
  242. package/dist/esm/generated/src/models/mappers.d.ts +58 -86
  243. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  244. package/dist/esm/generated/src/models/mappers.js +1173 -2159
  245. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  246. package/dist/esm/generated/src/models/parameters.d.ts +2 -7
  247. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  248. package/dist/esm/generated/src/models/parameters.js +10 -41
  249. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  250. package/dist/esm/generated/src/operations/callConnection.d.ts +2 -9
  251. package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -1
  252. package/dist/esm/generated/src/operations/callConnection.js +24 -73
  253. package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
  254. package/dist/esm/generated/src/operations/callMedia.d.ts +15 -15
  255. package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
  256. package/dist/esm/generated/src/operations/callMedia.js +51 -50
  257. package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
  258. package/dist/esm/generated/src/operations/callRecording.d.ts +1 -7
  259. package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -1
  260. package/dist/esm/generated/src/operations/callRecording.js +1 -24
  261. package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
  262. package/dist/esm/generated/src/operations/index.d.ts +0 -1
  263. package/dist/esm/generated/src/operations/index.d.ts.map +1 -1
  264. package/dist/esm/generated/src/operations/index.js +0 -1
  265. package/dist/esm/generated/src/operations/index.js.map +1 -1
  266. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
  267. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  268. package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  269. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +15 -15
  270. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  271. package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  272. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
  273. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  274. package/dist/esm/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  275. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +0 -1
  276. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  277. package/dist/esm/generated/src/operationsInterfaces/index.js +0 -1
  278. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -1
  279. package/dist/esm/generated/src/pagingHelper.js +2 -4
  280. package/dist/esm/generated/src/pagingHelper.js.map +1 -1
  281. package/dist/esm/index.d.ts +0 -2
  282. package/dist/esm/index.d.ts.map +1 -1
  283. package/dist/esm/index.js +0 -2
  284. package/dist/esm/index.js.map +1 -1
  285. package/dist/esm/models/constants.js +1 -1
  286. package/dist/esm/models/constants.js.map +1 -1
  287. package/dist/esm/models/events.d.ts +136 -195
  288. package/dist/esm/models/events.d.ts.map +1 -1
  289. package/dist/esm/models/events.js.map +1 -1
  290. package/dist/esm/models/models.d.ts +76 -39
  291. package/dist/esm/models/models.d.ts.map +1 -1
  292. package/dist/esm/models/models.js +1 -3
  293. package/dist/esm/models/models.js.map +1 -1
  294. package/dist/esm/models/options.d.ts +64 -30
  295. package/dist/esm/models/options.d.ts.map +1 -1
  296. package/dist/esm/models/options.js.map +1 -1
  297. package/dist/esm/models/responses.d.ts +19 -82
  298. package/dist/esm/models/responses.d.ts.map +1 -1
  299. package/dist/esm/models/responses.js.map +1 -1
  300. package/dist/esm/models/streaming.d.ts +38 -28
  301. package/dist/esm/models/streaming.d.ts.map +1 -1
  302. package/dist/esm/models/streaming.js +28 -57
  303. package/dist/esm/models/streaming.js.map +1 -1
  304. package/dist/esm/streamingData.d.ts.map +1 -1
  305. package/dist/esm/streamingData.js +15 -1
  306. package/dist/esm/streamingData.js.map +1 -1
  307. package/dist/esm/utli/converters.d.ts +1 -1
  308. package/dist/esm/utli/converters.d.ts.map +1 -1
  309. package/dist/esm/utli/converters.js +48 -9
  310. package/dist/esm/utli/converters.js.map +1 -1
  311. package/dist/react-native/callAutomationClient.d.ts +0 -8
  312. package/dist/react-native/callAutomationClient.d.ts.map +1 -1
  313. package/dist/react-native/callAutomationClient.js +87 -141
  314. package/dist/react-native/callAutomationClient.js.map +1 -1
  315. package/dist/react-native/callAutomationEventParser.d.ts.map +1 -1
  316. package/dist/react-native/callAutomationEventParser.js +22 -54
  317. package/dist/react-native/callAutomationEventParser.js.map +1 -1
  318. package/dist/react-native/callConnection.d.ts +12 -14
  319. package/dist/react-native/callConnection.d.ts.map +1 -1
  320. package/dist/react-native/callConnection.js +111 -183
  321. package/dist/react-native/callConnection.js.map +1 -1
  322. package/dist/react-native/callMedia.d.ts +15 -20
  323. package/dist/react-native/callMedia.d.ts.map +1 -1
  324. package/dist/react-native/callMedia.js +58 -177
  325. package/dist/react-native/callMedia.js.map +1 -1
  326. package/dist/react-native/callRecording.d.ts +2 -8
  327. package/dist/react-native/callRecording.d.ts.map +1 -1
  328. package/dist/react-native/callRecording.js +16 -26
  329. package/dist/react-native/callRecording.js.map +1 -1
  330. package/dist/react-native/contentDownloader.js +11 -12
  331. package/dist/react-native/contentDownloader.js.map +1 -1
  332. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
  333. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  334. package/dist/react-native/credential/callAutomationAuthPolicy.js +1 -1
  335. package/dist/react-native/credential/callAutomationAuthPolicy.js.map +1 -1
  336. package/dist/react-native/generated/src/callAutomationApiClient.d.ts +1 -2
  337. package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -1
  338. package/dist/react-native/generated/src/callAutomationApiClient.js +14 -6
  339. package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
  340. package/dist/react-native/generated/src/models/index.d.ts +534 -1064
  341. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  342. package/dist/react-native/generated/src/models/index.js +87 -159
  343. package/dist/react-native/generated/src/models/index.js.map +1 -1
  344. package/dist/react-native/generated/src/models/mappers.d.ts +58 -86
  345. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  346. package/dist/react-native/generated/src/models/mappers.js +1173 -2159
  347. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  348. package/dist/react-native/generated/src/models/parameters.d.ts +2 -7
  349. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  350. package/dist/react-native/generated/src/models/parameters.js +10 -41
  351. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  352. package/dist/react-native/generated/src/operations/callConnection.d.ts +2 -9
  353. package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -1
  354. package/dist/react-native/generated/src/operations/callConnection.js +24 -73
  355. package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
  356. package/dist/react-native/generated/src/operations/callMedia.d.ts +15 -15
  357. package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
  358. package/dist/react-native/generated/src/operations/callMedia.js +51 -50
  359. package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
  360. package/dist/react-native/generated/src/operations/callRecording.d.ts +1 -7
  361. package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -1
  362. package/dist/react-native/generated/src/operations/callRecording.js +1 -24
  363. package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
  364. package/dist/react-native/generated/src/operations/index.d.ts +0 -1
  365. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -1
  366. package/dist/react-native/generated/src/operations/index.js +0 -1
  367. package/dist/react-native/generated/src/operations/index.js.map +1 -1
  368. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
  369. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  370. package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  371. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +15 -15
  372. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  373. package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  374. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
  375. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  376. package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  377. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +0 -1
  378. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  379. package/dist/react-native/generated/src/operationsInterfaces/index.js +0 -1
  380. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -1
  381. package/dist/react-native/generated/src/pagingHelper.js +2 -4
  382. package/dist/react-native/generated/src/pagingHelper.js.map +1 -1
  383. package/dist/react-native/index.d.ts +0 -2
  384. package/dist/react-native/index.d.ts.map +1 -1
  385. package/dist/react-native/index.js +0 -2
  386. package/dist/react-native/index.js.map +1 -1
  387. package/dist/react-native/models/constants.js +1 -1
  388. package/dist/react-native/models/constants.js.map +1 -1
  389. package/dist/react-native/models/events.d.ts +136 -195
  390. package/dist/react-native/models/events.d.ts.map +1 -1
  391. package/dist/react-native/models/events.js.map +1 -1
  392. package/dist/react-native/models/models.d.ts +76 -39
  393. package/dist/react-native/models/models.d.ts.map +1 -1
  394. package/dist/react-native/models/models.js +1 -3
  395. package/dist/react-native/models/models.js.map +1 -1
  396. package/dist/react-native/models/options.d.ts +64 -30
  397. package/dist/react-native/models/options.d.ts.map +1 -1
  398. package/dist/react-native/models/options.js.map +1 -1
  399. package/dist/react-native/models/responses.d.ts +19 -82
  400. package/dist/react-native/models/responses.d.ts.map +1 -1
  401. package/dist/react-native/models/responses.js.map +1 -1
  402. package/dist/react-native/models/streaming.d.ts +38 -28
  403. package/dist/react-native/models/streaming.d.ts.map +1 -1
  404. package/dist/react-native/models/streaming.js +28 -57
  405. package/dist/react-native/models/streaming.js.map +1 -1
  406. package/dist/react-native/streamingData.d.ts.map +1 -1
  407. package/dist/react-native/streamingData.js +15 -1
  408. package/dist/react-native/streamingData.js.map +1 -1
  409. package/dist/react-native/utli/converters.d.ts +1 -1
  410. package/dist/react-native/utli/converters.d.ts.map +1 -1
  411. package/dist/react-native/utli/converters.js +48 -9
  412. package/dist/react-native/utli/converters.js.map +1 -1
  413. package/package.json +35 -36
  414. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
  415. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
  416. package/dist/browser/eventprocessor/callAutomationEventProcessor.js +0 -137
  417. package/dist/browser/eventprocessor/callAutomationEventProcessor.js.map +0 -1
  418. package/dist/browser/eventprocessor/eventResponses.d.ts +0 -134
  419. package/dist/browser/eventprocessor/eventResponses.d.ts.map +0 -1
  420. package/dist/browser/eventprocessor/eventResponses.js +0 -4
  421. package/dist/browser/eventprocessor/eventResponses.js.map +0 -1
  422. package/dist/browser/generated/src/operations/callDialog.d.ts +0 -35
  423. package/dist/browser/generated/src/operations/callDialog.d.ts.map +0 -1
  424. package/dist/browser/generated/src/operations/callDialog.js +0 -111
  425. package/dist/browser/generated/src/operations/callDialog.js.map +0 -1
  426. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
  427. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
  428. package/dist/browser/generated/src/operationsInterfaces/callDialog.js +0 -9
  429. package/dist/browser/generated/src/operationsInterfaces/callDialog.js.map +0 -1
  430. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
  431. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
  432. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js +0 -141
  433. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js.map +0 -1
  434. package/dist/commonjs/eventprocessor/eventResponses.d.ts +0 -134
  435. package/dist/commonjs/eventprocessor/eventResponses.d.ts.map +0 -1
  436. package/dist/commonjs/eventprocessor/eventResponses.js +0 -5
  437. package/dist/commonjs/eventprocessor/eventResponses.js.map +0 -1
  438. package/dist/commonjs/generated/src/operations/callDialog.d.ts +0 -35
  439. package/dist/commonjs/generated/src/operations/callDialog.d.ts.map +0 -1
  440. package/dist/commonjs/generated/src/operations/callDialog.js +0 -116
  441. package/dist/commonjs/generated/src/operations/callDialog.js.map +0 -1
  442. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
  443. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
  444. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js +0 -10
  445. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js.map +0 -1
  446. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
  447. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
  448. package/dist/esm/eventprocessor/callAutomationEventProcessor.js +0 -137
  449. package/dist/esm/eventprocessor/callAutomationEventProcessor.js.map +0 -1
  450. package/dist/esm/eventprocessor/eventResponses.d.ts +0 -134
  451. package/dist/esm/eventprocessor/eventResponses.d.ts.map +0 -1
  452. package/dist/esm/eventprocessor/eventResponses.js +0 -4
  453. package/dist/esm/eventprocessor/eventResponses.js.map +0 -1
  454. package/dist/esm/generated/src/operations/callDialog.d.ts +0 -35
  455. package/dist/esm/generated/src/operations/callDialog.d.ts.map +0 -1
  456. package/dist/esm/generated/src/operations/callDialog.js +0 -111
  457. package/dist/esm/generated/src/operations/callDialog.js.map +0 -1
  458. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
  459. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
  460. package/dist/esm/generated/src/operationsInterfaces/callDialog.js +0 -9
  461. package/dist/esm/generated/src/operationsInterfaces/callDialog.js.map +0 -1
  462. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
  463. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
  464. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js +0 -137
  465. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js.map +0 -1
  466. package/dist/react-native/eventprocessor/eventResponses.d.ts +0 -134
  467. package/dist/react-native/eventprocessor/eventResponses.d.ts.map +0 -1
  468. package/dist/react-native/eventprocessor/eventResponses.js +0 -4
  469. package/dist/react-native/eventprocessor/eventResponses.js.map +0 -1
  470. package/dist/react-native/generated/src/operations/callDialog.d.ts +0 -35
  471. package/dist/react-native/generated/src/operations/callDialog.d.ts.map +0 -1
  472. package/dist/react-native/generated/src/operations/callDialog.js +0 -111
  473. package/dist/react-native/generated/src/operations/callDialog.js.map +0 -1
  474. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
  475. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
  476. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js +0 -9
  477. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js.map +0 -1
@@ -1,6 +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
+ export type MediaStreamingOptionsInternalUnion = MediaStreamingOptionsInternal | WebSocketMediaStreamingOptions;
3
+ export type TranscriptionOptionsInternalUnion = TranscriptionOptionsInternal | WebSocketTranscriptionOptions;
4
4
  /** The request payload for creating the call. */
5
5
  export interface CreateCallRequest {
6
6
  /** The targets of the call. */
@@ -20,14 +20,14 @@ export interface CreateCallRequest {
20
20
  callbackUri: string;
21
21
  /** AI options for the call. */
22
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;
27
23
  /** Media Streaming Options. */
28
- mediaStreamingOptions?: MediaStreamingOptions;
24
+ mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;
29
25
  /** Transcription Options. */
30
- transcriptionOptions?: TranscriptionOptionsInternal;
26
+ transcriptionOptions?: TranscriptionOptionsInternalUnion;
27
+ /** The identifier of the source for creating call with Teams resource account ID. */
28
+ teamsAppSource?: MicrosoftTeamsAppIdentifierModel;
29
+ /** Enables loopback audio functionality for the call. */
30
+ enableLoopbackAudio?: boolean;
31
31
  }
32
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. */
33
33
  export interface CommunicationIdentifierModel {
@@ -91,106 +91,20 @@ export interface TeamsExtensionUserIdentifierModel {
91
91
  export interface CallIntelligenceOptionsInternal {
92
92
  /** The identifier of the Cognitive Service resource assigned to this call. */
93
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
- };
162
94
  }
163
- /** Configuration of Media streaming. */
164
- export interface MediaStreamingOptions {
165
- /** Transport URL for media streaming */
166
- transportUrl: string;
167
- /** The type of transport to be used for media streaming, eg. Websocket */
168
- transportType: MediaStreamingTransportType;
169
- /** Content type to stream, eg. audio */
170
- contentType: MediaStreamingContentType;
171
- /** Audio channel type to stream, eg. unmixed audio, mixed audio */
95
+ /** Options for media streaming. */
96
+ export interface MediaStreamingOptionsInternal {
97
+ /** Polymorphic discriminator, which specifies the different types this object can be */
98
+ transportType: "websocket";
99
+ /** The audio channel type to stream, e.g., unmixed audio, mixed audio. */
172
100
  audioChannelType: MediaStreamingAudioChannelType;
173
- /** Determines if the media streaming should be started immediately after call is answered or not. */
174
- startMediaStreaming?: boolean;
175
- /** A value indicating whether bidirectional streaming is enabled. */
176
- enableBidirectional?: boolean;
177
- /** Specifies the audio format used for encoding, including sample rate and channel type. */
178
- audioFormat?: AudioFormat;
179
101
  }
180
- /** Configuration of live transcription. */
102
+ /** Options for live transcription. */
181
103
  export interface TranscriptionOptionsInternal {
182
- /** Transport URL for live transcription */
183
- transportUrl: string;
184
- /** The type of transport to be used for live transcription, eg. Websocket */
185
- transportType: TranscriptionTransportType;
186
- /** Defines the locale for the data e.g en-CA, en-AU */
187
- locale: string;
188
- /** Endpoint where the custom model was deployed. */
189
- speechModelEndpointId?: string;
190
- /** Determines if the transcription should be started immediately after call is answered or not. */
191
- startTranscription: boolean;
192
- /** Enables intermediate results for the transcribed speech. */
193
- enableIntermediateResults?: boolean;
104
+ /** Polymorphic discriminator, which specifies the different types this object can be */
105
+ transportType: "websocket";
106
+ /** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */
107
+ locale?: string;
194
108
  }
195
109
  /** Properties of a call connection */
196
110
  export interface CallConnectionPropertiesInternal {
@@ -217,10 +131,6 @@ export interface CallConnectionPropertiesInternal {
217
131
  correlationId?: string;
218
132
  /** Identity of the answering entity. Only populated when identity is provided in the request. */
219
133
  answeredBy?: CommunicationUserIdentifierModel;
220
- /** SubscriptionId for media streaming */
221
- mediaSubscriptionId?: string;
222
- /** SubscriptionId for transcription */
223
- dataSubscriptionId?: string;
224
134
  /** The state of media streaming subscription for the call */
225
135
  mediaStreamingSubscription?: MediaStreamingSubscription;
226
136
  /** Transcription Subscription. */
@@ -245,6 +155,8 @@ export interface TranscriptionSubscription {
245
155
  state?: TranscriptionSubscriptionState;
246
156
  /** Subscribed transcription result types. */
247
157
  subscribedResultStates?: TranscriptionResultState[];
158
+ /** Specifies the locale used for transcription, e.g., en-CA or en-AU. */
159
+ locale?: string;
248
160
  }
249
161
  /** The Communication Services error. */
250
162
  export interface CommunicationErrorResponse {
@@ -279,8 +191,6 @@ export interface AnswerCallRequest {
279
191
  incomingCallContext: string;
280
192
  /** The callback uri. */
281
193
  callbackUri: string;
282
- /** Used by customer to send custom calling context to targets when answering On-Behalf-Of call */
283
- customCallingContext?: CustomCallingContextInternal;
284
194
  /** A customer set value used to track the answering of a call. */
285
195
  operationContext?: string;
286
196
  /** AI options for the call. */
@@ -288,9 +198,11 @@ export interface AnswerCallRequest {
288
198
  /** The identifier of the call automation entity which answers the call */
289
199
  answeredBy?: CommunicationUserIdentifierModel;
290
200
  /** Media Streaming Options. */
291
- mediaStreamingOptions?: MediaStreamingOptions;
201
+ mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;
292
202
  /** Transcription Options. */
293
- transcriptionOptions?: TranscriptionOptionsInternal;
203
+ transcriptionOptions?: TranscriptionOptionsInternalUnion;
204
+ /** Enables loopback audio functionality for the call. */
205
+ enableLoopbackAudio?: boolean;
294
206
  }
295
207
  /** The request payload for redirecting the call. */
296
208
  export interface RedirectCallRequest {
@@ -298,8 +210,6 @@ export interface RedirectCallRequest {
298
210
  incomingCallContext: string;
299
211
  /** The target identity to redirect the call to. */
300
212
  target: CommunicationIdentifierModel;
301
- /** Used by customer to send custom calling context to targets */
302
- customCallingContext?: CustomCallingContextInternal;
303
213
  }
304
214
  /** The request payload for rejecting the call. */
305
215
  export interface RejectCallRequest {
@@ -319,9 +229,11 @@ export interface ConnectRequest {
319
229
  /** AI options for the call. */
320
230
  callIntelligenceOptions?: CallIntelligenceOptionsInternal;
321
231
  /** Media Streaming Options. */
322
- mediaStreamingOptions?: MediaStreamingOptions;
232
+ mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;
323
233
  /** Transcription Options. */
324
- transcriptionOptions?: TranscriptionOptionsInternal;
234
+ transcriptionOptions?: TranscriptionOptionsInternalUnion;
235
+ /** Enables loopback audio functionality for the call. */
236
+ enableLoopbackAudio?: boolean;
325
237
  }
326
238
  /** The locator used for joining or taking action on a call */
327
239
  export interface CallLocator {
@@ -352,6 +264,72 @@ export interface TransferToParticipantRequest {
352
264
  /** 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. */
353
265
  sourceCallerIdNumber?: PhoneNumberIdentifierModel;
354
266
  }
267
+ /** The custom calling context which will be sent to the target */
268
+ export interface CustomCallingContextInternal {
269
+ /** Custom calling context VoiP headers */
270
+ voipHeaders?: {
271
+ [propertyName: string]: string;
272
+ };
273
+ /** Custom calling context SIP headers */
274
+ sipHeaders?: {
275
+ [propertyName: string]: string;
276
+ };
277
+ /** Custom calling context TeamsPhoneCallDetails */
278
+ teamsPhoneCallDetails?: TeamsPhoneCallDetailsInternal;
279
+ }
280
+ /** The call details which will be sent to the target */
281
+ export interface TeamsPhoneCallDetailsInternal {
282
+ /** Container for details relating to the original caller of the call */
283
+ teamsPhoneCallerDetails?: TeamsPhoneCallerDetailsInternal;
284
+ /** Container for details relating to the entity responsible for the creation of these call details */
285
+ teamsPhoneSourceDetails?: TeamsPhoneSourceDetailsInternal;
286
+ /** Id to exclusively identify this call session. IVR will use this for their telemetry/reporting. */
287
+ sessionId?: string;
288
+ /** The intent of the call */
289
+ intent?: string;
290
+ /** A very short description (max 48 chars) of the reason for the call. To be displayed in Teams CallNotification */
291
+ callTopic?: string;
292
+ /** A summary of the call thus far. It will be displayed on a side panel in the Teams UI */
293
+ callContext?: string;
294
+ /** Url for fetching the transcript of the call */
295
+ transcriptUrl?: string;
296
+ /** Sentiment of the call thus far */
297
+ callSentiment?: string;
298
+ /** Recommendations for resolving the issue based on the customer's intent and interaction history */
299
+ suggestedActions?: string;
300
+ }
301
+ /** Container for details relating to the original caller of the call */
302
+ export interface TeamsPhoneCallerDetailsInternal {
303
+ /** Caller's ID */
304
+ caller: CommunicationIdentifierModel;
305
+ /** Caller's name */
306
+ name: string;
307
+ /** Caller's phone number */
308
+ phoneNumber: string;
309
+ /** Caller's record ID (ex in CRM) */
310
+ recordId?: string;
311
+ /** Caller's screen pop URL */
312
+ screenPopUrl?: string;
313
+ /** Flag indicating whether the caller was authenticated */
314
+ isAuthenticated?: boolean;
315
+ /** 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 */
316
+ additionalCallerInformation?: {
317
+ [propertyName: string]: string;
318
+ };
319
+ }
320
+ /** Container for details relating to the entity responsible for the creation of these call details */
321
+ export interface TeamsPhoneSourceDetailsInternal {
322
+ /** ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA) */
323
+ source: CommunicationIdentifierModel;
324
+ /** Language of the source entity passing along the call details, passed in the ISO-639 standard */
325
+ language: string;
326
+ /** Status of the source entity passing along the call details */
327
+ status: string;
328
+ /** Intended targets of the source entity passing along the call details */
329
+ intendedTargets?: {
330
+ [propertyName: string]: CommunicationIdentifierModel;
331
+ };
332
+ }
355
333
  /** The response payload for transferring the call. */
356
334
  export interface TransferCallResponse {
357
335
  /** The operation context provided by client. */
@@ -365,6 +343,8 @@ export interface PlayRequest {
365
343
  * Plays to everyone in the call when not provided.
366
344
  */
367
345
  playTo?: CommunicationIdentifierModel[];
346
+ /** If set play can barge into other existing queued-up/currently-processing requests. */
347
+ interruptCallMediaOperation?: boolean;
368
348
  /** Defines options for playing the audio. */
369
349
  playOptions?: PlayOptionsInternal;
370
350
  /** The value to identify context of the operation. */
@@ -418,15 +398,11 @@ export interface SsmlSourceInternal {
418
398
  export interface PlayOptionsInternal {
419
399
  /** The option to play the provided audio source in loop when set to true */
420
400
  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;
425
401
  }
426
402
  export interface StartTranscriptionRequest {
427
- /** Defines Locale for the transcription e,g en-US */
403
+ /** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */
428
404
  locale?: string;
429
- /** Endpoint where the custom model was deployed. */
405
+ /** The ID of the deployed custom model in GUID format. The GUID is generated by Azure Speech Studio, e.g., a259c255-1cdw-4ed7-a693-dd58563b6f6a. */
430
406
  speechModelEndpointId?: string;
431
407
  /** The value to identify context of the operation. */
432
408
  operationContext?: string;
@@ -435,6 +411,28 @@ export interface StartTranscriptionRequest {
435
411
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
436
412
  */
437
413
  operationCallbackUri?: string;
414
+ /** PII redaction configuration options. */
415
+ piiRedactionOptions?: PiiRedactionOptionsInternal;
416
+ /** Indicating if sentiment analysis should be used. */
417
+ enableSentimentAnalysis?: boolean;
418
+ /** List of languages for Language Identification. */
419
+ locales?: string[];
420
+ /** Summarization configuration options. */
421
+ summarizationOptions?: SummarizationOptionsInternal;
422
+ }
423
+ /** PII redaction configuration options. */
424
+ export interface PiiRedactionOptionsInternal {
425
+ /** Value indicating if PII redaction is enabled. */
426
+ enable?: boolean;
427
+ /** Value indicating the PII redaction type to be used. */
428
+ redactionType?: RedactionType;
429
+ }
430
+ /** Configuration options for call summarization. */
431
+ export interface SummarizationOptionsInternal {
432
+ /** Indicating whether end call summary should be enabled. */
433
+ enableEndCallSummary?: boolean;
434
+ /** Locale for summarization (e.g., en-US). */
435
+ locale?: string;
438
436
  }
439
437
  export interface StopTranscriptionRequest {
440
438
  /** The value to identify context of the operation. */
@@ -445,6 +443,36 @@ export interface StopTranscriptionRequest {
445
443
  */
446
444
  operationCallbackUri?: string;
447
445
  }
446
+ export interface UpdateTranscriptionRequest {
447
+ /** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */
448
+ locale?: string;
449
+ /** The ID of the deployed custom model, in GUID format, e.g., a259c255-1cdw-4ed7-a693-dd58563b6f6a. */
450
+ speechModelEndpointId?: string;
451
+ /** The value to identify context of the operation. */
452
+ operationContext?: string;
453
+ /**
454
+ * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
455
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
456
+ */
457
+ operationCallbackUri?: string;
458
+ /** PII redaction configuration options. */
459
+ piiRedactionOptions?: PiiRedactionOptionsInternal;
460
+ /** Indicating if sentiment analysis should be used. */
461
+ enableSentimentAnalysis?: boolean;
462
+ /** Summarization configuration options. */
463
+ summarizationOptions?: SummarizationOptionsInternal;
464
+ }
465
+ export interface SummarizeCallRequest {
466
+ /** The value to identify context of the operation. */
467
+ operationContext?: string;
468
+ /**
469
+ * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
470
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
471
+ */
472
+ operationCallbackUri?: string;
473
+ /** Summarization configuration options. */
474
+ summarizationOptions?: SummarizationOptionsInternal;
475
+ }
448
476
  export interface RecognizeRequest {
449
477
  /** Determines the type of the recognition. */
450
478
  recognizeInputType: RecognizeInputType;
@@ -473,6 +501,10 @@ export interface RecognizeOptions {
473
501
  targetParticipant: CommunicationIdentifierModel;
474
502
  /** Speech language to be recognized, If not set default is en-US */
475
503
  speechLanguage?: string;
504
+ /** Speech languages for language identification and recognition. Example: ["en-us", "fr-fr", "hi-in"] etc.. */
505
+ speechLanguages?: string[];
506
+ /** Value indicating if sentiment analysis should be used. */
507
+ enableSentimentAnalysis?: boolean;
476
508
  /** Endpoint where the custom model was deployed. */
477
509
  speechRecognitionModelEndpointId?: string;
478
510
  /** Defines configurations for DTMF. */
@@ -531,19 +563,6 @@ export interface SendDtmfTonesResult {
531
563
  /** The operation context provided by client. */
532
564
  operationContext?: string;
533
565
  }
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
- }
547
566
  /** The request payload for holding participant from the call. */
548
567
  export interface HoldRequest {
549
568
  /** Participant to be held from the call. */
@@ -567,39 +586,13 @@ export interface UnholdRequest {
567
586
  targetParticipant: CommunicationIdentifierModel;
568
587
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
569
588
  operationContext?: string;
570
- }
571
- export interface StartMediaStreamingRequest {
572
- /**
573
- * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
574
- * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
575
- */
576
- operationCallbackUri?: string;
577
- /** The value to identify context of the operation. */
578
- operationContext?: string;
579
- }
580
- export interface StopMediaStreamingRequest {
581
589
  /**
582
590
  * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
583
591
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
584
592
  */
585
593
  operationCallbackUri?: string;
586
- /** The value to identify context of the operation. */
587
- operationContext?: string;
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
594
  }
600
- export interface StartDialogRequest {
601
- /** Defines the dialog. */
602
- dialog: BaseDialogUnion;
595
+ export interface StartMediaStreamingRequest {
603
596
  /**
604
597
  * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
605
598
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
@@ -608,25 +601,7 @@ export interface StartDialogRequest {
608
601
  /** The value to identify context of the operation. */
609
602
  operationContext?: string;
610
603
  }
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;
604
+ export interface StopMediaStreamingRequest {
630
605
  /**
631
606
  * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
632
607
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
@@ -635,14 +610,6 @@ export interface UpdateDialogRequest {
635
610
  /** The value to identify context of the operation. */
636
611
  operationContext?: string;
637
612
  }
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
- }
646
613
  /** The response payload for getting participants of the call. */
647
614
  export interface GetParticipantsResponse {
648
615
  /** List of the current participants in the call. */
@@ -729,21 +696,6 @@ export interface MuteParticipantsResult {
729
696
  /** The operation context provided by client. */
730
697
  operationContext?: string;
731
698
  }
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
- }
747
699
  /** Request payload for cancelling add participant request. */
748
700
  export interface CancelAddParticipantRequest {
749
701
  /** Invitation ID used to add a participant. */
@@ -790,7 +742,7 @@ export interface MoveParticipantsResponse {
790
742
  export interface StartCallRecordingRequest {
791
743
  /** The call locator. (Only one of callLocator or callConnectionId to be used) */
792
744
  callLocator?: CallLocator;
793
- /** The call connectionId. (Only one of callLocator or callConnectionId to be used) */
745
+ /** The call connection Id. (Only one of callLocator or callConnectionId to be used) */
794
746
  callConnectionId?: string;
795
747
  /** The uri to send notifications to. */
796
748
  recordingStateCallbackUri?: string;
@@ -818,8 +770,6 @@ export interface StartCallRecordingRequest {
818
770
  pauseOnStart?: boolean;
819
771
  /** Optional property to specify location where recording will be stored */
820
772
  recordingStorage?: RecordingStorage;
821
- /** The post processing options for the recording. */
822
- postProcessingOptions?: PostProcessingOptions;
823
773
  }
824
774
  /** Channel affinity for a participant */
825
775
  export interface ChannelAffinity {
@@ -837,204 +787,54 @@ export interface RecordingStorage {
837
787
  /** Uri of a container or a location within a container */
838
788
  recordingDestinationContainerUrl?: string;
839
789
  }
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
- }
859
790
  export interface RecordingStateResponse {
860
791
  recordingId?: string;
861
792
  recordingState?: RecordingState;
862
793
  recordingKind?: RecordingKind;
863
794
  }
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;
795
+ /** The failed to add participants event. */
796
+ export interface AddParticipantFailed {
797
+ /** Call connection ID. */
798
+ callConnectionId?: string;
799
+ /** Server call ID. */
800
+ serverCallId?: string;
801
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
802
+ correlationId?: string;
803
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
804
+ operationContext?: string;
805
+ /** Contains the resulting SIP code, sub-code and message. */
806
+ resultInformation?: ResultInformation;
807
+ /** Participant */
808
+ participant?: CommunicationIdentifierModel;
809
+ }
810
+ export interface ResultInformation {
811
+ /** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */
812
+ code?: number;
813
+ /** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */
814
+ subCode?: number;
815
+ /** Detail message that describes the current result. */
816
+ message?: string;
868
817
  /**
869
- * Container for chunks
870
- * NOTE: This property will not be serialized. It can only be populated by the server.
818
+ * Sip response from SBC. This can be helpful to troubleshoot PSTN call if this result was unexpected.
819
+ * This is only applicable for PSTN calls and will be null if SBC/Carrier does not provide this information.
820
+ * Do not solely rely on this information for troubleshooting, as it may not always be available.
871
821
  */
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;
822
+ sipDetails?: SipDiagnosticInfo;
936
823
  /**
937
- * Dialog ID
938
- * NOTE: This property will not be serialized. It can only be populated by the server.
824
+ * Q850 cause from SBC. This can be helpful to troubleshoot call issues if this result was unexpected.
825
+ * This is only applicable for PSTN calls and will be null if SBC/Carrier does not provide this information.
826
+ * Do not solely rely on this information for troubleshooting, as it may not always be available.
939
827
  */
940
- readonly dialogId?: string;
941
- /** Call connection ID. */
942
- callConnectionId?: string;
943
- /** Server call ID. */
944
- serverCallId?: string;
945
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
946
- correlationId?: string;
947
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
948
- operationContext?: string;
949
- /** Contains the resulting SIP code, sub-code and message. */
950
- resultInformation?: RestResultInformation;
828
+ q850Details?: SipDiagnosticInfo;
951
829
  }
952
- export interface RestResultInformation {
953
- /** Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */
830
+ export interface SipDiagnosticInfo {
831
+ /** Represents the diagnostic code returned by the SIP service, used for identifying specific issues or statuses. */
954
832
  code?: number;
955
- /** Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected. */
956
- subCode?: number;
957
- /** Detail message that describes the current result. */
833
+ /** Message associated with the code for diagnosing. */
958
834
  message?: string;
959
835
  }
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;
968
- /** Call connection ID. */
969
- callConnectionId?: string;
970
- /** Server call ID. */
971
- serverCallId?: string;
972
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
973
- correlationId?: string;
974
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
975
- operationContext?: string;
976
- /** Contains the resulting SIP code, sub-code and message. */
977
- resultInformation?: RestResultInformation;
978
- }
979
- export interface DialogConsent {
980
- /** Determines the type of the dialog. */
981
- dialogInputType?: DialogInputType;
982
- /**
983
- * UserConsent data from the Conversation Conductor
984
- * NOTE: This property will not be serialized. It can only be populated by the server.
985
- */
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;
1002
- }
1003
- export interface UserConsent {
1004
- recording?: number;
1005
- }
1006
- export interface DialogStarted {
1007
- /** Determines the type of the dialog. */
1008
- dialogInputType?: DialogInputType;
1009
- /**
1010
- * Dialog ID
1011
- * NOTE: This property will not be serialized. It can only be populated by the server.
1012
- */
1013
- readonly dialogId?: string;
1014
- /** Call connection ID. */
1015
- callConnectionId?: string;
1016
- /** Server call ID. */
1017
- serverCallId?: string;
1018
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1019
- correlationId?: string;
1020
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1021
- operationContext?: string;
1022
- /** Contains the resulting SIP code, sub-code and message. */
1023
- resultInformation?: RestResultInformation;
1024
- }
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>;
836
+ /** The participants successfully added event. */
837
+ export interface AddParticipantSucceeded {
1038
838
  /** Call connection ID. */
1039
839
  callConnectionId?: string;
1040
840
  /** Server call ID. */
@@ -1044,31 +844,12 @@ export interface DialogHangup {
1044
844
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1045
845
  operationContext?: string;
1046
846
  /** Contains the resulting SIP code, sub-code and message. */
1047
- resultInformation?: RestResultInformation;
847
+ resultInformation?: ResultInformation;
848
+ /** Participant */
849
+ participant?: CommunicationIdentifierModel;
1048
850
  }
1049
- export interface DialogTransfer {
1050
- /** Determines the type of the dialog. */
1051
- dialogInputType?: DialogInputType;
1052
- /**
1053
- * Dialog ID
1054
- * NOTE: This property will not be serialized. It can only be populated by the server.
1055
- */
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>;
851
+ /** The call connected event. */
852
+ export interface CallConnected {
1072
853
  /** Call connection ID. */
1073
854
  callConnectionId?: string;
1074
855
  /** Server call ID. */
@@ -1078,26 +859,10 @@ export interface DialogTransfer {
1078
859
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1079
860
  operationContext?: string;
1080
861
  /** Contains the resulting SIP code, sub-code and message. */
1081
- resultInformation?: RestResultInformation;
862
+ resultInformation?: ResultInformation;
1082
863
  }
1083
- export interface DialogLanguageChange {
1084
- /** Determines the type of the dialog. */
1085
- dialogInputType?: DialogInputType;
1086
- /**
1087
- * Dialog ID
1088
- * NOTE: This property will not be serialized. It can only be populated by the server.
1089
- */
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>;
864
+ /** The call disconnected event. */
865
+ export interface CallDisconnected {
1101
866
  /** Call connection ID. */
1102
867
  callConnectionId?: string;
1103
868
  /** Server call ID. */
@@ -1107,21 +872,10 @@ export interface DialogLanguageChange {
1107
872
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1108
873
  operationContext?: string;
1109
874
  /** Contains the resulting SIP code, sub-code and message. */
1110
- resultInformation?: RestResultInformation;
875
+ resultInformation?: ResultInformation;
1111
876
  }
1112
- export interface DialogSensitivityUpdate {
1113
- /** Determines the type of the dialog. */
1114
- dialogInputType?: DialogInputType;
1115
- /**
1116
- * Dialog ID
1117
- * NOTE: This property will not be serialized. It can only be populated by the server.
1118
- */
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;
877
+ /** The call transfer accepted event. */
878
+ export interface CallTransferAccepted {
1125
879
  /** Call connection ID. */
1126
880
  callConnectionId?: string;
1127
881
  /** Server call ID. */
@@ -1131,21 +885,14 @@ export interface DialogSensitivityUpdate {
1131
885
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1132
886
  operationContext?: string;
1133
887
  /** Contains the resulting SIP code, sub-code and message. */
1134
- resultInformation?: RestResultInformation;
888
+ resultInformation?: ResultInformation;
889
+ /** Target who the call is transferred to. */
890
+ transferTarget?: CommunicationIdentifierModel;
891
+ /** the participant who is being transferred away. */
892
+ transferee?: CommunicationIdentifierModel;
1135
893
  }
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>;
894
+ /** The call transfer failed event. */
895
+ export interface CallTransferFailed {
1149
896
  /** Call connection ID. */
1150
897
  callConnectionId?: string;
1151
898
  /** Server call ID. */
@@ -1155,34 +902,25 @@ export interface DialogUpdated {
1155
902
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1156
903
  operationContext?: string;
1157
904
  /** Contains the resulting SIP code, sub-code and message. */
1158
- resultInformation?: RestResultInformation;
905
+ resultInformation?: ResultInformation;
1159
906
  }
1160
- export interface TranscriptionUpdate {
1161
- transcriptionStatus?: TranscriptionStatus;
1162
- transcriptionStatusDetails?: TranscriptionStatusDetails;
1163
- }
1164
- export interface MediaStreamingUpdate {
1165
- contentType?: string;
1166
- mediaStreamingStatus?: MediaStreamingStatus;
1167
- mediaStreamingStatusDetails?: MediaStreamingStatusDetails;
1168
- }
1169
- /** The participants successfully added event. */
1170
- export interface RestAddParticipantSucceeded {
907
+ /** The participants updated in a call event. */
908
+ export interface ParticipantsUpdated {
1171
909
  /** Call connection ID. */
1172
910
  callConnectionId?: string;
1173
911
  /** Server call ID. */
1174
912
  serverCallId?: string;
1175
913
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1176
914
  correlationId?: string;
1177
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1178
- operationContext?: string;
915
+ /** The Sequence Number of the event */
916
+ sequenceNumber?: number;
917
+ /** The list of participants in the call. */
918
+ participants?: CallParticipantInternal[];
1179
919
  /** Contains the resulting SIP code, sub-code and message. */
1180
- resultInformation?: RestResultInformation;
1181
- /** Participant */
1182
- participant?: CommunicationIdentifierModel;
920
+ resultInformation?: ResultInformation;
1183
921
  }
1184
- /** The failed to add participants event. */
1185
- export interface RestAddParticipantFailed {
922
+ /** The participant removed event. */
923
+ export interface RemoveParticipantSucceeded {
1186
924
  /** Call connection ID. */
1187
925
  callConnectionId?: string;
1188
926
  /** Server call ID. */
@@ -1192,14 +930,12 @@ export interface RestAddParticipantFailed {
1192
930
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1193
931
  operationContext?: string;
1194
932
  /** Contains the resulting SIP code, sub-code and message. */
1195
- resultInformation?: RestResultInformation;
933
+ resultInformation?: ResultInformation;
1196
934
  /** Participant */
1197
935
  participant?: CommunicationIdentifierModel;
1198
936
  }
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;
937
+ /** The failed to remove participant event. */
938
+ export interface RemoveParticipantFailed {
1203
939
  /** Call connection ID. */
1204
940
  callConnectionId?: string;
1205
941
  /** Server call ID. */
@@ -1209,14 +945,12 @@ export interface RestMoveParticipantSucceeded {
1209
945
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1210
946
  operationContext?: string;
1211
947
  /** Contains the resulting SIP code, sub-code and message. */
1212
- resultInformation?: RestResultInformation;
948
+ resultInformation?: ResultInformation;
1213
949
  /** Participant */
1214
950
  participant?: CommunicationIdentifierModel;
1215
951
  }
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;
952
+ /** Successful cancel add participant event. */
953
+ export interface CancelAddParticipantSucceeded {
1220
954
  /** Call connection ID. */
1221
955
  callConnectionId?: string;
1222
956
  /** Server call ID. */
@@ -1225,13 +959,13 @@ export interface RestMoveParticipantFailed {
1225
959
  correlationId?: string;
1226
960
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1227
961
  operationContext?: string;
962
+ /** Invitation ID used to cancel the request. */
963
+ invitationId?: string;
1228
964
  /** Contains the resulting SIP code, sub-code and message. */
1229
- resultInformation?: RestResultInformation;
1230
- /** Participant */
1231
- participant?: CommunicationIdentifierModel;
965
+ resultInformation?: ResultInformation;
1232
966
  }
1233
- /** The participant removed event. */
1234
- export interface RestRemoveParticipantSucceeded {
967
+ /** Failed cancel add participant event. */
968
+ export interface CancelAddParticipantFailed {
1235
969
  /** Call connection ID. */
1236
970
  callConnectionId?: string;
1237
971
  /** Server call ID. */
@@ -1241,12 +975,12 @@ export interface RestRemoveParticipantSucceeded {
1241
975
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1242
976
  operationContext?: string;
1243
977
  /** Contains the resulting SIP code, sub-code and message. */
1244
- resultInformation?: RestResultInformation;
1245
- /** Participant */
1246
- participant?: CommunicationIdentifierModel;
978
+ resultInformation?: ResultInformation;
979
+ /** Invitation ID used to cancel the request. */
980
+ invitationId?: string;
1247
981
  }
1248
- /** The failed to remove participant event. */
1249
- export interface RestRemoveParticipantFailed {
982
+ /** The failed to answer call event. */
983
+ export interface AnswerFailed {
1250
984
  /** Call connection ID. */
1251
985
  callConnectionId?: string;
1252
986
  /** Server call ID. */
@@ -1256,12 +990,10 @@ export interface RestRemoveParticipantFailed {
1256
990
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1257
991
  operationContext?: string;
1258
992
  /** Contains the resulting SIP code, sub-code and message. */
1259
- resultInformation?: RestResultInformation;
1260
- /** Participant */
1261
- participant?: CommunicationIdentifierModel;
993
+ resultInformation?: ResultInformation;
1262
994
  }
1263
- /** The call connected event. */
1264
- export interface RestCallConnected {
995
+ /** The create call failed event. */
996
+ export interface CreateCallFailed {
1265
997
  /** Call connection ID. */
1266
998
  callConnectionId?: string;
1267
999
  /** Server call ID. */
@@ -1271,10 +1003,10 @@ export interface RestCallConnected {
1271
1003
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1272
1004
  operationContext?: string;
1273
1005
  /** Contains the resulting SIP code, sub-code and message. */
1274
- resultInformation?: RestResultInformation;
1006
+ resultInformation?: ResultInformation;
1275
1007
  }
1276
- /** The call disconnected event. */
1277
- export interface RestCallDisconnected {
1008
+ /** The ConnectFailed event. */
1009
+ export interface ConnectFailed {
1278
1010
  /** Call connection ID. */
1279
1011
  callConnectionId?: string;
1280
1012
  /** Server call ID. */
@@ -1284,10 +1016,12 @@ export interface RestCallDisconnected {
1284
1016
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1285
1017
  operationContext?: string;
1286
1018
  /** Contains the resulting SIP code, sub-code and message. */
1287
- resultInformation?: RestResultInformation;
1019
+ resultInformation?: ResultInformation;
1288
1020
  }
1289
- /** The call transfer accepted event. */
1290
- export interface RestCallTransferAccepted {
1021
+ /** Moving the participant successfully event. */
1022
+ export interface MoveParticipantSucceeded {
1023
+ /** The CallConnectionId for the call you want to move the participant from */
1024
+ fromCall?: string;
1291
1025
  /** Call connection ID. */
1292
1026
  callConnectionId?: string;
1293
1027
  /** Server call ID. */
@@ -1297,14 +1031,14 @@ export interface RestCallTransferAccepted {
1297
1031
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1298
1032
  operationContext?: string;
1299
1033
  /** Contains the resulting SIP code, sub-code and message. */
1300
- resultInformation?: RestResultInformation;
1301
- /** Target who the call is transferred to. */
1302
- transferTarget?: CommunicationIdentifierModel;
1303
- /** the participant who is being transferred away. */
1304
- transferee?: CommunicationIdentifierModel;
1034
+ resultInformation?: ResultInformation;
1035
+ /** Participant */
1036
+ participant?: CommunicationIdentifierModel;
1305
1037
  }
1306
- /** The call transfer failed event. */
1307
- export interface RestCallTransferFailed {
1038
+ /** Moving the participant failed event. */
1039
+ export interface MoveParticipantFailed {
1040
+ /** The CallConnectionId for the call you want to move the participant from */
1041
+ fromCall?: string;
1308
1042
  /** Call connection ID. */
1309
1043
  callConnectionId?: string;
1310
1044
  /** Server call ID. */
@@ -1314,9 +1048,11 @@ export interface RestCallTransferFailed {
1314
1048
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1315
1049
  operationContext?: string;
1316
1050
  /** Contains the resulting SIP code, sub-code and message. */
1317
- resultInformation?: RestResultInformation;
1051
+ resultInformation?: ResultInformation;
1052
+ /** Participant */
1053
+ participant?: CommunicationIdentifierModel;
1318
1054
  }
1319
- export interface RestRecordingStateChanged {
1055
+ export interface RecordingStateChanged {
1320
1056
  /** Call connection ID. */
1321
1057
  callConnectionId?: string;
1322
1058
  /** Server call ID. */
@@ -1336,24 +1072,22 @@ export interface RestRecordingStateChanged {
1336
1072
  readonly startDateTime?: Date;
1337
1073
  recordingKind?: RecordingKind;
1338
1074
  /** Contains the resulting SIP code, sub-code and message. */
1339
- resultInformation?: RestResultInformation;
1075
+ resultInformation?: ResultInformation;
1340
1076
  }
1341
- /** The participants updated in a call event. */
1342
- export interface RestParticipantsUpdated {
1077
+ /** Play started event. */
1078
+ export interface PlayStarted {
1343
1079
  /** Call connection ID. */
1344
1080
  callConnectionId?: string;
1345
1081
  /** Server call ID. */
1346
1082
  serverCallId?: string;
1347
1083
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1348
1084
  correlationId?: string;
1349
- /** The Sequence Number of the event */
1350
- sequenceNumber?: number;
1351
- /** The list of participants in the call. */
1352
- participants?: CallParticipantInternal[];
1085
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1086
+ operationContext?: string;
1353
1087
  /** Contains the resulting SIP code, sub-code and message. */
1354
- resultInformation?: RestResultInformation;
1088
+ resultInformation?: ResultInformation;
1355
1089
  }
1356
- export interface RestPlayCompleted {
1090
+ export interface PlayCompleted {
1357
1091
  /** Call connection ID. */
1358
1092
  callConnectionId?: string;
1359
1093
  /** Server call ID. */
@@ -1363,9 +1097,9 @@ export interface RestPlayCompleted {
1363
1097
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1364
1098
  operationContext?: string;
1365
1099
  /** Contains the resulting SIP code, sub-code and message. */
1366
- resultInformation?: RestResultInformation;
1100
+ resultInformation?: ResultInformation;
1367
1101
  }
1368
- export interface RestPlayFailed {
1102
+ export interface PlayFailed {
1369
1103
  /** Call connection ID. */
1370
1104
  callConnectionId?: string;
1371
1105
  /** Server call ID. */
@@ -1375,11 +1109,11 @@ export interface RestPlayFailed {
1375
1109
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1376
1110
  operationContext?: string;
1377
1111
  /** Contains the resulting SIP code, sub-code and message. */
1378
- resultInformation?: RestResultInformation;
1112
+ resultInformation?: ResultInformation;
1379
1113
  /** Contains the index of the failed play source. */
1380
1114
  failedPlaySourceIndex?: number;
1381
1115
  }
1382
- export interface RestPlayCanceled {
1116
+ export interface PlayCanceled {
1383
1117
  /** Call connection ID. */
1384
1118
  callConnectionId?: string;
1385
1119
  /** Server call ID. */
@@ -1389,9 +1123,9 @@ export interface RestPlayCanceled {
1389
1123
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1390
1124
  operationContext?: string;
1391
1125
  /** Contains the resulting SIP code, sub-code and message. */
1392
- resultInformation?: RestResultInformation;
1126
+ resultInformation?: ResultInformation;
1393
1127
  }
1394
- export interface RestRecognizeCompleted {
1128
+ export interface RecognizeCompleted {
1395
1129
  /** Call connection ID. */
1396
1130
  callConnectionId?: string;
1397
1131
  /** Server call ID. */
@@ -1401,7 +1135,7 @@ export interface RestRecognizeCompleted {
1401
1135
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1402
1136
  operationContext?: string;
1403
1137
  /** Contains the resulting SIP code, sub-code and message. */
1404
- resultInformation?: RestResultInformation;
1138
+ resultInformation?: ResultInformation;
1405
1139
  /**
1406
1140
  * Determines the sub-type of the recognize operation.
1407
1141
  * In case of cancel operation the this field is not set and is returned empty
@@ -1417,115 +1151,41 @@ export interface RestRecognizeCompleted {
1417
1151
  */
1418
1152
  readonly speechResult?: SpeechResult;
1419
1153
  }
1420
- export interface RestRecognizeFailed {
1421
- /** Call connection ID. */
1422
- callConnectionId?: string;
1423
- /** Server call ID. */
1424
- serverCallId?: string;
1425
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1426
- correlationId?: string;
1427
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1428
- operationContext?: string;
1429
- /** Contains the resulting SIP code, sub-code and message. */
1430
- resultInformation?: RestResultInformation;
1431
- /** Contains the index of the failed play source. */
1432
- failedPlaySourceIndex?: number;
1433
- }
1434
- export interface RestRecognizeCanceled {
1435
- /** Call connection ID. */
1436
- callConnectionId?: string;
1437
- /** Server call ID. */
1438
- serverCallId?: string;
1439
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1440
- correlationId?: string;
1441
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1442
- operationContext?: string;
1443
- /** Contains the resulting SIP code, sub-code and message. */
1444
- resultInformation?: RestResultInformation;
1154
+ export interface DtmfResult {
1155
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
1156
+ readonly tones?: Tone[];
1445
1157
  }
1446
- export interface RestContinuousDtmfRecognitionToneReceived {
1158
+ export interface ChoiceResult {
1159
+ /** Label is the primary identifier for the choice detected */
1160
+ label?: string;
1447
1161
  /**
1448
- * The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.
1449
- * NOTE: This property will not be serialized. It can only be populated by the server.
1162
+ * Phrases are set to the value if choice is selected via phrase detection.
1163
+ * If Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null
1450
1164
  */
1451
- readonly sequenceId?: number;
1452
- tone?: Tone;
1453
- /** Call connection ID. */
1454
- callConnectionId?: string;
1455
- /** Server call ID. */
1456
- serverCallId?: string;
1457
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1458
- correlationId?: string;
1459
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1460
- operationContext?: string;
1461
- /** Contains the resulting SIP code, sub-code and message. */
1462
- resultInformation?: RestResultInformation;
1463
- }
1464
- export interface RestContinuousDtmfRecognitionToneFailed {
1465
- /** Call connection ID. */
1466
- callConnectionId?: string;
1467
- /** Server call ID. */
1468
- serverCallId?: string;
1469
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1470
- correlationId?: string;
1471
- /** Contains the resulting SIP code, sub-code and message. */
1472
- resultInformation?: RestResultInformation;
1473
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1474
- operationContext?: string;
1475
- }
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;
1165
+ recognizedPhrase?: string;
1166
+ /** The confidence level of the recognized speech, if available, ranges from 0.0 to 1.0 */
1167
+ confidence?: number;
1168
+ /** The identified language for a spoken phrase. */
1169
+ languageIdentified?: string;
1170
+ /** Gets or sets the sentiment analysis result. */
1171
+ sentimentAnalysisResult?: SentimentAnalysisResult;
1499
1172
  }
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;
1173
+ export interface SentimentAnalysisResult {
1174
+ /** Gets or sets the value of the sentiment detected (positive, negative, neutral, mixed). */
1175
+ sentiment?: string;
1511
1176
  }
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;
1177
+ /** The speech status as a result. */
1178
+ export interface SpeechResult {
1179
+ /** The recognized speech in string. */
1180
+ speech?: string;
1181
+ /** The confidence level of the recognized speech, if available, ranges from 0.0 to 1.0. */
1182
+ confidence?: number;
1183
+ /** The identified language. */
1184
+ languageIdentified?: string;
1185
+ /** Gets or sets the sentiment analysis result. */
1186
+ sentimentAnalysisResult?: SentimentAnalysisResult;
1526
1187
  }
1527
- /** Failed cancel add participant event. */
1528
- export interface RestCancelAddParticipantFailed {
1188
+ export interface RecognizeFailed {
1529
1189
  /** Call connection ID. */
1530
1190
  callConnectionId?: string;
1531
1191
  /** Server call ID. */
@@ -1535,16 +1195,11 @@ export interface RestCancelAddParticipantFailed {
1535
1195
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1536
1196
  operationContext?: string;
1537
1197
  /** Contains the resulting SIP code, sub-code and message. */
1538
- resultInformation?: RestResultInformation;
1539
- /** Invitation ID used to cancel the request. */
1540
- invitationId?: string;
1198
+ resultInformation?: ResultInformation;
1199
+ /** Contains the index of the failed play source. */
1200
+ failedPlaySourceIndex?: number;
1541
1201
  }
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;
1202
+ export interface RecognizeCanceled {
1548
1203
  /** Call connection ID. */
1549
1204
  callConnectionId?: string;
1550
1205
  /** Server call ID. */
@@ -1554,61 +1209,27 @@ export interface RestTranscriptionStarted {
1554
1209
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1555
1210
  operationContext?: string;
1556
1211
  /** Contains the resulting SIP code, sub-code and message. */
1557
- resultInformation?: RestResultInformation;
1212
+ resultInformation?: ResultInformation;
1558
1213
  }
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;
1214
+ export interface ContinuousDtmfRecognitionToneFailed {
1565
1215
  /** Call connection ID. */
1566
1216
  callConnectionId?: string;
1567
1217
  /** Server call ID. */
1568
1218
  serverCallId?: string;
1569
1219
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1570
1220
  correlationId?: string;
1571
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1572
- operationContext?: string;
1573
1221
  /** 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;
1222
+ resultInformation?: ResultInformation;
1588
1223
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1589
1224
  operationContext?: string;
1590
- /** Contains the resulting SIP code, sub-code and message. */
1591
- resultInformation?: RestResultInformation;
1592
1225
  }
1593
- export interface RestTranscriptionFailed {
1226
+ export interface ContinuousDtmfRecognitionToneReceived {
1594
1227
  /**
1595
- * Defines the result for TranscriptionUpdate with the current status and the details about the status
1228
+ * The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.
1596
1229
  * NOTE: This property will not be serialized. It can only be populated by the server.
1597
1230
  */
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 {
1231
+ readonly sequenceId?: number;
1232
+ tone?: Tone;
1612
1233
  /** Call connection ID. */
1613
1234
  callConnectionId?: string;
1614
1235
  /** Server call ID. */
@@ -1618,10 +1239,9 @@ export interface RestCreateCallFailed {
1618
1239
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1619
1240
  operationContext?: string;
1620
1241
  /** Contains the resulting SIP code, sub-code and message. */
1621
- resultInformation?: RestResultInformation;
1242
+ resultInformation?: ResultInformation;
1622
1243
  }
1623
- /** The failed to answer call event. */
1624
- export interface RestAnswerFailed {
1244
+ export interface ContinuousDtmfRecognitionStopped {
1625
1245
  /** Call connection ID. */
1626
1246
  callConnectionId?: string;
1627
1247
  /** Server call ID. */
@@ -1631,10 +1251,9 @@ export interface RestAnswerFailed {
1631
1251
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1632
1252
  operationContext?: string;
1633
1253
  /** Contains the resulting SIP code, sub-code and message. */
1634
- resultInformation?: RestResultInformation;
1254
+ resultInformation?: ResultInformation;
1635
1255
  }
1636
- /** Hold Failed event. */
1637
- export interface RestHoldFailed {
1256
+ export interface SendDtmfTonesCompleted {
1638
1257
  /** Call connection ID. */
1639
1258
  callConnectionId?: string;
1640
1259
  /** Server call ID. */
@@ -1644,53 +1263,9 @@ export interface RestHoldFailed {
1644
1263
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1645
1264
  operationContext?: string;
1646
1265
  /** Contains the resulting SIP code, sub-code and message. */
1647
- resultInformation?: RestResultInformation;
1266
+ resultInformation?: ResultInformation;
1648
1267
  }
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 {
1268
+ export interface SendDtmfTonesFailed {
1694
1269
  /** Call connection ID. */
1695
1270
  callConnectionId?: string;
1696
1271
  /** Server call ID. */
@@ -1700,9 +1275,9 @@ export interface RestConnectFailed {
1700
1275
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1701
1276
  operationContext?: string;
1702
1277
  /** Contains the resulting SIP code, sub-code and message. */
1703
- resultInformation?: RestResultInformation;
1278
+ resultInformation?: ResultInformation;
1704
1279
  }
1705
- export interface RestMediaStreamingStopped {
1280
+ export interface MediaStreamingFailed {
1706
1281
  /**
1707
1282
  * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1708
1283
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1717,9 +1292,14 @@ export interface RestMediaStreamingStopped {
1717
1292
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1718
1293
  operationContext?: string;
1719
1294
  /** Contains the resulting SIP code, sub-code and message. */
1720
- resultInformation?: RestResultInformation;
1295
+ resultInformation?: ResultInformation;
1296
+ }
1297
+ export interface MediaStreamingUpdate {
1298
+ contentType?: string;
1299
+ mediaStreamingStatus?: MediaStreamingStatus;
1300
+ mediaStreamingStatusDetails?: MediaStreamingStatusDetails;
1721
1301
  }
1722
- export interface RestMediaStreamingStarted {
1302
+ export interface MediaStreamingStarted {
1723
1303
  /**
1724
1304
  * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1725
1305
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1734,9 +1314,9 @@ export interface RestMediaStreamingStarted {
1734
1314
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1735
1315
  operationContext?: string;
1736
1316
  /** Contains the resulting SIP code, sub-code and message. */
1737
- resultInformation?: RestResultInformation;
1317
+ resultInformation?: ResultInformation;
1738
1318
  }
1739
- export interface RestMediaStreamingFailed {
1319
+ export interface MediaStreamingStopped {
1740
1320
  /**
1741
1321
  * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1742
1322
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -1751,21 +1331,9 @@ export interface RestMediaStreamingFailed {
1751
1331
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1752
1332
  operationContext?: string;
1753
1333
  /** Contains the resulting SIP code, sub-code and message. */
1754
- resultInformation?: RestResultInformation;
1334
+ resultInformation?: ResultInformation;
1755
1335
  }
1756
- export interface RestStartRecordingFailed {
1757
- /** Call connection ID. */
1758
- callConnectionId?: string;
1759
- /** Correlation ID for event to call correlation. */
1760
- correlationId?: string;
1761
- /**
1762
- * The call recording id
1763
- * NOTE: This property will not be serialized. It can only be populated by the server.
1764
- */
1765
- readonly recordingId?: string;
1766
- }
1767
- /** Play started event. */
1768
- export interface RestPlayStarted {
1336
+ export interface HoldFailed {
1769
1337
  /** Call connection ID. */
1770
1338
  callConnectionId?: string;
1771
1339
  /** Server call ID. */
@@ -1775,10 +1343,14 @@ export interface RestPlayStarted {
1775
1343
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1776
1344
  operationContext?: string;
1777
1345
  /** Contains the resulting SIP code, sub-code and message. */
1778
- resultInformation?: RestResultInformation;
1346
+ resultInformation?: ResultInformation;
1779
1347
  }
1780
- /** Play Paused event. */
1781
- export interface RestPlayPaused {
1348
+ export interface StartRecordingFailed {
1349
+ /**
1350
+ * The call recording Id.
1351
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1352
+ */
1353
+ readonly recordingId?: string;
1782
1354
  /** Call connection ID. */
1783
1355
  callConnectionId?: string;
1784
1356
  /** Server call ID. */
@@ -1788,10 +1360,14 @@ export interface RestPlayPaused {
1788
1360
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1789
1361
  operationContext?: string;
1790
1362
  /** Contains the resulting SIP code, sub-code and message. */
1791
- resultInformation?: RestResultInformation;
1363
+ resultInformation?: ResultInformation;
1792
1364
  }
1793
- /** Play Resumed event. */
1794
- export interface RestPlayResumed {
1365
+ export interface TranscriptionFailed {
1366
+ /**
1367
+ * Defines the result for TranscriptionUpdate with the current status and the details about the status
1368
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1369
+ */
1370
+ readonly transcriptionUpdate?: TranscriptionUpdate;
1795
1371
  /** Call connection ID. */
1796
1372
  callConnectionId?: string;
1797
1373
  /** Server call ID. */
@@ -1801,10 +1377,20 @@ export interface RestPlayResumed {
1801
1377
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1802
1378
  operationContext?: string;
1803
1379
  /** Contains the resulting SIP code, sub-code and message. */
1804
- resultInformation?: RestResultInformation;
1380
+ resultInformation?: ResultInformation;
1381
+ }
1382
+ export interface TranscriptionUpdate {
1383
+ transcriptionStatus?: TranscriptionStatus;
1384
+ transcriptionStatusDetails?: TranscriptionStatusDetails;
1385
+ /** Optional message providing additional context about the transcription update. */
1386
+ transcriptionMessage?: string;
1805
1387
  }
1806
- /** Hold Audio Started event. */
1807
- export interface RestHoldAudioStarted {
1388
+ export interface TranscriptionStarted {
1389
+ /**
1390
+ * Defines the result for TranscriptionUpdate with the current status and the details about the status
1391
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1392
+ */
1393
+ readonly transcriptionUpdate?: TranscriptionUpdate;
1808
1394
  /** Call connection ID. */
1809
1395
  callConnectionId?: string;
1810
1396
  /** Server call ID. */
@@ -1814,10 +1400,14 @@ export interface RestHoldAudioStarted {
1814
1400
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1815
1401
  operationContext?: string;
1816
1402
  /** Contains the resulting SIP code, sub-code and message. */
1817
- resultInformation?: RestResultInformation;
1403
+ resultInformation?: ResultInformation;
1818
1404
  }
1819
- /** Hold Audio Paused event. */
1820
- export interface RestHoldAudioPaused {
1405
+ export interface TranscriptionStopped {
1406
+ /**
1407
+ * Defines the result for TranscriptionUpdate with the current status and the details about the status
1408
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1409
+ */
1410
+ readonly transcriptionUpdate?: TranscriptionUpdate;
1821
1411
  /** Call connection ID. */
1822
1412
  callConnectionId?: string;
1823
1413
  /** Server call ID. */
@@ -1827,10 +1417,14 @@ export interface RestHoldAudioPaused {
1827
1417
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1828
1418
  operationContext?: string;
1829
1419
  /** Contains the resulting SIP code, sub-code and message. */
1830
- resultInformation?: RestResultInformation;
1420
+ resultInformation?: ResultInformation;
1831
1421
  }
1832
- /** Hold Audio Resumed event. */
1833
- export interface RestHoldAudioResumed {
1422
+ export interface TranscriptionUpdated {
1423
+ /**
1424
+ * Defines the result for TranscriptionUpdate with the current status and the details about the status
1425
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1426
+ */
1427
+ readonly transcriptionUpdate?: TranscriptionUpdate;
1834
1428
  /** Call connection ID. */
1835
1429
  callConnectionId?: string;
1836
1430
  /** Server call ID. */
@@ -1840,10 +1434,14 @@ export interface RestHoldAudioResumed {
1840
1434
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1841
1435
  operationContext?: string;
1842
1436
  /** Contains the resulting SIP code, sub-code and message. */
1843
- resultInformation?: RestResultInformation;
1437
+ resultInformation?: ResultInformation;
1844
1438
  }
1845
- /** Hold Audio Completed event. */
1846
- export interface RestHoldAudioCompleted {
1439
+ export interface TranscriptionCallSummaryUpdated {
1440
+ /**
1441
+ * Defines the result for TranscriptionUpdate with the current status and the details about the status
1442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1443
+ */
1444
+ readonly transcriptionUpdate?: TranscriptionUpdate;
1847
1445
  /** Call connection ID. */
1848
1446
  callConnectionId?: string;
1849
1447
  /** Server call ID. */
@@ -1853,26 +1451,44 @@ export interface RestHoldAudioCompleted {
1853
1451
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1854
1452
  operationContext?: string;
1855
1453
  /** Contains the resulting SIP code, sub-code and message. */
1856
- resultInformation?: RestResultInformation;
1454
+ resultInformation?: ResultInformation;
1857
1455
  }
1858
- /** Azure Open AI Dialog */
1859
- export interface AzureOpenAIDialog extends BaseDialog {
1456
+ /** Represents the options for WebSocket transport. */
1457
+ export interface WebSocketMediaStreamingOptions extends MediaStreamingOptionsInternal {
1860
1458
  /** Polymorphic discriminator, which specifies the different types this object can be */
1861
- kind: "azureOpenAI";
1459
+ transportType: "websocket";
1460
+ /** The transport URL for media streaming. */
1461
+ transportUrl?: string;
1462
+ contentType?: MediaStreamingContentType;
1463
+ /** A value indicating whether the media streaming should start immediately after the call is answered. */
1464
+ startMediaStreaming?: boolean;
1465
+ /** A value indicating whether bidirectional streaming is enabled. */
1466
+ enableBidirectional?: boolean;
1467
+ /** The audio format used for encoding, including sample rate and channel type. The default is Pcm16KMono. */
1468
+ audioFormat?: AudioFormat;
1469
+ /** A value that indicates whether to stream the DTMF tones. */
1470
+ enableDtmfTones?: boolean;
1862
1471
  }
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 {
1472
+ /** Represents the options for WebSocket transport. */
1473
+ export interface WebSocketTranscriptionOptions extends TranscriptionOptionsInternal {
1874
1474
  /** Polymorphic discriminator, which specifies the different types this object can be */
1875
- kind: "azureOpenAI";
1475
+ transportType: "websocket";
1476
+ /** The URL used for live transcription transport. */
1477
+ transportUrl?: string;
1478
+ /** The ID of the deployed custom model in GUID format. The GUID is generated by Azure Speech Studio, e.g., a259c255-1cdw-4ed7-a693-dd58563b6f6a. */
1479
+ speechModelEndpointId?: string;
1480
+ /** Indicates whether the transcription should start immediately after the call is answered. */
1481
+ startTranscription?: boolean;
1482
+ /** Enables intermediate results for the transcribed speech. */
1483
+ enableIntermediateResults?: boolean;
1484
+ /** PII redaction configuration options. */
1485
+ piiRedactionOptions?: PiiRedactionOptionsInternal;
1486
+ /** Indicating if sentiment analysis should be enabled. */
1487
+ enableSentimentAnalysis?: boolean;
1488
+ /** Specifies the list of locales for language identification and transcription. Example: ["en-us", "fr-fr", "hi-in"] etc. */
1489
+ locales?: string[];
1490
+ /** Summarization configuration options. */
1491
+ summarizationOptions?: SummarizationOptionsInternal;
1876
1492
  }
1877
1493
  /** Known values of {@link CommunicationIdentifierModelKind} that the service accepts. */
1878
1494
  export declare enum KnownCommunicationIdentifierModelKind {
@@ -1921,32 +1537,19 @@ export declare enum KnownCommunicationCloudEnvironmentModel {
1921
1537
  * **gcch**
1922
1538
  */
1923
1539
  export type CommunicationCloudEnvironmentModel = string;
1924
- /** Known values of {@link MediaStreamingTransportType} that the service accepts. */
1925
- export declare enum KnownMediaStreamingTransportType {
1540
+ /** Known values of {@link StreamingTransportType} that the service accepts. */
1541
+ export declare enum KnownStreamingTransportType {
1926
1542
  /** Websocket */
1927
1543
  Websocket = "websocket"
1928
1544
  }
1929
1545
  /**
1930
- * Defines values for MediaStreamingTransportType. \
1931
- * {@link KnownMediaStreamingTransportType} can be used interchangeably with MediaStreamingTransportType,
1546
+ * Defines values for StreamingTransportType. \
1547
+ * {@link KnownStreamingTransportType} can be used interchangeably with StreamingTransportType,
1932
1548
  * this enum contains the known values that the service supports.
1933
1549
  * ### Known values supported by the service
1934
1550
  * **websocket**
1935
1551
  */
1936
- export type MediaStreamingTransportType = string;
1937
- /** Known values of {@link MediaStreamingContentType} that the service accepts. */
1938
- export declare enum KnownMediaStreamingContentType {
1939
- /** Audio */
1940
- Audio = "audio"
1941
- }
1942
- /**
1943
- * Defines values for MediaStreamingContentType. \
1944
- * {@link KnownMediaStreamingContentType} can be used interchangeably with MediaStreamingContentType,
1945
- * this enum contains the known values that the service supports.
1946
- * ### Known values supported by the service
1947
- * **audio**
1948
- */
1949
- export type MediaStreamingContentType = string;
1552
+ export type StreamingTransportType = string;
1950
1553
  /** Known values of {@link MediaStreamingAudioChannelType} that the service accepts. */
1951
1554
  export declare enum KnownMediaStreamingAudioChannelType {
1952
1555
  /** Mixed */
@@ -1963,35 +1566,6 @@ export declare enum KnownMediaStreamingAudioChannelType {
1963
1566
  * **unmixed**
1964
1567
  */
1965
1568
  export type MediaStreamingAudioChannelType = string;
1966
- /** Known values of {@link AudioFormat} that the service accepts. */
1967
- export declare enum KnownAudioFormat {
1968
- /** Pcm16KMono */
1969
- Pcm16KMono = "Pcm16KMono",
1970
- /** Pcm24KMono */
1971
- Pcm24KMono = "Pcm24KMono"
1972
- }
1973
- /**
1974
- * Defines values for AudioFormat. \
1975
- * {@link KnownAudioFormat} can be used interchangeably with AudioFormat,
1976
- * this enum contains the known values that the service supports.
1977
- * ### Known values supported by the service
1978
- * **Pcm16KMono**: Pcm16KMono \
1979
- * **Pcm24KMono**: Pcm24KMono
1980
- */
1981
- export type AudioFormat = string;
1982
- /** Known values of {@link TranscriptionTransportType} that the service accepts. */
1983
- export declare enum KnownTranscriptionTransportType {
1984
- /** Websocket */
1985
- Websocket = "websocket"
1986
- }
1987
- /**
1988
- * Defines values for TranscriptionTransportType. \
1989
- * {@link KnownTranscriptionTransportType} can be used interchangeably with TranscriptionTransportType,
1990
- * this enum contains the known values that the service supports.
1991
- * ### Known values supported by the service
1992
- * **websocket**
1993
- */
1994
- export type TranscriptionTransportType = string;
1995
1569
  /** Known values of {@link CallConnectionStateModel} that the service accepts. */
1996
1570
  export declare enum KnownCallConnectionStateModel {
1997
1571
  /** Unknown */
@@ -2042,6 +1616,19 @@ export declare enum KnownMediaStreamingSubscriptionState {
2042
1616
  * **active**
2043
1617
  */
2044
1618
  export type MediaStreamingSubscriptionState = string;
1619
+ /** Known values of {@link MediaStreamingContentType} that the service accepts. */
1620
+ export declare enum KnownMediaStreamingContentType {
1621
+ /** Audio */
1622
+ Audio = "audio"
1623
+ }
1624
+ /**
1625
+ * Defines values for MediaStreamingContentType. \
1626
+ * {@link KnownMediaStreamingContentType} can be used interchangeably with MediaStreamingContentType,
1627
+ * this enum contains the known values that the service supports.
1628
+ * ### Known values supported by the service
1629
+ * **audio**
1630
+ */
1631
+ export type MediaStreamingContentType = string;
2045
1632
  /** Known values of {@link TranscriptionSubscriptionState} that the service accepts. */
2046
1633
  export declare enum KnownTranscriptionSubscriptionState {
2047
1634
  /** Disabled */
@@ -2150,6 +1737,19 @@ export declare enum KnownVoiceKind {
2150
1737
  * **female**
2151
1738
  */
2152
1739
  export type VoiceKind = string;
1740
+ /** Known values of {@link RedactionType} that the service accepts. */
1741
+ export declare enum KnownRedactionType {
1742
+ /** MaskWithCharacter */
1743
+ MaskWithCharacter = "maskWithCharacter"
1744
+ }
1745
+ /**
1746
+ * Defines values for RedactionType. \
1747
+ * {@link KnownRedactionType} can be used interchangeably with RedactionType,
1748
+ * this enum contains the known values that the service supports.
1749
+ * ### Known values supported by the service
1750
+ * **maskWithCharacter**
1751
+ */
1752
+ export type RedactionType = string;
2153
1753
  /** Known values of {@link RecognizeInputType} that the service accepts. */
2154
1754
  export declare enum KnownRecognizeInputType {
2155
1755
  /** Dtmf */
@@ -2230,22 +1830,6 @@ export declare enum KnownTone {
2230
1830
  * **asterisk**
2231
1831
  */
2232
1832
  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;
2249
1833
  /** Known values of {@link RecordingContentType} that the service accepts. */
2250
1834
  export declare enum KnownRecordingContentType {
2251
1835
  /** Audio */
@@ -2348,149 +1932,65 @@ export declare enum KnownRecordingKind {
2348
1932
  * **TeamsCompliance**: Recording initiated by Teams compliance policy
2349
1933
  */
2350
1934
  export type RecordingKind = string;
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"
1935
+ /** Known values of {@link AudioFormat} that the service accepts. */
1936
+ export declare enum KnownAudioFormat {
1937
+ /** Pcm16KMono */
1938
+ Pcm16KMono = "pcm16KMono",
1939
+ /** Pcm24KMono */
1940
+ Pcm24KMono = "pcm24KMono"
2363
1941
  }
2364
1942
  /**
2365
- * Defines values for ChunkEndReason. \
2366
- * {@link KnownChunkEndReason} can be used interchangeably with ChunkEndReason,
1943
+ * Defines values for AudioFormat. \
1944
+ * {@link KnownAudioFormat} can be used interchangeably with AudioFormat,
2367
1945
  * this enum contains the known values that the service supports.
2368
1946
  * ### Known values supported by the service
2369
- * **chunkIsBeingRecorded** \
2370
- * **sessionEnded** \
2371
- * **chunkMaximumSizeExceeded** \
2372
- * **chunkMaximumTimeExceeded** \
2373
- * **chunkUploadFailure**
1947
+ * **pcm16KMono** \
1948
+ * **pcm24KMono**
2374
1949
  */
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"
1950
+ export type AudioFormat = string;
1951
+ /** Known values of {@link RecognitionType} that the service accepts. */
1952
+ export declare enum KnownRecognitionType {
1953
+ /** Dtmf */
1954
+ Dtmf = "dtmf",
1955
+ /** Speech */
1956
+ Speech = "speech",
1957
+ /** Choices */
1958
+ Choices = "choices"
2430
1959
  }
2431
1960
  /**
2432
- * Defines values for CallSessionEndReason. \
2433
- * {@link KnownCallSessionEndReason} can be used interchangeably with CallSessionEndReason,
1961
+ * Defines values for RecognitionType. \
1962
+ * {@link KnownRecognitionType} can be used interchangeably with RecognitionType,
2434
1963
  * this enum contains the known values that the service supports.
2435
1964
  * ### 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**
1965
+ * **dtmf** \
1966
+ * **speech** \
1967
+ * **choices**
2462
1968
  */
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",
1969
+ export type RecognitionType = string;
1970
+ /** Known values of {@link MediaStreamingStatus} that the service accepts. */
1971
+ export declare enum KnownMediaStreamingStatus {
1972
+ /** MediaStreamingStarted */
1973
+ MediaStreamingStarted = "mediaStreamingStarted",
1974
+ /** MediaStreamingFailed */
1975
+ MediaStreamingFailed = "mediaStreamingFailed",
1976
+ /** MediaStreamingStopped */
1977
+ MediaStreamingStopped = "mediaStreamingStopped",
2476
1978
  /** UnspecifiedError */
2477
1979
  UnspecifiedError = "unspecifiedError"
2478
1980
  }
2479
1981
  /**
2480
- * Defines values for TranscriptionStatus. \
2481
- * {@link KnownTranscriptionStatus} can be used interchangeably with TranscriptionStatus,
1982
+ * Defines values for MediaStreamingStatus. \
1983
+ * {@link KnownMediaStreamingStatus} can be used interchangeably with MediaStreamingStatus,
2482
1984
  * this enum contains the known values that the service supports.
2483
1985
  * ### Known values supported by the service
2484
- * **transcriptionStarted** \
2485
- * **transcriptionFailed** \
2486
- * **transcriptionResumed** \
2487
- * **transcriptionUpdated** \
2488
- * **transcriptionStopped** \
1986
+ * **mediaStreamingStarted** \
1987
+ * **mediaStreamingFailed** \
1988
+ * **mediaStreamingStopped** \
2489
1989
  * **unspecifiedError**
2490
1990
  */
2491
- export type TranscriptionStatus = string;
2492
- /** Known values of {@link TranscriptionStatusDetails} that the service accepts. */
2493
- export declare enum KnownTranscriptionStatusDetails {
1991
+ export type MediaStreamingStatus = string;
1992
+ /** Known values of {@link MediaStreamingStatusDetails} that the service accepts. */
1993
+ export declare enum KnownMediaStreamingStatusDetails {
2494
1994
  /** SubscriptionStarted */
2495
1995
  SubscriptionStarted = "subscriptionStarted",
2496
1996
  /** StreamConnectionReestablished */
@@ -2519,12 +2019,12 @@ export declare enum KnownTranscriptionStatusDetails {
2519
2019
  Forbidden = "forbidden",
2520
2020
  /** ServiceTimeout */
2521
2021
  ServiceTimeout = "serviceTimeout",
2522
- /** TranscriptionLocaleUpdated */
2523
- TranscriptionLocaleUpdated = "transcriptionLocaleUpdated"
2022
+ /** InitialWebSocketConnectionFailed */
2023
+ InitialWebSocketConnectionFailed = "initialWebSocketConnectionFailed"
2524
2024
  }
2525
2025
  /**
2526
- * Defines values for TranscriptionStatusDetails. \
2527
- * {@link KnownTranscriptionStatusDetails} can be used interchangeably with TranscriptionStatusDetails,
2026
+ * Defines values for MediaStreamingStatusDetails. \
2027
+ * {@link KnownMediaStreamingStatusDetails} can be used interchangeably with MediaStreamingStatusDetails,
2528
2028
  * this enum contains the known values that the service supports.
2529
2029
  * ### Known values supported by the service
2530
2030
  * **subscriptionStarted** \
@@ -2541,33 +2041,42 @@ export declare enum KnownTranscriptionStatusDetails {
2541
2041
  * **tooManyRequests** \
2542
2042
  * **forbidden** \
2543
2043
  * **serviceTimeout** \
2544
- * **transcriptionLocaleUpdated**
2044
+ * **initialWebSocketConnectionFailed**
2545
2045
  */
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",
2046
+ export type MediaStreamingStatusDetails = string;
2047
+ /** Known values of {@link TranscriptionStatus} that the service accepts. */
2048
+ export declare enum KnownTranscriptionStatus {
2049
+ /** TranscriptionStarted */
2050
+ TranscriptionStarted = "transcriptionStarted",
2051
+ /** TranscriptionFailed */
2052
+ TranscriptionFailed = "transcriptionFailed",
2053
+ /** TranscriptionResumed */
2054
+ TranscriptionResumed = "transcriptionResumed",
2055
+ /** TranscriptionUpdated */
2056
+ TranscriptionUpdated = "transcriptionUpdated",
2057
+ /** TranscriptionStopped */
2058
+ TranscriptionStopped = "transcriptionStopped",
2059
+ /** CallSummaryUpdated */
2060
+ CallSummaryUpdated = "callSummaryUpdated",
2555
2061
  /** UnspecifiedError */
2556
2062
  UnspecifiedError = "unspecifiedError"
2557
2063
  }
2558
2064
  /**
2559
- * Defines values for MediaStreamingStatus. \
2560
- * {@link KnownMediaStreamingStatus} can be used interchangeably with MediaStreamingStatus,
2065
+ * Defines values for TranscriptionStatus. \
2066
+ * {@link KnownTranscriptionStatus} can be used interchangeably with TranscriptionStatus,
2561
2067
  * this enum contains the known values that the service supports.
2562
2068
  * ### Known values supported by the service
2563
- * **mediaStreamingStarted** \
2564
- * **mediaStreamingFailed** \
2565
- * **mediaStreamingStopped** \
2069
+ * **transcriptionStarted** \
2070
+ * **transcriptionFailed** \
2071
+ * **transcriptionResumed** \
2072
+ * **transcriptionUpdated** \
2073
+ * **transcriptionStopped** \
2074
+ * **callSummaryUpdated** \
2566
2075
  * **unspecifiedError**
2567
2076
  */
2568
- export type MediaStreamingStatus = string;
2569
- /** Known values of {@link MediaStreamingStatusDetails} that the service accepts. */
2570
- export declare enum KnownMediaStreamingStatusDetails {
2077
+ export type TranscriptionStatus = string;
2078
+ /** Known values of {@link TranscriptionStatusDetails} that the service accepts. */
2079
+ export declare enum KnownTranscriptionStatusDetails {
2571
2080
  /** SubscriptionStarted */
2572
2081
  SubscriptionStarted = "subscriptionStarted",
2573
2082
  /** StreamConnectionReestablished */
@@ -2596,12 +2105,16 @@ export declare enum KnownMediaStreamingStatusDetails {
2596
2105
  Forbidden = "forbidden",
2597
2106
  /** ServiceTimeout */
2598
2107
  ServiceTimeout = "serviceTimeout",
2599
- /** InitialWebSocketConnectionFailed */
2600
- InitialWebSocketConnectionFailed = "initialWebSocketConnectionFailed"
2108
+ /** TranscriptionLocaleUpdated */
2109
+ TranscriptionLocaleUpdated = "transcriptionLocaleUpdated",
2110
+ /** CallSummarySuccess */
2111
+ CallSummarySuccess = "callSummarySuccess",
2112
+ /** CallSummaryFailure */
2113
+ CallSummaryFailure = "callSummaryFailure"
2601
2114
  }
2602
2115
  /**
2603
- * Defines values for MediaStreamingStatusDetails. \
2604
- * {@link KnownMediaStreamingStatusDetails} can be used interchangeably with MediaStreamingStatusDetails,
2116
+ * Defines values for TranscriptionStatusDetails. \
2117
+ * {@link KnownTranscriptionStatusDetails} can be used interchangeably with TranscriptionStatusDetails,
2605
2118
  * this enum contains the known values that the service supports.
2606
2119
  * ### Known values supported by the service
2607
2120
  * **subscriptionStarted** \
@@ -2618,28 +2131,11 @@ export declare enum KnownMediaStreamingStatusDetails {
2618
2131
  * **tooManyRequests** \
2619
2132
  * **forbidden** \
2620
2133
  * **serviceTimeout** \
2621
- * **initialWebSocketConnectionFailed**
2622
- */
2623
- export type MediaStreamingStatusDetails = string;
2624
- /** Known values of {@link RecognitionType} that the service accepts. */
2625
- export declare enum KnownRecognitionType {
2626
- /** Dtmf */
2627
- Dtmf = "dtmf",
2628
- /** Speech */
2629
- Speech = "speech",
2630
- /** Choices */
2631
- Choices = "choices"
2632
- }
2633
- /**
2634
- * Defines values for RecognitionType. \
2635
- * {@link KnownRecognitionType} can be used interchangeably with RecognitionType,
2636
- * this enum contains the known values that the service supports.
2637
- * ### Known values supported by the service
2638
- * **dtmf** \
2639
- * **speech** \
2640
- * **choices**
2134
+ * **transcriptionLocaleUpdated** \
2135
+ * **callSummarySuccess** \
2136
+ * **callSummaryFailure**
2641
2137
  */
2642
- export type RecognitionType = string;
2138
+ export type TranscriptionStatusDetails = string;
2643
2139
  /** Optional parameters. */
2644
2140
  export interface CreateCallOptionalParams extends coreClient.OperationOptions {
2645
2141
  /** 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. */
@@ -2738,15 +2234,6 @@ export interface CallConnectionMuteOptionalParams extends coreClient.OperationOp
2738
2234
  /** Contains response data for the mute operation. */
2739
2235
  export type CallConnectionMuteResponse = MuteParticipantsResult;
2740
2236
  /** 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. */
2750
2237
  export interface CallConnectionCancelAddParticipantOptionalParams extends coreClient.OperationOptions {
2751
2238
  /** 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. */
2752
2239
  repeatabilityRequestID?: string;
@@ -2784,6 +2271,12 @@ export interface CallMediaStartTranscriptionOptionalParams extends coreClient.Op
2784
2271
  export interface CallMediaStopTranscriptionOptionalParams extends coreClient.OperationOptions {
2785
2272
  }
2786
2273
  /** Optional parameters. */
2274
+ export interface CallMediaUpdateTranscriptionOptionalParams extends coreClient.OperationOptions {
2275
+ }
2276
+ /** Optional parameters. */
2277
+ export interface CallMediaSummarizeCallOptionalParams extends coreClient.OperationOptions {
2278
+ }
2279
+ /** Optional parameters. */
2787
2280
  export interface CallMediaCancelAllMediaOperationsOptionalParams extends coreClient.OperationOptions {
2788
2281
  }
2789
2282
  /** Optional parameters. */
@@ -2805,9 +2298,6 @@ export interface CallMediaSendDtmfTonesOptionalParams extends coreClient.Operati
2805
2298
  /** Contains response data for the sendDtmfTones operation. */
2806
2299
  export type CallMediaSendDtmfTonesResponse = SendDtmfTonesResult;
2807
2300
  /** Optional parameters. */
2808
- export interface CallMediaUpdateTranscriptionOptionalParams extends coreClient.OperationOptions {
2809
- }
2810
- /** Optional parameters. */
2811
2301
  export interface CallMediaHoldOptionalParams extends coreClient.OperationOptions {
2812
2302
  }
2813
2303
  /** Optional parameters. */
@@ -2820,21 +2310,6 @@ export interface CallMediaStartMediaStreamingOptionalParams extends coreClient.O
2820
2310
  export interface CallMediaStopMediaStreamingOptionalParams extends coreClient.OperationOptions {
2821
2311
  }
2822
2312
  /** 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. */
2838
2313
  export interface CallRecordingStartRecordingOptionalParams extends coreClient.OperationOptions {
2839
2314
  /** 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. */
2840
2315
  repeatabilityRequestID?: string;
@@ -2858,11 +2333,6 @@ export interface CallRecordingPauseRecordingOptionalParams extends coreClient.Op
2858
2333
  export interface CallRecordingResumeRecordingOptionalParams extends coreClient.OperationOptions {
2859
2334
  }
2860
2335
  /** 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. */
2866
2336
  export interface CallAutomationApiClientOptionalParams extends coreClient.ServiceClientOptions {
2867
2337
  /** Api Version */
2868
2338
  apiVersion?: string;