@azure/communication-call-automation 1.5.0 → 1.6.0-alpha.20250901.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (481) hide show
  1. package/README.md +48 -0
  2. package/dist/browser/callAutomationClient.d.ts +8 -0
  3. package/dist/browser/callAutomationClient.d.ts.map +1 -1
  4. package/dist/browser/callAutomationClient.js +141 -84
  5. package/dist/browser/callAutomationClient.js.map +1 -1
  6. package/dist/browser/callAutomationEventParser.d.ts.map +1 -1
  7. package/dist/browser/callAutomationEventParser.js +56 -9
  8. package/dist/browser/callAutomationEventParser.js.map +1 -1
  9. package/dist/browser/callConnection.d.ts +15 -5
  10. package/dist/browser/callConnection.d.ts.map +1 -1
  11. package/dist/browser/callConnection.js +193 -86
  12. package/dist/browser/callConnection.js.map +1 -1
  13. package/dist/browser/callMedia.d.ts +19 -9
  14. package/dist/browser/callMedia.d.ts.map +1 -1
  15. package/dist/browser/callMedia.js +175 -28
  16. package/dist/browser/callMedia.js.map +1 -1
  17. package/dist/browser/callRecording.d.ts +8 -2
  18. package/dist/browser/callRecording.d.ts.map +1 -1
  19. package/dist/browser/callRecording.js +26 -16
  20. package/dist/browser/callRecording.js.map +1 -1
  21. package/dist/browser/contentDownloader.js +12 -11
  22. package/dist/browser/contentDownloader.js.map +1 -1
  23. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
  24. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  25. package/dist/browser/credential/callAutomationAuthPolicy.js +1 -1
  26. package/dist/browser/credential/callAutomationAuthPolicy.js.map +1 -1
  27. package/dist/browser/credential/cryptoUtils-browser.mjs.map +1 -1
  28. package/dist/browser/credential/cryptoUtils.js +2 -1
  29. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  30. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  31. package/dist/browser/eventprocessor/callAutomationEventProcessor.js +137 -0
  32. package/dist/browser/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  33. package/dist/browser/eventprocessor/eventResponses.d.ts +134 -0
  34. package/dist/browser/eventprocessor/eventResponses.d.ts.map +1 -0
  35. package/dist/browser/eventprocessor/eventResponses.js +4 -0
  36. package/dist/browser/eventprocessor/eventResponses.js.map +1 -0
  37. package/dist/browser/generated/src/callAutomationApiClient.d.ts +2 -1
  38. package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -1
  39. package/dist/browser/generated/src/callAutomationApiClient.js +7 -15
  40. package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
  41. package/dist/browser/generated/src/models/index.d.ts +1129 -347
  42. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  43. package/dist/browser/generated/src/models/index.js +159 -75
  44. package/dist/browser/generated/src/models/index.js.map +1 -1
  45. package/dist/browser/generated/src/models/mappers.d.ts +88 -47
  46. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  47. package/dist/browser/generated/src/models/mappers.js +2136 -499
  48. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  49. package/dist/browser/generated/src/models/parameters.d.ts +8 -1
  50. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  51. package/dist/browser/generated/src/models/parameters.js +45 -6
  52. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  53. package/dist/browser/generated/src/operations/callConnection.d.ts +16 -2
  54. package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -1
  55. package/dist/browser/generated/src/operations/callConnection.js +105 -24
  56. package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
  57. package/dist/browser/generated/src/operations/callDialog.d.ts +35 -0
  58. package/dist/browser/generated/src/operations/callDialog.d.ts.map +1 -0
  59. package/dist/browser/generated/src/operations/callDialog.js +111 -0
  60. package/dist/browser/generated/src/operations/callDialog.js.map +1 -0
  61. package/dist/browser/generated/src/operations/callMedia.d.ts +15 -8
  62. package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
  63. package/dist/browser/generated/src/operations/callMedia.js +50 -26
  64. package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
  65. package/dist/browser/generated/src/operations/callRecording.d.ts +7 -1
  66. package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -1
  67. package/dist/browser/generated/src/operations/callRecording.js +24 -1
  68. package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
  69. package/dist/browser/generated/src/operations/index.d.ts +1 -0
  70. package/dist/browser/generated/src/operations/index.d.ts.map +1 -1
  71. package/dist/browser/generated/src/operations/index.js +1 -0
  72. package/dist/browser/generated/src/operations/index.js.map +1 -1
  73. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  74. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  75. package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  76. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  77. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  78. package/dist/browser/generated/src/operationsInterfaces/callDialog.js +9 -0
  79. package/dist/browser/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  80. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  81. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  82. package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  83. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  84. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  85. package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  86. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +1 -0
  87. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  88. package/dist/browser/generated/src/operationsInterfaces/index.js +1 -0
  89. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -1
  90. package/dist/browser/generated/src/pagingHelper.js +4 -2
  91. package/dist/browser/generated/src/pagingHelper.js.map +1 -1
  92. package/dist/browser/index.d.ts +2 -0
  93. package/dist/browser/index.d.ts.map +1 -1
  94. package/dist/browser/index.js +2 -0
  95. package/dist/browser/index.js.map +1 -1
  96. package/dist/browser/models/constants.d.ts.map +1 -1
  97. package/dist/browser/models/constants.js +1 -1
  98. package/dist/browser/models/constants.js.map +1 -1
  99. package/dist/browser/models/events.d.ts +336 -296
  100. package/dist/browser/models/events.d.ts.map +1 -1
  101. package/dist/browser/models/events.js.map +1 -1
  102. package/dist/browser/models/models.d.ts +76 -38
  103. package/dist/browser/models/models.d.ts.map +1 -1
  104. package/dist/browser/models/models.js +3 -1
  105. package/dist/browser/models/models.js.map +1 -1
  106. package/dist/browser/models/options.d.ts +34 -4
  107. package/dist/browser/models/options.d.ts.map +1 -1
  108. package/dist/browser/models/options.js.map +1 -1
  109. package/dist/browser/models/responses.d.ts +82 -10
  110. package/dist/browser/models/responses.d.ts.map +1 -1
  111. package/dist/browser/models/responses.js.map +1 -1
  112. package/dist/browser/models/streaming.d.ts +27 -26
  113. package/dist/browser/models/streaming.d.ts.map +1 -1
  114. package/dist/browser/models/streaming.js +57 -28
  115. package/dist/browser/models/streaming.js.map +1 -1
  116. package/dist/browser/streamingData.d.ts.map +1 -1
  117. package/dist/browser/streamingData.js +1 -10
  118. package/dist/browser/streamingData.js.map +1 -1
  119. package/dist/browser/utli/converters.d.ts +26 -2
  120. package/dist/browser/utli/converters.d.ts.map +1 -1
  121. package/dist/browser/utli/converters.js +122 -48
  122. package/dist/browser/utli/converters.js.map +1 -1
  123. package/dist/commonjs/callAutomationClient.d.ts +8 -0
  124. package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
  125. package/dist/commonjs/callAutomationClient.js +139 -82
  126. package/dist/commonjs/callAutomationClient.js.map +1 -1
  127. package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
  128. package/dist/commonjs/callAutomationEventParser.js +55 -8
  129. package/dist/commonjs/callAutomationEventParser.js.map +1 -1
  130. package/dist/commonjs/callConnection.d.ts +15 -5
  131. package/dist/commonjs/callConnection.d.ts.map +1 -1
  132. package/dist/commonjs/callConnection.js +194 -87
  133. package/dist/commonjs/callConnection.js.map +1 -1
  134. package/dist/commonjs/callMedia.d.ts +19 -9
  135. package/dist/commonjs/callMedia.d.ts.map +1 -1
  136. package/dist/commonjs/callMedia.js +183 -36
  137. package/dist/commonjs/callMedia.js.map +1 -1
  138. package/dist/commonjs/callRecording.d.ts +8 -2
  139. package/dist/commonjs/callRecording.d.ts.map +1 -1
  140. package/dist/commonjs/callRecording.js +27 -17
  141. package/dist/commonjs/callRecording.js.map +1 -1
  142. package/dist/commonjs/contentDownloader.js +12 -11
  143. package/dist/commonjs/contentDownloader.js.map +1 -1
  144. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
  145. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  146. package/dist/commonjs/credential/callAutomationAuthPolicy.js +1 -1
  147. package/dist/commonjs/credential/callAutomationAuthPolicy.js.map +1 -1
  148. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  149. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  150. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js +141 -0
  151. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  152. package/dist/commonjs/eventprocessor/eventResponses.d.ts +134 -0
  153. package/dist/commonjs/eventprocessor/eventResponses.d.ts.map +1 -0
  154. package/dist/commonjs/eventprocessor/eventResponses.js +5 -0
  155. package/dist/commonjs/eventprocessor/eventResponses.js.map +1 -0
  156. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +2 -1
  157. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -1
  158. package/dist/commonjs/generated/src/callAutomationApiClient.js +6 -14
  159. package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
  160. package/dist/commonjs/generated/src/models/index.d.ts +1129 -347
  161. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  162. package/dist/commonjs/generated/src/models/index.js +160 -76
  163. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  164. package/dist/commonjs/generated/src/models/mappers.d.ts +88 -47
  165. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  166. package/dist/commonjs/generated/src/models/mappers.js +2139 -502
  167. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  168. package/dist/commonjs/generated/src/models/parameters.d.ts +8 -1
  169. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  170. package/dist/commonjs/generated/src/models/parameters.js +45 -6
  171. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  172. package/dist/commonjs/generated/src/operations/callConnection.d.ts +16 -2
  173. package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -1
  174. package/dist/commonjs/generated/src/operations/callConnection.js +104 -24
  175. package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
  176. package/dist/commonjs/generated/src/operations/callDialog.d.ts +35 -0
  177. package/dist/commonjs/generated/src/operations/callDialog.d.ts.map +1 -0
  178. package/dist/commonjs/generated/src/operations/callDialog.js +116 -0
  179. package/dist/commonjs/generated/src/operations/callDialog.js.map +1 -0
  180. package/dist/commonjs/generated/src/operations/callMedia.d.ts +15 -8
  181. package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
  182. package/dist/commonjs/generated/src/operations/callMedia.js +50 -26
  183. package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
  184. package/dist/commonjs/generated/src/operations/callRecording.d.ts +7 -1
  185. package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -1
  186. package/dist/commonjs/generated/src/operations/callRecording.js +24 -1
  187. package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
  188. package/dist/commonjs/generated/src/operations/index.d.ts +1 -0
  189. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -1
  190. package/dist/commonjs/generated/src/operations/index.js +1 -0
  191. package/dist/commonjs/generated/src/operations/index.js.map +1 -1
  192. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  193. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  194. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  195. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  196. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  197. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js +10 -0
  198. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  199. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  200. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  201. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  202. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  203. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  204. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  205. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +1 -0
  206. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  207. package/dist/commonjs/generated/src/operationsInterfaces/index.js +1 -0
  208. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -1
  209. package/dist/commonjs/generated/src/pagingHelper.js +4 -2
  210. package/dist/commonjs/generated/src/pagingHelper.js.map +1 -1
  211. package/dist/commonjs/index.d.ts +2 -0
  212. package/dist/commonjs/index.d.ts.map +1 -1
  213. package/dist/commonjs/index.js +2 -0
  214. package/dist/commonjs/index.js.map +1 -1
  215. package/dist/commonjs/models/constants.d.ts.map +1 -1
  216. package/dist/commonjs/models/constants.js +1 -1
  217. package/dist/commonjs/models/constants.js.map +1 -1
  218. package/dist/commonjs/models/events.d.ts +336 -296
  219. package/dist/commonjs/models/events.d.ts.map +1 -1
  220. package/dist/commonjs/models/events.js.map +1 -1
  221. package/dist/commonjs/models/models.d.ts +76 -38
  222. package/dist/commonjs/models/models.d.ts.map +1 -1
  223. package/dist/commonjs/models/models.js +21 -2
  224. package/dist/commonjs/models/models.js.map +1 -1
  225. package/dist/commonjs/models/options.d.ts +34 -4
  226. package/dist/commonjs/models/options.d.ts.map +1 -1
  227. package/dist/commonjs/models/options.js.map +1 -1
  228. package/dist/commonjs/models/responses.d.ts +82 -10
  229. package/dist/commonjs/models/responses.d.ts.map +1 -1
  230. package/dist/commonjs/models/responses.js.map +1 -1
  231. package/dist/commonjs/models/streaming.d.ts +27 -26
  232. package/dist/commonjs/models/streaming.d.ts.map +1 -1
  233. package/dist/commonjs/models/streaming.js +59 -31
  234. package/dist/commonjs/models/streaming.js.map +1 -1
  235. package/dist/commonjs/streamingData.d.ts.map +1 -1
  236. package/dist/commonjs/streamingData.js +1 -10
  237. package/dist/commonjs/streamingData.js.map +1 -1
  238. package/dist/commonjs/tsdoc-metadata.json +11 -11
  239. package/dist/commonjs/utli/converters.d.ts +26 -2
  240. package/dist/commonjs/utli/converters.d.ts.map +1 -1
  241. package/dist/commonjs/utli/converters.js +127 -47
  242. package/dist/commonjs/utli/converters.js.map +1 -1
  243. package/dist/esm/callAutomationClient.d.ts +8 -0
  244. package/dist/esm/callAutomationClient.d.ts.map +1 -1
  245. package/dist/esm/callAutomationClient.js +141 -84
  246. package/dist/esm/callAutomationClient.js.map +1 -1
  247. package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
  248. package/dist/esm/callAutomationEventParser.js +56 -9
  249. package/dist/esm/callAutomationEventParser.js.map +1 -1
  250. package/dist/esm/callConnection.d.ts +15 -5
  251. package/dist/esm/callConnection.d.ts.map +1 -1
  252. package/dist/esm/callConnection.js +193 -86
  253. package/dist/esm/callConnection.js.map +1 -1
  254. package/dist/esm/callMedia.d.ts +19 -9
  255. package/dist/esm/callMedia.d.ts.map +1 -1
  256. package/dist/esm/callMedia.js +175 -28
  257. package/dist/esm/callMedia.js.map +1 -1
  258. package/dist/esm/callRecording.d.ts +8 -2
  259. package/dist/esm/callRecording.d.ts.map +1 -1
  260. package/dist/esm/callRecording.js +26 -16
  261. package/dist/esm/callRecording.js.map +1 -1
  262. package/dist/esm/contentDownloader.js +12 -11
  263. package/dist/esm/contentDownloader.js.map +1 -1
  264. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
  265. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  266. package/dist/esm/credential/callAutomationAuthPolicy.js +1 -1
  267. package/dist/esm/credential/callAutomationAuthPolicy.js.map +1 -1
  268. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  269. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  270. package/dist/esm/eventprocessor/callAutomationEventProcessor.js +137 -0
  271. package/dist/esm/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  272. package/dist/esm/eventprocessor/eventResponses.d.ts +134 -0
  273. package/dist/esm/eventprocessor/eventResponses.d.ts.map +1 -0
  274. package/dist/esm/eventprocessor/eventResponses.js +4 -0
  275. package/dist/esm/eventprocessor/eventResponses.js.map +1 -0
  276. package/dist/esm/generated/src/callAutomationApiClient.d.ts +2 -1
  277. package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -1
  278. package/dist/esm/generated/src/callAutomationApiClient.js +7 -15
  279. package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
  280. package/dist/esm/generated/src/models/index.d.ts +1129 -347
  281. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  282. package/dist/esm/generated/src/models/index.js +159 -75
  283. package/dist/esm/generated/src/models/index.js.map +1 -1
  284. package/dist/esm/generated/src/models/mappers.d.ts +88 -47
  285. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  286. package/dist/esm/generated/src/models/mappers.js +2136 -499
  287. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  288. package/dist/esm/generated/src/models/parameters.d.ts +8 -1
  289. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  290. package/dist/esm/generated/src/models/parameters.js +45 -6
  291. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  292. package/dist/esm/generated/src/operations/callConnection.d.ts +16 -2
  293. package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -1
  294. package/dist/esm/generated/src/operations/callConnection.js +105 -24
  295. package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
  296. package/dist/esm/generated/src/operations/callDialog.d.ts +35 -0
  297. package/dist/esm/generated/src/operations/callDialog.d.ts.map +1 -0
  298. package/dist/esm/generated/src/operations/callDialog.js +111 -0
  299. package/dist/esm/generated/src/operations/callDialog.js.map +1 -0
  300. package/dist/esm/generated/src/operations/callMedia.d.ts +15 -8
  301. package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
  302. package/dist/esm/generated/src/operations/callMedia.js +50 -26
  303. package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
  304. package/dist/esm/generated/src/operations/callRecording.d.ts +7 -1
  305. package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -1
  306. package/dist/esm/generated/src/operations/callRecording.js +24 -1
  307. package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
  308. package/dist/esm/generated/src/operations/index.d.ts +1 -0
  309. package/dist/esm/generated/src/operations/index.d.ts.map +1 -1
  310. package/dist/esm/generated/src/operations/index.js +1 -0
  311. package/dist/esm/generated/src/operations/index.js.map +1 -1
  312. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  313. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  314. package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  315. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  316. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  317. package/dist/esm/generated/src/operationsInterfaces/callDialog.js +9 -0
  318. package/dist/esm/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  319. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  320. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  321. package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  322. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  323. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  324. package/dist/esm/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  325. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +1 -0
  326. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  327. package/dist/esm/generated/src/operationsInterfaces/index.js +1 -0
  328. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -1
  329. package/dist/esm/generated/src/pagingHelper.js +4 -2
  330. package/dist/esm/generated/src/pagingHelper.js.map +1 -1
  331. package/dist/esm/index.d.ts +2 -0
  332. package/dist/esm/index.d.ts.map +1 -1
  333. package/dist/esm/index.js +2 -0
  334. package/dist/esm/index.js.map +1 -1
  335. package/dist/esm/models/constants.d.ts.map +1 -1
  336. package/dist/esm/models/constants.js +1 -1
  337. package/dist/esm/models/constants.js.map +1 -1
  338. package/dist/esm/models/events.d.ts +336 -296
  339. package/dist/esm/models/events.d.ts.map +1 -1
  340. package/dist/esm/models/events.js.map +1 -1
  341. package/dist/esm/models/models.d.ts +76 -38
  342. package/dist/esm/models/models.d.ts.map +1 -1
  343. package/dist/esm/models/models.js +3 -1
  344. package/dist/esm/models/models.js.map +1 -1
  345. package/dist/esm/models/options.d.ts +34 -4
  346. package/dist/esm/models/options.d.ts.map +1 -1
  347. package/dist/esm/models/options.js.map +1 -1
  348. package/dist/esm/models/responses.d.ts +82 -10
  349. package/dist/esm/models/responses.d.ts.map +1 -1
  350. package/dist/esm/models/responses.js.map +1 -1
  351. package/dist/esm/models/streaming.d.ts +27 -26
  352. package/dist/esm/models/streaming.d.ts.map +1 -1
  353. package/dist/esm/models/streaming.js +57 -28
  354. package/dist/esm/models/streaming.js.map +1 -1
  355. package/dist/esm/streamingData.d.ts.map +1 -1
  356. package/dist/esm/streamingData.js +1 -10
  357. package/dist/esm/streamingData.js.map +1 -1
  358. package/dist/esm/utli/converters.d.ts +26 -2
  359. package/dist/esm/utli/converters.d.ts.map +1 -1
  360. package/dist/esm/utli/converters.js +122 -48
  361. package/dist/esm/utli/converters.js.map +1 -1
  362. package/dist/react-native/callAutomationClient.d.ts +8 -0
  363. package/dist/react-native/callAutomationClient.d.ts.map +1 -1
  364. package/dist/react-native/callAutomationClient.js +141 -84
  365. package/dist/react-native/callAutomationClient.js.map +1 -1
  366. package/dist/react-native/callAutomationEventParser.d.ts.map +1 -1
  367. package/dist/react-native/callAutomationEventParser.js +56 -9
  368. package/dist/react-native/callAutomationEventParser.js.map +1 -1
  369. package/dist/react-native/callConnection.d.ts +15 -5
  370. package/dist/react-native/callConnection.d.ts.map +1 -1
  371. package/dist/react-native/callConnection.js +193 -86
  372. package/dist/react-native/callConnection.js.map +1 -1
  373. package/dist/react-native/callMedia.d.ts +19 -9
  374. package/dist/react-native/callMedia.d.ts.map +1 -1
  375. package/dist/react-native/callMedia.js +175 -28
  376. package/dist/react-native/callMedia.js.map +1 -1
  377. package/dist/react-native/callRecording.d.ts +8 -2
  378. package/dist/react-native/callRecording.d.ts.map +1 -1
  379. package/dist/react-native/callRecording.js +26 -16
  380. package/dist/react-native/callRecording.js.map +1 -1
  381. package/dist/react-native/contentDownloader.js +12 -11
  382. package/dist/react-native/contentDownloader.js.map +1 -1
  383. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js +2 -1
  384. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  385. package/dist/react-native/credential/callAutomationAuthPolicy.js +1 -1
  386. package/dist/react-native/credential/callAutomationAuthPolicy.js.map +1 -1
  387. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts +39 -0
  388. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts.map +1 -0
  389. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js +137 -0
  390. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js.map +1 -0
  391. package/dist/react-native/eventprocessor/eventResponses.d.ts +134 -0
  392. package/dist/react-native/eventprocessor/eventResponses.d.ts.map +1 -0
  393. package/dist/react-native/eventprocessor/eventResponses.js +4 -0
  394. package/dist/react-native/eventprocessor/eventResponses.js.map +1 -0
  395. package/dist/react-native/generated/src/callAutomationApiClient.d.ts +2 -1
  396. package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -1
  397. package/dist/react-native/generated/src/callAutomationApiClient.js +7 -15
  398. package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
  399. package/dist/react-native/generated/src/models/index.d.ts +1129 -347
  400. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  401. package/dist/react-native/generated/src/models/index.js +159 -75
  402. package/dist/react-native/generated/src/models/index.js.map +1 -1
  403. package/dist/react-native/generated/src/models/mappers.d.ts +88 -47
  404. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  405. package/dist/react-native/generated/src/models/mappers.js +2136 -499
  406. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  407. package/dist/react-native/generated/src/models/parameters.d.ts +8 -1
  408. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  409. package/dist/react-native/generated/src/models/parameters.js +45 -6
  410. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  411. package/dist/react-native/generated/src/operations/callConnection.d.ts +16 -2
  412. package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -1
  413. package/dist/react-native/generated/src/operations/callConnection.js +105 -24
  414. package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
  415. package/dist/react-native/generated/src/operations/callDialog.d.ts +35 -0
  416. package/dist/react-native/generated/src/operations/callDialog.d.ts.map +1 -0
  417. package/dist/react-native/generated/src/operations/callDialog.js +111 -0
  418. package/dist/react-native/generated/src/operations/callDialog.js.map +1 -0
  419. package/dist/react-native/generated/src/operations/callMedia.d.ts +15 -8
  420. package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
  421. package/dist/react-native/generated/src/operations/callMedia.js +50 -26
  422. package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
  423. package/dist/react-native/generated/src/operations/callRecording.d.ts +7 -1
  424. package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -1
  425. package/dist/react-native/generated/src/operations/callRecording.js +24 -1
  426. package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
  427. package/dist/react-native/generated/src/operations/index.d.ts +1 -0
  428. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -1
  429. package/dist/react-native/generated/src/operations/index.js +1 -0
  430. package/dist/react-native/generated/src/operations/index.js.map +1 -1
  431. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +16 -2
  432. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  433. package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  434. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts +27 -0
  435. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts.map +1 -0
  436. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js +9 -0
  437. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js.map +1 -0
  438. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +15 -8
  439. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  440. package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  441. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +7 -1
  442. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  443. package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  444. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +1 -0
  445. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  446. package/dist/react-native/generated/src/operationsInterfaces/index.js +1 -0
  447. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -1
  448. package/dist/react-native/generated/src/pagingHelper.js +4 -2
  449. package/dist/react-native/generated/src/pagingHelper.js.map +1 -1
  450. package/dist/react-native/index.d.ts +2 -0
  451. package/dist/react-native/index.d.ts.map +1 -1
  452. package/dist/react-native/index.js +2 -0
  453. package/dist/react-native/index.js.map +1 -1
  454. package/dist/react-native/models/constants.d.ts.map +1 -1
  455. package/dist/react-native/models/constants.js +1 -1
  456. package/dist/react-native/models/constants.js.map +1 -1
  457. package/dist/react-native/models/events.d.ts +336 -296
  458. package/dist/react-native/models/events.d.ts.map +1 -1
  459. package/dist/react-native/models/events.js.map +1 -1
  460. package/dist/react-native/models/models.d.ts +76 -38
  461. package/dist/react-native/models/models.d.ts.map +1 -1
  462. package/dist/react-native/models/models.js +3 -1
  463. package/dist/react-native/models/models.js.map +1 -1
  464. package/dist/react-native/models/options.d.ts +34 -4
  465. package/dist/react-native/models/options.d.ts.map +1 -1
  466. package/dist/react-native/models/options.js.map +1 -1
  467. package/dist/react-native/models/responses.d.ts +82 -10
  468. package/dist/react-native/models/responses.d.ts.map +1 -1
  469. package/dist/react-native/models/responses.js.map +1 -1
  470. package/dist/react-native/models/streaming.d.ts +27 -26
  471. package/dist/react-native/models/streaming.d.ts.map +1 -1
  472. package/dist/react-native/models/streaming.js +57 -28
  473. package/dist/react-native/models/streaming.js.map +1 -1
  474. package/dist/react-native/streamingData.d.ts.map +1 -1
  475. package/dist/react-native/streamingData.js +1 -10
  476. package/dist/react-native/streamingData.js.map +1 -1
  477. package/dist/react-native/utli/converters.d.ts +26 -2
  478. package/dist/react-native/utli/converters.d.ts.map +1 -1
  479. package/dist/react-native/utli/converters.js +122 -48
  480. package/dist/react-native/utli/converters.js.map +1 -1
  481. package/package.json +36 -35
@@ -1,15 +1,9 @@
1
1
  import type { CommunicationIdentifier } from "@azure/communication-common";
2
- import { AddParticipantSucceeded as RestAddParticipantSucceeded, AddParticipantFailed as RestAddParticipantFailed, RemoveParticipantSucceeded as RestRemoveParticipantSucceeded, RemoveParticipantFailed as RestRemoveParticipantFailed, CallConnected as RestCallConnected, CallDisconnected as RestCallDisconnected, CallTransferAccepted as RestCallTransferAccepted, CallTransferFailed as RestCallTransferFailed, ParticipantsUpdated as RestParticipantsUpdated, RecordingStateChanged as RestRecordingStateChanged, PlayStarted as RestPlayStarted, PlayCompleted as RestPlayCompleted, PlayFailed as RestPlayFailed, PlayCanceled as RestPlayCanceled, RecognizeCompleted as RestRecognizeCompleted, RecognizeFailed as RestRecognizeFailed, RecognizeCanceled as RestRecognizeCanceled, ResultInformation as RestResultInformation, ContinuousDtmfRecognitionToneReceived as RestContinuousDtmfRecognitionToneReceived, ContinuousDtmfRecognitionToneFailed as RestContinuousDtmfRecognitionToneFailed, ContinuousDtmfRecognitionStopped as RestContinuousDtmfRecognitionStopped, SendDtmfTonesCompleted as RestSendDtmfTonesCompleted, SendDtmfTonesFailed as RestSendDtmfTonesFailed, Tone, CancelAddParticipantSucceeded as RestCancelAddParticipantSucceeded, CancelAddParticipantFailed as RestCancelAddParticipantFailed, ConnectFailed as RestConnectFailed, HoldFailed as RestHoldFailed, AnswerFailed as RestAnswerFailed, CreateCallFailed as RestCreateCallFailed, TranscriptionStarted as RestTranscriptionStarted, TranscriptionStopped as RestTranscriptionStopped, TranscriptionUpdated as RestTranscriptionUpdated, TranscriptionFailed as RestTranscriptionFailed, MediaStreamingStarted as RestMediaStreamingStarted, MediaStreamingStopped as RestMediaStreamingStopped, MediaStreamingFailed as RestMediaStreamingFailed } from "../generated/src/models/index.js";
3
- import type { CallParticipant } from "./models.js";
2
+ import type { Tone, ChoiceResult, DtmfResult, RecognitionType, SpeechResult, MediaStreamingUpdate, TranscriptionUpdate, RecordingKind } from "../generated/src/models/index.js";
3
+ import type { CallParticipant, RecordingState, CustomCallingContext } from "./models.js";
4
4
  /** Callback events for Call Automation */
5
- export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed | HoldFailed | ConnectFailed | MediaStreamingStarted | MediaStreamingStopped | MediaStreamingFailed | PlayStarted | StartRecordingFailed;
6
- export { RestAddParticipantSucceeded, RestAddParticipantFailed, RestRemoveParticipantSucceeded, RestRemoveParticipantFailed, RestCallConnected, RestCallDisconnected, RestCallTransferAccepted, RestCallTransferFailed, RestParticipantsUpdated, RestRecordingStateChanged, RestPlayStarted, RestPlayCompleted, RestPlayFailed, RestPlayCanceled, RestRecognizeCompleted, RestRecognizeFailed, RestRecognizeCanceled, RestResultInformation, RestContinuousDtmfRecognitionToneReceived, RestContinuousDtmfRecognitionToneFailed, RestContinuousDtmfRecognitionStopped, RestSendDtmfTonesCompleted, RestSendDtmfTonesFailed, RestCancelAddParticipantSucceeded, RestCancelAddParticipantFailed, RestConnectFailed, RestTranscriptionStarted, RestTranscriptionStopped, RestTranscriptionUpdated, RestTranscriptionFailed, RestHoldFailed, RestMediaStreamingStarted, RestMediaStreamingStopped, RestMediaStreamingFailed, RestCreateCallFailed, RestAnswerFailed, };
7
- export interface ResultInformation
8
- /**
9
- * @deprecated RestResultInformation is deprecated.
10
- * Use ResultInformation instead.
11
- */
12
- extends Omit<RestResultInformation, "code" | "subCode" | "message"> {
5
+ export type CallAutomationEvent = AddParticipantSucceeded | AddParticipantFailed | RemoveParticipantSucceeded | RemoveParticipantFailed | MoveParticipantSucceeded | MoveParticipantFailed | CallConnected | CallDisconnected | CallTransferAccepted | CallTransferFailed | ParticipantsUpdated | RecordingStateChanged | PlayCompleted | PlayFailed | PlayCanceled | RecognizeCompleted | RecognizeCanceled | RecognizeFailed | ContinuousDtmfRecognitionToneReceived | ContinuousDtmfRecognitionToneFailed | ContinuousDtmfRecognitionStopped | SendDtmfTonesCompleted | SendDtmfTonesFailed | CancelAddParticipantSucceeded | CancelAddParticipantFailed | TranscriptionStarted | TranscriptionStopped | TranscriptionUpdated | TranscriptionFailed | CreateCallFailed | AnswerFailed | HoldFailed | ConnectFailed | MediaStreamingStarted | MediaStreamingStopped | MediaStreamingFailed | StartRecordingFailed | PlayStarted | PlayPaused | PlayResumed | HoldAudioStarted | HoldAudioPaused | HoldAudioResumed | HoldAudioCompleted | IncomingCall;
6
+ export interface ResultInformation {
13
7
  /** The error code. */
14
8
  code: number;
15
9
  /** The sub code of error. */
@@ -18,19 +12,16 @@ export interface ResultInformation
18
12
  message: string;
19
13
  }
20
14
  /** The participant successfully added event. */
21
- export interface AddParticipantSucceeded
22
- /**
23
- * @deprecated RestAddParticipantSucceeded is deprecated.
24
- * Use AddParticipantSucceeded instead.
25
- */
26
- extends Omit<RestAddParticipantSucceeded, "callConnectionId" | "serverCallId" | "correlationId" | "participant" | "resultInformation"> {
15
+ export interface AddParticipantSucceeded {
27
16
  /** Call connection ID. */
28
17
  callConnectionId: string;
29
18
  /** Server call ID. */
30
19
  serverCallId: string;
31
20
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
32
21
  correlationId: string;
33
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
22
+ /** Used this to correlate the request to the response event. */
23
+ operationContext?: string;
24
+ /** Contains the resulting SIP code/sub-code and message. */
34
25
  resultInformation?: ResultInformation;
35
26
  /** The participant in the call. */
36
27
  participant?: CommunicationIdentifier;
@@ -38,19 +29,16 @@ export interface AddParticipantSucceeded
38
29
  kind: "AddParticipantSucceeded";
39
30
  }
40
31
  /** The failed to add participant event. */
41
- export interface AddParticipantFailed
42
- /**
43
- * @deprecated RestAddParticipantFailed is deprecated.
44
- * Use AddParticipantFailed instead.
45
- */
46
- extends Omit<RestAddParticipantFailed, "callConnectionId" | "serverCallId" | "correlationId" | "participant" | "resultInformation"> {
32
+ export interface AddParticipantFailed {
47
33
  /** Call connection ID. */
48
34
  callConnectionId: string;
49
35
  /** Server call ID. */
50
36
  serverCallId: string;
51
37
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
52
38
  correlationId: string;
53
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
39
+ /** Used this to correlate the request to the response event. */
40
+ operationContext?: string;
41
+ /** Contains the resulting SIP code/sub-code and message. */
54
42
  resultInformation?: ResultInformation;
55
43
  /** The participant in the call. */
56
44
  participant?: CommunicationIdentifier;
@@ -58,19 +46,16 @@ export interface AddParticipantFailed
58
46
  kind: "AddParticipantFailed";
59
47
  }
60
48
  /** The participant successfully removed event. */
61
- export interface RemoveParticipantSucceeded
62
- /**
63
- * @deprecated RestRemoveParticipantSucceeded is deprecated.
64
- * Use RemoveParticipantSucceeded instead.
65
- */
66
- extends Omit<RestRemoveParticipantSucceeded, "callConnectionId" | "serverCallId" | "correlationId" | "participant" | "resultInformation"> {
49
+ export interface RemoveParticipantSucceeded {
67
50
  /** Call connection ID. */
68
51
  callConnectionId: string;
69
52
  /** Server call ID. */
70
53
  serverCallId: string;
71
54
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
72
55
  correlationId: string;
73
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
56
+ /** Used this to correlate the request to the response event. */
57
+ operationContext?: string;
58
+ /** Contains the resulting SIP code/sub-code and message. */
74
59
  resultInformation?: ResultInformation;
75
60
  /** The participant in the call. */
76
61
  participant?: CommunicationIdentifier;
@@ -78,287 +63,290 @@ export interface RemoveParticipantSucceeded
78
63
  kind: "RemoveParticipantSucceeded";
79
64
  }
80
65
  /** The failed to remove participant event. */
81
- export interface RemoveParticipantFailed
82
- /**
83
- * @deprecated RestRemoveParticipantFailed is deprecated.
84
- * Use RemoveParticipantFailed instead.
85
- */
86
- extends Omit<RestRemoveParticipantFailed, "callConnectionId" | "serverCallId" | "correlationId" | "participant" | "resultInformation"> {
66
+ export interface RemoveParticipantFailed {
87
67
  /** Call connection ID. */
88
68
  callConnectionId: string;
89
69
  /** Server call ID. */
90
70
  serverCallId: string;
91
71
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
92
72
  correlationId: string;
93
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
73
+ /** Used this to correlate the request to the response event. */
74
+ operationContext?: string;
75
+ /** Contains the resulting SIP code/sub-code and message. */
94
76
  resultInformation?: ResultInformation;
95
77
  /** The participant in the call. */
96
78
  participant?: CommunicationIdentifier;
97
79
  /** kind of this event. */
98
80
  kind: "RemoveParticipantFailed";
99
81
  }
100
- /** Event when call was established. */
101
- export interface CallConnected
102
- /**
103
- * @deprecated RestCallConnected is deprecated.
104
- * Use CallConnected instead.
105
- */
106
- extends Omit<RestCallConnected, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
82
+ /** The participant successfully moved event. */
83
+ export interface MoveParticipantSucceeded {
84
+ /** The CallConnectionId for the call you want to move the participant from */
85
+ fromCall?: string;
107
86
  /** Call connection ID. */
108
87
  callConnectionId: string;
109
88
  /** Server call ID. */
110
89
  serverCallId: string;
111
90
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
112
91
  correlationId: string;
113
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
92
+ /** Used this to correlate the request to the response event. */
93
+ operationContext?: string;
94
+ /** Contains the resulting SIP code/sub-code and message. */
114
95
  resultInformation?: ResultInformation;
96
+ /** The participant in the call. */
97
+ participant?: CommunicationIdentifier;
115
98
  /** kind of this event. */
116
- kind: "CallConnected";
99
+ kind: "MoveParticipantSucceeded";
117
100
  }
118
- /** Event when all participants left and call was terminated. */
119
- export interface CallDisconnected
120
- /**
121
- * @deprecated RestCallDisconnected is deprecated.
122
- * Use CallDisconnected instead.
123
- */
124
- extends Omit<RestCallDisconnected, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
101
+ /** The failed to move participant event. */
102
+ export interface MoveParticipantFailed {
103
+ /** The CallConnectionId for the call you want to move the participant from */
104
+ fromCall?: string;
125
105
  /** Call connection ID. */
126
106
  callConnectionId: string;
127
107
  /** Server call ID. */
128
108
  serverCallId: string;
129
109
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
130
110
  correlationId: string;
131
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
111
+ /** Used this to correlate the request to the response event. */
112
+ operationContext?: string;
113
+ /** Contains the resulting SIP code/sub-code and message. */
132
114
  resultInformation?: ResultInformation;
115
+ /** The participant in the call. */
116
+ participant?: CommunicationIdentifier;
133
117
  /** kind of this event. */
134
- kind: "CallDisconnected";
118
+ kind: "MoveParticipantFailed";
135
119
  }
136
- /** Event when transfer request was successful. */
137
- export interface CallTransferAccepted
138
- /**
139
- * @deprecated RestCallTransferAccepted is deprecated.
140
- * Use CallTransferAccepted instead.
141
- */
142
- extends Omit<RestCallTransferAccepted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation" | "transferee" | "transferTarget"> {
120
+ /** Event when call was established. */
121
+ export interface CallConnected {
143
122
  /** Call connection ID. */
144
123
  callConnectionId: string;
145
124
  /** Server call ID. */
146
125
  serverCallId: string;
147
126
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
148
127
  correlationId: string;
149
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
128
+ /** Used this to correlate the request to the response event. */
129
+ operationContext?: string;
130
+ /** Contains the resulting SIP code/sub-code and message. */
150
131
  resultInformation?: ResultInformation;
151
- /** Participant that was transferred away */
152
- transferee: CommunicationIdentifier;
153
- /** Target that transferee is transferred to */
154
- transferTarget: CommunicationIdentifier;
155
132
  /** kind of this event. */
156
- kind: "CallTransferAccepted";
133
+ kind: "CallConnected";
157
134
  }
158
- /** Event when transfer request was failed. */
159
- export interface CallTransferFailed
160
- /**
161
- * @deprecated RestCallTransferFailed is deprecated.
162
- * Use CallTransferFailed instead.
163
- */
164
- extends Omit<RestCallTransferFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
135
+ /** Event when call was initiated. */
136
+ export interface IncomingCall {
137
+ /** Call connection ID. */
138
+ callConnectionId: string;
139
+ /** The communication identifier of the target user.*/
140
+ to?: CommunicationIdentifier;
141
+ /** The communication identifier of the user who initiated the call.*/
142
+ from?: CommunicationIdentifier;
143
+ /** Display name of caller.*/
144
+ callerDisplayName?: string;
145
+ /** Custom Context of Incoming Call */
146
+ customContext?: CustomCallingContext;
147
+ /** Incoming call context.*/
148
+ incomingCallContext?: string;
149
+ /** The communication identifier of the user on behalf of whom the call is made.*/
150
+ onBehalfOfCallee?: CommunicationIdentifier;
151
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
152
+ correlationId: string;
153
+ /** Contains the resulting SIP code/sub-code and message. */
154
+ resultInformation?: ResultInformation;
155
+ /** kind of this event. */
156
+ kind: "IncomingCall";
157
+ }
158
+ /** Event when all participants left and call was terminated. */
159
+ export interface CallDisconnected {
165
160
  /** Call connection ID. */
166
161
  callConnectionId: string;
167
162
  /** Server call ID. */
168
163
  serverCallId: string;
169
164
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
170
165
  correlationId: string;
171
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
166
+ /** Used this to correlate the request to the response event. */
167
+ operationContext?: string;
168
+ /** Contains the resulting SIP code/sub-code and message. */
172
169
  resultInformation?: ResultInformation;
173
170
  /** kind of this event. */
174
- kind: "CallTransferFailed";
171
+ kind: "CallDisconnected";
175
172
  }
176
- /** Event when there was an update to participant(s). */
177
- export interface ParticipantsUpdated
178
- /**
179
- * @deprecated RestParticipantsUpdated is deprecated.
180
- * Use ParticipantsUpdated instead.
181
- */
182
- extends Omit<RestParticipantsUpdated, "callConnectionId" | "serverCallId" | "correlationId" | "participants" | "resultInformation"> {
173
+ /** Event when transfer request was successful. */
174
+ export interface CallTransferAccepted {
183
175
  /** Call connection ID. */
184
176
  callConnectionId: string;
185
177
  /** Server call ID. */
186
178
  serverCallId: string;
187
179
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
188
180
  correlationId: string;
189
- /** The list of participants in the call. */
190
- participants: CallParticipant[];
191
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
181
+ /** Used this to correlate the request to the response event. */
182
+ operationContext?: string;
183
+ /** Contains the resulting SIP code/sub-code and message. */
192
184
  resultInformation?: ResultInformation;
185
+ /** Participant that was transferred away */
186
+ transferee: CommunicationIdentifier;
187
+ /** Target that transferee is transferred to */
188
+ transferTarget: CommunicationIdentifier;
193
189
  /** kind of this event. */
194
- kind: "ParticipantsUpdated";
190
+ kind: "CallTransferAccepted";
195
191
  }
196
- /** Event when Recording state has been changed. */
197
- export interface RecordingStateChanged
198
- /**
199
- * @deprecated RestRecordingStateChanged is deprecated.
200
- * Use RecordingStateChanged instead.
201
- */
202
- extends Omit<RestRecordingStateChanged, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
192
+ /** Event when transfer request was failed. */
193
+ export interface CallTransferFailed {
203
194
  /** Call connection ID. */
204
195
  callConnectionId: string;
205
196
  /** Server call ID. */
206
197
  serverCallId: string;
207
198
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
208
199
  correlationId: string;
209
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
200
+ /** Used this to correlate the request to the response event. */
201
+ operationContext?: string;
202
+ /** Contains the resulting SIP code/sub-code and message. */
210
203
  resultInformation?: ResultInformation;
211
204
  /** kind of this event. */
212
- kind: "RecordingStateChanged";
205
+ kind: "CallTransferFailed";
213
206
  }
214
- /** Event when StartRecording was failed. */
215
- export interface StartRecordingFailed {
207
+ /** Event when there was an update to participant(s). */
208
+ export interface ParticipantsUpdated {
216
209
  /** Call connection ID. */
217
210
  callConnectionId: string;
218
211
  /** Server call ID. */
219
212
  serverCallId: string;
220
213
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
221
214
  correlationId: string;
215
+ /** The list of participants in the call. */
216
+ participants: CallParticipant[];
217
+ /** The Sequence Number of the event */
218
+ sequenceNumber?: number;
222
219
  /** Contains the resulting SIP code, sub-code and message. */
223
220
  resultInformation?: ResultInformation;
224
- /** The call recording id */
225
- recordingId?: string;
226
221
  /** kind of this event. */
227
- kind: "StartRecordingFailed";
222
+ kind: "ParticipantsUpdated";
228
223
  }
229
- /** Event when Media play was successfully started. */
230
- export interface PlayStarted
231
- /**
232
- * @deprecated RestPlayStarted is deprecated.
233
- * Use PlayStarted instead.
234
- */
235
- extends Omit<RestPlayStarted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
224
+ /** Event when Recording state has been changed. */
225
+ export interface RecordingStateChanged {
236
226
  /** Call connection ID. */
237
227
  callConnectionId: string;
238
228
  /** Server call ID. */
239
229
  serverCallId: string;
240
230
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
241
231
  correlationId: string;
242
- /** Contains the resulting SIP code, sub-code and message. */
232
+ /** Contains the resulting SIP code/sub-code and message. */
243
233
  resultInformation?: ResultInformation;
234
+ /** The call recording id*/
235
+ recordingId?: string;
236
+ state?: RecordingState;
237
+ /** The time of the recording started*/
238
+ startDateTime?: Date;
239
+ recordingKind?: RecordingKind;
244
240
  /** kind of this event. */
245
- kind: "PlayStarted";
241
+ kind: "RecordingStateChanged";
246
242
  }
247
243
  /** Event when Media play was successfully completed. */
248
- export interface PlayCompleted
249
- /**
250
- * @deprecated RestPlayCompleted is deprecated.
251
- * Use PlayCompleted instead.
252
- */
253
- extends Omit<RestPlayCompleted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
244
+ export interface PlayCompleted {
254
245
  /** Call connection ID. */
255
246
  callConnectionId: string;
256
247
  /** Server call ID. */
257
248
  serverCallId: string;
258
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
249
+ /** Contains the resulting SIP code/sub-code and message. */
259
250
  resultInformation?: ResultInformation;
260
251
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
261
252
  correlationId: string;
253
+ /** Used this to correlate the request to the response event. */
254
+ operationContext?: string;
262
255
  /** kind of this event. */
263
256
  kind: "PlayCompleted";
264
257
  }
265
258
  /** Event when Media play was failed. */
266
- export interface PlayFailed
267
- /**
268
- * @deprecated RestPlayFailed is deprecated.
269
- * Use PlayFailed instead.
270
- */
271
- extends Omit<RestPlayFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
259
+ export interface PlayFailed {
272
260
  /** Call connection ID. */
273
261
  callConnectionId: string;
274
262
  /** Server call ID. */
275
263
  serverCallId: string;
276
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
264
+ /** Contains the resulting SIP code/sub-code and message. */
277
265
  resultInformation?: ResultInformation;
278
266
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
279
267
  correlationId: string;
268
+ /** Used this to correlate the request to the response event. */
269
+ operationContext?: string;
270
+ /** Contains the index of the failed play source. */
271
+ failedPlaySourceIndex?: number;
280
272
  /** kind of this event. */
281
273
  kind: "PlayFailed";
282
274
  }
283
275
  /** Event when Media play was canceled by Cancel operation. */
284
- export interface PlayCanceled
285
- /**
286
- * @deprecated RestPlayCanceled is deprecated.
287
- * Use PlayCanceled instead.
288
- */
289
- extends Omit<RestPlayCanceled, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
276
+ export interface PlayCanceled {
290
277
  /** Call connection ID. */
291
278
  callConnectionId: string;
292
279
  /** Server call ID. */
293
280
  serverCallId: string;
294
281
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
295
282
  correlationId: string;
296
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
283
+ /** Used this to correlate the request to the response event. */
284
+ operationContext?: string;
285
+ /** Contains the resulting SIP code/sub-code and message. */
297
286
  resultInformation?: ResultInformation;
298
287
  /** kind of this event. */
299
288
  kind: "PlayCanceled";
300
289
  }
301
290
  /** Event when Media recognize was successfully completed. */
302
- export interface RecognizeCompleted
303
- /**
304
- * @deprecated RestRecognizeCompleted is deprecated.
305
- * Use RecognizeCompleted instead.
306
- */
307
- extends Omit<RestRecognizeCompleted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
291
+ export interface RecognizeCompleted {
308
292
  /** Call connection ID. */
309
293
  callConnectionId: string;
310
294
  /** Server call ID. */
311
295
  serverCallId: string;
312
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
296
+ /** Contains the resulting SIP code/sub-code and message. */
313
297
  resultInformation?: ResultInformation;
314
298
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
315
299
  correlationId: string;
300
+ /** Used this to correlate the request to the response event. */
301
+ operationContext?: string;
302
+ /**
303
+ * Determines the sub-type of the recognize operation.
304
+ * In case of cancel operation the this field is not set and is returned empty
305
+ */
306
+ recognitionType?: RecognitionType;
307
+ /** Defines the result for RecognitionType = Dtmf */
308
+ dtmfResult?: DtmfResult;
309
+ /** Defines the result for RecognitionType = Choices */
310
+ choiceResult?: ChoiceResult;
311
+ /** Defines the result for RecognitionType = Speech and SpeechOrDtmf */
312
+ speechResult?: SpeechResult;
316
313
  /** kind of this event. */
317
314
  kind: "RecognizeCompleted";
318
315
  }
319
316
  /** Event when Media recognize was failed. */
320
- export interface RecognizeFailed
321
- /**
322
- * @deprecated RestRecognizeFailed is deprecated.
323
- * Use RecognizeFailed instead.
324
- */
325
- extends Omit<RestRecognizeFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
317
+ export interface RecognizeFailed {
326
318
  /** Call connection ID. */
327
319
  callConnectionId: string;
328
320
  /** Server call ID. */
329
321
  serverCallId: string;
330
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
322
+ /** Contains the resulting SIP code/sub-code and message. */
331
323
  resultInformation?: ResultInformation;
332
324
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
333
325
  correlationId: string;
326
+ /** Used this to correlate the request to the response event. */
327
+ operationContext?: string;
328
+ /** Contains the index of the failed play source. */
329
+ failedPlaySourceIndex?: number;
334
330
  /** kind of this event. */
335
331
  kind: "RecognizeFailed";
336
332
  }
337
333
  /** Event when Media recognize was canceled by Cancel operation. */
338
- export interface RecognizeCanceled
339
- /**
340
- * @deprecated RestRecognizeCanceled is deprecated.
341
- * Use RecognizeCanceled instead.
342
- */
343
- extends Omit<RestRecognizeCanceled, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
334
+ export interface RecognizeCanceled {
344
335
  /** Call connection ID. */
345
336
  callConnectionId: string;
346
337
  /** Server call ID. */
347
338
  serverCallId: string;
348
339
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
349
340
  correlationId: string;
350
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
341
+ /** Used this to correlate the request to the response event. */
342
+ operationContext?: string;
343
+ /** Contains the resulting SIP code/sub-code and message. */
351
344
  resultInformation?: ResultInformation;
352
345
  /** kind of this event. */
353
346
  kind: "RecognizeCanceled";
354
347
  }
355
348
  /** Event sent when Dtmf tone received from targeted participant in call. */
356
- export interface ContinuousDtmfRecognitionToneReceived
357
- /**
358
- * @deprecated RestContinuousDtmfRecognitionToneReceived is deprecated.
359
- * Use ContinuousDtmfRecognitionToneReceived instead.
360
- */
361
- extends Omit<RestContinuousDtmfRecognitionToneReceived, "sequenceId" | "tone" | "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
349
+ export interface ContinuousDtmfRecognitionToneReceived {
362
350
  /** The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. */
363
351
  sequenceId: number;
364
352
  /** Defines values for Tone. */
@@ -369,314 +357,276 @@ export interface ContinuousDtmfRecognitionToneReceived
369
357
  serverCallId: string;
370
358
  /** Correlation ID for event to call correlation. Also called ChainId or skype chain ID. */
371
359
  correlationId: string;
372
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
360
+ /** Used this to correlate the request to the response event. */
361
+ operationContext?: string;
362
+ /** Contains the resulting SIP code/sub-code and message. */
373
363
  resultInformation?: ResultInformation;
374
364
  /** kind of this event. */
375
365
  kind: "ContinuousDtmfRecognitionToneReceived";
376
366
  }
377
367
  /** Event sent when failed to recognize continuous Dtmf tone. */
378
- export interface ContinuousDtmfRecognitionToneFailed
379
- /**
380
- * @deprecated RestContinuousDtmfRecognitionToneFailed is deprecated.
381
- * Use ContinuousDtmfRecognitionToneFailed instead.
382
- */
383
- extends Omit<RestContinuousDtmfRecognitionToneFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
368
+ export interface ContinuousDtmfRecognitionToneFailed {
384
369
  /** Call connection ID. */
385
370
  callConnectionId: string;
386
371
  /** Server call ID. */
387
372
  serverCallId: string;
388
373
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
389
374
  correlationId: string;
390
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
375
+ /** Used this to correlate the request to the response event. */
376
+ operationContext?: string;
377
+ /** Contains the resulting SIP code/sub-code and message. */
391
378
  resultInformation?: ResultInformation;
392
379
  /** kind of this event. */
393
380
  kind: "ContinuousDtmfRecognitionToneFailed";
394
381
  }
395
382
  /** Event sent when continuous Dtmf recognition stopped. */
396
- export interface ContinuousDtmfRecognitionStopped
397
- /**
398
- * @deprecated RestContinuousDtmfRecognitionStopped is deprecated.
399
- * Use ContinuousDtmfRecognitionStopped instead.
400
- */
401
- extends Omit<RestContinuousDtmfRecognitionStopped, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
383
+ export interface ContinuousDtmfRecognitionStopped {
402
384
  /** Call connection ID. */
403
385
  callConnectionId: string;
404
386
  /** Server call ID. */
405
387
  serverCallId: string;
406
388
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
407
389
  correlationId: string;
408
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
390
+ /** Used this to correlate the request to the response event. */
391
+ operationContext?: string;
392
+ /** Contains the resulting SIP code/sub-code and message. */
409
393
  resultInformation?: ResultInformation;
410
394
  /** kind of this event. */
411
395
  kind: "ContinuousDtmfRecognitionStopped";
412
396
  }
413
397
  /** Event sent when Dtmf tones send successfully. */
414
- export interface SendDtmfTonesCompleted
415
- /**
416
- * @deprecated RestSendDtmfTonesCompleted is deprecated.
417
- * Use SendDtmfTonesCompleted instead.
418
- */
419
- extends Omit<RestSendDtmfTonesCompleted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
398
+ export interface SendDtmfTonesCompleted {
420
399
  /** Call connection ID. */
421
400
  callConnectionId: string;
422
401
  /** Server call ID. */
423
402
  serverCallId: string;
424
403
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
425
404
  correlationId: string;
426
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
405
+ /** Used this to correlate the request to the response event. */
406
+ operationContext?: string;
407
+ /** Contains the resulting SIP code/sub-code and message. */
427
408
  resultInformation?: ResultInformation;
428
409
  /** kind of this event. */
429
410
  kind: "SendDtmfTonesCompleted";
430
411
  }
431
412
  /** Event sent when Dtmf tones send failed. */
432
- export interface SendDtmfTonesFailed
433
- /**
434
- * @deprecated RestSendDtmfTonesFailed is deprecated.
435
- * Use SendDtmfTonesFailed instead.
436
- */
437
- extends Omit<RestSendDtmfTonesFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
413
+ export interface SendDtmfTonesFailed {
438
414
  /** Call connection ID. */
439
415
  callConnectionId: string;
440
416
  /** Server call ID. */
441
417
  serverCallId: string;
442
418
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
443
419
  correlationId: string;
444
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
420
+ /** Used this to correlate the request to the response event. */
421
+ operationContext?: string;
422
+ /** Contains the resulting SIP code/sub-code and message. */
445
423
  resultInformation?: ResultInformation;
446
424
  /** kind of this event. */
447
425
  kind: "SendDtmfTonesFailed";
448
426
  }
449
427
  /** Successful cancel add participant event. */
450
- export interface CancelAddParticipantSucceeded
451
- /**
452
- * @deprecated RestCancelAddParticipantSucceeded is deprecated.
453
- * Use CancelAddParticipantSucceeded instead.
454
- */
455
- extends Omit<RestCancelAddParticipantSucceeded, "callConnectionId" | "serverCallId" | "correlationId" | "invitationId" | "resultInformation"> {
428
+ export interface CancelAddParticipantSucceeded {
456
429
  /** Call connection ID. */
457
430
  callConnectionId: string;
458
431
  /** Server call ID. */
459
432
  serverCallId: string;
460
433
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
461
434
  correlationId: string;
435
+ /** Used this to correlate the request to the response event. */
436
+ operationContext?: string;
437
+ /** Contains the resulting SIP code/sub-code and message. */
438
+ resultInformation?: ResultInformation;
462
439
  /** Invitation ID used to cancel the add participant request. */
463
440
  invitationId: string;
464
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
465
- resultInformation?: ResultInformation;
466
441
  /** kind of this event. */
467
442
  kind: "CancelAddParticipantSucceeded";
468
443
  }
469
444
  /** The failed to cancel add participant event. */
470
- export interface CancelAddParticipantFailed
471
- /**
472
- * @deprecated RestCancelAddParticipantFailed is deprecated.
473
- * Use CancelAddParticipantFailed instead.
474
- */
475
- extends Omit<RestCancelAddParticipantFailed, "callConnectionId" | "serverCallId" | "correlationId" | "invitationId" | "resultInformation"> {
445
+ export interface CancelAddParticipantFailed {
476
446
  /** Call connection ID. */
477
447
  callConnectionId: string;
478
448
  /** Server call ID. */
479
449
  serverCallId: string;
480
450
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
481
451
  correlationId: string;
452
+ /** Used this to correlate the request to the response event. */
453
+ operationContext?: string;
482
454
  /** Invitation ID used to cancel the add participant request. */
483
455
  invitationId: string;
484
- /** Contains the resulting SIP code/sub-code and message from NGC services. */
456
+ /** Contains the resulting SIP code/sub-code and message. */
485
457
  resultInformation?: ResultInformation;
486
458
  /** kind of this event. */
487
459
  kind: "CancelAddParticipantFailed";
488
460
  }
489
- export interface ConnectFailed
490
- /**
491
- * @deprecated RestConnectFailed is deprecated.
492
- * Use ConnectFailed instead.
493
- */
494
- extends Omit<RestConnectFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
461
+ export interface TranscriptionStarted {
462
+ /** Defines the result for TranscriptionUpdate with the current status and the details about the status */
463
+ transcriptionUpdate?: TranscriptionUpdate;
495
464
  /** Call connection ID. */
496
465
  callConnectionId: string;
466
+ /** Server call ID. */
467
+ serverCallId: string;
497
468
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
498
469
  correlationId: string;
470
+ /** Used this to correlate the request to the response event. */
471
+ operationContext?: string;
499
472
  /** Contains the resulting SIP code, sub-code and message. */
500
473
  resultInformation?: ResultInformation;
501
474
  /** kind of this event. */
502
- kind: "ConnectFailed";
475
+ kind: "TranscriptionStarted";
503
476
  }
504
- export interface HoldFailed
505
- /**
506
- * @deprecated RestHoldFailed is deprecated.
507
- * Use HoldFailed instead.
508
- */
509
- extends Omit<RestHoldFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
477
+ export interface TranscriptionStopped {
478
+ /** Defines the result for TranscriptionUpdate with the current status and the details about the status */
479
+ transcriptionUpdate?: TranscriptionUpdate;
510
480
  /** Call connection ID. */
511
481
  callConnectionId: string;
512
482
  /** Server call ID. */
513
483
  serverCallId: string;
514
484
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
515
485
  correlationId: string;
486
+ /** Used this to correlate the request to the response event. */
487
+ operationContext?: string;
516
488
  /** Contains the resulting SIP code, sub-code and message. */
517
489
  resultInformation?: ResultInformation;
518
490
  /** kind of this event. */
519
- kind: "HoldFailed";
491
+ kind: "TranscriptionStopped";
520
492
  }
521
- export interface AnswerFailed
522
- /**
523
- * @deprecated RestAnswerFailed is deprecated.
524
- * Use AnswerFailed instead.
525
- */
526
- extends Omit<RestAnswerFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
493
+ export interface TranscriptionUpdated {
494
+ /** Defines the result for TranscriptionUpdate with the current status and the details about the status */
495
+ transcriptionUpdate?: TranscriptionUpdate;
527
496
  /** Call connection ID. */
528
497
  callConnectionId: string;
529
498
  /** Server call ID. */
530
499
  serverCallId: string;
531
500
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
532
501
  correlationId: string;
502
+ /** Used this to correlate the request to the response event. */
503
+ operationContext?: string;
533
504
  /** Contains the resulting SIP code, sub-code and message. */
534
505
  resultInformation?: ResultInformation;
535
506
  /** kind of this event. */
536
- kind: "AnswerFailed";
507
+ kind: "TranscriptionUpdated";
537
508
  }
538
- export interface CreateCallFailed
539
- /**
540
- * @deprecated RestCreateCallFailed is deprecated.
541
- * Use CreateCallFailed instead.
542
- */
543
- extends Omit<RestCreateCallFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
509
+ export interface TranscriptionFailed {
510
+ /** Defines the result for TranscriptionUpdate with the current status and the details about the status */
511
+ transcriptionUpdate?: TranscriptionUpdate;
544
512
  /** Call connection ID. */
545
513
  callConnectionId: string;
546
514
  /** Server call ID. */
547
515
  serverCallId: string;
548
516
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
549
517
  correlationId: string;
518
+ /** Used this to correlate the request to the response event. */
519
+ operationContext?: string;
550
520
  /** Contains the resulting SIP code, sub-code and message. */
551
521
  resultInformation?: ResultInformation;
552
522
  /** kind of this event. */
553
- kind: "CreateCallFailed";
523
+ kind: "TranscriptionFailed";
554
524
  }
555
- export interface TranscriptionStarted
556
- /**
557
- * @deprecated RestTranscriptionStarted is deprecated.
558
- * Use TranscriptionStarted instead.
559
- */
560
- extends Omit<RestTranscriptionStarted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
525
+ export interface CreateCallFailed {
561
526
  /** Call connection ID. */
562
527
  callConnectionId: string;
563
528
  /** Server call ID. */
564
529
  serverCallId: string;
565
530
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
566
531
  correlationId: string;
532
+ /** Used this to correlate the request to the response event. */
533
+ operationContext?: string;
567
534
  /** Contains the resulting SIP code, sub-code and message. */
568
- resultInformation?: RestResultInformation;
535
+ resultInformation?: ResultInformation;
569
536
  /** kind of this event. */
570
- kind: "TranscriptionStarted";
537
+ kind: "CreateCallFailed";
571
538
  }
572
- export interface TranscriptionStopped
573
- /**
574
- * @deprecated RestTranscriptionStopped is deprecated.
575
- * Use TranscriptionStopped instead.
576
- */
577
- extends Omit<RestTranscriptionStopped, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
539
+ export interface AnswerFailed {
578
540
  /** Call connection ID. */
579
541
  callConnectionId: string;
580
542
  /** Server call ID. */
581
543
  serverCallId: string;
582
544
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
583
545
  correlationId: string;
546
+ /** Used this to correlate the request to the response event. */
547
+ operationContext?: string;
584
548
  /** Contains the resulting SIP code, sub-code and message. */
585
- resultInformation?: RestResultInformation;
549
+ resultInformation?: ResultInformation;
586
550
  /** kind of this event. */
587
- kind: "TranscriptionStopped";
551
+ kind: "AnswerFailed";
588
552
  }
589
- export interface TranscriptionUpdated
590
- /**
591
- * @deprecated RestTranscriptionUpdated is deprecated.
592
- * Use TranscriptionUpdated instead.
593
- */
594
- extends Omit<RestTranscriptionUpdated, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
553
+ export interface HoldFailed {
595
554
  /** Call connection ID. */
596
555
  callConnectionId: string;
597
556
  /** Server call ID. */
598
557
  serverCallId: string;
599
558
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
600
559
  correlationId: string;
560
+ /** Used this to correlate the request to the response event. */
561
+ operationContext?: string;
601
562
  /** Contains the resulting SIP code, sub-code and message. */
602
- resultInformation?: RestResultInformation;
563
+ resultInformation?: ResultInformation;
603
564
  /** kind of this event. */
604
- kind: "TranscriptionUpdated";
565
+ kind: "HoldFailed";
605
566
  }
606
- export interface TranscriptionFailed
607
- /**
608
- * @deprecated RestTranscriptionFailed is deprecated.
609
- * Use TranscriptionFailed instead.
610
- */
611
- extends Omit<RestTranscriptionFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
567
+ export interface ConnectFailed {
612
568
  /** Call connection ID. */
613
569
  callConnectionId: string;
614
570
  /** Server call ID. */
615
571
  serverCallId: string;
616
572
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
617
573
  correlationId: string;
574
+ /** Used this to correlate the request to the response event. */
575
+ operationContext?: string;
618
576
  /** Contains the resulting SIP code, sub-code and message. */
619
- resultInformation?: RestResultInformation;
577
+ resultInformation?: ResultInformation;
620
578
  /** kind of this event. */
621
- kind: "TranscriptionFailed";
579
+ kind: "ConnectFailed";
622
580
  }
623
- export interface MediaStreamingStarted
624
- /**
625
- * @deprecated RestMediaStreamingStarted is deprecated.
626
- * Use MediaStreamingStarted instead.
627
- */
628
- extends Omit<RestMediaStreamingStarted, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
581
+ export interface MediaStreamingStarted {
582
+ /** Defines the result for MediaStreamingUpdate with the current status and the details about the status */
583
+ mediaStreamingUpdate?: MediaStreamingUpdate;
629
584
  /** Call connection ID. */
630
585
  callConnectionId: string;
631
586
  /** Server call ID. */
632
587
  serverCallId: string;
633
588
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
634
589
  correlationId: string;
590
+ /** Used this to correlate the request to the response event. */
591
+ operationContext?: string;
635
592
  /** Contains the resulting SIP code, sub-code and message. */
636
593
  resultInformation?: ResultInformation;
637
594
  /** kind of this event. */
638
595
  kind: "MediaStreamingStarted";
639
596
  }
640
- export interface MediaStreamingStopped
641
- /**
642
- * @deprecated RestMediaStreamingStopped is deprecated.
643
- * Use MediaStreamingStopped instead.
644
- */
645
- extends Omit<RestMediaStreamingStopped, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
597
+ export interface MediaStreamingStopped {
598
+ /** Defines the result for MediaStreamingUpdate with the current status and the details about the status */
599
+ mediaStreamingUpdate?: MediaStreamingUpdate;
646
600
  /** Call connection ID. */
647
601
  callConnectionId: string;
648
602
  /** Server call ID. */
649
603
  serverCallId: string;
650
604
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
651
605
  correlationId: string;
606
+ /** Used this to correlate the request to the response event. */
607
+ operationContext?: string;
652
608
  /** Contains the resulting SIP code, sub-code and message. */
653
609
  resultInformation?: ResultInformation;
654
610
  /** kind of this event. */
655
611
  kind: "MediaStreamingStopped";
656
612
  }
657
- export interface MediaStreamingFailed
658
- /**
659
- * @deprecated RestMediaStreamingFailed is deprecated.
660
- * Use MediaStreamingFailed instead.
661
- */
662
- extends Omit<RestMediaStreamingFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
613
+ export interface MediaStreamingFailed {
614
+ /** Defines the result for MediaStreamingUpdate with the current status and the details about the status */
615
+ mediaStreamingUpdate?: MediaStreamingUpdate;
663
616
  /** Call connection ID. */
664
617
  callConnectionId: string;
665
618
  /** Server call ID. */
666
619
  serverCallId: string;
667
620
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
668
621
  correlationId: string;
622
+ /** Used this to correlate the request to the response event. */
623
+ operationContext?: string;
669
624
  /** Contains the resulting SIP code, sub-code and message. */
670
625
  resultInformation?: ResultInformation;
671
626
  /** kind of this event. */
672
627
  kind: "MediaStreamingFailed";
673
628
  }
674
- export interface CreateCallFailed
675
- /**
676
- * @deprecated RestCreateCallFailed is deprecated.
677
- * Use CreateCallFailed instead.
678
- */
679
- extends Omit<RestCreateCallFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
629
+ export interface StartRecordingFailed {
680
630
  /** Call connection ID. */
681
631
  callConnectionId: string;
682
632
  /** Server call ID. */
@@ -685,24 +635,114 @@ export interface CreateCallFailed
685
635
  correlationId: string;
686
636
  /** Contains the resulting SIP code, sub-code and message. */
687
637
  resultInformation?: ResultInformation;
638
+ /** The call recording id */
639
+ recordingId?: string;
688
640
  /** kind of this event. */
689
- kind: "CreateCallFailed";
641
+ kind: "StartRecordingFailed";
690
642
  }
691
- export interface AnswerFailed
692
- /**
693
- * @deprecated RestAnswerFailed is deprecated.
694
- * Use AnswerFailed instead.
695
- */
696
- extends Omit<RestAnswerFailed, "callConnectionId" | "serverCallId" | "correlationId" | "resultInformation"> {
643
+ /** Event when Media play was successfully started. */
644
+ export interface PlayStarted {
697
645
  /** Call connection ID. */
698
646
  callConnectionId: string;
699
647
  /** Server call ID. */
700
648
  serverCallId: string;
701
649
  /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
702
650
  correlationId: string;
651
+ /** Used this to correlate the request to the response event. */
652
+ operationContext?: string;
703
653
  /** Contains the resulting SIP code, sub-code and message. */
704
654
  resultInformation?: ResultInformation;
705
655
  /** kind of this event. */
706
- kind: "AnswerFailed";
656
+ kind: "PlayStarted";
657
+ }
658
+ /** Event when Media play was successfully paused. */
659
+ export interface PlayPaused {
660
+ /** Call connection ID. */
661
+ callConnectionId: string;
662
+ /** Server call ID. */
663
+ serverCallId: string;
664
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
665
+ correlationId: string;
666
+ /** Used this to correlate the request to the response event. */
667
+ operationContext?: string;
668
+ /** Contains the resulting SIP code, sub-code and message. */
669
+ resultInformation?: ResultInformation;
670
+ /** kind of this event. */
671
+ kind: "PlayPaused";
672
+ }
673
+ /** Event when Media play was successfully paused. */
674
+ export interface PlayResumed {
675
+ /** Call connection ID. */
676
+ callConnectionId: string;
677
+ /** Server call ID. */
678
+ serverCallId: string;
679
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
680
+ correlationId: string;
681
+ /** Used this to correlate the request to the response event. */
682
+ operationContext?: string;
683
+ /** Contains the resulting SIP code, sub-code and message. */
684
+ resultInformation?: ResultInformation;
685
+ /** kind of this event. */
686
+ kind: "PlayResumed";
687
+ }
688
+ /** Event when hold audio play was successfully started. */
689
+ export interface HoldAudioStarted {
690
+ /** Call connection ID. */
691
+ callConnectionId: string;
692
+ /** Server call ID. */
693
+ serverCallId: string;
694
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
695
+ correlationId: string;
696
+ /** Used this to correlate the request to the response event. */
697
+ operationContext?: string;
698
+ /** Contains the resulting SIP code, sub-code and message. */
699
+ resultInformation?: ResultInformation;
700
+ /** kind of this event. */
701
+ kind: "HoldAudioStarted";
702
+ }
703
+ /** Event when hold audio play was successfully paused. */
704
+ export interface HoldAudioPaused {
705
+ /** Call connection ID. */
706
+ callConnectionId: string;
707
+ /** Server call ID. */
708
+ serverCallId: string;
709
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
710
+ correlationId: string;
711
+ /** Used this to correlate the request to the response event. */
712
+ operationContext?: string;
713
+ /** Contains the resulting SIP code, sub-code and message. */
714
+ resultInformation?: ResultInformation;
715
+ /** kind of this event. */
716
+ kind: "HoldAudioPaused";
717
+ }
718
+ /** Event when hold audio play was successfully resumed. */
719
+ export interface HoldAudioResumed {
720
+ /** Call connection ID. */
721
+ callConnectionId: string;
722
+ /** Server call ID. */
723
+ serverCallId: string;
724
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
725
+ correlationId: string;
726
+ /** Used this to correlate the request to the response event. */
727
+ operationContext?: string;
728
+ /** Contains the resulting SIP code, sub-code and message. */
729
+ resultInformation?: ResultInformation;
730
+ /** kind of this event. */
731
+ kind: "HoldAudioResumed";
732
+ }
733
+ /** Event when hold audio play was successfully completed. */
734
+ export interface HoldAudioCompleted {
735
+ /** Call connection ID. */
736
+ callConnectionId: string;
737
+ /** Server call ID. */
738
+ serverCallId: string;
739
+ /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */
740
+ correlationId: string;
741
+ /** Used this to correlate the request to the response event. */
742
+ operationContext?: string;
743
+ /** Contains the resulting SIP code, sub-code and message. */
744
+ resultInformation?: ResultInformation;
745
+ /** kind of this event. */
746
+ kind: "HoldAudioCompleted";
707
747
  }
708
748
  //# sourceMappingURL=events.d.ts.map