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

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