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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/README.md +51 -1
  2. package/dist/browser/callAutomationClient.d.ts +9 -2
  3. package/dist/browser/callAutomationClient.d.ts.map +1 -1
  4. package/dist/browser/callAutomationClient.js +115 -10
  5. package/dist/browser/callAutomationClient.js.map +1 -1
  6. package/dist/browser/callAutomationEventParser.d.ts.map +1 -1
  7. package/dist/browser/callAutomationEventParser.js +47 -1
  8. package/dist/browser/callAutomationEventParser.js.map +1 -1
  9. package/dist/browser/callConnection.d.ts +16 -6
  10. package/dist/browser/callConnection.d.ts.map +1 -1
  11. package/dist/browser/callConnection.js +166 -15
  12. package/dist/browser/callConnection.js.map +1 -1
  13. package/dist/browser/callMedia.d.ts +20 -10
  14. package/dist/browser/callMedia.d.ts.map +1 -1
  15. package/dist/browser/callMedia.js +190 -22
  16. package/dist/browser/callMedia.js.map +1 -1
  17. package/dist/browser/callRecording.d.ts +8 -2
  18. package/dist/browser/callRecording.d.ts.map +1 -1
  19. package/dist/browser/callRecording.js +20 -5
  20. package/dist/browser/callRecording.js.map +1 -1
  21. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  22. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  23. package/dist/browser/eventprocessor/callAutomationEventProcessor.js +137 -0
  24. package/dist/browser/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  25. package/dist/browser/eventprocessor/eventResponses.d.ts +134 -0
  26. package/dist/browser/eventprocessor/eventResponses.d.ts.map +1 -0
  27. package/dist/browser/eventprocessor/eventResponses.js +4 -0
  28. package/dist/browser/eventprocessor/eventResponses.js.map +1 -0
  29. package/dist/browser/generated/src/callAutomationApiClient.d.ts +2 -1
  30. package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -1
  31. package/dist/browser/generated/src/callAutomationApiClient.js +4 -3
  32. package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
  33. package/dist/browser/generated/src/models/index.d.ts +971 -206
  34. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  35. package/dist/browser/generated/src/models/index.js +124 -46
  36. package/dist/browser/generated/src/models/index.js.map +1 -1
  37. package/dist/browser/generated/src/models/mappers.d.ts +59 -11
  38. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  39. package/dist/browser/generated/src/models/mappers.js +2122 -466
  40. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  41. package/dist/browser/generated/src/models/parameters.d.ts +8 -1
  42. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  43. package/dist/browser/generated/src/models/parameters.js +45 -6
  44. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  45. package/dist/browser/generated/src/operations/callConnection.d.ts +16 -2
  46. package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -1
  47. package/dist/browser/generated/src/operations/callConnection.js +65 -1
  48. package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
  49. package/dist/browser/generated/src/operations/callDialog.d.ts +35 -0
  50. package/dist/browser/generated/src/operations/callDialog.d.ts.map +1 -0
  51. package/dist/browser/generated/src/operations/callDialog.js +111 -0
  52. package/dist/browser/generated/src/operations/callDialog.js.map +1 -0
  53. package/dist/browser/generated/src/operations/callMedia.d.ts +15 -8
  54. package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
  55. package/dist/browser/generated/src/operations/callMedia.js +50 -25
  56. package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
  57. package/dist/browser/generated/src/operations/callRecording.d.ts +7 -1
  58. package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -1
  59. package/dist/browser/generated/src/operations/callRecording.js +24 -0
  60. package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
  61. package/dist/browser/generated/src/operations/index.d.ts +1 -0
  62. package/dist/browser/generated/src/operations/index.d.ts.map +1 -1
  63. package/dist/browser/generated/src/operations/index.js +1 -0
  64. package/dist/browser/generated/src/operations/index.js.map +1 -1
  65. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  66. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  67. package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  68. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  69. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  70. package/dist/browser/generated/src/operationsInterfaces/callDialog.js +9 -0
  71. package/dist/browser/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  72. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  73. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  74. package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  75. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  76. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  77. package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  78. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +1 -0
  79. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  80. package/dist/browser/generated/src/operationsInterfaces/index.js +1 -0
  81. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -1
  82. package/dist/browser/index.d.ts +2 -0
  83. package/dist/browser/index.d.ts.map +1 -1
  84. package/dist/browser/index.js +2 -0
  85. package/dist/browser/index.js.map +1 -1
  86. package/dist/browser/models/constants.js +1 -1
  87. package/dist/browser/models/constants.js.map +1 -1
  88. package/dist/browser/models/events.d.ts +188 -62
  89. package/dist/browser/models/events.d.ts.map +1 -1
  90. package/dist/browser/models/events.js.map +1 -1
  91. package/dist/browser/models/models.d.ts +85 -7
  92. package/dist/browser/models/models.d.ts.map +1 -1
  93. package/dist/browser/models/models.js +3 -1
  94. package/dist/browser/models/models.js.map +1 -1
  95. package/dist/browser/models/options.d.ts +49 -2
  96. package/dist/browser/models/options.d.ts.map +1 -1
  97. package/dist/browser/models/options.js.map +1 -1
  98. package/dist/browser/models/responses.d.ts +82 -10
  99. package/dist/browser/models/responses.d.ts.map +1 -1
  100. package/dist/browser/models/responses.js.map +1 -1
  101. package/dist/browser/utli/converters.d.ts +26 -2
  102. package/dist/browser/utli/converters.d.ts.map +1 -1
  103. package/dist/browser/utli/converters.js +114 -19
  104. package/dist/browser/utli/converters.js.map +1 -1
  105. package/dist/commonjs/callAutomationClient.d.ts +9 -2
  106. package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
  107. package/dist/commonjs/callAutomationClient.js +116 -11
  108. package/dist/commonjs/callAutomationClient.js.map +1 -1
  109. package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
  110. package/dist/commonjs/callAutomationEventParser.js +46 -0
  111. package/dist/commonjs/callAutomationEventParser.js.map +1 -1
  112. package/dist/commonjs/callConnection.d.ts +16 -6
  113. package/dist/commonjs/callConnection.d.ts.map +1 -1
  114. package/dist/commonjs/callConnection.js +167 -16
  115. package/dist/commonjs/callConnection.js.map +1 -1
  116. package/dist/commonjs/callMedia.d.ts +20 -10
  117. package/dist/commonjs/callMedia.d.ts.map +1 -1
  118. package/dist/commonjs/callMedia.js +209 -41
  119. package/dist/commonjs/callMedia.js.map +1 -1
  120. package/dist/commonjs/callRecording.d.ts +8 -2
  121. package/dist/commonjs/callRecording.d.ts.map +1 -1
  122. package/dist/commonjs/callRecording.js +20 -5
  123. package/dist/commonjs/callRecording.js.map +1 -1
  124. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  125. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  126. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js +141 -0
  127. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  128. package/dist/commonjs/eventprocessor/eventResponses.d.ts +134 -0
  129. package/dist/commonjs/eventprocessor/eventResponses.d.ts.map +1 -0
  130. package/dist/commonjs/eventprocessor/eventResponses.js +5 -0
  131. package/dist/commonjs/eventprocessor/eventResponses.js.map +1 -0
  132. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +2 -1
  133. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -1
  134. package/dist/commonjs/generated/src/callAutomationApiClient.js +3 -2
  135. package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
  136. package/dist/commonjs/generated/src/models/index.d.ts +971 -206
  137. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  138. package/dist/commonjs/generated/src/models/index.js +125 -47
  139. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  140. package/dist/commonjs/generated/src/models/mappers.d.ts +59 -11
  141. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  142. package/dist/commonjs/generated/src/models/mappers.js +2125 -469
  143. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  144. package/dist/commonjs/generated/src/models/parameters.d.ts +8 -1
  145. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  146. package/dist/commonjs/generated/src/models/parameters.js +45 -6
  147. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  148. package/dist/commonjs/generated/src/operations/callConnection.d.ts +16 -2
  149. package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -1
  150. package/dist/commonjs/generated/src/operations/callConnection.js +65 -1
  151. package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
  152. package/dist/commonjs/generated/src/operations/callDialog.d.ts +35 -0
  153. package/dist/commonjs/generated/src/operations/callDialog.d.ts.map +1 -0
  154. package/dist/commonjs/generated/src/operations/callDialog.js +116 -0
  155. package/dist/commonjs/generated/src/operations/callDialog.js.map +1 -0
  156. package/dist/commonjs/generated/src/operations/callMedia.d.ts +15 -8
  157. package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
  158. package/dist/commonjs/generated/src/operations/callMedia.js +50 -25
  159. package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
  160. package/dist/commonjs/generated/src/operations/callRecording.d.ts +7 -1
  161. package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -1
  162. package/dist/commonjs/generated/src/operations/callRecording.js +24 -0
  163. package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
  164. package/dist/commonjs/generated/src/operations/index.d.ts +1 -0
  165. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -1
  166. package/dist/commonjs/generated/src/operations/index.js +1 -0
  167. package/dist/commonjs/generated/src/operations/index.js.map +1 -1
  168. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  169. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  170. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  171. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  172. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  173. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js +10 -0
  174. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  175. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  176. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  177. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  178. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  179. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  180. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  181. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +1 -0
  182. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  183. package/dist/commonjs/generated/src/operationsInterfaces/index.js +1 -0
  184. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -1
  185. package/dist/commonjs/index.d.ts +2 -0
  186. package/dist/commonjs/index.d.ts.map +1 -1
  187. package/dist/commonjs/index.js +2 -0
  188. package/dist/commonjs/index.js.map +1 -1
  189. package/dist/commonjs/models/constants.js +1 -1
  190. package/dist/commonjs/models/constants.js.map +1 -1
  191. package/dist/commonjs/models/events.d.ts +188 -62
  192. package/dist/commonjs/models/events.d.ts.map +1 -1
  193. package/dist/commonjs/models/events.js.map +1 -1
  194. package/dist/commonjs/models/models.d.ts +85 -7
  195. package/dist/commonjs/models/models.d.ts.map +1 -1
  196. package/dist/commonjs/models/models.js +11 -6
  197. package/dist/commonjs/models/models.js.map +1 -1
  198. package/dist/commonjs/models/options.d.ts +49 -2
  199. package/dist/commonjs/models/options.d.ts.map +1 -1
  200. package/dist/commonjs/models/options.js.map +1 -1
  201. package/dist/commonjs/models/responses.d.ts +82 -10
  202. package/dist/commonjs/models/responses.d.ts.map +1 -1
  203. package/dist/commonjs/models/responses.js.map +1 -1
  204. package/dist/commonjs/tsdoc-metadata.json +1 -1
  205. package/dist/commonjs/utli/converters.d.ts +26 -2
  206. package/dist/commonjs/utli/converters.d.ts.map +1 -1
  207. package/dist/commonjs/utli/converters.js +119 -18
  208. package/dist/commonjs/utli/converters.js.map +1 -1
  209. package/dist/esm/callAutomationClient.d.ts +9 -2
  210. package/dist/esm/callAutomationClient.d.ts.map +1 -1
  211. package/dist/esm/callAutomationClient.js +115 -10
  212. package/dist/esm/callAutomationClient.js.map +1 -1
  213. package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
  214. package/dist/esm/callAutomationEventParser.js +47 -1
  215. package/dist/esm/callAutomationEventParser.js.map +1 -1
  216. package/dist/esm/callConnection.d.ts +16 -6
  217. package/dist/esm/callConnection.d.ts.map +1 -1
  218. package/dist/esm/callConnection.js +166 -15
  219. package/dist/esm/callConnection.js.map +1 -1
  220. package/dist/esm/callMedia.d.ts +20 -10
  221. package/dist/esm/callMedia.d.ts.map +1 -1
  222. package/dist/esm/callMedia.js +190 -22
  223. package/dist/esm/callMedia.js.map +1 -1
  224. package/dist/esm/callRecording.d.ts +8 -2
  225. package/dist/esm/callRecording.d.ts.map +1 -1
  226. package/dist/esm/callRecording.js +20 -5
  227. package/dist/esm/callRecording.js.map +1 -1
  228. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  229. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  230. package/dist/esm/eventprocessor/callAutomationEventProcessor.js +137 -0
  231. package/dist/esm/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  232. package/dist/esm/eventprocessor/eventResponses.d.ts +134 -0
  233. package/dist/esm/eventprocessor/eventResponses.d.ts.map +1 -0
  234. package/dist/esm/eventprocessor/eventResponses.js +4 -0
  235. package/dist/esm/eventprocessor/eventResponses.js.map +1 -0
  236. package/dist/esm/generated/src/callAutomationApiClient.d.ts +2 -1
  237. package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -1
  238. package/dist/esm/generated/src/callAutomationApiClient.js +4 -3
  239. package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
  240. package/dist/esm/generated/src/models/index.d.ts +971 -206
  241. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  242. package/dist/esm/generated/src/models/index.js +124 -46
  243. package/dist/esm/generated/src/models/index.js.map +1 -1
  244. package/dist/esm/generated/src/models/mappers.d.ts +59 -11
  245. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  246. package/dist/esm/generated/src/models/mappers.js +2122 -466
  247. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  248. package/dist/esm/generated/src/models/parameters.d.ts +8 -1
  249. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  250. package/dist/esm/generated/src/models/parameters.js +45 -6
  251. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  252. package/dist/esm/generated/src/operations/callConnection.d.ts +16 -2
  253. package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -1
  254. package/dist/esm/generated/src/operations/callConnection.js +65 -1
  255. package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
  256. package/dist/esm/generated/src/operations/callDialog.d.ts +35 -0
  257. package/dist/esm/generated/src/operations/callDialog.d.ts.map +1 -0
  258. package/dist/esm/generated/src/operations/callDialog.js +111 -0
  259. package/dist/esm/generated/src/operations/callDialog.js.map +1 -0
  260. package/dist/esm/generated/src/operations/callMedia.d.ts +15 -8
  261. package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
  262. package/dist/esm/generated/src/operations/callMedia.js +50 -25
  263. package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
  264. package/dist/esm/generated/src/operations/callRecording.d.ts +7 -1
  265. package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -1
  266. package/dist/esm/generated/src/operations/callRecording.js +24 -0
  267. package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
  268. package/dist/esm/generated/src/operations/index.d.ts +1 -0
  269. package/dist/esm/generated/src/operations/index.d.ts.map +1 -1
  270. package/dist/esm/generated/src/operations/index.js +1 -0
  271. package/dist/esm/generated/src/operations/index.js.map +1 -1
  272. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  273. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  274. package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  275. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  276. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  277. package/dist/esm/generated/src/operationsInterfaces/callDialog.js +9 -0
  278. package/dist/esm/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  279. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  280. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  281. package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  282. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  283. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  284. package/dist/esm/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  285. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +1 -0
  286. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  287. package/dist/esm/generated/src/operationsInterfaces/index.js +1 -0
  288. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -1
  289. package/dist/esm/index.d.ts +2 -0
  290. package/dist/esm/index.d.ts.map +1 -1
  291. package/dist/esm/index.js +2 -0
  292. package/dist/esm/index.js.map +1 -1
  293. package/dist/esm/models/constants.js +1 -1
  294. package/dist/esm/models/constants.js.map +1 -1
  295. package/dist/esm/models/events.d.ts +188 -62
  296. package/dist/esm/models/events.d.ts.map +1 -1
  297. package/dist/esm/models/events.js.map +1 -1
  298. package/dist/esm/models/models.d.ts +85 -7
  299. package/dist/esm/models/models.d.ts.map +1 -1
  300. package/dist/esm/models/models.js +3 -1
  301. package/dist/esm/models/models.js.map +1 -1
  302. package/dist/esm/models/options.d.ts +49 -2
  303. package/dist/esm/models/options.d.ts.map +1 -1
  304. package/dist/esm/models/options.js.map +1 -1
  305. package/dist/esm/models/responses.d.ts +82 -10
  306. package/dist/esm/models/responses.d.ts.map +1 -1
  307. package/dist/esm/models/responses.js.map +1 -1
  308. package/dist/esm/utli/converters.d.ts +26 -2
  309. package/dist/esm/utli/converters.d.ts.map +1 -1
  310. package/dist/esm/utli/converters.js +114 -19
  311. package/dist/esm/utli/converters.js.map +1 -1
  312. package/dist/react-native/callAutomationClient.d.ts +9 -2
  313. package/dist/react-native/callAutomationClient.d.ts.map +1 -1
  314. package/dist/react-native/callAutomationClient.js +115 -10
  315. package/dist/react-native/callAutomationClient.js.map +1 -1
  316. package/dist/react-native/callAutomationEventParser.d.ts.map +1 -1
  317. package/dist/react-native/callAutomationEventParser.js +47 -1
  318. package/dist/react-native/callAutomationEventParser.js.map +1 -1
  319. package/dist/react-native/callConnection.d.ts +16 -6
  320. package/dist/react-native/callConnection.d.ts.map +1 -1
  321. package/dist/react-native/callConnection.js +166 -15
  322. package/dist/react-native/callConnection.js.map +1 -1
  323. package/dist/react-native/callMedia.d.ts +20 -10
  324. package/dist/react-native/callMedia.d.ts.map +1 -1
  325. package/dist/react-native/callMedia.js +190 -22
  326. package/dist/react-native/callMedia.js.map +1 -1
  327. package/dist/react-native/callRecording.d.ts +8 -2
  328. package/dist/react-native/callRecording.d.ts.map +1 -1
  329. package/dist/react-native/callRecording.js +20 -5
  330. package/dist/react-native/callRecording.js.map +1 -1
  331. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  332. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  333. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js +137 -0
  334. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  335. package/dist/react-native/eventprocessor/eventResponses.d.ts +134 -0
  336. package/dist/react-native/eventprocessor/eventResponses.d.ts.map +1 -0
  337. package/dist/react-native/eventprocessor/eventResponses.js +4 -0
  338. package/dist/react-native/eventprocessor/eventResponses.js.map +1 -0
  339. package/dist/react-native/generated/src/callAutomationApiClient.d.ts +2 -1
  340. package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -1
  341. package/dist/react-native/generated/src/callAutomationApiClient.js +4 -3
  342. package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
  343. package/dist/react-native/generated/src/models/index.d.ts +971 -206
  344. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  345. package/dist/react-native/generated/src/models/index.js +124 -46
  346. package/dist/react-native/generated/src/models/index.js.map +1 -1
  347. package/dist/react-native/generated/src/models/mappers.d.ts +59 -11
  348. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  349. package/dist/react-native/generated/src/models/mappers.js +2122 -466
  350. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  351. package/dist/react-native/generated/src/models/parameters.d.ts +8 -1
  352. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  353. package/dist/react-native/generated/src/models/parameters.js +45 -6
  354. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  355. package/dist/react-native/generated/src/operations/callConnection.d.ts +16 -2
  356. package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -1
  357. package/dist/react-native/generated/src/operations/callConnection.js +65 -1
  358. package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
  359. package/dist/react-native/generated/src/operations/callDialog.d.ts +35 -0
  360. package/dist/react-native/generated/src/operations/callDialog.d.ts.map +1 -0
  361. package/dist/react-native/generated/src/operations/callDialog.js +111 -0
  362. package/dist/react-native/generated/src/operations/callDialog.js.map +1 -0
  363. package/dist/react-native/generated/src/operations/callMedia.d.ts +15 -8
  364. package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
  365. package/dist/react-native/generated/src/operations/callMedia.js +50 -25
  366. package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
  367. package/dist/react-native/generated/src/operations/callRecording.d.ts +7 -1
  368. package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -1
  369. package/dist/react-native/generated/src/operations/callRecording.js +24 -0
  370. package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
  371. package/dist/react-native/generated/src/operations/index.d.ts +1 -0
  372. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -1
  373. package/dist/react-native/generated/src/operations/index.js +1 -0
  374. package/dist/react-native/generated/src/operations/index.js.map +1 -1
  375. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  376. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  377. package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  378. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  379. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  380. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js +9 -0
  381. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  382. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  383. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  384. package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  385. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  386. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  387. package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  388. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +1 -0
  389. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  390. package/dist/react-native/generated/src/operationsInterfaces/index.js +1 -0
  391. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -1
  392. package/dist/react-native/index.d.ts +2 -0
  393. package/dist/react-native/index.d.ts.map +1 -1
  394. package/dist/react-native/index.js +2 -0
  395. package/dist/react-native/index.js.map +1 -1
  396. package/dist/react-native/models/constants.js +1 -1
  397. package/dist/react-native/models/constants.js.map +1 -1
  398. package/dist/react-native/models/events.d.ts +188 -62
  399. package/dist/react-native/models/events.d.ts.map +1 -1
  400. package/dist/react-native/models/events.js.map +1 -1
  401. package/dist/react-native/models/models.d.ts +85 -7
  402. package/dist/react-native/models/models.d.ts.map +1 -1
  403. package/dist/react-native/models/models.js +3 -1
  404. package/dist/react-native/models/models.js.map +1 -1
  405. package/dist/react-native/models/options.d.ts +49 -2
  406. package/dist/react-native/models/options.d.ts.map +1 -1
  407. package/dist/react-native/models/options.js.map +1 -1
  408. package/dist/react-native/models/responses.d.ts +82 -10
  409. package/dist/react-native/models/responses.d.ts.map +1 -1
  410. package/dist/react-native/models/responses.js.map +1 -1
  411. package/dist/react-native/utli/converters.d.ts +26 -2
  412. package/dist/react-native/utli/converters.d.ts.map +1 -1
  413. package/dist/react-native/utli/converters.js +114 -19
  414. package/dist/react-native/utli/converters.js.map +1 -1
  415. package/package.json +16 -22
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/models/events.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommunicationIdentifier } from \"@azure/communication-common\";\n\nimport {\n Tone,\n ChoiceResult,\n DtmfResult,\n RecognitionType,\n SpeechResult,\n RecordingKind,\n MediaStreamingUpdate,\n TranscriptionUpdate,\n} from \"../generated/src/models/index.js\";\n\nimport type { CallParticipant, RecordingState, CustomCallingContext } from \"./models.js\";\n\n/** Callback events for Call Automation */\nexport type CallAutomationEvent =\n | AddParticipantSucceeded\n | AddParticipantFailed\n | RemoveParticipantSucceeded\n | RemoveParticipantFailed\n | CallConnected\n | CallDisconnected\n | CallTransferAccepted\n | CallTransferFailed\n | ParticipantsUpdated\n | RecordingStateChanged\n | PlayStarted\n | PlayCompleted\n | PlayFailed\n | PlayCanceled\n | RecognizeCompleted\n | RecognizeCanceled\n | RecognizeFailed\n | ContinuousDtmfRecognitionToneReceived\n | ContinuousDtmfRecognitionToneFailed\n | ContinuousDtmfRecognitionStopped\n | SendDtmfTonesCompleted\n | SendDtmfTonesFailed\n | CancelAddParticipantSucceeded\n | CancelAddParticipantFailed\n | ConnectFailed\n | TranscriptionStarted\n | TranscriptionStopped\n | TranscriptionUpdated\n | TranscriptionFailed\n | HoldFailed\n | MediaStreamingStarted\n | MediaStreamingStopped\n | MediaStreamingFailed\n | CreateCallFailed\n | AnswerFailed\n | StartRecordingFailed\n | IncomingCall;\n\nexport interface ResultInformation {\n /** The error code. */\n code: number;\n /** The sub code of error. */\n subCode: number;\n /** The detailed message of the error. */\n message: string;\n}\n\n/** The participant successfully added event. */\nexport interface AddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantSucceeded\";\n}\n\n/** The failed to add participant event. */\nexport interface AddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantFailed\";\n}\n\n/** The participant successfully removed event. */\nexport interface RemoveParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantSucceeded\";\n}\n\n/** The failed to remove participant event. */\nexport interface RemoveParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantFailed\";\n}\n\n/** Event when call was established. */\nexport interface CallConnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallConnected\";\n}\n\n/** Event when call was initiated. */\nexport interface IncomingCall {\n /** Call connection ID. */\n callConnectionId: string;\n /** The communication identifier of the target user.*/\n to?: CommunicationIdentifier;\n /** The communication identifier of the user who initiated the call.*/\n from?: CommunicationIdentifier;\n /** Display name of caller.*/\n callerDisplayName?: string;\n /** Custom Context of Incoming Call */\n customContext?: CustomCallingContext;\n /** Incoming call context.*/\n incomingCallContext?: string;\n /** The communication identifier of the user on behalf of whom the call is made.*/\n onBehalfOfCallee?: CommunicationIdentifier;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"IncomingCall\";\n}\n\n/** Event when all participants left and call was terminated. */\nexport interface CallDisconnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallDisconnected\";\n}\n\n/** Event when transfer request was successful. */\nexport interface CallTransferAccepted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Participant that was transferred away */\n transferee: CommunicationIdentifier;\n /** Target that transferee is transferred to */\n transferTarget: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"CallTransferAccepted\";\n}\n\n/** Event when transfer request was failed. */\nexport interface CallTransferFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallTransferFailed\";\n}\n\n/** Event when there was an update to participant(s). */\nexport interface ParticipantsUpdated {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** The Sequence Number of the event */\n sequenceNumber?: number;\n /** The list of participants in the call. */\n participants: CallParticipant[];\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ParticipantsUpdated\";\n}\n\n/** Event when Recording state has been changed. */\nexport interface RecordingStateChanged {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording id. */\n recordingId?: string;\n state?: RecordingState;\n /** The time of the recording started. */\n startDateTime?: Date;\n recordingKind?: RecordingKind;\n /** kind of this event. */\n kind: \"RecordingStateChanged\";\n}\n\n/** Event when Media play was successfully started. */\nexport interface PlayStarted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayStarted\";\n}\n\n/** Event when Media play was successfully completed. */\nexport interface PlayCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** kind of this event. */\n kind: \"PlayCompleted\";\n}\n\n/** Event when Media play was failed. */\nexport interface PlayFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"PlayFailed\";\n}\n\n/** Event when Media play was canceled by Cancel operation. */\nexport interface PlayCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayCanceled\";\n}\n\n/** Event when Media recognize was successfully completed. */\nexport interface RecognizeCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Determines the sub-type of the recognize operation.\n * In case of cancel operation the this field is not set and is returned empty\n */\n recognitionType?: RecognitionType;\n /** Defines the result for RecognitionType = Dtmf */\n dtmfResult?: DtmfResult;\n /** Defines the result for RecognitionType = Choices */\n choiceResult?: ChoiceResult;\n /** Defines the result for RecognitionType = Speech and SpeechOrDtmf */\n speechResult?: SpeechResult;\n /** kind of this event. */\n kind: \"RecognizeCompleted\";\n}\n\n/** Event when Media recognize was failed. */\nexport interface RecognizeFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"RecognizeFailed\";\n}\n\n/** Event when Media recognize was canceled by Cancel operation. */\nexport interface RecognizeCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"RecognizeCanceled\";\n}\n\n/** Event sent when Dtmf tone received from targeted participant in call. */\nexport interface ContinuousDtmfRecognitionToneReceived {\n /** The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. */\n sequenceId: number;\n /** Defines values for Tone. */\n tone: Tone;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId or skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneReceived\";\n}\n\n/** Event sent when failed to recognize continuous Dtmf tone. */\nexport interface ContinuousDtmfRecognitionToneFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneFailed\";\n}\n\n/** Event sent when continuous Dtmf recognition stopped. */\nexport interface ContinuousDtmfRecognitionStopped {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionStopped\";\n}\n\n/** Event sent when Dtmf tones send successfully. */\nexport interface SendDtmfTonesCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesCompleted\";\n}\n\n/** Event sent when Dtmf tones send failed. */\nexport interface SendDtmfTonesFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesFailed\";\n}\n\n/** Successful cancel add participant event. */\nexport interface CancelAddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CancelAddParticipantSucceeded\";\n}\n\n/** The failed to cancel add participant event. */\nexport interface CancelAddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CancelAddParticipantFailed\";\n}\n\nexport interface TranscriptionStarted {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStarted\";\n}\n\nexport interface TranscriptionStopped {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStopped\";\n}\n\nexport interface TranscriptionUpdated {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionUpdated\";\n}\n\nexport interface TranscriptionFailed {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionFailed\";\n}\n\nexport interface CreateCallFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CreateCallFailed\";\n}\n\nexport interface AnswerFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"AnswerFailed\";\n}\n\nexport interface HoldFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldFailed\";\n}\n\nexport interface ConnectFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ConnectFailed\";\n}\n\nexport interface MediaStreamingStarted {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status. */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStarted\";\n}\n\nexport interface MediaStreamingStopped {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status. */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStopped\";\n}\n\nexport interface MediaStreamingFailed {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status. */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingFailed\";\n}\n\nexport interface StartRecordingFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording Id. */\n recordingId?: string;\n /** kind of this event. */\n kind: \"StartRecordingFailed\";\n}\n"]}
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/models/events.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommunicationIdentifier } from \"@azure/communication-common\";\n\nimport type {\n Tone,\n ChoiceResult,\n DtmfResult,\n RecognitionType,\n SpeechResult,\n MediaStreamingUpdate,\n TranscriptionUpdate,\n RecordingKind,\n} from \"../generated/src/models/index.js\";\n\nimport type { CallParticipant, RecordingState, CustomCallingContext } from \"./models.js\";\n\n/** Callback events for Call Automation */\nexport type CallAutomationEvent =\n | AddParticipantSucceeded\n | AddParticipantFailed\n | RemoveParticipantSucceeded\n | RemoveParticipantFailed\n | MoveParticipantSucceeded\n | MoveParticipantFailed\n | CallConnected\n | CallDisconnected\n | CallTransferAccepted\n | CallTransferFailed\n | ParticipantsUpdated\n | RecordingStateChanged\n | PlayCompleted\n | PlayFailed\n | PlayCanceled\n | RecognizeCompleted\n | RecognizeCanceled\n | RecognizeFailed\n | ContinuousDtmfRecognitionToneReceived\n | ContinuousDtmfRecognitionToneFailed\n | ContinuousDtmfRecognitionStopped\n | SendDtmfTonesCompleted\n | SendDtmfTonesFailed\n | CancelAddParticipantSucceeded\n | CancelAddParticipantFailed\n | TranscriptionStarted\n | TranscriptionStopped\n | TranscriptionUpdated\n | TranscriptionFailed\n | CreateCallFailed\n | AnswerFailed\n | HoldFailed\n | ConnectFailed\n | MediaStreamingStarted\n | MediaStreamingStopped\n | MediaStreamingFailed\n | StartRecordingFailed\n | PlayStarted\n | PlayPaused\n | PlayResumed\n | HoldAudioStarted\n | HoldAudioPaused\n | HoldAudioResumed\n | HoldAudioCompleted\n | IncomingCall;\n\nexport interface ResultInformation {\n /** The error code. */\n code: number;\n /** The sub code of error. */\n subCode: number;\n /** The detailed message of the error. */\n message: string;\n}\n\n/** The participant successfully added event. */\nexport interface AddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantSucceeded\";\n}\n\n/** The failed to add participant event. */\nexport interface AddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantFailed\";\n}\n\n/** The participant successfully removed event. */\nexport interface RemoveParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantSucceeded\";\n}\n\n/** The failed to remove participant event. */\nexport interface RemoveParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantFailed\";\n}\n\n/** The participant successfully moved event. */\nexport interface MoveParticipantSucceeded {\n /** The CallConnectionId for the call you want to move the participant from */\n fromCall?: string;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"MoveParticipantSucceeded\";\n}\n\n/** The failed to move participant event. */\nexport interface MoveParticipantFailed {\n /** The CallConnectionId for the call you want to move the participant from */\n fromCall?: string;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"MoveParticipantFailed\";\n}\n\n/** Event when call was established. */\nexport interface CallConnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallConnected\";\n}\n\n/** Event when call was initiated. */\nexport interface IncomingCall {\n /** Call connection ID. */\n callConnectionId: string;\n /** The communication identifier of the target user.*/\n to?: CommunicationIdentifier;\n /** The communication identifier of the user who initiated the call.*/\n from?: CommunicationIdentifier;\n /** Display name of caller.*/\n callerDisplayName?: string;\n /** Custom Context of Incoming Call */\n customContext?: CustomCallingContext;\n /** Incoming call context.*/\n incomingCallContext?: string;\n /** The communication identifier of the user on behalf of whom the call is made.*/\n onBehalfOfCallee?: CommunicationIdentifier;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"IncomingCall\";\n}\n\n/** Event when all participants left and call was terminated. */\nexport interface CallDisconnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallDisconnected\";\n}\n\n/** Event when transfer request was successful. */\nexport interface CallTransferAccepted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Participant that was transferred away */\n transferee: CommunicationIdentifier;\n /** Target that transferee is transferred to */\n transferTarget: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"CallTransferAccepted\";\n}\n\n/** Event when transfer request was failed. */\nexport interface CallTransferFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallTransferFailed\";\n}\n\n/** Event when there was an update to participant(s). */\nexport interface ParticipantsUpdated {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** The list of participants in the call. */\n participants: CallParticipant[];\n /** The Sequence Number of the event */\n sequenceNumber?: number;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ParticipantsUpdated\";\n}\n\n/** Event when Recording state has been changed. */\nexport interface RecordingStateChanged {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording id*/\n recordingId?: string;\n state?: RecordingState;\n /** The time of the recording started*/\n startDateTime?: Date;\n recordingKind?: RecordingKind;\n /** kind of this event. */\n kind: \"RecordingStateChanged\";\n}\n\n/** Event when Media play was successfully completed. */\nexport interface PlayCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** kind of this event. */\n kind: \"PlayCompleted\";\n}\n\n/** Event when Media play was failed. */\nexport interface PlayFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"PlayFailed\";\n}\n\n/** Event when Media play was canceled by Cancel operation. */\nexport interface PlayCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayCanceled\";\n}\n\n/** Event when Media recognize was successfully completed. */\nexport interface RecognizeCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Determines the sub-type of the recognize operation.\n * In case of cancel operation the this field is not set and is returned empty\n */\n recognitionType?: RecognitionType;\n /** Defines the result for RecognitionType = Dtmf */\n dtmfResult?: DtmfResult;\n /** Defines the result for RecognitionType = Choices */\n choiceResult?: ChoiceResult;\n /** Defines the result for RecognitionType = Speech and SpeechOrDtmf */\n speechResult?: SpeechResult;\n /** kind of this event. */\n kind: \"RecognizeCompleted\";\n}\n\n/** Event when Media recognize was failed. */\nexport interface RecognizeFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"RecognizeFailed\";\n}\n\n/** Event when Media recognize was canceled by Cancel operation. */\nexport interface RecognizeCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"RecognizeCanceled\";\n}\n\n/** Event sent when Dtmf tone received from targeted participant in call. */\nexport interface ContinuousDtmfRecognitionToneReceived {\n /** The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. */\n sequenceId: number;\n /** Defines values for Tone. */\n tone: Tone;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId or skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneReceived\";\n}\n\n/** Event sent when failed to recognize continuous Dtmf tone. */\nexport interface ContinuousDtmfRecognitionToneFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneFailed\";\n}\n\n/** Event sent when continuous Dtmf recognition stopped. */\nexport interface ContinuousDtmfRecognitionStopped {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionStopped\";\n}\n\n/** Event sent when Dtmf tones send successfully. */\nexport interface SendDtmfTonesCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesCompleted\";\n}\n\n/** Event sent when Dtmf tones send failed. */\nexport interface SendDtmfTonesFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesFailed\";\n}\n\n/** Successful cancel add participant event. */\nexport interface CancelAddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** kind of this event. */\n kind: \"CancelAddParticipantSucceeded\";\n}\n\n/** The failed to cancel add participant event. */\nexport interface CancelAddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CancelAddParticipantFailed\";\n}\n\nexport interface TranscriptionStarted {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStarted\";\n}\n\nexport interface TranscriptionStopped {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStopped\";\n}\n\nexport interface TranscriptionUpdated {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionUpdated\";\n}\n\nexport interface TranscriptionFailed {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionFailed\";\n}\n\nexport interface CreateCallFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CreateCallFailed\";\n}\n\nexport interface AnswerFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"AnswerFailed\";\n}\n\nexport interface HoldFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldFailed\";\n}\n\nexport interface ConnectFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ConnectFailed\";\n}\n\nexport interface MediaStreamingStarted {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStarted\";\n}\n\nexport interface MediaStreamingStopped {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStopped\";\n}\n\nexport interface MediaStreamingFailed {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingFailed\";\n}\n\nexport interface StartRecordingFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording id */\n recordingId?: string;\n /** kind of this event. */\n kind: \"StartRecordingFailed\";\n}\n\n/** Event when Media play was successfully started. */\nexport interface PlayStarted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayStarted\";\n}\n\n/** Event when Media play was successfully paused. */\nexport interface PlayPaused {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayPaused\";\n}\n\n/** Event when Media play was successfully paused. */\nexport interface PlayResumed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayResumed\";\n}\n\n/** Event when hold audio play was successfully started. */\nexport interface HoldAudioStarted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldAudioStarted\";\n}\n\n/** Event when hold audio play was successfully paused. */\nexport interface HoldAudioPaused {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldAudioPaused\";\n}\n\n/** Event when hold audio play was successfully resumed. */\nexport interface HoldAudioResumed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldAudioResumed\";\n}\n\n/** Event when hold audio play was successfully completed. */\nexport interface HoldAudioCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldAudioCompleted\";\n}\n"]}
@@ -1,6 +1,6 @@
1
- import type { CommunicationIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier, TeamsExtensionUserIdentifier, PhoneNumberIdentifier } from "@azure/communication-common";
2
- import type { CallConnectionStateModel, MediaStreamingSubscription, TranscriptionSubscription } from "../generated/src/index.js";
3
- export { CallConnectionStateModel, CallRejectReason, KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownMediaStreamingTransportType, KnownCallConnectionStateModel, KnownTranscriptionTransportType, KnownRecognitionType, KnownRecordingState, KnownRecordingKind, KnownTone, KnownAudioFormat, KnownMediaStreamingSubscriptionState, KnownTranscriptionResultState, KnownTranscriptionSubscriptionState, KnownMediaStreamingStatus, KnownMediaStreamingStatusDetails, KnownTranscriptionStatus, KnownTranscriptionStatusDetails, MediaStreamingAudioChannelType, MediaStreamingOptions, MediaStreamingContentType, MediaStreamingTransportType, MediaStreamingSubscription, TranscriptionOptions, TranscriptionTransportType, TranscriptionSubscription, RecognitionType, ChoiceResult, DtmfResult, SpeechResult, RecordingState, RecordingKind, Tone, AudioFormat, MediaStreamingUpdate, MediaStreamingSubscriptionState, TranscriptionResultState, TranscriptionUpdate, TranscriptionSubscriptionState, MediaStreamingStatus, MediaStreamingStatusDetails, TranscriptionStatus, TranscriptionStatusDetails, } from "../generated/src/models/index.js";
1
+ import type { CommunicationIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier, PhoneNumberIdentifier } from "@azure/communication-common";
2
+ import type { CallConnectionStateModel, MediaStreamingSubscription, TranscriptionSubscription, TranscriptionTransportType } from "../generated/src/index.js";
3
+ export { CallConnectionStateModel, CallRejectReason, KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownMediaStreamingTransportType, KnownAudioFormat, KnownTranscriptionTransportType, KnownCallConnectionStateModel, KnownMediaStreamingSubscriptionState, KnownTranscriptionSubscriptionState, KnownTranscriptionResultState, KnownRecognitionType, KnownRecordingState, KnownRecordingKind, KnownTone, KnownMediaStreamingStatus, KnownMediaStreamingStatusDetails, KnownTranscriptionStatus, KnownTranscriptionStatusDetails, KnownCommunicationIdentifierModelKind, KnownCommunicationCloudEnvironmentModel, MediaStreamingAudioChannelType, MediaStreamingOptions, MediaStreamingContentType, MediaStreamingTransportType, TranscriptionTransportType, RecognitionType, ChoiceResult, DtmfResult, SpeechResult, RecordingState, RecordingKind, Tone, MediaStreamingUpdate, MediaStreamingStatus, MediaStreamingStatusDetails, AudioFormat, TranscriptionResultState, TranscriptionUpdate, TranscriptionStatus, TranscriptionStatusDetails, MediaStreamingSubscription, TranscriptionSubscription, MediaStreamingSubscriptionState, TranscriptionSubscriptionState, ErrorModel, RecordingStorageInfo, RecordingChunkStorageInfo, ChunkEndReason, KnownChunkEndReason, CallSessionEndReason, } from "../generated/src/models/index.js";
4
4
  /** Properties of a call connection */
5
5
  export interface CallConnectionProperties {
6
6
  /** The call connection id. */
@@ -22,6 +22,8 @@ export interface CallConnectionProperties {
22
22
  callConnectionState?: CallConnectionStateModel;
23
23
  /** The callback URL. */
24
24
  callbackUrl?: string;
25
+ /** SubscriptionId for media streaming */
26
+ mediaSubscriptionId?: string;
25
27
  /** The correlation ID. */
26
28
  correlationId?: string;
27
29
  /** Identity of the answering entity. Only populated when identity is provided in the request. */
@@ -58,6 +60,8 @@ export declare enum VoiceKind {
58
60
  export interface PlaySource {
59
61
  /** @deprecated Not in use, instead use playsourcecacheid for similar functionality*/
60
62
  playsourcacheid?: string;
63
+ /** Sets the play source cache id.*/
64
+ playSourceCacheId?: string;
61
65
  }
62
66
  /** The FileSource model. */
63
67
  export interface FileSource extends PlaySource {
@@ -125,12 +129,14 @@ export interface RecognitionChoice {
125
129
  /** The type of the recognition that the service accepts. */
126
130
  export declare enum RecognizeInputType {
127
131
  /** Dtmf */
128
- Dtmf = "dtmf"
132
+ Dtmf = "dtmf",
133
+ /** Choices */
134
+ Choices = "choices"
129
135
  }
130
136
  /** Call invitee details. */
131
137
  export interface CallInvite {
132
- /** The Target's PhoneNumberIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier or TeamsExtensionUserIdentifier. */
133
- readonly targetParticipant: PhoneNumberIdentifier | CommunicationUserIdentifier | MicrosoftTeamsUserIdentifier | MicrosoftTeamsAppIdentifier | TeamsExtensionUserIdentifier;
138
+ /** The Target's PhoneNumberIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier or MicrosoftTeamsAppIdentifier. */
139
+ readonly targetParticipant: PhoneNumberIdentifier | CommunicationUserIdentifier | MicrosoftTeamsUserIdentifier | MicrosoftTeamsAppIdentifier;
134
140
  /** Caller's phone number identifier. */
135
141
  readonly sourceCallIdNumber?: PhoneNumberIdentifier;
136
142
  sourceDisplayName?: string;
@@ -179,12 +185,84 @@ export interface SipUserToUserHeader extends CustomCallingContextHeader {
179
185
  /** SIP Custom header. */
180
186
  export interface SipCustomHeader extends CustomCallingContextHeader {
181
187
  kind: "sipx";
188
+ sipHeaderPrefix?: SipHeaderPrefix;
189
+ }
190
+ /** The type of the Sip header prefix. */
191
+ export type SipHeaderPrefix = "X-" | "X-MS-Custom-";
192
+ /** Teams phone call details */
193
+ export interface TeamsPhoneCallDetails {
194
+ kind: "teamsPhoneCallDetails";
195
+ /** Container for details relating to the original caller of the call */
196
+ teamsPhoneCallerDetails?: TeamsPhoneCallerDetails;
197
+ /** Container for details relating to the entity responsible for the creation of these call details */
198
+ teamsPhoneSourceDetails?: TeamsPhoneSourceDetails;
199
+ /** Id to exclusively identify this call session. IVR will use this for their telemetry/reporting. */
200
+ sessionId?: string;
201
+ /** The intent of the call */
202
+ intent?: string;
203
+ /** A very short description (max 48 chars) of the reason for the call. To be displayed in Teams CallNotification */
204
+ callTopic?: string;
205
+ /** A summary of the call thus far. It will be displayed on a side panel in the Teams UI */
206
+ callContext?: string;
207
+ /** Url for fetching the transcript of the call */
208
+ transcriptUrl?: string;
209
+ /** Sentiment of the call thus far */
210
+ callSentiment?: string;
211
+ /** Recommendations for resolving the issue based on the customer's intent and interaction history */
212
+ suggestedActions?: string;
213
+ }
214
+ /** Container for details relating to the original caller of the call */
215
+ export interface TeamsPhoneCallerDetails {
216
+ /** Caller's ID */
217
+ caller: CommunicationIdentifier;
218
+ /** Caller's name */
219
+ name: string;
220
+ /** Caller's phone number */
221
+ phoneNumber: string;
222
+ /** Caller's record ID (ex in CRM) */
223
+ recordId?: string;
224
+ /** Caller's screen pop URL */
225
+ screenPopUrl?: string;
226
+ /** Flag indicating whether the caller was authenticated */
227
+ isAuthenticated?: boolean;
228
+ /** A set of key value pairs (max 10, any additional entries would be ignored) which a bot author wants to pass to the Teams Client for display to the agent */
229
+ additionalCallerInformation?: {
230
+ [propertyName: string]: string;
231
+ };
232
+ }
233
+ /** Container for details relating to the entity responsible for the creation of these call details */
234
+ export interface TeamsPhoneSourceDetails {
235
+ /** ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA) */
236
+ source: CommunicationIdentifier;
237
+ /** Language of the source entity passing along the call details, passed in the ISO-639 standard */
238
+ language: string;
239
+ /** Status of the source entity passing along the call details */
240
+ status: string;
241
+ /** Intended targets of the source entity passing along the call details */
242
+ intendedTargets?: {
243
+ [propertyName: string]: CommunicationIdentifier;
244
+ };
182
245
  }
183
246
  /** Custom Calling Context */
184
- export type CustomCallingContext = (VoipHeader | SipUserToUserHeader | SipCustomHeader)[];
247
+ export type CustomCallingContext = (VoipHeader | SipUserToUserHeader | SipCustomHeader | TeamsPhoneCallDetails)[];
185
248
  /** AI options for the call. */
186
249
  export interface CallIntelligenceOptions {
187
250
  /** The identifier of the Cognitive Service resource assigned to this call. */
188
251
  cognitiveServicesEndpoint?: string;
189
252
  }
253
+ /** Configuration of live transcription. */
254
+ export interface TranscriptionOptions {
255
+ /** Transport URL for live transcription */
256
+ transportUrl: string;
257
+ /** The type of transport to be used for live transcription, eg. Websocket */
258
+ transportType: TranscriptionTransportType;
259
+ /** Defines the locale for the data e.g en-CA, en-AU */
260
+ locale: string;
261
+ /** Endpoint where the custom model was deployed. */
262
+ speechRecognitionModelEndpointId?: string;
263
+ /** Determines if the transcription should be started immediately after call is answered or not. */
264
+ startTranscription: boolean;
265
+ /** Enables intermediate results for the transcribed speech. */
266
+ enableIntermediateResults?: boolean;
267
+ }
190
268
  //# sourceMappingURL=models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,4BAA4B,EAC5B,qBAAqB,EACtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,EAC1B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,wBAAwB,EACxB,gBAAgB,EAChB,qBAAqB,EACrB,mCAAmC,EACnC,8BAA8B,EAC9B,gCAAgC,EAChC,6BAA6B,EAC7B,+BAA+B,EAC/B,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,oCAAoC,EACpC,6BAA6B,EAC7B,mCAAmC,EACnC,yBAAyB,EACzB,gCAAgC,EAChC,wBAAwB,EACxB,+BAA+B,EAC/B,8BAA8B,EAC9B,qBAAqB,EACrB,yBAAyB,EACzB,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,0BAA0B,EAC1B,yBAAyB,EACzB,eAAe,EACf,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,cAAc,EACd,aAAa,EACb,IAAI,EACJ,WAAW,EACX,oBAAoB,EACpB,+BAA+B,EAC/B,wBAAwB,EACxB,mBAAmB,EACnB,8BAA8B,EAC9B,oBAAoB,EACpB,2BAA2B,EAC3B,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,kCAAkC,CAAC;AAE1C,sCAAsC;AACtC,MAAM,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D,MAAM,EAAE,MAAM,CAAC;IACf,oDAAoD;IACpD,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C,mGAAmG;IACnG,kBAAkB,EAAE,OAAO,CAAC;IAC5B,+DAA+D;IAC/D,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC"}
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- export { KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownMediaStreamingTransportType, KnownCallConnectionStateModel, KnownTranscriptionTransportType, KnownRecognitionType, KnownRecordingState, KnownRecordingKind, KnownTone, KnownAudioFormat, KnownMediaStreamingSubscriptionState, KnownTranscriptionResultState, KnownTranscriptionSubscriptionState, KnownMediaStreamingStatus, KnownMediaStreamingStatusDetails, KnownTranscriptionStatus, KnownTranscriptionStatusDetails, } from "../generated/src/models/index.js";
3
+ export { KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownMediaStreamingTransportType, KnownAudioFormat, KnownTranscriptionTransportType, KnownCallConnectionStateModel, KnownMediaStreamingSubscriptionState, KnownTranscriptionSubscriptionState, KnownTranscriptionResultState, KnownRecognitionType, KnownRecordingState, KnownRecordingKind, KnownTone, KnownMediaStreamingStatus, KnownMediaStreamingStatusDetails, KnownTranscriptionStatus, KnownTranscriptionStatusDetails, KnownCommunicationIdentifierModelKind, KnownCommunicationCloudEnvironmentModel, KnownChunkEndReason, } from "../generated/src/models/index.js";
4
4
  /** Defines values for VoiceKind that the service accepts. */
5
5
  export var VoiceKind;
6
6
  (function (VoiceKind) {
@@ -50,5 +50,7 @@ export var RecognizeInputType;
50
50
  (function (RecognizeInputType) {
51
51
  /** Dtmf */
52
52
  RecognizeInputType["Dtmf"] = "dtmf";
53
+ /** Choices */
54
+ RecognizeInputType["Choices"] = "choices";
53
55
  })(RecognizeInputType || (RecognizeInputType = {}));
54
56
  //# sourceMappingURL=models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAgBlC,OAAO,EAGL,qBAAqB,EACrB,mCAAmC,EACnC,8BAA8B,EAC9B,gCAAgC,EAChC,6BAA6B,EAC7B,+BAA+B,EAC/B,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,oCAAoC,EACpC,6BAA6B,EAC7B,mCAAmC,EACnC,yBAAyB,EACzB,gCAAgC,EAChC,wBAAwB,EACxB,+BAA+B,GA0BhC,MAAM,kCAAkC,CAAC;AAmD1C,6DAA6D;AAC7D,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,WAAW;IACX,0BAAa,CAAA;IACb,aAAa;IACb,8BAAiB,CAAA;AACnB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AA+BD,mBAAmB;AACnB,MAAM,CAAN,IAAY,QAiCX;AAjCD,WAAY,QAAQ;IAClB,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,YAAY;IACZ,2BAAe,CAAA;IACf,eAAe;IACf,iCAAqB,CAAA;AACvB,CAAC,EAjCW,QAAQ,KAAR,QAAQ,QAiCnB;AAWD,4DAA4D;AAC5D,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;AACf,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n CommunicationIdentifier,\n CommunicationUserIdentifier,\n MicrosoftTeamsUserIdentifier,\n MicrosoftTeamsAppIdentifier,\n TeamsExtensionUserIdentifier,\n PhoneNumberIdentifier,\n} from \"@azure/communication-common\";\nimport type {\n CallConnectionStateModel,\n MediaStreamingSubscription,\n TranscriptionSubscription,\n} from \"../generated/src/index.js\";\n\nexport {\n CallConnectionStateModel,\n CallRejectReason,\n KnownCallRejectReason,\n KnownMediaStreamingAudioChannelType,\n KnownMediaStreamingContentType,\n KnownMediaStreamingTransportType,\n KnownCallConnectionStateModel,\n KnownTranscriptionTransportType,\n KnownRecognitionType,\n KnownRecordingState,\n KnownRecordingKind,\n KnownTone,\n KnownAudioFormat,\n KnownMediaStreamingSubscriptionState,\n KnownTranscriptionResultState,\n KnownTranscriptionSubscriptionState,\n KnownMediaStreamingStatus,\n KnownMediaStreamingStatusDetails,\n KnownTranscriptionStatus,\n KnownTranscriptionStatusDetails,\n MediaStreamingAudioChannelType,\n MediaStreamingOptions,\n MediaStreamingContentType,\n MediaStreamingTransportType,\n MediaStreamingSubscription,\n TranscriptionOptions,\n TranscriptionTransportType,\n TranscriptionSubscription,\n RecognitionType,\n ChoiceResult,\n DtmfResult,\n SpeechResult,\n RecordingState,\n RecordingKind,\n Tone,\n AudioFormat,\n MediaStreamingUpdate,\n MediaStreamingSubscriptionState,\n TranscriptionResultState,\n TranscriptionUpdate,\n TranscriptionSubscriptionState,\n MediaStreamingStatus,\n MediaStreamingStatusDetails,\n TranscriptionStatus,\n TranscriptionStatusDetails,\n} from \"../generated/src/models/index.js\";\n\n/** Properties of a call connection */\nexport interface CallConnectionProperties {\n /** The call connection id. */\n callConnectionId?: string;\n /** The server call id. */\n serverCallId?: string;\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifier;\n /** Display name of the call if dialing out to a pstn number. */\n sourceDisplayName?: string;\n /** Source identity. */\n source?: CommunicationIdentifier;\n /** The targets of the call. */\n targetParticipants?: CommunicationIdentifier[];\n /** The state of the call connection. */\n callConnectionState?: CallConnectionStateModel;\n /** The callback URL. */\n callbackUrl?: string;\n /** The correlation ID. */\n correlationId?: string;\n /** Identity of the answering entity. Only populated when identity is provided in the request. */\n answeredby?: CommunicationUserIdentifier;\n /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */\n answeredFor?: PhoneNumberIdentifier;\n /** Media streaming subscription */\n mediaStreamingSubscription?: MediaStreamingSubscription;\n /** Transcription Subscription. */\n transcriptionSubscription?: TranscriptionSubscription;\n}\n\n/** Contract model of an ACS call participant */\nexport interface CallParticipant {\n /** Communication identifier of the participant */\n identifier?: CommunicationIdentifier;\n /** Is participant muted */\n isMuted?: boolean;\n /** Is participant on hold. */\n isOnHold?: boolean;\n}\n\n/** The locator used for joining or taking action on a call. */\nexport interface CallLocator {\n id: string;\n kind: CallLocatorType;\n}\n\n/** Defines values for VoiceKind that the service accepts. */\nexport enum VoiceKind {\n /** Male */\n Male = \"male\",\n /** Female */\n Female = \"female\",\n}\n\n/** The PlaySource model. */\nexport interface PlaySource {\n /** @deprecated Not in use, instead use playsourcecacheid for similar functionality*/\n playsourcacheid?: string;\n}\n\n/** The FileSource model. */\nexport interface FileSource extends PlaySource {\n url: string;\n readonly kind: \"fileSource\";\n}\n\n/** The TextSource model. */\nexport interface TextSource extends PlaySource {\n text: string;\n sourceLocale?: string;\n voiceKind?: VoiceKind;\n voiceName?: string;\n customVoiceEndpointId?: string;\n readonly kind: \"textSource\";\n}\n\n/** The SsmlSource model. */\nexport interface SsmlSource extends PlaySource {\n ssmlText: string;\n customVoiceEndpointId?: string;\n readonly kind: \"ssmlSource\";\n}\n\n/** A Dtmf Tone. */\nexport enum DtmfTone {\n /** Zero */\n Zero = \"zero\",\n /** One */\n One = \"one\",\n /** Two */\n Two = \"two\",\n /** Three */\n Three = \"three\",\n /** Four */\n Four = \"four\",\n /** Five */\n Five = \"five\",\n /** Six */\n Six = \"six\",\n /** Seven */\n Seven = \"seven\",\n /** Eight */\n Eight = \"eight\",\n /** Nine */\n Nine = \"nine\",\n /** A */\n A = \"a\",\n /** B */\n B = \"b\",\n /** C */\n C = \"c\",\n /** D */\n D = \"d\",\n /** Pound */\n Pound = \"pound\",\n /** Asterisk */\n Asterisk = \"asterisk\",\n}\n\n/** A Recognition Choice */\nexport interface RecognitionChoice {\n /** Identifier for a given choice */\n label: string;\n /** List of phrases to recognize */\n phrases: string[];\n tone?: DtmfTone;\n}\n\n/** The type of the recognition that the service accepts. */\nexport enum RecognizeInputType {\n /** Dtmf */\n Dtmf = \"dtmf\",\n}\n\n/** Call invitee details. */\nexport interface CallInvite {\n /** The Target's PhoneNumberIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier or TeamsExtensionUserIdentifier. */\n readonly targetParticipant:\n | PhoneNumberIdentifier\n | CommunicationUserIdentifier\n | MicrosoftTeamsUserIdentifier\n | MicrosoftTeamsAppIdentifier\n | TeamsExtensionUserIdentifier;\n /** Caller's phone number identifier. */\n readonly sourceCallIdNumber?: PhoneNumberIdentifier;\n sourceDisplayName?: string;\n /** Used by customer to send custom context to targets. */\n customCallingContext?: CustomCallingContext;\n}\n\n/** The locator type of a call. */\nexport type CallLocatorType = \"serverCallLocator\" | \"groupCallLocator\" | \"roomCallLocator\";\n\n/** The content type of a call recording. */\nexport type RecordingContent = \"audio\" | \"audioVideo\";\n\n/** The channel type of a call recording. */\nexport type RecordingChannel = \"mixed\" | \"unmixed\";\n\n/** The format type of a call recording. */\nexport type RecordingFormat = \"mp3\" | \"mp4\" | \"wav\";\n\n/** The storage type of a call recording. */\nexport type RecordingStorageKind = \"azureCommunicationServices\" | \"azureBlobStorage\";\n\n/** Channel affinity for a participant */\nexport interface ChannelAffinity {\n /** Channel number to which bitstream from a particular participant will be written. */\n channel?: number;\n /**\n * The identifier for the participant whose bitstream will be written to the channel\n * represented by the channel number.\n */\n targetParticipant: CommunicationIdentifier;\n}\n\n/** The recording storage */\nexport interface RecordingStorage {\n /** Defines the kind of recording storage */\n recordingStorageKind: RecordingStorageKind;\n /** Uri of a container or a location within a container */\n recordingDestinationContainerUrl?: string;\n}\n\nexport interface CustomCallingContextHeader {\n key: string;\n value: string;\n}\n\n/** VOIP header. */\nexport interface VoipHeader extends CustomCallingContextHeader {\n kind: \"voip\";\n}\n\n/** SIP User To User header. */\nexport interface SipUserToUserHeader extends CustomCallingContextHeader {\n kind: \"sipuui\";\n}\n\n/** SIP Custom header. */\nexport interface SipCustomHeader extends CustomCallingContextHeader {\n kind: \"sipx\";\n}\n\n/** Custom Calling Context */\nexport type CustomCallingContext = (VoipHeader | SipUserToUserHeader | SipCustomHeader)[];\n\n/** AI options for the call. */\nexport interface CallIntelligenceOptions {\n /** The identifier of the Cognitive Service resource assigned to this call. */\n cognitiveServicesEndpoint?: string;\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAgBlC,OAAO,EAGL,qBAAqB,EACrB,mCAAmC,EACnC,8BAA8B,EAC9B,gCAAgC,EAChC,gBAAgB,EAChB,+BAA+B,EAC/B,6BAA6B,EAC7B,oCAAoC,EACpC,mCAAmC,EACnC,6BAA6B,EAC7B,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,SAAS,EACT,yBAAyB,EACzB,gCAAgC,EAChC,wBAAwB,EACxB,+BAA+B,EAC/B,qCAAqC,EACrC,uCAAuC,EA6BvC,mBAAmB,GAEpB,MAAM,kCAAkC,CAAC;AAqD1C,6DAA6D;AAC7D,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,WAAW;IACX,0BAAa,CAAA;IACb,aAAa;IACb,8BAAiB,CAAA;AACnB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAiCD,mBAAmB;AACnB,MAAM,CAAN,IAAY,QAiCX;AAjCD,WAAY,QAAQ;IAClB,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,YAAY;IACZ,2BAAe,CAAA;IACf,eAAe;IACf,iCAAqB,CAAA;AACvB,CAAC,EAjCW,QAAQ,KAAR,QAAQ,QAiCnB;AAWD,4DAA4D;AAC5D,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,cAAc;IACd,yCAAmB,CAAA;AACrB,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n CommunicationIdentifier,\n CommunicationUserIdentifier,\n MicrosoftTeamsUserIdentifier,\n MicrosoftTeamsAppIdentifier,\n PhoneNumberIdentifier,\n} from \"@azure/communication-common\";\nimport type {\n CallConnectionStateModel,\n MediaStreamingSubscription,\n TranscriptionSubscription,\n TranscriptionTransportType,\n} from \"../generated/src/index.js\";\n\nexport {\n CallConnectionStateModel,\n CallRejectReason,\n KnownCallRejectReason,\n KnownMediaStreamingAudioChannelType,\n KnownMediaStreamingContentType,\n KnownMediaStreamingTransportType,\n KnownAudioFormat,\n KnownTranscriptionTransportType,\n KnownCallConnectionStateModel,\n KnownMediaStreamingSubscriptionState,\n KnownTranscriptionSubscriptionState,\n KnownTranscriptionResultState,\n KnownRecognitionType,\n KnownRecordingState,\n KnownRecordingKind,\n KnownTone,\n KnownMediaStreamingStatus,\n KnownMediaStreamingStatusDetails,\n KnownTranscriptionStatus,\n KnownTranscriptionStatusDetails,\n KnownCommunicationIdentifierModelKind,\n KnownCommunicationCloudEnvironmentModel,\n MediaStreamingAudioChannelType,\n MediaStreamingOptions,\n MediaStreamingContentType,\n MediaStreamingTransportType,\n TranscriptionTransportType,\n RecognitionType,\n ChoiceResult,\n DtmfResult,\n SpeechResult,\n RecordingState,\n RecordingKind,\n Tone,\n MediaStreamingUpdate,\n MediaStreamingStatus,\n MediaStreamingStatusDetails,\n AudioFormat,\n TranscriptionResultState,\n TranscriptionUpdate,\n TranscriptionStatus,\n TranscriptionStatusDetails,\n MediaStreamingSubscription,\n TranscriptionSubscription,\n MediaStreamingSubscriptionState,\n TranscriptionSubscriptionState,\n ErrorModel,\n RecordingStorageInfo,\n RecordingChunkStorageInfo,\n ChunkEndReason,\n KnownChunkEndReason,\n CallSessionEndReason,\n} from \"../generated/src/models/index.js\";\n\n/** Properties of a call connection */\nexport interface CallConnectionProperties {\n /** The call connection id. */\n callConnectionId?: string;\n /** The server call id. */\n serverCallId?: string;\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifier;\n /** Display name of the call if dialing out to a pstn number. */\n sourceDisplayName?: string;\n /** Source identity. */\n source?: CommunicationIdentifier;\n /** The targets of the call. */\n targetParticipants?: CommunicationIdentifier[];\n /** The state of the call connection. */\n callConnectionState?: CallConnectionStateModel;\n /** The callback URL. */\n callbackUrl?: string;\n /** SubscriptionId for media streaming */\n mediaSubscriptionId?: string;\n /** The correlation ID. */\n correlationId?: string;\n /** Identity of the answering entity. Only populated when identity is provided in the request. */\n answeredby?: CommunicationUserIdentifier;\n /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */\n answeredFor?: PhoneNumberIdentifier;\n /** Media streaming subscription */\n mediaStreamingSubscription?: MediaStreamingSubscription;\n /** Transcription Subscription. */\n transcriptionSubscription?: TranscriptionSubscription;\n}\n\n/** Contract model of an ACS call participant */\nexport interface CallParticipant {\n /** Communication identifier of the participant */\n identifier?: CommunicationIdentifier;\n /** Is participant muted */\n isMuted?: boolean;\n /** Is participant on hold. */\n isOnHold?: boolean;\n}\n\n/** The locator used for joining or taking action on a call. */\nexport interface CallLocator {\n id: string;\n kind: CallLocatorType;\n}\n\n/** Defines values for VoiceKind that the service accepts. */\nexport enum VoiceKind {\n /** Male */\n Male = \"male\",\n /** Female */\n Female = \"female\",\n}\n\n/** The PlaySource model. */\nexport interface PlaySource {\n /** @deprecated Not in use, instead use playsourcecacheid for similar functionality*/\n playsourcacheid?: string;\n /** Sets the play source cache id.*/\n playSourceCacheId?: string;\n}\n\n/** The FileSource model. */\nexport interface FileSource extends PlaySource {\n url: string;\n readonly kind: \"fileSource\";\n}\n\n/** The TextSource model. */\nexport interface TextSource extends PlaySource {\n text: string;\n sourceLocale?: string;\n voiceKind?: VoiceKind;\n voiceName?: string;\n customVoiceEndpointId?: string;\n readonly kind: \"textSource\";\n}\n\n/** The SsmlSource model. */\nexport interface SsmlSource extends PlaySource {\n ssmlText: string;\n customVoiceEndpointId?: string;\n readonly kind: \"ssmlSource\";\n}\n\n/** A Dtmf Tone. */\nexport enum DtmfTone {\n /** Zero */\n Zero = \"zero\",\n /** One */\n One = \"one\",\n /** Two */\n Two = \"two\",\n /** Three */\n Three = \"three\",\n /** Four */\n Four = \"four\",\n /** Five */\n Five = \"five\",\n /** Six */\n Six = \"six\",\n /** Seven */\n Seven = \"seven\",\n /** Eight */\n Eight = \"eight\",\n /** Nine */\n Nine = \"nine\",\n /** A */\n A = \"a\",\n /** B */\n B = \"b\",\n /** C */\n C = \"c\",\n /** D */\n D = \"d\",\n /** Pound */\n Pound = \"pound\",\n /** Asterisk */\n Asterisk = \"asterisk\",\n}\n\n/** A Recognition Choice */\nexport interface RecognitionChoice {\n /** Identifier for a given choice */\n label: string;\n /** List of phrases to recognize */\n phrases: string[];\n tone?: DtmfTone;\n}\n\n/** The type of the recognition that the service accepts. */\nexport enum RecognizeInputType {\n /** Dtmf */\n Dtmf = \"dtmf\",\n /** Choices */\n Choices = \"choices\",\n}\n\n/** Call invitee details. */\nexport interface CallInvite {\n /** The Target's PhoneNumberIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier or MicrosoftTeamsAppIdentifier. */\n readonly targetParticipant:\n | PhoneNumberIdentifier\n | CommunicationUserIdentifier\n | MicrosoftTeamsUserIdentifier\n | MicrosoftTeamsAppIdentifier;\n /** Caller's phone number identifier. */\n readonly sourceCallIdNumber?: PhoneNumberIdentifier;\n sourceDisplayName?: string;\n /** Used by customer to send custom context to targets. */\n customCallingContext?: CustomCallingContext;\n}\n\n/** The locator type of a call. */\nexport type CallLocatorType = \"serverCallLocator\" | \"groupCallLocator\" | \"roomCallLocator\";\n\n/** The content type of a call recording. */\nexport type RecordingContent = \"audio\" | \"audioVideo\";\n\n/** The channel type of a call recording. */\nexport type RecordingChannel = \"mixed\" | \"unmixed\";\n\n/** The format type of a call recording. */\nexport type RecordingFormat = \"mp3\" | \"mp4\" | \"wav\";\n\n/** The storage type of a call recording. */\nexport type RecordingStorageKind = \"azureCommunicationServices\" | \"azureBlobStorage\";\n\n/** Channel affinity for a participant */\nexport interface ChannelAffinity {\n /** Channel number to which bitstream from a particular participant will be written. */\n channel?: number;\n /**\n * The identifier for the participant whose bitstream will be written to the channel\n * represented by the channel number.\n */\n targetParticipant: CommunicationIdentifier;\n}\n\n/** The recording storage */\nexport interface RecordingStorage {\n /** Defines the kind of recording storage */\n recordingStorageKind: RecordingStorageKind;\n /** Uri of a container or a location within a container */\n recordingDestinationContainerUrl?: string;\n}\n\nexport interface CustomCallingContextHeader {\n key: string;\n value: string;\n}\n\n/** VOIP header. */\nexport interface VoipHeader extends CustomCallingContextHeader {\n kind: \"voip\";\n}\n\n/** SIP User To User header. */\nexport interface SipUserToUserHeader extends CustomCallingContextHeader {\n kind: \"sipuui\";\n}\n\n/** SIP Custom header. */\nexport interface SipCustomHeader extends CustomCallingContextHeader {\n kind: \"sipx\";\n sipHeaderPrefix?: SipHeaderPrefix;\n}\n\n/** The type of the Sip header prefix. */\nexport type SipHeaderPrefix = \"X-\" | \"X-MS-Custom-\";\n\n/** Teams phone call details */\nexport interface TeamsPhoneCallDetails {\n kind: \"teamsPhoneCallDetails\";\n /** Container for details relating to the original caller of the call */\n teamsPhoneCallerDetails?: TeamsPhoneCallerDetails;\n /** Container for details relating to the entity responsible for the creation of these call details */\n teamsPhoneSourceDetails?: TeamsPhoneSourceDetails;\n /** Id to exclusively identify this call session. IVR will use this for their telemetry/reporting. */\n sessionId?: string;\n /** The intent of the call */\n intent?: string;\n /** A very short description (max 48 chars) of the reason for the call. To be displayed in Teams CallNotification */\n callTopic?: string;\n /** A summary of the call thus far. It will be displayed on a side panel in the Teams UI */\n callContext?: string;\n /** Url for fetching the transcript of the call */\n transcriptUrl?: string;\n /** Sentiment of the call thus far */\n callSentiment?: string;\n /** Recommendations for resolving the issue based on the customer's intent and interaction history */\n suggestedActions?: string;\n}\n\n/** Container for details relating to the original caller of the call */\nexport interface TeamsPhoneCallerDetails {\n /** Caller's ID */\n caller: CommunicationIdentifier;\n /** Caller's name */\n name: string;\n /** Caller's phone number */\n phoneNumber: string;\n /** Caller's record ID (ex in CRM) */\n recordId?: string;\n /** Caller's screen pop URL */\n screenPopUrl?: string;\n /** Flag indicating whether the caller was authenticated */\n isAuthenticated?: boolean;\n /** A set of key value pairs (max 10, any additional entries would be ignored) which a bot author wants to pass to the Teams Client for display to the agent */\n additionalCallerInformation?: { [propertyName: string]: string };\n}\n\n/** Container for details relating to the entity responsible for the creation of these call details */\nexport interface TeamsPhoneSourceDetails {\n /** ID of the source entity passing along the call details (ex. Application Instance ID of - CQ/AA) */\n source: CommunicationIdentifier;\n /** Language of the source entity passing along the call details, passed in the ISO-639 standard */\n language: string;\n /** Status of the source entity passing along the call details */\n status: string;\n /** Intended targets of the source entity passing along the call details */\n intendedTargets?: { [propertyName: string]: CommunicationIdentifier };\n}\n\n/** Custom Calling Context */\nexport type CustomCallingContext = (\n | VoipHeader\n | SipUserToUserHeader\n | SipCustomHeader\n | TeamsPhoneCallDetails\n)[];\n\n/** AI options for the call. */\nexport interface CallIntelligenceOptions {\n /** The identifier of the Cognitive Service resource assigned to this call. */\n cognitiveServicesEndpoint?: string;\n}\n/** Configuration of live transcription. */\nexport interface TranscriptionOptions {\n /** Transport URL for live transcription */\n transportUrl: string;\n /** The type of transport to be used for live transcription, eg. Websocket */\n transportType: TranscriptionTransportType;\n /** Defines the locale for the data e.g en-CA, en-AU */\n locale: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n /** Determines if the transcription should be started immediately after call is answered or not. */\n startTranscription: boolean;\n /** Enables intermediate results for the transcribed speech. */\n enableIntermediateResults?: boolean;\n}\n"]}
@@ -17,6 +17,8 @@ export interface CallMediaRecognizeOptions extends OperationOptions {
17
17
  interruptPrompt?: boolean;
18
18
  /** Time to wait for first input after prompt. */
19
19
  initialSilenceTimeoutInSeconds?: number;
20
+ /** speechModelEndpointId. */
21
+ speechModelEndpointId?: string;
20
22
  /**
21
23
  * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.
22
24
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
@@ -88,6 +90,8 @@ export interface CreateCallOptions extends OperationOptions {
88
90
  mediaStreamingOptions?: MediaStreamingOptions;
89
91
  /** Options for live transcription. */
90
92
  transcriptionOptions?: TranscriptionOptions;
93
+ /** The Custom Context. */
94
+ customCallingContext?: CustomCallingContext;
91
95
  /**
92
96
  * Overrides default client source by a MicrosoftTeamsAppIdentifier type source.
93
97
  * Required for creating call with Teams resource account ID.
@@ -101,6 +105,8 @@ export interface CreateCallOptions extends OperationOptions {
101
105
  export interface AnswerCallOptions extends OperationOptions {
102
106
  /** AI options for the call. */
103
107
  callIntelligenceOptions?: CallIntelligenceOptions;
108
+ /** Used by customer to send custom context to targets. */
109
+ customCallingContext?: CustomCallingContext;
104
110
  /** Options for Media streaming. */
105
111
  mediaStreamingOptions?: MediaStreamingOptions;
106
112
  /** Options for live transcription. */
@@ -111,7 +117,10 @@ export interface AnswerCallOptions extends OperationOptions {
111
117
  /**
112
118
  * Options to redirect call.
113
119
  */
114
- export type RedirectCallOptions = OperationOptions;
120
+ export interface RedirectCallOptions extends OperationOptions {
121
+ /** The Custom Context. */
122
+ customCallingContext?: CustomCallingContext;
123
+ }
115
124
  /**
116
125
  * Options to reject call.
117
126
  */
@@ -152,6 +161,16 @@ export interface AddParticipantOptions extends OperationOptions {
152
161
  */
153
162
  operationCallbackUrl?: string;
154
163
  }
164
+ /** Options to move participants. */
165
+ export interface MoveParticipantsOptions extends OperationOptions {
166
+ /** Used by customers when calling mid-call actions to correlate the request to the response event. */
167
+ operationContext?: string;
168
+ /**
169
+ * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.
170
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
171
+ */
172
+ operationCallbackUrl?: string;
173
+ }
155
174
  /**
156
175
  * Options to remove participants.
157
176
  */
@@ -184,6 +203,8 @@ export interface PlayOptions extends OperationOptions {
184
203
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
185
204
  */
186
205
  operationCallbackUrl?: string;
206
+ /** If set, hold audio will be interrupted, then this request will be played, and then the hold audio will be resumed. */
207
+ interruptHoldAudio?: boolean;
187
208
  }
188
209
  /**
189
210
  * Options to playToAll audio.
@@ -250,6 +271,10 @@ export type PauseRecordingOptions = OperationOptions;
250
271
  * Options to get recording properties.
251
272
  */
252
273
  export type GetRecordingPropertiesOptions = OperationOptions;
274
+ /**
275
+ * Options to get recording result.
276
+ */
277
+ export type GetRecordingResultOptions = OperationOptions;
253
278
  /**
254
279
  * Options to resume recording.
255
280
  */
@@ -311,6 +336,11 @@ export interface StartTranscriptionOptions extends OperationOptions {
311
336
  operationContext?: string;
312
337
  /** Endpoint where the custom model was deployed. */
313
338
  speechRecognitionModelEndpointId?: string;
339
+ /**
340
+ * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
341
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
342
+ */
343
+ operationCallbackUrl?: string;
314
344
  }
315
345
  /**
316
346
  * Options to stop transcription
@@ -318,6 +348,11 @@ export interface StartTranscriptionOptions extends OperationOptions {
318
348
  export interface StopTranscriptionOptions extends OperationOptions {
319
349
  /** The value to identify context of the operation. */
320
350
  operationContext?: string;
351
+ /**
352
+ * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
353
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
354
+ */
355
+ operationCallbackUrl?: string;
321
356
  }
322
357
  /**
323
358
  * Options to hold participant.
@@ -328,7 +363,7 @@ export interface HoldOptions extends OperationOptions {
328
363
  /** Operation Context. */
329
364
  operationContext?: string;
330
365
  /** Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. */
331
- operationCallbackUrl?: string;
366
+ operationCallbackUri?: string;
332
367
  }
333
368
  /**
334
369
  * Options to Unhold participant.
@@ -378,5 +413,17 @@ export interface UpdateTranscriptionOptions extends OperationOptions {
378
413
  speechRecognitionModelEndpointId?: string;
379
414
  /** The value to identify context of the operation. */
380
415
  operationContext?: string;
416
+ /**
417
+ * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
418
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
419
+ */
420
+ operationCallbackUrl?: string;
421
+ }
422
+ /**
423
+ * Options to interrupt audio and announce.
424
+ */
425
+ export interface InterruptAudioAndAnnounceOptions extends OperationOptions {
426
+ /** The value to identify context of the operation. */
427
+ operationContext?: string;
381
428
  }
382
429
  //# sourceMappingURL=options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/models/options.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,UAAU,EACV,QAAQ,EACR,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB,oDAAoD;AACpD,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IACjE,4DAA4D;IAC5D,UAAU,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;IAClD,iEAAiE;IACjE,WAAW,CAAC,EAAE,CAAC,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC,EAAE,CAAC;IACvD,8FAA8F;IAC9F,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,+FAA+F;IAC/F,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mEAAmE;IACnE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iDAAiD;IACjD,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,oDAAoD;AACpD,MAAM,WAAW,6BAA8B,SAAQ,yBAAyB;IAC9E,4D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