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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/README.md +3 -1
  2. package/dist/browser/callAutomationClient.d.ts +2 -3
  3. package/dist/browser/callAutomationClient.d.ts.map +1 -1
  4. package/dist/browser/callAutomationClient.js +79 -31
  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 +9 -10
  8. package/dist/browser/callAutomationEventParser.js.map +1 -1
  9. package/dist/browser/callConnection.d.ts +1 -1
  10. package/dist/browser/callConnection.d.ts.map +1 -1
  11. package/dist/browser/callConnection.js +82 -38
  12. package/dist/browser/callConnection.js.map +1 -1
  13. package/dist/browser/callMedia.d.ts +1 -1
  14. package/dist/browser/callMedia.d.ts.map +1 -1
  15. package/dist/browser/callMedia.js +33 -12
  16. package/dist/browser/callMedia.js.map +1 -1
  17. package/dist/browser/callRecording.js +11 -6
  18. package/dist/browser/callRecording.js.map +1 -1
  19. package/dist/browser/contentDownloader.js +11 -12
  20. package/dist/browser/contentDownloader.js.map +1 -1
  21. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
  22. package/dist/browser/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  23. package/dist/browser/credential/callAutomationAuthPolicy.js +1 -1
  24. package/dist/browser/credential/callAutomationAuthPolicy.js.map +1 -1
  25. package/dist/browser/credential/cryptoUtils-browser.mjs.map +1 -1
  26. package/dist/browser/credential/cryptoUtils.js +1 -2
  27. package/dist/browser/generated/src/callAutomationApiClient.js +14 -5
  28. package/dist/browser/generated/src/callAutomationApiClient.js.map +1 -1
  29. package/dist/browser/generated/src/models/index.d.ts +305 -322
  30. package/dist/browser/generated/src/models/index.d.ts.map +1 -1
  31. package/dist/browser/generated/src/models/index.js +29 -35
  32. package/dist/browser/generated/src/models/index.js.map +1 -1
  33. package/dist/browser/generated/src/models/mappers.d.ts +41 -34
  34. package/dist/browser/generated/src/models/mappers.d.ts.map +1 -1
  35. package/dist/browser/generated/src/models/mappers.js +481 -462
  36. package/dist/browser/generated/src/models/mappers.js.map +1 -1
  37. package/dist/browser/generated/src/models/parameters.js +1 -1
  38. package/dist/browser/generated/src/models/parameters.js.map +1 -1
  39. package/dist/browser/generated/src/operations/callConnection.js +23 -40
  40. package/dist/browser/generated/src/operations/callConnection.js.map +1 -1
  41. package/dist/browser/generated/src/operations/callMedia.js +1 -0
  42. package/dist/browser/generated/src/operations/callMedia.js.map +1 -1
  43. package/dist/browser/generated/src/operations/callRecording.js +1 -0
  44. package/dist/browser/generated/src/operations/callRecording.js.map +1 -1
  45. package/dist/browser/generated/src/pagingHelper.js +2 -4
  46. package/dist/browser/generated/src/pagingHelper.js.map +1 -1
  47. package/dist/browser/models/constants.d.ts.map +1 -1
  48. package/dist/browser/models/constants.js +1 -1
  49. package/dist/browser/models/constants.js.map +1 -1
  50. package/dist/browser/models/events.d.ts +295 -209
  51. package/dist/browser/models/events.d.ts.map +1 -1
  52. package/dist/browser/models/events.js.map +1 -1
  53. package/dist/browser/models/models.d.ts +44 -4
  54. package/dist/browser/models/models.d.ts.map +1 -1
  55. package/dist/browser/models/models.js +1 -1
  56. package/dist/browser/models/models.js.map +1 -1
  57. package/dist/browser/models/options.d.ts +17 -0
  58. package/dist/browser/models/options.d.ts.map +1 -1
  59. package/dist/browser/models/options.js.map +1 -1
  60. package/dist/browser/models/responses.d.ts +1 -1
  61. package/dist/browser/models/responses.d.ts.map +1 -1
  62. package/dist/browser/models/responses.js.map +1 -1
  63. package/dist/browser/models/streaming.d.ts +26 -27
  64. package/dist/browser/models/streaming.d.ts.map +1 -1
  65. package/dist/browser/models/streaming.js +28 -57
  66. package/dist/browser/models/streaming.js.map +1 -1
  67. package/dist/browser/streamingData.d.ts.map +1 -1
  68. package/dist/browser/streamingData.js +10 -1
  69. package/dist/browser/streamingData.js.map +1 -1
  70. package/dist/browser/utli/converters.d.ts.map +1 -1
  71. package/dist/browser/utli/converters.js +30 -9
  72. package/dist/browser/utli/converters.js.map +1 -1
  73. package/dist/commonjs/callAutomationClient.d.ts +2 -3
  74. package/dist/commonjs/callAutomationClient.d.ts.map +1 -1
  75. package/dist/commonjs/callAutomationClient.js +79 -31
  76. package/dist/commonjs/callAutomationClient.js.map +1 -1
  77. package/dist/commonjs/callAutomationEventParser.d.ts.map +1 -1
  78. package/dist/commonjs/callAutomationEventParser.js +9 -10
  79. package/dist/commonjs/callAutomationEventParser.js.map +1 -1
  80. package/dist/commonjs/callConnection.d.ts +1 -1
  81. package/dist/commonjs/callConnection.d.ts.map +1 -1
  82. package/dist/commonjs/callConnection.js +82 -38
  83. package/dist/commonjs/callConnection.js.map +1 -1
  84. package/dist/commonjs/callMedia.d.ts +1 -1
  85. package/dist/commonjs/callMedia.d.ts.map +1 -1
  86. package/dist/commonjs/callMedia.js +42 -21
  87. package/dist/commonjs/callMedia.js.map +1 -1
  88. package/dist/commonjs/callRecording.js +12 -7
  89. package/dist/commonjs/callRecording.js.map +1 -1
  90. package/dist/commonjs/contentDownloader.js +11 -12
  91. package/dist/commonjs/contentDownloader.js.map +1 -1
  92. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
  93. package/dist/commonjs/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  94. package/dist/commonjs/credential/callAutomationAuthPolicy.js +1 -1
  95. package/dist/commonjs/credential/callAutomationAuthPolicy.js.map +1 -1
  96. package/dist/commonjs/generated/src/callAutomationApiClient.js +14 -5
  97. package/dist/commonjs/generated/src/callAutomationApiClient.js.map +1 -1
  98. package/dist/commonjs/generated/src/models/index.d.ts +305 -322
  99. package/dist/commonjs/generated/src/models/index.d.ts.map +1 -1
  100. package/dist/commonjs/generated/src/models/index.js +30 -36
  101. package/dist/commonjs/generated/src/models/index.js.map +1 -1
  102. package/dist/commonjs/generated/src/models/mappers.d.ts +41 -34
  103. package/dist/commonjs/generated/src/models/mappers.d.ts.map +1 -1
  104. package/dist/commonjs/generated/src/models/mappers.js +484 -465
  105. package/dist/commonjs/generated/src/models/mappers.js.map +1 -1
  106. package/dist/commonjs/generated/src/models/parameters.js +1 -1
  107. package/dist/commonjs/generated/src/models/parameters.js.map +1 -1
  108. package/dist/commonjs/generated/src/operations/callConnection.js +23 -39
  109. package/dist/commonjs/generated/src/operations/callConnection.js.map +1 -1
  110. package/dist/commonjs/generated/src/operations/callMedia.js +1 -0
  111. package/dist/commonjs/generated/src/operations/callMedia.js.map +1 -1
  112. package/dist/commonjs/generated/src/operations/callRecording.js +1 -0
  113. package/dist/commonjs/generated/src/operations/callRecording.js.map +1 -1
  114. package/dist/commonjs/generated/src/pagingHelper.js +2 -4
  115. package/dist/commonjs/generated/src/pagingHelper.js.map +1 -1
  116. package/dist/commonjs/models/constants.d.ts.map +1 -1
  117. package/dist/commonjs/models/constants.js +1 -1
  118. package/dist/commonjs/models/constants.js.map +1 -1
  119. package/dist/commonjs/models/events.d.ts +295 -209
  120. package/dist/commonjs/models/events.d.ts.map +1 -1
  121. package/dist/commonjs/models/events.js.map +1 -1
  122. package/dist/commonjs/models/models.d.ts +44 -4
  123. package/dist/commonjs/models/models.d.ts.map +1 -1
  124. package/dist/commonjs/models/models.js +2 -16
  125. package/dist/commonjs/models/models.js.map +1 -1
  126. package/dist/commonjs/models/options.d.ts +17 -0
  127. package/dist/commonjs/models/options.d.ts.map +1 -1
  128. package/dist/commonjs/models/options.js.map +1 -1
  129. package/dist/commonjs/models/responses.d.ts +1 -1
  130. package/dist/commonjs/models/responses.d.ts.map +1 -1
  131. package/dist/commonjs/models/responses.js.map +1 -1
  132. package/dist/commonjs/models/streaming.d.ts +26 -27
  133. package/dist/commonjs/models/streaming.d.ts.map +1 -1
  134. package/dist/commonjs/models/streaming.js +31 -59
  135. package/dist/commonjs/models/streaming.js.map +1 -1
  136. package/dist/commonjs/streamingData.d.ts.map +1 -1
  137. package/dist/commonjs/streamingData.js +10 -1
  138. package/dist/commonjs/streamingData.js.map +1 -1
  139. package/dist/commonjs/tsdoc-metadata.json +11 -11
  140. package/dist/commonjs/utli/converters.d.ts.map +1 -1
  141. package/dist/commonjs/utli/converters.js +30 -9
  142. package/dist/commonjs/utli/converters.js.map +1 -1
  143. package/dist/esm/callAutomationClient.d.ts +2 -3
  144. package/dist/esm/callAutomationClient.d.ts.map +1 -1
  145. package/dist/esm/callAutomationClient.js +79 -31
  146. package/dist/esm/callAutomationClient.js.map +1 -1
  147. package/dist/esm/callAutomationEventParser.d.ts.map +1 -1
  148. package/dist/esm/callAutomationEventParser.js +9 -10
  149. package/dist/esm/callAutomationEventParser.js.map +1 -1
  150. package/dist/esm/callConnection.d.ts +1 -1
  151. package/dist/esm/callConnection.d.ts.map +1 -1
  152. package/dist/esm/callConnection.js +82 -38
  153. package/dist/esm/callConnection.js.map +1 -1
  154. package/dist/esm/callMedia.d.ts +1 -1
  155. package/dist/esm/callMedia.d.ts.map +1 -1
  156. package/dist/esm/callMedia.js +33 -12
  157. package/dist/esm/callMedia.js.map +1 -1
  158. package/dist/esm/callRecording.js +11 -6
  159. package/dist/esm/callRecording.js.map +1 -1
  160. package/dist/esm/contentDownloader.js +11 -12
  161. package/dist/esm/contentDownloader.js.map +1 -1
  162. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
  163. package/dist/esm/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  164. package/dist/esm/credential/callAutomationAuthPolicy.js +1 -1
  165. package/dist/esm/credential/callAutomationAuthPolicy.js.map +1 -1
  166. package/dist/esm/generated/src/callAutomationApiClient.js +14 -5
  167. package/dist/esm/generated/src/callAutomationApiClient.js.map +1 -1
  168. package/dist/esm/generated/src/models/index.d.ts +305 -322
  169. package/dist/esm/generated/src/models/index.d.ts.map +1 -1
  170. package/dist/esm/generated/src/models/index.js +29 -35
  171. package/dist/esm/generated/src/models/index.js.map +1 -1
  172. package/dist/esm/generated/src/models/mappers.d.ts +41 -34
  173. package/dist/esm/generated/src/models/mappers.d.ts.map +1 -1
  174. package/dist/esm/generated/src/models/mappers.js +481 -462
  175. package/dist/esm/generated/src/models/mappers.js.map +1 -1
  176. package/dist/esm/generated/src/models/parameters.js +1 -1
  177. package/dist/esm/generated/src/models/parameters.js.map +1 -1
  178. package/dist/esm/generated/src/operations/callConnection.js +23 -40
  179. package/dist/esm/generated/src/operations/callConnection.js.map +1 -1
  180. package/dist/esm/generated/src/operations/callMedia.js +1 -0
  181. package/dist/esm/generated/src/operations/callMedia.js.map +1 -1
  182. package/dist/esm/generated/src/operations/callRecording.js +1 -0
  183. package/dist/esm/generated/src/operations/callRecording.js.map +1 -1
  184. package/dist/esm/generated/src/pagingHelper.js +2 -4
  185. package/dist/esm/generated/src/pagingHelper.js.map +1 -1
  186. package/dist/esm/models/constants.d.ts.map +1 -1
  187. package/dist/esm/models/constants.js +1 -1
  188. package/dist/esm/models/constants.js.map +1 -1
  189. package/dist/esm/models/events.d.ts +295 -209
  190. package/dist/esm/models/events.d.ts.map +1 -1
  191. package/dist/esm/models/events.js.map +1 -1
  192. package/dist/esm/models/models.d.ts +44 -4
  193. package/dist/esm/models/models.d.ts.map +1 -1
  194. package/dist/esm/models/models.js +1 -1
  195. package/dist/esm/models/models.js.map +1 -1
  196. package/dist/esm/models/options.d.ts +17 -0
  197. package/dist/esm/models/options.d.ts.map +1 -1
  198. package/dist/esm/models/options.js.map +1 -1
  199. package/dist/esm/models/responses.d.ts +1 -1
  200. package/dist/esm/models/responses.d.ts.map +1 -1
  201. package/dist/esm/models/responses.js.map +1 -1
  202. package/dist/esm/models/streaming.d.ts +26 -27
  203. package/dist/esm/models/streaming.d.ts.map +1 -1
  204. package/dist/esm/models/streaming.js +28 -57
  205. package/dist/esm/models/streaming.js.map +1 -1
  206. package/dist/esm/streamingData.d.ts.map +1 -1
  207. package/dist/esm/streamingData.js +10 -1
  208. package/dist/esm/streamingData.js.map +1 -1
  209. package/dist/esm/utli/converters.d.ts.map +1 -1
  210. package/dist/esm/utli/converters.js +30 -9
  211. package/dist/esm/utli/converters.js.map +1 -1
  212. package/dist/react-native/callAutomationClient.d.ts +2 -3
  213. package/dist/react-native/callAutomationClient.d.ts.map +1 -1
  214. package/dist/react-native/callAutomationClient.js +79 -31
  215. package/dist/react-native/callAutomationClient.js.map +1 -1
  216. package/dist/react-native/callAutomationEventParser.d.ts.map +1 -1
  217. package/dist/react-native/callAutomationEventParser.js +9 -10
  218. package/dist/react-native/callAutomationEventParser.js.map +1 -1
  219. package/dist/react-native/callConnection.d.ts +1 -1
  220. package/dist/react-native/callConnection.d.ts.map +1 -1
  221. package/dist/react-native/callConnection.js +82 -38
  222. package/dist/react-native/callConnection.js.map +1 -1
  223. package/dist/react-native/callMedia.d.ts +1 -1
  224. package/dist/react-native/callMedia.d.ts.map +1 -1
  225. package/dist/react-native/callMedia.js +33 -12
  226. package/dist/react-native/callMedia.js.map +1 -1
  227. package/dist/react-native/callRecording.js +11 -6
  228. package/dist/react-native/callRecording.js.map +1 -1
  229. package/dist/react-native/contentDownloader.js +11 -12
  230. package/dist/react-native/contentDownloader.js.map +1 -1
  231. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js +1 -2
  232. package/dist/react-native/credential/callAutomationAccessKeyCredentialPolicy.js.map +1 -1
  233. package/dist/react-native/credential/callAutomationAuthPolicy.js +1 -1
  234. package/dist/react-native/credential/callAutomationAuthPolicy.js.map +1 -1
  235. package/dist/react-native/generated/src/callAutomationApiClient.js +14 -5
  236. package/dist/react-native/generated/src/callAutomationApiClient.js.map +1 -1
  237. package/dist/react-native/generated/src/models/index.d.ts +305 -322
  238. package/dist/react-native/generated/src/models/index.d.ts.map +1 -1
  239. package/dist/react-native/generated/src/models/index.js +29 -35
  240. package/dist/react-native/generated/src/models/index.js.map +1 -1
  241. package/dist/react-native/generated/src/models/mappers.d.ts +41 -34
  242. package/dist/react-native/generated/src/models/mappers.d.ts.map +1 -1
  243. package/dist/react-native/generated/src/models/mappers.js +481 -462
  244. package/dist/react-native/generated/src/models/mappers.js.map +1 -1
  245. package/dist/react-native/generated/src/models/parameters.js +1 -1
  246. package/dist/react-native/generated/src/models/parameters.js.map +1 -1
  247. package/dist/react-native/generated/src/operations/callConnection.js +23 -40
  248. package/dist/react-native/generated/src/operations/callConnection.js.map +1 -1
  249. package/dist/react-native/generated/src/operations/callMedia.js +1 -0
  250. package/dist/react-native/generated/src/operations/callMedia.js.map +1 -1
  251. package/dist/react-native/generated/src/operations/callRecording.js +1 -0
  252. package/dist/react-native/generated/src/operations/callRecording.js.map +1 -1
  253. package/dist/react-native/generated/src/pagingHelper.js +2 -4
  254. package/dist/react-native/generated/src/pagingHelper.js.map +1 -1
  255. package/dist/react-native/models/constants.d.ts.map +1 -1
  256. package/dist/react-native/models/constants.js +1 -1
  257. package/dist/react-native/models/constants.js.map +1 -1
  258. package/dist/react-native/models/events.d.ts +295 -209
  259. package/dist/react-native/models/events.d.ts.map +1 -1
  260. package/dist/react-native/models/events.js.map +1 -1
  261. package/dist/react-native/models/models.d.ts +44 -4
  262. package/dist/react-native/models/models.d.ts.map +1 -1
  263. package/dist/react-native/models/models.js +1 -1
  264. package/dist/react-native/models/models.js.map +1 -1
  265. package/dist/react-native/models/options.d.ts +17 -0
  266. package/dist/react-native/models/options.d.ts.map +1 -1
  267. package/dist/react-native/models/options.js.map +1 -1
  268. package/dist/react-native/models/responses.d.ts +1 -1
  269. package/dist/react-native/models/responses.d.ts.map +1 -1
  270. package/dist/react-native/models/responses.js.map +1 -1
  271. package/dist/react-native/models/streaming.d.ts +26 -27
  272. package/dist/react-native/models/streaming.d.ts.map +1 -1
  273. package/dist/react-native/models/streaming.js +28 -57
  274. package/dist/react-native/models/streaming.js.map +1 -1
  275. package/dist/react-native/streamingData.d.ts.map +1 -1
  276. package/dist/react-native/streamingData.js +10 -1
  277. package/dist/react-native/streamingData.js.map +1 -1
  278. package/dist/react-native/utli/converters.d.ts.map +1 -1
  279. package/dist/react-native/utli/converters.js +30 -9
  280. package/dist/react-native/utli/converters.js.map +1 -1
  281. package/package.json +37 -44
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/models/events.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAE3E,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,UAAU,EACV,eAAe,EACf,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAEzF,0CAA0C;AAC1C,MAAM,MAAM,mBAAmB,GAC3B,uBAAuB,GACvB,oBAAoB,GACpB,0BAA0B,GAC1B,uBAAuB,GACvB,aAAa,GACb,gBAAgB,GAChB,oBAAoB,GACpB,kBAAkB,GAClB,mBAAmB,GACnB,qBAAqB,GACrB,WAAW,GACX,aAAa,GACb,UAAU,GACV,YAAY,GACZ,kBAAkB,GAClB,iBAAiB,GACjB,eAAe,GACf,qCAAqC,GACrC,mCAAmC,GACnC,gCAAgC,GAChC,sBAAsB,GACtB,mBAAmB,GACnB,6BAA6B,GAC7B,0BAA0B,GAC1B,aAAa,GACb,oBAAoB,GACpB,oBAAoB,GACpB,oBAAoB,GACpB,mBAAmB,GACnB,UAAU,GACV,qBAAqB,GACrB,qBAAqB,GACrB,oBAAoB,GACpB,gBAAgB,GAChB,YAAY,GACZ,oBAAoB,GACpB,YAAY,CAAC;AAEjB,MAAM,WAAW,iBAAiB;IAChC,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,gDAAgD;AAChD,MAAM,WAAW,uBAAuB;IACtC,0BAA0B;IAC1B,gBAA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AC;IACtC,0BAA0B;IAC1B,IAAI,EAAE,cAAc,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/models/events.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommunicationIdentifier } from \"@azure/communication-common\";\n\nimport {\n Tone,\n ChoiceResult,\n DtmfResult,\n RecognitionType,\n SpeechResult,\n RecordingKind,\n MediaStreamingUpdate,\n TranscriptionUpdate,\n} from \"../generated/src/models/index.js\";\n\nimport type { CallParticipant, RecordingState, CustomCallingContext } from \"./models.js\";\n\n/** Callback events for Call Automation */\nexport type CallAutomationEvent =\n | AddParticipantSucceeded\n | AddParticipantFailed\n | RemoveParticipantSucceeded\n | RemoveParticipantFailed\n | CallConnected\n | CallDisconnected\n | CallTransferAccepted\n | CallTransferFailed\n | ParticipantsUpdated\n | RecordingStateChanged\n | PlayStarted\n | PlayCompleted\n | PlayFailed\n | PlayCanceled\n | RecognizeCompleted\n | RecognizeCanceled\n | RecognizeFailed\n | ContinuousDtmfRecognitionToneReceived\n | ContinuousDtmfRecognitionToneFailed\n | ContinuousDtmfRecognitionStopped\n | SendDtmfTonesCompleted\n | SendDtmfTonesFailed\n | CancelAddParticipantSucceeded\n | CancelAddParticipantFailed\n | ConnectFailed\n | TranscriptionStarted\n | TranscriptionStopped\n | TranscriptionUpdated\n | TranscriptionFailed\n | HoldFailed\n | MediaStreamingStarted\n | MediaStreamingStopped\n | MediaStreamingFailed\n | CreateCallFailed\n | AnswerFailed\n | StartRecordingFailed\n | IncomingCall;\n\nexport interface ResultInformation {\n /** The error code. */\n code: number;\n /** The sub code of error. */\n subCode: number;\n /** The detailed message of the error. */\n message: string;\n}\n\n/** The participant successfully added event. */\nexport interface AddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantSucceeded\";\n}\n\n/** The failed to add participant event. */\nexport interface AddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"AddParticipantFailed\";\n}\n\n/** The participant successfully removed event. */\nexport interface RemoveParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantSucceeded\";\n}\n\n/** The failed to remove participant event. */\nexport interface RemoveParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The participant in the call. */\n participant?: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"RemoveParticipantFailed\";\n}\n\n/** Event when call was established. */\nexport interface CallConnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallConnected\";\n}\n\n/** Event when call was initiated. */\nexport interface IncomingCall {\n /** Call connection ID. */\n callConnectionId: string;\n /** The communication identifier of the target user.*/\n to?: CommunicationIdentifier;\n /** The communication identifier of the user who initiated the call.*/\n from?: CommunicationIdentifier;\n /** Display name of caller.*/\n callerDisplayName?: string;\n /** Custom Context of Incoming Call */\n customContext?: CustomCallingContext;\n /** Incoming call context.*/\n incomingCallContext?: string;\n /** The communication identifier of the user on behalf of whom the call is made.*/\n onBehalfOfCallee?: CommunicationIdentifier;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"IncomingCall\";\n}\n\n/** Event when all participants left and call was terminated. */\nexport interface CallDisconnected {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallDisconnected\";\n}\n\n/** Event when transfer request was successful. */\nexport interface CallTransferAccepted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Participant that was transferred away */\n transferee: CommunicationIdentifier;\n /** Target that transferee is transferred to */\n transferTarget: CommunicationIdentifier;\n /** kind of this event. */\n kind: \"CallTransferAccepted\";\n}\n\n/** Event when transfer request was failed. */\nexport interface CallTransferFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallTransferFailed\";\n}\n\n/** Event when there was an update to participant(s). */\nexport interface ParticipantsUpdated {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** The Sequence Number of the event */\n sequenceNumber?: number;\n /** The list of participants in the call. */\n participants: CallParticipant[];\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ParticipantsUpdated\";\n}\n\n/** Event when Recording state has been changed. */\nexport interface RecordingStateChanged {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording id. */\n recordingId?: string;\n state?: RecordingState;\n /** The time of the recording started. */\n startDateTime?: Date;\n recordingKind?: RecordingKind;\n /** kind of this event. */\n kind: \"RecordingStateChanged\";\n}\n\n/** Event when Media play was successfully started. */\nexport interface PlayStarted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayStarted\";\n}\n\n/** Event when Media play was successfully completed. */\nexport interface PlayCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** kind of this event. */\n kind: \"PlayCompleted\";\n}\n\n/** Event when Media play was failed. */\nexport interface PlayFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"PlayFailed\";\n}\n\n/** Event when Media play was canceled by Cancel operation. */\nexport interface PlayCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"PlayCanceled\";\n}\n\n/** Event when Media recognize was successfully completed. */\nexport interface RecognizeCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /**\n * Determines the sub-type of the recognize operation.\n * In case of cancel operation the this field is not set and is returned empty\n */\n recognitionType?: RecognitionType;\n /** Defines the result for RecognitionType = Dtmf */\n dtmfResult?: DtmfResult;\n /** Defines the result for RecognitionType = Choices */\n choiceResult?: ChoiceResult;\n /** Defines the result for RecognitionType = Speech and SpeechOrDtmf */\n speechResult?: SpeechResult;\n /** kind of this event. */\n kind: \"RecognizeCompleted\";\n}\n\n/** Event when Media recognize was failed. */\nexport interface RecognizeFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the index of the failed play source. */\n failedPlaySourceIndex?: number;\n /** kind of this event. */\n kind: \"RecognizeFailed\";\n}\n\n/** Event when Media recognize was canceled by Cancel operation. */\nexport interface RecognizeCanceled {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"RecognizeCanceled\";\n}\n\n/** Event sent when Dtmf tone received from targeted participant in call. */\nexport interface ContinuousDtmfRecognitionToneReceived {\n /** The sequence id which can be used to determine if the same tone was played multiple times or if any tones were missed. */\n sequenceId: number;\n /** Defines values for Tone. */\n tone: Tone;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId or skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneReceived\";\n}\n\n/** Event sent when failed to recognize continuous Dtmf tone. */\nexport interface ContinuousDtmfRecognitionToneFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionToneFailed\";\n}\n\n/** Event sent when continuous Dtmf recognition stopped. */\nexport interface ContinuousDtmfRecognitionStopped {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ContinuousDtmfRecognitionStopped\";\n}\n\n/** Event sent when Dtmf tones send successfully. */\nexport interface SendDtmfTonesCompleted {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesCompleted\";\n}\n\n/** Event sent when Dtmf tones send failed. */\nexport interface SendDtmfTonesFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesFailed\";\n}\n\n/** Successful cancel add participant event. */\nexport interface CancelAddParticipantSucceeded {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CancelAddParticipantSucceeded\";\n}\n\n/** The failed to cancel add participant event. */\nexport interface CancelAddParticipantFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CancelAddParticipantFailed\";\n}\n\nexport interface TranscriptionStarted {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStarted\";\n}\n\nexport interface TranscriptionStopped {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStopped\";\n}\n\nexport interface TranscriptionUpdated {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionUpdated\";\n}\n\nexport interface TranscriptionFailed {\n /** Defines the result for TranscriptionUpdate with the current status and the details about the status */\n transcriptionUpdate?: TranscriptionUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionFailed\";\n}\n\nexport interface CreateCallFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CreateCallFailed\";\n}\n\nexport interface AnswerFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"AnswerFailed\";\n}\n\nexport interface HoldFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"HoldFailed\";\n}\n\nexport interface ConnectFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"ConnectFailed\";\n}\n\nexport interface MediaStreamingStarted {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status. */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStarted\";\n}\n\nexport interface MediaStreamingStopped {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status. */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingStopped\";\n}\n\nexport interface MediaStreamingFailed {\n /** Defines the result for MediaStreamingUpdate with the current status and the details about the status. */\n mediaStreamingUpdate?: MediaStreamingUpdate;\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"MediaStreamingFailed\";\n}\n\nexport interface StartRecordingFailed {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** Use this to correlate the request to the response event. */\n operationContext?: string;\n /** Contains the resulting SIP code, sub-code and message. */\n resultInformation?: ResultInformation;\n /** The call recording Id. */\n recordingId?: string;\n /** kind of this event. */\n kind: \"StartRecordingFailed\";\n}\n"]}
1
+ {"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/models/events.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CommunicationIdentifier } from \"@azure/communication-common\";\n\nimport {\n AddParticipantSucceeded as RestAddParticipantSucceeded,\n AddParticipantFailed as RestAddParticipantFailed,\n RemoveParticipantSucceeded as RestRemoveParticipantSucceeded,\n RemoveParticipantFailed as RestRemoveParticipantFailed,\n CallConnected as RestCallConnected,\n CallDisconnected as RestCallDisconnected,\n CallTransferAccepted as RestCallTransferAccepted,\n CallTransferFailed as RestCallTransferFailed,\n ParticipantsUpdated as RestParticipantsUpdated,\n RecordingStateChanged as RestRecordingStateChanged,\n PlayStarted as RestPlayStarted,\n PlayCompleted as RestPlayCompleted,\n PlayFailed as RestPlayFailed,\n PlayCanceled as RestPlayCanceled,\n RecognizeCompleted as RestRecognizeCompleted,\n RecognizeFailed as RestRecognizeFailed,\n RecognizeCanceled as RestRecognizeCanceled,\n ResultInformation as RestResultInformation,\n ContinuousDtmfRecognitionToneReceived as RestContinuousDtmfRecognitionToneReceived,\n ContinuousDtmfRecognitionToneFailed as RestContinuousDtmfRecognitionToneFailed,\n ContinuousDtmfRecognitionStopped as RestContinuousDtmfRecognitionStopped,\n SendDtmfTonesCompleted as RestSendDtmfTonesCompleted,\n SendDtmfTonesFailed as RestSendDtmfTonesFailed,\n Tone,\n CancelAddParticipantSucceeded as RestCancelAddParticipantSucceeded,\n CancelAddParticipantFailed as RestCancelAddParticipantFailed,\n ConnectFailed as RestConnectFailed,\n HoldFailed as RestHoldFailed,\n AnswerFailed as RestAnswerFailed,\n CreateCallFailed as RestCreateCallFailed,\n TranscriptionStarted as RestTranscriptionStarted,\n TranscriptionStopped as RestTranscriptionStopped,\n TranscriptionUpdated as RestTranscriptionUpdated,\n TranscriptionFailed as RestTranscriptionFailed,\n MediaStreamingStarted as RestMediaStreamingStarted,\n MediaStreamingStopped as RestMediaStreamingStopped,\n MediaStreamingFailed as RestMediaStreamingFailed,\n} from \"../generated/src/models/index.js\";\n\nimport type { CallParticipant } 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 | PlayStarted\n | StartRecordingFailed;\nexport {\n RestAddParticipantSucceeded,\n RestAddParticipantFailed,\n RestRemoveParticipantSucceeded,\n RestRemoveParticipantFailed,\n RestCallConnected,\n RestCallDisconnected,\n RestCallTransferAccepted,\n RestCallTransferFailed,\n RestParticipantsUpdated,\n RestRecordingStateChanged,\n RestPlayStarted,\n RestPlayCompleted,\n RestPlayFailed,\n RestPlayCanceled,\n RestRecognizeCompleted,\n RestRecognizeFailed,\n RestRecognizeCanceled,\n RestResultInformation,\n RestContinuousDtmfRecognitionToneReceived,\n RestContinuousDtmfRecognitionToneFailed,\n RestContinuousDtmfRecognitionStopped,\n RestSendDtmfTonesCompleted,\n RestSendDtmfTonesFailed,\n RestCancelAddParticipantSucceeded,\n RestCancelAddParticipantFailed,\n RestConnectFailed,\n RestTranscriptionStarted,\n RestTranscriptionStopped,\n RestTranscriptionUpdated,\n RestTranscriptionFailed,\n RestHoldFailed,\n RestMediaStreamingStarted,\n RestMediaStreamingStopped,\n RestMediaStreamingFailed,\n RestCreateCallFailed,\n RestAnswerFailed,\n};\nexport interface ResultInformation\n /**\n * @deprecated RestResultInformation is deprecated.\n * Use ResultInformation instead.\n */\n extends Omit<RestResultInformation, \"code\" | \"subCode\" | \"message\"> {\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 /**\n * @deprecated RestAddParticipantSucceeded is deprecated.\n * Use AddParticipantSucceeded instead.\n */\n extends Omit<\n RestAddParticipantSucceeded,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"participant\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestAddParticipantFailed is deprecated.\n * Use AddParticipantFailed instead.\n */\n extends Omit<\n RestAddParticipantFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"participant\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestRemoveParticipantSucceeded is deprecated.\n * Use RemoveParticipantSucceeded instead.\n */\n extends Omit<\n RestRemoveParticipantSucceeded,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"participant\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestRemoveParticipantFailed is deprecated.\n * Use RemoveParticipantFailed instead.\n */\n extends Omit<\n RestRemoveParticipantFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"participant\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestCallConnected is deprecated.\n * Use CallConnected instead.\n */\n extends Omit<\n RestCallConnected,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallConnected\";\n}\n\n/** Event when all participants left and call was terminated. */\nexport interface CallDisconnected\n /**\n * @deprecated RestCallDisconnected is deprecated.\n * Use CallDisconnected instead.\n */\n extends Omit<\n RestCallDisconnected,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CallDisconnected\";\n}\n\n/** Event when transfer request was successful. */\nexport interface CallTransferAccepted\n /**\n * @deprecated RestCallTransferAccepted is deprecated.\n * Use CallTransferAccepted instead.\n */\n extends Omit<\n RestCallTransferAccepted,\n | \"callConnectionId\"\n | \"serverCallId\"\n | \"correlationId\"\n | \"resultInformation\"\n | \"transferee\"\n | \"transferTarget\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestCallTransferFailed is deprecated.\n * Use CallTransferFailed instead.\n */\n extends Omit<\n RestCallTransferFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestParticipantsUpdated is deprecated.\n * Use ParticipantsUpdated instead.\n */\n extends Omit<\n RestParticipantsUpdated,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"participants\" | \"resultInformation\"\n > {\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 /** Contains the resulting SIP code/sub-code and message from NGC services. */\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 /**\n * @deprecated RestRecordingStateChanged is deprecated.\n * Use RecordingStateChanged instead.\n */\n extends Omit<\n RestRecordingStateChanged,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"RecordingStateChanged\";\n}\n\n/** Event when StartRecording was failed. */\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 /**\n * @deprecated RestPlayStarted is deprecated.\n * Use PlayStarted instead.\n */\n extends Omit<\n RestPlayStarted,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 /** kind of this event. */\n kind: \"PlayStarted\";\n}\n\n/** Event when Media play was successfully completed. */\nexport interface PlayCompleted\n /**\n * @deprecated RestPlayCompleted is deprecated.\n * Use PlayCompleted instead.\n */\n extends Omit<\n RestPlayCompleted,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message from NGC services. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** kind of this event. */\n kind: \"PlayCompleted\";\n}\n\n/** Event when Media play was failed. */\nexport interface PlayFailed\n /**\n * @deprecated RestPlayFailed is deprecated.\n * Use PlayFailed instead.\n */\n extends Omit<\n RestPlayFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message from NGC services. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** kind of this event. */\n kind: \"PlayFailed\";\n}\n\n/** Event when Media play was canceled by Cancel operation. */\nexport interface PlayCanceled\n /**\n * @deprecated RestPlayCanceled is deprecated.\n * Use PlayCanceled instead.\n */\n extends Omit<\n RestPlayCanceled,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestRecognizeCompleted is deprecated.\n * Use RecognizeCompleted instead.\n */\n extends Omit<\n RestRecognizeCompleted,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message from NGC services. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** kind of this event. */\n kind: \"RecognizeCompleted\";\n}\n\n/** Event when Media recognize was failed. */\nexport interface RecognizeFailed\n /**\n * @deprecated RestRecognizeFailed is deprecated.\n * Use RecognizeFailed instead.\n */\n extends Omit<\n RestRecognizeFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\n /** Call connection ID. */\n callConnectionId: string;\n /** Server call ID. */\n serverCallId: string;\n /** Contains the resulting SIP code/sub-code and message from NGC services. */\n resultInformation?: ResultInformation;\n /** Correlation ID for event to call correlation. Also called ChainId for skype chain ID. */\n correlationId: string;\n /** kind of this event. */\n kind: \"RecognizeFailed\";\n}\n\n/** Event when Media recognize was canceled by Cancel operation. */\nexport interface RecognizeCanceled\n /**\n * @deprecated RestRecognizeCanceled is deprecated.\n * Use RecognizeCanceled instead.\n */\n extends Omit<\n RestRecognizeCanceled,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestContinuousDtmfRecognitionToneReceived is deprecated.\n * Use ContinuousDtmfRecognitionToneReceived instead.\n */\n extends Omit<\n RestContinuousDtmfRecognitionToneReceived,\n | \"sequenceId\"\n | \"tone\"\n | \"callConnectionId\"\n | \"serverCallId\"\n | \"correlationId\"\n | \"resultInformation\"\n > {\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 /** Contains the resulting SIP code/sub-code and message from NGC services. */\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 /**\n * @deprecated RestContinuousDtmfRecognitionToneFailed is deprecated.\n * Use ContinuousDtmfRecognitionToneFailed instead.\n */\n extends Omit<\n RestContinuousDtmfRecognitionToneFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestContinuousDtmfRecognitionStopped is deprecated.\n * Use ContinuousDtmfRecognitionStopped instead.\n */\n extends Omit<\n RestContinuousDtmfRecognitionStopped,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestSendDtmfTonesCompleted is deprecated.\n * Use SendDtmfTonesCompleted instead.\n */\n extends Omit<\n RestSendDtmfTonesCompleted,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\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 /**\n * @deprecated RestSendDtmfTonesFailed is deprecated.\n * Use SendDtmfTonesFailed instead.\n */\n extends Omit<\n RestSendDtmfTonesFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 from NGC services. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"SendDtmfTonesFailed\";\n}\n\n/** Successful cancel add participant event. */\nexport interface CancelAddParticipantSucceeded\n /**\n * @deprecated RestCancelAddParticipantSucceeded is deprecated.\n * Use CancelAddParticipantSucceeded instead.\n */\n extends Omit<\n RestCancelAddParticipantSucceeded,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"invitationId\" | \"resultInformation\"\n > {\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 /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message from NGC services. */\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 /**\n * @deprecated RestCancelAddParticipantFailed is deprecated.\n * Use CancelAddParticipantFailed instead.\n */\n extends Omit<\n RestCancelAddParticipantFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"invitationId\" | \"resultInformation\"\n > {\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 /** Invitation ID used to cancel the add participant request. */\n invitationId: string;\n /** Contains the resulting SIP code/sub-code and message from NGC services. */\n resultInformation?: ResultInformation;\n /** kind of this event. */\n kind: \"CancelAddParticipantFailed\";\n}\n\nexport interface ConnectFailed\n /**\n * @deprecated RestConnectFailed is deprecated.\n * Use ConnectFailed instead.\n */\n extends Omit<\n RestConnectFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\n /** Call connection ID. */\n callConnectionId: 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 /** kind of this event. */\n kind: \"ConnectFailed\";\n}\n\nexport interface HoldFailed\n /**\n * @deprecated RestHoldFailed is deprecated.\n * Use HoldFailed instead.\n */\n extends Omit<\n RestHoldFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 /** kind of this event. */\n kind: \"HoldFailed\";\n}\n\nexport interface AnswerFailed\n /**\n * @deprecated RestAnswerFailed is deprecated.\n * Use AnswerFailed instead.\n */\n extends Omit<\n RestAnswerFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 /** kind of this event. */\n kind: \"AnswerFailed\";\n}\n\nexport interface CreateCallFailed\n /**\n * @deprecated RestCreateCallFailed is deprecated.\n * Use CreateCallFailed instead.\n */\n extends Omit<\n RestCreateCallFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 /** kind of this event. */\n kind: \"CreateCallFailed\";\n}\nexport interface TranscriptionStarted\n /**\n * @deprecated RestTranscriptionStarted is deprecated.\n * Use TranscriptionStarted instead.\n */\n extends Omit<\n RestTranscriptionStarted,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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?: RestResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStarted\";\n}\n\nexport interface TranscriptionStopped\n /**\n * @deprecated RestTranscriptionStopped is deprecated.\n * Use TranscriptionStopped instead.\n */\n extends Omit<\n RestTranscriptionStopped,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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?: RestResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionStopped\";\n}\n\nexport interface TranscriptionUpdated\n /**\n * @deprecated RestTranscriptionUpdated is deprecated.\n * Use TranscriptionUpdated instead.\n */\n extends Omit<\n RestTranscriptionUpdated,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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?: RestResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionUpdated\";\n}\n\nexport interface TranscriptionFailed\n /**\n * @deprecated RestTranscriptionFailed is deprecated.\n * Use TranscriptionFailed instead.\n */\n extends Omit<\n RestTranscriptionFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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?: RestResultInformation;\n /** kind of this event. */\n kind: \"TranscriptionFailed\";\n}\n\nexport interface MediaStreamingStarted\n /**\n * @deprecated RestMediaStreamingStarted is deprecated.\n * Use MediaStreamingStarted instead.\n */\n extends Omit<\n RestMediaStreamingStarted,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 /** kind of this event. */\n kind: \"MediaStreamingStarted\";\n}\n\nexport interface MediaStreamingStopped\n /**\n * @deprecated RestMediaStreamingStopped is deprecated.\n * Use MediaStreamingStopped instead.\n */\n extends Omit<\n RestMediaStreamingStopped,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 /** kind of this event. */\n kind: \"MediaStreamingStopped\";\n}\n\nexport interface MediaStreamingFailed\n /**\n * @deprecated RestMediaStreamingFailed is deprecated.\n * Use MediaStreamingFailed instead.\n */\n extends Omit<\n RestMediaStreamingFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 /** kind of this event. */\n kind: \"MediaStreamingFailed\";\n}\n\nexport interface CreateCallFailed\n /**\n * @deprecated RestCreateCallFailed is deprecated.\n * Use CreateCallFailed instead.\n */\n extends Omit<\n RestCreateCallFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 /** kind of this event. */\n kind: \"CreateCallFailed\";\n}\nexport interface AnswerFailed\n /**\n * @deprecated RestAnswerFailed is deprecated.\n * Use AnswerFailed instead.\n */\n extends Omit<\n RestAnswerFailed,\n \"callConnectionId\" | \"serverCallId\" | \"correlationId\" | \"resultInformation\"\n > {\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 /** kind of this event. */\n kind: \"AnswerFailed\";\n}\n"]}
@@ -1,6 +1,6 @@
1
- import type { CommunicationIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier, TeamsExtensionUserIdentifier, PhoneNumberIdentifier } from "@azure/communication-common";
2
- import type { CallConnectionStateModel, MediaStreamingSubscription, TranscriptionSubscription } from "../generated/src/index.js";
3
- export { CallConnectionStateModel, CallRejectReason, KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownMediaStreamingTransportType, KnownCallConnectionStateModel, KnownTranscriptionTransportType, KnownRecognitionType, KnownRecordingState, KnownRecordingKind, KnownTone, KnownAudioFormat, KnownMediaStreamingSubscriptionState, KnownTranscriptionResultState, KnownTranscriptionSubscriptionState, KnownMediaStreamingStatus, KnownMediaStreamingStatusDetails, KnownTranscriptionStatus, KnownTranscriptionStatusDetails, MediaStreamingAudioChannelType, MediaStreamingOptions, MediaStreamingContentType, MediaStreamingTransportType, MediaStreamingSubscription, TranscriptionOptions, TranscriptionTransportType, TranscriptionSubscription, RecognitionType, ChoiceResult, DtmfResult, SpeechResult, RecordingState, RecordingKind, Tone, AudioFormat, MediaStreamingUpdate, MediaStreamingSubscriptionState, TranscriptionResultState, TranscriptionUpdate, TranscriptionSubscriptionState, MediaStreamingStatus, MediaStreamingStatusDetails, TranscriptionStatus, TranscriptionStatusDetails, } from "../generated/src/models/index.js";
1
+ import type { CommunicationIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier, PhoneNumberIdentifier, TeamsExtensionUserIdentifier } from "@azure/communication-common";
2
+ import type { CallConnectionStateModel, MediaStreamingSubscription, TranscriptionSubscription, MediaStreamingAudioChannelType, MediaStreamingContentType, AudioFormat } from "../generated/src/index.js";
3
+ export { CallConnectionStateModel, CallRejectReason, KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownStreamingTransportType, RecognitionType, ChoiceResult, DtmfResult, SpeechResult, RecordingState, Tone, MediaStreamingAudioChannelType, MediaStreamingContentType, AudioFormat, TranscriptionUpdate, MediaStreamingUpdate, } from "../generated/src/models/index.js";
4
4
  /** Properties of a call connection */
5
5
  export interface CallConnectionProperties {
6
6
  /** The call connection id. */
@@ -58,6 +58,8 @@ export declare enum VoiceKind {
58
58
  export interface PlaySource {
59
59
  /** @deprecated Not in use, instead use playsourcecacheid for similar functionality*/
60
60
  playsourcacheid?: string;
61
+ /** Sets the play source cache id.*/
62
+ playSourceCacheId?: string;
61
63
  }
62
64
  /** The FileSource model. */
63
65
  export interface FileSource extends PlaySource {
@@ -145,6 +147,8 @@ export type RecordingContent = "audio" | "audioVideo";
145
147
  export type RecordingChannel = "mixed" | "unmixed";
146
148
  /** The format type of a call recording. */
147
149
  export type RecordingFormat = "mp3" | "mp4" | "wav";
150
+ /** The format type of a call recording. */
151
+ export type RecordingKind = "azureCommunicationServices" | "teams" | "teamsCompliance";
148
152
  /** The storage type of a call recording. */
149
153
  export type RecordingStorageKind = "azureCommunicationServices" | "azureBlobStorage";
150
154
  /** Channel affinity for a participant */
@@ -164,7 +168,7 @@ export interface RecordingStorage {
164
168
  /** Uri of a container or a location within a container */
165
169
  recordingDestinationContainerUrl?: string;
166
170
  }
167
- export interface CustomCallingContextHeader {
171
+ interface CustomCallingContextHeader {
168
172
  key: string;
169
173
  value: string;
170
174
  }
@@ -179,7 +183,10 @@ export interface SipUserToUserHeader extends CustomCallingContextHeader {
179
183
  /** SIP Custom header. */
180
184
  export interface SipCustomHeader extends CustomCallingContextHeader {
181
185
  kind: "sipx";
186
+ sipHeaderPrefix?: SipHeaderPrefix;
182
187
  }
188
+ /** The type of the Sip header prefix. */
189
+ export type SipHeaderPrefix = "X-" | "X-MS-Custom-";
183
190
  /** Custom Calling Context */
184
191
  export type CustomCallingContext = (VoipHeader | SipUserToUserHeader | SipCustomHeader)[];
185
192
  /** AI options for the call. */
@@ -187,4 +194,37 @@ export interface CallIntelligenceOptions {
187
194
  /** The identifier of the Cognitive Service resource assigned to this call. */
188
195
  cognitiveServicesEndpoint?: string;
189
196
  }
197
+ /** Options for media streaming. */
198
+ export interface MediaStreamingOptions {
199
+ /** Polymorphic discriminator, which specifies the different types this object can be */
200
+ transportType: "websocket";
201
+ /** The audio channel type to stream, e.g., unmixed audio, mixed audio. */
202
+ audioChannelType: MediaStreamingAudioChannelType;
203
+ /** The transport URL for media streaming. */
204
+ transportUrl?: string;
205
+ contentType?: MediaStreamingContentType;
206
+ /** A value indicating whether the media streaming should start immediately after the call is answered. */
207
+ startMediaStreaming?: boolean;
208
+ /** A value indicating whether bidirectional streaming is enabled. */
209
+ enableBidirectional?: boolean;
210
+ /** The audio format used for encoding, including sample rate and channel type. The default is Pcm16KMono. */
211
+ audioFormat?: AudioFormat;
212
+ /** A value that indicates whether to stream the DTMF tones. */
213
+ enableDtmfTones?: boolean;
214
+ }
215
+ /** Options for media streaming. */
216
+ export interface TranscriptionOptions {
217
+ /** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */
218
+ locale: string;
219
+ /** Polymorphic discriminator, which specifies the different types this object can be */
220
+ transportType: "websocket";
221
+ /** The URL used for live transcription transport. */
222
+ transportUrl?: string;
223
+ /** The ID of the deployed custom model in GUID format. The GUID is generated by Azure Speech Studio, e.g., a259c255-1cdw-4ed7-a693-dd58563b6f6a. */
224
+ speechModelEndpointId?: string;
225
+ /** Indicates whether the transcription should start immediately after the call is answered. */
226
+ startTranscription?: boolean;
227
+ /** Enables intermediate results for the transcribed speech. */
228
+ enableIntermediateResults?: boolean;
229
+ }
190
230
  //# sourceMappingURL=models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/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,CAAC;CACnC;AAED,yCAAyC;AACzC,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,cAAc,CAAC;AAEpD,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;AAED,mCAAmC;AACnC,MAAM,WAAW,qBAAqB;IACpC,wFAAwF;IACxF,aAAa,EAAE,WAAW,CAAC;IAC3B,0EAA0E;IAC1E,gBAAgB,EAAE,8BAA8B,CAAC;IACjD,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,0GAA0G;IAC1G,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,qEAAqE;IACrE,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,6GAA6G;IAC7G,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,+DAA+D;IAC/D,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,mCAAmC;AACnC,MAAM,WAAW,oBAAoB;IACnC,yEAAyE;IACzE,MAAM,EAAE,MAAM,CAAC;IACf,wFAAwF;IACxF,aAAa,EAAE,WAAW,CAAC;IAC3B,qDAAqD;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oJAAoJ;IACpJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,+FAA+F;IAC/F,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,+DAA+D;IAC/D,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC"}
@@ -1,6 +1,6 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- export { KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownMediaStreamingTransportType, KnownCallConnectionStateModel, KnownTranscriptionTransportType, KnownRecognitionType, KnownRecordingState, KnownRecordingKind, KnownTone, KnownAudioFormat, KnownMediaStreamingSubscriptionState, KnownTranscriptionResultState, KnownTranscriptionSubscriptionState, KnownMediaStreamingStatus, KnownMediaStreamingStatusDetails, KnownTranscriptionStatus, KnownTranscriptionStatusDetails, } from "../generated/src/models/index.js";
3
+ export { KnownCallRejectReason, KnownMediaStreamingAudioChannelType, KnownMediaStreamingContentType, KnownStreamingTransportType, } from "../generated/src/models/index.js";
4
4
  /** Defines values for VoiceKind that the service accepts. */
5
5
  export var VoiceKind;
6
6
  (function (VoiceKind) {
@@ -1 +1 @@
1
- {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAgBlC,OAAO,EAGL,qBAAqB,EACrB,mCAAmC,EACnC,8BAA8B,EAC9B,gCAAgC,EAChC,6BAA6B,EAC7B,+BAA+B,EAC/B,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,oCAAoC,EACpC,6BAA6B,EAC7B,mCAAmC,EACnC,yBAAyB,EACzB,gCAAgC,EAChC,wBAAwB,EACxB,+BAA+B,GA0BhC,MAAM,kCAAkC,CAAC;AAmD1C,6DAA6D;AAC7D,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,WAAW;IACX,0BAAa,CAAA;IACb,aAAa;IACb,8BAAiB,CAAA;AACnB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AA+BD,mBAAmB;AACnB,MAAM,CAAN,IAAY,QAiCX;AAjCD,WAAY,QAAQ;IAClB,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,YAAY;IACZ,2BAAe,CAAA;IACf,eAAe;IACf,iCAAqB,CAAA;AACvB,CAAC,EAjCW,QAAQ,KAAR,QAAQ,QAiCnB;AAWD,4DAA4D;AAC5D,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;AACf,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n CommunicationIdentifier,\n CommunicationUserIdentifier,\n MicrosoftTeamsUserIdentifier,\n MicrosoftTeamsAppIdentifier,\n TeamsExtensionUserIdentifier,\n PhoneNumberIdentifier,\n} from \"@azure/communication-common\";\nimport type {\n CallConnectionStateModel,\n MediaStreamingSubscription,\n TranscriptionSubscription,\n} from \"../generated/src/index.js\";\n\nexport {\n CallConnectionStateModel,\n CallRejectReason,\n KnownCallRejectReason,\n KnownMediaStreamingAudioChannelType,\n KnownMediaStreamingContentType,\n KnownMediaStreamingTransportType,\n KnownCallConnectionStateModel,\n KnownTranscriptionTransportType,\n KnownRecognitionType,\n KnownRecordingState,\n KnownRecordingKind,\n KnownTone,\n KnownAudioFormat,\n KnownMediaStreamingSubscriptionState,\n KnownTranscriptionResultState,\n KnownTranscriptionSubscriptionState,\n KnownMediaStreamingStatus,\n KnownMediaStreamingStatusDetails,\n KnownTranscriptionStatus,\n KnownTranscriptionStatusDetails,\n MediaStreamingAudioChannelType,\n MediaStreamingOptions,\n MediaStreamingContentType,\n MediaStreamingTransportType,\n MediaStreamingSubscription,\n TranscriptionOptions,\n TranscriptionTransportType,\n TranscriptionSubscription,\n RecognitionType,\n ChoiceResult,\n DtmfResult,\n SpeechResult,\n RecordingState,\n RecordingKind,\n Tone,\n AudioFormat,\n MediaStreamingUpdate,\n MediaStreamingSubscriptionState,\n TranscriptionResultState,\n TranscriptionUpdate,\n TranscriptionSubscriptionState,\n MediaStreamingStatus,\n MediaStreamingStatusDetails,\n TranscriptionStatus,\n TranscriptionStatusDetails,\n} from \"../generated/src/models/index.js\";\n\n/** Properties of a call connection */\nexport interface CallConnectionProperties {\n /** The call connection id. */\n callConnectionId?: string;\n /** The server call id. */\n serverCallId?: string;\n /**\n * The source caller Id, a phone number, that's shown to the PSTN participant being invited.\n * Required only when calling a PSTN callee.\n */\n sourceCallerIdNumber?: PhoneNumberIdentifier;\n /** Display name of the call if dialing out to a pstn number. */\n sourceDisplayName?: string;\n /** Source identity. */\n source?: CommunicationIdentifier;\n /** The targets of the call. */\n targetParticipants?: CommunicationIdentifier[];\n /** The state of the call connection. */\n callConnectionState?: CallConnectionStateModel;\n /** The callback URL. */\n callbackUrl?: string;\n /** The correlation ID. */\n correlationId?: string;\n /** Identity of the answering entity. Only populated when identity is provided in the request. */\n answeredby?: CommunicationUserIdentifier;\n /** Identity of the original Pstn target of an incoming Call. Only populated when the original target is a Pstn number. */\n answeredFor?: PhoneNumberIdentifier;\n /** Media streaming subscription */\n mediaStreamingSubscription?: MediaStreamingSubscription;\n /** Transcription Subscription. */\n transcriptionSubscription?: TranscriptionSubscription;\n}\n\n/** Contract model of an ACS call participant */\nexport interface CallParticipant {\n /** Communication identifier of the participant */\n identifier?: CommunicationIdentifier;\n /** Is participant muted */\n isMuted?: boolean;\n /** Is participant on hold. */\n isOnHold?: boolean;\n}\n\n/** The locator used for joining or taking action on a call. */\nexport interface CallLocator {\n id: string;\n kind: CallLocatorType;\n}\n\n/** Defines values for VoiceKind that the service accepts. */\nexport enum VoiceKind {\n /** Male */\n Male = \"male\",\n /** Female */\n Female = \"female\",\n}\n\n/** The PlaySource model. */\nexport interface PlaySource {\n /** @deprecated Not in use, instead use playsourcecacheid for similar functionality*/\n playsourcacheid?: string;\n}\n\n/** The FileSource model. */\nexport interface FileSource extends PlaySource {\n url: string;\n readonly kind: \"fileSource\";\n}\n\n/** The TextSource model. */\nexport interface TextSource extends PlaySource {\n text: string;\n sourceLocale?: string;\n voiceKind?: VoiceKind;\n voiceName?: string;\n customVoiceEndpointId?: string;\n readonly kind: \"textSource\";\n}\n\n/** The SsmlSource model. */\nexport interface SsmlSource extends PlaySource {\n ssmlText: string;\n customVoiceEndpointId?: string;\n readonly kind: \"ssmlSource\";\n}\n\n/** A Dtmf Tone. */\nexport enum DtmfTone {\n /** Zero */\n Zero = \"zero\",\n /** One */\n One = \"one\",\n /** Two */\n Two = \"two\",\n /** Three */\n Three = \"three\",\n /** Four */\n Four = \"four\",\n /** Five */\n Five = \"five\",\n /** Six */\n Six = \"six\",\n /** Seven */\n Seven = \"seven\",\n /** Eight */\n Eight = \"eight\",\n /** Nine */\n Nine = \"nine\",\n /** A */\n A = \"a\",\n /** B */\n B = \"b\",\n /** C */\n C = \"c\",\n /** D */\n D = \"d\",\n /** Pound */\n Pound = \"pound\",\n /** Asterisk */\n Asterisk = \"asterisk\",\n}\n\n/** A Recognition Choice */\nexport interface RecognitionChoice {\n /** Identifier for a given choice */\n label: string;\n /** List of phrases to recognize */\n phrases: string[];\n tone?: DtmfTone;\n}\n\n/** The type of the recognition that the service accepts. */\nexport enum RecognizeInputType {\n /** Dtmf */\n Dtmf = \"dtmf\",\n}\n\n/** Call invitee details. */\nexport interface CallInvite {\n /** The Target's PhoneNumberIdentifier, CommunicationUserIdentifier, MicrosoftTeamsUserIdentifier, MicrosoftTeamsAppIdentifier or TeamsExtensionUserIdentifier. */\n readonly targetParticipant:\n | PhoneNumberIdentifier\n | CommunicationUserIdentifier\n | MicrosoftTeamsUserIdentifier\n | MicrosoftTeamsAppIdentifier\n | TeamsExtensionUserIdentifier;\n /** Caller's phone number identifier. */\n readonly sourceCallIdNumber?: PhoneNumberIdentifier;\n sourceDisplayName?: string;\n /** Used by customer to send custom context to targets. */\n customCallingContext?: CustomCallingContext;\n}\n\n/** The locator type of a call. */\nexport type CallLocatorType = \"serverCallLocator\" | \"groupCallLocator\" | \"roomCallLocator\";\n\n/** The content type of a call recording. */\nexport type RecordingContent = \"audio\" | \"audioVideo\";\n\n/** The channel type of a call recording. */\nexport type RecordingChannel = \"mixed\" | \"unmixed\";\n\n/** The format type of a call recording. */\nexport type RecordingFormat = \"mp3\" | \"mp4\" | \"wav\";\n\n/** The storage type of a call recording. */\nexport type RecordingStorageKind = \"azureCommunicationServices\" | \"azureBlobStorage\";\n\n/** Channel affinity for a participant */\nexport interface ChannelAffinity {\n /** Channel number to which bitstream from a particular participant will be written. */\n channel?: number;\n /**\n * The identifier for the participant whose bitstream will be written to the channel\n * represented by the channel number.\n */\n targetParticipant: CommunicationIdentifier;\n}\n\n/** The recording storage */\nexport interface RecordingStorage {\n /** Defines the kind of recording storage */\n recordingStorageKind: RecordingStorageKind;\n /** Uri of a container or a location within a container */\n recordingDestinationContainerUrl?: string;\n}\n\nexport interface CustomCallingContextHeader {\n key: string;\n value: string;\n}\n\n/** VOIP header. */\nexport interface VoipHeader extends CustomCallingContextHeader {\n kind: \"voip\";\n}\n\n/** SIP User To User header. */\nexport interface SipUserToUserHeader extends CustomCallingContextHeader {\n kind: \"sipuui\";\n}\n\n/** SIP Custom header. */\nexport interface SipCustomHeader extends CustomCallingContextHeader {\n kind: \"sipx\";\n}\n\n/** Custom Calling Context */\nexport type CustomCallingContext = (VoipHeader | SipUserToUserHeader | SipCustomHeader)[];\n\n/** AI options for the call. */\nexport interface CallIntelligenceOptions {\n /** The identifier of the Cognitive Service resource assigned to this call. */\n cognitiveServicesEndpoint?: string;\n}\n"]}
1
+ {"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAmBlC,OAAO,EAGL,qBAAqB,EACrB,mCAAmC,EACnC,8BAA8B,EAC9B,2BAA2B,GAY5B,MAAM,kCAAkC,CAAC;AAmD1C,6DAA6D;AAC7D,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,WAAW;IACX,0BAAa,CAAA;IACb,aAAa;IACb,8BAAiB,CAAA;AACnB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAiCD,mBAAmB;AACnB,MAAM,CAAN,IAAY,QAiCX;AAjCD,WAAY,QAAQ;IAClB,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,WAAW;IACX,yBAAa,CAAA;IACb,UAAU;IACV,uBAAW,CAAA;IACX,YAAY;IACZ,2BAAe,CAAA;IACf,YAAY;IACZ,2BAAe,CAAA;IACf,WAAW;IACX,yBAAa,CAAA;IACb,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,QAAQ;IACR,mBAAO,CAAA;IACP,YAAY;IACZ,2BAAe,CAAA;IACf,eAAe;IACf,iCAAqB,CAAA;AACvB,CAAC,EAjCW,QAAQ,KAAR,QAAQ,QAiCnB;AAWD,4DAA4D;AAC5D,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;AACf,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n CommunicationIdentifier,\n CommunicationUserIdentifier,\n MicrosoftTeamsUserIdentifier,\n MicrosoftTeamsAppIdentifier,\n PhoneNumberIdentifier,\n TeamsExtensionUserIdentifier,\n} from \"@azure/communication-common\";\nimport type {\n CallConnectionStateModel,\n MediaStreamingSubscription,\n TranscriptionSubscription,\n MediaStreamingAudioChannelType,\n MediaStreamingContentType,\n AudioFormat,\n} from \"../generated/src/index.js\";\n\nexport {\n CallConnectionStateModel,\n CallRejectReason,\n KnownCallRejectReason,\n KnownMediaStreamingAudioChannelType,\n KnownMediaStreamingContentType,\n KnownStreamingTransportType,\n RecognitionType,\n ChoiceResult,\n DtmfResult,\n SpeechResult,\n RecordingState,\n Tone,\n MediaStreamingAudioChannelType,\n MediaStreamingContentType,\n AudioFormat,\n TranscriptionUpdate,\n MediaStreamingUpdate,\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 /** 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}\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 format type of a call recording. */\nexport type RecordingKind = \"azureCommunicationServices\" | \"teams\" | \"teamsCompliance\";\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\ninterface 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\n/** Options for media streaming. */\nexport interface MediaStreamingOptions {\n /** Polymorphic discriminator, which specifies the different types this object can be */\n transportType: \"websocket\";\n /** The audio channel type to stream, e.g., unmixed audio, mixed audio. */\n audioChannelType: MediaStreamingAudioChannelType;\n /** The transport URL for media streaming. */\n transportUrl?: string;\n contentType?: MediaStreamingContentType;\n /** A value indicating whether the media streaming should start immediately after the call is answered. */\n startMediaStreaming?: boolean;\n /** A value indicating whether bidirectional streaming is enabled. */\n enableBidirectional?: boolean;\n /** The audio format used for encoding, including sample rate and channel type. The default is Pcm16KMono. */\n audioFormat?: AudioFormat;\n /** A value that indicates whether to stream the DTMF tones. */\n enableDtmfTones?: boolean;\n}\n\n/** Options for media streaming. */\nexport interface TranscriptionOptions {\n /** Specifies the Locale used for transcription, e.g., en-CA or en-AU. */\n locale: string;\n /** Polymorphic discriminator, which specifies the different types this object can be */\n transportType: \"websocket\";\n /** The URL used for live transcription transport. */\n transportUrl?: string;\n /** The ID of the deployed custom model in GUID format. The GUID is generated by Azure Speech Studio, e.g., a259c255-1cdw-4ed7-a693-dd58563b6f6a. */\n speechModelEndpointId?: string;\n /** Indicates whether the transcription should start immediately after the call is answered. */\n startTranscription?: boolean;\n /** Enables intermediate results for the transcribed speech. */\n enableIntermediateResults?: boolean;\n}\n"]}
@@ -311,6 +311,11 @@ export interface StartTranscriptionOptions extends OperationOptions {
311
311
  operationContext?: string;
312
312
  /** Endpoint where the custom model was deployed. */
313
313
  speechRecognitionModelEndpointId?: string;
314
+ /**
315
+ * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
316
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
317
+ */
318
+ operationCallbackUrl?: string;
314
319
  }
315
320
  /**
316
321
  * Options to stop transcription
@@ -318,6 +323,11 @@ export interface StartTranscriptionOptions extends OperationOptions {
318
323
  export interface StopTranscriptionOptions extends OperationOptions {
319
324
  /** The value to identify context of the operation. */
320
325
  operationContext?: string;
326
+ /**
327
+ * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
328
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
329
+ */
330
+ operationCallbackUrl?: string;
321
331
  }
322
332
  /**
323
333
  * Options to hold participant.
@@ -336,6 +346,8 @@ export interface HoldOptions extends OperationOptions {
336
346
  export interface UnholdOptions extends OperationOptions {
337
347
  /** Operation Context. */
338
348
  operationContext?: string;
349
+ /** Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. */
350
+ operationCallbackUrl?: string;
339
351
  }
340
352
  /**
341
353
  * Options to Connect request.
@@ -378,5 +390,10 @@ export interface UpdateTranscriptionOptions extends OperationOptions {
378
390
  speechRecognitionModelEndpointId?: string;
379
391
  /** The value to identify context of the operation. */
380
392
  operationContext?: string;
393
+ /**
394
+ * Set a callback URL that overrides the default callback URI set by CreateCall/AnswerCall for this operation.
395
+ * This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
396
+ */
397
+ operationCallbackUrl?: string;
381
398
  }
382
399
  //# 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,gBAA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E,MAAM,CAAC;IAC1C,sDAAsD;IACtD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B"}
@@ -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 /**\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"]}
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 * 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 operationCallbackUrl?: string;\n}\n\n/**\n * Options to Unhold participant.\n */\nexport interface UnholdOptions extends OperationOptions {\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 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"]}
@@ -1,6 +1,6 @@
1
1
  import type { CallConnection } from "../callConnection.js";
2
2
  import type { CallConnectionProperties, CallParticipant } from "./models.js";
3
- import { RecordingState, RecordingKind } from "../generated/src/index.js";
3
+ import type { RecordingState, RecordingKind } from "../generated/src/index.js";
4
4
  /**
5
5
  * The interface used as parent of [action]CallResult
6
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/models/responses.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1E;;GAEG;AACH,MAAM,WAAW,UAAU;IAIzB,wBAAwB,EAAE,wBAAwB,CAAC;IAKnD,cAAc,EAAE,cAAc,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC;AAE3C,iEAAiE;AACjE,MAAM,WAAW,sBAAsB;IACrC,oDAAoD;IACpD,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC;IAC3B,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,gEAAgE;AAChE,MAAM,WAAW,oBAAoB;IACnC,iDAAiD;IACjD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,sDAAsD;AACtD,MAAM,WAAW,kBAAkB;IACjC,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,MAAM,CAAC;C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