@azure/communication-call-automation 1.5.0-alpha.20250519.1 → 1.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. package/README.md +1 -51
  2. package/dist/browser/callAutomationClient.d.ts +2 -9
  3. package/dist/browser/callAutomationClient.d.ts.map +1 -1
  4. package/dist/browser/callAutomationClient.js +9 -106
  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 +0 -18
  8. package/dist/browser/callAutomationEventParser.js.map +1 -1
  9. package/dist/browser/callConnection.d.ts +4 -6
  10. package/dist/browser/callConnection.d.ts.map +1 -1
  11. package/dist/browser/callConnection.js +13 -112
  12. package/dist/browser/callConnection.js.map +1 -1
  13. package/dist/browser/callMedia.d.ts +10 -20
  14. package/dist/browser/callMedia.d.ts.map +1 -1
  15. package/dist/browser/callMedia.js +20 -188
  16. package/dist/browser/callMedia.js.map +1 -1
  17. package/dist/browser/callRecording.d.ts.map +1 -1
  18. package/dist/browser/callRecording.js +5 -2
  19. package/dist/browser/callRecording.js.map +1 -1
  20. package/dist/browser/generated/src/callAutomationApiClient.d.ts +1 -2
  21. package/dist/browser/generated/src/callAutomationApiClient.d.ts.map +1 -1
  22. package/dist/browser/generated/src/callAutomationApiClient.js +2 -3
  23. package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
  24. package/dist/browser/generated/src/models/index.d.ts +205 -850
  25. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  26. package/dist/browser/generated/src/models/index.js +48 -126
  27. package/dist/browser/generated/src/models/index.js.map +1 -1
  28. package/dist/browser/generated/src/models/mappers.d.ts +11 -48
  29. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  30. package/dist/browser/generated/src/models/mappers.js +460 -1644
  31. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  32. package/dist/browser/generated/src/models/parameters.d.ts +1 -7
  33. package/dist/browser/generated/src/models/parameters.d.ts.map +1 -1
  34. package/dist/browser/generated/src/models/parameters.js +6 -41
  35. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  36. package/dist/browser/generated/src/operations/callConnection.d.ts +2 -9
  37. package/dist/browser/generated/src/operations/callConnection.d.ts.map +1 -1
  38. package/dist/browser/generated/src/operations/callConnection.js +1 -33
  39. package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
  40. package/dist/browser/generated/src/operations/callMedia.d.ts +8 -15
  41. package/dist/browser/generated/src/operations/callMedia.d.ts.map +1 -1
  42. package/dist/browser/generated/src/operations/callMedia.js +25 -50
  43. package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
  44. package/dist/browser/generated/src/operations/callRecording.d.ts +1 -7
  45. package/dist/browser/generated/src/operations/callRecording.d.ts.map +1 -1
  46. package/dist/browser/generated/src/operations/callRecording.js +0 -24
  47. package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
  48. package/dist/browser/generated/src/operations/index.d.ts +0 -1
  49. package/dist/browser/generated/src/operations/index.d.ts.map +1 -1
  50. package/dist/browser/generated/src/operations/index.js +0 -1
  51. package/dist/browser/generated/src/operations/index.js.map +1 -1
  52. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
  53. package/dist/browser/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  54. package/dist/browser/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  55. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts +8 -15
  56. package/dist/browser/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  57. package/dist/browser/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  58. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
  59. package/dist/browser/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  60. package/dist/browser/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  61. package/dist/browser/generated/src/operationsInterfaces/index.d.ts +0 -1
  62. package/dist/browser/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  63. package/dist/browser/generated/src/operationsInterfaces/index.js +0 -1
  64. package/dist/browser/generated/src/operationsInterfaces/index.js.map +1 -1
  65. package/dist/browser/index.d.ts +0 -2
  66. package/dist/browser/index.d.ts.map +1 -1
  67. package/dist/browser/index.js +0 -2
  68. package/dist/browser/index.js.map +1 -1
  69. package/dist/browser/models/constants.js +1 -1
  70. package/dist/browser/models/constants.js.map +1 -1
  71. package/dist/browser/models/events.d.ts +67 -155
  72. package/dist/browser/models/events.d.ts.map +1 -1
  73. package/dist/browser/models/events.js.map +1 -1
  74. package/dist/browser/models/models.d.ts +5 -14
  75. package/dist/browser/models/models.d.ts.map +1 -1
  76. package/dist/browser/models/models.js +1 -3
  77. package/dist/browser/models/models.js.map +1 -1
  78. package/dist/browser/models/options.d.ts +2 -35
  79. package/dist/browser/models/options.d.ts.map +1 -1
  80. package/dist/browser/models/options.js.map +1 -1
  81. package/dist/browser/models/responses.d.ts +10 -51
  82. package/dist/browser/models/responses.d.ts.map +1 -1
  83. package/dist/browser/models/responses.js.map +1 -1
  84. package/dist/browser/utli/converters.d.ts.map +1 -1
  85. package/dist/browser/utli/converters.js +19 -1
  86. package/dist/browser/utli/converters.js.map +1 -1
  87. package/dist/commonjs/callAutomationClient.d.ts +2 -9
  88. package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
  89. package/dist/commonjs/callAutomationClient.js +11 -108
  90. package/dist/commonjs/callAutomationClient.js.map +1 -1
  91. package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
  92. package/dist/commonjs/callAutomationEventParser.js +0 -18
  93. package/dist/commonjs/callAutomationEventParser.js.map +1 -1
  94. package/dist/commonjs/callConnection.d.ts +4 -6
  95. package/dist/commonjs/callConnection.d.ts.map +1 -1
  96. package/dist/commonjs/callConnection.js +15 -114
  97. package/dist/commonjs/callConnection.js.map +1 -1
  98. package/dist/commonjs/callMedia.d.ts +10 -20
  99. package/dist/commonjs/callMedia.d.ts.map +1 -1
  100. package/dist/commonjs/callMedia.js +39 -207
  101. package/dist/commonjs/callMedia.js.map +1 -1
  102. package/dist/commonjs/callRecording.d.ts.map +1 -1
  103. package/dist/commonjs/callRecording.js +5 -2
  104. package/dist/commonjs/callRecording.js.map +1 -1
  105. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts +1 -2
  106. package/dist/commonjs/generated/src/callAutomationApiClient.d.ts.map +1 -1
  107. package/dist/commonjs/generated/src/callAutomationApiClient.js +1 -2
  108. package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
  109. package/dist/commonjs/generated/src/models/index.d.ts +205 -850
  110. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  111. package/dist/commonjs/generated/src/models/index.js +49 -127
  112. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  113. package/dist/commonjs/generated/src/models/mappers.d.ts +11 -48
  114. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  115. package/dist/commonjs/generated/src/models/mappers.js +463 -1647
  116. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  117. package/dist/commonjs/generated/src/models/parameters.d.ts +1 -7
  118. package/dist/commonjs/generated/src/models/parameters.d.ts.map +1 -1
  119. package/dist/commonjs/generated/src/models/parameters.js +6 -41
  120. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  121. package/dist/commonjs/generated/src/operations/callConnection.d.ts +2 -9
  122. package/dist/commonjs/generated/src/operations/callConnection.d.ts.map +1 -1
  123. package/dist/commonjs/generated/src/operations/callConnection.js +1 -33
  124. package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
  125. package/dist/commonjs/generated/src/operations/callMedia.d.ts +8 -15
  126. package/dist/commonjs/generated/src/operations/callMedia.d.ts.map +1 -1
  127. package/dist/commonjs/generated/src/operations/callMedia.js +25 -50
  128. package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
  129. package/dist/commonjs/generated/src/operations/callRecording.d.ts +1 -7
  130. package/dist/commonjs/generated/src/operations/callRecording.d.ts.map +1 -1
  131. package/dist/commonjs/generated/src/operations/callRecording.js +0 -24
  132. package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
  133. package/dist/commonjs/generated/src/operations/index.d.ts +0 -1
  134. package/dist/commonjs/generated/src/operations/index.d.ts.map +1 -1
  135. package/dist/commonjs/generated/src/operations/index.js +0 -1
  136. package/dist/commonjs/generated/src/operations/index.js.map +1 -1
  137. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
  138. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  139. package/dist/commonjs/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  140. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts +8 -15
  141. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  142. package/dist/commonjs/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  143. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
  144. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  145. package/dist/commonjs/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  146. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts +0 -1
  147. package/dist/commonjs/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  148. package/dist/commonjs/generated/src/operationsInterfaces/index.js +0 -1
  149. package/dist/commonjs/generated/src/operationsInterfaces/index.js.map +1 -1
  150. package/dist/commonjs/index.d.ts +0 -2
  151. package/dist/commonjs/index.d.ts.map +1 -1
  152. package/dist/commonjs/index.js +0 -2
  153. package/dist/commonjs/index.js.map +1 -1
  154. package/dist/commonjs/models/constants.js +1 -1
  155. package/dist/commonjs/models/constants.js.map +1 -1
  156. package/dist/commonjs/models/events.d.ts +67 -155
  157. package/dist/commonjs/models/events.d.ts.map +1 -1
  158. package/dist/commonjs/models/events.js.map +1 -1
  159. package/dist/commonjs/models/models.d.ts +5 -14
  160. package/dist/commonjs/models/models.d.ts.map +1 -1
  161. package/dist/commonjs/models/models.js +6 -10
  162. package/dist/commonjs/models/models.js.map +1 -1
  163. package/dist/commonjs/models/options.d.ts +2 -35
  164. package/dist/commonjs/models/options.d.ts.map +1 -1
  165. package/dist/commonjs/models/options.js.map +1 -1
  166. package/dist/commonjs/models/responses.d.ts +10 -51
  167. package/dist/commonjs/models/responses.d.ts.map +1 -1
  168. package/dist/commonjs/models/responses.js.map +1 -1
  169. package/dist/commonjs/tsdoc-metadata.json +1 -1
  170. package/dist/commonjs/utli/converters.d.ts.map +1 -1
  171. package/dist/commonjs/utli/converters.js +18 -0
  172. package/dist/commonjs/utli/converters.js.map +1 -1
  173. package/dist/esm/callAutomationClient.d.ts +2 -9
  174. package/dist/esm/callAutomationClient.d.ts.map +1 -1
  175. package/dist/esm/callAutomationClient.js +9 -106
  176. package/dist/esm/callAutomationClient.js.map +1 -1
  177. package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
  178. package/dist/esm/callAutomationEventParser.js +0 -18
  179. package/dist/esm/callAutomationEventParser.js.map +1 -1
  180. package/dist/esm/callConnection.d.ts +4 -6
  181. package/dist/esm/callConnection.d.ts.map +1 -1
  182. package/dist/esm/callConnection.js +13 -112
  183. package/dist/esm/callConnection.js.map +1 -1
  184. package/dist/esm/callMedia.d.ts +10 -20
  185. package/dist/esm/callMedia.d.ts.map +1 -1
  186. package/dist/esm/callMedia.js +20 -188
  187. package/dist/esm/callMedia.js.map +1 -1
  188. package/dist/esm/callRecording.d.ts.map +1 -1
  189. package/dist/esm/callRecording.js +5 -2
  190. package/dist/esm/callRecording.js.map +1 -1
  191. package/dist/esm/generated/src/callAutomationApiClient.d.ts +1 -2
  192. package/dist/esm/generated/src/callAutomationApiClient.d.ts.map +1 -1
  193. package/dist/esm/generated/src/callAutomationApiClient.js +2 -3
  194. package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
  195. package/dist/esm/generated/src/models/index.d.ts +205 -850
  196. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  197. package/dist/esm/generated/src/models/index.js +48 -126
  198. package/dist/esm/generated/src/models/index.js.map +1 -1
  199. package/dist/esm/generated/src/models/mappers.d.ts +11 -48
  200. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  201. package/dist/esm/generated/src/models/mappers.js +460 -1644
  202. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  203. package/dist/esm/generated/src/models/parameters.d.ts +1 -7
  204. package/dist/esm/generated/src/models/parameters.d.ts.map +1 -1
  205. package/dist/esm/generated/src/models/parameters.js +6 -41
  206. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  207. package/dist/esm/generated/src/operations/callConnection.d.ts +2 -9
  208. package/dist/esm/generated/src/operations/callConnection.d.ts.map +1 -1
  209. package/dist/esm/generated/src/operations/callConnection.js +1 -33
  210. package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
  211. package/dist/esm/generated/src/operations/callMedia.d.ts +8 -15
  212. package/dist/esm/generated/src/operations/callMedia.d.ts.map +1 -1
  213. package/dist/esm/generated/src/operations/callMedia.js +25 -50
  214. package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
  215. package/dist/esm/generated/src/operations/callRecording.d.ts +1 -7
  216. package/dist/esm/generated/src/operations/callRecording.d.ts.map +1 -1
  217. package/dist/esm/generated/src/operations/callRecording.js +0 -24
  218. package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
  219. package/dist/esm/generated/src/operations/index.d.ts +0 -1
  220. package/dist/esm/generated/src/operations/index.d.ts.map +1 -1
  221. package/dist/esm/generated/src/operations/index.js +0 -1
  222. package/dist/esm/generated/src/operations/index.js.map +1 -1
  223. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
  224. package/dist/esm/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  225. package/dist/esm/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  226. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts +8 -15
  227. package/dist/esm/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  228. package/dist/esm/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  229. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
  230. package/dist/esm/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  231. package/dist/esm/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  232. package/dist/esm/generated/src/operationsInterfaces/index.d.ts +0 -1
  233. package/dist/esm/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  234. package/dist/esm/generated/src/operationsInterfaces/index.js +0 -1
  235. package/dist/esm/generated/src/operationsInterfaces/index.js.map +1 -1
  236. package/dist/esm/index.d.ts +0 -2
  237. package/dist/esm/index.d.ts.map +1 -1
  238. package/dist/esm/index.js +0 -2
  239. package/dist/esm/index.js.map +1 -1
  240. package/dist/esm/models/constants.js +1 -1
  241. package/dist/esm/models/constants.js.map +1 -1
  242. package/dist/esm/models/events.d.ts +67 -155
  243. package/dist/esm/models/events.d.ts.map +1 -1
  244. package/dist/esm/models/events.js.map +1 -1
  245. package/dist/esm/models/models.d.ts +5 -14
  246. package/dist/esm/models/models.d.ts.map +1 -1
  247. package/dist/esm/models/models.js +1 -3
  248. package/dist/esm/models/models.js.map +1 -1
  249. package/dist/esm/models/options.d.ts +2 -35
  250. package/dist/esm/models/options.d.ts.map +1 -1
  251. package/dist/esm/models/options.js.map +1 -1
  252. package/dist/esm/models/responses.d.ts +10 -51
  253. package/dist/esm/models/responses.d.ts.map +1 -1
  254. package/dist/esm/models/responses.js.map +1 -1
  255. package/dist/esm/utli/converters.d.ts.map +1 -1
  256. package/dist/esm/utli/converters.js +19 -1
  257. package/dist/esm/utli/converters.js.map +1 -1
  258. package/dist/react-native/callAutomationClient.d.ts +2 -9
  259. package/dist/react-native/callAutomationClient.d.ts.map +1 -1
  260. package/dist/react-native/callAutomationClient.js +9 -106
  261. package/dist/react-native/callAutomationClient.js.map +1 -1
  262. package/dist/react-native/callAutomationEventParser.d.ts.map +1 -1
  263. package/dist/react-native/callAutomationEventParser.js +0 -18
  264. package/dist/react-native/callAutomationEventParser.js.map +1 -1
  265. package/dist/react-native/callConnection.d.ts +4 -6
  266. package/dist/react-native/callConnection.d.ts.map +1 -1
  267. package/dist/react-native/callConnection.js +13 -112
  268. package/dist/react-native/callConnection.js.map +1 -1
  269. package/dist/react-native/callMedia.d.ts +10 -20
  270. package/dist/react-native/callMedia.d.ts.map +1 -1
  271. package/dist/react-native/callMedia.js +20 -188
  272. package/dist/react-native/callMedia.js.map +1 -1
  273. package/dist/react-native/callRecording.d.ts.map +1 -1
  274. package/dist/react-native/callRecording.js +5 -2
  275. package/dist/react-native/callRecording.js.map +1 -1
  276. package/dist/react-native/generated/src/callAutomationApiClient.d.ts +1 -2
  277. package/dist/react-native/generated/src/callAutomationApiClient.d.ts.map +1 -1
  278. package/dist/react-native/generated/src/callAutomationApiClient.js +2 -3
  279. package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
  280. package/dist/react-native/generated/src/models/index.d.ts +205 -850
  281. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  282. package/dist/react-native/generated/src/models/index.js +48 -126
  283. package/dist/react-native/generated/src/models/index.js.map +1 -1
  284. package/dist/react-native/generated/src/models/mappers.d.ts +11 -48
  285. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  286. package/dist/react-native/generated/src/models/mappers.js +460 -1644
  287. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  288. package/dist/react-native/generated/src/models/parameters.d.ts +1 -7
  289. package/dist/react-native/generated/src/models/parameters.d.ts.map +1 -1
  290. package/dist/react-native/generated/src/models/parameters.js +6 -41
  291. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  292. package/dist/react-native/generated/src/operations/callConnection.d.ts +2 -9
  293. package/dist/react-native/generated/src/operations/callConnection.d.ts.map +1 -1
  294. package/dist/react-native/generated/src/operations/callConnection.js +1 -33
  295. package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
  296. package/dist/react-native/generated/src/operations/callMedia.d.ts +8 -15
  297. package/dist/react-native/generated/src/operations/callMedia.d.ts.map +1 -1
  298. package/dist/react-native/generated/src/operations/callMedia.js +25 -50
  299. package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
  300. package/dist/react-native/generated/src/operations/callRecording.d.ts +1 -7
  301. package/dist/react-native/generated/src/operations/callRecording.d.ts.map +1 -1
  302. package/dist/react-native/generated/src/operations/callRecording.js +0 -24
  303. package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
  304. package/dist/react-native/generated/src/operations/index.d.ts +0 -1
  305. package/dist/react-native/generated/src/operations/index.d.ts.map +1 -1
  306. package/dist/react-native/generated/src/operations/index.js +0 -1
  307. package/dist/react-native/generated/src/operations/index.js.map +1 -1
  308. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts +2 -9
  309. package/dist/react-native/generated/src/operationsInterfaces/callConnection.d.ts.map +1 -1
  310. package/dist/react-native/generated/src/operationsInterfaces/callConnection.js.map +1 -1
  311. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts +8 -15
  312. package/dist/react-native/generated/src/operationsInterfaces/callMedia.d.ts.map +1 -1
  313. package/dist/react-native/generated/src/operationsInterfaces/callMedia.js.map +1 -1
  314. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts +1 -7
  315. package/dist/react-native/generated/src/operationsInterfaces/callRecording.d.ts.map +1 -1
  316. package/dist/react-native/generated/src/operationsInterfaces/callRecording.js.map +1 -1
  317. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts +0 -1
  318. package/dist/react-native/generated/src/operationsInterfaces/index.d.ts.map +1 -1
  319. package/dist/react-native/generated/src/operationsInterfaces/index.js +0 -1
  320. package/dist/react-native/generated/src/operationsInterfaces/index.js.map +1 -1
  321. package/dist/react-native/index.d.ts +0 -2
  322. package/dist/react-native/index.d.ts.map +1 -1
  323. package/dist/react-native/index.js +0 -2
  324. package/dist/react-native/index.js.map +1 -1
  325. package/dist/react-native/models/constants.js +1 -1
  326. package/dist/react-native/models/constants.js.map +1 -1
  327. package/dist/react-native/models/events.d.ts +67 -155
  328. package/dist/react-native/models/events.d.ts.map +1 -1
  329. package/dist/react-native/models/events.js.map +1 -1
  330. package/dist/react-native/models/models.d.ts +5 -14
  331. package/dist/react-native/models/models.d.ts.map +1 -1
  332. package/dist/react-native/models/models.js +1 -3
  333. package/dist/react-native/models/models.js.map +1 -1
  334. package/dist/react-native/models/options.d.ts +2 -35
  335. package/dist/react-native/models/options.d.ts.map +1 -1
  336. package/dist/react-native/models/options.js.map +1 -1
  337. package/dist/react-native/models/responses.d.ts +10 -51
  338. package/dist/react-native/models/responses.d.ts.map +1 -1
  339. package/dist/react-native/models/responses.js.map +1 -1
  340. package/dist/react-native/utli/converters.d.ts.map +1 -1
  341. package/dist/react-native/utli/converters.js +19 -1
  342. package/dist/react-native/utli/converters.js.map +1 -1
  343. package/package.json +17 -11
  344. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
  345. package/dist/browser/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
  346. package/dist/browser/eventprocessor/callAutomationEventProcessor.js +0 -137
  347. package/dist/browser/eventprocessor/callAutomationEventProcessor.js.map +0 -1
  348. package/dist/browser/eventprocessor/eventResponses.d.ts +0 -123
  349. package/dist/browser/eventprocessor/eventResponses.d.ts.map +0 -1
  350. package/dist/browser/eventprocessor/eventResponses.js +0 -4
  351. package/dist/browser/eventprocessor/eventResponses.js.map +0 -1
  352. package/dist/browser/generated/src/operations/callDialog.d.ts +0 -35
  353. package/dist/browser/generated/src/operations/callDialog.d.ts.map +0 -1
  354. package/dist/browser/generated/src/operations/callDialog.js +0 -111
  355. package/dist/browser/generated/src/operations/callDialog.js.map +0 -1
  356. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
  357. package/dist/browser/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
  358. package/dist/browser/generated/src/operationsInterfaces/callDialog.js +0 -9
  359. package/dist/browser/generated/src/operationsInterfaces/callDialog.js.map +0 -1
  360. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
  361. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
  362. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js +0 -141
  363. package/dist/commonjs/eventprocessor/callAutomationEventProcessor.js.map +0 -1
  364. package/dist/commonjs/eventprocessor/eventResponses.d.ts +0 -123
  365. package/dist/commonjs/eventprocessor/eventResponses.d.ts.map +0 -1
  366. package/dist/commonjs/eventprocessor/eventResponses.js +0 -5
  367. package/dist/commonjs/eventprocessor/eventResponses.js.map +0 -1
  368. package/dist/commonjs/generated/src/operations/callDialog.d.ts +0 -35
  369. package/dist/commonjs/generated/src/operations/callDialog.d.ts.map +0 -1
  370. package/dist/commonjs/generated/src/operations/callDialog.js +0 -116
  371. package/dist/commonjs/generated/src/operations/callDialog.js.map +0 -1
  372. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
  373. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
  374. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js +0 -10
  375. package/dist/commonjs/generated/src/operationsInterfaces/callDialog.js.map +0 -1
  376. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
  377. package/dist/esm/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
  378. package/dist/esm/eventprocessor/callAutomationEventProcessor.js +0 -137
  379. package/dist/esm/eventprocessor/callAutomationEventProcessor.js.map +0 -1
  380. package/dist/esm/eventprocessor/eventResponses.d.ts +0 -123
  381. package/dist/esm/eventprocessor/eventResponses.d.ts.map +0 -1
  382. package/dist/esm/eventprocessor/eventResponses.js +0 -4
  383. package/dist/esm/eventprocessor/eventResponses.js.map +0 -1
  384. package/dist/esm/generated/src/operations/callDialog.d.ts +0 -35
  385. package/dist/esm/generated/src/operations/callDialog.d.ts.map +0 -1
  386. package/dist/esm/generated/src/operations/callDialog.js +0 -111
  387. package/dist/esm/generated/src/operations/callDialog.js.map +0 -1
  388. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
  389. package/dist/esm/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
  390. package/dist/esm/generated/src/operationsInterfaces/callDialog.js +0 -9
  391. package/dist/esm/generated/src/operationsInterfaces/callDialog.js.map +0 -1
  392. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts +0 -39
  393. package/dist/react-native/eventprocessor/callAutomationEventProcessor.d.ts.map +0 -1
  394. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js +0 -137
  395. package/dist/react-native/eventprocessor/callAutomationEventProcessor.js.map +0 -1
  396. package/dist/react-native/eventprocessor/eventResponses.d.ts +0 -123
  397. package/dist/react-native/eventprocessor/eventResponses.d.ts.map +0 -1
  398. package/dist/react-native/eventprocessor/eventResponses.js +0 -4
  399. package/dist/react-native/eventprocessor/eventResponses.js.map +0 -1
  400. package/dist/react-native/generated/src/operations/callDialog.d.ts +0 -35
  401. package/dist/react-native/generated/src/operations/callDialog.d.ts.map +0 -1
  402. package/dist/react-native/generated/src/operations/callDialog.js +0 -111
  403. package/dist/react-native/generated/src/operations/callDialog.js.map +0 -1
  404. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts +0 -27
  405. package/dist/react-native/generated/src/operationsInterfaces/callDialog.d.ts.map +0 -1
  406. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js +0 -9
  407. package/dist/react-native/generated/src/operationsInterfaces/callDialog.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/models/events.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommunicationIdentifier } from \"@azure/communication-common\";\n\nimport type {\n Tone,\n CustomCallingContextInternal,\n CommunicationIdentifierModel,\n ChoiceResult,\n DtmfResult,\n RecognitionType,\n SpeechResult,\n MediaStreamingUpdate,\n TranscriptionUpdate,\n RecordingKind,\n} from \"../generated/src/models/index.js\";\n\nimport type { CallParticipant, RecordingState } from \"./models.js\";\n\n/** Callback events for Call Automation */\nexport type CallAutomationEvent =\n | AddParticipantSucceeded\n | AddParticipantFailed\n | RemoveParticipantSucceeded\n | RemoveParticipantFailed\n | CallConnected\n | CallDisconnected\n | CallTransferAccepted\n | CallTransferFailed\n | ParticipantsUpdated\n | RecordingStateChanged\n | PlayCompleted\n | PlayFailed\n | PlayCanceled\n | RecognizeCompleted\n | RecognizeCanceled\n | RecognizeFailed\n | ContinuousDtmfRecognitionToneReceived\n | ContinuousDtmfRecognitionToneFailed\n | ContinuousDtmfRecognitionStopped\n | SendDtmfTonesCompleted\n | SendDtmfTonesFailed\n | CancelAddParticipantSucceeded\n | CancelAddParticipantFailed\n | TranscriptionStarted\n | TranscriptionStopped\n | TranscriptionUpdated\n | TranscriptionFailed\n | CreateCallFailed\n | AnswerFailed\n | HoldFailed\n | ConnectFailed\n | MediaStreamingStarted\n | MediaStreamingStopped\n | MediaStreamingFailed\n | StartRecordingFailed\n | PlayStarted\n | PlayPaused\n | PlayResumed\n | HoldAudioStarted\n | HoldAudioPaused\n | HoldAudioResumed\n | HoldAudioCompleted\n | IncomingCall;\n\nexport interface ResultInformation {\n /** The error code. */\n code: number;\n /** The sub code of error. */\n subCode: number;\n /** The detailed message of the error. */\n message: string;\n}\n\n/** The participant successfully added event. */\nexport interface AddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantSucceeded\";\n}\n\n/** The failed to add participant event. */\nexport interface AddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantFailed\";\n}\n\n/** The participant successfully removed event. */\nexport interface RemoveParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantSucceeded\";\n}\n\n/** The failed to remove participant event. */\nexport interface RemoveParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantFailed\";\n}\n\n/** Event when call was established. */\nexport interface CallConnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallConnected\";\n}\n\n/** Event when call was initiated. */\nexport interface IncomingCall {\n /** Call connection ID. */\n callConnectionId: string;\n /** The communication identifier of the target user.*/\n to?: CommunicationIdentifierModel;\n /** The communication identifier of the user who initiated the call.*/\n from?: CommunicationIdentifierModel;\n /** Display name of caller.*/\n callerDisplayName?: string;\n /** Custom Context of Incoming Call */\n customContext?: CustomCallingContextInternal;\n /** Incoming call context.*/\n incomingCallContext?: string;\n /** The communication identifier of the user on behalf of whom the call is made.*/\n onBehalfOfCallee?: CommunicationIdentifierModel;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"IncomingCall\";\n}\n\n/** Event when all participants left and call was terminated. */\nexport interface CallDisconnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallDisconnected\";\n}\n\n/** Event when transfer request was successful. */\nexport interface CallTransferAccepted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Participant that was transferred away */\n transferee: CommunicationIdentifier;\n /** Target that transferee is transferred to */\n transferTarget: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"CallTransferAccepted\";\n}\n\n/** Event when transfer request was failed. */\nexport interface CallTransferFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallTransferFailed\";\n}\n\n/** Event when there was an update to participant(s). */\nexport interface ParticipantsUpdated {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** The list of participants in the call. */\n participants: CallParticipant[];\n /** The Sequence Number of the event */\n sequenceNumber?: number;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ParticipantsUpdated\";\n}\n\n/** Event when Recording state has been changed. */\nexport interface RecordingStateChanged {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording id*/\n recordingId?: string;\n state?: RecordingState;\n /** The time of the recording started*/\n startDateTime?: Date;\n recordingKind?: RecordingKind;\n /** kind of this event. */\n kind: \"RecordingStateChanged\";\n}\n\n/** Event when Media play was successfully completed. */\nexport interface PlayCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** kind of this event. */\n kind: \"PlayCompleted\";\n}\n\n/** Event when Media play was failed. */\nexport interface PlayFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"PlayFailed\";\n}\n\n/** Event when Media play was canceled by Cancel operation. */\nexport interface PlayCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayCanceled\";\n}\n\n/** Event when Media recognize was successfully completed. */\nexport interface RecognizeCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Determines the sub-type of the recognize operation.\n * In case of cancel operation the this field is not set and is returned empty\n */\n recognitionType?: RecognitionType;\n /** Defines the result for RecognitionType = Dtmf */\n dtmfResult?: DtmfResult;\n /** Defines the result for RecognitionType = Choices */\n choiceResult?: ChoiceResult;\n /** Defines the result for RecognitionType = Speech and SpeechOrDtmf */\n speechResult?: SpeechResult;\n /** kind of this event. */\n kind: \"RecognizeCompleted\";\n}\n\n/** Event when Media recognize was failed. */\nexport interface RecognizeFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"RecognizeFailed\";\n}\n\n/** Event when Media recognize was canceled by Cancel operation. */\nexport interface RecognizeCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"RecognizeCanceled\";\n}\n\n/** Event sent when Dtmf tone received from targeted participant in call. */\nexport interface ContinuousDtmfRecognitionToneReceived {\n /** The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. */\n sequenceId: number;\n /** Defines values for Tone. */\n tone: Tone;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId or skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneReceived\";\n}\n\n/** Event sent when failed to recognize continuous Dtmf tone. */\nexport interface ContinuousDtmfRecognitionToneFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneFailed\";\n}\n\n/** Event sent when continuous Dtmf recognition stopped. */\nexport interface ContinuousDtmfRecognitionStopped {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionStopped\";\n}\n\n/** Event sent when Dtmf tones send successfully. */\nexport interface SendDtmfTonesCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesCompleted\";\n}\n\n/** Event sent when Dtmf tones send failed. */\nexport interface SendDtmfTonesFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesFailed\";\n}\n\n/** Successful cancel add participant event. */\nexport interface CancelAddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** kind of this event. */\n kind: \"CancelAddParticipantSucceeded\";\n}\n\n/** The failed to cancel add participant event. */\nexport interface CancelAddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CancelAddParticipantFailed\";\n}\n\nexport interface TranscriptionStarted {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStarted\";\n}\n\nexport interface TranscriptionStopped {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStopped\";\n}\n\nexport interface TranscriptionUpdated {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionUpdated\";\n}\n\nexport interface TranscriptionFailed {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionFailed\";\n}\n\nexport interface CreateCallFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CreateCallFailed\";\n}\n\nexport interface AnswerFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"AnswerFailed\";\n}\n\nexport interface HoldFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldFailed\";\n}\n\nexport interface ConnectFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ConnectFailed\";\n}\n\nexport interface MediaStreamingStarted {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStarted\";\n}\n\nexport interface MediaStreamingStopped {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStopped\";\n}\n\nexport interface MediaStreamingFailed {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingFailed\";\n}\n\nexport interface StartRecordingFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording id */\n recordingId?: string;\n /** kind of this event. */\n kind: \"StartRecordingFailed\";\n}\n\n/** Event when Media play was successfully started. */\nexport interface PlayStarted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayStarted\";\n}\n\n/** Event when Media play was successfully paused. */\nexport interface PlayPaused {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayPaused\";\n}\n\n/** Event when Media play was successfully paused. */\nexport interface PlayResumed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayResumed\";\n}\n\n/** Event when hold audio play was successfully started. */\nexport interface HoldAudioStarted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldAudioStarted\";\n}\n\n/** Event when hold audio play was successfully paused. */\nexport interface HoldAudioPaused {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldAudioPaused\";\n}\n\n/** Event when hold audio play was successfully resumed. */\nexport interface HoldAudioResumed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldAudioResumed\";\n}\n\n/** Event when hold audio play was successfully completed. */\nexport interface HoldAudioCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Used this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldAudioCompleted\";\n}\n"]}
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/models/events.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommunicationIdentifier } from \"@azure/communication-common\";\n\nimport {\n Tone,\n ChoiceResult,\n DtmfResult,\n RecognitionType,\n SpeechResult,\n RecordingKind,\n MediaStreamingUpdate,\n TranscriptionUpdate,\n} from \"../generated/src/models/index.js\";\n\nimport type { CallParticipant, RecordingState, CustomCallingContext } from \"./models.js\";\n\n/** Callback events for Call Automation */\nexport type CallAutomationEvent =\n | AddParticipantSucceeded\n | AddParticipantFailed\n | RemoveParticipantSucceeded\n | RemoveParticipantFailed\n | CallConnected\n | CallDisconnected\n | CallTransferAccepted\n | CallTransferFailed\n | ParticipantsUpdated\n | RecordingStateChanged\n | PlayStarted\n | PlayCompleted\n | PlayFailed\n | PlayCanceled\n | RecognizeCompleted\n | RecognizeCanceled\n | RecognizeFailed\n | ContinuousDtmfRecognitionToneReceived\n | ContinuousDtmfRecognitionToneFailed\n | ContinuousDtmfRecognitionStopped\n | SendDtmfTonesCompleted\n | SendDtmfTonesFailed\n | CancelAddParticipantSucceeded\n | CancelAddParticipantFailed\n | ConnectFailed\n | TranscriptionStarted\n | TranscriptionStopped\n | TranscriptionUpdated\n | TranscriptionFailed\n | HoldFailed\n | MediaStreamingStarted\n | MediaStreamingStopped\n | MediaStreamingFailed\n | CreateCallFailed\n | AnswerFailed\n | StartRecordingFailed\n | IncomingCall;\n\nexport interface ResultInformation {\n /** The error code. */\n code: number;\n /** The sub code of error. */\n subCode: number;\n /** The detailed message of the error. */\n message: string;\n}\n\n/** The participant successfully added event. */\nexport interface AddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantSucceeded\";\n}\n\n/** The failed to add participant event. */\nexport interface AddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantFailed\";\n}\n\n/** The participant successfully removed event. */\nexport interface RemoveParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantSucceeded\";\n}\n\n/** The failed to remove participant event. */\nexport interface RemoveParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantFailed\";\n}\n\n/** Event when call was established. */\nexport interface CallConnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallConnected\";\n}\n\n/** Event when call was initiated. */\nexport interface IncomingCall {\n /** Call connection ID. */\n callConnectionId: string;\n /** The communication identifier of the target user.*/\n to?: CommunicationIdentifier;\n /** The communication identifier of the user who initiated the call.*/\n from?: CommunicationIdentifier;\n /** Display name of caller.*/\n callerDisplayName?: string;\n /** Custom Context of Incoming Call */\n customContext?: CustomCallingContext;\n /** Incoming call context.*/\n incomingCallContext?: string;\n /** The communication identifier of the user on behalf of whom the call is made.*/\n onBehalfOfCallee?: CommunicationIdentifier;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"IncomingCall\";\n}\n\n/** Event when all participants left and call was terminated. */\nexport interface CallDisconnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallDisconnected\";\n}\n\n/** Event when transfer request was successful. */\nexport interface CallTransferAccepted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Participant that was transferred away */\n transferee: CommunicationIdentifier;\n /** Target that transferee is transferred to */\n transferTarget: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"CallTransferAccepted\";\n}\n\n/** Event when transfer request was failed. */\nexport interface CallTransferFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallTransferFailed\";\n}\n\n/** Event when there was an update to participant(s). */\nexport interface ParticipantsUpdated {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** The Sequence Number of the event */\n sequenceNumber?: number;\n /** The list of participants in the call. */\n participants: CallParticipant[];\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ParticipantsUpdated\";\n}\n\n/** Event when Recording state has been changed. */\nexport interface RecordingStateChanged {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording id. */\n recordingId?: string;\n state?: RecordingState;\n /** The time of the recording started. */\n startDateTime?: Date;\n recordingKind?: RecordingKind;\n /** kind of this event. */\n kind: \"RecordingStateChanged\";\n}\n\n/** Event when Media play was successfully started. */\nexport interface PlayStarted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayStarted\";\n}\n\n/** Event when Media play was successfully completed. */\nexport interface PlayCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** kind of this event. */\n kind: \"PlayCompleted\";\n}\n\n/** Event when Media play was failed. */\nexport interface PlayFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"PlayFailed\";\n}\n\n/** Event when Media play was canceled by Cancel operation. */\nexport interface PlayCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayCanceled\";\n}\n\n/** Event when Media recognize was successfully completed. */\nexport interface RecognizeCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Determines the sub-type of the recognize operation.\n * In case of cancel operation the this field is not set and is returned empty\n */\n recognitionType?: RecognitionType;\n /** Defines the result for RecognitionType = Dtmf */\n dtmfResult?: DtmfResult;\n /** Defines the result for RecognitionType = Choices */\n choiceResult?: ChoiceResult;\n /** Defines the result for RecognitionType = Speech and SpeechOrDtmf */\n speechResult?: SpeechResult;\n /** kind of this event. */\n kind: \"RecognizeCompleted\";\n}\n\n/** Event when Media recognize was failed. */\nexport interface RecognizeFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"RecognizeFailed\";\n}\n\n/** Event when Media recognize was canceled by Cancel operation. */\nexport interface RecognizeCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"RecognizeCanceled\";\n}\n\n/** Event sent when Dtmf tone received from targeted participant in call. */\nexport interface ContinuousDtmfRecognitionToneReceived {\n /** The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. */\n sequenceId: number;\n /** Defines values for Tone. */\n tone: Tone;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId or skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneReceived\";\n}\n\n/** Event sent when failed to recognize continuous Dtmf tone. */\nexport interface ContinuousDtmfRecognitionToneFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneFailed\";\n}\n\n/** Event sent when continuous Dtmf recognition stopped. */\nexport interface ContinuousDtmfRecognitionStopped {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionStopped\";\n}\n\n/** Event sent when Dtmf tones send successfully. */\nexport interface SendDtmfTonesCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesCompleted\";\n}\n\n/** Event sent when Dtmf tones send failed. */\nexport interface SendDtmfTonesFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesFailed\";\n}\n\n/** Successful cancel add participant event. */\nexport interface CancelAddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CancelAddParticipantSucceeded\";\n}\n\n/** The failed to cancel add participant event. */\nexport interface CancelAddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CancelAddParticipantFailed\";\n}\n\nexport interface TranscriptionStarted {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStarted\";\n}\n\nexport interface TranscriptionStopped {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStopped\";\n}\n\nexport interface TranscriptionUpdated {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionUpdated\";\n}\n\nexport interface TranscriptionFailed {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionFailed\";\n}\n\nexport interface CreateCallFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CreateCallFailed\";\n}\n\nexport interface AnswerFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"AnswerFailed\";\n}\n\nexport interface HoldFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldFailed\";\n}\n\nexport interface ConnectFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ConnectFailed\";\n}\n\nexport interface MediaStreamingStarted {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status. */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStarted\";\n}\n\nexport interface MediaStreamingStopped {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status. */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStopped\";\n}\n\nexport interface MediaStreamingFailed {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status. */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingFailed\";\n}\n\nexport interface StartRecordingFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording Id. */\n recordingId?: string;\n /** kind of this event. */\n kind: \"StartRecordingFailed\";\n}\n"]}
@@ -1,6 +1,6 @@
1
- import type { CommunicationIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier, PhoneNumberIdentifier } from "@azure/communication-common";
1
+ import type { CommunicationIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier, TeamsExtensionUserIdentifier, PhoneNumberIdentifier } from "@azure/communication-common";
2
2
  import type { CallConnectionStateModel, MediaStreamingSubscription, TranscriptionSubscription } from "../generated/src/index.js";
3
- export { CallConnectionStateModel, CallRejectReason, KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownMediaStreamingTransportType, KnownAudioFormat, KnownTranscriptionTransportType, KnownCallConnectionStateModel, KnownMediaStreamingSubscriptionState, KnownTranscriptionSubscriptionState, KnownTranscriptionResultState, KnownRecognitionType, KnownRecordingState, KnownRecordingKind, KnownTone, KnownMediaStreamingStatus, KnownMediaStreamingStatusDetails, KnownTranscriptionStatus, KnownTranscriptionStatusDetails, KnownCommunicationIdentifierModelKind, KnownCommunicationCloudEnvironmentModel, MediaStreamingAudioChannelType, MediaStreamingOptions, MediaStreamingContentType, MediaStreamingTransportType, TranscriptionOptions, TranscriptionTransportType, RecognitionType, ChoiceResult, DtmfResult, SpeechResult, RecordingState, RecordingKind, Tone, MediaStreamingUpdate, MediaStreamingStatus, MediaStreamingStatusDetails, AudioFormat, TranscriptionResultState, TranscriptionUpdate, TranscriptionStatus, TranscriptionStatusDetails, CustomCallingContextInternal, CommunicationIdentifierModel, CommunicationUserIdentifierModel, CommunicationIdentifierModelKind, MicrosoftTeamsAppIdentifierModel, MicrosoftTeamsUserIdentifierModel, PhoneNumberIdentifierModel, CommunicationCloudEnvironmentModel, MediaStreamingSubscription, TranscriptionSubscription, MediaStreamingSubscriptionState, TranscriptionSubscriptionState, } from "../generated/src/models/index.js";
3
+ export { CallConnectionStateModel, CallRejectReason, KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownMediaStreamingTransportType, KnownCallConnectionStateModel, KnownTranscriptionTransportType, KnownRecognitionType, KnownRecordingState, KnownRecordingKind, KnownTone, KnownAudioFormat, KnownMediaStreamingSubscriptionState, KnownTranscriptionResultState, KnownTranscriptionSubscriptionState, KnownMediaStreamingStatus, KnownMediaStreamingStatusDetails, KnownTranscriptionStatus, KnownTranscriptionStatusDetails, MediaStreamingAudioChannelType, MediaStreamingOptions, MediaStreamingContentType, MediaStreamingTransportType, MediaStreamingSubscription, TranscriptionOptions, TranscriptionTransportType, TranscriptionSubscription, RecognitionType, ChoiceResult, DtmfResult, SpeechResult, RecordingState, RecordingKind, Tone, AudioFormat, MediaStreamingUpdate, MediaStreamingSubscriptionState, TranscriptionResultState, TranscriptionUpdate, TranscriptionSubscriptionState, MediaStreamingStatus, MediaStreamingStatusDetails, TranscriptionStatus, TranscriptionStatusDetails, } from "../generated/src/models/index.js";
4
4
  /** Properties of a call connection */
5
5
  export interface CallConnectionProperties {
6
6
  /** The call connection id. */
@@ -22,8 +22,6 @@ export interface CallConnectionProperties {
22
22
  callConnectionState?: CallConnectionStateModel;
23
23
  /** The callback URL. */
24
24
  callbackUrl?: string;
25
- /** SubscriptionId for media streaming */
26
- mediaSubscriptionId?: string;
27
25
  /** The correlation ID. */
28
26
  correlationId?: string;
29
27
  /** Identity of the answering entity. Only populated when identity is provided in the request. */
@@ -60,8 +58,6 @@ export declare enum VoiceKind {
60
58
  export interface PlaySource {
61
59
  /** @deprecated Not in use, instead use playsourcecacheid for similar functionality*/
62
60
  playsourcacheid?: string;
63
- /** Sets the play source cache id.*/
64
- playSourceCacheId?: string;
65
61
  }
66
62
  /** The FileSource model. */
67
63
  export interface FileSource extends PlaySource {
@@ -129,14 +125,12 @@ export interface RecognitionChoice {
129
125
  /** The type of the recognition that the service accepts. */
130
126
  export declare enum RecognizeInputType {
131
127
  /** Dtmf */
132
- Dtmf = "dtmf",
133
- /** Choices */
134
- Choices = "choices"
128
+ Dtmf = "dtmf"
135
129
  }
136
130
  /** Call invitee details. */
137
131
  export interface CallInvite {
138
- /** The Target's PhoneNumberIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier or MicrosoftTeamsAppIdentifier. */
139
- readonly targetParticipant: PhoneNumberIdentifier | CommunicationUserIdentifier | MicrosoftTeamsUserIdentifier | MicrosoftTeamsAppIdentifier;
132
+ /** The Target's PhoneNumberIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier or TeamsExtensionUserIdentifier. */
133
+ readonly targetParticipant: PhoneNumberIdentifier | CommunicationUserIdentifier | MicrosoftTeamsUserIdentifier | MicrosoftTeamsAppIdentifier | TeamsExtensionUserIdentifier;
140
134
  /** Caller's phone number identifier. */
141
135
  readonly sourceCallIdNumber?: PhoneNumberIdentifier;
142
136
  sourceDisplayName?: string;
@@ -185,10 +179,7 @@ export interface SipUserToUserHeader extends CustomCallingContextHeader {
185
179
  /** SIP Custom header. */
186
180
  export interface SipCustomHeader extends CustomCallingContextHeader {
187
181
  kind: "sipx";
188
- sipHeaderPrefix?: SipHeaderPrefix;
189
182
  }
190
- /** The type of the Sip header prefix. */
191
- export type SipHeaderPrefix = "X-" | "X-MS-Custom-";
192
183
  /** Custom Calling Context */
193
184
  export type CustomCallingContext = (VoipHeader | SipUserToUserHeader | SipCustomHeader)[];
194
185
  /** AI options for the call. */
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,uBAAuB,EACvB,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BAA4B;AAC5B,MAAM,WAAW,gBAAgB;IAC/B,4CAA4C;IAC5C,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,0DAA0D;IAC1D,gCAAgC,CAAC,EAAE,MAAM,CAAC;CAC3C;AAED,MAAM,WAAW,0BAA0B;IACzC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,mBAAmB;AACnB,MAAM,WAAW,UAAW,SAAQ,0BAA0B;IAC5D,IAAI,EAAE,MAAM,CAAC;CACd;AAED,+BAA+B;AAC/B,MAAM,WAAW,mBAAoB,SAAQ,0BAA0B;IACrE,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,yBAAyB;AACzB,MAAM,WAAW,eAAgB,SAAQ,0BAA0B;IACjE,IAAI,EAAE,MAAM,CAAC;CACd;AAED,6BAA6B;AAC7B,MAAM,MAAM,oBAAoB,GAAG,CAAC,UAAU,GAAG,mBAAmB,GAAG,eAAe,CAAC,EAAE,CAAC;AAE1F,+BAA+B;AAC/B,MAAM,WAAW,uBAAuB;IACtC,8EAA8E;IAC9E,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACpC"}
@@ -2,28 +2,26 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.RecognizeInputType = exports.DtmfTone = exports.VoiceKind = exports.KnownCommunicationCloudEnvironmentModel = exports.KnownCommunicationIdentifierModelKind = exports.KnownTranscriptionStatusDetails = exports.KnownTranscriptionStatus = exports.KnownMediaStreamingStatusDetails = exports.KnownMediaStreamingStatus = exports.KnownTone = exports.KnownRecordingKind = exports.KnownRecordingState = exports.KnownRecognitionType = exports.KnownTranscriptionResultState = exports.KnownTranscriptionSubscriptionState = exports.KnownMediaStreamingSubscriptionState = exports.KnownCallConnectionStateModel = exports.KnownTranscriptionTransportType = exports.KnownAudioFormat = exports.KnownMediaStreamingTransportType = exports.KnownMediaStreamingContentType = exports.KnownMediaStreamingAudioChannelType = exports.KnownCallRejectReason = void 0;
5
+ exports.RecognizeInputType = exports.DtmfTone = exports.VoiceKind = exports.KnownTranscriptionStatusDetails = exports.KnownTranscriptionStatus = exports.KnownMediaStreamingStatusDetails = exports.KnownMediaStreamingStatus = exports.KnownTranscriptionSubscriptionState = exports.KnownTranscriptionResultState = exports.KnownMediaStreamingSubscriptionState = exports.KnownAudioFormat = exports.KnownTone = exports.KnownRecordingKind = exports.KnownRecordingState = exports.KnownRecognitionType = exports.KnownTranscriptionTransportType = exports.KnownCallConnectionStateModel = exports.KnownMediaStreamingTransportType = exports.KnownMediaStreamingContentType = exports.KnownMediaStreamingAudioChannelType = exports.KnownCallRejectReason = void 0;
6
6
  var index_js_1 = require("../generated/src/models/index.js");
7
7
  Object.defineProperty(exports, "KnownCallRejectReason", { enumerable: true, get: function () { return index_js_1.KnownCallRejectReason; } });
8
8
  Object.defineProperty(exports, "KnownMediaStreamingAudioChannelType", { enumerable: true, get: function () { return index_js_1.KnownMediaStreamingAudioChannelType; } });
9
9
  Object.defineProperty(exports, "KnownMediaStreamingContentType", { enumerable: true, get: function () { return index_js_1.KnownMediaStreamingContentType; } });
10
10
  Object.defineProperty(exports, "KnownMediaStreamingTransportType", { enumerable: true, get: function () { return index_js_1.KnownMediaStreamingTransportType; } });
11
- Object.defineProperty(exports, "KnownAudioFormat", { enumerable: true, get: function () { return index_js_1.KnownAudioFormat; } });
12
- Object.defineProperty(exports, "KnownTranscriptionTransportType", { enumerable: true, get: function () { return index_js_1.KnownTranscriptionTransportType; } });
13
11
  Object.defineProperty(exports, "KnownCallConnectionStateModel", { enumerable: true, get: function () { return index_js_1.KnownCallConnectionStateModel; } });
14
- Object.defineProperty(exports, "KnownMediaStreamingSubscriptionState", { enumerable: true, get: function () { return index_js_1.KnownMediaStreamingSubscriptionState; } });
15
- Object.defineProperty(exports, "KnownTranscriptionSubscriptionState", { enumerable: true, get: function () { return index_js_1.KnownTranscriptionSubscriptionState; } });
16
- Object.defineProperty(exports, "KnownTranscriptionResultState", { enumerable: true, get: function () { return index_js_1.KnownTranscriptionResultState; } });
12
+ Object.defineProperty(exports, "KnownTranscriptionTransportType", { enumerable: true, get: function () { return index_js_1.KnownTranscriptionTransportType; } });
17
13
  Object.defineProperty(exports, "KnownRecognitionType", { enumerable: true, get: function () { return index_js_1.KnownRecognitionType; } });
18
14
  Object.defineProperty(exports, "KnownRecordingState", { enumerable: true, get: function () { return index_js_1.KnownRecordingState; } });
19
15
  Object.defineProperty(exports, "KnownRecordingKind", { enumerable: true, get: function () { return index_js_1.KnownRecordingKind; } });
20
16
  Object.defineProperty(exports, "KnownTone", { enumerable: true, get: function () { return index_js_1.KnownTone; } });
17
+ Object.defineProperty(exports, "KnownAudioFormat", { enumerable: true, get: function () { return index_js_1.KnownAudioFormat; } });
18
+ Object.defineProperty(exports, "KnownMediaStreamingSubscriptionState", { enumerable: true, get: function () { return index_js_1.KnownMediaStreamingSubscriptionState; } });
19
+ Object.defineProperty(exports, "KnownTranscriptionResultState", { enumerable: true, get: function () { return index_js_1.KnownTranscriptionResultState; } });
20
+ Object.defineProperty(exports, "KnownTranscriptionSubscriptionState", { enumerable: true, get: function () { return index_js_1.KnownTranscriptionSubscriptionState; } });
21
21
  Object.defineProperty(exports, "KnownMediaStreamingStatus", { enumerable: true, get: function () { return index_js_1.KnownMediaStreamingStatus; } });
22
22
  Object.defineProperty(exports, "KnownMediaStreamingStatusDetails", { enumerable: true, get: function () { return index_js_1.KnownMediaStreamingStatusDetails; } });
23
23
  Object.defineProperty(exports, "KnownTranscriptionStatus", { enumerable: true, get: function () { return index_js_1.KnownTranscriptionStatus; } });
24
24
  Object.defineProperty(exports, "KnownTranscriptionStatusDetails", { enumerable: true, get: function () { return index_js_1.KnownTranscriptionStatusDetails; } });
25
- Object.defineProperty(exports, "KnownCommunicationIdentifierModelKind", { enumerable: true, get: function () { return index_js_1.KnownCommunicationIdentifierModelKind; } });
26
- Object.defineProperty(exports, "KnownCommunicationCloudEnvironmentModel", { enumerable: true, get: function () { return index_js_1.KnownCommunicationCloudEnvironmentModel; } });
27
25
  /** Defines values for VoiceKind that the service accepts. */
28
26
  var VoiceKind;
29
27
  (function (VoiceKind) {
@@ -73,7 +71,5 @@ var RecognizeInputType;
73
71
  (function (RecognizeInputType) {
74
72
  /** Dtmf */
75
73
  RecognizeInputType["Dtmf"] = "dtmf";
76
- /** Choices */
77
- RecognizeInputType["Choices"] = "choices";
78
74
  })(RecognizeInputType || (exports.RecognizeInputType = RecognizeInputType = {}));
79
75
  //# sourceMappingURL=models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAelC,6DAwD0C;AArDxC,iHAAA,qBAAqB,OAAA;AACrB,+HAAA,mCAAmC,OAAA;AACnC,0HAAA,8BAA8B,OAAA;AAC9B,4HAAA,gCAAgC,OAAA;AAChC,4GAAA,gBAAgB,OAAA;AAChB,2HAAA,+BAA+B,OAAA;AAC/B,yHAAA,6BAA6B,OAAA;AAC7B,gIAAA,oCAAoC,OAAA;AACpC,+HAAA,mCAAmC,OAAA;AACnC,yHAAA,6BAA6B,OAAA;AAC7B,gHAAA,oBAAoB,OAAA;AACpB,+GAAA,mBAAmB,OAAA;AACnB,8GAAA,kBAAkB,OAAA;AAClB,qGAAA,SAAS,OAAA;AACT,qHAAA,yBAAyB,OAAA;AACzB,4HAAA,gCAAgC,OAAA;AAChC,oHAAA,wBAAwB,OAAA;AACxB,2HAAA,+BAA+B,OAAA;AAC/B,iIAAA,qCAAqC,OAAA;AACrC,mIAAA,uCAAuC,OAAA;AAuFzC,6DAA6D;AAC7D,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,WAAW;IACX,0BAAa,CAAA;IACb,aAAa;IACb,8BAAiB,CAAA;AACnB,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAiCD,mBAAmB;AACnB,IAAY,QAiCX;AAjCD,WAAY,QAAQ;IAClB,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,YAAY;IACZ,2BAAe,CAAA;IACf,eAAe;IACf,iCAAqB,CAAA;AACvB,CAAC,EAjCW,QAAQ,wBAAR,QAAQ,QAiCnB;AAWD,4DAA4D;AAC5D,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,cAAc;IACd,yCAAmB,CAAA;AACrB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n CommunicationIdentifier,\n CommunicationUserIdentifier,\n MicrosoftTeamsUserIdentifier,\n MicrosoftTeamsAppIdentifier,\n PhoneNumberIdentifier,\n} from \"@azure/communication-common\";\nimport type {\n CallConnectionStateModel,\n MediaStreamingSubscription,\n TranscriptionSubscription,\n} from \"../generated/src/index.js\";\n\nexport {\n CallConnectionStateModel,\n CallRejectReason,\n KnownCallRejectReason,\n KnownMediaStreamingAudioChannelType,\n KnownMediaStreamingContentType,\n KnownMediaStreamingTransportType,\n KnownAudioFormat,\n KnownTranscriptionTransportType,\n KnownCallConnectionStateModel,\n KnownMediaStreamingSubscriptionState,\n KnownTranscriptionSubscriptionState,\n KnownTranscriptionResultState,\n KnownRecognitionType,\n KnownRecordingState,\n KnownRecordingKind,\n KnownTone,\n KnownMediaStreamingStatus,\n KnownMediaStreamingStatusDetails,\n KnownTranscriptionStatus,\n KnownTranscriptionStatusDetails,\n KnownCommunicationIdentifierModelKind,\n KnownCommunicationCloudEnvironmentModel,\n MediaStreamingAudioChannelType,\n MediaStreamingOptions,\n MediaStreamingContentType,\n MediaStreamingTransportType,\n TranscriptionOptions,\n TranscriptionTransportType,\n RecognitionType,\n ChoiceResult,\n DtmfResult,\n SpeechResult,\n RecordingState,\n RecordingKind,\n Tone,\n MediaStreamingUpdate,\n MediaStreamingStatus,\n MediaStreamingStatusDetails,\n AudioFormat,\n TranscriptionResultState,\n TranscriptionUpdate,\n TranscriptionStatus,\n TranscriptionStatusDetails,\n CustomCallingContextInternal,\n CommunicationIdentifierModel,\n CommunicationUserIdentifierModel,\n CommunicationIdentifierModelKind,\n MicrosoftTeamsAppIdentifierModel,\n MicrosoftTeamsUserIdentifierModel,\n PhoneNumberIdentifierModel,\n CommunicationCloudEnvironmentModel,\n MediaStreamingSubscription,\n TranscriptionSubscription,\n MediaStreamingSubscriptionState,\n TranscriptionSubscriptionState,\n} from \"../generated/src/models/index.js\";\n\n/** Properties of a call connection */\nexport interface CallConnectionProperties {\n /** The call connection id. */\n callConnectionId?: string;\n /** The server call id. */\n serverCallId?: string;\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifier;\n /** Display name of the call if dialing out to a pstn number. */\n sourceDisplayName?: string;\n /** Source identity. */\n source?: CommunicationIdentifier;\n /** The targets of the call. */\n targetParticipants?: CommunicationIdentifier[];\n /** The state of the call connection. */\n callConnectionState?: CallConnectionStateModel;\n /** The callback URL. */\n callbackUrl?: string;\n /** SubscriptionId for media streaming */\n mediaSubscriptionId?: string;\n /** The correlation ID. */\n correlationId?: string;\n /** Identity of the answering entity. Only populated when identity is provided in the request. */\n answeredby?: CommunicationUserIdentifier;\n /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */\n answeredFor?: PhoneNumberIdentifier;\n /** Media streaming subscription */\n mediaStreamingSubscription?: MediaStreamingSubscription;\n /** Transcription Subscription. */\n transcriptionSubscription?: TranscriptionSubscription;\n}\n\n/** Contract model of an ACS call participant */\nexport interface CallParticipant {\n /** Communication identifier of the participant */\n identifier?: CommunicationIdentifier;\n /** Is participant muted */\n isMuted?: boolean;\n /** Is participant on hold. */\n isOnHold?: boolean;\n}\n\n/** The locator used for joining or taking action on a call. */\nexport interface CallLocator {\n id: string;\n kind: CallLocatorType;\n}\n\n/** Defines values for VoiceKind that the service accepts. */\nexport enum VoiceKind {\n /** Male */\n Male = \"male\",\n /** Female */\n Female = \"female\",\n}\n\n/** The PlaySource model. */\nexport interface PlaySource {\n /** @deprecated Not in use, instead use playsourcecacheid for similar functionality*/\n playsourcacheid?: string;\n /** Sets the play source cache id.*/\n playSourceCacheId?: string;\n}\n\n/** The FileSource model. */\nexport interface FileSource extends PlaySource {\n url: string;\n readonly kind: \"fileSource\";\n}\n\n/** The TextSource model. */\nexport interface TextSource extends PlaySource {\n text: string;\n sourceLocale?: string;\n voiceKind?: VoiceKind;\n voiceName?: string;\n customVoiceEndpointId?: string;\n readonly kind: \"textSource\";\n}\n\n/** The SsmlSource model. */\nexport interface SsmlSource extends PlaySource {\n ssmlText: string;\n customVoiceEndpointId?: string;\n readonly kind: \"ssmlSource\";\n}\n\n/** A Dtmf Tone. */\nexport enum DtmfTone {\n /** Zero */\n Zero = \"zero\",\n /** One */\n One = \"one\",\n /** Two */\n Two = \"two\",\n /** Three */\n Three = \"three\",\n /** Four */\n Four = \"four\",\n /** Five */\n Five = \"five\",\n /** Six */\n Six = \"six\",\n /** Seven */\n Seven = \"seven\",\n /** Eight */\n Eight = \"eight\",\n /** Nine */\n Nine = \"nine\",\n /** A */\n A = \"a\",\n /** B */\n B = \"b\",\n /** C */\n C = \"c\",\n /** D */\n D = \"d\",\n /** Pound */\n Pound = \"pound\",\n /** Asterisk */\n Asterisk = \"asterisk\",\n}\n\n/** A Recognition Choice */\nexport interface RecognitionChoice {\n /** Identifier for a given choice */\n label: string;\n /** List of phrases to recognize */\n phrases: string[];\n tone?: DtmfTone;\n}\n\n/** The type of the recognition that the service accepts. */\nexport enum RecognizeInputType {\n /** Dtmf */\n Dtmf = \"dtmf\",\n /** Choices */\n Choices = \"choices\",\n}\n\n/** Call invitee details. */\nexport interface CallInvite {\n /** The Target's PhoneNumberIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier or MicrosoftTeamsAppIdentifier. */\n readonly targetParticipant:\n | PhoneNumberIdentifier\n | CommunicationUserIdentifier\n | MicrosoftTeamsUserIdentifier\n | MicrosoftTeamsAppIdentifier;\n /** Caller's phone number identifier. */\n readonly sourceCallIdNumber?: PhoneNumberIdentifier;\n sourceDisplayName?: string;\n /** Used by customer to send custom context to targets. */\n customCallingContext?: CustomCallingContext;\n}\n\n/** The locator type of a call. */\nexport type CallLocatorType = \"serverCallLocator\" | \"groupCallLocator\" | \"roomCallLocator\";\n\n/** The content type of a call recording. */\nexport type RecordingContent = \"audio\" | \"audioVideo\";\n\n/** The channel type of a call recording. */\nexport type RecordingChannel = \"mixed\" | \"unmixed\";\n\n/** The format type of a call recording. */\nexport type RecordingFormat = \"mp3\" | \"mp4\" | \"wav\";\n\n/** The storage type of a call recording. */\nexport type RecordingStorageKind = \"azureCommunicationServices\" | \"azureBlobStorage\";\n\n/** Channel affinity for a participant */\nexport interface ChannelAffinity {\n /** Channel number to which bitstream from a particular participant will be written. */\n channel?: number;\n /**\n * The identifier for the participant whose bitstream will be written to the channel\n * represented by the channel number.\n */\n targetParticipant: CommunicationIdentifier;\n}\n\n/** The recording storage */\nexport interface RecordingStorage {\n /** Defines the kind of recording storage */\n recordingStorageKind: RecordingStorageKind;\n /** Uri of a container or a location within a container */\n recordingDestinationContainerUrl?: string;\n}\n\nexport interface CustomCallingContextHeader {\n key: string;\n value: string;\n}\n\n/** VOIP header. */\nexport interface VoipHeader extends CustomCallingContextHeader {\n kind: \"voip\";\n}\n\n/** SIP User To User header. */\nexport interface SipUserToUserHeader extends CustomCallingContextHeader {\n kind: \"sipuui\";\n}\n\n/** SIP Custom header. */\nexport interface SipCustomHeader extends CustomCallingContextHeader {\n kind: \"sipx\";\n sipHeaderPrefix?: SipHeaderPrefix;\n}\n\n/** The type of the Sip header prefix. */\nexport type SipHeaderPrefix = \"X-\" | \"X-MS-Custom-\";\n\n/** Custom Calling Context */\nexport type CustomCallingContext = (VoipHeader | SipUserToUserHeader | SipCustomHeader)[];\n\n/** AI options for the call. */\nexport interface CallIntelligenceOptions {\n /** The identifier of the Cognitive Service resource assigned to this call. */\n cognitiveServicesEndpoint?: string;\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAgBlC,6DA8C0C;AA3CxC,iHAAA,qBAAqB,OAAA;AACrB,+HAAA,mCAAmC,OAAA;AACnC,0HAAA,8BAA8B,OAAA;AAC9B,4HAAA,gCAAgC,OAAA;AAChC,yHAAA,6BAA6B,OAAA;AAC7B,2HAAA,+BAA+B,OAAA;AAC/B,gHAAA,oBAAoB,OAAA;AACpB,+GAAA,mBAAmB,OAAA;AACnB,8GAAA,kBAAkB,OAAA;AAClB,qGAAA,SAAS,OAAA;AACT,4GAAA,gBAAgB,OAAA;AAChB,gIAAA,oCAAoC,OAAA;AACpC,yHAAA,6BAA6B,OAAA;AAC7B,+HAAA,mCAAmC,OAAA;AACnC,qHAAA,yBAAyB,OAAA;AACzB,4HAAA,gCAAgC,OAAA;AAChC,oHAAA,wBAAwB,OAAA;AACxB,2HAAA,+BAA+B,OAAA;AA6EjC,6DAA6D;AAC7D,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,WAAW;IACX,0BAAa,CAAA;IACb,aAAa;IACb,8BAAiB,CAAA;AACnB,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AA+BD,mBAAmB;AACnB,IAAY,QAiCX;AAjCD,WAAY,QAAQ;IAClB,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,YAAY;IACZ,2BAAe,CAAA;IACf,eAAe;IACf,iCAAqB,CAAA;AACvB,CAAC,EAjCW,QAAQ,wBAAR,QAAQ,QAiCnB;AAWD,4DAA4D;AAC5D,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;AACf,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n CommunicationIdentifier,\n CommunicationUserIdentifier,\n MicrosoftTeamsUserIdentifier,\n MicrosoftTeamsAppIdentifier,\n TeamsExtensionUserIdentifier,\n PhoneNumberIdentifier,\n} from \"@azure/communication-common\";\nimport type {\n CallConnectionStateModel,\n MediaStreamingSubscription,\n TranscriptionSubscription,\n} from \"../generated/src/index.js\";\n\nexport {\n CallConnectionStateModel,\n CallRejectReason,\n KnownCallRejectReason,\n KnownMediaStreamingAudioChannelType,\n KnownMediaStreamingContentType,\n KnownMediaStreamingTransportType,\n KnownCallConnectionStateModel,\n KnownTranscriptionTransportType,\n KnownRecognitionType,\n KnownRecordingState,\n KnownRecordingKind,\n KnownTone,\n KnownAudioFormat,\n KnownMediaStreamingSubscriptionState,\n KnownTranscriptionResultState,\n KnownTranscriptionSubscriptionState,\n KnownMediaStreamingStatus,\n KnownMediaStreamingStatusDetails,\n KnownTranscriptionStatus,\n KnownTranscriptionStatusDetails,\n MediaStreamingAudioChannelType,\n MediaStreamingOptions,\n MediaStreamingContentType,\n MediaStreamingTransportType,\n MediaStreamingSubscription,\n TranscriptionOptions,\n TranscriptionTransportType,\n TranscriptionSubscription,\n RecognitionType,\n ChoiceResult,\n DtmfResult,\n SpeechResult,\n RecordingState,\n RecordingKind,\n Tone,\n AudioFormat,\n MediaStreamingUpdate,\n MediaStreamingSubscriptionState,\n TranscriptionResultState,\n TranscriptionUpdate,\n TranscriptionSubscriptionState,\n MediaStreamingStatus,\n MediaStreamingStatusDetails,\n TranscriptionStatus,\n TranscriptionStatusDetails,\n} from \"../generated/src/models/index.js\";\n\n/** Properties of a call connection */\nexport interface CallConnectionProperties {\n /** The call connection id. */\n callConnectionId?: string;\n /** The server call id. */\n serverCallId?: string;\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifier;\n /** Display name of the call if dialing out to a pstn number. */\n sourceDisplayName?: string;\n /** Source identity. */\n source?: CommunicationIdentifier;\n /** The targets of the call. */\n targetParticipants?: CommunicationIdentifier[];\n /** The state of the call connection. */\n callConnectionState?: CallConnectionStateModel;\n /** The callback URL. */\n callbackUrl?: string;\n /** The correlation ID. */\n correlationId?: string;\n /** Identity of the answering entity. Only populated when identity is provided in the request. */\n answeredby?: CommunicationUserIdentifier;\n /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */\n answeredFor?: PhoneNumberIdentifier;\n /** Media streaming subscription */\n mediaStreamingSubscription?: MediaStreamingSubscription;\n /** Transcription Subscription. */\n transcriptionSubscription?: TranscriptionSubscription;\n}\n\n/** Contract model of an ACS call participant */\nexport interface CallParticipant {\n /** Communication identifier of the participant */\n identifier?: CommunicationIdentifier;\n /** Is participant muted */\n isMuted?: boolean;\n /** Is participant on hold. */\n isOnHold?: boolean;\n}\n\n/** The locator used for joining or taking action on a call. */\nexport interface CallLocator {\n id: string;\n kind: CallLocatorType;\n}\n\n/** Defines values for VoiceKind that the service accepts. */\nexport enum VoiceKind {\n /** Male */\n Male = \"male\",\n /** Female */\n Female = \"female\",\n}\n\n/** The PlaySource model. */\nexport interface PlaySource {\n /** @deprecated Not in use, instead use playsourcecacheid for similar functionality*/\n playsourcacheid?: string;\n}\n\n/** The FileSource model. */\nexport interface FileSource extends PlaySource {\n url: string;\n readonly kind: \"fileSource\";\n}\n\n/** The TextSource model. */\nexport interface TextSource extends PlaySource {\n text: string;\n sourceLocale?: string;\n voiceKind?: VoiceKind;\n voiceName?: string;\n customVoiceEndpointId?: string;\n readonly kind: \"textSource\";\n}\n\n/** The SsmlSource model. */\nexport interface SsmlSource extends PlaySource {\n ssmlText: string;\n customVoiceEndpointId?: string;\n readonly kind: \"ssmlSource\";\n}\n\n/** A Dtmf Tone. */\nexport enum DtmfTone {\n /** Zero */\n Zero = \"zero\",\n /** One */\n One = \"one\",\n /** Two */\n Two = \"two\",\n /** Three */\n Three = \"three\",\n /** Four */\n Four = \"four\",\n /** Five */\n Five = \"five\",\n /** Six */\n Six = \"six\",\n /** Seven */\n Seven = \"seven\",\n /** Eight */\n Eight = \"eight\",\n /** Nine */\n Nine = \"nine\",\n /** A */\n A = \"a\",\n /** B */\n B = \"b\",\n /** C */\n C = \"c\",\n /** D */\n D = \"d\",\n /** Pound */\n Pound = \"pound\",\n /** Asterisk */\n Asterisk = \"asterisk\",\n}\n\n/** A Recognition Choice */\nexport interface RecognitionChoice {\n /** Identifier for a given choice */\n label: string;\n /** List of phrases to recognize */\n phrases: string[];\n tone?: DtmfTone;\n}\n\n/** The type of the recognition that the service accepts. */\nexport enum RecognizeInputType {\n /** Dtmf */\n Dtmf = \"dtmf\",\n}\n\n/** Call invitee details. */\nexport interface CallInvite {\n /** The Target's PhoneNumberIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier or TeamsExtensionUserIdentifier. */\n readonly targetParticipant:\n | PhoneNumberIdentifier\n | CommunicationUserIdentifier\n | MicrosoftTeamsUserIdentifier\n | MicrosoftTeamsAppIdentifier\n | TeamsExtensionUserIdentifier;\n /** Caller's phone number identifier. */\n readonly sourceCallIdNumber?: PhoneNumberIdentifier;\n sourceDisplayName?: string;\n /** Used by customer to send custom context to targets. */\n customCallingContext?: CustomCallingContext;\n}\n\n/** The locator type of a call. */\nexport type CallLocatorType = \"serverCallLocator\" | \"groupCallLocator\" | \"roomCallLocator\";\n\n/** The content type of a call recording. */\nexport type RecordingContent = \"audio\" | \"audioVideo\";\n\n/** The channel type of a call recording. */\nexport type RecordingChannel = \"mixed\" | \"unmixed\";\n\n/** The format type of a call recording. */\nexport type RecordingFormat = \"mp3\" | \"mp4\" | \"wav\";\n\n/** The storage type of a call recording. */\nexport type RecordingStorageKind = \"azureCommunicationServices\" | \"azureBlobStorage\";\n\n/** Channel affinity for a participant */\nexport interface ChannelAffinity {\n /** Channel number to which bitstream from a particular participant will be written. */\n channel?: number;\n /**\n * The identifier for the participant whose bitstream will be written to the channel\n * represented by the channel number.\n */\n targetParticipant: CommunicationIdentifier;\n}\n\n/** The recording storage */\nexport interface RecordingStorage {\n /** Defines the kind of recording storage */\n recordingStorageKind: RecordingStorageKind;\n /** Uri of a container or a location within a container */\n recordingDestinationContainerUrl?: string;\n}\n\nexport interface CustomCallingContextHeader {\n key: string;\n value: string;\n}\n\n/** VOIP header. */\nexport interface VoipHeader extends CustomCallingContextHeader {\n kind: \"voip\";\n}\n\n/** SIP User To User header. */\nexport interface SipUserToUserHeader extends CustomCallingContextHeader {\n kind: \"sipuui\";\n}\n\n/** SIP Custom header. */\nexport interface SipCustomHeader extends CustomCallingContextHeader {\n kind: \"sipx\";\n}\n\n/** Custom Calling Context */\nexport type CustomCallingContext = (VoipHeader | SipUserToUserHeader | SipCustomHeader)[];\n\n/** AI options for the call. */\nexport interface CallIntelligenceOptions {\n /** The identifier of the Cognitive Service resource assigned to this call. */\n cognitiveServicesEndpoint?: string;\n}\n"]}
@@ -17,8 +17,6 @@ export interface CallMediaRecognizeOptions extends OperationOptions {
17
17
  interruptPrompt?: boolean;
18
18
  /** Time to wait for first input after prompt. */
19
19
  initialSilenceTimeoutInSeconds?: number;
20
- /** speechModelEndpointId. */
21
- speechModelEndpointId?: string;
22
20
  /**
23
21
  * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.
24
22
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
@@ -90,8 +88,6 @@ export interface CreateCallOptions extends OperationOptions {
90
88
  mediaStreamingOptions?: MediaStreamingOptions;
91
89
  /** Options for live transcription. */
92
90
  transcriptionOptions?: TranscriptionOptions;
93
- /** The Custom Context. */
94
- customCallingContext?: CustomCallingContext;
95
91
  /**
96
92
  * Overrides default client source by a MicrosoftTeamsAppIdentifier type source.
97
93
  * Required for creating call with Teams resource account ID.
@@ -105,8 +101,6 @@ export interface CreateCallOptions extends OperationOptions {
105
101
  export interface AnswerCallOptions extends OperationOptions {
106
102
  /** AI options for the call. */
107
103
  callIntelligenceOptions?: CallIntelligenceOptions;
108
- /** Used by customer to send custom context to targets. */
109
- customCallingContext?: CustomCallingContext;
110
104
  /** Options for Media streaming. */
111
105
  mediaStreamingOptions?: MediaStreamingOptions;
112
106
  /** Options for live transcription. */
@@ -117,10 +111,7 @@ export interface AnswerCallOptions extends OperationOptions {
117
111
  /**
118
112
  * Options to redirect call.
119
113
  */
120
- export interface RedirectCallOptions extends OperationOptions {
121
- /** The Custom Context. */
122
- customCallingContext?: CustomCallingContext;
123
- }
114
+ export type RedirectCallOptions = OperationOptions;
124
115
  /**
125
116
  * Options to reject call.
126
117
  */
@@ -193,8 +184,6 @@ export interface PlayOptions extends OperationOptions {
193
184
  * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
194
185
  */
195
186
  operationCallbackUrl?: string;
196
- /** If set, hold audio will be interrupted, then this request will be played, and then the hold audio will be resumed. */
197
- interruptHoldAudio?: boolean;
198
187
  }
199
188
  /**
200
189
  * Options to playToAll audio.
@@ -322,11 +311,6 @@ export interface StartTranscriptionOptions extends OperationOptions {
322
311
  operationContext?: string;
323
312
  /** Endpoint where the custom model was deployed. */
324
313
  speechRecognitionModelEndpointId?: string;
325
- /**
326
- * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
327
- * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
328
- */
329
- operationCallbackUrl?: string;
330
314
  }
331
315
  /**
332
316
  * Options to stop transcription
@@ -334,11 +318,6 @@ export interface StartTranscriptionOptions extends OperationOptions {
334
318
  export interface StopTranscriptionOptions extends OperationOptions {
335
319
  /** The value to identify context of the operation. */
336
320
  operationContext?: string;
337
- /**
338
- * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
339
- * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
340
- */
341
- operationCallbackUrl?: string;
342
321
  }
343
322
  /**
344
323
  * Options to hold participant.
@@ -349,7 +328,7 @@ export interface HoldOptions extends OperationOptions {
349
328
  /** Operation Context. */
350
329
  operationContext?: string;
351
330
  /** Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. */
352
- operationCallbackUri?: string;
331
+ operationCallbackUrl?: string;
353
332
  }
354
333
  /**
355
334
  * Options to Unhold participant.
@@ -399,17 +378,5 @@ export interface UpdateTranscriptionOptions extends OperationOptions {
399
378
  speechRecognitionModelEndpointId?: string;
400
379
  /** The value to identify context of the operation. */
401
380
  operationContext?: string;
402
- /**
403
- * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
404
- * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
405
- */
406
- operationCallbackUrl?: string;
407
- }
408
- /**
409
- * Options to interrupt audio and announce.
410
- */
411
- export interface InterruptAudioAndAnnounceOptions extends OperationOptions {
412
- /** The value to identify context of the operation. */
413
- operationContext?: string;
414
381
  }
415
382
  //# sourceMappingURL=options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/models/options.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EACV,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,UAAU,EACV,QAAQ,EACR,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,aAAa,CAAC;AAErB,oDAAoD;AACpD,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IACjE,4DAA4D;IAC5D,UAAU,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;IAClD,iEAAiE;IACjE,WAAW,CAAC,EAAE,CAAC,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC,EAAE,CAAC;IACvD,8FAA8F;IAC9F,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,+FAA+F;IAC/F,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,mEAAmE;IACnE,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iDAAiD;IACjD,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,6BAA6B;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,oDAAoD;AACpD,M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ACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kHAAkH;IAClH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,gBAAgB;IACrD,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IAC1D,wEAAwE;IACxE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+BAA+B;IAC/B,uBAAuB,CAAC,EAAE,uBAAuB,CAAC;IAClD,mCAAmC;IACnC,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,sCAAsC;IACtC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C;AAED,iDAAiD;AACjD,MAAM,WAAW,0BAA2B,SAAQ,gBAAgB;IAClE;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,gDAAgD;AAChD,MAAM,WAAW,yBAA0B,SAAQ,gBAAgB;IACjE;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,gBAAgB;IAClE,oDAAoD;IACpD,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAC1C,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../src/models/options.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n PhoneNumberIdentifier,\n CommunicationIdentifier,\n MicrosoftTeamsAppIdentifier,\n} from \"@azure/communication-common\";\nimport type { OperationOptions } from \"@azure/core-client\";\nimport type {\n MediaStreamingOptions,\n TranscriptionOptions,\n CallRejectReason,\n FileSource,\n TextSource,\n SsmlSource,\n DtmfTone,\n RecognitionChoice,\n RecordingContent,\n RecordingChannel,\n RecordingFormat,\n RecordingStorage,\n CallLocator,\n ChannelAffinity,\n CallIntelligenceOptions,\n CustomCallingContext,\n} from \"./models.js\";\n\n/** Options to configure the recognize operation. */\nexport interface CallMediaRecognizeOptions extends OperationOptions {\n /** The source of the audio to be played for recognition. */\n playPrompt?: FileSource | TextSource | SsmlSource;\n /** The list source of the audio to be played for recognition. */\n playPrompts?: (FileSource | TextSource | SsmlSource)[];\n /** If set recognize can barge into other existing queued-up/currently-processing requests. */\n interruptCallMediaOperation?: boolean;\n /** @deprecated Not in use, instead use interruptCallMediaOperation for similar functionality*/\n stopCurrentOperations?: boolean;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /** Determines if we interrupt the prompt and start recognizing. */\n interruptPrompt?: boolean;\n /** Time to wait for first input after prompt. */\n initialSilenceTimeoutInSeconds?: number;\n /** speechModelEndpointId. */\n speechModelEndpointId?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/** The recognize configuration specific to Dtmf. */\nexport interface CallMediaRecognizeDtmfOptions extends CallMediaRecognizeOptions {\n /** Time to wait between DTMF inputs to stop recognizing. */\n interToneTimeoutInSeconds?: number;\n /** List of tones that will stop recognizing. */\n stopDtmfTones?: DtmfTone[];\n /** Maximum number of DTMF tones to be collected. */\n maxTonesToCollect?: number;\n readonly kind: \"callMediaRecognizeDtmfOptions\";\n}\n\n/** The recognize configuration specific to Choices. */\nexport interface CallMediaRecognizeChoiceOptions extends CallMediaRecognizeOptions {\n /** The IvR choices for recognize. */\n choices: RecognitionChoice[];\n /** Speech language to be recognized, If not set default is en-US */\n speechLanguage?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n readonly kind: \"callMediaRecognizeChoiceOptions\";\n}\n\n/** The recognize configuration specific to Speech. */\nexport interface CallMediaRecognizeSpeechOptions extends CallMediaRecognizeOptions {\n /** The length of end silence when user stops speaking and cogservice send response. */\n endSilenceTimeoutInSeconds?: number;\n /** Speech language to be recognized, If not set default is en-US */\n speechLanguage?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n readonly kind: \"callMediaRecognizeSpeechOptions\";\n}\n\n/** The recognize configuration for Speech or Dtmf */\nexport interface CallMediaRecognizeSpeechOrDtmfOptions extends CallMediaRecognizeOptions {\n /** The length of end silence when user stops speaking and cogservice send response. */\n endSilenceTimeoutInSeconds?: number;\n /** Time to wait between DTMF inputs to stop recognizing. */\n interToneTimeoutInSeconds?: number;\n /** List of tones that will stop recognizing. */\n stopDtmfTones?: DtmfTone[];\n /** Maximum number of DTMF tones to be collected. */\n maxTonesToCollect?: number;\n /** Speech language to be recognized, If not set default is en-US */\n speechLanguage?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n readonly kind: \"callMediaRecognizeSpeechOrDtmfOptions\";\n}\n\n/**\n * Options to create a call.\n */\nexport interface CreateCallOptions extends OperationOptions {\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallIdNumber?: PhoneNumberIdentifier;\n /** Display name of the call if dialing out to a pstn number */\n sourceDisplayName?: string;\n /** The operation context. */\n operationContext?: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptions;\n /** Options for Media streaming. */\n mediaStreamingOptions?: MediaStreamingOptions;\n /** Options for live transcription. */\n transcriptionOptions?: TranscriptionOptions;\n /** The Custom Context. */\n customCallingContext?: CustomCallingContext;\n /**\n * Overrides default client source by a MicrosoftTeamsAppIdentifier type source.\n * Required for creating call with Teams resource account ID.\n * This is per-operation setting and does not change the client's default source.\n */\n teamsAppSource?: MicrosoftTeamsAppIdentifier;\n}\n\n/**\n * Options to answer a call.\n */\nexport interface AnswerCallOptions extends OperationOptions {\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptions;\n /** Used by customer to send custom context to targets. */\n customCallingContext?: CustomCallingContext;\n /** Options for Media streaming. */\n mediaStreamingOptions?: MediaStreamingOptions;\n /** Options for live transcription. */\n transcriptionOptions?: TranscriptionOptions;\n /** The operation context. */\n operationContext?: string;\n}\n\n/**\n * Options to redirect call.\n */\nexport interface RedirectCallOptions extends OperationOptions {\n /** The Custom Context. */\n customCallingContext?: CustomCallingContext;\n}\n\n/**\n * Options to reject call.\n */\nexport interface RejectCallOptions extends OperationOptions {\n /** The rejection reason. */\n callRejectReason?: CallRejectReason;\n}\n\n/**\n * Options to transfer participants.\n */\nexport interface TransferCallToParticipantOptions extends OperationOptions {\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n /** Transferee is the participant who is transferred away. */\n transferee?: CommunicationIdentifier;\n /** Used by customer to send custom context to targets. */\n customCallingContext?: CustomCallingContext;\n /** The source caller Id, a phone number, that's will be used as the transferor's(Contoso) caller id when transfering a call a pstn target. */\n sourceCallIdNumber?: PhoneNumberIdentifier;\n}\n\n/** Options to add participants. */\nexport interface AddParticipantOptions extends OperationOptions {\n /**\n * Gets or sets the timeout to wait for the invited participant to pickup.\n * The maximum value of this is 180 seconds\n */\n invitationTimeoutInSeconds?: number;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to remove participants.\n */\nexport interface RemoveParticipantsOption extends OperationOptions {\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to mute participant.\n */\nexport interface MuteParticipantOption extends OperationOptions {\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n}\n\n/**\n * Options to play audio.\n */\nexport interface PlayOptions extends OperationOptions {\n /** Determine if it is looping */\n loop?: boolean;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n /** If set, hold audio will be interrupted, then this request will be played, and then the hold audio will be resumed. */\n interruptHoldAudio?: boolean;\n}\n\n/**\n * Options to playToAll audio.\n */\nexport interface PlayToAllOptions extends PlayOptions {\n /** If set play can barge into other existing queued-up/currently-processing requests. */\n interruptCallMediaOperation?: boolean;\n}\n\n/**\n * Options to get call connection properties.\n */\nexport type GetCallConnectionPropertiesOptions = OperationOptions;\n\n/**\n * Options to hang up the call\n */\nexport type HangUpOptions = OperationOptions;\n\n/**\n * Options to get a participant.\n */\nexport type GetParticipantOptions = OperationOptions;\n\n/**\n * Options to get a start a recording.\n */\nexport interface StartRecordingOptions extends OperationOptions {\n /** The call locator. (Only one of callLocator or callConnectionId to be used) */\n callLocator?: CallLocator;\n /** The call connectionId. (Only one of callLocator or callConnectionId to be used) */\n callConnectionId?: string;\n /** The url to send notifications to. */\n recordingStateCallbackEndpointUrl?: string;\n /** The content type of call recording. */\n recordingContent?: RecordingContent;\n /** The channel type of call recording. */\n recordingChannel?: RecordingChannel;\n /** The format type of call recording. */\n recordingFormat?: RecordingFormat;\n /** Recording storage option. */\n recordingStorage?: RecordingStorage;\n /** Pause on start call recording option. */\n pauseOnStart?: boolean;\n /**\n * The sequential order in which audio channels are assigned to participants in the unmixed recording.\n * When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering` is not specified,\n * the audio channel to participant mapping will be automatically assigned based on the order in which participant\n * first audio was detected. Channel to participant mapping details can be found in the metadata of the recording.\n */\n audioChannelParticipantOrdering?: CommunicationIdentifier[];\n /**\n * The channel affinity of call recording\n * When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned.\n * Channel-Participant mapping details can be found in the metadata of the recording.\n */\n channelAffinity?: ChannelAffinity[];\n}\n\n/**\n * Options to get a stop a recording.\n */\nexport type StopRecordingOptions = OperationOptions;\n\n/**\n * Options to get a pause a recording.\n */\nexport type PauseRecordingOptions = OperationOptions;\n\n/**\n * Options to get recording properties.\n */\nexport type GetRecordingPropertiesOptions = OperationOptions;\n\n/**\n * Options to resume recording.\n */\nexport type ResumeRecordingOptions = OperationOptions;\n\n/**\n * Options to delete recording.\n */\nexport type DeleteRecordingOptions = OperationOptions;\n\n/**\n * Options to download recording.\n */\nexport interface DownloadRecordingOptions extends OperationOptions {\n /** Offset byte to start download from. */\n offset?: number;\n /** Max content length in bytes. */\n length?: number;\n}\n\n/**\n * Options to continuous Dtmf recognition.\n */\nexport interface ContinuousDtmfRecognitionOptions extends OperationOptions {\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to send Dtmf tones.\n */\nexport interface SendDtmfTonesOptions extends OperationOptions {\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/** Options for cancelling add participant request. */\nexport interface CancelAddParticipantOperationOptions extends OperationOptions {\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to start transcription\n */\nexport interface StartTranscriptionOptions extends OperationOptions {\n /** Defines Locale for the transcription e,g en-US */\n locale?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n /**\n * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to stop transcription\n */\nexport interface StopTranscriptionOptions extends OperationOptions {\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to hold participant.\n */\nexport interface HoldOptions extends OperationOptions {\n /** A PlaySource representing the source to play. */\n playSource?: FileSource | TextSource | SsmlSource;\n /** Operation Context. */\n operationContext?: string;\n /** Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. */\n operationCallbackUri?: string;\n}\n\n/**\n * Options to Unhold participant.\n */\nexport interface UnholdOptions extends OperationOptions {\n /** Operation Context. */\n operationContext?: string;\n}\n\n/**\n * Options to Connect request.\n */\nexport interface ConnectCallOptions extends OperationOptions {\n /** Used by customers to correlate the request to the response event. */\n operationContext?: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptions;\n /** Options for Media streaming. */\n mediaStreamingOptions?: MediaStreamingOptions;\n /** Options for live transcription. */\n transcriptionOptions?: TranscriptionOptions;\n}\n\n/** Options for start media streaming request. */\nexport interface StartMediaStreamingOptions extends OperationOptions {\n /**\n * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\n/** Options for stop media streaming request. */\nexport interface StopMediaStreamingOptions extends OperationOptions {\n /**\n * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\n/**\n * Options to update transcription\n */\nexport interface UpdateTranscriptionOptions extends OperationOptions {\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to interrupt audio and announce.\n */\nexport interface InterruptAudioAndAnnounceOptions extends OperationOptions {\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n"]}
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../src/models/options.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n PhoneNumberIdentifier,\n CommunicationIdentifier,\n MicrosoftTeamsAppIdentifier,\n} from \"@azure/communication-common\";\nimport type { OperationOptions } from \"@azure/core-client\";\nimport type {\n MediaStreamingOptions,\n TranscriptionOptions,\n CallRejectReason,\n FileSource,\n TextSource,\n SsmlSource,\n DtmfTone,\n RecognitionChoice,\n RecordingContent,\n RecordingChannel,\n RecordingFormat,\n RecordingStorage,\n CallLocator,\n ChannelAffinity,\n CallIntelligenceOptions,\n CustomCallingContext,\n} from \"./models.js\";\n\n/** Options to configure the recognize operation. */\nexport interface CallMediaRecognizeOptions extends OperationOptions {\n /** The source of the audio to be played for recognition. */\n playPrompt?: FileSource | TextSource | SsmlSource;\n /** The list source of the audio to be played for recognition. */\n playPrompts?: (FileSource | TextSource | SsmlSource)[];\n /** If set recognize can barge into other existing queued-up/currently-processing requests. */\n interruptCallMediaOperation?: boolean;\n /** @deprecated Not in use, instead use interruptCallMediaOperation for similar functionality*/\n stopCurrentOperations?: boolean;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /** Determines if we interrupt the prompt and start recognizing. */\n interruptPrompt?: boolean;\n /** Time to wait for first input after prompt. */\n initialSilenceTimeoutInSeconds?: number;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/** The recognize configuration specific to Dtmf. */\nexport interface CallMediaRecognizeDtmfOptions extends CallMediaRecognizeOptions {\n /** Time to wait between DTMF inputs to stop recognizing. */\n interToneTimeoutInSeconds?: number;\n /** List of tones that will stop recognizing. */\n stopDtmfTones?: DtmfTone[];\n /** Maximum number of DTMF tones to be collected. */\n maxTonesToCollect?: number;\n readonly kind: \"callMediaRecognizeDtmfOptions\";\n}\n\n/** The recognize configuration specific to Choices. */\nexport interface CallMediaRecognizeChoiceOptions extends CallMediaRecognizeOptions {\n /** The IvR choices for recognize. */\n choices: RecognitionChoice[];\n /** Speech language to be recognized, If not set default is en-US */\n speechLanguage?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n readonly kind: \"callMediaRecognizeChoiceOptions\";\n}\n\n/** The recognize configuration specific to Speech. */\nexport interface CallMediaRecognizeSpeechOptions extends CallMediaRecognizeOptions {\n /** The length of end silence when user stops speaking and cogservice send response. */\n endSilenceTimeoutInSeconds?: number;\n /** Speech language to be recognized, If not set default is en-US */\n speechLanguage?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n readonly kind: \"callMediaRecognizeSpeechOptions\";\n}\n\n/** The recognize configuration for Speech or Dtmf */\nexport interface CallMediaRecognizeSpeechOrDtmfOptions extends CallMediaRecognizeOptions {\n /** The length of end silence when user stops speaking and cogservice send response. */\n endSilenceTimeoutInSeconds?: number;\n /** Time to wait between DTMF inputs to stop recognizing. */\n interToneTimeoutInSeconds?: number;\n /** List of tones that will stop recognizing. */\n stopDtmfTones?: DtmfTone[];\n /** Maximum number of DTMF tones to be collected. */\n maxTonesToCollect?: number;\n /** Speech language to be recognized, If not set default is en-US */\n speechLanguage?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n readonly kind: \"callMediaRecognizeSpeechOrDtmfOptions\";\n}\n\n/**\n * Options to create a call.\n */\nexport interface CreateCallOptions extends OperationOptions {\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallIdNumber?: PhoneNumberIdentifier;\n /** Display name of the call if dialing out to a pstn number */\n sourceDisplayName?: string;\n /** The operation context. */\n operationContext?: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptions;\n /** Options for Media streaming. */\n mediaStreamingOptions?: MediaStreamingOptions;\n /** Options for live transcription. */\n transcriptionOptions?: TranscriptionOptions;\n /**\n * Overrides default client source by a MicrosoftTeamsAppIdentifier type source.\n * Required for creating call with Teams resource account ID.\n * This is per-operation setting and does not change the client's default source.\n */\n teamsAppSource?: MicrosoftTeamsAppIdentifier;\n}\n\n/**\n * Options to answer a call.\n */\nexport interface AnswerCallOptions extends OperationOptions {\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptions;\n /** Options for Media streaming. */\n mediaStreamingOptions?: MediaStreamingOptions;\n /** Options for live transcription. */\n transcriptionOptions?: TranscriptionOptions;\n /** The operation context. */\n operationContext?: string;\n}\n\n/**\n * Options to redirect call.\n */\nexport type RedirectCallOptions = OperationOptions;\n\n/**\n * Options to reject call.\n */\nexport interface RejectCallOptions extends OperationOptions {\n /** The rejection reason. */\n callRejectReason?: CallRejectReason;\n}\n\n/**\n * Options to transfer participants.\n */\nexport interface TransferCallToParticipantOptions extends OperationOptions {\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n /** Transferee is the participant who is transferred away. */\n transferee?: CommunicationIdentifier;\n /** Used by customer to send custom context to targets. */\n customCallingContext?: CustomCallingContext;\n /** The source caller Id, a phone number, that's will be used as the transferor's(Contoso) caller id when transfering a call a pstn target. */\n sourceCallIdNumber?: PhoneNumberIdentifier;\n}\n\n/** Options to add participants. */\nexport interface AddParticipantOptions extends OperationOptions {\n /**\n * Gets or sets the timeout to wait for the invited participant to pickup.\n * The maximum value of this is 180 seconds\n */\n invitationTimeoutInSeconds?: number;\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to remove participants.\n */\nexport interface RemoveParticipantsOption extends OperationOptions {\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to mute participant.\n */\nexport interface MuteParticipantOption extends OperationOptions {\n /** Used by customers when calling mid-call actions to correlate the request to the response event. */\n operationContext?: string;\n}\n\n/**\n * Options to play audio.\n */\nexport interface PlayOptions extends OperationOptions {\n /** Determine if it is looping */\n loop?: boolean;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to playToAll audio.\n */\nexport interface PlayToAllOptions extends PlayOptions {\n /** If set play can barge into other existing queued-up/currently-processing requests. */\n interruptCallMediaOperation?: boolean;\n}\n\n/**\n * Options to get call connection properties.\n */\nexport type GetCallConnectionPropertiesOptions = OperationOptions;\n\n/**\n * Options to hang up the call\n */\nexport type HangUpOptions = OperationOptions;\n\n/**\n * Options to get a participant.\n */\nexport type GetParticipantOptions = OperationOptions;\n\n/**\n * Options to get a start a recording.\n */\nexport interface StartRecordingOptions extends OperationOptions {\n /** The call locator. (Only one of callLocator or callConnectionId to be used) */\n callLocator?: CallLocator;\n /** The call connectionId. (Only one of callLocator or callConnectionId to be used) */\n callConnectionId?: string;\n /** The url to send notifications to. */\n recordingStateCallbackEndpointUrl?: string;\n /** The content type of call recording. */\n recordingContent?: RecordingContent;\n /** The channel type of call recording. */\n recordingChannel?: RecordingChannel;\n /** The format type of call recording. */\n recordingFormat?: RecordingFormat;\n /** Recording storage option. */\n recordingStorage?: RecordingStorage;\n /** Pause on start call recording option. */\n pauseOnStart?: boolean;\n /**\n * The sequential order in which audio channels are assigned to participants in the unmixed recording.\n * When 'recordingChannelType' is set to 'unmixed' and `audioChannelParticipantOrdering` is not specified,\n * the audio channel to participant mapping will be automatically assigned based on the order in which participant\n * first audio was detected. Channel to participant mapping details can be found in the metadata of the recording.\n */\n audioChannelParticipantOrdering?: CommunicationIdentifier[];\n /**\n * The channel affinity of call recording\n * When 'recordingChannelType' is set to 'unmixed', if channelAffinity is not specified, 'channel' will be automatically assigned.\n * Channel-Participant mapping details can be found in the metadata of the recording.\n */\n channelAffinity?: ChannelAffinity[];\n}\n\n/**\n * Options to get a stop a recording.\n */\nexport type StopRecordingOptions = OperationOptions;\n\n/**\n * Options to get a pause a recording.\n */\nexport type PauseRecordingOptions = OperationOptions;\n\n/**\n * Options to get recording properties.\n */\nexport type GetRecordingPropertiesOptions = OperationOptions;\n\n/**\n * Options to resume recording.\n */\nexport type ResumeRecordingOptions = OperationOptions;\n\n/**\n * Options to delete recording.\n */\nexport type DeleteRecordingOptions = OperationOptions;\n\n/**\n * Options to download recording.\n */\nexport interface DownloadRecordingOptions extends OperationOptions {\n /** Offset byte to start download from. */\n offset?: number;\n /** Max content length in bytes. */\n length?: number;\n}\n\n/**\n * Options to continuous Dtmf recognition.\n */\nexport interface ContinuousDtmfRecognitionOptions extends OperationOptions {\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to send Dtmf tones.\n */\nexport interface SendDtmfTonesOptions extends OperationOptions {\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/** Options for cancelling add participant request. */\nexport interface CancelAddParticipantOperationOptions extends OperationOptions {\n /** The value to identify context of the operation. */\n operationContext?: string;\n /**\n * Set a callback URL that overrides the default callback URL set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to start transcription\n */\nexport interface StartTranscriptionOptions extends OperationOptions {\n /** Defines Locale for the transcription e,g en-US */\n locale?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n}\n\n/**\n * Options to stop transcription\n */\nexport interface StopTranscriptionOptions extends OperationOptions {\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\n/**\n * Options to hold participant.\n */\nexport interface HoldOptions extends OperationOptions {\n /** A PlaySource representing the source to play. */\n playSource?: FileSource | TextSource | SsmlSource;\n /** Operation Context. */\n operationContext?: string;\n /** Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. */\n operationCallbackUrl?: string;\n}\n\n/**\n * Options to Unhold participant.\n */\nexport interface UnholdOptions extends OperationOptions {\n /** Operation Context. */\n operationContext?: string;\n}\n\n/**\n * Options to Connect request.\n */\nexport interface ConnectCallOptions extends OperationOptions {\n /** Used by customers to correlate the request to the response event. */\n operationContext?: string;\n /** AI options for the call. */\n callIntelligenceOptions?: CallIntelligenceOptions;\n /** Options for Media streaming. */\n mediaStreamingOptions?: MediaStreamingOptions;\n /** Options for live transcription. */\n transcriptionOptions?: TranscriptionOptions;\n}\n\n/** Options for start media streaming request. */\nexport interface StartMediaStreamingOptions extends OperationOptions {\n /**\n * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\n/** Options for stop media streaming request. */\nexport interface StopMediaStreamingOptions extends OperationOptions {\n /**\n * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.\n * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.\n */\n operationCallbackUrl?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n\n/**\n * Options to update transcription\n */\nexport interface UpdateTranscriptionOptions extends OperationOptions {\n /** Endpoint where the custom model was deployed. */\n speechRecognitionModelEndpointId?: string;\n /** The value to identify context of the operation. */\n operationContext?: string;\n}\n"]}