@azure/communication-react 1.7.0-beta.2 → 1.7.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 (597) hide show
  1. package/dist/communication-react.d.ts +144 -2966
  2. package/dist/dist-cjs/communication-react/index.js +4587 -13623
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  6. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +1 -25
  7. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +3 -59
  8. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  9. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +0 -13
  10. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +3 -16
  11. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  12. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +0 -6
  13. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  14. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +13 -20
  15. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +2 -74
  16. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  17. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +0 -10
  18. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  19. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +7 -1
  20. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +3 -16
  21. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  22. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +1 -4
  23. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +0 -22
  24. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  25. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +1 -10
  26. package/dist/dist-esm/calling-component-bindings/src/index.js +0 -10
  27. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  28. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +11 -15
  29. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  30. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +3 -4
  31. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +2 -14
  33. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +1 -20
  34. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  35. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +0 -7
  36. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +0 -12
  37. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +1 -6
  39. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +4 -15
  40. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  41. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +3 -10
  42. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +0 -1
  44. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +2 -10
  45. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  46. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +5 -6
  47. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  48. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +1 -15
  49. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  50. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +1 -2
  51. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +0 -5
  52. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  53. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +2 -168
  54. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js +1 -0
  55. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  56. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -23
  57. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +2 -191
  58. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  59. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +0 -93
  60. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  61. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +0 -6
  62. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +8 -67
  63. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  64. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +0 -10
  65. package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -48
  66. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  67. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +0 -9
  68. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +0 -5
  69. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  70. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +0 -1
  71. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -25
  72. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +0 -1
  74. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +0 -8
  75. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  76. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +0 -1
  77. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +0 -8
  78. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  79. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +3 -25
  80. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +2 -33
  81. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  82. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -9
  83. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +0 -18
  84. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  85. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +0 -6
  86. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  87. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +0 -1
  88. package/dist/dist-esm/calling-stateful-client/src/index.js +0 -2
  89. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  90. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +1 -4
  91. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  92. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +6 -119
  93. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  94. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +3 -3
  95. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  96. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +1 -3
  97. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  98. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +2 -1
  99. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  100. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +1 -4
  101. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  102. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +0 -1
  103. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  104. package/dist/dist-esm/communication-react/src/index.d.ts +1 -31
  105. package/dist/dist-esm/communication-react/src/index.js +0 -14
  106. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  107. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +0 -8
  108. package/dist/dist-esm/react-components/src/components/CameraButton.js +0 -21
  109. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  110. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +1 -17
  111. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +2 -8
  112. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  113. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +0 -2
  114. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +1 -6
  115. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  116. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +1 -17
  117. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +3 -20
  118. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  119. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +0 -14
  120. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +2 -79
  121. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  122. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +0 -6
  123. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  124. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +0 -4
  125. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  126. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +1 -29
  127. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +2 -24
  128. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  129. package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +0 -2
  130. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +0 -18
  131. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  132. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  133. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -46
  134. package/dist/dist-esm/react-components/src/components/MessageThread.js +9 -56
  135. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  136. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +0 -13
  137. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +2 -4
  138. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  139. package/dist/dist-esm/react-components/src/components/ParticipantList.js +7 -13
  140. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  141. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  142. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +2 -42
  143. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  144. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +1 -42
  145. package/dist/dist-esm/react-components/src/components/SendBox.js +3 -31
  146. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  147. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +0 -2
  148. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  149. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +0 -2
  150. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  151. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +0 -24
  152. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  153. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +0 -2
  154. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  155. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +4 -17
  156. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  157. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +5 -18
  158. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  159. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +0 -5
  160. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +11 -31
  161. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  162. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +0 -6
  163. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  164. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +0 -5
  165. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +3 -32
  166. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  167. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +1 -1
  168. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +3 -2
  169. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  170. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +1 -7
  171. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  172. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +3 -48
  173. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  174. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +0 -94
  175. package/dist/dist-esm/react-components/src/components/VideoGallery.js +10 -108
  176. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  177. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +0 -22
  178. package/dist/dist-esm/react-components/src/components/VideoTile.js +6 -86
  179. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  180. package/dist/dist-esm/react-components/src/components/index.d.ts +0 -21
  181. package/dist/dist-esm/react-components/src/components/index.js +0 -18
  182. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  183. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +0 -5
  184. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +0 -28
  185. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  186. package/dist/dist-esm/react-components/src/components/utils/common.js +0 -4
  187. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  188. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +1 -2
  189. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  190. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +0 -8
  191. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +1 -9
  192. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  193. package/dist/dist-esm/react-components/src/index.d.ts +0 -4
  194. package/dist/dist-esm/react-components/src/index.js +0 -2
  195. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  196. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +0 -62
  197. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  198. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +10 -0
  199. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +11 -1
  200. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +10 -0
  201. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +10 -0
  202. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +10 -0
  203. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +10 -0
  204. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +10 -0
  205. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +10 -0
  206. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +10 -0
  207. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +10 -0
  208. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +10 -0
  209. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +10 -0
  210. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +10 -0
  211. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +10 -0
  212. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +10 -0
  213. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +10 -0
  214. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +10 -0
  215. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +10 -0
  216. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +10 -0
  217. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +10 -0
  218. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +10 -0
  219. package/dist/dist-esm/react-components/src/theming/icons.d.ts +0 -29
  220. package/dist/dist-esm/react-components/src/theming/icons.js +0 -142
  221. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  222. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +1 -27
  223. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +0 -8
  225. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  226. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +0 -3
  227. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  228. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +2 -9
  229. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +0 -2
  230. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  231. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -113
  232. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +7 -95
  233. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  234. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +0 -277
  235. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js +0 -2
  236. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  237. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +10 -110
  238. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +45 -451
  239. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  240. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +50 -253
  241. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +1 -1
  242. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  243. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +2 -3
  244. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +3 -9
  245. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  246. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -10
  247. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +0 -2
  248. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  249. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +0 -2
  250. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +12 -98
  251. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  252. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +2 -3
  253. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +5 -148
  254. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  255. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +0 -2
  256. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +0 -27
  257. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  258. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +2 -20
  259. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  260. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +0 -2
  261. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +0 -27
  262. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  263. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +0 -2
  264. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +5 -45
  265. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  266. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +0 -4
  267. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +4 -35
  268. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  269. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +9 -11
  270. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  271. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +3 -0
  272. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +4 -4
  273. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  274. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +7 -5
  275. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +1 -2
  276. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  277. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +2 -33
  278. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  279. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  280. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +0 -2
  281. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  282. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +2 -6
  283. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  284. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +1 -2
  285. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +5 -53
  286. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  287. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -13
  288. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +0 -2
  289. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  290. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +1 -4
  291. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  292. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +0 -7
  293. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +8 -120
  294. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  295. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +0 -2
  296. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  297. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +0 -36
  298. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +0 -61
  299. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  300. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +0 -4
  301. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  302. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +0 -3
  303. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +0 -3
  304. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +0 -2
  305. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -3
  306. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  307. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +0 -3
  308. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +5 -1
  309. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  310. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +0 -1
  311. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  312. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +3 -19
  313. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +1 -95
  314. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  315. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +1 -61
  316. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +5 -30
  317. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  318. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +0 -44
  319. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  320. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +7 -48
  321. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +14 -192
  322. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  323. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +14 -118
  324. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  325. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +4 -21
  326. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +8 -89
  327. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  328. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +0 -13
  329. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +1 -37
  330. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  331. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +0 -1
  332. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  333. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +0 -27
  334. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +3 -19
  335. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  336. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +0 -20
  337. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +0 -4
  338. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  339. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +3 -43
  340. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  341. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +0 -4
  342. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  343. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +2 -28
  344. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +4 -126
  345. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  346. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +0 -28
  347. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +1 -159
  348. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  349. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -17
  350. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  351. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +0 -2
  352. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  353. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +1 -8
  354. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  355. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +0 -4
  356. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  357. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -5
  358. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +0 -11
  359. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  360. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +0 -5
  361. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -3
  362. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  363. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +4 -4
  364. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +8 -40
  365. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  366. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +0 -13
  367. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +0 -176
  368. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  369. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +0 -2
  370. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +1 -5
  371. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  372. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +1 -14
  373. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  374. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +10 -1
  375. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  376. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +4 -20
  377. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  378. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +0 -2
  379. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  380. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +1 -46
  381. package/dist/dist-esm/react-composites/src/composites/common/icons.js +1 -21
  382. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  383. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +4 -26
  384. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  385. package/dist/dist-esm/react-composites/src/composites/index.d.ts +0 -2
  386. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  387. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +4 -2
  388. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/strings.json +6 -4
  389. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +4 -2
  390. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +4 -2
  391. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +4 -2
  392. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +4 -2
  393. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +4 -2
  394. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +4 -2
  395. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +4 -2
  396. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +4 -2
  397. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +4 -2
  398. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +4 -2
  399. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +4 -2
  400. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +4 -2
  401. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +4 -2
  402. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +4 -2
  403. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +4 -2
  404. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +4 -2
  405. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +4 -2
  406. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +4 -2
  407. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +4 -2
  408. package/package.json +14 -16
  409. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +0 -48
  410. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +0 -72
  411. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +0 -1
  412. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +0 -43
  413. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +0 -95
  414. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +0 -1
  415. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +0 -18
  416. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +0 -38
  417. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +0 -1
  418. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +0 -28
  419. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +0 -49
  420. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +0 -1
  421. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.d.ts +0 -24
  422. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +0 -30
  423. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +0 -1
  424. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +0 -19
  425. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +0 -89
  426. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +0 -1
  427. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +0 -23
  428. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +0 -49
  429. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +0 -1
  430. package/dist/dist-esm/react-components/src/components/Caption.d.ts +0 -20
  431. package/dist/dist-esm/react-components/src/components/Caption.js +0 -32
  432. package/dist/dist-esm/react-components/src/components/Caption.js.map +0 -1
  433. package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +0 -45
  434. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +0 -50
  435. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +0 -1
  436. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +0 -36
  437. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +0 -93
  438. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +0 -1
  439. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +0 -9
  440. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +0 -15
  441. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +0 -1
  442. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +0 -68
  443. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +0 -43
  444. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +0 -1
  445. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +0 -74
  446. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +0 -75
  447. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +0 -1
  448. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +0 -104
  449. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +0 -68
  450. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +0 -1
  451. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +0 -85
  452. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +0 -39
  453. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +0 -1
  454. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +0 -48
  455. package/dist/dist-esm/react-components/src/components/HoldButton.js +0 -25
  456. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +0 -1
  457. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +0 -121
  458. package/dist/dist-esm/react-components/src/components/MentionPopover.js +0 -117
  459. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +0 -1
  460. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.d.ts +0 -35
  461. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +0 -33
  462. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +0 -1
  463. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +0 -69
  464. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +0 -61
  465. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +0 -1
  466. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +0 -41
  467. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +0 -573
  468. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +0 -1
  469. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -152
  470. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +0 -816
  471. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +0 -1
  472. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +0 -9
  473. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +0 -26
  474. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +0 -1
  475. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.d.ts +0 -10
  476. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +0 -31
  477. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +0 -1
  478. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +0 -58
  479. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +0 -144
  480. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +0 -1
  481. package/dist/dist-esm/react-components/src/components/styles/Captions.style.d.ts +0 -38
  482. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +0 -71
  483. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +0 -1
  484. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.d.ts +0 -34
  485. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js +0 -86
  486. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +0 -1
  487. package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +0 -14
  488. package/dist/dist-esm/react-components/src/components/styles/Common.style.js +0 -16
  489. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +0 -1
  490. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +0 -31
  491. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +0 -71
  492. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +0 -1
  493. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +0 -38
  494. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +0 -92
  495. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +0 -1
  496. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +0 -26
  497. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +0 -67
  498. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +0 -1
  499. package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +0 -7
  500. package/dist/dist-esm/react-components/src/components/utils/merge.js +0 -16
  501. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +0 -1
  502. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +0 -61
  503. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +0 -74
  504. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +0 -1
  505. package/dist/dist-esm/react-components/src/permissions/index.d.ts +0 -2
  506. package/dist/dist-esm/react-components/src/permissions/index.js +0 -4
  507. package/dist/dist-esm/react-components/src/permissions/index.js.map +0 -1
  508. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +0 -6
  509. package/dist/dist-esm/react-components/src/theming/icons.styles.js +0 -25
  510. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +0 -1
  511. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +0 -47
  512. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +0 -218
  513. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +0 -1
  514. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +0 -11
  515. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +0 -93
  516. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +0 -1
  517. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.d.ts +0 -30
  518. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +0 -68
  519. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +0 -1
  520. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +0 -7
  521. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +0 -26
  522. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +0 -1
  523. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +0 -21
  524. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +0 -28
  525. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +0 -1
  526. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +0 -13
  527. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +0 -113
  528. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +0 -1
  529. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +0 -14
  530. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +0 -54
  531. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +0 -1
  532. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.d.ts +0 -7
  533. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +0 -20
  534. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +0 -1
  535. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +0 -32
  536. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +0 -81
  537. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +0 -1
  538. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +0 -37
  539. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +0 -73
  540. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +0 -1
  541. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +0 -17
  542. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +0 -18
  543. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +0 -1
  544. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +0 -14
  545. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +0 -23
  546. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +0 -1
  547. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +0 -6
  548. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +0 -11
  549. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +0 -1
  550. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +0 -12
  551. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +0 -13
  552. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +0 -1
  553. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +0 -23
  554. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +0 -14
  555. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +0 -1
  556. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +0 -21
  557. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +0 -107
  558. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +0 -1
  559. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +0 -17
  560. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +0 -32
  561. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +0 -1
  562. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +0 -21
  563. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +0 -74
  564. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +0 -1
  565. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +0 -15
  566. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +0 -61
  567. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +0 -1
  568. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +0 -5
  569. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +0 -69
  570. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +0 -1
  571. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +0 -11
  572. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +0 -108
  573. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +0 -1
  574. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +0 -6
  575. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +0 -38
  576. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +0 -1
  577. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +0 -16
  578. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +0 -212
  579. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +0 -1
  580. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.d.ts +0 -6
  581. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js +0 -24
  582. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +0 -1
  583. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.d.ts +0 -19
  584. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js +0 -52
  585. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js.map +0 -1
  586. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.d.ts +0 -7
  587. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js +0 -24
  588. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js.map +0 -1
  589. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +0 -16
  590. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +0 -50
  591. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +0 -1
  592. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +0 -11
  593. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +0 -40
  594. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +0 -1
  595. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +0 -13
  596. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +0 -159
  597. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +0 -1
@@ -15,10 +15,7 @@
15
15
  * @packageDocumentation
16
16
  */
17
17
 
18
- import { AddPhoneNumberOptions } from '@azure/communication-calling';
19
18
  import { AudioDeviceInfo } from '@azure/communication-calling';
20
- import { BackgroundBlurConfig } from '@azure/communication-calling-effects';
21
- import { BackgroundReplacementConfig } from '@azure/communication-calling-effects';
22
19
  import { Call } from '@azure/communication-calling';
23
20
  import { CallAgent } from '@azure/communication-calling';
24
21
  import { CallClient } from '@azure/communication-calling';
@@ -26,9 +23,7 @@ import { CallClientOptions } from '@azure/communication-calling';
26
23
  import { CallDirection } from '@azure/communication-calling';
27
24
  import { CallEndReason } from '@azure/communication-calling';
28
25
  import { CallerInfo } from '@azure/communication-calling';
29
- import { CallKind } from '@azure/communication-calling';
30
26
  import { CallState as CallState_2 } from '@azure/communication-calling';
31
- import { CaptionsResultType } from '@azure/communication-calling';
32
27
  import { ChatClient } from '@azure/communication-chat';
33
28
  import { ChatClientOptions } from '@azure/communication-chat';
34
29
  import { ChatMessage as ChatMessage_2 } from '@azure/communication-chat';
@@ -44,36 +39,26 @@ import { CreateViewOptions } from '@azure/communication-calling';
44
39
  import { DeviceAccess } from '@azure/communication-calling';
45
40
  import { DeviceManager } from '@azure/communication-calling';
46
41
  import { DominantSpeakersInfo } from '@azure/communication-calling';
47
- import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
48
- import { EnvironmentInfo } from '@azure/communication-calling';
49
42
  import { GroupCallLocator } from '@azure/communication-calling';
50
43
  import { IButtonProps } from '@fluentui/react';
51
44
  import { IButtonStyles } from '@fluentui/react';
52
45
  import { IContextualMenuItem } from '@fluentui/react';
53
46
  import { IContextualMenuItemStyles } from '@fluentui/react';
54
- import { IContextualMenuProps } from '@fluentui/react';
55
47
  import { IContextualMenuStyles } from '@fluentui/react';
56
- import { ILinkStyles } from '@fluentui/react';
57
48
  import { IMessageBarProps } from '@fluentui/react';
58
- import { IncomingCall } from '@azure/communication-calling';
59
49
  import { IPersonaStyleProps } from '@fluentui/react';
60
50
  import { IPersonaStyles } from '@fluentui/react';
61
51
  import { IRawStyle } from '@fluentui/react';
62
52
  import { IRenderFunction } from '@fluentui/react';
63
53
  import { IStyle } from '@fluentui/react';
64
54
  import { IStyleFunctionOrObject } from '@fluentui/react';
65
- import { ITextFieldStyles } from '@fluentui/react';
66
55
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
67
56
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
68
- import { LocalVideoStream } from '@azure/communication-calling';
69
57
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
70
58
  import { MediaStreamType } from '@azure/communication-calling';
71
- import { MicrosoftBotKind } from '@azure/communication-common';
72
- import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
73
59
  import { MicrosoftTeamsUserKind } from '@azure/communication-common';
74
60
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
75
61
  import { PartialTheme } from '@fluentui/react';
76
- import { ParticipantRole } from '@azure/communication-calling';
77
62
  import { PermissionConstraints } from '@azure/communication-calling';
78
63
  import { PersonaInitialsColor } from '@fluentui/react';
79
64
  import { PersonaPresence } from '@fluentui/react';
@@ -84,40 +69,18 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
84
69
  import { default as React_2 } from 'react';
85
70
  import type { RemoteParticipant } from '@azure/communication-calling';
86
71
  import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
87
- import { RoomCallLocator } from '@azure/communication-calling';
88
72
  import { ScalingMode } from '@azure/communication-calling';
89
73
  import { SendMessageOptions } from '@azure/communication-chat';
90
74
  import { StartCallOptions } from '@azure/communication-calling';
91
- import { StartCaptionsOptions } from '@azure/communication-calling';
92
- import { TeamsCall } from '@azure/communication-calling';
93
- import { TeamsCallAgent } from '@azure/communication-calling';
94
75
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
95
76
  import { Theme } from '@fluentui/react';
96
- import { TransferRequestedEventArgs } from '@azure/communication-calling';
97
77
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
98
78
  import { UnknownIdentifier } from '@azure/communication-common';
99
79
  import { UnknownIdentifierKind } from '@azure/communication-common';
100
80
  import { VideoDeviceInfo } from '@azure/communication-calling';
101
- import { VideoEffectName } from '@azure/communication-calling';
102
81
  import { VideoStreamRenderer } from '@azure/communication-calling';
103
82
  import { VideoStreamRendererView } from '@azure/communication-calling';
104
83
 
105
- /**
106
- * Transfer feature state
107
- *
108
- * @beta
109
- */
110
- export declare interface AcceptedTransfer {
111
- /**
112
- * Stores call id of accepted transfer
113
- */
114
- callId: string;
115
- /**
116
- * Stores timestamp when transfer was accepted
117
- */
118
- timestamp: Date;
119
- }
120
-
121
84
  /**
122
85
  * Active error messages to be shown via {@link ErrorBar}.
123
86
  *
@@ -137,38 +100,6 @@ export declare interface ActiveErrorMessage {
137
100
  timestamp?: Date;
138
101
  }
139
102
 
140
- /**
141
- * Attributes required for SendBox to show file uploads like name, progress etc.
142
- * @beta
143
- */
144
- export declare interface ActiveFileUpload {
145
- /**
146
- * Unique identifier for the file upload.
147
- */
148
- id: string;
149
- /**
150
- * File name to be rendered for uploaded file.
151
- */
152
- filename: string;
153
- /**
154
- * A number between 0 and 1 indicating the progress of the upload.
155
- * This is unrelated to the `uploadComplete` property.
156
- * It is only used to show the progress of the upload.
157
- * Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
158
- * property to true to mark the upload as complete.
159
- */
160
- progress: number;
161
- /**
162
- * Error to be displayed to the user if the upload fails.
163
- */
164
- error?: SendBoxErrorBarError;
165
- /**
166
- * `true` means that the upload is completed.
167
- * This is independent of the upload `progress`.
168
- */
169
- uploadComplete?: boolean;
170
- }
171
-
172
103
  /**
173
104
  * Error reported via error events and stored in adapter state.
174
105
  *
@@ -235,13 +166,6 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
235
166
  */
236
167
  export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
237
168
 
238
- /**
239
- * @beta
240
- */
241
- export declare interface AttachmentDownloadResult {
242
- blobUrl: string;
243
- }
244
-
245
169
  /**
246
170
  * Custom data attributes for displaying avatar for a user.
247
171
  *
@@ -271,11 +195,6 @@ export declare type AvatarPersonaData = {
271
195
  * @defaultvalue `white`
272
196
  */
273
197
  initialsTextColor?: string;
274
- /**
275
- * If true, show the special coin for unknown persona.
276
- * It has '?' in place of initials, with static font and background colors
277
- */
278
- showUnknownPersonaCoin?: boolean;
279
198
  };
280
199
 
281
200
  /**
@@ -297,31 +216,8 @@ export declare type AzureCommunicationCallAdapterArgs = {
297
216
  displayName: string;
298
217
  credential: CommunicationTokenCredential;
299
218
  locator: CallAdapterLocator;
300
- /**
301
- * A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
302
- * E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
303
- */
304
- alternateCallerId?: string;
305
- /**
306
- * Optional parameters for the {@link AzureCommunicationCallAdapter} created
307
- */
308
- options?: AzureCommunicationCallAdapterOptions;
309
219
  };
310
220
 
311
- /**
312
- * Optional parameters to create {@link AzureCommunicationCallAdapter}
313
- *
314
- * @beta
315
- */
316
- export declare type AzureCommunicationCallAdapterOptions = {
317
- /**
318
- * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
319
- * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
320
- * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
321
- */
322
- roleHint?: Role;
323
- } & CommonCallAdapterOptions;
324
-
325
221
  /**
326
222
  * Arguments for {@link createAzureCommunicationCallWithChatAdapter}
327
223
  *
@@ -333,8 +229,6 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
333
229
  displayName: string;
334
230
  credential: CommunicationTokenCredential;
335
231
  locator: CallAndChatLocator | TeamsMeetingLinkLocator;
336
- alternateCallerId?: string;
337
- callAdapterOptions?: AzureCommunicationCallAdapterOptions;
338
232
  };
339
233
 
340
234
  /**
@@ -348,7 +242,6 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
348
242
  callClient: StatefulCallClient;
349
243
  chatClient: StatefulChatClient;
350
244
  chatThreadClient: ChatThreadClient;
351
- options?: AzureCommunicationChatAdapterOptions;
352
245
  };
353
246
 
354
247
  /**
@@ -364,14 +257,6 @@ export declare type AzureCommunicationChatAdapterArgs = {
364
257
  threadId: string;
365
258
  };
366
259
 
367
- /**
368
- * Configuration options to include when creating AzureCommunicationChatAdapter.
369
- * @beta
370
- */
371
- export declare type AzureCommunicationChatAdapterOptions = {
372
- credential?: CommunicationTokenCredential;
373
- };
374
-
375
260
  /**
376
261
  * Properties common to all composites exported from this library.
377
262
  *
@@ -427,186 +312,6 @@ export declare interface BaseCustomStyles {
427
312
  root?: IStyle;
428
313
  }
429
314
 
430
- /**
431
- * Base interface that all Meta Data should extend.
432
- * Typically used for ACS to ACS file transfers.
433
- * @beta
434
- */
435
- export declare interface BaseFileMetadata {
436
- /**
437
- * File name to be displayed.
438
- */
439
- name: string;
440
- /**
441
- * Extension is used for rendering the file icon.
442
- * An unknown extension will be rendered as a generic icon.
443
- * Example: `jpeg`
444
- */
445
- extension: string;
446
- /**
447
- * Download URL for the file.
448
- */
449
- url: string;
450
- /**
451
- * Unique ID of the file.
452
- */
453
- id: string;
454
- /**
455
- * Attachment Type
456
- */
457
- attachmentType: FileMetadataAttachmentType;
458
- }
459
-
460
- /**
461
- * Content blocked message type.
462
- *
463
- * Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
464
- *
465
- * @beta
466
- */
467
- export declare interface BlockedMessage extends MessageCommon {
468
- messageType: 'blocked';
469
- warningText?: string;
470
- linkText?: string;
471
- link?: string;
472
- deletedOn?: Date;
473
- senderId?: string;
474
- senderDisplayName?: string;
475
- status?: MessageStatus;
476
- attached?: MessageAttachedStatus;
477
- mine?: boolean;
478
- }
479
-
480
- /**
481
- * @beta
482
- * Props for BrowserPermissionDeniedIOS component.
483
- */
484
- export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
485
- /**
486
- * Localization strings for BrowserPermissionDeniedIOS component.
487
- */
488
- strings?: BrowserPermissionDeniedIOSStrings;
489
- /**
490
- * Link to image source.
491
- *
492
- * Image is inserted into the top of the component.
493
- */
494
- imageSource?: string;
495
- }
496
-
497
- /**
498
- * @beta
499
- * Strings for BrowserPermissionDeniedIOS component
500
- */
501
- export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
502
- /**
503
- * Image alt text
504
- */
505
- imageAltText: string;
506
- /**
507
- * Main text string.
508
- */
509
- primaryText: string;
510
- /**
511
- * Subtext string.
512
- */
513
- secondaryText: string;
514
- /**
515
- * Step 1 string
516
- */
517
- step1Text: string;
518
- /**
519
- * Step 1 digit string
520
- */
521
- step1DigitText: string;
522
- /**
523
- * Step 2 string
524
- */
525
- step2Text: string;
526
- /**
527
- * Step 2 digit string
528
- */
529
- step2DigitText: string;
530
- /**
531
- * Step 3 string
532
- */
533
- step3Text: string;
534
- /**
535
- * Step 3 digit string
536
- */
537
- step3DigitText: string;
538
- /**
539
- * Step 4 string
540
- */
541
- step4Text: string;
542
- /**
543
- * Step 4 digit string
544
- */
545
- step4DigitText: string;
546
- }
547
-
548
- /**
549
- * @beta
550
- * Props for BrowserPermissionDenied component.
551
- */
552
- export declare interface BrowserPermissionDeniedProps {
553
- /**
554
- * Action to be taken by the more help link. Possible to send to external page or show other modal.
555
- */
556
- onTroubleshootingClick?: () => void;
557
- /**
558
- * Action to be taken by the try again primary button.
559
- */
560
- onTryAgainClick?: () => void;
561
- /**
562
- * Localization strings for BrowserPermissionDenied component.
563
- */
564
- strings?: BrowserPermissionDeniedStrings;
565
- /**
566
- * Allows users to pass in an object contains custom CSS styles.
567
- * @Example
568
- * ```
569
- * <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
570
- * ```
571
- */
572
- styles?: BrowserPermissionDeniedStyles;
573
- }
574
-
575
- /**
576
- * @beta
577
- * Strings for BrowserPermissionDenied component
578
- */
579
- export declare interface BrowserPermissionDeniedStrings {
580
- /**
581
- * Main button text string.
582
- */
583
- primaryButtonText: string;
584
- /**
585
- * Main text string.
586
- */
587
- primaryText: string;
588
- /**
589
- * Subtext string.
590
- */
591
- secondaryText: string;
592
- /**
593
- * More help link string.
594
- */
595
- linkText: string;
596
- }
597
-
598
- /**
599
- * Fluent styles for {@link BrowserPermissionDenied}.
600
- *
601
- * @beta
602
- */
603
- export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
604
- /** Styles for the primary button. */
605
- primaryButton?: IButtonStyles;
606
- /** Styles for the help troubleshooting link text. */
607
- troubleshootingLink?: ILinkStyles;
608
- }
609
-
610
315
  /**
611
316
  * An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
612
317
  *
@@ -615,26 +320,31 @@ export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles
615
320
  export declare interface CallAdapter extends CommonCallAdapter {
616
321
  /**
617
322
  * Join the call with microphone initially on/off.
618
- *
323
+ * @deprecated Use joinCall(options?:JoinCallOptions) instead.
619
324
  * @param microphoneOn - Whether microphone is initially enabled
620
325
  *
621
326
  * @public
622
327
  */
623
328
  joinCall(microphoneOn?: boolean): Call | undefined;
624
329
  /**
625
- * Start the call.
330
+ * Join the call with options bag to set microphone/camera initial state when joining call
331
+ * true = turn on the device when joining call
332
+ * false = turn off the device when joining call
333
+ * 'keep'/undefined = retain devices' precall state
626
334
  *
627
- * @param participants - An array of participant ids to join
335
+ * @param options - param to set microphone/camera initially on/off/use precall state.
628
336
  *
629
337
  * @public
630
338
  */
631
- startCall(participants: string[], options?: StartCallOptions): Call | undefined;
339
+ joinCall(options?: JoinCallOptions): Call | undefined;
632
340
  /**
633
341
  * Start the call.
634
- * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
635
- * @beta
342
+ *
343
+ * @param participants - An array of participant ids to join
344
+ *
345
+ * @public
636
346
  */
637
- startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
347
+ startCall(participants: string[], options?: StartCallOptions): Call | undefined;
638
348
  }
639
349
 
640
350
  /**
@@ -654,26 +364,31 @@ export declare type CallAdapterCallEndedEvent = {
654
364
  export declare interface CallAdapterCallManagement extends CallAdapterCallOperations {
655
365
  /**
656
366
  * Join the call with microphone initially on/off.
657
- *
367
+ * @deprecated Use joinCall(options?:JoinCallOptions) instead.
658
368
  * @param microphoneOn - Whether microphone is initially enabled
659
369
  *
660
370
  * @public
661
371
  */
662
372
  joinCall(microphoneOn?: boolean): Call | undefined;
663
373
  /**
664
- * Start the call.
374
+ * Join the call with options bag to set microphone/camera initial state when joining call
375
+ * true = turn on the device when joining call
376
+ * false = turn off the device when joining call
377
+ * 'keep'/undefined = retain devices' precall state
665
378
  *
666
- * @param participants - An array of participant ids to join
379
+ * @param options - param to set microphone/camera initially on/off/use precall state.
667
380
  *
668
381
  * @public
669
382
  */
670
- startCall(participants: string[], options?: StartCallOptions): Call | undefined;
383
+ joinCall(options?: JoinCallOptions): Call | undefined;
671
384
  /**
672
385
  * Start the call.
673
- * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
674
- * @beta
386
+ *
387
+ * @param participants - An array of participant ids to join
388
+ *
389
+ * @public
675
390
  */
676
- startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
391
+ startCall(participants: string[], options?: StartCallOptions): Call | undefined;
677
392
  }
678
393
 
679
394
  /**
@@ -738,12 +453,6 @@ export declare interface CallAdapterCallOperations {
738
453
  * @public
739
454
  */
740
455
  removeParticipant(userId: string): Promise<void>;
741
- /**
742
- * Remove a participant from the call.
743
- * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
744
- * @beta
745
- */
746
- removeParticipant(participant: CommunicationIdentifier): Promise<void>;
747
456
  /**
748
457
  * Create the html view for a stream.
749
458
  *
@@ -795,80 +504,6 @@ export declare interface CallAdapterCallOperations {
795
504
  * @public
796
505
  */
797
506
  disposeLocalVideoStreamView(): Promise<void>;
798
- /**
799
- * Holds the call.
800
- *
801
- * @beta
802
- */
803
- holdCall(): Promise<void>;
804
- /**
805
- * Resumes the call from a `LocalHold` state.
806
- *
807
- * @beta
808
- */
809
- resumeCall(): Promise<void>;
810
- /**
811
- * Add a participant to the call.
812
- *
813
- * @beta
814
- */
815
- addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
816
- addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
817
- /**
818
- * send dtmf tone to another participant in a 1:1 PSTN call
819
- *
820
- * @beta
821
- */
822
- sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
823
- /**
824
- * Continues into a call when the browser version is not supported.
825
- */
826
- allowUnsupportedBrowserVersion(): void;
827
- /**
828
- * Function to Start captions
829
- * @param options - options for start captions
830
- */
831
- startCaptions(options?: StartCaptionsOptions): Promise<void>;
832
- /**
833
- * Function to set caption language
834
- * @param language - language set for caption
835
- */
836
- setCaptionLanguage(language: string): Promise<void>;
837
- /**
838
- * Function to set spoken language
839
- * @param language - spoken language
840
- */
841
- setSpokenLanguage(language: string): Promise<void>;
842
- /**
843
- * Funtion to stop captions
844
- */
845
- stopCaptions(): Promise<void>;
846
- /**
847
- * Start the video background effect.
848
- *
849
- * @beta
850
- */
851
- startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
852
- /**
853
- * Stop the video background effect.
854
- *
855
- * @beta
856
- */
857
- stopVideoBackgroundEffects(): Promise<void>;
858
- /**
859
- * Override the background picker images for background replacement effect.
860
- *
861
- * @param backgroundImages - Array of custom background images.
862
- *
863
- * @beta
864
- */
865
- updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
866
- /**
867
- * Update the selected video background effect.
868
- *
869
- * @beta
870
- */
871
- updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
872
507
  }
873
508
 
874
509
  /**
@@ -887,37 +522,11 @@ export declare type CallAdapterClientState = {
887
522
  * Latest error encountered for each operation performed via the adapter.
888
523
  */
889
524
  latestErrors: AdapterErrors;
890
- /**
891
- * Azure communications Phone number to make PSTN calls with.
892
- */
893
- alternateCallerId?: string;
894
- /**
895
- * Environment information about system the adapter is made on
896
- */
897
- environmentInfo?: EnvironmentInfo;
898
- /**
899
- * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
900
- * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
901
- * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
902
- */
903
- roleHint?: Role;
904
525
  /**
905
526
  * State to track whether the local participant's camera is on. To be used when creating a custom
906
527
  * control bar with the CallComposite.
907
528
  */
908
529
  cameraStatus?: 'On' | 'Off';
909
- /**
910
- * Default set of background images for background replacement effect.
911
- */
912
- videoBackgroundImages?: VideoBackgroundImage[];
913
- /**
914
- * State to track the selected video background effect.
915
- */
916
- selectedVideoBackgroundEffect?: VideoBackgroundEffect;
917
- /**
918
- * Call from transfer request accepted by local user
919
- */
920
- acceptedTransferCallState?: CallState;
921
530
  };
922
531
 
923
532
  /**
@@ -1002,7 +611,7 @@ export declare interface CallAdapterDeviceManagement {
1002
611
  *
1003
612
  * @public
1004
613
  */
1005
- export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
614
+ export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
1006
615
 
1007
616
  /**
1008
617
  * {@link CommonCallAdapter} state.
@@ -1079,18 +688,6 @@ export declare interface CallAdapterSubscribers {
1079
688
  * Subscribe function for 'error' event.
1080
689
  */
1081
690
  on(event: 'error', listener: (e: AdapterError) => void): void;
1082
- /**
1083
- * Subscribe function for 'captionsReceived' event.
1084
- */
1085
- on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
1086
- /**
1087
- * Subscribe function for 'isCaptionsActiveChanged' event.
1088
- */
1089
- on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
1090
- /**
1091
- * Subscribe function for 'transferRequested' event.
1092
- */
1093
- on(event: 'transferRequested', listener: TransferRequestedListener): void;
1094
691
  /**
1095
692
  * Unsubscribe function for 'participantsJoined' event.
1096
693
  */
@@ -1139,18 +736,6 @@ export declare interface CallAdapterSubscribers {
1139
736
  * Unsubscribe function for 'error' event.
1140
737
  */
1141
738
  off(event: 'error', listener: (e: AdapterError) => void): void;
1142
- /**
1143
- * Unsubscribe function for 'captionsReceived' event.
1144
- */
1145
- off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
1146
- /**
1147
- * Unsubscribe function for 'isCaptionsActiveChanged' event.
1148
- */
1149
- off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
1150
- /**
1151
- * Unsubscribe function for 'transferRequested' event.
1152
- */
1153
- off(event: 'transferRequested', listener: TransferRequestedListener): void;
1154
739
  }
1155
740
 
1156
741
  /**
@@ -1161,7 +746,6 @@ export declare interface CallAdapterSubscribers {
1161
746
  export declare type CallAdapterUiState = {
1162
747
  isLocalPreviewMicrophoneEnabled: boolean;
1163
748
  page: CallCompositePage;
1164
- unsupportedBrowserVersionsAllowed?: boolean;
1165
749
  };
1166
750
 
1167
751
  /**
@@ -1180,7 +764,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
1180
764
  */
1181
765
  export declare interface CallAgentProviderProps {
1182
766
  children: React_2.ReactNode;
1183
- callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
767
+ callAgent?: CallAgent;
1184
768
  }
1185
769
 
1186
770
  /**
@@ -1205,7 +789,7 @@ export declare interface CallAgentState {
1205
789
  */
1206
790
  export declare interface CallAndChatLocator {
1207
791
  /** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
1208
- callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
792
+ callLocator: GroupCallLocator;
1209
793
  /** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
1210
794
  chatThreadId: string;
1211
795
  }
@@ -1292,16 +876,6 @@ export declare interface CallClientState {
1292
876
  * See documentation of {@Link CallErrors} for details.
1293
877
  */
1294
878
  latestErrors: CallErrors;
1295
- /**
1296
- * A phone number in E.164 format that will be used to represent callers identity.
1297
- * For example, using the alternateCallerId to add a participant using PSTN, this number will
1298
- * be used as the caller id in the PSTN call.
1299
- */
1300
- alternateCallerId?: string;
1301
- /**
1302
- * state to track the environment that the stateful client was made in is supported
1303
- */
1304
- environmentInfo?: EnvironmentInfo;
1305
879
  }
1306
880
 
1307
881
  /**
@@ -1366,12 +940,6 @@ export declare type CallCompositeIcons = {
1366
940
  ParticipantItemScreenShareStart?: JSX.Element;
1367
941
  VideoTileMicOff?: JSX.Element;
1368
942
  LocalCameraSwitch?: JSX.Element;
1369
- PeoplePaneAddPerson?: JSX.Element;
1370
- PeoplePaneOpenDialpad?: JSX.Element;
1371
- DialpadStartCall?: JSX.Element;
1372
- NoticePageInvalidRoom?: JSX.Element;
1373
- BlurVideoBackground?: JSX.Element;
1374
- RemoveVideoBackgroundEffect?: JSX.Element;
1375
943
  };
1376
944
 
1377
945
  /**
@@ -1392,66 +960,6 @@ export declare type CallCompositeOptions = {
1392
960
  * @defaultValue true
1393
961
  */
1394
962
  callControls?: boolean | CallControlOptions;
1395
- /**
1396
- * Device permissions check options for your call.
1397
- * Here you can choose what device permissions you prompt the user for,
1398
- * as well as what device permissions must be accepted before starting a call.
1399
- */
1400
- deviceChecks?: DeviceCheckOptions;
1401
- /**
1402
- * Callback you may provide to supply users with further steps to troubleshoot why they have been
1403
- * unable to grant your site the required permissions for the call.
1404
- *
1405
- * @example
1406
- * ```ts
1407
- * onPermissionsTroubleshootingClick: () =>
1408
- * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
1409
- * ```
1410
- *
1411
- * @remarks
1412
- * if this is not supplied, the composite will not show a 'further troubleshooting' link.
1413
- */
1414
- onPermissionsTroubleshootingClick?: (permissionsState: {
1415
- camera: PermissionState;
1416
- microphone: PermissionState;
1417
- }) => void;
1418
- /**
1419
- * Callback you may provide to supply users with further steps to troubleshoot why they have been
1420
- * having network issues when connecting to the call.
1421
- *
1422
- * @example
1423
- * ```ts
1424
- * onNetworkingTroubleShootingClick?: () =>
1425
- * window.open('https://contoso.com/network-troubleshooting', '_blank');
1426
- * ```
1427
- *
1428
- * @remarks
1429
- * if this is not supplied, the composite will not show a 'network troubleshooting' link.
1430
- */
1431
- onNetworkingTroubleShootingClick?: () => void;
1432
- /**
1433
- * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
1434
- *
1435
- * @example
1436
- * ```ts
1437
- * onBrowserTroubleShootingClick?: () =>
1438
- * window.open('https://contoso.com/browser-troubleshooting', '_blank');
1439
- * ```
1440
- *
1441
- * @remarks
1442
- * if this is not supplied, the composite will not show a unsupported browser page.
1443
- */
1444
- onEnvironmentInfoTroubleshootingClick?: () => void;
1445
- /**
1446
- * Remote participant video tile menu options
1447
- */
1448
- remoteVideoTileMenu?: RemoteVideoTileMenuOptions;
1449
- /**
1450
- * Options for controlling the local video tile.
1451
- *
1452
- * @remarks if 'false' the local video tile will not be rendered.
1453
- */
1454
- localVideoTile?: boolean | LocalVideoTileOptions;
1455
963
  };
1456
964
 
1457
965
  /**
@@ -1459,7 +967,7 @@ export declare type CallCompositeOptions = {
1459
967
  *
1460
968
  * @public
1461
969
  */
1462
- export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | /* @conditional-compile-remove(rooms) */ 'deniedPermissionToRoom' | 'removedFromCall' | /* @conditional-compile-remove(rooms) */ 'roomNotFound' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
970
+ export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
1463
971
 
1464
972
  /**
1465
973
  * Props for {@link CallComposite}.
@@ -1677,166 +1185,10 @@ export declare interface CallCompositeStrings {
1677
1185
  * Tooltip text used to inform a user that toggling microphone in lobby is not supported.
1678
1186
  */
1679
1187
  microphoneToggleInLobbyNotAllowed: string;
1680
- /**
1681
- * Side pane People section Title.
1682
- */
1683
- peoplePaneTitle: string;
1684
- /**
1685
- * Aria label string for return to call back button
1686
- */
1687
- returnToCallButtonAriaLabel?: string;
1688
- /**
1689
- * Aria Description string for return to call button
1690
- */
1691
- returnToCallButtonAriaDescription?: string;
1692
- /**
1693
- * control bar People button label
1694
- */
1695
- peopleButtonLabel: string;
1696
- /**
1697
- * control bar Chat button label.
1698
- */
1699
- chatButtonLabel: string;
1700
- /**
1701
- * Label for SidePaneHeader dismiss button
1702
- */
1703
- dismissSidePaneButtonLabel?: string;
1704
- /**
1705
- * Side pane People section subheader.
1706
- */
1707
- peoplePaneSubTitle: string;
1708
- /**
1709
- * Label for button to copy invite link
1710
- */
1711
- copyInviteLinkButtonLabel: string;
1712
- /**
1713
- * Label for button to open dialpad
1714
- */
1715
- openDialpadButtonLabel: string;
1716
- /**
1717
- * Label for menu item to remove participant
1718
- */
1719
- removeMenuLabel: string;
1720
- /**
1721
- * Label for add people dropdown
1722
- */
1723
- peoplePaneAddPeopleButtonLabel: string;
1724
- /**
1725
- * Label for button to start a call
1726
- */
1727
- dialpadStartCallButtonLabel: string;
1728
- /**
1729
- * Title for dialpad Modal
1730
- */
1731
- dialpadModalTitle: string;
1732
- /**
1733
- * Aria Label for dialpad Modal
1734
- */
1735
- dialpadModalAriaLabel: string;
1736
- /**
1737
- * Aria Label for dialpad Modal close button
1738
- */
1739
- dialpadCloseModalButtonAriaLabel: string;
1740
- /**
1741
- * label for more button in the Calling composite
1742
- */
1743
- moreButtonCallingLabel: string;
1744
- /**
1745
- * Label for the resume call button on the hold pane
1746
- */
1747
- resumeCallButtonLabel: string;
1748
- /**
1749
- * Label for the resume call button on the hold pane when call is resuming
1750
- */
1751
- resumingCallButtonLabel: string;
1752
- /**
1753
- * Aria label for the resume call button on the hold pane
1754
- */
1755
- resumeCallButtonAriaLabel: string;
1756
- /**
1757
- * Aria label for the resume call button on the hold pane when call is resuming
1758
- */
1759
- resumingCallButtonAriaLabel: string;
1760
- /**
1761
- * Label for the hold pane
1762
- */
1763
- holdScreenLabel: string;
1764
- /**
1765
- * Placeholder text for dtmf dialpad
1766
- */
1767
- dtmfDialpadPlaceholderText: string;
1768
- /**
1769
- * Label for the button to open dtmf dialpad
1770
- */
1771
- openDtmfDialpadLabel: string;
1772
1188
  /**
1773
1189
  * aria label for when the invite link has been actioned
1774
1190
  */
1775
1191
  copyInviteLinkActionedAriaLabel: string;
1776
- /**
1777
- * Title text of the page shown to the user when the user attempts to join a room that cannot be found.
1778
- */
1779
- roomNotFoundTitle: string;
1780
- /**
1781
- * More details text of the page shown to the user when the user attempts to join a room that cannot be found.
1782
- */
1783
- roomNotFoundDetails?: string;
1784
- /**
1785
- * Video Effects pane title.
1786
- */
1787
- videoEffectsPaneTitle: string;
1788
- /**
1789
- * Video Effects pane sub section title for choosing background.
1790
- */
1791
- videoEffectsPaneBackgroundSelectionTitle: string;
1792
- /**
1793
- * Label for the button to open effects
1794
- */
1795
- configurationPageVideoEffectsButtonLabel?: string;
1796
- /**
1797
- * Error message for video effect failure
1798
- */
1799
- unableToStartVideoEffect?: string;
1800
- /**
1801
- * Label for the blur video background effect item
1802
- */
1803
- blurBackgroundEffectButtonLabel?: string;
1804
- /**
1805
- * Tooltip text for the blur video background effect item
1806
- */
1807
- blurBackgroundTooltip?: string;
1808
- /**
1809
- * Label for the remove video background effect item
1810
- */
1811
- removeBackgroundEffectButtonLabel?: string;
1812
- /**
1813
- * Tooltip text for the blur video background effect item
1814
- */
1815
- removeBackgroundTooltip?: string;
1816
- /**
1817
- * Text to show when warning the user the camera is off and inform the user to turn the camera on to see the selected video background effect.
1818
- */
1819
- cameraOffBackgroundEffectWarningText?: string;
1820
- /**
1821
- * Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
1822
- */
1823
- deniedPermissionToRoomTitle: string;
1824
- /**
1825
- * More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
1826
- */
1827
- deniedPermissionToRoomDetails?: string;
1828
- /**
1829
- * Control bar People button ToolTipContent
1830
- */
1831
- peopleButtonTooltipOpen: string;
1832
- /**
1833
- * Control bar People button ToolTipContent
1834
- */
1835
- peopleButtonTooltipClose: string;
1836
- /**
1837
- * Label disaplayed on the lobby screen during a 1:1 outbound call.
1838
- */
1839
- outboundCallingNoticeString: string;
1840
1192
  /**
1841
1193
  * Notice to be announced by narrator when a participant joins a call
1842
1194
  */
@@ -1881,126 +1233,6 @@ export declare interface CallCompositeStrings {
1881
1233
  * string to be used to announce when multiple unnamed participants have left at the same time.
1882
1234
  */
1883
1235
  manyUnnamedParticipantsLeft: string;
1884
- /**
1885
- * string to be used to open live captions contextual menu
1886
- */
1887
- liveCaptionsLabel?: string;
1888
- /**
1889
- * label for opening captions setting modal
1890
- */
1891
- captionsSettingsLabel?: string;
1892
- /**
1893
- * string to be used to start captions
1894
- */
1895
- startCaptionsButtonOnLabel?: string;
1896
- /**
1897
- * string to be used to stop captions
1898
- */
1899
- startCaptionsButtonOffLabel?: string;
1900
- /**
1901
- * tooltip string to be used to show captions is on
1902
- */
1903
- startCaptionsButtonTooltipOnContent?: string;
1904
- /**
1905
- *tooltip string to be used to show captions is off
1906
- */
1907
- startCaptionsButtonTooltipOffContent?: string;
1908
- /**
1909
- * captions setting modal title
1910
- */
1911
- captionsSettingsModalTitle?: string;
1912
- /**
1913
- * label for dropdown inside captions setting modal
1914
- */
1915
- captionsSettingsDropdownLabel?: string;
1916
- /**
1917
- * text under captions setting dropdown indicating what the dropdown is for
1918
- */
1919
- captionsSettingsDropdownInfoText?: string;
1920
- /**
1921
- * confirm button label in captions setting modal
1922
- */
1923
- captionsSettingsConfirmButtonLabel?: string;
1924
- /**
1925
- * cancel button label in captions setting modal
1926
- */
1927
- captionsSettingsCancelButtonLabel?: string;
1928
- /**
1929
- * arial label for captions setting modal
1930
- */
1931
- captionsSettingsModalAriaLabel?: string;
1932
- /**
1933
- * arial label for captions setting modal close button
1934
- */
1935
- captionsSettingsCloseModalButtonAriaLabel?: string;
1936
- /**
1937
- * label for more button inside captions banner
1938
- */
1939
- captionsBannerMoreButtonCallingLabel?: string;
1940
- /**
1941
- * arial label for more button inside captions banner
1942
- */
1943
- captionsBannerMoreButtonTooltip?: string;
1944
- /**
1945
- * list of key value pairs that pairs language code to language names
1946
- */
1947
- captionsAvailableLanguageStrings?: CaptionsAvailableLanguageStrings;
1948
- /**
1949
- * captions banner loading spinner label
1950
- */
1951
- captionsBannerSpinnerText?: string;
1952
- /**
1953
- * transfer page text when showing the transferor who initiated the transfer
1954
- */
1955
- transferPageTransferorText: string;
1956
- /**
1957
- * transfer page text when showing the transfer target
1958
- */
1959
- transferPageTransferTargetText: string;
1960
- /**
1961
- * transfer page display name for unknown participant
1962
- */
1963
- transferPageUnknownTransferorDisplayName: string;
1964
- /**
1965
- * transfer page display name for unknown participant
1966
- */
1967
- transferPageUnknownTransferTargetDisplayName: string;
1968
- /**
1969
- * notice to be announced by narrator the transfer page is showing
1970
- */
1971
- transferPageNoticeString: string;
1972
- /**
1973
- * Title text of the page shown to the user when target participant could not be reached
1974
- */
1975
- participantCouldNotBeReachedTitle?: string;
1976
- /**
1977
- * More details text of the page shown to the user when target participant could not be reached
1978
- */
1979
- participantCouldNotBeReachedMoreDetails?: string;
1980
- /**
1981
- * Title text of the page shown to the user when permission to reach participant is not allowed
1982
- */
1983
- permissionToReachTargetParticipantNotAllowedTitle?: string;
1984
- /**
1985
- * More details text of the page shown to the user when permission to reach participant is not allowed
1986
- */
1987
- permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
1988
- /**
1989
- * Title text of the page shown to the user when tenant id for the target participant could not be resolved
1990
- */
1991
- unableToResolveTenantTitle?: string;
1992
- /**
1993
- * More details text of the page shown to the user when tenant id for the target participant could not be resolved
1994
- */
1995
- unableToResolveTenantMoreDetails?: string;
1996
- /**
1997
- * Title text of the page shown to the user when target participant id is malformed
1998
- */
1999
- participantIdIsMalformedTitle?: string;
2000
- /**
2001
- * More details text of the page shown to the user when target participant id is malformed
2002
- */
2003
- participantIdIsMalformedMoreDetails?: string;
2004
1236
  }
2005
1237
 
2006
1238
  /**
@@ -2023,7 +1255,6 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
2023
1255
  participantsButton?: boolean | {
2024
1256
  disabled: boolean;
2025
1257
  };
2026
- legacyControlBarExperience?: boolean;
2027
1258
  });
2028
1259
 
2029
1260
  /**
@@ -2085,7 +1316,7 @@ export declare type CallErrors = {
2085
1316
  *
2086
1317
  * @public
2087
1318
  */
2088
- export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant' | /* @conditional-compile-remove(video-background-effects) */ 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll';
1319
+ export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject';
2089
1320
 
2090
1321
  /**
2091
1322
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -2152,25 +1383,6 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
2152
1383
  isMuted?: boolean;
2153
1384
  /** Whether calling participant is speaking */
2154
1385
  isSpeaking?: boolean;
2155
- /** Role of participant in Rooms call */
2156
- role?: Role;
2157
- };
2158
-
2159
- /**
2160
- * Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
2161
- *
2162
- * @remarks
2163
- * This is currently in beta and only supports calling one Teams User.
2164
- *
2165
- * @example
2166
- * ```
2167
- * ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
2168
- * ```
2169
- *
2170
- * @beta
2171
- */
2172
- export declare type CallParticipantsLocator = {
2173
- participantIds: string[];
2174
1386
  };
2175
1387
 
2176
1388
  /**
@@ -2189,7 +1401,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
2189
1401
  */
2190
1402
  export declare interface CallProviderProps {
2191
1403
  children: React_2.ReactNode;
2192
- call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
1404
+ call?: Call;
2193
1405
  }
2194
1406
 
2195
1407
  /**
@@ -2203,10 +1415,6 @@ export declare interface CallState {
2203
1415
  * Proxy of {@link @azure/communication-calling#Call.id}.
2204
1416
  */
2205
1417
  id: string;
2206
- /**
2207
- * Type of the call.
2208
- */
2209
- kind: CallKind;
2210
1418
  /**
2211
1419
  * Proxy of {@link @azure/communication-calling#Call.callerInfo}.
2212
1420
  */
@@ -2261,14 +1469,6 @@ export declare interface CallState {
2261
1469
  * Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
2262
1470
  */
2263
1471
  transcription: TranscriptionCallFeature;
2264
- /**
2265
- * Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
2266
- */
2267
- captionsFeature: CaptionsCallFeatureState;
2268
- /**
2269
- * Proxy of {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
2270
- */
2271
- optimalVideoCount: OptimalVideoCountFeatureState;
2272
1472
  /**
2273
1473
  * Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
2274
1474
  */
@@ -2289,26 +1489,14 @@ export declare interface CallState {
2289
1489
  */
2290
1490
  startTime: Date;
2291
1491
  /**
2292
- * Stores the local date when the call ended on the client. This property is added by the stateful layer and is not
2293
- * a proxy of SDK state.
2294
- */
2295
- endTime: Date | undefined;
2296
- /**
2297
- * Stores the latest call diagnostics.
2298
- */
2299
- diagnostics: DiagnosticsCallFeatureState;
2300
- /**
2301
- * Proxy of {@link @azure/communication-calling#Call.role}.
2302
- */
2303
- role?: ParticipantRole;
2304
- /**
2305
- * Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
1492
+ * Stores the local date when the call ended on the client. This property is added by the stateful layer and is not
1493
+ * a proxy of SDK state.
2306
1494
  */
2307
- totalParticipantCount?: number;
1495
+ endTime: Date | undefined;
2308
1496
  /**
2309
- * Transfer state of call
1497
+ * Stores the latest call diagnostics.
2310
1498
  */
2311
- transfer: TransferFeature;
1499
+ diagnostics: DiagnosticsCallFeatureState;
2312
1500
  }
2313
1501
 
2314
1502
  /**
@@ -2332,20 +1520,25 @@ export declare interface CallWithChatAdapterManagement {
2332
1520
  * @public
2333
1521
  */
2334
1522
  removeParticipant(userId: string): Promise<void>;
2335
- /**
2336
- * Remove a participant from the call.
2337
- * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
2338
- * @beta
2339
- */
2340
- removeParticipant(participant: CommunicationIdentifier): Promise<void>;
2341
1523
  /**
2342
1524
  * Join the call with microphone initially on/off.
2343
- *
1525
+ * @deprecated Use joinCall(options?:JoinCallOptions) instead.
2344
1526
  * @param microphoneOn - Whether microphone is initially enabled
2345
1527
  *
2346
1528
  * @public
2347
1529
  */
2348
1530
  joinCall(microphoneOn?: boolean): Call | undefined;
1531
+ /**
1532
+ * Join the call with options bag to set microphone/camera initial state when joining call
1533
+ * true = turn on the device when joining call
1534
+ * false = turn off the device when joining call
1535
+ * 'keep'/undefined = retain devices' precall state
1536
+ *
1537
+ * @param options - param to set microphone/camera initially on/off/use precall state.
1538
+ *
1539
+ * @public
1540
+ */
1541
+ joinCall(options?: JoinCallOptions): Call | undefined;
2349
1542
  /**
2350
1543
  * Leave the call.
2351
1544
  *
@@ -2392,12 +1585,6 @@ export declare interface CallWithChatAdapterManagement {
2392
1585
  * @public
2393
1586
  */
2394
1587
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
2395
- /**
2396
- * Start the call.
2397
- * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
2398
- * @beta
2399
- */
2400
- startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
2401
1588
  /**
2402
1589
  * Start sharing the screen during a call.
2403
1590
  *
@@ -2575,97 +1762,6 @@ export declare interface CallWithChatAdapterManagement {
2575
1762
  * @public
2576
1763
  */
2577
1764
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
2578
- /** @beta */
2579
- registerActiveFileUploads: (files: File[]) => FileUploadManager[];
2580
- /** @beta */
2581
- registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
2582
- /** @beta */
2583
- clearFileUploads: () => void;
2584
- /** @beta */
2585
- cancelFileUpload: (id: string) => void;
2586
- /** @beta */
2587
- updateFileUploadProgress: (id: string, progress: number) => void;
2588
- /** @beta */
2589
- updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
2590
- /** @beta */
2591
- updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
2592
- downloadAttachments: (options: {
2593
- attachmentUrls: string[];
2594
- }) => Promise<AttachmentDownloadResult[]>;
2595
- /**
2596
- * Puts the Call in a Localhold.
2597
- *
2598
- * @beta
2599
- */
2600
- holdCall: () => Promise<void>;
2601
- /**
2602
- * Resumes the call from a LocalHold state.
2603
- *
2604
- * @beta
2605
- */
2606
- resumeCall: () => Promise<void>;
2607
- /**
2608
- * Adds a new Participant to the call.
2609
- *
2610
- * @beta
2611
- */
2612
- addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
2613
- addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
2614
- /**
2615
- * send dtmf tone to another participant in the call in 1:1 calls
2616
- *
2617
- * @beta
2618
- */
2619
- sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
2620
- /**
2621
- * Continues into a call when the browser version is not supported.
2622
- */
2623
- allowUnsupportedBrowserVersion(): void;
2624
- /**
2625
- * Function to Start captions
2626
- * @param options - options for start captions
2627
- */
2628
- startCaptions(options?: StartCaptionsOptions): Promise<void>;
2629
- /**
2630
- * Function to set caption language
2631
- * @param language - language set for caption
2632
- */
2633
- setCaptionLanguage(language: string): Promise<void>;
2634
- /**
2635
- * Function to set spoken language
2636
- * @param language - spoken language
2637
- */
2638
- setSpokenLanguage(language: string): Promise<void>;
2639
- /**
2640
- * Funtion to stop captions
2641
- */
2642
- stopCaptions(): Promise<void>;
2643
- /**
2644
- * Start the video background effect.
2645
- *
2646
- * @beta
2647
- */
2648
- startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
2649
- /**
2650
- * Stop the video background effect.
2651
- *
2652
- * @beta
2653
- */
2654
- stopVideoBackgroundEffects(): Promise<void>;
2655
- /**
2656
- * Override the background picker images for background replacement effect.
2657
- *
2658
- * @param backgroundImages - Array of custom background images.
2659
- *
2660
- * @beta
2661
- */
2662
- updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
2663
- /**
2664
- * Update the selected video background effect
2665
- *
2666
- * @beta
2667
- */
2668
- updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
2669
1765
  }
2670
1766
 
2671
1767
  /**
@@ -2693,8 +1789,6 @@ export declare interface CallWithChatAdapterSubscriptions {
2693
1789
  on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
2694
1790
  on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
2695
1791
  on(event: 'callError', listener: (e: AdapterError) => void): void;
2696
- on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
2697
- on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
2698
1792
  off(event: 'callEnded', listener: CallEndedListener): void;
2699
1793
  off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
2700
1794
  off(event: 'callIdChanged', listener: CallIdChangedListener): void;
@@ -2706,8 +1800,6 @@ export declare interface CallWithChatAdapterSubscriptions {
2706
1800
  off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
2707
1801
  off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
2708
1802
  off(event: 'callError', listener: (e: AdapterError) => void): void;
2709
- off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
2710
- off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
2711
1803
  on(event: 'messageReceived', listener: MessageReceivedListener): void;
2712
1804
  on(event: 'messageSent', listener: MessageSentListener): void;
2713
1805
  on(event: 'messageRead', listener: MessageReadListener): void;
@@ -2740,22 +1832,6 @@ export declare interface CallWithChatAdapterUiState {
2740
1832
  * @public
2741
1833
  */
2742
1834
  page: CallCompositePage;
2743
- /**
2744
- * Files being uploaded by a user in the current thread.
2745
- * Should be set to null once the upload is complete.
2746
- * Array of type {@link FileUploadsUiState}
2747
- *
2748
- * @beta
2749
- */
2750
- fileUploads?: FileUploadsUiState;
2751
- /**
2752
- * State to track whether the end user has opted in to using a
2753
- * out of date version of a supported browser. Allows the user
2754
- * to start a call in this state.
2755
- *
2756
- * @beta
2757
- */
2758
- unsupportedBrowserVersionsAllowed?: boolean;
2759
1835
  }
2760
1836
 
2761
1837
  /**
@@ -2780,14 +1856,6 @@ export declare interface CallWithChatClientState {
2780
1856
  devices: DeviceManagerState;
2781
1857
  /** State of whether the active call is a Teams interop call */
2782
1858
  isTeamsCall: boolean;
2783
- /** alternateCallerId for PSTN call */
2784
- alternateCallerId?: string | undefined;
2785
- /** Environment information for system adapter is made on */
2786
- environmentInfo?: EnvironmentInfo;
2787
- /** Default set of background images for background replacement effect */
2788
- videoBackgroundImages?: VideoBackgroundImage[];
2789
- /** State to track the selected video background effect */
2790
- selectedVideoBackgroundEffect?: VideoBackgroundEffect;
2791
1859
  }
2792
1860
 
2793
1861
  /**
@@ -2854,9 +1922,6 @@ export declare type CallWithChatCompositeIcons = {
2854
1922
  ParticipantItemScreenShareStart?: JSX.Element;
2855
1923
  VideoTileMicOff?: JSX.Element;
2856
1924
  LocalCameraSwitch?: JSX.Element;
2857
- PeoplePaneAddPerson?: JSX.Element;
2858
- PeoplePaneOpenDialpad?: JSX.Element;
2859
- DialpadStartCall?: JSX.Element;
2860
1925
  EditBoxCancel?: JSX.Element;
2861
1926
  EditBoxSubmit?: JSX.Element;
2862
1927
  MessageDelivered?: JSX.Element;
@@ -2883,62 +1948,6 @@ export declare type CallWithChatCompositeOptions = {
2883
1948
  * If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
2884
1949
  */
2885
1950
  callControls?: boolean | CallWithChatControlOptions;
2886
- /**
2887
- * Properties for configuring the File Sharing feature.
2888
- * If undefined, file sharing feature will be disabled.
2889
- * @beta
2890
- */
2891
- fileSharing?: FileSharingOptions;
2892
- /**
2893
- * Device permissions check options for your call.
2894
- * Here you can choose what device permissions you prompt the user for,
2895
- * as well as what device permissions must be accepted before starting a call.
2896
- */
2897
- deviceChecks?: DeviceCheckOptions;
2898
- /**
2899
- * Callback you may provide to supply users with further steps to troubleshoot why they have been
2900
- * unable to grant your site the required permissions for the call.
2901
- *
2902
- * @example
2903
- * ```ts
2904
- * onPermissionsTroubleshootingClick: () =>
2905
- * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
2906
- * ```
2907
- *
2908
- * @remarks
2909
- * if this is not supplied, the composite will not show a 'further troubleshooting' link.
2910
- */
2911
- onPermissionsTroubleshootingClick?: (permissionsState: {
2912
- camera: PermissionState;
2913
- microphone: PermissionState;
2914
- }) => void;
2915
- /**
2916
- * Optional callback to supply users with further troubleshooting steps for network issues
2917
- * experienced when connecting to a call.
2918
- *
2919
- * @example
2920
- * ```ts
2921
- * onNetworkingTroubleShootingClick?: () =>
2922
- * window.open('https://contoso.com/network-troubleshooting', '_blank');
2923
- * ```
2924
- *
2925
- * @remarks
2926
- * if this is not supplied, the composite will not show a 'network troubleshooting' link.
2927
- */
2928
- onNetworkingTroubleShootingClick?: () => void;
2929
- /**
2930
- * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
2931
- *
2932
- * @example
2933
- * ```ts
2934
- * onBrowserTroubleShootingClick?: () =>
2935
- * window.open('https://contoso.com/browser-troubleshooting', '_blank');
2936
- * ```
2937
- *
2938
- * @remarks
2939
- * if this is not supplied, the composite will not show a unsupported browser page.
2940
- */
2941
- onEnvironmentInfoTroubleshootingClick?: () => void;
2942
1951
  };
2943
1952
 
2944
1953
  /**
@@ -3024,18 +2033,6 @@ export declare interface CallWithChatCompositeStrings {
3024
2033
  * Only used with `mobileView` set to `true`.
3025
2034
  */
3026
2035
  moreDrawerSpeakerMenuTitle: string;
3027
- /**
3028
- * Title for the captions sub-menu in more button drawer.
3029
- *
3030
- * Only used with `mobileView` set to `true`.
3031
- */
3032
- moreDrawerCaptionsMenuTitle: string;
3033
- /**
3034
- * Title for the spoken language sub-menu in more button drawer.
3035
- *
3036
- * Only used with `mobileView` set to `true`.
3037
- */
3038
- moreDrawerSpokenLanguageMenuTitle: string;
3039
2036
  /**
3040
2037
  * {@Link CallWithChatComposite} control bar More button label
3041
2038
  */
@@ -3076,10 +2073,6 @@ export declare interface CallWithChatCompositeStrings {
3076
2073
  * Label for button to copy invite link
3077
2074
  */
3078
2075
  copyInviteLinkButtonLabel: string;
3079
- /**
3080
- * Label for button to open dialpad
3081
- */
3082
- openDialpadButtonLabel: string;
3083
2076
  /**
3084
2077
  * Label for SidePaneHeader dismiss button
3085
2078
  */
@@ -3092,34 +2085,6 @@ export declare interface CallWithChatCompositeStrings {
3092
2085
  * Aria label string for return to call back button
3093
2086
  */
3094
2087
  returnToCallButtonAriaLabel?: string;
3095
- /**
3096
- * Label for add people dropdown
3097
- */
3098
- peoplePaneAddPeopleButtonLabel: string;
3099
- /**
3100
- * Label for button to start a call
3101
- */
3102
- dialpadStartCallButtonLabel: string;
3103
- /**
3104
- * Title for dialpad Modal
3105
- */
3106
- dialpadModalTitle: string;
3107
- /**
3108
- * Aria Label for dialpad Modal
3109
- */
3110
- dialpadModalAriaLabel: string;
3111
- /**
3112
- * Aria Label for dialpad Modal close button
3113
- */
3114
- dialpadCloseModalButtonAriaLabel: string;
3115
- /**
3116
- * Placeholder text for dtmf dialpad
3117
- */
3118
- dtmfDialpadPlaceholderText: string;
3119
- /**
3120
- * Label for the button to open dtmf dialpad
3121
- */
3122
- openDtmfDialpadLabel: string;
3123
2088
  /**
3124
2089
  * aria label for when the invite link has been actioned
3125
2090
  */
@@ -3136,9 +2101,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
3136
2101
  * Show or hide the chat button in the call-with-chat composite control bar.
3137
2102
  * @defaultValue true
3138
2103
  */
3139
- chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
3140
- disabled: boolean;
3141
- };
2104
+ chatButton?: boolean;
3142
2105
  }
3143
2106
 
3144
2107
  /**
@@ -3146,36 +2109,7 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
3146
2109
  *
3147
2110
  * @public
3148
2111
  */
3149
- export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
3150
-
3151
- /**
3152
- * @beta
3153
- *
3154
- * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3155
- * by their browsers settings.
3156
- */
3157
- export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
3158
-
3159
- /**
3160
- * @beta
3161
- * Props for CameraAndMicrophoneSitePermissions component.
3162
- */
3163
- export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
3164
- /** Icon name for the camera icon */
3165
- cameraIconName?: string;
3166
- /** Icon name for the microphone icon */
3167
- microphoneIconName?: string;
3168
- /** Icon name for the central icon between the camera and microphone icons */
3169
- connectorIconName?: string;
3170
- /** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
3171
- strings?: CameraAndMicrophoneSitePermissionsStrings;
3172
- }
3173
-
3174
- /**
3175
- * @beta
3176
- * Strings for CameraAndMicrophoneSitePermissions component.
3177
- */
3178
- export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
2112
+ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
3179
2113
 
3180
2114
  /**
3181
2115
  * A button to turn camera on / off.
@@ -3239,10 +2173,6 @@ export declare interface CameraButtonProps extends ControlBarButtonProps {
3239
2173
  * Styles for {@link CameraButton} and the device selection flyout.
3240
2174
  */
3241
2175
  styles?: Partial<CameraButtonStyles>;
3242
- /**
3243
- * Callback when a effects is clicked
3244
- */
3245
- onShowVideoEffectsPicker?: (showVideoEffectsOptions: boolean) => void;
3246
2176
  }
3247
2177
 
3248
2178
  /**
@@ -3315,10 +2245,6 @@ export declare interface CameraButtonStrings {
3315
2245
  * Title for primary action section of split button
3316
2246
  */
3317
2247
  cameraPrimaryActionSplitButtonTitle?: string;
3318
- /**
3319
- * Title for video effects menu item
3320
- */
3321
- videoEffectsMenuItemTitle?: string;
3322
2248
  }
3323
2249
 
3324
2250
  /**
@@ -3333,177 +2259,18 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
3333
2259
  menuStyles?: Partial<CameraButtonContextualMenuStyles>;
3334
2260
  }
3335
2261
 
3336
- /**
3337
- * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3338
- * by their browsers settings.
3339
- *
3340
- * @beta
3341
- */
3342
- export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
3343
-
3344
- /**
3345
- * @beta
3346
- * Props for CameraSitePermissions component.
3347
- */
3348
- export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
3349
- /** Icon name for the camera icon */
3350
- cameraIconName?: string;
3351
- /** Strings for use with the {@link CameraSitePermissions} */
3352
- strings?: CameraSitePermissionsStrings;
3353
- }
3354
-
3355
- /**
3356
- * @beta
3357
- * Strings for CameraSitePermissions component.
3358
- */
3359
- export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
3360
-
3361
2262
  /**
3362
2263
  * @public
3363
2264
  * Callback function run when a message edit is cancelled.
3364
2265
  */
3365
2266
  export declare type CancelEditCallback = (messageId: string) => void;
3366
2267
 
3367
- /**
3368
- * @beta
3369
- * strings for captions setting modal
3370
- */
3371
- export declare interface CaptionsAvailableLanguageStrings {
3372
- 'ar-ae': string;
3373
- 'ar-sa': string;
3374
- 'da-dk': string;
3375
- 'de-de': string;
3376
- 'en-au': string;
3377
- 'en-ca': string;
3378
- 'en-gb': string;
3379
- 'en-in': string;
3380
- 'en-nz': string;
3381
- 'en-us': string;
3382
- 'es-es': string;
3383
- 'es-mx': string;
3384
- 'fi-fi': string;
3385
- 'fr-ca': string;
3386
- 'fr-fr': string;
3387
- 'hi-in': string;
3388
- 'it-it': string;
3389
- 'ja-jp': string;
3390
- 'ko-kr': string;
3391
- 'nb-no': string;
3392
- 'nl-be': string;
3393
- 'nl-nl': string;
3394
- 'pl-pl': string;
3395
- 'pt-br': string;
3396
- 'ru-ru': string;
3397
- 'sv-se': string;
3398
- 'zh-cn': string;
3399
- 'zh-hk': string;
3400
- 'cs-cz': string;
3401
- 'pt-pt': string;
3402
- 'tr-tr': string;
3403
- 'vi-vn': string;
3404
- 'th-th': string;
3405
- 'he-il': string;
3406
- 'cy-gb': string;
3407
- 'uk-ua': string;
3408
- 'el-gr': string;
3409
- 'hu-hu': string;
3410
- 'ro-ro': string;
3411
- 'sk-sk': string;
3412
- 'zh-tw': string;
3413
- }
3414
-
3415
- /**
3416
- * @beta
3417
- */
3418
- export declare interface CaptionsCallFeatureState {
3419
- /**
3420
- * supported spoken languages
3421
- */
3422
- supportedSpokenLanguages: string[];
3423
- /**
3424
- * array of received captions
3425
- */
3426
- captions: CaptionsInfo[];
3427
- /**
3428
- * whether captions is on/off
3429
- */
3430
- isCaptionsFeatureActive: boolean;
3431
- /**
3432
- * whether start captions button is clicked or now
3433
- */
3434
- startCaptionsInProgress: boolean;
3435
- /**
3436
- * supported caption languages
3437
- */
3438
- supportedCaptionLanguages: string[];
3439
- /**
3440
- * current spoken language
3441
- */
3442
- currentSpokenLanguage: string;
3443
- /**
3444
- * current caption language
3445
- */
3446
- currentCaptionLanguage: string;
3447
- }
3448
-
3449
- /**
3450
- * @beta
3451
- */
3452
- export declare interface CaptionsInfo {
3453
- /**
3454
- * The state in which this caption data can be classified.
3455
- */
3456
- resultType: CaptionsResultType;
3457
- /**
3458
- * The information of the call participant who spoke the captioned text.
3459
- */
3460
- speaker: CallerInfo;
3461
- /**
3462
- * The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage.
3463
- */
3464
- spokenLanguage: string;
3465
- /**
3466
- * The caption text.
3467
- */
3468
- captionText: string;
3469
- /**
3470
- * Timestamp of when the captioned words were initially spoken.
3471
- */
3472
- timestamp: Date;
3473
- /**
3474
- * The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage.
3475
- */
3476
- captionLanguage?: string;
3477
- /**
3478
- * The original spoken caption text prior to translating to subtitle language
3479
- */
3480
- spokenText?: string;
3481
- }
3482
-
3483
- /**
3484
- * options bag to start captions
3485
- *
3486
- * @beta
3487
- */
3488
- export declare type CaptionsOptions = {
3489
- spokenLanguage: string;
3490
- };
3491
-
3492
- /**
3493
- * Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
3494
- *
3495
- * @beta
3496
- */
3497
- export declare type CaptionsReceivedListener = (event: {
3498
- captionsInfo: CaptionsInfo;
3499
- }) => void;
3500
-
3501
2268
  /**
3502
2269
  * {@link ChatComposite} Adapter interface.
3503
2270
  *
3504
2271
  * @public
3505
2272
  */
3506
- export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers & /* @conditional-compile-remove(file-sharing) */ FileUploadAdapter;
2273
+ export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
3507
2274
 
3508
2275
  /**
3509
2276
  * {@link ChatAdapter} state.
@@ -3611,9 +2378,7 @@ export declare interface ChatAdapterThreadManagement {
3611
2378
  /**
3612
2379
  * Update a message content.
3613
2380
  */
3614
- updateMessage(messageId: string, content: string, metadata?: Record<string, string>, /* @conditional-compile-remove(file-sharing) */ options?: {
3615
- attachedFilesMetadata?: FileMetadata[];
3616
- }): Promise<void>;
2381
+ updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
3617
2382
  /**
3618
2383
  * Delete a message in the thread.
3619
2384
  */
@@ -3626,9 +2391,6 @@ export declare interface ChatAdapterThreadManagement {
3626
2391
  *
3627
2392
  */
3628
2393
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
3629
- downloadAttachments: (options: {
3630
- attachmentUrls: string[];
3631
- }) => Promise<AttachmentDownloadResult[]>;
3632
2394
  }
3633
2395
 
3634
2396
  /**
@@ -3638,13 +2400,6 @@ export declare interface ChatAdapterThreadManagement {
3638
2400
  */
3639
2401
  export declare type ChatAdapterUiState = {
3640
2402
  error?: Error;
3641
- /**
3642
- * Files being uploaded by a user in the current thread.
3643
- * Should be set to null once the upload is complete.
3644
- * Array of type {@link FileUploadsUiState}
3645
- * @beta
3646
- */
3647
- fileUploads?: FileUploadsUiState;
3648
2403
  };
3649
2404
 
3650
2405
  /**
@@ -3747,7 +2502,6 @@ export declare type ChatCompositeIcons = {
3747
2502
  ParticipantItemOptionsHovered?: JSX.Element;
3748
2503
  SendBoxSend?: JSX.Element;
3749
2504
  SendBoxSendHovered?: JSX.Element;
3750
- SendBoxAttachFile?: JSX.Element;
3751
2505
  };
3752
2506
 
3753
2507
  /**
@@ -3762,13 +2516,6 @@ export declare type ChatCompositeOptions = {
3762
2516
  * @defaultValue true
3763
2517
  */
3764
2518
  errorBar?: boolean;
3765
- /**
3766
- * Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
3767
- * @defaultValue false
3768
- *
3769
- * @beta
3770
- */
3771
- participantPane?: boolean;
3772
2519
  /**
3773
2520
  * Show or hide the topic at the top of the chat. Hidden if set to `false`
3774
2521
  * @defaultValue true
@@ -3779,12 +2526,6 @@ export declare type ChatCompositeOptions = {
3779
2526
  * When undefined nothing has focus on render
3780
2527
  */
3781
2528
  autoFocus?: 'sendBoxTextField';
3782
- /**
3783
- * Properties for configuring the File Sharing feature.
3784
- * If undefined, file sharing feature will be disabled.
3785
- * @beta
3786
- */
3787
- fileSharing?: FileSharingOptions;
3788
2529
  };
3789
2530
 
3790
2531
  /**
@@ -3812,12 +2553,6 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
3812
2553
  * Flags to enable/disable visual elements of the {@link ChatComposite}.
3813
2554
  */
3814
2555
  options?: ChatCompositeOptions;
3815
- /**
3816
- * Optimizes the composite form factor for either desktop or mobile.
3817
- * @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
3818
- * @defaultValue 'desktop'
3819
- */
3820
- formFactor?: 'desktop' | 'mobile';
3821
2556
  }
3822
2557
 
3823
2558
  /**
@@ -3832,10 +2567,6 @@ export declare interface ChatCompositeStrings {
3832
2567
  * Chat list header text
3833
2568
  */
3834
2569
  chatListHeader: string;
3835
- /**
3836
- * Upload File Button text
3837
- */
3838
- uploadFile: string;
3839
2570
  }
3840
2571
 
3841
2572
  /**
@@ -3901,9 +2632,7 @@ export declare type ChatHandlers = {
3901
2632
  onRemoveParticipant: (userId: string) => Promise<void>;
3902
2633
  updateThreadTopicName: (topicName: string) => Promise<void>;
3903
2634
  onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
3904
- onUpdateMessage: (messageId: string, content: string, /* @conditional-compile-remove(file-sharing) */ metadata?: Record<string, string>, /* @conditional-compile-remove(file-sharing) */ options?: {
3905
- attachedFilesMetadata?: FileMetadata[];
3906
- }) => Promise<void>;
2635
+ onUpdateMessage: (messageId: string, content: string) => Promise<void>;
3907
2636
  onDeleteMessage: (messageId: string) => Promise<void>;
3908
2637
  };
3909
2638
 
@@ -3930,12 +2659,6 @@ export declare interface ChatMessage extends MessageCommon {
3930
2659
  * {@link @azure/communication-chat#ChatMessage.metadata}
3931
2660
  */
3932
2661
  metadata?: Record<string, string>;
3933
- /**
3934
- * @beta
3935
- * A list of files attached to the message.
3936
- * {@link FileMetadata}
3937
- */
3938
- attachedFilesMetadata?: FileMetadata[];
3939
2662
  }
3940
2663
 
3941
2664
  /**
@@ -3949,7 +2672,6 @@ export declare interface ChatMessage extends MessageCommon {
3949
2672
  export declare type ChatMessageWithStatus = ChatMessage_2 & {
3950
2673
  clientMessageId?: string;
3951
2674
  status: MessageStatus;
3952
- policyViolation?: boolean;
3953
2675
  };
3954
2676
 
3955
2677
  /**
@@ -4069,46 +2791,33 @@ export declare type Common<A, B> = Pick<A, CommonProperties<A, B>>;
4069
2791
  export declare interface CommonCallAdapter extends AdapterState<CallAdapterState>, Disposable, CallAdapterCallOperations, CallAdapterDeviceManagement, CallAdapterSubscribers {
4070
2792
  /**
4071
2793
  * Join the call with microphone initially on/off.
4072
- *
2794
+ * @deprecated Use joinCall(options?:JoinCallOptions) instead.
4073
2795
  * @param microphoneOn - Whether microphone is initially enabled
4074
2796
  *
4075
2797
  * @public
4076
2798
  */
4077
2799
  joinCall(microphoneOn?: boolean): void;
4078
2800
  /**
4079
- * Start the call.
2801
+ * Join the call with options bag to set microphone/camera initial state when joining call
2802
+ * true = turn on the device when joining call
2803
+ * false = turn off the device when joining call
2804
+ * 'keep'/undefined = retain devices' precall state
4080
2805
  *
4081
- * @param participants - An array of participant ids to join
2806
+ * @param options - param to set microphone/camera initially on/off/use precall state.
4082
2807
  *
4083
2808
  * @public
4084
2809
  */
4085
- startCall(participants: string[], options?: StartCallOptions): void;
2810
+ joinCall(options?: JoinCallOptions): void;
4086
2811
  /**
4087
2812
  * Start the call.
4088
- * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
4089
- * @beta
2813
+ *
2814
+ * @param participants - An array of participant ids to join
2815
+ *
2816
+ * @public
4090
2817
  */
4091
- startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
2818
+ startCall(participants: string[], options?: StartCallOptions): void;
4092
2819
  }
4093
2820
 
4094
- /**
4095
- * Common optional parameters to create {@link AzureCommunicationCallAdapter} or {@link TeamsCallAdapter}
4096
- *
4097
- * @beta
4098
- */
4099
- export declare type CommonCallAdapterOptions = {
4100
- /**
4101
- * Default set of background images for background image picker.
4102
- */
4103
- videoBackgroundImages?: VideoBackgroundImage[];
4104
- /**
4105
- * Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
4106
- * The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
4107
- * and would not be updated again within the lifecycle of adapter.
4108
- */
4109
- onFetchProfile?: OnFetchProfileCallback;
4110
- };
4111
-
4112
2821
  /**
4113
2822
  * Customization options for the control bar in calling experience.
4114
2823
  *
@@ -4129,9 +2838,7 @@ export declare type CommonCallControlOptions = {
4129
2838
  * Show or Hide Camera Button during a call
4130
2839
  * @defaultValue true
4131
2840
  */
4132
- cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4133
- disabled: boolean;
4134
- };
2841
+ cameraButton?: boolean;
4135
2842
  /**
4136
2843
  * Show or Hide EndCall button during a call.
4137
2844
  * @defaultValue true
@@ -4141,16 +2848,12 @@ export declare type CommonCallControlOptions = {
4141
2848
  * Show or Hide Microphone button during a call.
4142
2849
  * @defaultValue true
4143
2850
  */
4144
- microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4145
- disabled: boolean;
4146
- };
2851
+ microphoneButton?: boolean;
4147
2852
  /**
4148
2853
  * Show or Hide Devices button during a call.
4149
2854
  * @defaultValue true
4150
2855
  */
4151
- devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4152
- disabled: boolean;
4153
- };
2856
+ devicesButton?: boolean;
4154
2857
  /**
4155
2858
  * Show, Hide or Disable participants button during a call.
4156
2859
  * @defaultValue true
@@ -4162,30 +2865,14 @@ export declare type CommonCallControlOptions = {
4162
2865
  * Show, Hide or Disable the screen share button during a call.
4163
2866
  * @defaultValue true
4164
2867
  */
4165
- screenShareButton?: boolean | {
4166
- disabled: boolean;
4167
- };
4168
- /**
4169
- * Show, Hide or disable the more button during a call.
4170
- * @defaultValue true
4171
- */
4172
- moreButton?: boolean;
4173
- /**
4174
- * Inject custom buttons in the call controls.
4175
- *
4176
- * @beta
4177
- */
4178
- onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
4179
- holdButton?: boolean | {
2868
+ screenShareButton?: boolean | {
4180
2869
  disabled: boolean;
4181
2870
  };
4182
2871
  /**
4183
2872
  * Show or hide the people button in the composite control bar.
4184
2873
  * @defaultValue true
4185
2874
  */
4186
- peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4187
- disabled: boolean;
4188
- };
2875
+ peopleButton?: boolean;
4189
2876
  };
4190
2877
 
4191
2878
  /**
@@ -4207,9 +2894,6 @@ export declare interface CommonCallingHandlers {
4207
2894
  onStopScreenShare: () => Promise<void>;
4208
2895
  onToggleScreenShare: () => Promise<void>;
4209
2896
  onHangUp: (forEveryone?: boolean) => Promise<void>;
4210
- onToggleHold: () => Promise<void>;
4211
- onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
4212
- onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
4213
2897
  onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
4214
2898
  onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
4215
2899
  /**
@@ -4219,18 +2903,8 @@ export declare interface CommonCallingHandlers {
4219
2903
  onDisposeLocalStreamView: () => Promise<void>;
4220
2904
  onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
4221
2905
  onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
4222
- onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
4223
2906
  onRemoveParticipant(userId: string): Promise<void>;
4224
- onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
4225
- askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
4226
2907
  onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
4227
- onRemoveVideoBackgroundEffects: () => Promise<void>;
4228
- onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
4229
- onReplaceVideoBackground: (backgroundReplacementConfig: BackgroundReplacementConfig) => Promise<void>;
4230
- onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
4231
- onStopCaptions: () => Promise<void>;
4232
- onSetSpokenLanguage: (language: string) => Promise<void>;
4233
- onSetCaptionLanguage: (language: string) => Promise<void>;
4234
2908
  }
4235
2909
 
4236
2910
  /**
@@ -4242,39 +2916,6 @@ export declare type CommonProperties<A, B> = {
4242
2916
  [P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
4243
2917
  }[keyof A & keyof B];
4244
2918
 
4245
- /**
4246
- * @beta
4247
- * Props for SitePermissions components.
4248
- */
4249
- export declare interface CommonSitePermissionsProps {
4250
- /**
4251
- * Name of application calling experience is in.
4252
- */
4253
- appName: string;
4254
- /**
4255
- * Kind of the Site Permissions component.
4256
- */
4257
- kind: 'request' | 'denied' | 'check';
4258
- /**
4259
- * Type of the browser used, the Site permission component will show different guidance text based on the browser type
4260
- */
4261
- browserHint?: 'safari' | 'unset';
4262
- /**
4263
- * Action to be taken by the more help link. Possible to send to external page or show other modal.
4264
- * If this is not provided the button will not be shown.
4265
- */
4266
- onTroubleshootingClick?: () => void;
4267
- /**
4268
- * Action that is taken when the user clicks the continue anyway button.
4269
- * If this is not provided the button will not be shown.
4270
- */
4271
- onContinueAnywayClick?: () => void;
4272
- /**
4273
- * Styles for SitePermissions component.
4274
- */
4275
- styles?: SitePermissionsStyles;
4276
- }
4277
-
4278
2919
  /**
4279
2920
  * A Chat or Calling participant's state, as reflected in the UI.
4280
2921
  *
@@ -4451,11 +3092,6 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
4451
3092
  export declare interface ComponentLocale {
4452
3093
  /** Strings for components */
4453
3094
  strings: ComponentStrings;
4454
- /**
4455
- * Optional function to provide customized date format.
4456
- * @beta
4457
- */
4458
- onDisplayDateTimeString?: (messageDate: Date) => string;
4459
3095
  }
4460
3096
 
4461
3097
  /**
@@ -4499,58 +3135,12 @@ export declare interface ComponentStrings {
4499
3135
  typingIndicator: TypingIndicatorStrings;
4500
3136
  /** Strings for SendBox */
4501
3137
  sendBox: SendBoxStrings;
4502
- /** Strings for MentionPopover */
4503
- mentionPopover: MentionPopoverStrings;
4504
3138
  /** Strings for MessageStatusIndicator */
4505
3139
  messageStatusIndicator: MessageStatusIndicatorStrings;
4506
3140
  /** Strings for ErroBar */
4507
3141
  errorBar: ErrorBarStrings;
4508
3142
  /** Strings for VideoGallery */
4509
3143
  videoGallery: VideoGalleryStrings;
4510
- /** Strings for Dialpad */
4511
- dialpad: DialpadStrings;
4512
- /** Strings for VideoTile */
4513
- videoTile: VideoTileStrings;
4514
- /** Strings for HoldButton */
4515
- holdButton: HoldButtonStrings;
4516
- /** Strings for a site's permission request prompt */
4517
- CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
4518
- /** Strings for a site's permission request prompt */
4519
- CameraSitePermissionsRequest: SitePermissionsStrings;
4520
- /** Strings for a site's permission request prompt */
4521
- MicrophoneSitePermissionsRequest: SitePermissionsStrings;
4522
- /** Strings for a site's permission generic checking prompt */
4523
- CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
4524
- /** Strings for a site's permission generic checking prompt */
4525
- CameraSitePermissionsCheck: SitePermissionsStrings;
4526
- /** Strings for a site's permission generic checking prompt */
4527
- MicrophoneSitePermissionsCheck: SitePermissionsStrings;
4528
- /** Strings for a site's permission denied prompt */
4529
- CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
4530
- /** Strings for a site's permission denied prompt for safari browsers*/
4531
- CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
4532
- /** Strings for a site's permission denied prompt */
4533
- CameraSitePermissionsDenied: SitePermissionsStrings;
4534
- /** Strings for a site's permission denied prompt */
4535
- MicrophoneSitePermissionsDenied: SitePermissionsStrings;
4536
- /** Strings for a site's permission denied prompt for safari browsers*/
4537
- CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
4538
- /** Strings for a site's permission denied prompt for safari browsers*/
4539
- MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
4540
- /** Strings for unsupported browser UI */
4541
- UnsupportedBrowser: UnsupportedBrowserStrings;
4542
- /** Strings for unsupported browser version UI */
4543
- UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
4544
- /** Strings for unsupported browser version UI */
4545
- UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
4546
- /** Strings for BrowserPemissionDenied */
4547
- BrowserPermissionDenied: BrowserPermissionDeniedStrings;
4548
- /** Strings for BrowserPemissionDeniedIOS */
4549
- BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
4550
- /**
4551
- * Strings for the VerticalGallery.
4552
- */
4553
- VerticalGallery: VerticalGalleryStrings;
4554
3144
  }
4555
3145
 
4556
3146
  /**
@@ -4907,7 +3497,7 @@ export declare interface ControlBarProps {
4907
3497
  *
4908
3498
  * @public
4909
3499
  */
4910
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
3500
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4911
3501
 
4912
3502
  /**
4913
3503
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -4917,7 +3507,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
4917
3507
  *
4918
3508
  * @public
4919
3509
  */
4920
- export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, /* @conditional-compile-remove(rooms) */ /* @conditional-compile-remove(video-background-effects) */ options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
3510
+ export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator) => Promise<CallAdapter>;
4921
3511
 
4922
3512
  /**
4923
3513
  * Create a CallWithChatAdapter backed by Azure Communication services
@@ -4925,7 +3515,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
4925
3515
  *
4926
3516
  * @public
4927
3517
  */
4928
- export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
3518
+ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
4929
3519
 
4930
3520
  /**
4931
3521
  * Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
@@ -4935,7 +3525,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
4935
3525
  *
4936
3526
  * @public
4937
3527
  */
4938
- export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, options }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
3528
+ export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
4939
3529
 
4940
3530
  /**
4941
3531
  * Create a {@link ChatAdapter} backed by Azure Communication Services.
@@ -4954,9 +3544,14 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
4954
3544
  *
4955
3545
  * @public
4956
3546
  */
4957
- export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ options?: {
4958
- credential?: CommunicationTokenCredential;
4959
- }): Promise<ChatAdapter>;
3547
+ export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
3548
+
3549
+ /**
3550
+ * Type of {@link createDefaultCallingHandlers}.
3551
+ *
3552
+ * @public
3553
+ */
3554
+ export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined) => CallingHandlers;
4960
3555
 
4961
3556
  /**
4962
3557
  * Create the default implementation of {@link CallingHandlers} for teams call.
@@ -4966,7 +3561,7 @@ export declare function createAzureCommunicationChatAdapterFromClient(chatClient
4966
3561
  *
4967
3562
  * @public
4968
3563
  */
4969
- export declare const createDefaultCallingHandlers: (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined) => CallingHandlers;
3564
+ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
4970
3565
 
4971
3566
  /**
4972
3567
  * Create the default implementation of {@link ChatHandlers}.
@@ -4980,16 +3575,6 @@ export declare const createDefaultCallingHandlers: (callClient: StatefulCallClie
4980
3575
  */
4981
3576
  export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
4982
3577
 
4983
- /**
4984
- * Create the default implementation of {@link TeamsCallingHandlers} for teams call.
4985
- *
4986
- * Useful when implementing a custom component that utilizes the providers
4987
- * exported from this library.
4988
- *
4989
- * @beta
4990
- */
4991
- export declare const createDefaultTeamsCallingHandlers: (callClient: StatefulCallClient, callAgent: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent, deviceManager: StatefulDeviceManager | undefined, call: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall) => never | TeamsCallingHandlers;
4992
-
4993
3578
  /**
4994
3579
  * Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
4995
3580
  * {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
@@ -5015,21 +3600,6 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
5015
3600
  */
5016
3601
  export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
5017
3602
 
5018
- /**
5019
- * @beta
5020
- */
5021
- export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
5022
-
5023
- /**
5024
- * Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
5025
- *
5026
- * Useful if you want to keep a reference to {@link StatefulCallClient}.
5027
- * Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
5028
- *
5029
- * @beta
5030
- */
5031
- export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
5032
-
5033
3603
  /**
5034
3604
  * Object returned after creating a local or remote VideoStream.
5035
3605
  * This contains helper functions to manipulate the render of the stream.
@@ -5080,146 +3650,8 @@ export declare type CustomAvatarOptions = {
5080
3650
  styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
5081
3651
  /** Display name to be used in Persona */
5082
3652
  text?: string;
5083
- /** State for the participant to be displayed in the defaultPlaceHolder */
5084
- participantState?: ParticipantState;
5085
- /**
5086
- * If true, show the special coin for unknown persona.
5087
- * It has '?' in place of initials, with static font and background colors
5088
- */
5089
- showUnknownPersonaCoin?: boolean;
5090
3653
  };
5091
3654
 
5092
- /**
5093
- * A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
5094
- *
5095
- * The response indicates where the custom button should be placed.
5096
- *
5097
- * Performance tip: This callback is only called when either the callback or its arguments change.
5098
- * @beta
5099
- */
5100
- declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
5101
- export { CustomCallControlButtonCallback }
5102
- export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
5103
-
5104
- /**
5105
- * Arguments for {@link CustomCallControlButtonCallback}.
5106
- *
5107
- * @beta
5108
- */
5109
- export declare interface CustomCallControlButtonCallbackArgs {
5110
- /**
5111
- * Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
5112
- *
5113
- * @defaultValue `'default'`
5114
- */
5115
- displayType?: CallControlDisplayType;
5116
- }
5117
-
5118
- /**
5119
- * Placement for a custom button injected in the {@link CommonCallControlBar}.
5120
- *
5121
- * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
5122
- * 'overflow': Place the buttons(s) on the end of the overflow Menu.
5123
- * 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
5124
- *
5125
- * Multiple buttons assigned the same placement are appended in order.
5126
- * E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
5127
- * in the order provided.
5128
- *
5129
- * Only 'primary' placement works when legacy call control is enabled in call composite
5130
- *
5131
- * @beta
5132
- */
5133
- declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
5134
- export { CustomCallControlButtonPlacement }
5135
- export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
5136
-
5137
- /**
5138
- * Response from {@link CustomCallControlButtonCallback}.
5139
- *
5140
- * Includes the placement prop necessary to indicate where to place the
5141
- * {@link ControlBarButton} and a {@link DrawerMenuItem}
5142
- *
5143
- * @beta
5144
- */
5145
- export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
5146
- /**
5147
- * Where to place the custom button relative to other buttons.
5148
- */
5149
- placement: CustomCallControlButtonPlacement;
5150
- /**
5151
- * Icon to render. Icon is a non-default icon name that needs to be registered as a
5152
- * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
5153
- */
5154
- iconName?: string;
5155
- }
5156
-
5157
- /**
5158
- * Response from {@link CustomCallControlButtonCallback}.
5159
- *
5160
- * Includes the icon and placement prop necessary to indicate where to place the
5161
- * {@link ControlBarButton} and a {@link DrawerMenuItem}
5162
- *
5163
- * @beta
5164
- */
5165
- export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
5166
- /**
5167
- * Where to place the custom button relative to other buttons.
5168
- */
5169
- placement: CustomCallControlButtonPlacement;
5170
- /**
5171
- * Icon to render. Icon is a non-default icon name that needs to be registered as a
5172
- * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
5173
- */
5174
- iconName?: string;
5175
- }
5176
-
5177
- /**
5178
- * Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
5179
- *
5180
- * @beta
5181
- */
5182
- export declare interface CustomControlButtonProps {
5183
- /**
5184
- * Calback for when button is clicked
5185
- */
5186
- onItemClick?: () => void;
5187
- /**
5188
- * Whether the buttons is disabled
5189
- */
5190
- disabled?: boolean;
5191
- /**
5192
- * Whether the label is displayed or not.
5193
- *
5194
- * @defaultValue `false`
5195
- */
5196
- showLabel?: boolean;
5197
- /**
5198
- * Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
5199
- */
5200
- styles?: ControlBarButtonStyles | BaseCustomStyles;
5201
- /**
5202
- * Optional label for the button
5203
- */
5204
- text?: string;
5205
- /**
5206
- * A unique key for the button
5207
- */
5208
- key?: string | number;
5209
- /**
5210
- * The aria label of the button for the benefit of screen readers.
5211
- */
5212
- ariaLabel?: string;
5213
- /**
5214
- * Detailed description of the button for the benefit of screen readers.
5215
- */
5216
- ariaDescription?: string;
5217
- /**
5218
- * A unique id set for the standard HTML id attibute
5219
- */
5220
- id?: string;
5221
- }
5222
-
5223
3655
  /**
5224
3656
  * A custom message type.
5225
3657
  *
@@ -5239,18 +3671,6 @@ export declare interface CustomMessage extends MessageCommon {
5239
3671
  */
5240
3672
  export declare const darkTheme: PartialTheme & CallingTheme;
5241
3673
 
5242
- /**
5243
- * @beta
5244
- * `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
5245
- */
5246
- export declare type DeclarativeCallAgent = CallAgent & /* @conditional-compile-remove(one-to-n-calling) */ IncomingCallManagement;
5247
-
5248
- /**
5249
- * @beta
5250
- * Proxies the {@link @azure/communication-calling#IncomingCall} interface.
5251
- */
5252
- export declare type DeclarativeIncomingCall = IncomingCall;
5253
-
5254
3674
  /**
5255
3675
  * The default set of icons that are available to use in the UI components.
5256
3676
  *
@@ -5267,12 +3687,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
5267
3687
  ControlButtonMicOn: JSX.Element;
5268
3688
  ControlButtonOptions: JSX.Element;
5269
3689
  ControlButtonParticipants: JSX.Element;
5270
- ControlButtonParticipantsContextualMenuItem: JSX.Element;
5271
3690
  ControlButtonScreenShareStart: JSX.Element;
5272
3691
  ControlButtonScreenShareStop: JSX.Element;
5273
- CancelFileUpload: JSX.Element;
5274
- DownloadFile: JSX.Element;
5275
- DataLossPreventionProhibited: JSX.Element;
5276
3692
  EditBoxCancel: JSX.Element;
5277
3693
  EditBoxSubmit: JSX.Element;
5278
3694
  ErrorBarCallCameraAccessDenied: JSX.Element;
@@ -5305,38 +3721,13 @@ export declare const DEFAULT_COMPONENT_ICONS: {
5305
3721
  ParticipantItemOptions: JSX.Element;
5306
3722
  ParticipantItemOptionsHovered: JSX.Element;
5307
3723
  ParticipantItemScreenShareStart: JSX.Element;
5308
- HoldCallContextualMenuItem: JSX.Element;
5309
- HoldCallButton: JSX.Element;
5310
- ResumeCall: JSX.Element;
5311
3724
  SendBoxSend: JSX.Element;
5312
3725
  SendBoxSendHovered: JSX.Element;
5313
3726
  VideoTileMicOff: JSX.Element;
5314
- DialpadBackspace: JSX.Element;
5315
- SitePermissionsSparkle: JSX.Element;
5316
- SitePermissionCamera: JSX.Element;
5317
- SitePermissionMic: JSX.Element;
5318
- SitePermissionCameraDenied: JSX.Element;
5319
- SitePermissionMicDenied: JSX.Element;
5320
- UnsupportedEnvironmentWarning: JSX.Element;
5321
- BrowserPermissionDeniedError: JSX.Element;
5322
- VideoTilePinned: JSX.Element;
5323
- VideoTileMoreOptions: JSX.Element;
5324
- VideoTileScaleFit: JSX.Element;
5325
- VideoTileScaleFill: JSX.Element;
5326
- PinParticipant: JSX.Element;
5327
- UnpinParticipant: JSX.Element;
5328
3727
  SplitButtonPrimaryActionCameraOn: JSX.Element;
5329
3728
  SplitButtonPrimaryActionCameraOff: JSX.Element;
5330
3729
  SplitButtonPrimaryActionMicUnmuted: JSX.Element;
5331
3730
  SplitButtonPrimaryActionMicMuted: JSX.Element;
5332
- VerticalGalleryLeftButton: JSX.Element;
5333
- VerticalGalleryRightButton: JSX.Element;
5334
- ControlButtonVideoEffectsOption: JSX.Element;
5335
- ConfigurationScreenVideoEffectsButton: JSX.Element;
5336
- CaptionsIcon: JSX.Element;
5337
- CaptionsOffIcon: JSX.Element;
5338
- CaptionsSettingsIcon: JSX.Element;
5339
- ChangeSpokenLanguageIcon: JSX.Element;
5340
3731
  ContextMenuCameraIcon: JSX.Element;
5341
3732
  ContextMenuMicIcon: JSX.Element;
5342
3733
  ContextMenuSpeakerIcon: JSX.Element;
@@ -5360,7 +3751,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
5360
3751
  ParticipantItemOptionsHovered: JSX.Element;
5361
3752
  SendBoxSend: JSX.Element;
5362
3753
  SendBoxSendHovered: JSX.Element;
5363
- SendBoxAttachFile?: JSX.Element | undefined;
5364
3754
  ControlBarPeopleButton?: JSX.Element | undefined;
5365
3755
  ControlButtonCameraOff: JSX.Element;
5366
3756
  ControlButtonCameraOn: JSX.Element;
@@ -5404,12 +3794,6 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
5404
3794
  ParticipantItemScreenShareStart: JSX.Element;
5405
3795
  VideoTileMicOff: JSX.Element;
5406
3796
  LocalCameraSwitch?: JSX.Element | undefined;
5407
- PeoplePaneAddPerson?: JSX.Element | undefined;
5408
- PeoplePaneOpenDialpad?: JSX.Element | undefined;
5409
- DialpadStartCall?: JSX.Element | undefined;
5410
- NoticePageInvalidRoom?: JSX.Element | undefined;
5411
- BlurVideoBackground?: JSX.Element | undefined;
5412
- RemoveVideoBackgroundEffect?: JSX.Element | undefined;
5413
3797
  ChevronLeft?: JSX.Element | undefined;
5414
3798
  ControlBarChatButtonActive?: JSX.Element | undefined;
5415
3799
  ControlBarChatButtonInactive?: JSX.Element | undefined;
@@ -5419,71 +3803,20 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
5419
3803
  MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
5420
3804
  MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
5421
3805
  MoreDrawerSpeakers?: JSX.Element | undefined;
3806
+ SendBoxAttachFile?: JSX.Element | undefined;
5422
3807
  ChatMessageOptions: JSX.Element;
5423
- ControlButtonParticipantsContextualMenuItem: JSX.Element;
5424
- CancelFileUpload: JSX.Element;
5425
- DownloadFile: JSX.Element;
5426
- DataLossPreventionProhibited: JSX.Element;
5427
3808
  ErrorBarCallVideoRecoveredBySystem: JSX.Element;
5428
3809
  ErrorBarCallVideoStoppedBySystem: JSX.Element;
5429
3810
  MessageResend: JSX.Element;
5430
- HoldCallContextualMenuItem: JSX.Element;
5431
- HoldCallButton: JSX.Element;
5432
- ResumeCall: JSX.Element;
5433
- DialpadBackspace: JSX.Element;
5434
- SitePermissionsSparkle: JSX.Element;
5435
- SitePermissionCamera: JSX.Element;
5436
- SitePermissionMic: JSX.Element;
5437
- SitePermissionCameraDenied: JSX.Element;
5438
- SitePermissionMicDenied: JSX.Element;
5439
- UnsupportedEnvironmentWarning: JSX.Element;
5440
- BrowserPermissionDeniedError: JSX.Element;
5441
- VideoTilePinned: JSX.Element;
5442
- VideoTileMoreOptions: JSX.Element;
5443
- VideoTileScaleFit: JSX.Element;
5444
- VideoTileScaleFill: JSX.Element;
5445
- PinParticipant: JSX.Element;
5446
- UnpinParticipant: JSX.Element;
5447
3811
  SplitButtonPrimaryActionCameraOn: JSX.Element;
5448
3812
  SplitButtonPrimaryActionCameraOff: JSX.Element;
5449
3813
  SplitButtonPrimaryActionMicUnmuted: JSX.Element;
5450
3814
  SplitButtonPrimaryActionMicMuted: JSX.Element;
5451
- VerticalGalleryLeftButton: JSX.Element;
5452
- VerticalGalleryRightButton: JSX.Element;
5453
- ControlButtonVideoEffectsOption: JSX.Element;
5454
- ConfigurationScreenVideoEffectsButton: JSX.Element;
5455
- CaptionsIcon: JSX.Element;
5456
- CaptionsOffIcon: JSX.Element;
5457
- CaptionsSettingsIcon: JSX.Element;
5458
- ChangeSpokenLanguageIcon: JSX.Element;
5459
3815
  ContextMenuCameraIcon: JSX.Element;
5460
3816
  ContextMenuMicIcon: JSX.Element;
5461
3817
  ContextMenuSpeakerIcon: JSX.Element;
5462
3818
  };
5463
3819
 
5464
- /**
5465
- * Device Checks.
5466
- * Choose whether or not to block starting a call depending on camera and microphone permission options.
5467
- *
5468
- * @beta
5469
- */
5470
- export declare interface DeviceCheckOptions {
5471
- /**
5472
- * Camera Permission prompts for your call.
5473
- * 'required' - requires the permission to be allowed before permitting the user join the call.
5474
- * 'optional' - permission can be disallowed and the user is still permitted to join the call.
5475
- * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
5476
- */
5477
- camera: 'required' | 'optional' | 'doNotPrompt';
5478
- /**
5479
- * Microphone permission prompts for your call.
5480
- * 'required' - requires the permission to be allowed before permitting the user join the call.
5481
- * 'optional' - permission can be disallowed and the user is still permitted to join the call.
5482
- * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
5483
- */
5484
- microphone: 'required' | 'optional' | 'doNotPrompt';
5485
- }
5486
-
5487
3820
  /**
5488
3821
  * This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
5489
3822
  * optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
@@ -5702,60 +4035,6 @@ export declare interface DiagnosticsCallFeatureState {
5702
4035
  media: MediaDiagnosticsState;
5703
4036
  }
5704
4037
 
5705
- /**
5706
- * A component to allow users to enter phone number through clicking on dialpad/using keyboard
5707
- * It will return empty component for stable builds
5708
- *
5709
- * @beta
5710
- */
5711
- export declare const Dialpad: (props: DialpadProps) => JSX.Element;
5712
-
5713
- /**
5714
- * Props for {@link Dialpad} component.
5715
- *
5716
- * @beta
5717
- */
5718
- export declare interface DialpadProps {
5719
- strings?: DialpadStrings;
5720
- /** function to send dtmf tones on button click */
5721
- onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
5722
- /** Callback for dialpad button behavior*/
5723
- onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
5724
- /** set dialpad textfield content */
5725
- textFieldValue?: string;
5726
- /** on change function for text field, provides an unformatted plain text*/
5727
- onChange?: (input: string) => void;
5728
- /** boolean input to determine when to show/hide delete button, default true */
5729
- showDeleteButton?: boolean;
5730
- /** boolean input to determine if dialpad is in mobile view, default false */
5731
- isMobile?: boolean;
5732
- styles?: DialpadStyles;
5733
- }
5734
-
5735
- /**
5736
- * Strings of {@link Dialpad} that can be overridden.
5737
- *
5738
- * @beta
5739
- */
5740
- export declare interface DialpadStrings {
5741
- placeholderText: string;
5742
- deleteButtonAriaLabel?: string;
5743
- }
5744
-
5745
- /**
5746
- * Styles for {@link Dialpad} component.
5747
- *
5748
- * @beta
5749
- */
5750
- export declare interface DialpadStyles {
5751
- root?: IStyle;
5752
- button?: IButtonStyles;
5753
- textField?: Partial<ITextFieldStyles>;
5754
- digit?: IStyle;
5755
- letter?: IStyle;
5756
- deleteIcon?: IButtonStyles;
5757
- }
5758
-
5759
4038
  /**
5760
4039
  * Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
5761
4040
  *
@@ -5776,13 +4055,6 @@ export declare interface Disposable {
5776
4055
  dispose(): void;
5777
4056
  }
5778
4057
 
5779
- /**
5780
- * DTMF tone for PSTN calls.
5781
- *
5782
- * @beta
5783
- */
5784
- export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
5785
-
5786
4058
  /**
5787
4059
  * A type for trivial selectors that return no data.
5788
4060
  *
@@ -6008,226 +4280,29 @@ export declare interface ErrorBarStrings {
6008
4280
  */
6009
4281
  callMacOsScreenShareAccessDenied: string;
6010
4282
  /**
6011
- * Dimiss errorbar button aria label read by screen reader accessibility tools
6012
- */
6013
- dismissButtonAriaLabel?: string;
6014
- /**
6015
- * An error message when joining a call fails.
6016
- */
6017
- failedToJoinCallGeneric?: string;
6018
- /**
6019
- * An error message when joining a call fails specifically due to an invalid meeting link.
6020
- */
6021
- failedToJoinCallInvalidMeetingLink?: string;
6022
- /**
6023
- * Error bar string letting you know remote participants see a frozen stream for you.
6024
- */
6025
- cameraFrozenForRemoteParticipants?: string;
6026
- /**
6027
- * Unable to start effect
6028
- */
6029
- unableToStartVideoEffect?: string;
6030
- }
6031
-
6032
- /**
6033
- * All errors that can be shown in the {@link ErrorBar}.
6034
- *
6035
- * @public
6036
- */
6037
- export declare type ErrorType = keyof ErrorBarStrings;
6038
-
6039
- /**
6040
- * @beta
6041
- * A file download error returned via a {@link FileDownloadHandler}.
6042
- * This error message is used to render an error message in the UI.
6043
- */
6044
- export declare interface FileDownloadError {
6045
- /** The error message to display in the UI */
6046
- errorMessage: string;
6047
- }
6048
-
6049
- /**
6050
- * @beta
6051
- *
6052
- * A callback function for handling file downloads.
6053
- * The function needs to return a promise that resolves to a file download URL.
6054
- * If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
6055
- *
6056
- * @example
6057
- * ```ts
6058
- * const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
6059
- * if (isUnauthorizedUser(userId)) {
6060
- * return { errorMessage: 'You don’t have permission to download this file.' };
6061
- * } else {
6062
- * return new URL(fileData.url);
6063
- * }
6064
- * }
6065
- *
6066
- * const App = () => (
6067
- * <ChatComposite
6068
- * ...
6069
- * fileSharing={{
6070
- * fileDownloadHandler: fileDownloadHandler
6071
- * }}
6072
- * />
6073
- * )
6074
- *
6075
- * ```
6076
- * @param userId - The user ID of the user downloading the file.
6077
- * @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
6078
- */
6079
- export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
6080
-
6081
- /**
6082
- * Meta Data containing information about the uploaded file.
6083
- * @beta
6084
- */
6085
- export declare type FileMetadata = FileSharingMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ ImageFileMetadata;
6086
-
6087
- /**
6088
- * @beta
6089
- */
6090
- export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | 'unknown';
6091
-
6092
- /**
6093
- * Meta Data containing basic information about the uploaded file.
6094
- * Typically used for ACS to ACS file transfers.
6095
- * @beta
6096
- */
6097
- export declare interface FileSharingMetadata extends BaseFileMetadata {
6098
- attachmentType: 'fileSharing';
6099
- payload?: Record<string, string>;
6100
- }
6101
-
6102
- /**
6103
- * Properties for configuring the File Sharing feature.
6104
- * @beta
6105
- */
6106
- export declare interface FileSharingOptions {
6107
- /**
6108
- * A string containing the comma separated list of accepted file types.
6109
- * Similar to the `accept` attribute of the `<input type="file" />` element.
6110
- * Accepts any type of file if not specified.
6111
- * @beta
6112
- */
6113
- accept?: string;
6114
- /**
6115
- * Allows multiple files to be selected if set to `true`.
6116
- * Similar to the `multiple` attribute of the `<input type="file" />` element.
6117
- * @defaultValue false
6118
- * @beta
6119
- */
6120
- multiple?: boolean;
6121
- /**
6122
- * A function of type {@link FileUploadHandler} for handling file uploads.
6123
- * @beta
6124
- */
6125
- uploadHandler: FileUploadHandler;
6126
- /**
6127
- * A function of type {@link FileDownloadHandler} for handling file downloads.
6128
- * If the function is not specified, the file's `url` will be opened in a new tab to
6129
- * initiate the download.
6130
- */
6131
- downloadHandler?: FileDownloadHandler;
6132
- }
6133
-
6134
- /**
6135
- * @beta
6136
- */
6137
- export declare interface FileUploadAdapter {
6138
- registerActiveFileUploads: (files: File[]) => FileUploadManager[];
6139
- registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
6140
- clearFileUploads: () => void;
6141
- cancelFileUpload: (id: string) => void;
6142
- updateFileUploadProgress: (id: string, progress: number) => void;
6143
- updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
6144
- updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
6145
- }
6146
-
6147
- /**
6148
- * @beta
6149
- * Error message to be displayed to the user if the upload fails.
6150
- */
6151
- export declare type FileUploadError = {
6152
- message: string;
6153
- timestamp: number;
6154
- };
6155
-
6156
- /**
6157
- * @beta
6158
- * A callback function for handling file uploads.
6159
- *
6160
- * @param userId - The user ID of the user uploading the file.
6161
- * @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
6162
- */
6163
- export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
6164
-
6165
- /**
6166
- * A wrapper object for a file that is being uploaded.
6167
- * Allows mmanaging file uploads by providing common functions for updating the
6168
- * upload progress, canceling an upload, completing an upload etc.
6169
- * @beta
6170
- */
6171
- export declare interface FileUploadManager {
6172
- /**
6173
- * Unique identifier for the file upload.
6174
- */
6175
- id: string;
6176
- /**
6177
- * HTML {@link File} object for the uploaded file.
6178
- */
6179
- file?: File;
6180
- /**
6181
- * Update the progress of the upload.
6182
- * @param value - number between 0 and 1
6183
- */
6184
- notifyUploadProgressChanged: (value: number) => void;
6185
- /**
6186
- * Mark the upload as complete.
6187
- * Requires the `metadata` param containing uploaded file information.
6188
- * @param metadata - {@link FileMetadata}
6189
- */
6190
- notifyUploadCompleted: (metadata: FileMetadata) => void;
6191
- /**
6192
- * Mark the upload as failed.
6193
- * @param message - An error message that can be displayed to the user.
6194
- */
6195
- notifyUploadFailed: (message: string) => void;
6196
- }
6197
-
6198
- /**
6199
- * Contains the state attibutes of a file upload like name, progress etc.
6200
- * @beta
6201
- */
6202
- export declare interface FileUploadState {
6203
- /**
6204
- * Unique identifier for the file upload.
6205
- */
6206
- id: string;
6207
- /**
6208
- * Filename extracted from the {@link File} object.
6209
- * This attribute is used to render the filename if `metadata.name` is not available.
4283
+ * Dimiss errorbar button aria label read by screen reader accessibility tools
6210
4284
  */
6211
- filename: string;
4285
+ dismissButtonAriaLabel?: string;
6212
4286
  /**
6213
- * A number between 0 and 1 indicating the progress of the upload.
4287
+ * An error message when joining a call fails.
6214
4288
  */
6215
- progress: number;
4289
+ failedToJoinCallGeneric?: string;
6216
4290
  /**
6217
- * Meta Data {@link FileMetadata} containing information about the uploaded file.
4291
+ * An error message when joining a call fails specifically due to an invalid meeting link.
6218
4292
  */
6219
- metadata?: FileMetadata;
4293
+ failedToJoinCallInvalidMeetingLink?: string;
6220
4294
  /**
6221
- * Error message to be displayed to the user if the upload fails.
4295
+ * Error bar string letting you know remote participants see a frozen stream for you.
6222
4296
  */
6223
- error?: FileUploadError;
4297
+ cameraFrozenForRemoteParticipants?: string;
6224
4298
  }
6225
4299
 
6226
4300
  /**
6227
- * A record containing {@link FileUploadState} mapped to unique ids.
6228
- * @beta
4301
+ * All errors that can be shown in the {@link ErrorBar}.
4302
+ *
4303
+ * @public
6229
4304
  */
6230
- export declare type FileUploadsUiState = Record<string, FileUploadState>;
4305
+ export declare type ErrorType = keyof ErrorBarStrings;
6231
4306
 
6232
4307
  /**
6233
4308
  * Provider to apply a Fluent theme across this library's react components.
@@ -6269,7 +4344,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
6269
4344
  *
6270
4345
  * @public
6271
4346
  */
6272
- export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : AreEqual<Component, typeof HoldButton> extends true ? HoldButtonSelector : undefined;
4347
+ export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : undefined;
6273
4348
 
6274
4349
  /**
6275
4350
  * Get the selector for a specified component.
@@ -6331,63 +4406,6 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
6331
4406
  children?: IStyle;
6332
4407
  }
6333
4408
 
6334
- /**
6335
- * a button to hold or resume a ongoing call.
6336
- *
6337
- * Can be used with {@link ControlBar}
6338
- *
6339
- * @param props - properties for the hold button.
6340
- * @returns
6341
- * @beta
6342
- */
6343
- export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
6344
-
6345
- /**
6346
- *@beta
6347
- */
6348
- export declare interface HoldButtonProps extends ControlBarButtonProps {
6349
- /**
6350
- * Utility property for using this component with communication react handlers
6351
- * Holds the call or resumes it based on call state.
6352
- */
6353
- onToggleHold: () => Promise<void>;
6354
- /**
6355
- * Optional strings to override in component
6356
- */
6357
- strings?: HoldButtonStrings;
6358
- }
6359
-
6360
- /**
6361
- * Selector type for the {@link HoldButton} component.
6362
- * @public
6363
- */
6364
- export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
6365
- checked: boolean;
6366
- };
6367
-
6368
- /**
6369
- * Strings for the hold button labels
6370
- * @beta
6371
- */
6372
- export declare interface HoldButtonStrings {
6373
- /**
6374
- * Label for when action is to resume call.
6375
- */
6376
- onLabel: string;
6377
- /**
6378
- * Label for when action is to hold call.
6379
- */
6380
- offLabel: string;
6381
- /**
6382
- * Content for when button is checked
6383
- */
6384
- tooltipOnContent: string;
6385
- /**
6386
- * Content for when button is unchecked
6387
- */
6388
- tooltipOffContent: string;
6389
- }
6390
-
6391
4409
  /**
6392
4410
  * {@link HorizontalGallery} Component Styles.
6393
4411
  * @public
@@ -6468,39 +4486,8 @@ export declare interface _Identifiers {
6468
4486
  overflowGalleryRightNavButton: string;
6469
4487
  /** `data-ui-id` value for the video tiles in the horizontal gallery */
6470
4488
  horizontalGalleryVideoTile: string;
6471
- /** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
6472
- verticalGalleryVideoTile: string;
6473
- /** `data-ui-id` value for `VerticalGallery` Component's page counter */
6474
- verticalGalleryPageCounter: string;
6475
- /** `data-ui-id` value for `MentionPopover` Component's suggestion list */
6476
- mentionSuggestionList: string;
6477
- /** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
6478
- mentionSuggestionItem: string;
6479
- }
6480
-
6481
- /**
6482
- * Meta Data containing data for images.
6483
- * @beta
6484
- */
6485
- export declare interface ImageFileMetadata extends BaseFileMetadata {
6486
- attachmentType: 'inlineImage';
6487
- previewUrl?: string;
6488
4489
  }
6489
4490
 
6490
- /**
6491
- * @beta
6492
- * This contains a readonly array that returns all the active `incomingCalls`.
6493
- * An active incoming call is a call that has not been answered, declined or disconnected.
6494
- */
6495
- export declare type IncomingCallManagement = {
6496
- /**
6497
- * @beta
6498
- * @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
6499
- * @returns readonly array of {@link DeclarativeIncomingCall}
6500
- */
6501
- incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
6502
- };
6503
-
6504
4491
  /**
6505
4492
  * State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
6506
4493
  * automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
@@ -6533,15 +4520,6 @@ export declare interface IncomingCallState {
6533
4520
  endTime?: Date;
6534
4521
  }
6535
4522
 
6536
- /**
6537
- * Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
6538
- *
6539
- * @beta
6540
- */
6541
- export declare type IsCaptionsActiveChangedListener = (event: {
6542
- isActive: boolean;
6543
- }) => void;
6544
-
6545
4523
  /**
6546
4524
  * Callback for {@link CallAdapterSubscribers} 'isLocalScreenSharingActiveChanged' event.
6547
4525
  *
@@ -6571,6 +4549,31 @@ export declare type IsSpeakingChangedListener = (event: {
6571
4549
  isSpeaking: boolean;
6572
4550
  }) => void;
6573
4551
 
4552
+ /**
4553
+ * Options for setting microphone and camera state when joining a call
4554
+ * true = turn on the device when joining call
4555
+ * false = turn off the device when joining call
4556
+ * 'keep'/undefined = retain devices' precall state
4557
+ *
4558
+ * @public
4559
+ */
4560
+ export declare interface JoinCallOptions {
4561
+ /**
4562
+ * microphone state when joining call
4563
+ * true: turn on
4564
+ * false: turn off
4565
+ * 'keep': maintain precall state
4566
+ */
4567
+ microphoneOn?: boolean | 'keep';
4568
+ /**
4569
+ * camera state when joining call
4570
+ * true: turn on
4571
+ * false: turn off
4572
+ * 'keep': maintain precall state
4573
+ */
4574
+ cameraOn?: boolean | 'keep';
4575
+ }
4576
+
6574
4577
  /**
6575
4578
  * Arguments for {@link MessageThreadProps.onRenderJumpToNewMessageButton}.
6576
4579
  *
@@ -6653,51 +4656,8 @@ export declare interface LocalVideoStreamState {
6653
4656
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
6654
4657
  */
6655
4658
  view?: VideoStreamRendererViewState;
6656
- /**
6657
- * Stores the state of the video effects.
6658
- * @beta
6659
- */
6660
- videoEffects?: LocalVideoStreamVideoEffectsState;
6661
- }
6662
-
6663
- /**
6664
- * State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
6665
- *
6666
- * @beta
6667
- */
6668
- export declare interface LocalVideoStreamVideoEffectsState {
6669
- /**
6670
- * List of effects if any are active.
6671
- */
6672
- activeEffects?: VideoEffectName[];
6673
- }
6674
-
6675
- /**
6676
- * Options for the local video tile in the Call composite.
6677
- *
6678
- * @beta
6679
- */
6680
- export declare interface LocalVideoTileOptions {
6681
- /**
6682
- * Position of the local video tile. If unset will render the local tile in the floating local position.
6683
- *
6684
- * @defaultValue 'floating'
6685
- * @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
6686
- * 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
6687
- * local video tile rules and be docked in the bottom corner.
6688
- * 'hidden' - local video tile will not be rendered.
6689
- * This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
6690
- */
6691
- position?: 'grid' | 'floating';
6692
4659
  }
6693
4660
 
6694
- /**
6695
- * different modes of the local video tile
6696
- *
6697
- * @beta
6698
- */
6699
- export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
6700
-
6701
4661
  /**
6702
4662
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
6703
4663
  *
@@ -6716,76 +4676,6 @@ export declare interface MediaDiagnosticsState {
6716
4676
  latest: LatestMediaDiagnostics;
6717
4677
  }
6718
4678
 
6719
- /**
6720
- * Mention's state, as reflected in the UI.
6721
- *
6722
- * @beta
6723
- */
6724
- export declare interface Mention {
6725
- /** ID of a mention */
6726
- id: string;
6727
- /** Display text of a mention */
6728
- displayText: string;
6729
- /** Optional React element to render an item icon of a mention suggestion */
6730
- icon?: JSX.Element;
6731
- }
6732
-
6733
- /**
6734
- * Options to display suggestions in the mention scenario.
6735
- *
6736
- * @beta
6737
- */
6738
- export declare interface MentionDisplayOptions {
6739
- /**
6740
- * Optional callback for customizing the mention renderer in a message thread.
6741
- */
6742
- onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
6743
- }
6744
-
6745
- /**
6746
- * Options to lookup suggestions in the mention scenario.
6747
- *
6748
- * @beta
6749
- */
6750
- export declare interface MentionLookupOptions {
6751
- /**
6752
- * Optional string to set trigger keyword for mention a specific participant.
6753
- *
6754
- * @defaultValue `@`
6755
- */
6756
- trigger?: string;
6757
- /**
6758
- * Optional callback to fetch a list of mention suggestions base on the query.
6759
- */
6760
- onQueryUpdated: (query: string) => Promise<Mention[]>;
6761
- /**
6762
- * Optional callback to render an item of the mention suggestions list.
6763
- */
6764
- onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
6765
- }
6766
-
6767
- /**
6768
- * Options to lookup suggestions and display mentions in the mention scenario.
6769
- *
6770
- * @beta
6771
- */
6772
- export declare type MentionOptions = {
6773
- lookupOptions?: MentionLookupOptions;
6774
- displayOptions?: MentionDisplayOptions;
6775
- };
6776
-
6777
- /**
6778
- * Strings of {@link _MentionPopover} that can be overridden.
6779
- *
6780
- * @beta
6781
- */
6782
- export declare interface MentionPopoverStrings {
6783
- /**
6784
- * Header text for MentionPopover
6785
- */
6786
- mentionPopoverHeader: string;
6787
- }
6788
-
6789
4679
  /**
6790
4680
  * Discriminated union of all messages.
6791
4681
  *
@@ -6793,7 +4683,7 @@ export declare interface MentionPopoverStrings {
6793
4683
  *
6794
4684
  * @public
6795
4685
  */
6796
- export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
4686
+ export declare type Message = ChatMessage | SystemMessage | CustomMessage;
6797
4687
 
6798
4688
  /**
6799
4689
  * Indicate whether a chat message should be displayed merged with the message before / after it.
@@ -7013,7 +4903,7 @@ export declare type MessageThreadProps = {
7013
4903
  /**
7014
4904
  * Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
7015
4905
  */
7016
- messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
4906
+ messages: (ChatMessage | SystemMessage | CustomMessage)[];
7017
4907
  /**
7018
4908
  * number of participants in the thread
7019
4909
  */
@@ -7095,17 +4985,6 @@ export declare type MessageThreadProps = {
7095
4985
  * `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
7096
4986
  */
7097
4987
  onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
7098
- /**
7099
- * Optional callback to render uploaded files in the message component.
7100
- * @beta
7101
- */
7102
- onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
7103
- /**
7104
- * Optional callback to retrieve the inline image in a message.
7105
- * @param attachment - FileMetadata object we want to render
7106
- * @beta
7107
- */
7108
- onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
7109
4988
  /**
7110
4989
  * Optional callback to edit a message.
7111
4990
  *
@@ -7147,23 +5026,6 @@ export declare type MessageThreadProps = {
7147
5026
  * Optional strings to override in component
7148
5027
  */
7149
5028
  strings?: Partial<MessageThreadStrings>;
7150
- /**
7151
- * @beta
7152
- * Optional function called when someone clicks on the file download icon.
7153
- * If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
7154
- * this function will be called with the data inside `fileSharingMetadata` key.
7155
- */
7156
- fileDownloadHandler?: FileDownloadHandler;
7157
- /**
7158
- * Optional function to provide customized date format.
7159
- * @beta
7160
- */
7161
- onDisplayDateTimeString?: (messageDate: Date) => string;
7162
- /**
7163
- * Optional props needed to lookup a mention query and display mentions
7164
- * @beta
7165
- */
7166
- mentionOptions?: MentionOptions;
7167
5029
  };
7168
5030
 
7169
5031
  /**
@@ -7235,14 +5097,6 @@ export declare interface MessageThreadStrings {
7235
5097
  editBoxSubmitButton: string;
7236
5098
  /** String for action menu indicating there are more options */
7237
5099
  actionMenuMoreOptions?: string;
7238
- /** String for download file button in file card */
7239
- downloadFile: string;
7240
- /** String for policy violation message removal */
7241
- blockedWarningText: string;
7242
- /** String for policy violation message removal details link */
7243
- blockedWarningLinkText: string;
7244
- /** String for aria text in file attachment group*/
7245
- fileCardGroupMessage: string;
7246
5100
  }
7247
5101
 
7248
5102
  /**
@@ -7270,7 +5124,6 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
7270
5124
  /** Styles for system message container. */
7271
5125
  systemMessageContainer?: ComponentSlotStyle;
7272
5126
  /** Styles for blocked message container. */
7273
- blockedMessageContainer?: ComponentSlotStyle;
7274
5127
  /** Styles for message status indicator container. */
7275
5128
  messageStatusContainer?: (mine: boolean) => IStyle;
7276
5129
  }
@@ -7439,31 +5292,6 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
7439
5292
  menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
7440
5293
  }
7441
5294
 
7442
- /**
7443
- * Component to allow Contoso to help their end user with their devices should their permissions be blocked
7444
- * by their browsers settings.
7445
- *
7446
- * @beta
7447
- */
7448
- export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
7449
-
7450
- /**
7451
- * @beta
7452
- * Props for MicrophoneSitePermissions component.
7453
- */
7454
- export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
7455
- /** Icon name for the microphone icon */
7456
- microphoneIconName?: string;
7457
- /** Strings for use with the {@link MicrophoneSitePermissions} */
7458
- strings?: MicrophoneSitePermissionsStrings;
7459
- }
7460
-
7461
- /**
7462
- * @beta
7463
- * Strings for MicrophoneSitePermissions component.
7464
- */
7465
- export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
7466
-
7467
5295
  /**
7468
5296
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
7469
5297
  *
@@ -7482,13 +5310,6 @@ export declare interface NetworkDiagnosticsState {
7482
5310
  latest: LatestNetworkDiagnostics;
7483
5311
  }
7484
5312
 
7485
- /**
7486
- * Callback function used to provide custom data to build profile for a user.
7487
- *
7488
- * @beta
7489
- */
7490
- export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
7491
-
7492
5313
  /**
7493
5314
  * A custom rendered callback that allows users to customize the rendering of a Persona Component.
7494
5315
  *
@@ -7505,18 +5326,6 @@ userId?: string, options?: CustomAvatarOptions,
7505
5326
  */
7506
5327
  defaultOnRender?: (props: CustomAvatarOptions) => JSX.Element) => JSX.Element;
7507
5328
 
7508
- /**
7509
- * State only version of Optimal Video Count Feature {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
7510
- *
7511
- * @beta
7512
- */
7513
- export declare interface OptimalVideoCountFeatureState {
7514
- /**
7515
- * State of the current optimal video count.
7516
- */
7517
- maxRemoteVideoStreams: number;
7518
- }
7519
-
7520
5329
  /**
7521
5330
  * A device, e.g. camera, microphone, or speaker, in the {@link DevicesButton} flyout.
7522
5331
  *
@@ -7533,13 +5342,6 @@ export declare interface OptionsDevice {
7533
5342
  name: string;
7534
5343
  }
7535
5344
 
7536
- /**
7537
- * Different modes and positions of the overflow gallery in the VideoGallery
7538
- *
7539
- * @beta
7540
- */
7541
- export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight';
7542
-
7543
5345
  /**
7544
5346
  * A system message notifying that a participant was added to the chat thread.
7545
5347
  *
@@ -7597,14 +5399,6 @@ export declare interface ParticipantItemProps {
7597
5399
  onClick?: (props?: ParticipantItemProps) => void;
7598
5400
  /** Optional value to determine if the tooltip should be shown for participants or not */
7599
5401
  showParticipantOverflowTooltip?: boolean;
7600
- /**
7601
- * Optional value to determine and display a participants connection status.
7602
- * For example, `Connecting`, `Ringing` etc.
7603
- * The actual text that is displayed is determined by the localized string
7604
- * corresponding to the provided participant state.
7605
- * For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
7606
- */
7607
- participantState?: ParticipantState;
7608
5402
  /**
7609
5403
  * Optional aria property that prefixes the ParticipantItems aria content
7610
5404
  * Takes in a unique id value of the element you would like to be read before the ParticipantItem.
@@ -7630,10 +5424,6 @@ export declare interface ParticipantItemStrings {
7630
5424
  mutedIconLabel: string;
7631
5425
  /** placeholder text for participants who does not have a display name*/
7632
5426
  displayNamePlaceholder?: string;
7633
- /** String shown when `participantState` is `Ringing` */
7634
- participantStateRinging?: string;
7635
- /** String shown when `participantState` is `Hold` */
7636
- participantStateHold?: string;
7637
5427
  }
7638
5428
 
7639
5429
  /**
@@ -7943,18 +5733,6 @@ export declare type ParticipantsRemovedListener = (event: {
7943
5733
  */
7944
5734
  export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
7945
5735
 
7946
- /**
7947
- * The profile of a user.
7948
- *
7949
- * @beta
7950
- */
7951
- export declare type Profile = {
7952
- /**
7953
- * Primary text to display, usually the name of the person.
7954
- */
7955
- displayName?: string;
7956
- };
7957
-
7958
5736
  /**
7959
5737
  * An array of key value pairs that stores each sender's display name and last read message
7960
5738
  *
@@ -7990,7 +5768,7 @@ export declare interface RemoteParticipantState {
7990
5768
  /**
7991
5769
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.identifier}.
7992
5770
  */
7993
- identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind | /* @conditional-compile-remove(communication-common-beta-v3) */ MicrosoftBotKind;
5771
+ identifier: CommunicationUserKind | PhoneNumberKind | MicrosoftTeamsUserKind | UnknownIdentifierKind;
7994
5772
  /**
7995
5773
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.displayName}.
7996
5774
  */
@@ -8018,10 +5796,6 @@ export declare interface RemoteParticipantState {
8018
5796
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
8019
5797
  */
8020
5798
  isSpeaking: boolean;
8021
- /**
8022
- * Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
8023
- */
8024
- role?: ParticipantRole;
8025
5799
  }
8026
5800
 
8027
5801
  /**
@@ -8046,7 +5820,6 @@ export declare interface RemoteVideoStreamState {
8046
5820
  * Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
8047
5821
  * @beta
8048
5822
  */
8049
- isReceiving: boolean;
8050
5823
  /**
8051
5824
  * {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
8052
5825
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
@@ -8054,26 +5827,6 @@ export declare interface RemoteVideoStreamState {
8054
5827
  view?: VideoStreamRendererViewState;
8055
5828
  }
8056
5829
 
8057
- /**
8058
- * Menu options for remote video tiles in {@link VideoGallery}.
8059
- *
8060
- * @beta
8061
- */
8062
- export declare interface RemoteVideoTileMenuOptions {
8063
- /**
8064
- * If set to true, remote video tiles in the VideoGallery will not have menu options
8065
- *
8066
- * @defaultValue false
8067
- */
8068
- isHidden?: boolean;
8069
- }
8070
-
8071
- /**
8072
- * @beta
8073
- * The role of a call participant.
8074
- */
8075
- export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer' | 'Co-organizer';
8076
-
8077
5830
  /**
8078
5831
  * A button to start / stop screen sharing.
8079
5832
  *
@@ -8107,7 +5860,6 @@ export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
8107
5860
  */
8108
5861
  export declare type ScreenShareButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
8109
5862
  checked?: boolean;
8110
- disabled?: boolean;
8111
5863
  };
8112
5864
 
8113
5865
  /**
@@ -8145,19 +5897,6 @@ export declare type Selector = (state: ClientState, props: any) => any;
8145
5897
  */
8146
5898
  export declare const SendBox: (props: SendBoxProps) => JSX.Element;
8147
5899
 
8148
- /**
8149
- * @beta
8150
- * Error to be displayed to the user in an error bar above sendbox.
8151
- */
8152
- export declare interface SendBoxErrorBarError {
8153
- /** Error Message to be displayed */
8154
- message: string;
8155
- /**
8156
- * Unix Timestamp. Preferred generation using `Date.now()`
8157
- */
8158
- timestamp: number;
8159
- }
8160
-
8161
5900
  /**
8162
5901
  * Props for {@link SendBox}.
8163
5902
  *
@@ -8174,14 +5913,9 @@ export declare interface SendBoxProps {
8174
5913
  */
8175
5914
  systemMessage?: string;
8176
5915
  /**
8177
- * Optional callback called when message is sent
5916
+ * Optional override behavior on send button click
8178
5917
  */
8179
5918
  onSendMessage?: (content: string) => Promise<void>;
8180
- /**
8181
- * Optional props needed to lookup suggestions in the mention scenario.
8182
- * @beta
8183
- */
8184
- mentionLookupOptions?: MentionLookupOptions;
8185
5919
  /**
8186
5920
  * Optional callback called when user is typing
8187
5921
  */
@@ -8218,25 +5952,6 @@ export declare interface SendBoxProps {
8218
5952
  * When undefined nothing has focus on render
8219
5953
  */
8220
5954
  autoFocus?: 'sendBoxTextField';
8221
- /**
8222
- * Optional callback to render uploaded files in the SendBox. The sendBox will expand
8223
- * vertically to accommodate the uploaded files. File uploads will
8224
- * be rendered below the text area in sendBox.
8225
- * @beta
8226
- */
8227
- onRenderFileUploads?: () => JSX.Element;
8228
- /**
8229
- * Optional array of active file uploads where each object has attributes
8230
- * of a file upload like name, progress, errorMessage etc.
8231
- * @beta
8232
- */
8233
- activeFileUploads?: ActiveFileUpload[];
8234
- /**
8235
- * Optional callback to remove the file upload before sending by clicking on
8236
- * cancel icon.
8237
- * @beta
8238
- */
8239
- onCancelFileUpload?: (fileId: string) => void;
8240
5955
  }
8241
5956
 
8242
5957
  /**
@@ -8267,79 +5982,24 @@ export declare interface SendBoxStrings {
8267
5982
  * Aria label for send message button
8268
5983
  */
8269
5984
  sendButtonAriaLabel: string;
8270
- /**
8271
- * Error message indicating that all file uploads are not complete.
8272
- */
8273
- fileUploadsPendingError: string;
8274
- /**
8275
- * Aria label to notify user when focus is on cancel file upload button.
8276
- */
8277
- removeFile: string;
8278
- /**
8279
- * Aria label to notify user file uploading starts.
8280
- */
8281
- uploading: string;
8282
- /**
8283
- * Aria label to notify user file is uploaded.
8284
- */
8285
- uploadCompleted: string;
8286
5985
  }
8287
5986
 
8288
5987
  /**
8289
- * Fluent styles for {@link Sendbox}.
8290
- *
8291
- * @public
8292
- */
8293
- export declare interface SendBoxStylesProps extends BaseCustomStyles {
8294
- /** Styles for the text field. */
8295
- textField?: IStyle;
8296
- /** styles for the text field container */
8297
- textFieldContainer?: IStyle;
8298
- /** Styles for the container of the send message icon. */
8299
- sendMessageIconContainer?: IStyle;
8300
- /** Styles for the send message icon; These styles will be ignored when a custom send message icon is provided. */
8301
- sendMessageIcon?: IStyle;
8302
- /** Styles for the system message; These styles will be ignored when a custom system message component is provided. */
8303
- systemMessage?: IStyle;
8304
- }
8305
-
8306
- /**
8307
- * @beta
8308
- * Strings for SitePermissions component
8309
- */
8310
- export declare type SitePermissionsStrings = {
8311
- /**
8312
- * Main text string.
8313
- */
8314
- primaryText?: string;
8315
- /**
8316
- * Subtext string.
8317
- */
8318
- secondaryText?: string;
8319
- /**
8320
- * More help link string.
8321
- */
8322
- linkText?: string;
8323
- /**
8324
- * Primary button text string.
8325
- */
8326
- primaryButtonText?: string;
8327
- /**
8328
- * Aria label describing the content of the container
8329
- */
8330
- ariaLabel?: string;
8331
- };
8332
-
8333
- /**
8334
- * Fluent styles for {@link SitePermissionsContainer}.
5988
+ * Fluent styles for {@link Sendbox}.
8335
5989
  *
8336
- * @beta
5990
+ * @public
8337
5991
  */
8338
- export declare interface SitePermissionsStyles extends BaseCustomStyles {
8339
- /** Styles for the primary button. */
8340
- primaryButton?: IButtonStyles;
8341
- /** Styles for the help troubleshooting link text. */
8342
- troubleshootingLink?: ILinkStyles;
5992
+ export declare interface SendBoxStylesProps extends BaseCustomStyles {
5993
+ /** Styles for the text field. */
5994
+ textField?: IStyle;
5995
+ /** styles for the text field container */
5996
+ textFieldContainer?: IStyle;
5997
+ /** Styles for the container of the send message icon. */
5998
+ sendMessageIconContainer?: IStyle;
5999
+ /** Styles for the send message icon; These styles will be ignored when a custom send message icon is provided. */
6000
+ sendMessageIcon?: IStyle;
6001
+ /** Styles for the system message; These styles will be ignored when a custom system message component is provided. */
6002
+ systemMessage?: IStyle;
8343
6003
  }
8344
6004
 
8345
6005
  /**
@@ -8372,6 +6032,8 @@ export declare interface SitePermissionsStyles extends BaseCustomStyles {
8372
6032
  * - RemoteVideoStream 'isAvailableChanged'
8373
6033
  * - TranscriptionCallFeature 'isTranscriptionActiveChanged'
8374
6034
  * - RecordingCallFeature 'isRecordingActiveChanged'
6035
+ * - RaiseHandCallFeature 'raisedHandEvent'
6036
+ * - RaiseHandCallFeature 'loweredHandEvent'
8375
6037
  *
8376
6038
  * @public
8377
6039
  */
@@ -8448,19 +6110,6 @@ export declare interface StatefulCallClient extends CallClient {
8448
6110
  * @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
8449
6111
  */
8450
6112
  disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
8451
- /** @conditional-compile-remove(one-to-n-calling) */
8452
- /**
8453
- * The CallAgent is used to handle calls.
8454
- * To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
8455
- * - The CallClient can only have one active CallAgent instance at a time.
8456
- * - You can create a new CallClient instance to create a new CallAgent.
8457
- * - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
8458
- * createCallAgent() method again to create a new CallAgent.
8459
- * @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
8460
- * @param options - The CallAgentOptions for additional options like display name.
8461
- * @public
8462
- */
8463
- createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
8464
6113
  }
8465
6114
 
8466
6115
  /**
@@ -8473,16 +6122,7 @@ export declare type StatefulCallClientArgs = {
8473
6122
  * UserId from SDK. This is provided for developer convenience to easily access the userId from the
8474
6123
  * state. It is not used by StatefulCallClient.
8475
6124
  */
8476
- userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
8477
- /**
8478
- * A phone number in E.164 format that will be used to represent the callers identity. This number is required
8479
- * to start a PSTN call.
8480
- *
8481
- * example: +11234567
8482
- *
8483
- * This is not a cached value from the headless calling client.
8484
- */
8485
- alternateCallerId?: string;
6125
+ userId: CommunicationUserIdentifier;
8486
6126
  };
8487
6127
 
8488
6128
  /**
@@ -8570,14 +6210,6 @@ export declare interface StatefulDeviceManager extends DeviceManager {
8570
6210
  * {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
8571
6211
  */
8572
6212
  selectCamera: (VideoDeviceInfo: any) => void;
8573
- /**
8574
- * Gets the list of unparented video streams. This is a list of video streams that have not been added to a
8575
- * {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
8576
- * video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
8577
- *
8578
- * @beta
8579
- */
8580
- getUnparentedVideoStreams: () => LocalVideoStream[];
8581
6213
  }
8582
6214
 
8583
6215
  /**
@@ -8630,70 +6262,6 @@ export declare interface SystemMessageCommon extends MessageCommon {
8630
6262
  iconName: string;
8631
6263
  }
8632
6264
 
8633
- /**
8634
- * Optional parameters to create {@link TeamsCallAdapter}
8635
- *
8636
- * @beta
8637
- */
8638
- export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
8639
-
8640
- /**
8641
- * An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
8642
- *
8643
- * @beta
8644
- */
8645
- export declare interface TeamsCallAdapter extends CommonCallAdapter {
8646
- /**
8647
- * Join the call with microphone initially on/off.
8648
- *
8649
- * @param microphoneOn - Whether microphone is initially enabled
8650
- *
8651
- * @beta
8652
- */
8653
- joinCall(microphoneOn?: boolean): TeamsCall | undefined;
8654
- /**
8655
- * Start the call.
8656
- *
8657
- * @param participants - An array of participant ids to join
8658
- *
8659
- * @beta
8660
- */
8661
- startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
8662
- /**
8663
- * Start the call.
8664
- * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
8665
- * @beta
8666
- */
8667
- startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
8668
- }
8669
-
8670
- /**
8671
- * Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
8672
- *
8673
- * @beta
8674
- */
8675
- export declare type TeamsCallAdapterArgs = {
8676
- userId: MicrosoftTeamsUserIdentifier;
8677
- credential: CommunicationTokenCredential;
8678
- locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
8679
- /**
8680
- * Optional parameters for the {@link TeamsCallAdapter} created
8681
- */
8682
- options?: TeamsAdapterOptions;
8683
- };
8684
-
8685
- /**
8686
- * Object containing all the teams call handlers required for calling components.
8687
- *
8688
- * Calling related components from this package are able to pick out relevant handlers from this object.
8689
- * See {@link useHandlers} and {@link usePropsFor}.
8690
- *
8691
- * @beta
8692
- */
8693
- export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
8694
- onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
8695
- }
8696
-
8697
6265
  /**
8698
6266
  * A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
8699
6267
  *
@@ -8739,27 +6307,6 @@ export declare interface TranscriptionCallFeature {
8739
6307
  isTranscriptionActive: boolean;
8740
6308
  }
8741
6309
 
8742
- /**
8743
- * Transfer feature state
8744
- *
8745
- * @beta
8746
- */
8747
- export declare interface TransferFeature {
8748
- /**
8749
- * Accepted transfer requests
8750
- */
8751
- acceptedTransfers: {
8752
- [key: string]: AcceptedTransfer;
8753
- };
8754
- }
8755
-
8756
- /**
8757
- * Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
8758
- *
8759
- * @beta
8760
- */
8761
- export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
8762
-
8763
6310
  /**
8764
6311
  * Component to notify local user when one or more participants in the chat thread are typing.
8765
6312
  *
@@ -8894,117 +6441,11 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
8894
6441
  typingString?: IStyle;
8895
6442
  }
8896
6443
 
8897
- /**
8898
- * UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
8899
- *
8900
- * @beta
8901
- */
8902
- export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
8903
-
8904
- /**
8905
- * props for {@link UnsupportedBrowser} UI
8906
- *
8907
- * @beta
8908
- */
8909
- export declare interface UnsupportedBrowserProps {
8910
- /** Handler to perform an action when the help link is actioned */
8911
- onTroubleshootingClick?: () => void;
8912
- /** String overrides for the component */
8913
- strings?: UnsupportedBrowserStrings;
8914
- }
8915
-
8916
- /**
8917
- * Strings for UnsupportedBrowser component
8918
- *
8919
- * @beta
8920
- */
8921
- export declare interface UnsupportedBrowserStrings {
8922
- /** String for the primary text */
8923
- primaryText: string;
8924
- /** String for the secondary text */
8925
- secondaryText: string;
8926
- /** String to display in the text for the help link */
8927
- moreHelpLinkText: string;
8928
- }
8929
-
8930
- /**
8931
- * UI to display to the user that the browser version they are using is out of date
8932
- * and not supported by Azure Communications Calling service.
8933
- *
8934
- * @beta
8935
- */
8936
- export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
8937
-
8938
- /**
8939
- * props for {@link UnsupportedBrowserVersion} UI
8940
- *
8941
- * @beta
8942
- */
8943
- export declare interface UnsupportedBrowserVersionProps {
8944
- /** Handler to perform an action when the help link is actioned */
8945
- onTroubleshootingClick?: () => void;
8946
- /** String overrides for the component */
8947
- strings?: UnsupportedBrowserVersionStrings;
8948
- /** Handler to allow user to continue into the call */
8949
- onContinueAnywayClick?: () => void;
8950
- }
8951
-
8952
- /**
8953
- * Strings for UnsupportedBrowser component
8954
- *
8955
- * @beta
8956
- */
8957
- export declare interface UnsupportedBrowserVersionStrings {
8958
- /** String for the primary text */
8959
- primaryText: string;
8960
- /** String for the secondary text */
8961
- secondaryText: string;
8962
- /** String to display in the text for the help link */
8963
- moreHelpLinkText: string;
8964
- /** String for continue without updating button */
8965
- continueAnywayButtonText?: string;
8966
- }
8967
-
8968
- /**
8969
- * UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
8970
- *
8971
- * @beta
8972
- */
8973
- export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
8974
-
8975
- /**
8976
- * Props for {@link UnsupportedOperatingSystem} UI
8977
- *
8978
- * @beta
8979
- */
8980
- export declare interface UnsupportedOperatingSystemProps {
8981
- /** Handler to perform a action when the help link is actioned */
8982
- onTroubleshootingClick?: () => void;
8983
- /** String overrides for the component */
8984
- strings?: UnsupportedOperatingSystemStrings;
8985
- }
8986
-
8987
- /**
8988
- * Strings for UnsupportedBrowser component
8989
- *
8990
- * @beta
8991
- */
8992
- export declare interface UnsupportedOperatingSystemStrings {
8993
- /** String for the primary text */
8994
- primaryText: string;
8995
- /** String for the secondary text */
8996
- secondaryText: string;
8997
- /** String to display in the text for the help link */
8998
- moreHelpLinkText: string;
8999
- }
9000
-
9001
6444
  /**
9002
6445
  * @public
9003
6446
  * Callback function run when a message is updated.
9004
6447
  */
9005
- export declare type UpdateMessageCallback = (messageId: string, content: string, /* @conditional-compile-remove(file-sharing) */ metadata?: Record<string, string>, /* @conditional-compile-remove(file-sharing) */ options?: {
9006
- attachedFilesMetadata?: FileMetadata[];
9007
- }) => Promise<void>;
6448
+ export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
9008
6449
 
9009
6450
  /**
9010
6451
  * A custom React hook to simplify the creation of {@link CallAdapter}.
@@ -9152,44 +6593,6 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
9152
6593
  */
9153
6594
  export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: "chat" | "calling" | undefined) => ParamT extends Selector ? ReturnType<ParamT> : undefined;
9154
6595
 
9155
- /**
9156
- * Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
9157
- *
9158
- * Useful when implementing a custom component that utilizes the providers
9159
- * exported from this library.
9160
- *
9161
- * you must have previously used the CallProvider with a TeamsCall object to use this hook
9162
- *
9163
- * @beta
9164
- */
9165
- export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
9166
-
9167
- /**
9168
- * A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
9169
- *
9170
- * Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
9171
- * creation of the adapter internally.
9172
- *
9173
- * Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
9174
- * as they are created. The adapter is only created when all arguments are defined.
9175
- *
9176
- * Note that you must memoize the arguments to avoid recreating adapter on each render.
9177
- * See storybook for typical usage examples.
9178
- *
9179
- * @beta
9180
- */
9181
- export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
9182
-
9183
- /**
9184
- * Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
9185
- *
9186
- * Useful when implementing a custom component that utilizes the providers
9187
- * exported from this library.
9188
- *
9189
- * @beta
9190
- */
9191
- export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
9192
-
9193
6596
  /**
9194
6597
  * React hook to access theme
9195
6598
  *
@@ -9197,117 +6600,6 @@ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compil
9197
6600
  */
9198
6601
  export declare const useTheme: () => Theme;
9199
6602
 
9200
- /**
9201
- * Styles for the control bar inside the VerticalGallery component
9202
- *
9203
- * @beta
9204
- */
9205
- export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
9206
- /**
9207
- * styles for the next button in the VerticalGalleryControlBar
9208
- */
9209
- nextButton?: IStyle;
9210
- /**
9211
- * Styles for the previous button in the VerticalGalleryControlBar
9212
- */
9213
- previousButton?: IStyle;
9214
- /**
9215
- * Styles for the counter in the VerticalGalleryControlBar
9216
- */
9217
- counter?: IStyle;
9218
- }
9219
-
9220
- /**
9221
- * Strings for localization of the vertical gallery.
9222
- *
9223
- * @beta
9224
- */
9225
- export declare interface VerticalGalleryStrings {
9226
- /** Aria label for the left page navigation button */
9227
- leftNavButtonAriaLabel?: string;
9228
- /** Aria label for the right page navigation button */
9229
- rightNavButtonAriaLabel?: string;
9230
- }
9231
-
9232
- /**
9233
- * Styles for the VerticalGallery component
9234
- *
9235
- * @beta
9236
- */
9237
- export declare interface VerticalGalleryStyles extends BaseCustomStyles {
9238
- /** Styles for each video tile in the vertical gallery */
9239
- children?: IStyle;
9240
- /** Styles for the verticalGallery control bar */
9241
- controlBar?: VerticalGalleryControlBarStyles;
9242
- }
9243
-
9244
- /**
9245
- * Contains the attibutes of the blur video background effect
9246
- *
9247
- * @beta
9248
- */
9249
- export declare interface VideoBackgroundBlurEffect extends BackgroundBlurConfig {
9250
- /**
9251
- * Name of effect to blur video background effect
9252
- */
9253
- effectName: 'blur';
9254
- }
9255
-
9256
- /**
9257
- * Contains the attibutes of a selected video background effect
9258
- *
9259
- * @beta
9260
- */
9261
- export declare type VideoBackgroundEffect = VideoBackgroundNoEffect | VideoBackgroundBlurEffect | VideoBackgroundReplacementEffect;
9262
-
9263
- /**
9264
- * Contains the attibutes of a background image like url, name etc.
9265
- *
9266
- * @beta
9267
- */
9268
- export declare interface VideoBackgroundImage {
9269
- /**
9270
- * key for unique identification of the custom background
9271
- */
9272
- key: string;
9273
- /**
9274
- * URL of the uploaded background image.
9275
- */
9276
- url: string;
9277
- /**
9278
- * Image name to be displayed.
9279
- */
9280
- tooltipText?: string;
9281
- }
9282
-
9283
- /**
9284
- * Contains the attibutes to remove video background effect
9285
- *
9286
- * @beta
9287
- */
9288
- export declare interface VideoBackgroundNoEffect {
9289
- /**
9290
- * Name of effect to remove video background effect
9291
- */
9292
- effectName: 'none';
9293
- }
9294
-
9295
- /**
9296
- * Contains the attibutes of a selected replacement video background effect
9297
- *
9298
- * @beta
9299
- */
9300
- export declare interface VideoBackgroundReplacementEffect extends BackgroundReplacementConfig {
9301
- /**
9302
- * Name of effect to replace video background effect
9303
- */
9304
- effectName: 'replacement';
9305
- /**
9306
- * key for unique identification of the custom background
9307
- */
9308
- key?: string;
9309
- }
9310
-
9311
6603
  /**
9312
6604
  * VideoGallery represents a layout of video tiles for a specific call.
9313
6605
  * It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
@@ -9326,7 +6618,8 @@ export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo';
9326
6618
  *
9327
6619
  * @public
9328
6620
  */
9329
- export declare type VideoGalleryLocalParticipant = VideoGalleryParticipant;
6621
+ export declare interface VideoGalleryLocalParticipant extends VideoGalleryParticipant {
6622
+ }
9330
6623
 
9331
6624
  /**
9332
6625
  * The state of a participant in the {@link VideoGallery}.
@@ -9415,36 +6708,6 @@ export declare interface VideoGalleryProps {
9415
6708
  * Camera control information for button to switch cameras.
9416
6709
  */
9417
6710
  localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
9418
- /**
9419
- * List of pinned participant userIds.
9420
- */
9421
- pinnedParticipants?: string[];
9422
- /**
9423
- * This callback will be called when a participant video tile is pinned.
9424
- */
9425
- onPinParticipant?: (userId: string) => void;
9426
- /**
9427
- * This callback will be called when a participant video tile is un-pinned.
9428
- */
9429
- onUnpinParticipant?: (userId: string) => void;
9430
- /**
9431
- * Options for showing the remote video tile menu.
9432
- *
9433
- * @defaultValue \{ kind: 'contextual' \}
9434
- */
9435
- remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
9436
- /**
9437
- * Determines the layout of the overflowGallery inside the VideoGallery.
9438
- * @defaultValue 'HorizontalBottom'
9439
- */
9440
- overflowGalleryPosition?: OverflowGalleryPosition;
9441
- /**
9442
- * Determines the aspect ratio of local video tile in the video gallery.
9443
- * @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
9444
- * 16:9 (landscape) aspect ratios.
9445
- * @defaultValue 'followDeviceOrientation'
9446
- */
9447
- localVideoTileSize?: LocalVideoTileSize;
9448
6711
  }
9449
6712
 
9450
6713
  /**
@@ -9457,11 +6720,6 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
9457
6720
  isSpeaking?: boolean;
9458
6721
  /** Video stream of shared screen */
9459
6722
  screenShareStream?: VideoGalleryStream;
9460
- /**
9461
- * @beta
9462
- * The connection state of the participant. For example, 'Hold', 'Connecting' etc.
9463
- */
9464
- state?: ParticipantState;
9465
6723
  }
9466
6724
 
9467
6725
  /**
@@ -9474,7 +6732,6 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
9474
6732
  localParticipant: VideoGalleryLocalParticipant;
9475
6733
  remoteParticipants: VideoGalleryRemoteParticipant[];
9476
6734
  dominantSpeakers?: string[];
9477
- optimalVideoCount?: number;
9478
6735
  };
9479
6736
 
9480
6737
  /**
@@ -9493,8 +6750,6 @@ export declare interface VideoGalleryStream {
9493
6750
  isMirrored?: boolean;
9494
6751
  /** Render element of the video stream */
9495
6752
  renderElement?: HTMLElement;
9496
- /** Scaling mode of the video stream */
9497
- scalingMode?: ViewScalingMode;
9498
6753
  }
9499
6754
 
9500
6755
  /**
@@ -9517,22 +6772,6 @@ export declare interface VideoGalleryStrings {
9517
6772
  localVideoSelectedDescription: string;
9518
6773
  /** placeholder text for participants who does not have a display name*/
9519
6774
  displayNamePlaceholder: string;
9520
- /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fit in frame */
9521
- fitRemoteParticipantToFrame: string;
9522
- /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
9523
- fillRemoteParticipantFrame: string;
9524
- /** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
9525
- pinParticipantForMe: string;
9526
- /** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
9527
- unpinParticipantForMe: string;
9528
- /** Aria label for pin participant menu item of remote participant's video tile */
9529
- pinParticipantMenuItemAriaLabel: string;
9530
- /** Aria label for unpin participant menu item of remote participant's video tile */
9531
- unpinParticipantMenuItemAriaLabel: string;
9532
- /** Aria label to announce when remote participant's video tile is pinned */
9533
- pinnedParticipantAnnouncementAriaLabel: string;
9534
- /** Aria label to announce when remote participant's video tile is unpinned */
9535
- unpinnedParticipantAnnouncementAriaLabel: string;
9536
6775
  }
9537
6776
 
9538
6777
  /**
@@ -9546,8 +6785,6 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
9546
6785
  horizontalGallery?: HorizontalGalleryStyles;
9547
6786
  /** Styles for the local video */
9548
6787
  localVideo?: IStyle;
9549
- /** Styles for the vertical gallery */
9550
- verticalGallery?: VerticalGalleryStyles;
9551
6788
  }
9552
6789
 
9553
6790
  /**
@@ -9592,36 +6829,6 @@ export declare interface VideoStreamRendererViewState {
9592
6829
  */
9593
6830
  export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
9594
6831
 
9595
- /**
9596
- * Properties for showing contextual menu for remote {@link VideoTile} components in {@link VideoGallery}.
9597
- *
9598
- * @beta
9599
- */
9600
- export declare interface VideoTileContextualMenuProps {
9601
- /**
9602
- * The menu property kind
9603
- */
9604
- kind: 'contextual';
9605
- }
9606
-
9607
- /**
9608
- * Properties for showing drawer menu on remote {@link VideoTile} long touch in {@link VideoGallery}.
9609
- *
9610
- * @beta
9611
- */
9612
- export declare interface VideoTileDrawerMenuProps {
9613
- /**
9614
- * The menu property kind
9615
- */
9616
- kind: 'drawer';
9617
- /**
9618
- * The optional id property provided on an element that the drawer menu should render within when a
9619
- * remote participant video tile Drawer is shown. If an id is not provided, then a drawer menu will
9620
- * render within the VideoGallery component.
9621
- */
9622
- hostId?: string;
9623
- }
9624
-
9625
6832
  /**
9626
6833
  * Props for {@link VideoTile}.
9627
6834
  *
@@ -9660,10 +6867,6 @@ export declare interface VideoTileProps {
9660
6867
  * Whether the video is muted or not.
9661
6868
  */
9662
6869
  isMuted?: boolean;
9663
- /**
9664
- * If true, the video tile will show the pin icon.
9665
- */
9666
- isPinned?: boolean;
9667
6870
  /**
9668
6871
  * Display Name of the Participant to be shown in the label.
9669
6872
  * @remarks `displayName` is used to generate avatar initials if `initialsName` is not provided.
@@ -9692,31 +6895,6 @@ export declare interface VideoTileProps {
9692
6895
  noVideoAvailableAriaLabel?: string;
9693
6896
  /** Whether the participant in the videoTile is speaking. Shows a speaking indicator (border). */
9694
6897
  isSpeaking?: boolean;
9695
- /**
9696
- * The call connection state of the participant.
9697
- * For example, `Hold` means the participant is on hold.
9698
- */
9699
- participantState?: ParticipantState;
9700
- strings?: VideoTileStrings;
9701
- /**
9702
- * Display custom menu items in the VideoTile's contextual menu.
9703
- * Uses Fluent UI ContextualMenu.
9704
- * An ellipses icon will be displayed to open the contextual menu if this prop is defined.
9705
- */
9706
- contextualMenu?: IContextualMenuProps;
9707
- /**
9708
- * Callback triggered by video tile on touch and hold.
9709
- */
9710
- onLongTouch?: () => void;
9711
- }
9712
-
9713
- /**
9714
- * Strings of {@link VideoTile} that can be overridden.
9715
- * @beta
9716
- */
9717
- export declare interface VideoTileStrings {
9718
- participantStateRinging: string;
9719
- participantStateHold: string;
9720
6898
  }
9721
6899
 
9722
6900
  /**