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

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 (492) hide show
  1. package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
  2. package/dist/commonjs/callAutomationClient.js +328 -271
  3. package/dist/commonjs/callAutomationClient.js.map +7 -1
  4. package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
  5. package/dist/commonjs/callAutomationEventParser.js +193 -184
  6. package/dist/commonjs/callAutomationEventParser.js.map +7 -1
  7. package/dist/commonjs/callConnection.d.ts +5 -5
  8. package/dist/commonjs/callConnection.d.ts.map +1 -1
  9. package/dist/commonjs/callConnection.js +339 -287
  10. package/dist/commonjs/callConnection.js.map +7 -1
  11. package/dist/commonjs/callMedia.d.ts +3 -8
  12. package/dist/commonjs/callMedia.d.ts.map +1 -1
  13. package/dist/commonjs/callMedia.js +402 -429
  14. package/dist/commonjs/callMedia.js.map +7 -1
  15. package/dist/commonjs/callRecording.js +214 -190
  16. package/dist/commonjs/callRecording.js.map +7 -1
  17. package/dist/commonjs/contentDownloader.d.ts +12 -0
  18. package/dist/commonjs/contentDownloader.d.ts.map +1 -1
  19. package/dist/commonjs/contentDownloader.js +139 -101
  20. package/dist/commonjs/contentDownloader.js.map +7 -1
  21. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +1 -1
  22. package/dist/commonjs/generated/src/callAutomationApiClient.js +258 -222
  23. package/dist/commonjs/generated/src/callAutomationApiClient.js.map +7 -1
  24. package/dist/commonjs/generated/src/index.js +36 -19
  25. package/dist/commonjs/generated/src/index.js.map +7 -1
  26. package/dist/commonjs/generated/src/models/index.d.ts +243 -457
  27. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  28. package/dist/commonjs/generated/src/models/index.js +278 -367
  29. package/dist/commonjs/generated/src/models/index.js.map +7 -1
  30. package/dist/commonjs/generated/src/models/mappers.d.ts +21 -26
  31. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  32. package/dist/commonjs/generated/src/models/mappers.js +4240 -4281
  33. package/dist/commonjs/generated/src/models/mappers.js.map +7 -1
  34. package/dist/commonjs/generated/src/models/parameters.d.ts +0 -1
  35. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  36. package/dist/commonjs/generated/src/models/parameters.js +287 -211
  37. package/dist/commonjs/generated/src/models/parameters.js.map +7 -1
  38. package/dist/commonjs/generated/src/operations/callConnection.d.ts +1 -1
  39. package/dist/commonjs/generated/src/operations/callConnection.js +454 -382
  40. package/dist/commonjs/generated/src/operations/callConnection.js.map +7 -1
  41. package/dist/commonjs/generated/src/operations/callMedia.d.ts +1 -8
  42. package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
  43. package/dist/commonjs/generated/src/operations/callMedia.js +394 -354
  44. package/dist/commonjs/generated/src/operations/callMedia.js.map +7 -1
  45. package/dist/commonjs/generated/src/operations/callRecording.js +180 -139
  46. package/dist/commonjs/generated/src/operations/callRecording.js.map +7 -1
  47. package/dist/commonjs/generated/src/operations/index.js +26 -14
  48. package/dist/commonjs/generated/src/operations/index.js.map +7 -1
  49. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +1 -1
  50. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js +16 -10
  51. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +7 -1
  52. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +1 -8
  53. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  54. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js +16 -10
  55. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +7 -1
  56. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js +16 -10
  57. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +7 -1
  58. package/dist/commonjs/generated/src/operationsInterfaces/index.js +26 -14
  59. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +7 -1
  60. package/dist/commonjs/generated/src/pagingHelper.js +40 -30
  61. package/dist/commonjs/generated/src/pagingHelper.js.map +7 -1
  62. package/dist/commonjs/index.d.ts +3 -3
  63. package/dist/commonjs/index.d.ts.map +1 -1
  64. package/dist/commonjs/index.js +36 -17
  65. package/dist/commonjs/index.js.map +7 -1
  66. package/dist/commonjs/models/events.d.ts +297 -237
  67. package/dist/commonjs/models/events.d.ts.map +1 -1
  68. package/dist/commonjs/models/events.js +16 -5
  69. package/dist/commonjs/models/events.js.map +7 -1
  70. package/dist/commonjs/models/logger.js +29 -11
  71. package/dist/commonjs/models/logger.js.map +7 -1
  72. package/dist/commonjs/models/mapper.js +99 -78
  73. package/dist/commonjs/models/mapper.js.map +7 -1
  74. package/dist/commonjs/models/models.d.ts +8 -29
  75. package/dist/commonjs/models/models.d.ts.map +1 -1
  76. package/dist/commonjs/models/models.js +68 -61
  77. package/dist/commonjs/models/models.js.map +7 -1
  78. package/dist/commonjs/models/options.d.ts +11 -65
  79. package/dist/commonjs/models/options.d.ts.map +1 -1
  80. package/dist/commonjs/models/options.js +16 -5
  81. package/dist/commonjs/models/options.js.map +7 -1
  82. package/dist/commonjs/models/responses.js +16 -5
  83. package/dist/commonjs/models/responses.js.map +7 -1
  84. package/dist/commonjs/models/streaming.d.ts +1 -12
  85. package/dist/commonjs/models/streaming.d.ts.map +1 -1
  86. package/dist/commonjs/models/streaming.js +55 -39
  87. package/dist/commonjs/models/streaming.js.map +7 -1
  88. package/dist/commonjs/streamingData.d.ts.map +1 -1
  89. package/dist/commonjs/streamingData.js +112 -99
  90. package/dist/commonjs/streamingData.js.map +7 -1
  91. package/dist/commonjs/tsdoc-metadata.json +1 -1
  92. package/dist/commonjs/utli/converters.d.ts.map +1 -1
  93. package/dist/commonjs/utli/converters.js +285 -275
  94. package/dist/commonjs/utli/converters.js.map +7 -1
  95. package/dist/commonjs/utli/recordingUrlValidator.d.ts +9 -0
  96. package/dist/commonjs/utli/recordingUrlValidator.d.ts.map +1 -0
  97. package/dist/commonjs/utli/recordingUrlValidator.js +56 -0
  98. package/dist/commonjs/utli/recordingUrlValidator.js.map +7 -0
  99. package/dist/esm/callAutomationClient.d.ts.map +1 -1
  100. package/dist/esm/callAutomationClient.js +1 -4
  101. package/dist/esm/callAutomationClient.js.map +1 -1
  102. package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
  103. package/dist/esm/callAutomationEventParser.js +8 -15
  104. package/dist/esm/callAutomationEventParser.js.map +1 -1
  105. package/dist/esm/callConnection.d.ts +5 -5
  106. package/dist/esm/callConnection.d.ts.map +1 -1
  107. package/dist/esm/callConnection.js +11 -10
  108. package/dist/esm/callConnection.js.map +1 -1
  109. package/dist/esm/callMedia.d.ts +3 -8
  110. package/dist/esm/callMedia.d.ts.map +1 -1
  111. package/dist/esm/callMedia.js +7 -35
  112. package/dist/esm/callMedia.js.map +1 -1
  113. package/dist/esm/contentDownloader.d.ts +12 -0
  114. package/dist/esm/contentDownloader.d.ts.map +1 -1
  115. package/dist/esm/contentDownloader.js +37 -8
  116. package/dist/esm/contentDownloader.js.map +1 -1
  117. package/dist/esm/generated/src/callAutomationApiClient.d.ts +1 -1
  118. package/dist/esm/generated/src/callAutomationApiClient.js +3 -3
  119. package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
  120. package/dist/esm/generated/src/models/index.d.ts +243 -457
  121. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  122. package/dist/esm/generated/src/models/index.js +28 -40
  123. package/dist/esm/generated/src/models/index.js.map +1 -1
  124. package/dist/esm/generated/src/models/mappers.d.ts +21 -26
  125. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  126. package/dist/esm/generated/src/models/mappers.js +327 -602
  127. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  128. package/dist/esm/generated/src/models/parameters.d.ts +0 -1
  129. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  130. package/dist/esm/generated/src/models/parameters.js +2 -6
  131. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  132. package/dist/esm/generated/src/operations/callConnection.d.ts +1 -1
  133. package/dist/esm/generated/src/operations/callConnection.js +1 -1
  134. package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
  135. package/dist/esm/generated/src/operations/callMedia.d.ts +1 -8
  136. package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
  137. package/dist/esm/generated/src/operations/callMedia.js +0 -25
  138. package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
  139. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +1 -1
  140. package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  141. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +1 -8
  142. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  143. package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  144. package/dist/esm/index.d.ts +3 -3
  145. package/dist/esm/index.d.ts.map +1 -1
  146. package/dist/esm/index.js +0 -3
  147. package/dist/esm/index.js.map +1 -1
  148. package/dist/esm/models/events.d.ts +297 -237
  149. package/dist/esm/models/events.d.ts.map +1 -1
  150. package/dist/esm/models/events.js.map +1 -1
  151. package/dist/esm/models/models.d.ts +8 -29
  152. package/dist/esm/models/models.d.ts.map +1 -1
  153. package/dist/esm/models/models.js.map +1 -1
  154. package/dist/esm/models/options.d.ts +11 -65
  155. package/dist/esm/models/options.d.ts.map +1 -1
  156. package/dist/esm/models/options.js.map +1 -1
  157. package/dist/esm/models/streaming.d.ts +1 -12
  158. package/dist/esm/models/streaming.d.ts.map +1 -1
  159. package/dist/esm/models/streaming.js.map +1 -1
  160. package/dist/esm/streamingData.d.ts.map +1 -1
  161. package/dist/esm/streamingData.js +0 -5
  162. package/dist/esm/streamingData.js.map +1 -1
  163. package/dist/esm/utli/converters.d.ts.map +1 -1
  164. package/dist/esm/utli/converters.js +1 -1
  165. package/dist/esm/utli/converters.js.map +1 -1
  166. package/dist/esm/utli/recordingUrlValidator.d.ts +9 -0
  167. package/dist/esm/utli/recordingUrlValidator.d.ts.map +1 -0
  168. package/dist/esm/utli/recordingUrlValidator.js +45 -0
  169. package/dist/esm/utli/recordingUrlValidator.js.map +1 -0
  170. package/package.json +37 -50
  171. package/dist/browser/callAutomationClient.d.ts +0 -98
  172. package/dist/browser/callAutomationClient.d.ts.map +0 -1
  173. package/dist/browser/callAutomationClient.js +0 -275
  174. package/dist/browser/callAutomationClient.js.map +0 -1
  175. package/dist/browser/callAutomationEventParser.d.ts +0 -6
  176. package/dist/browser/callAutomationEventParser.d.ts.map +0 -1
  177. package/dist/browser/callAutomationEventParser.js +0 -189
  178. package/dist/browser/callAutomationEventParser.js.map +0 -1
  179. package/dist/browser/callConnection.d.ts +0 -83
  180. package/dist/browser/callConnection.d.ts.map +0 -1
  181. package/dist/browser/callConnection.js +0 -289
  182. package/dist/browser/callConnection.js.map +0 -1
  183. package/dist/browser/callMedia.d.ts +0 -114
  184. package/dist/browser/callMedia.d.ts.map +0 -1
  185. package/dist/browser/callMedia.js +0 -433
  186. package/dist/browser/callMedia.js.map +0 -1
  187. package/dist/browser/callRecording.d.ts +0 -70
  188. package/dist/browser/callRecording.d.ts.map +0 -1
  189. package/dist/browser/callRecording.js +0 -195
  190. package/dist/browser/callRecording.js.map +0 -1
  191. package/dist/browser/contentDownloader.d.ts +0 -25
  192. package/dist/browser/contentDownloader.d.ts.map +0 -1
  193. package/dist/browser/contentDownloader.js +0 -103
  194. package/dist/browser/contentDownloader.js.map +0 -1
  195. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.d.ts +0 -10
  196. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.d.ts.map +0 -1
  197. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js +0 -38
  198. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js.map +0 -1
  199. package/dist/browser/credential/callAutomationAuthPolicy.d.ts +0 -22
  200. package/dist/browser/credential/callAutomationAuthPolicy.d.ts.map +0 -1
  201. package/dist/browser/credential/callAutomationAuthPolicy.js +0 -53
  202. package/dist/browser/credential/callAutomationAuthPolicy.js.map +0 -1
  203. package/dist/browser/credential/cryptoUtils-browser.d.mts.map +0 -1
  204. package/dist/browser/credential/cryptoUtils-browser.mjs.map +0 -1
  205. package/dist/browser/credential/cryptoUtils.d.ts +0 -3
  206. package/dist/browser/credential/cryptoUtils.js +0 -20
  207. package/dist/browser/credential/encodeUtils.browser.d.ts +0 -4
  208. package/dist/browser/credential/encodeUtils.browser.d.ts.map +0 -1
  209. package/dist/browser/credential/encodeUtils.browser.js +0 -26
  210. package/dist/browser/credential/encodeUtils.browser.js.map +0 -1
  211. package/dist/browser/generated/src/callAutomationApiClient.d.ts +0 -49
  212. package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +0 -1
  213. package/dist/browser/generated/src/callAutomationApiClient.js +0 -235
  214. package/dist/browser/generated/src/callAutomationApiClient.js.map +0 -1
  215. package/dist/browser/generated/src/index.d.ts +0 -5
  216. package/dist/browser/generated/src/index.d.ts.map +0 -1
  217. package/dist/browser/generated/src/index.js +0 -13
  218. package/dist/browser/generated/src/index.js.map +0 -1
  219. package/dist/browser/generated/src/models/index.d.ts +0 -2342
  220. package/dist/browser/generated/src/models/index.d.ts.map +0 -1
  221. package/dist/browser/generated/src/models/index.js +0 -364
  222. package/dist/browser/generated/src/models/index.js.map +0 -1
  223. package/dist/browser/generated/src/models/mappers.d.ts +0 -123
  224. package/dist/browser/generated/src/models/mappers.d.ts.map +0 -1
  225. package/dist/browser/generated/src/models/mappers.js +0 -4395
  226. package/dist/browser/generated/src/models/mappers.js.map +0 -1
  227. package/dist/browser/generated/src/models/parameters.d.ts +0 -36
  228. package/dist/browser/generated/src/models/parameters.d.ts.map +0 -1
  229. package/dist/browser/generated/src/models/parameters.js +0 -208
  230. package/dist/browser/generated/src/models/parameters.js.map +0 -1
  231. package/dist/browser/generated/src/operations/callConnection.d.ts +0 -103
  232. package/dist/browser/generated/src/operations/callConnection.d.ts.map +0 -1
  233. package/dist/browser/generated/src/operations/callConnection.js +0 -417
  234. package/dist/browser/generated/src/operations/callConnection.js.map +0 -1
  235. package/dist/browser/generated/src/operations/callMedia.d.ts +0 -110
  236. package/dist/browser/generated/src/operations/callMedia.d.ts.map +0 -1
  237. package/dist/browser/generated/src/operations/callMedia.js +0 -378
  238. package/dist/browser/generated/src/operations/callMedia.js.map +0 -1
  239. package/dist/browser/generated/src/operations/callRecording.d.ts +0 -43
  240. package/dist/browser/generated/src/operations/callRecording.d.ts.map +0 -1
  241. package/dist/browser/generated/src/operations/callRecording.js +0 -148
  242. package/dist/browser/generated/src/operations/callRecording.js.map +0 -1
  243. package/dist/browser/generated/src/operations/index.d.ts +0 -4
  244. package/dist/browser/generated/src/operations/index.d.ts.map +0 -1
  245. package/dist/browser/generated/src/operations/index.js +0 -11
  246. package/dist/browser/generated/src/operations/index.js.map +0 -1
  247. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +0 -80
  248. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +0 -1
  249. package/dist/browser/generated/src/operationsInterfaces/callConnection.js +0 -9
  250. package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +0 -1
  251. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +0 -102
  252. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +0 -1
  253. package/dist/browser/generated/src/operationsInterfaces/callMedia.js +0 -9
  254. package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +0 -1
  255. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +0 -35
  256. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +0 -1
  257. package/dist/browser/generated/src/operationsInterfaces/callRecording.js +0 -9
  258. package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +0 -1
  259. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +0 -4
  260. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  261. package/dist/browser/generated/src/operationsInterfaces/index.js +0 -11
  262. package/dist/browser/generated/src/operationsInterfaces/index.js.map +0 -1
  263. package/dist/browser/generated/src/pagingHelper.d.ts +0 -13
  264. package/dist/browser/generated/src/pagingHelper.d.ts.map +0 -1
  265. package/dist/browser/generated/src/pagingHelper.js +0 -30
  266. package/dist/browser/generated/src/pagingHelper.js.map +0 -1
  267. package/dist/browser/index.d.ts +0 -12
  268. package/dist/browser/index.d.ts.map +0 -1
  269. package/dist/browser/index.js +0 -14
  270. package/dist/browser/index.js.map +0 -1
  271. package/dist/browser/models/constants.d.ts +0 -2
  272. package/dist/browser/models/constants.d.ts.map +0 -1
  273. package/dist/browser/models/constants.js +0 -4
  274. package/dist/browser/models/constants.js.map +0 -1
  275. package/dist/browser/models/events.d.ts +0 -689
  276. package/dist/browser/models/events.d.ts.map +0 -1
  277. package/dist/browser/models/events.js +0 -4
  278. package/dist/browser/models/events.js.map +0 -1
  279. package/dist/browser/models/logger.d.ts +0 -5
  280. package/dist/browser/models/logger.d.ts.map +0 -1
  281. package/dist/browser/models/logger.js +0 -8
  282. package/dist/browser/models/logger.js.map +0 -1
  283. package/dist/browser/models/mapper.d.ts +0 -3
  284. package/dist/browser/models/mapper.d.ts.map +0 -1
  285. package/dist/browser/models/mapper.js +0 -76
  286. package/dist/browser/models/mapper.js.map +0 -1
  287. package/dist/browser/models/models.d.ts +0 -305
  288. package/dist/browser/models/models.d.ts.map +0 -1
  289. package/dist/browser/models/models.js +0 -54
  290. package/dist/browser/models/models.js.map +0 -1
  291. package/dist/browser/models/options.d.ts +0 -463
  292. package/dist/browser/models/options.d.ts.map +0 -1
  293. package/dist/browser/models/options.js +0 -4
  294. package/dist/browser/models/options.js.map +0 -1
  295. package/dist/browser/models/responses.d.ts +0 -81
  296. package/dist/browser/models/responses.d.ts.map +0 -1
  297. package/dist/browser/models/responses.js +0 -4
  298. package/dist/browser/models/responses.js.map +0 -1
  299. package/dist/browser/models/streaming.d.ts +0 -128
  300. package/dist/browser/models/streaming.d.ts.map +0 -1
  301. package/dist/browser/models/streaming.js +0 -38
  302. package/dist/browser/models/streaming.js.map +0 -1
  303. package/dist/browser/package.json +0 -3
  304. package/dist/browser/streamingData.d.ts +0 -13
  305. package/dist/browser/streamingData.d.ts.map +0 -1
  306. package/dist/browser/streamingData.js +0 -99
  307. package/dist/browser/streamingData.js.map +0 -1
  308. package/dist/browser/utli/converters.d.ts +0 -46
  309. package/dist/browser/utli/converters.d.ts.map +0 -1
  310. package/dist/browser/utli/converters.js +0 -294
  311. package/dist/browser/utli/converters.js.map +0 -1
  312. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.d.ts +0 -10
  313. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.d.ts.map +0 -1
  314. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js +0 -41
  315. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js.map +0 -1
  316. package/dist/commonjs/credential/callAutomationAuthPolicy.d.ts +0 -22
  317. package/dist/commonjs/credential/callAutomationAuthPolicy.d.ts.map +0 -1
  318. package/dist/commonjs/credential/callAutomationAuthPolicy.js +0 -57
  319. package/dist/commonjs/credential/callAutomationAuthPolicy.js.map +0 -1
  320. package/dist/commonjs/credential/cryptoUtils.d.ts +0 -3
  321. package/dist/commonjs/credential/cryptoUtils.d.ts.map +0 -1
  322. package/dist/commonjs/credential/cryptoUtils.js +0 -14
  323. package/dist/commonjs/credential/cryptoUtils.js.map +0 -1
  324. package/dist/commonjs/credential/encodeUtils.browser.d.ts +0 -4
  325. package/dist/commonjs/credential/encodeUtils.browser.d.ts.map +0 -1
  326. package/dist/commonjs/credential/encodeUtils.browser.js +0 -32
  327. package/dist/commonjs/credential/encodeUtils.browser.js.map +0 -1
  328. package/dist/commonjs/models/constants.d.ts +0 -2
  329. package/dist/commonjs/models/constants.d.ts.map +0 -1
  330. package/dist/commonjs/models/constants.js +0 -7
  331. package/dist/commonjs/models/constants.js.map +0 -1
  332. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.d.ts +0 -10
  333. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.d.ts.map +0 -1
  334. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js +0 -38
  335. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js.map +0 -1
  336. package/dist/esm/credential/callAutomationAuthPolicy.d.ts +0 -22
  337. package/dist/esm/credential/callAutomationAuthPolicy.d.ts.map +0 -1
  338. package/dist/esm/credential/callAutomationAuthPolicy.js +0 -53
  339. package/dist/esm/credential/callAutomationAuthPolicy.js.map +0 -1
  340. package/dist/esm/credential/cryptoUtils.d.ts +0 -3
  341. package/dist/esm/credential/cryptoUtils.d.ts.map +0 -1
  342. package/dist/esm/credential/cryptoUtils.js +0 -9
  343. package/dist/esm/credential/cryptoUtils.js.map +0 -1
  344. package/dist/esm/credential/encodeUtils.browser.d.ts +0 -4
  345. package/dist/esm/credential/encodeUtils.browser.d.ts.map +0 -1
  346. package/dist/esm/credential/encodeUtils.browser.js +0 -26
  347. package/dist/esm/credential/encodeUtils.browser.js.map +0 -1
  348. package/dist/esm/models/constants.d.ts +0 -2
  349. package/dist/esm/models/constants.d.ts.map +0 -1
  350. package/dist/esm/models/constants.js +0 -4
  351. package/dist/esm/models/constants.js.map +0 -1
  352. package/dist/react-native/callAutomationClient.d.ts +0 -98
  353. package/dist/react-native/callAutomationClient.d.ts.map +0 -1
  354. package/dist/react-native/callAutomationClient.js +0 -275
  355. package/dist/react-native/callAutomationClient.js.map +0 -1
  356. package/dist/react-native/callAutomationEventParser.d.ts +0 -6
  357. package/dist/react-native/callAutomationEventParser.d.ts.map +0 -1
  358. package/dist/react-native/callAutomationEventParser.js +0 -189
  359. package/dist/react-native/callAutomationEventParser.js.map +0 -1
  360. package/dist/react-native/callConnection.d.ts +0 -83
  361. package/dist/react-native/callConnection.d.ts.map +0 -1
  362. package/dist/react-native/callConnection.js +0 -289
  363. package/dist/react-native/callConnection.js.map +0 -1
  364. package/dist/react-native/callMedia.d.ts +0 -114
  365. package/dist/react-native/callMedia.d.ts.map +0 -1
  366. package/dist/react-native/callMedia.js +0 -433
  367. package/dist/react-native/callMedia.js.map +0 -1
  368. package/dist/react-native/callRecording.d.ts +0 -70
  369. package/dist/react-native/callRecording.d.ts.map +0 -1
  370. package/dist/react-native/callRecording.js +0 -195
  371. package/dist/react-native/callRecording.js.map +0 -1
  372. package/dist/react-native/contentDownloader.d.ts +0 -25
  373. package/dist/react-native/contentDownloader.d.ts.map +0 -1
  374. package/dist/react-native/contentDownloader.js +0 -103
  375. package/dist/react-native/contentDownloader.js.map +0 -1
  376. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.d.ts +0 -10
  377. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.d.ts.map +0 -1
  378. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js +0 -38
  379. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js.map +0 -1
  380. package/dist/react-native/credential/callAutomationAuthPolicy.d.ts +0 -22
  381. package/dist/react-native/credential/callAutomationAuthPolicy.d.ts.map +0 -1
  382. package/dist/react-native/credential/callAutomationAuthPolicy.js +0 -53
  383. package/dist/react-native/credential/callAutomationAuthPolicy.js.map +0 -1
  384. package/dist/react-native/credential/cryptoUtils.d.ts +0 -3
  385. package/dist/react-native/credential/cryptoUtils.d.ts.map +0 -1
  386. package/dist/react-native/credential/cryptoUtils.js +0 -9
  387. package/dist/react-native/credential/cryptoUtils.js.map +0 -1
  388. package/dist/react-native/credential/encodeUtils.browser.d.ts +0 -4
  389. package/dist/react-native/credential/encodeUtils.browser.d.ts.map +0 -1
  390. package/dist/react-native/credential/encodeUtils.browser.js +0 -26
  391. package/dist/react-native/credential/encodeUtils.browser.js.map +0 -1
  392. package/dist/react-native/generated/src/callAutomationApiClient.d.ts +0 -49
  393. package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +0 -1
  394. package/dist/react-native/generated/src/callAutomationApiClient.js +0 -235
  395. package/dist/react-native/generated/src/callAutomationApiClient.js.map +0 -1
  396. package/dist/react-native/generated/src/index.d.ts +0 -5
  397. package/dist/react-native/generated/src/index.d.ts.map +0 -1
  398. package/dist/react-native/generated/src/index.js +0 -13
  399. package/dist/react-native/generated/src/index.js.map +0 -1
  400. package/dist/react-native/generated/src/models/index.d.ts +0 -2342
  401. package/dist/react-native/generated/src/models/index.d.ts.map +0 -1
  402. package/dist/react-native/generated/src/models/index.js +0 -364
  403. package/dist/react-native/generated/src/models/index.js.map +0 -1
  404. package/dist/react-native/generated/src/models/mappers.d.ts +0 -123
  405. package/dist/react-native/generated/src/models/mappers.d.ts.map +0 -1
  406. package/dist/react-native/generated/src/models/mappers.js +0 -4395
  407. package/dist/react-native/generated/src/models/mappers.js.map +0 -1
  408. package/dist/react-native/generated/src/models/parameters.d.ts +0 -36
  409. package/dist/react-native/generated/src/models/parameters.d.ts.map +0 -1
  410. package/dist/react-native/generated/src/models/parameters.js +0 -208
  411. package/dist/react-native/generated/src/models/parameters.js.map +0 -1
  412. package/dist/react-native/generated/src/operations/callConnection.d.ts +0 -103
  413. package/dist/react-native/generated/src/operations/callConnection.d.ts.map +0 -1
  414. package/dist/react-native/generated/src/operations/callConnection.js +0 -417
  415. package/dist/react-native/generated/src/operations/callConnection.js.map +0 -1
  416. package/dist/react-native/generated/src/operations/callMedia.d.ts +0 -110
  417. package/dist/react-native/generated/src/operations/callMedia.d.ts.map +0 -1
  418. package/dist/react-native/generated/src/operations/callMedia.js +0 -378
  419. package/dist/react-native/generated/src/operations/callMedia.js.map +0 -1
  420. package/dist/react-native/generated/src/operations/callRecording.d.ts +0 -43
  421. package/dist/react-native/generated/src/operations/callRecording.d.ts.map +0 -1
  422. package/dist/react-native/generated/src/operations/callRecording.js +0 -148
  423. package/dist/react-native/generated/src/operations/callRecording.js.map +0 -1
  424. package/dist/react-native/generated/src/operations/index.d.ts +0 -4
  425. package/dist/react-native/generated/src/operations/index.d.ts.map +0 -1
  426. package/dist/react-native/generated/src/operations/index.js +0 -11
  427. package/dist/react-native/generated/src/operations/index.js.map +0 -1
  428. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +0 -80
  429. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +0 -1
  430. package/dist/react-native/generated/src/operationsInterfaces/callConnection.js +0 -9
  431. package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +0 -1
  432. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +0 -102
  433. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +0 -1
  434. package/dist/react-native/generated/src/operationsInterfaces/callMedia.js +0 -9
  435. package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +0 -1
  436. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +0 -35
  437. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +0 -1
  438. package/dist/react-native/generated/src/operationsInterfaces/callRecording.js +0 -9
  439. package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +0 -1
  440. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +0 -4
  441. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +0 -1
  442. package/dist/react-native/generated/src/operationsInterfaces/index.js +0 -11
  443. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +0 -1
  444. package/dist/react-native/generated/src/pagingHelper.d.ts +0 -13
  445. package/dist/react-native/generated/src/pagingHelper.d.ts.map +0 -1
  446. package/dist/react-native/generated/src/pagingHelper.js +0 -30
  447. package/dist/react-native/generated/src/pagingHelper.js.map +0 -1
  448. package/dist/react-native/index.d.ts +0 -12
  449. package/dist/react-native/index.d.ts.map +0 -1
  450. package/dist/react-native/index.js +0 -14
  451. package/dist/react-native/index.js.map +0 -1
  452. package/dist/react-native/models/constants.d.ts +0 -2
  453. package/dist/react-native/models/constants.d.ts.map +0 -1
  454. package/dist/react-native/models/constants.js +0 -4
  455. package/dist/react-native/models/constants.js.map +0 -1
  456. package/dist/react-native/models/events.d.ts +0 -689
  457. package/dist/react-native/models/events.d.ts.map +0 -1
  458. package/dist/react-native/models/events.js +0 -4
  459. package/dist/react-native/models/events.js.map +0 -1
  460. package/dist/react-native/models/logger.d.ts +0 -5
  461. package/dist/react-native/models/logger.d.ts.map +0 -1
  462. package/dist/react-native/models/logger.js +0 -8
  463. package/dist/react-native/models/logger.js.map +0 -1
  464. package/dist/react-native/models/mapper.d.ts +0 -3
  465. package/dist/react-native/models/mapper.d.ts.map +0 -1
  466. package/dist/react-native/models/mapper.js +0 -76
  467. package/dist/react-native/models/mapper.js.map +0 -1
  468. package/dist/react-native/models/models.d.ts +0 -305
  469. package/dist/react-native/models/models.d.ts.map +0 -1
  470. package/dist/react-native/models/models.js +0 -54
  471. package/dist/react-native/models/models.js.map +0 -1
  472. package/dist/react-native/models/options.d.ts +0 -463
  473. package/dist/react-native/models/options.d.ts.map +0 -1
  474. package/dist/react-native/models/options.js +0 -4
  475. package/dist/react-native/models/options.js.map +0 -1
  476. package/dist/react-native/models/responses.d.ts +0 -81
  477. package/dist/react-native/models/responses.d.ts.map +0 -1
  478. package/dist/react-native/models/responses.js +0 -4
  479. package/dist/react-native/models/responses.js.map +0 -1
  480. package/dist/react-native/models/streaming.d.ts +0 -128
  481. package/dist/react-native/models/streaming.d.ts.map +0 -1
  482. package/dist/react-native/models/streaming.js +0 -38
  483. package/dist/react-native/models/streaming.js.map +0 -1
  484. package/dist/react-native/package.json +0 -3
  485. package/dist/react-native/streamingData.d.ts +0 -13
  486. package/dist/react-native/streamingData.d.ts.map +0 -1
  487. package/dist/react-native/streamingData.js +0 -99
  488. package/dist/react-native/streamingData.js.map +0 -1
  489. package/dist/react-native/utli/converters.d.ts +0 -46
  490. package/dist/react-native/utli/converters.d.ts.map +0 -1
  491. package/dist/react-native/utli/converters.js +0 -294
  492. package/dist/react-native/utli/converters.js.map +0 -1
@@ -5,14 +5,11 @@ export type TranscriptionOptionsInternalUnion = TranscriptionOptionsInternal | W
5
5
  export interface CreateCallRequest {
6
6
  /** The targets of the call. */
7
7
  targets: CommunicationIdentifierModel[];
8
- /**
9
- * The source caller Id, a phone number, that's shown to the PSTN participant being invited.
10
- * Required only when calling a PSTN callee.
11
- */
8
+ /** A phone number. */
12
9
  sourceCallerIdNumber?: PhoneNumberIdentifierModel;
13
10
  /** Display name of the call if dialing out to a pstn number */
14
11
  sourceDisplayName?: string;
15
- /** The identifier of the source of the call */
12
+ /** A user that got created with an Azure Communication Services resource. */
16
13
  source?: CommunicationUserIdentifierModel;
17
14
  /** A customer set value used to track the answering of a call. */
18
15
  operationContext?: string;
@@ -20,14 +17,12 @@ export interface CreateCallRequest {
20
17
  callbackUri: string;
21
18
  /** AI options for the call. */
22
19
  callIntelligenceOptions?: CallIntelligenceOptionsInternal;
23
- /** Media Streaming Options. */
20
+ /** Options for media streaming. */
24
21
  mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;
25
- /** Transcription Options. */
22
+ /** Options for live transcription. */
26
23
  transcriptionOptions?: TranscriptionOptionsInternalUnion;
27
- /** The identifier of the source for creating call with Teams resource account ID. */
24
+ /** A Microsoft Teams application. */
28
25
  teamsAppSource?: MicrosoftTeamsAppIdentifierModel;
29
- /** Enables loopback audio functionality for the call. */
30
- enableLoopbackAudio?: boolean;
31
26
  }
32
27
  /** 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
28
  export interface CommunicationIdentifierModel {
@@ -104,7 +99,7 @@ export interface TranscriptionOptionsInternal {
104
99
  /** Polymorphic discriminator, which specifies the different types this object can be */
105
100
  transportType: "websocket";
106
101
  /** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */
107
- locale?: string;
102
+ locale: string;
108
103
  }
109
104
  /** Properties of a call connection */
110
105
  export interface CallConnectionPropertiesInternal {
@@ -114,35 +109,32 @@ export interface CallConnectionPropertiesInternal {
114
109
  serverCallId?: string;
115
110
  /** The targets of the call. */
116
111
  targets?: CommunicationIdentifierModel[];
117
- /** The state of the call connection. */
112
+ /** The states of a call connection. */
118
113
  callConnectionState?: CallConnectionStateModel;
119
114
  /** The callback URI. */
120
115
  callbackUri?: string;
121
- /**
122
- * The source caller Id, a phone number, that's shown to the PSTN participant being invited.
123
- * Required only when calling a PSTN callee.
124
- */
116
+ /** A phone number. */
125
117
  sourceCallerIdNumber?: PhoneNumberIdentifierModel;
126
118
  /** Display name of the call if dialing out to a pstn number. */
127
119
  sourceDisplayName?: string;
128
- /** Source identity. */
120
+ /** 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. */
129
121
  source?: CommunicationIdentifierModel;
130
122
  /** The correlation ID. */
131
123
  correlationId?: string;
132
- /** Identity of the answering entity. Only populated when identity is provided in the request. */
124
+ /** A user that got created with an Azure Communication Services resource. */
133
125
  answeredBy?: CommunicationUserIdentifierModel;
134
- /** The state of media streaming subscription for the call */
126
+ /** Media streaming Subscription Object. */
135
127
  mediaStreamingSubscription?: MediaStreamingSubscription;
136
- /** Transcription Subscription. */
128
+ /** Transcription Subscription Object. */
137
129
  transcriptionSubscription?: TranscriptionSubscription;
138
- /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */
130
+ /** A phone number. */
139
131
  answeredFor?: PhoneNumberIdentifierModel;
140
132
  }
141
133
  /** Media streaming Subscription Object. */
142
134
  export interface MediaStreamingSubscription {
143
135
  /** Subscription Id. */
144
136
  id?: string;
145
- /** Media streaming subscription state. */
137
+ /** Current state of media streaming session */
146
138
  state?: MediaStreamingSubscriptionState;
147
139
  /** Subscribed media streaming content types. */
148
140
  subscribedContentTypes?: MediaStreamingContentType[];
@@ -151,7 +143,7 @@ export interface MediaStreamingSubscription {
151
143
  export interface TranscriptionSubscription {
152
144
  /** Subscription Id. */
153
145
  id?: string;
154
- /** Transcription subscription state. */
146
+ /** Current state of transcription session */
155
147
  state?: TranscriptionSubscriptionState;
156
148
  /** Subscribed transcription result types. */
157
149
  subscribedResultStates?: TranscriptionResultState[];
@@ -195,32 +187,30 @@ export interface AnswerCallRequest {
195
187
  operationContext?: string;
196
188
  /** AI options for the call. */
197
189
  callIntelligenceOptions?: CallIntelligenceOptionsInternal;
198
- /** The identifier of the call automation entity which answers the call */
190
+ /** A user that got created with an Azure Communication Services resource. */
199
191
  answeredBy?: CommunicationUserIdentifierModel;
200
- /** Media Streaming Options. */
192
+ /** Options for media streaming. */
201
193
  mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;
202
- /** Transcription Options. */
194
+ /** Options for live transcription. */
203
195
  transcriptionOptions?: TranscriptionOptionsInternalUnion;
204
- /** Enables loopback audio functionality for the call. */
205
- enableLoopbackAudio?: boolean;
206
196
  }
207
197
  /** The request payload for redirecting the call. */
208
198
  export interface RedirectCallRequest {
209
199
  /** The context associated with the call. */
210
200
  incomingCallContext: string;
211
- /** The target identity to redirect the call to. */
201
+ /** 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. */
212
202
  target: CommunicationIdentifierModel;
213
203
  }
214
204
  /** The request payload for rejecting the call. */
215
205
  export interface RejectCallRequest {
216
206
  /** The context associated with the call. */
217
207
  incomingCallContext: string;
218
- /** The rejection reason. */
208
+ /** Reason of rejecting a call */
219
209
  callRejectReason?: CallRejectReason;
220
210
  }
221
211
  /** The request payload for creating a connection to a CallLocator. */
222
212
  export interface ConnectRequest {
223
- /** The call locator. */
213
+ /** The locator used for joining or taking action on a call */
224
214
  callLocator: CallLocator;
225
215
  /** The callback URI. */
226
216
  callbackUri: string;
@@ -228,12 +218,10 @@ export interface ConnectRequest {
228
218
  operationContext?: string;
229
219
  /** AI options for the call. */
230
220
  callIntelligenceOptions?: CallIntelligenceOptionsInternal;
231
- /** Media Streaming Options. */
221
+ /** Options for media streaming. */
232
222
  mediaStreamingOptions?: MediaStreamingOptionsInternalUnion;
233
- /** Transcription Options. */
223
+ /** Options for live transcription. */
234
224
  transcriptionOptions?: TranscriptionOptionsInternalUnion;
235
- /** Enables loopback audio functionality for the call. */
236
- enableLoopbackAudio?: boolean;
237
225
  }
238
226
  /** The locator used for joining or taking action on a call */
239
227
  export interface CallLocator {
@@ -243,25 +231,25 @@ export interface CallLocator {
243
231
  serverCallId?: string;
244
232
  /** The Acs room id. (Not supported for Start Recording) */
245
233
  roomId?: string;
246
- /** The call locator kind. */
234
+ /** The call locator kind */
247
235
  kind?: CallLocatorKind;
248
236
  }
249
237
  /** The request payload for transferring call to a participant. */
250
238
  export interface TransferToParticipantRequest {
251
- /** The identity of the target where call should be transferred to. */
239
+ /** 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. */
252
240
  targetParticipant: CommunicationIdentifierModel;
253
241
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
254
242
  operationContext?: string;
255
- /** Transferee is the participant who is transferred away. */
243
+ /** 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. */
256
244
  transferee?: CommunicationIdentifierModel;
257
245
  /**
258
246
  * Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
259
247
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
260
248
  */
261
249
  operationCallbackUri?: string;
262
- /** Used by customer to send custom calling context to targets */
250
+ /** The custom calling context which will be sent to the target */
263
251
  customCallingContext?: CustomCallingContextInternal;
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. */
252
+ /** A phone number. */
265
253
  sourceCallerIdNumber?: PhoneNumberIdentifierModel;
266
254
  }
267
255
  /** The custom calling context which will be sent to the target */
@@ -274,7 +262,7 @@ export interface CustomCallingContextInternal {
274
262
  sipHeaders?: {
275
263
  [propertyName: string]: string;
276
264
  };
277
- /** Custom calling context TeamsPhoneCallDetails */
265
+ /** The call details which will be sent to the target */
278
266
  teamsPhoneCallDetails?: TeamsPhoneCallDetailsInternal;
279
267
  }
280
268
  /** The call details which will be sent to the target */
@@ -300,7 +288,7 @@ export interface TeamsPhoneCallDetailsInternal {
300
288
  }
301
289
  /** Container for details relating to the original caller of the call */
302
290
  export interface TeamsPhoneCallerDetailsInternal {
303
- /** Caller's ID */
291
+ /** 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. */
304
292
  caller: CommunicationIdentifierModel;
305
293
  /** Caller's name */
306
294
  name: string;
@@ -319,7 +307,7 @@ export interface TeamsPhoneCallerDetailsInternal {
319
307
  }
320
308
  /** Container for details relating to the entity responsible for the creation of these call details */
321
309
  export interface TeamsPhoneSourceDetailsInternal {
322
- /** ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA) */
310
+ /** 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. */
323
311
  source: CommunicationIdentifierModel;
324
312
  /** Language of the source entity passing along the call details, passed in the ISO-639 standard */
325
313
  language: string;
@@ -345,7 +333,6 @@ export interface PlayRequest {
345
333
  playTo?: CommunicationIdentifierModel[];
346
334
  /** If set play can barge into other existing queued-up/currently-processing requests. */
347
335
  interruptCallMediaOperation?: boolean;
348
- /** Defines options for playing the audio. */
349
336
  playOptions?: PlayOptionsInternal;
350
337
  /** The value to identify context of the operation. */
351
338
  operationContext?: string;
@@ -356,15 +343,12 @@ export interface PlayRequest {
356
343
  operationCallbackUri?: string;
357
344
  }
358
345
  export interface PlaySourceInternal {
359
- /** Defines the type of the play source */
346
+ /** Defines the types of play source */
360
347
  kind: PlaySourceType;
361
348
  /** Defines the identifier to be used for caching related media */
362
349
  playSourceCacheId?: string;
363
- /** Defines the file source info to be used for play */
364
350
  file?: FileSourceInternal;
365
- /** Defines the text source info to be used for play */
366
351
  text?: TextSourceInternal;
367
- /** Defines the ssml(Speech Synthesis Markup Language) source info to be used for play */
368
352
  ssml?: SsmlSourceInternal;
369
353
  }
370
354
  export interface FileSourceInternal {
@@ -379,7 +363,7 @@ export interface TextSourceInternal {
379
363
  * Refer to available locales here: <seealso href="https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts" />
380
364
  */
381
365
  sourceLocale?: string;
382
- /** Voice kind type */
366
+ /** Audio kind type */
383
367
  voiceKind?: VoiceKind;
384
368
  /**
385
369
  * Voice name to be played
@@ -411,28 +395,6 @@ export interface StartTranscriptionRequest {
411
395
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
412
396
  */
413
397
  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;
436
398
  }
437
399
  export interface StopTranscriptionRequest {
438
400
  /** The value to identify context of the operation. */
@@ -455,34 +417,15 @@ export interface UpdateTranscriptionRequest {
455
417
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
456
418
  */
457
419
  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
420
  }
476
421
  export interface RecognizeRequest {
477
- /** Determines the type of the recognition. */
422
+ /** Defines the type of the recognize input */
478
423
  recognizeInputType: RecognizeInputType;
479
- /** The source of the audio to be played for recognition. */
480
424
  playPrompt?: PlaySourceInternal;
481
425
  /** The source of the audio to be played for recognition. */
482
426
  playPrompts?: PlaySourceInternal[];
483
427
  /** If set recognize can barge into other existing queued-up/currently-processing requests. */
484
428
  interruptCallMediaOperation?: boolean;
485
- /** Defines options for recognition. */
486
429
  recognizeOptions: RecognizeOptions;
487
430
  /** The value to identify context of the operation. */
488
431
  operationContext?: string;
@@ -497,21 +440,17 @@ export interface RecognizeOptions {
497
440
  interruptPrompt?: boolean;
498
441
  /** Time to wait for first input after prompt (if any). */
499
442
  initialSilenceTimeoutInSeconds?: number;
500
- /** Target participant of DTMF tone recognition. */
443
+ /** 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. */
501
444
  targetParticipant: CommunicationIdentifierModel;
502
445
  /** Speech language to be recognized, If not set default is en-US */
503
446
  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;
508
447
  /** Endpoint where the custom model was deployed. */
509
448
  speechRecognitionModelEndpointId?: string;
510
- /** Defines configurations for DTMF. */
449
+ /** Options for DTMF recognition */
511
450
  dtmfOptions?: DtmfOptions;
512
451
  /** Defines Ivr choices for recognize. */
513
452
  choices?: Choice[];
514
- /** Defines continuous speech recognition option. */
453
+ /** Options for continuous speech recognition */
515
454
  speechOptions?: SpeechOptions;
516
455
  }
517
456
  /** Options for DTMF recognition */
@@ -528,6 +467,7 @@ export interface Choice {
528
467
  label: string;
529
468
  /** List of phrases to recognize */
530
469
  phrases: string[];
470
+ /** List of valid stop tones */
531
471
  tone?: Tone;
532
472
  }
533
473
  /** Options for continuous speech recognition */
@@ -536,7 +476,7 @@ export interface SpeechOptions {
536
476
  endSilenceTimeoutInMs?: number;
537
477
  }
538
478
  export interface ContinuousDtmfRecognitionRequest {
539
- /** Defines options for recognition. */
479
+ /** 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. */
540
480
  targetParticipant: CommunicationIdentifierModel;
541
481
  /** The value to identify context of the operation. */
542
482
  operationContext?: string;
@@ -549,7 +489,7 @@ export interface ContinuousDtmfRecognitionRequest {
549
489
  export interface SendDtmfTonesRequest {
550
490
  /** List of tones to be sent to target participant. */
551
491
  tones: Tone[];
552
- /** Target participant of send Dtmf tones. */
492
+ /** 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. */
553
493
  targetParticipant: CommunicationIdentifierModel;
554
494
  /** The value to identify context of the operation. */
555
495
  operationContext?: string;
@@ -565,9 +505,8 @@ export interface SendDtmfTonesResult {
565
505
  }
566
506
  /** The request payload for holding participant from the call. */
567
507
  export interface HoldRequest {
568
- /** Participant to be held from the call. */
508
+ /** 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. */
569
509
  targetParticipant: CommunicationIdentifierModel;
570
- /** Prompt to play while in hold. */
571
510
  playSourceInfo?: PlaySourceInternal;
572
511
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
573
512
  operationContext?: string;
@@ -579,10 +518,7 @@ export interface HoldRequest {
579
518
  }
580
519
  /** The request payload for holding participant from the call. */
581
520
  export interface UnholdRequest {
582
- /**
583
- * Participants to be hold from the call.
584
- * Only ACS Users are supported.
585
- */
521
+ /** 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. */
586
522
  targetParticipant: CommunicationIdentifierModel;
587
523
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
588
524
  operationContext?: string;
@@ -619,7 +555,7 @@ export interface GetParticipantsResponse {
619
555
  }
620
556
  /** A call participant. */
621
557
  export interface CallParticipantInternal {
622
- /** Communication identifier of the participant */
558
+ /** 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. */
623
559
  identifier?: CommunicationIdentifierModel;
624
560
  /** Is participant muted */
625
561
  isMuted?: boolean;
@@ -628,17 +564,14 @@ export interface CallParticipantInternal {
628
564
  }
629
565
  /** The request payload for adding participant to the call. */
630
566
  export interface AddParticipantRequest {
631
- /**
632
- * The source caller Id, a phone number, that's shown to the PSTN participant being invited.
633
- * Required only when inviting a PSTN participant.
634
- */
567
+ /** A phone number. */
635
568
  sourceCallerIdNumber?: PhoneNumberIdentifierModel;
636
569
  /**
637
570
  * (Optional) The display name of the source that is associated with this invite operation when
638
571
  * adding a PSTN participant or teams user. Note: Will not update the display name in the roster.
639
572
  */
640
573
  sourceDisplayName?: string;
641
- /** The participant to invite. */
574
+ /** 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. */
642
575
  participantToAdd: CommunicationIdentifierModel;
643
576
  /**
644
577
  * Gets or sets the timeout to wait for the invited participant to pickup.
@@ -652,12 +585,12 @@ export interface AddParticipantRequest {
652
585
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
653
586
  */
654
587
  operationCallbackUri?: string;
655
- /** Used by customer to send custom calling context to targets */
588
+ /** The custom calling context which will be sent to the target */
656
589
  customCallingContext?: CustomCallingContextInternal;
657
590
  }
658
591
  /** The response payload for adding participants to the call. */
659
592
  export interface AddParticipantResponse {
660
- /** List of current participants in the call. */
593
+ /** A call participant. */
661
594
  participant?: CallParticipantInternal;
662
595
  /** The operation context provided by client. */
663
596
  operationContext?: string;
@@ -666,7 +599,7 @@ export interface AddParticipantResponse {
666
599
  }
667
600
  /** The remove participant by identifier request. */
668
601
  export interface RemoveParticipantRequest {
669
- /** The participants to be removed from the call. */
602
+ /** 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. */
670
603
  participantToRemove: CommunicationIdentifierModel;
671
604
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
672
605
  operationContext?: string;
@@ -740,7 +673,7 @@ export interface MoveParticipantsResponse {
740
673
  }
741
674
  /** The request payload start for call recording operation with call locator. */
742
675
  export interface StartCallRecordingRequest {
743
- /** The call locator. (Only one of callLocator or callConnectionId to be used) */
676
+ /** The locator used for joining or taking action on a call */
744
677
  callLocator?: CallLocator;
745
678
  /** The call connection Id. (Only one of callLocator or callConnectionId to be used) */
746
679
  callConnectionId?: string;
@@ -748,9 +681,9 @@ export interface StartCallRecordingRequest {
748
681
  recordingStateCallbackUri?: string;
749
682
  /** The content type of call recording. */
750
683
  recordingContentType?: RecordingContentType;
751
- /** The channel type of call recording. */
684
+ /** Defines the channel type of call recording. */
752
685
  recordingChannelType?: RecordingChannelType;
753
- /** The format type of call recording. */
686
+ /** Defines the format type of call recording. */
754
687
  recordingFormatType?: RecordingFormatType;
755
688
  /**
756
689
  * The sequential order in which audio channels are assigned to participants in the unmixed recording.
@@ -768,17 +701,13 @@ export interface StartCallRecordingRequest {
768
701
  channelAffinity?: ChannelAffinity[];
769
702
  /** When set to true will start recording in Pause mode, which can be resumed. */
770
703
  pauseOnStart?: boolean;
771
- /** Optional property to specify location where recording will be stored */
772
704
  recordingStorage?: RecordingStorage;
773
705
  }
774
706
  /** Channel affinity for a participant */
775
707
  export interface ChannelAffinity {
776
708
  /** Channel number to which bitstream from a particular participant will be written. */
777
709
  channel?: number;
778
- /**
779
- * The identifier for the participant whose bitstream will be written to the channel
780
- * represented by the channel number.
781
- */
710
+ /** 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. */
782
711
  participant: CommunicationIdentifierModel;
783
712
  }
784
713
  export interface RecordingStorage {
@@ -802,9 +731,8 @@ export interface AddParticipantFailed {
802
731
  correlationId?: string;
803
732
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
804
733
  operationContext?: string;
805
- /** Contains the resulting SIP code, sub-code and message. */
806
734
  resultInformation?: ResultInformation;
807
- /** Participant */
735
+ /** 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. */
808
736
  participant?: CommunicationIdentifierModel;
809
737
  }
810
738
  export interface ResultInformation {
@@ -814,17 +742,7 @@ export interface ResultInformation {
814
742
  subCode?: number;
815
743
  /** Detail message that describes the current result. */
816
744
  message?: string;
817
- /**
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.
821
- */
822
745
  sipDetails?: SipDiagnosticInfo;
823
- /**
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.
827
- */
828
746
  q850Details?: SipDiagnosticInfo;
829
747
  }
830
748
  export interface SipDiagnosticInfo {
@@ -843,11 +761,22 @@ export interface AddParticipantSucceeded {
843
761
  correlationId?: string;
844
762
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
845
763
  operationContext?: string;
846
- /** Contains the resulting SIP code, sub-code and message. */
847
764
  resultInformation?: ResultInformation;
848
- /** Participant */
765
+ /** 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. */
849
766
  participant?: CommunicationIdentifierModel;
850
767
  }
768
+ /** The failed to answer call event. */
769
+ export interface AnswerFailed {
770
+ /** Call connection ID. */
771
+ callConnectionId?: string;
772
+ /** Server call ID. */
773
+ serverCallId?: string;
774
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
775
+ correlationId?: string;
776
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
777
+ operationContext?: string;
778
+ resultInformation?: ResultInformation;
779
+ }
851
780
  /** The call connected event. */
852
781
  export interface CallConnected {
853
782
  /** Call connection ID. */
@@ -858,7 +787,6 @@ export interface CallConnected {
858
787
  correlationId?: string;
859
788
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
860
789
  operationContext?: string;
861
- /** Contains the resulting SIP code, sub-code and message. */
862
790
  resultInformation?: ResultInformation;
863
791
  }
864
792
  /** The call disconnected event. */
@@ -871,7 +799,6 @@ export interface CallDisconnected {
871
799
  correlationId?: string;
872
800
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
873
801
  operationContext?: string;
874
- /** Contains the resulting SIP code, sub-code and message. */
875
802
  resultInformation?: ResultInformation;
876
803
  }
877
804
  /** The call transfer accepted event. */
@@ -884,11 +811,10 @@ export interface CallTransferAccepted {
884
811
  correlationId?: string;
885
812
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
886
813
  operationContext?: string;
887
- /** Contains the resulting SIP code, sub-code and message. */
888
814
  resultInformation?: ResultInformation;
889
- /** Target who the call is transferred to. */
815
+ /** 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. */
890
816
  transferTarget?: CommunicationIdentifierModel;
891
- /** the participant who is being transferred away. */
817
+ /** 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. */
892
818
  transferee?: CommunicationIdentifierModel;
893
819
  }
894
820
  /** The call transfer failed event. */
@@ -901,26 +827,24 @@ export interface CallTransferFailed {
901
827
  correlationId?: string;
902
828
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
903
829
  operationContext?: string;
904
- /** Contains the resulting SIP code, sub-code and message. */
905
830
  resultInformation?: ResultInformation;
906
831
  }
907
- /** The participants updated in a call event. */
908
- export interface ParticipantsUpdated {
832
+ /** Failed cancel add participant event. */
833
+ export interface CancelAddParticipantFailed {
909
834
  /** Call connection ID. */
910
835
  callConnectionId?: string;
911
836
  /** Server call ID. */
912
837
  serverCallId?: string;
913
838
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
914
839
  correlationId?: string;
915
- /** The Sequence Number of the event */
916
- sequenceNumber?: number;
917
- /** The list of participants in the call. */
918
- participants?: CallParticipantInternal[];
919
- /** Contains the resulting SIP code, sub-code and message. */
840
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
841
+ operationContext?: string;
842
+ /** Invitation ID used to cancel the request. */
843
+ invitationId?: string;
920
844
  resultInformation?: ResultInformation;
921
845
  }
922
- /** The participant removed event. */
923
- export interface RemoveParticipantSucceeded {
846
+ /** Successful cancel add participant event. */
847
+ export interface CancelAddParticipantSucceeded {
924
848
  /** Call connection ID. */
925
849
  callConnectionId?: string;
926
850
  /** Server call ID. */
@@ -929,13 +853,23 @@ export interface RemoveParticipantSucceeded {
929
853
  correlationId?: string;
930
854
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
931
855
  operationContext?: string;
932
- /** Contains the resulting SIP code, sub-code and message. */
856
+ /** Invitation ID used to cancel the request. */
857
+ invitationId?: string;
933
858
  resultInformation?: ResultInformation;
934
- /** Participant */
935
- participant?: CommunicationIdentifierModel;
936
859
  }
937
- /** The failed to remove participant event. */
938
- export interface RemoveParticipantFailed {
860
+ export interface ChoiceResult {
861
+ /** Label is the primary identifier for the choice detected */
862
+ label?: string;
863
+ /**
864
+ * Phrases are set to the value if choice is selected via phrase detection.
865
+ * If Dtmf input is recognized, then Label will be the identifier for the choice detected and phrases will be set to null
866
+ */
867
+ recognizedPhrase?: string;
868
+ /** The confidence level of the recognized speech, if available, ranges from 0.0 to 1.0 */
869
+ confidence?: number;
870
+ }
871
+ /** The ConnectFailed event. */
872
+ export interface ConnectFailed {
939
873
  /** Call connection ID. */
940
874
  callConnectionId?: string;
941
875
  /** Server call ID. */
@@ -944,13 +878,9 @@ export interface RemoveParticipantFailed {
944
878
  correlationId?: string;
945
879
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
946
880
  operationContext?: string;
947
- /** Contains the resulting SIP code, sub-code and message. */
948
881
  resultInformation?: ResultInformation;
949
- /** Participant */
950
- participant?: CommunicationIdentifierModel;
951
882
  }
952
- /** Successful cancel add participant event. */
953
- export interface CancelAddParticipantSucceeded {
883
+ export interface ContinuousDtmfRecognitionStopped {
954
884
  /** Call connection ID. */
955
885
  callConnectionId?: string;
956
886
  /** Server call ID. */
@@ -959,28 +889,27 @@ export interface CancelAddParticipantSucceeded {
959
889
  correlationId?: string;
960
890
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
961
891
  operationContext?: string;
962
- /** Invitation ID used to cancel the request. */
963
- invitationId?: string;
964
- /** Contains the resulting SIP code, sub-code and message. */
965
892
  resultInformation?: ResultInformation;
966
893
  }
967
- /** Failed cancel add participant event. */
968
- export interface CancelAddParticipantFailed {
894
+ export interface ContinuousDtmfRecognitionToneFailed {
969
895
  /** Call connection ID. */
970
896
  callConnectionId?: string;
971
897
  /** Server call ID. */
972
898
  serverCallId?: string;
973
899
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
974
900
  correlationId?: string;
901
+ resultInformation?: ResultInformation;
975
902
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
976
903
  operationContext?: string;
977
- /** Contains the resulting SIP code, sub-code and message. */
978
- resultInformation?: ResultInformation;
979
- /** Invitation ID used to cancel the request. */
980
- invitationId?: string;
981
904
  }
982
- /** The failed to answer call event. */
983
- export interface AnswerFailed {
905
+ export interface ContinuousDtmfRecognitionToneReceived {
906
+ /**
907
+ * The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.
908
+ * NOTE: This property will not be serialized. It can only be populated by the server.
909
+ */
910
+ readonly sequenceId?: number;
911
+ /** List of valid stop tones */
912
+ tone?: Tone;
984
913
  /** Call connection ID. */
985
914
  callConnectionId?: string;
986
915
  /** Server call ID. */
@@ -989,7 +918,6 @@ export interface AnswerFailed {
989
918
  correlationId?: string;
990
919
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
991
920
  operationContext?: string;
992
- /** Contains the resulting SIP code, sub-code and message. */
993
921
  resultInformation?: ResultInformation;
994
922
  }
995
923
  /** The create call failed event. */
@@ -1002,11 +930,13 @@ export interface CreateCallFailed {
1002
930
  correlationId?: string;
1003
931
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1004
932
  operationContext?: string;
1005
- /** Contains the resulting SIP code, sub-code and message. */
1006
933
  resultInformation?: ResultInformation;
1007
934
  }
1008
- /** The ConnectFailed event. */
1009
- export interface ConnectFailed {
935
+ export interface DtmfResult {
936
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
937
+ readonly tones?: Tone[];
938
+ }
939
+ export interface HoldFailed {
1010
940
  /** Call connection ID. */
1011
941
  callConnectionId?: string;
1012
942
  /** Server call ID. */
@@ -1015,13 +945,10 @@ export interface ConnectFailed {
1015
945
  correlationId?: string;
1016
946
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1017
947
  operationContext?: string;
1018
- /** Contains the resulting SIP code, sub-code and message. */
1019
948
  resultInformation?: ResultInformation;
1020
949
  }
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;
950
+ export interface MediaStreamingFailed {
951
+ mediaStreamingUpdate?: MediaStreamingUpdate;
1025
952
  /** Call connection ID. */
1026
953
  callConnectionId?: string;
1027
954
  /** Server call ID. */
@@ -1030,15 +957,15 @@ export interface MoveParticipantSucceeded {
1030
957
  correlationId?: string;
1031
958
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1032
959
  operationContext?: string;
1033
- /** Contains the resulting SIP code, sub-code and message. */
1034
960
  resultInformation?: ResultInformation;
1035
- /** Participant */
1036
- participant?: CommunicationIdentifierModel;
1037
961
  }
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;
962
+ export interface MediaStreamingUpdate {
963
+ contentType?: string;
964
+ mediaStreamingStatus?: MediaStreamingStatus;
965
+ mediaStreamingStatusDetails?: MediaStreamingStatusDetails;
966
+ }
967
+ export interface MediaStreamingStarted {
968
+ mediaStreamingUpdate?: MediaStreamingUpdate;
1042
969
  /** Call connection ID. */
1043
970
  callConnectionId?: string;
1044
971
  /** Server call ID. */
@@ -1047,35 +974,22 @@ export interface MoveParticipantFailed {
1047
974
  correlationId?: string;
1048
975
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1049
976
  operationContext?: string;
1050
- /** Contains the resulting SIP code, sub-code and message. */
1051
977
  resultInformation?: ResultInformation;
1052
- /** Participant */
1053
- participant?: CommunicationIdentifierModel;
1054
978
  }
1055
- export interface RecordingStateChanged {
979
+ export interface MediaStreamingStopped {
980
+ mediaStreamingUpdate?: MediaStreamingUpdate;
1056
981
  /** Call connection ID. */
1057
982
  callConnectionId?: string;
1058
983
  /** Server call ID. */
1059
984
  serverCallId?: string;
1060
985
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1061
986
  correlationId?: string;
1062
- /**
1063
- * The call recording id
1064
- * NOTE: This property will not be serialized. It can only be populated by the server.
1065
- */
1066
- readonly recordingId?: string;
1067
- state?: RecordingState;
1068
- /**
1069
- * The time of the recording started
1070
- * NOTE: This property will not be serialized. It can only be populated by the server.
1071
- */
1072
- readonly startDateTime?: Date;
1073
- recordingKind?: RecordingKind;
1074
- /** Contains the resulting SIP code, sub-code and message. */
987
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
988
+ operationContext?: string;
1075
989
  resultInformation?: ResultInformation;
1076
990
  }
1077
- /** Play started event. */
1078
- export interface PlayStarted {
991
+ /** Moving the participant failed event. */
992
+ export interface MoveParticipantFailed {
1079
993
  /** Call connection ID. */
1080
994
  callConnectionId?: string;
1081
995
  /** Server call ID. */
@@ -1084,10 +998,14 @@ export interface PlayStarted {
1084
998
  correlationId?: string;
1085
999
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1086
1000
  operationContext?: string;
1087
- /** Contains the resulting SIP code, sub-code and message. */
1088
1001
  resultInformation?: ResultInformation;
1002
+ /** 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. */
1003
+ participant?: CommunicationIdentifierModel;
1004
+ /** The CallConnectionId for the call you want to move the participant from */
1005
+ fromCall?: string;
1089
1006
  }
1090
- export interface PlayCompleted {
1007
+ /** Moving the participant successfully event. */
1008
+ export interface MoveParticipantSucceeded {
1091
1009
  /** Call connection ID. */
1092
1010
  callConnectionId?: string;
1093
1011
  /** Server call ID. */
@@ -1096,22 +1014,25 @@ export interface PlayCompleted {
1096
1014
  correlationId?: string;
1097
1015
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1098
1016
  operationContext?: string;
1099
- /** Contains the resulting SIP code, sub-code and message. */
1100
1017
  resultInformation?: ResultInformation;
1018
+ /** 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. */
1019
+ participant?: CommunicationIdentifierModel;
1020
+ /** The CallConnectionId for the call you want to move the participant from */
1021
+ fromCall?: string;
1101
1022
  }
1102
- export interface PlayFailed {
1023
+ /** The participants updated in a call event. */
1024
+ export interface ParticipantsUpdated {
1103
1025
  /** Call connection ID. */
1104
1026
  callConnectionId?: string;
1105
1027
  /** Server call ID. */
1106
1028
  serverCallId?: string;
1107
1029
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1108
1030
  correlationId?: string;
1109
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1110
- operationContext?: string;
1111
- /** Contains the resulting SIP code, sub-code and message. */
1031
+ /** The Sequence Number of the event */
1032
+ sequenceNumber?: number;
1033
+ /** The list of participants in the call. */
1034
+ participants?: CallParticipantInternal[];
1112
1035
  resultInformation?: ResultInformation;
1113
- /** Contains the index of the failed play source. */
1114
- failedPlaySourceIndex?: number;
1115
1036
  }
1116
1037
  export interface PlayCanceled {
1117
1038
  /** Call connection ID. */
@@ -1122,10 +1043,9 @@ export interface PlayCanceled {
1122
1043
  correlationId?: string;
1123
1044
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1124
1045
  operationContext?: string;
1125
- /** Contains the resulting SIP code, sub-code and message. */
1126
1046
  resultInformation?: ResultInformation;
1127
1047
  }
1128
- export interface RecognizeCompleted {
1048
+ export interface PlayCompleted {
1129
1049
  /** Call connection ID. */
1130
1050
  callConnectionId?: string;
1131
1051
  /** Server call ID. */
@@ -1134,58 +1054,9 @@ export interface RecognizeCompleted {
1134
1054
  correlationId?: string;
1135
1055
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1136
1056
  operationContext?: string;
1137
- /** Contains the resulting SIP code, sub-code and message. */
1138
1057
  resultInformation?: ResultInformation;
1139
- /**
1140
- * Determines the sub-type of the recognize operation.
1141
- * In case of cancel operation the this field is not set and is returned empty
1142
- */
1143
- recognitionType?: RecognitionType;
1144
- /** Defines the result for RecognitionType = Dtmf */
1145
- dtmfResult?: DtmfResult;
1146
- /** Defines the result for RecognitionType = Choices */
1147
- choiceResult?: ChoiceResult;
1148
- /**
1149
- * Defines the result for RecognitionType = Speech and SpeechOrDtmf
1150
- * NOTE: This property will not be serialized. It can only be populated by the server.
1151
- */
1152
- readonly speechResult?: SpeechResult;
1153
- }
1154
- export interface DtmfResult {
1155
- /** NOTE: This property will not be serialized. It can only be populated by the server. */
1156
- readonly tones?: Tone[];
1157
1058
  }
1158
- export interface ChoiceResult {
1159
- /** Label is the primary identifier for the choice detected */
1160
- label?: string;
1161
- /**
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
1164
- */
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;
1172
- }
1173
- export interface SentimentAnalysisResult {
1174
- /** Gets or sets the value of the sentiment detected (positive, negative, neutral, mixed). */
1175
- sentiment?: string;
1176
- }
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;
1187
- }
1188
- export interface RecognizeFailed {
1059
+ export interface PlayFailed {
1189
1060
  /** Call connection ID. */
1190
1061
  callConnectionId?: string;
1191
1062
  /** Server call ID. */
@@ -1194,12 +1065,12 @@ export interface RecognizeFailed {
1194
1065
  correlationId?: string;
1195
1066
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1196
1067
  operationContext?: string;
1197
- /** Contains the resulting SIP code, sub-code and message. */
1198
1068
  resultInformation?: ResultInformation;
1199
1069
  /** Contains the index of the failed play source. */
1200
1070
  failedPlaySourceIndex?: number;
1201
1071
  }
1202
- export interface RecognizeCanceled {
1072
+ /** Play started event. */
1073
+ export interface PlayStarted {
1203
1074
  /** Call connection ID. */
1204
1075
  callConnectionId?: string;
1205
1076
  /** Server call ID. */
@@ -1208,28 +1079,9 @@ export interface RecognizeCanceled {
1208
1079
  correlationId?: string;
1209
1080
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1210
1081
  operationContext?: string;
1211
- /** Contains the resulting SIP code, sub-code and message. */
1212
- resultInformation?: ResultInformation;
1213
- }
1214
- export interface ContinuousDtmfRecognitionToneFailed {
1215
- /** Call connection ID. */
1216
- callConnectionId?: string;
1217
- /** Server call ID. */
1218
- serverCallId?: string;
1219
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1220
- correlationId?: string;
1221
- /** Contains the resulting SIP code, sub-code and message. */
1222
1082
  resultInformation?: ResultInformation;
1223
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1224
- operationContext?: string;
1225
1083
  }
1226
- export interface ContinuousDtmfRecognitionToneReceived {
1227
- /**
1228
- * The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed.
1229
- * NOTE: This property will not be serialized. It can only be populated by the server.
1230
- */
1231
- readonly sequenceId?: number;
1232
- tone?: Tone;
1084
+ export interface RecognizeCanceled {
1233
1085
  /** Call connection ID. */
1234
1086
  callConnectionId?: string;
1235
1087
  /** Server call ID. */
@@ -1238,10 +1090,9 @@ export interface ContinuousDtmfRecognitionToneReceived {
1238
1090
  correlationId?: string;
1239
1091
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1240
1092
  operationContext?: string;
1241
- /** Contains the resulting SIP code, sub-code and message. */
1242
1093
  resultInformation?: ResultInformation;
1243
1094
  }
1244
- export interface ContinuousDtmfRecognitionStopped {
1095
+ export interface RecognizeCompleted {
1245
1096
  /** Call connection ID. */
1246
1097
  callConnectionId?: string;
1247
1098
  /** Server call ID. */
@@ -1250,10 +1101,25 @@ export interface ContinuousDtmfRecognitionStopped {
1250
1101
  correlationId?: string;
1251
1102
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1252
1103
  operationContext?: string;
1253
- /** Contains the resulting SIP code, sub-code and message. */
1254
1104
  resultInformation?: ResultInformation;
1105
+ /**
1106
+ * Recognition type determines the sub-type of the recognition operation
1107
+ * Possible values will be Dtmf, Speech, or Choices
1108
+ */
1109
+ recognitionType?: RecognitionType;
1110
+ dtmfResult?: DtmfResult;
1111
+ choiceResult?: ChoiceResult;
1112
+ /** The speech status as a result. */
1113
+ speechResult?: SpeechResult;
1255
1114
  }
1256
- export interface SendDtmfTonesCompleted {
1115
+ /** The speech status as a result. */
1116
+ export interface SpeechResult {
1117
+ /** The recognized speech in string. */
1118
+ speech?: string;
1119
+ /** The confidence level of the recognized speech, if available, ranges from 0.0 to 1.0. */
1120
+ confidence?: number;
1121
+ }
1122
+ export interface RecognizeFailed {
1257
1123
  /** Call connection ID. */
1258
1124
  callConnectionId?: string;
1259
1125
  /** Server call ID. */
@@ -1262,27 +1128,33 @@ export interface SendDtmfTonesCompleted {
1262
1128
  correlationId?: string;
1263
1129
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1264
1130
  operationContext?: string;
1265
- /** Contains the resulting SIP code, sub-code and message. */
1266
1131
  resultInformation?: ResultInformation;
1132
+ /** Contains the index of the failed play source. */
1133
+ failedPlaySourceIndex?: number;
1267
1134
  }
1268
- export interface SendDtmfTonesFailed {
1135
+ export interface RecordingStateChanged {
1269
1136
  /** Call connection ID. */
1270
1137
  callConnectionId?: string;
1271
1138
  /** Server call ID. */
1272
1139
  serverCallId?: string;
1273
1140
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1274
1141
  correlationId?: string;
1275
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1276
- operationContext?: string;
1277
- /** Contains the resulting SIP code, sub-code and message. */
1278
- resultInformation?: ResultInformation;
1279
- }
1280
- export interface MediaStreamingFailed {
1281
1142
  /**
1282
- * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1143
+ * The call recording id
1144
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1145
+ */
1146
+ readonly recordingId?: string;
1147
+ state?: RecordingState;
1148
+ /**
1149
+ * The time of the recording started
1283
1150
  * NOTE: This property will not be serialized. It can only be populated by the server.
1284
1151
  */
1285
- readonly mediaStreamingUpdate?: MediaStreamingUpdate;
1152
+ readonly startDateTime?: Date;
1153
+ recordingKind?: RecordingKind;
1154
+ resultInformation?: ResultInformation;
1155
+ }
1156
+ /** The failed to remove participant event. */
1157
+ export interface RemoveParticipantFailed {
1286
1158
  /** Call connection ID. */
1287
1159
  callConnectionId?: string;
1288
1160
  /** Server call ID. */
@@ -1291,20 +1163,12 @@ export interface MediaStreamingFailed {
1291
1163
  correlationId?: string;
1292
1164
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1293
1165
  operationContext?: string;
1294
- /** Contains the resulting SIP code, sub-code and message. */
1295
1166
  resultInformation?: ResultInformation;
1167
+ /** 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. */
1168
+ participant?: CommunicationIdentifierModel;
1296
1169
  }
1297
- export interface MediaStreamingUpdate {
1298
- contentType?: string;
1299
- mediaStreamingStatus?: MediaStreamingStatus;
1300
- mediaStreamingStatusDetails?: MediaStreamingStatusDetails;
1301
- }
1302
- export interface MediaStreamingStarted {
1303
- /**
1304
- * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1305
- * NOTE: This property will not be serialized. It can only be populated by the server.
1306
- */
1307
- readonly mediaStreamingUpdate?: MediaStreamingUpdate;
1170
+ /** The participant removed event. */
1171
+ export interface RemoveParticipantSucceeded {
1308
1172
  /** Call connection ID. */
1309
1173
  callConnectionId?: string;
1310
1174
  /** Server call ID. */
@@ -1313,15 +1177,11 @@ export interface MediaStreamingStarted {
1313
1177
  correlationId?: string;
1314
1178
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1315
1179
  operationContext?: string;
1316
- /** Contains the resulting SIP code, sub-code and message. */
1317
1180
  resultInformation?: ResultInformation;
1181
+ /** 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. */
1182
+ participant?: CommunicationIdentifierModel;
1318
1183
  }
1319
- export interface MediaStreamingStopped {
1320
- /**
1321
- * Defines the result for MediaStreamingUpdate with the current status and the details about the status
1322
- * NOTE: This property will not be serialized. It can only be populated by the server.
1323
- */
1324
- readonly mediaStreamingUpdate?: MediaStreamingUpdate;
1184
+ export interface SendDtmfTonesCompleted {
1325
1185
  /** Call connection ID. */
1326
1186
  callConnectionId?: string;
1327
1187
  /** Server call ID. */
@@ -1330,10 +1190,9 @@ export interface MediaStreamingStopped {
1330
1190
  correlationId?: string;
1331
1191
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1332
1192
  operationContext?: string;
1333
- /** Contains the resulting SIP code, sub-code and message. */
1334
1193
  resultInformation?: ResultInformation;
1335
1194
  }
1336
- export interface HoldFailed {
1195
+ export interface SendDtmfTonesFailed {
1337
1196
  /** Call connection ID. */
1338
1197
  callConnectionId?: string;
1339
1198
  /** Server call ID. */
@@ -1342,7 +1201,6 @@ export interface HoldFailed {
1342
1201
  correlationId?: string;
1343
1202
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1344
1203
  operationContext?: string;
1345
- /** Contains the resulting SIP code, sub-code and message. */
1346
1204
  resultInformation?: ResultInformation;
1347
1205
  }
1348
1206
  export interface StartRecordingFailed {
@@ -1359,15 +1217,10 @@ export interface StartRecordingFailed {
1359
1217
  correlationId?: string;
1360
1218
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1361
1219
  operationContext?: string;
1362
- /** Contains the resulting SIP code, sub-code and message. */
1363
1220
  resultInformation?: ResultInformation;
1364
1221
  }
1365
1222
  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;
1223
+ transcriptionUpdate?: TranscriptionUpdate;
1371
1224
  /** Call connection ID. */
1372
1225
  callConnectionId?: string;
1373
1226
  /** Server call ID. */
@@ -1376,21 +1229,14 @@ export interface TranscriptionFailed {
1376
1229
  correlationId?: string;
1377
1230
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1378
1231
  operationContext?: string;
1379
- /** Contains the resulting SIP code, sub-code and message. */
1380
1232
  resultInformation?: ResultInformation;
1381
1233
  }
1382
1234
  export interface TranscriptionUpdate {
1383
1235
  transcriptionStatus?: TranscriptionStatus;
1384
1236
  transcriptionStatusDetails?: TranscriptionStatusDetails;
1385
- /** Optional message providing additional context about the transcription update. */
1386
- transcriptionMessage?: string;
1387
1237
  }
1388
1238
  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;
1239
+ transcriptionUpdate?: TranscriptionUpdate;
1394
1240
  /** Call connection ID. */
1395
1241
  callConnectionId?: string;
1396
1242
  /** Server call ID. */
@@ -1399,15 +1245,10 @@ export interface TranscriptionStarted {
1399
1245
  correlationId?: string;
1400
1246
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1401
1247
  operationContext?: string;
1402
- /** Contains the resulting SIP code, sub-code and message. */
1403
1248
  resultInformation?: ResultInformation;
1404
1249
  }
1405
1250
  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;
1251
+ transcriptionUpdate?: TranscriptionUpdate;
1411
1252
  /** Call connection ID. */
1412
1253
  callConnectionId?: string;
1413
1254
  /** Server call ID. */
@@ -1416,32 +1257,10 @@ export interface TranscriptionStopped {
1416
1257
  correlationId?: string;
1417
1258
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1418
1259
  operationContext?: string;
1419
- /** Contains the resulting SIP code, sub-code and message. */
1420
1260
  resultInformation?: ResultInformation;
1421
1261
  }
1422
1262
  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;
1428
- /** Call connection ID. */
1429
- callConnectionId?: string;
1430
- /** Server call ID. */
1431
- serverCallId?: string;
1432
- /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
1433
- correlationId?: string;
1434
- /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1435
- operationContext?: string;
1436
- /** Contains the resulting SIP code, sub-code and message. */
1437
- resultInformation?: ResultInformation;
1438
- }
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;
1263
+ transcriptionUpdate?: TranscriptionUpdate;
1445
1264
  /** Call connection ID. */
1446
1265
  callConnectionId?: string;
1447
1266
  /** Server call ID. */
@@ -1450,7 +1269,6 @@ export interface TranscriptionCallSummaryUpdated {
1450
1269
  correlationId?: string;
1451
1270
  /** Used by customers when calling mid-call actions to correlate the request to the response event. */
1452
1271
  operationContext?: string;
1453
- /** Contains the resulting SIP code, sub-code and message. */
1454
1272
  resultInformation?: ResultInformation;
1455
1273
  }
1456
1274
  /** Represents the options for WebSocket transport. */
@@ -1459,12 +1277,13 @@ export interface WebSocketMediaStreamingOptions extends MediaStreamingOptionsInt
1459
1277
  transportType: "websocket";
1460
1278
  /** The transport URL for media streaming. */
1461
1279
  transportUrl?: string;
1280
+ /** Type of content in Media streaming. */
1462
1281
  contentType?: MediaStreamingContentType;
1463
1282
  /** A value indicating whether the media streaming should start immediately after the call is answered. */
1464
1283
  startMediaStreaming?: boolean;
1465
1284
  /** A value indicating whether bidirectional streaming is enabled. */
1466
1285
  enableBidirectional?: boolean;
1467
- /** The audio format used for encoding, including sample rate and channel type. The default is Pcm16KMono. */
1286
+ /** The format of the audio received from the audio subscription option. */
1468
1287
  audioFormat?: AudioFormat;
1469
1288
  /** A value that indicates whether to stream the DTMF tones. */
1470
1289
  enableDtmfTones?: boolean;
@@ -1481,14 +1300,6 @@ export interface WebSocketTranscriptionOptions extends TranscriptionOptionsInter
1481
1300
  startTranscription?: boolean;
1482
1301
  /** Enables intermediate results for the transcribed speech. */
1483
1302
  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;
1492
1303
  }
1493
1304
  /** Known values of {@link CommunicationIdentifierModelKind} that the service accepts. */
1494
1305
  export declare enum KnownCommunicationIdentifierModelKind {
@@ -1737,19 +1548,6 @@ export declare enum KnownVoiceKind {
1737
1548
  * **female**
1738
1549
  */
1739
1550
  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;
1753
1551
  /** Known values of {@link RecognizeInputType} that the service accepts. */
1754
1552
  export declare enum KnownRecognizeInputType {
1755
1553
  /** Dtmf */
@@ -1883,18 +1681,18 @@ export declare enum KnownRecordingFormatType {
1883
1681
  export type RecordingFormatType = string;
1884
1682
  /** Known values of {@link RecordingStorageKind} that the service accepts. */
1885
1683
  export declare enum KnownRecordingStorageKind {
1886
- /** Storage managed by Azure Communication Services */
1887
- AzureCommunicationServices = "AzureCommunicationServices",
1888
- /** Storage managed by provided Azure blob */
1889
- AzureBlobStorage = "AzureBlobStorage"
1684
+ /** AzureCommunicationServices */
1685
+ AzureCommunicationServices = "azureCommunicationServices",
1686
+ /** AzureBlobStorage */
1687
+ AzureBlobStorage = "azureBlobStorage"
1890
1688
  }
1891
1689
  /**
1892
1690
  * Defines values for RecordingStorageKind. \
1893
1691
  * {@link KnownRecordingStorageKind} can be used interchangeably with RecordingStorageKind,
1894
1692
  * this enum contains the known values that the service supports.
1895
1693
  * ### Known values supported by the service
1896
- * **AzureCommunicationServices**: Storage managed by Azure Communication Services \
1897
- * **AzureBlobStorage**: Storage managed by provided Azure blob
1694
+ * **azureCommunicationServices** \
1695
+ * **azureBlobStorage**
1898
1696
  */
1899
1697
  export type RecordingStorageKind = string;
1900
1698
  /** Known values of {@link RecordingState} that the service accepts. */
@@ -1915,58 +1713,23 @@ export declare enum KnownRecordingState {
1915
1713
  export type RecordingState = string;
1916
1714
  /** Known values of {@link RecordingKind} that the service accepts. */
1917
1715
  export declare enum KnownRecordingKind {
1918
- /** Recording initiated by Azure Communication Services */
1919
- AzureCommunicationServices = "AzureCommunicationServices",
1920
- /** Recording initiated by Teams user */
1921
- Teams = "Teams",
1922
- /** Recording initiated by Teams compliance policy */
1923
- TeamsCompliance = "TeamsCompliance"
1716
+ /** AzureCommunicationServices */
1717
+ AzureCommunicationServices = "azureCommunicationServices",
1718
+ /** Teams */
1719
+ Teams = "teams",
1720
+ /** TeamsCompliance */
1721
+ TeamsCompliance = "teamsCompliance"
1924
1722
  }
1925
1723
  /**
1926
1724
  * Defines values for RecordingKind. \
1927
1725
  * {@link KnownRecordingKind} can be used interchangeably with RecordingKind,
1928
1726
  * this enum contains the known values that the service supports.
1929
1727
  * ### Known values supported by the service
1930
- * **AzureCommunicationServices**: Recording initiated by Azure Communication Services \
1931
- * **Teams**: Recording initiated by Teams user \
1932
- * **TeamsCompliance**: Recording initiated by Teams compliance policy
1728
+ * **azureCommunicationServices** \
1729
+ * **teams** \
1730
+ * **teamsCompliance**
1933
1731
  */
1934
1732
  export type RecordingKind = string;
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"
1941
- }
1942
- /**
1943
- * Defines values for AudioFormat. \
1944
- * {@link KnownAudioFormat} can be used interchangeably with AudioFormat,
1945
- * this enum contains the known values that the service supports.
1946
- * ### Known values supported by the service
1947
- * **pcm16KMono** \
1948
- * **pcm24KMono**
1949
- */
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"
1959
- }
1960
- /**
1961
- * Defines values for RecognitionType. \
1962
- * {@link KnownRecognitionType} can be used interchangeably with RecognitionType,
1963
- * this enum contains the known values that the service supports.
1964
- * ### Known values supported by the service
1965
- * **dtmf** \
1966
- * **speech** \
1967
- * **choices**
1968
- */
1969
- export type RecognitionType = string;
1970
1733
  /** Known values of {@link MediaStreamingStatus} that the service accepts. */
1971
1734
  export declare enum KnownMediaStreamingStatus {
1972
1735
  /** MediaStreamingStarted */
@@ -2044,6 +1807,25 @@ export declare enum KnownMediaStreamingStatusDetails {
2044
1807
  * **initialWebSocketConnectionFailed**
2045
1808
  */
2046
1809
  export type MediaStreamingStatusDetails = string;
1810
+ /** Known values of {@link RecognitionType} that the service accepts. */
1811
+ export declare enum KnownRecognitionType {
1812
+ /** Dtmf */
1813
+ Dtmf = "dtmf",
1814
+ /** Speech */
1815
+ Speech = "speech",
1816
+ /** Choices */
1817
+ Choices = "choices"
1818
+ }
1819
+ /**
1820
+ * Defines values for RecognitionType. \
1821
+ * {@link KnownRecognitionType} can be used interchangeably with RecognitionType,
1822
+ * this enum contains the known values that the service supports.
1823
+ * ### Known values supported by the service
1824
+ * **dtmf** \
1825
+ * **speech** \
1826
+ * **choices**
1827
+ */
1828
+ export type RecognitionType = string;
2047
1829
  /** Known values of {@link TranscriptionStatus} that the service accepts. */
2048
1830
  export declare enum KnownTranscriptionStatus {
2049
1831
  /** TranscriptionStarted */
@@ -2056,8 +1838,6 @@ export declare enum KnownTranscriptionStatus {
2056
1838
  TranscriptionUpdated = "transcriptionUpdated",
2057
1839
  /** TranscriptionStopped */
2058
1840
  TranscriptionStopped = "transcriptionStopped",
2059
- /** CallSummaryUpdated */
2060
- CallSummaryUpdated = "callSummaryUpdated",
2061
1841
  /** UnspecifiedError */
2062
1842
  UnspecifiedError = "unspecifiedError"
2063
1843
  }
@@ -2071,7 +1851,6 @@ export declare enum KnownTranscriptionStatus {
2071
1851
  * **transcriptionResumed** \
2072
1852
  * **transcriptionUpdated** \
2073
1853
  * **transcriptionStopped** \
2074
- * **callSummaryUpdated** \
2075
1854
  * **unspecifiedError**
2076
1855
  */
2077
1856
  export type TranscriptionStatus = string;
@@ -2106,11 +1885,7 @@ export declare enum KnownTranscriptionStatusDetails {
2106
1885
  /** ServiceTimeout */
2107
1886
  ServiceTimeout = "serviceTimeout",
2108
1887
  /** TranscriptionLocaleUpdated */
2109
- TranscriptionLocaleUpdated = "transcriptionLocaleUpdated",
2110
- /** CallSummarySuccess */
2111
- CallSummarySuccess = "callSummarySuccess",
2112
- /** CallSummaryFailure */
2113
- CallSummaryFailure = "callSummaryFailure"
1888
+ TranscriptionLocaleUpdated = "transcriptionLocaleUpdated"
2114
1889
  }
2115
1890
  /**
2116
1891
  * Defines values for TranscriptionStatusDetails. \
@@ -2131,11 +1906,25 @@ export declare enum KnownTranscriptionStatusDetails {
2131
1906
  * **tooManyRequests** \
2132
1907
  * **forbidden** \
2133
1908
  * **serviceTimeout** \
2134
- * **transcriptionLocaleUpdated** \
2135
- * **callSummarySuccess** \
2136
- * **callSummaryFailure**
1909
+ * **transcriptionLocaleUpdated**
2137
1910
  */
2138
1911
  export type TranscriptionStatusDetails = string;
1912
+ /** Known values of {@link AudioFormat} that the service accepts. */
1913
+ export declare enum KnownAudioFormat {
1914
+ /** Pcm16KMono */
1915
+ Pcm16KMono = "pcm16KMono",
1916
+ /** Pcm24KMono */
1917
+ Pcm24KMono = "pcm24KMono"
1918
+ }
1919
+ /**
1920
+ * Defines values for AudioFormat. \
1921
+ * {@link KnownAudioFormat} can be used interchangeably with AudioFormat,
1922
+ * this enum contains the known values that the service supports.
1923
+ * ### Known values supported by the service
1924
+ * **pcm16KMono** \
1925
+ * **pcm24KMono**
1926
+ */
1927
+ export type AudioFormat = string;
2139
1928
  /** Optional parameters. */
2140
1929
  export interface CreateCallOptionalParams extends coreClient.OperationOptions {
2141
1930
  /** 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. */
@@ -2274,9 +2063,6 @@ export interface CallMediaStopTranscriptionOptionalParams extends coreClient.Ope
2274
2063
  export interface CallMediaUpdateTranscriptionOptionalParams extends coreClient.OperationOptions {
2275
2064
  }
2276
2065
  /** Optional parameters. */
2277
- export interface CallMediaSummarizeCallOptionalParams extends coreClient.OperationOptions {
2278
- }
2279
- /** Optional parameters. */
2280
2066
  export interface CallMediaCancelAllMediaOperationsOptionalParams extends coreClient.OperationOptions {
2281
2067
  }
2282
2068
  /** Optional parameters. */