@azure/communication-react 1.19.0-alpha-202408270015 → 1.19.0-alpha-202408290015
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.
- package/dist/communication-react.d.ts +197 -79
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-qEJmtx93.js → ChatMessageComponentAsRichTextEditBox-K_vrVBbn.js} +2 -2
- package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-qEJmtx93.js.map → ChatMessageComponentAsRichTextEditBox-K_vrVBbn.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BgnerjU-.js → RichTextSendBoxWrapper-Ct-gMKVg.js} +2 -2
- package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BgnerjU-.js.map → RichTextSendBoxWrapper-Ct-gMKVg.js.map} +1 -1
- package/dist/dist-cjs/communication-react/{index-DejG4i9h.js → index-CLXDq-Ko.js} +827 -564
- package/dist/dist-cjs/communication-react/index-CLXDq-Ko.js.map +1 -0
- package/dist/dist-cjs/communication-react/index.js +3 -1
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +14 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +36 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/incomingCallStackSelector.d.ts +3 -3
- package/dist/dist-esm/calling-component-bindings/src/incomingCallStackSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +1 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js +1 -3
- package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +0 -9
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +1 -2
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +2 -1
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/CameraButton.js +1 -1
- package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +4 -4
- package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/IncomingCallNotification.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/IncomingCallNotification.js +13 -10
- package/dist/dist-esm/react-components/src/components/IncomingCallNotification.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/IncomingCallStack.d.ts +9 -12
- package/dist/dist-esm/react-components/src/components/IncomingCallStack.js +3 -2
- package/dist/dist-esm/react-components/src/components/IncomingCallStack.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.d.ts +28 -0
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +29 -1
- package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +10 -5
- package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +1 -1
- package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +16 -9
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +17 -17
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +19 -10
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +76 -22
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +49 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +29 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +6 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +3 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +8 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +5 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +18 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +15 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +5 -4
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +19 -5
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +3 -0
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +5 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +5 -5
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +3 -2
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +4 -4
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CalloutWithIcon.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CalloutWithIcon.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +18 -1
- package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependency.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependency.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependency.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependencyLazy.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependencyLazy.js +25 -0
- package/dist/dist-esm/react-composites/src/composites/common/resolveDeepNoiseSuppressionDependencyLazy.js.map +1 -0
- package/dist/dist-esm/react-composites/src/composites/index.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/index.js +4 -0
- package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/dist-cjs/communication-react/index-DejG4i9h.js.map +0 -1
@@ -19,6 +19,7 @@
|
|
19
19
|
|
20
20
|
import { AddPhoneNumberOptions } from '@azure/communication-calling';
|
21
21
|
import { AudioDeviceInfo } from '@azure/communication-calling';
|
22
|
+
import { AudioEffectsStartConfig } from '@azure/communication-calling';
|
22
23
|
import { BackgroundBlurConfig } from '@azure/communication-calling';
|
23
24
|
import { BackgroundBlurEffect } from '@azure/communication-calling';
|
24
25
|
import { BackgroundReplacementConfig } from '@azure/communication-calling';
|
@@ -164,38 +165,6 @@ export declare interface ActiveErrorMessage {
|
|
164
165
|
timestamp?: Date;
|
165
166
|
}
|
166
167
|
|
167
|
-
/**
|
168
|
-
* Represents an active incoming call.
|
169
|
-
* @beta
|
170
|
-
*/
|
171
|
-
export declare interface ActiveIncomingCall {
|
172
|
-
/**
|
173
|
-
* Unique identifier for the incoming call.
|
174
|
-
*/
|
175
|
-
id: string;
|
176
|
-
/**
|
177
|
-
* Information about the caller.
|
178
|
-
*/
|
179
|
-
callerInfo: {
|
180
|
-
/**
|
181
|
-
* Display name of the caller.
|
182
|
-
*/
|
183
|
-
displayName: string;
|
184
|
-
};
|
185
|
-
/**
|
186
|
-
* Start time of the incoming call.
|
187
|
-
*/
|
188
|
-
startTime: Date;
|
189
|
-
/**
|
190
|
-
* End time of the incoming call.
|
191
|
-
*/
|
192
|
-
endTime?: Date;
|
193
|
-
/**
|
194
|
-
* Whether or not the call is a voip capable call.
|
195
|
-
*/
|
196
|
-
videoAvailable: boolean;
|
197
|
-
}
|
198
|
-
|
199
168
|
/**
|
200
169
|
* Active notifications to be shown via {@link NotificationStack}.
|
201
170
|
*
|
@@ -578,11 +547,6 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
578
547
|
displayName: string;
|
579
548
|
credential: CommunicationTokenCredential;
|
580
549
|
locator: CallAdapterLocator;
|
581
|
-
/**
|
582
|
-
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
583
|
-
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
584
|
-
*/
|
585
|
-
alternateCallerId?: string;
|
586
550
|
/**
|
587
551
|
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
588
552
|
*/
|
@@ -1141,7 +1105,7 @@ export declare interface CallAdapterCallOperations {
|
|
1141
1105
|
* Function to Start captions
|
1142
1106
|
* @param options - options for start captions
|
1143
1107
|
*/
|
1144
|
-
startCaptions(options?:
|
1108
|
+
startCaptions(options?: StartCaptionsAdapterOptions): Promise<void>;
|
1145
1109
|
/**
|
1146
1110
|
* Function to set caption language
|
1147
1111
|
* @param language - language set for caption
|
@@ -1155,7 +1119,7 @@ export declare interface CallAdapterCallOperations {
|
|
1155
1119
|
/**
|
1156
1120
|
* Funtion to stop captions
|
1157
1121
|
*/
|
1158
|
-
stopCaptions(): Promise<void>;
|
1122
|
+
stopCaptions(options?: StopCaptionsAdapterOptions): Promise<void>;
|
1159
1123
|
/**
|
1160
1124
|
* Start the video background effect.
|
1161
1125
|
*
|
@@ -1182,6 +1146,18 @@ export declare interface CallAdapterCallOperations {
|
|
1182
1146
|
* @public
|
1183
1147
|
*/
|
1184
1148
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
1149
|
+
/**
|
1150
|
+
* Start the noise suppression effect.
|
1151
|
+
*
|
1152
|
+
* @beta
|
1153
|
+
*/
|
1154
|
+
startNoiseSuppressionEffect(): Promise<void>;
|
1155
|
+
/**
|
1156
|
+
* Stop the noise suppression effect.
|
1157
|
+
*
|
1158
|
+
* @beta
|
1159
|
+
*/
|
1160
|
+
stopNoiseSuppressionEffect(): Promise<void>;
|
1185
1161
|
/**
|
1186
1162
|
* Send the end of call survey result
|
1187
1163
|
*
|
@@ -1275,6 +1251,11 @@ export declare type CallAdapterClientState = {
|
|
1275
1251
|
* Dependency to be injected for video background effect.
|
1276
1252
|
*/
|
1277
1253
|
onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
1254
|
+
/**
|
1255
|
+
* Dependency to be injected for deep noise suppression effect.
|
1256
|
+
* @beta
|
1257
|
+
*/
|
1258
|
+
onResolveDeepNoiseSuppressionDependency?: () => Promise<DeepNoiseSuppressionEffectDependency>;
|
1278
1259
|
/**
|
1279
1260
|
* State to track the selected video background effect.
|
1280
1261
|
*/
|
@@ -2296,23 +2277,23 @@ export declare interface CallCompositeStrings {
|
|
2296
2277
|
/**
|
2297
2278
|
* Side pane People section subheader.
|
2298
2279
|
*/
|
2299
|
-
peoplePaneSubTitle
|
2280
|
+
peoplePaneSubTitle?: string;
|
2300
2281
|
/**
|
2301
2282
|
* Label for button to copy invite link
|
2302
2283
|
*/
|
2303
|
-
copyInviteLinkButtonLabel
|
2284
|
+
copyInviteLinkButtonLabel?: string;
|
2304
2285
|
/**
|
2305
2286
|
* Label for button to copy invite link when it has been actioned
|
2306
2287
|
*/
|
2307
|
-
copyInviteLinkButtonActionedLabel
|
2288
|
+
copyInviteLinkButtonActionedLabel?: string;
|
2308
2289
|
/**
|
2309
2290
|
* Label for button to open dialpad
|
2310
2291
|
*/
|
2311
|
-
openDialpadButtonLabel
|
2292
|
+
openDialpadButtonLabel?: string;
|
2312
2293
|
/**
|
2313
2294
|
* Label for menu item to remove participant
|
2314
2295
|
*/
|
2315
|
-
removeMenuLabel
|
2296
|
+
removeMenuLabel?: string;
|
2316
2297
|
/**
|
2317
2298
|
* Label for menu item to start spotlight on participant
|
2318
2299
|
*/
|
@@ -2340,23 +2321,23 @@ export declare interface CallCompositeStrings {
|
|
2340
2321
|
/**
|
2341
2322
|
* Label for add people dropdown
|
2342
2323
|
*/
|
2343
|
-
peoplePaneAddPeopleButtonLabel
|
2324
|
+
peoplePaneAddPeopleButtonLabel?: string;
|
2344
2325
|
/**
|
2345
2326
|
* Label for button to start a call
|
2346
2327
|
*/
|
2347
|
-
dialpadStartCallButtonLabel
|
2328
|
+
dialpadStartCallButtonLabel?: string;
|
2348
2329
|
/**
|
2349
2330
|
* Title for dialpad Modal
|
2350
2331
|
*/
|
2351
|
-
dialpadModalTitle
|
2332
|
+
dialpadModalTitle?: string;
|
2352
2333
|
/**
|
2353
2334
|
* Aria Label for dialpad Modal
|
2354
2335
|
*/
|
2355
|
-
dialpadModalAriaLabel
|
2336
|
+
dialpadModalAriaLabel?: string;
|
2356
2337
|
/**
|
2357
2338
|
* Aria Label for dialpad Modal close button
|
2358
2339
|
*/
|
2359
|
-
dialpadCloseModalButtonAriaLabel
|
2340
|
+
dialpadCloseModalButtonAriaLabel?: string;
|
2360
2341
|
/**
|
2361
2342
|
* label for more button in the Calling composite
|
2362
2343
|
*/
|
@@ -2364,31 +2345,31 @@ export declare interface CallCompositeStrings {
|
|
2364
2345
|
/**
|
2365
2346
|
* Label for the resume call button on the hold pane
|
2366
2347
|
*/
|
2367
|
-
resumeCallButtonLabel
|
2348
|
+
resumeCallButtonLabel?: string;
|
2368
2349
|
/**
|
2369
2350
|
* Label for the resume call button on the hold pane when call is resuming
|
2370
2351
|
*/
|
2371
|
-
resumingCallButtonLabel
|
2352
|
+
resumingCallButtonLabel?: string;
|
2372
2353
|
/**
|
2373
2354
|
* Aria label for the resume call button on the hold pane
|
2374
2355
|
*/
|
2375
|
-
resumeCallButtonAriaLabel
|
2356
|
+
resumeCallButtonAriaLabel?: string;
|
2376
2357
|
/**
|
2377
2358
|
* Aria label for the resume call button on the hold pane when call is resuming
|
2378
2359
|
*/
|
2379
|
-
resumingCallButtonAriaLabel
|
2360
|
+
resumingCallButtonAriaLabel?: string;
|
2380
2361
|
/**
|
2381
2362
|
* Label for the hold pane
|
2382
2363
|
*/
|
2383
|
-
holdScreenLabel
|
2364
|
+
holdScreenLabel?: string;
|
2384
2365
|
/**
|
2385
2366
|
* Placeholder text for dtmf dialpad
|
2386
2367
|
*/
|
2387
|
-
dtmfDialpadPlaceholderText
|
2368
|
+
dtmfDialpadPlaceholderText?: string;
|
2388
2369
|
/**
|
2389
2370
|
* Label for the button to open dtmf dialpad
|
2390
2371
|
*/
|
2391
|
-
openDtmfDialpadLabel
|
2372
|
+
openDtmfDialpadLabel?: string;
|
2392
2373
|
/**
|
2393
2374
|
* aria label for when the invite link has been actioned
|
2394
2375
|
*/
|
@@ -3055,8 +3036,6 @@ export declare type CallingBaseSelectorProps = {
|
|
3055
3036
|
*/
|
3056
3037
|
export declare interface CallingHandlers extends CommonCallingHandlers {
|
3057
3038
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => Call | undefined;
|
3058
|
-
onAcceptCall: (incomingCallId: string, useVideo?: boolean) => Promise<void>;
|
3059
|
-
onRejectCall: (incomingCallId: string) => Promise<void>;
|
3060
3039
|
}
|
3061
3040
|
|
3062
3041
|
/**
|
@@ -3065,6 +3044,7 @@ export declare interface CallingHandlers extends CommonCallingHandlers {
|
|
3065
3044
|
*/
|
3066
3045
|
export declare type CallingHandlersOptions = {
|
3067
3046
|
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
3047
|
+
onResolveDeepNoiseSuppressionDependency?: () => Promise<DeepNoiseSuppressionEffectDependency>;
|
3068
3048
|
};
|
3069
3049
|
|
3070
3050
|
/**
|
@@ -3729,7 +3709,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3729
3709
|
* Function to Start captions
|
3730
3710
|
* @param options - options for start captions
|
3731
3711
|
*/
|
3732
|
-
startCaptions(options?:
|
3712
|
+
startCaptions(options?: StartCaptionsAdapterOptions): Promise<void>;
|
3733
3713
|
/**
|
3734
3714
|
* Function to set caption language
|
3735
3715
|
* @param language - language set for caption
|
@@ -3743,7 +3723,7 @@ export declare interface CallWithChatAdapterManagement {
|
|
3743
3723
|
/**
|
3744
3724
|
* Funtion to stop captions
|
3745
3725
|
*/
|
3746
|
-
stopCaptions(): Promise<void>;
|
3726
|
+
stopCaptions(options?: StopCaptionsAdapterOptions): Promise<void>;
|
3747
3727
|
/**
|
3748
3728
|
* Start the video background effect.
|
3749
3729
|
*
|
@@ -3770,6 +3750,18 @@ export declare interface CallWithChatAdapterManagement {
|
|
3770
3750
|
* @public
|
3771
3751
|
*/
|
3772
3752
|
updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
|
3753
|
+
/**
|
3754
|
+
* Start the noise suppression effect.
|
3755
|
+
*
|
3756
|
+
* @beta
|
3757
|
+
*/
|
3758
|
+
startNoiseSuppressionEffect(): Promise<void>;
|
3759
|
+
/**
|
3760
|
+
* Start the noise suppression effect.
|
3761
|
+
*
|
3762
|
+
* @beta
|
3763
|
+
*/
|
3764
|
+
stopNoiseSuppressionEffect(): Promise<void>;
|
3773
3765
|
/**
|
3774
3766
|
* Send the end of call survey result
|
3775
3767
|
*
|
@@ -3934,6 +3926,8 @@ export declare interface CallWithChatClientState {
|
|
3934
3926
|
videoBackgroundImages?: VideoBackgroundImage[];
|
3935
3927
|
/** Dependency to be injected for video background effects */
|
3936
3928
|
onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
3929
|
+
/** Dependency to be injected for deep noise suppression effect. */
|
3930
|
+
onResolveDeepNoiseSuppressionDependency?: () => Promise<DeepNoiseSuppressionEffectDependency>;
|
3937
3931
|
/** State to track the selected video background effect */
|
3938
3932
|
selectedVideoBackgroundEffect?: VideoBackgroundEffect;
|
3939
3933
|
/** Hide attendee names in teams meeting */
|
@@ -4634,6 +4628,10 @@ export declare interface CameraButtonStrings {
|
|
4634
4628
|
* Title for video effects menu item
|
4635
4629
|
*/
|
4636
4630
|
videoEffectsMenuItemTitle?: string;
|
4631
|
+
/**
|
4632
|
+
* Aria description for camera button
|
4633
|
+
*/
|
4634
|
+
cameraButtonAriaDescription?: string;
|
4637
4635
|
}
|
4638
4636
|
|
4639
4637
|
/**
|
@@ -5586,6 +5584,12 @@ export declare type CommonCallAdapterOptions = {
|
|
5586
5584
|
videoBackgroundImages?: VideoBackgroundImage[];
|
5587
5585
|
onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
5588
5586
|
};
|
5587
|
+
/**
|
5588
|
+
* `DeepNoiseSuppressionEffect` options to be used for noise suppression.
|
5589
|
+
*/
|
5590
|
+
deepNoiseSuppressionOptions?: {
|
5591
|
+
onResolveDependency?: () => Promise<DeepNoiseSuppressionEffectDependency>;
|
5592
|
+
};
|
5589
5593
|
/**
|
5590
5594
|
* Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
|
5591
5595
|
* The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
|
@@ -5601,6 +5605,11 @@ export declare type CommonCallAdapterOptions = {
|
|
5601
5605
|
* @beta
|
5602
5606
|
*/
|
5603
5607
|
reactionResources?: ReactionResources;
|
5608
|
+
/**
|
5609
|
+
* A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
|
5610
|
+
* E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
|
5611
|
+
*/
|
5612
|
+
alternateCallerId?: string;
|
5604
5613
|
};
|
5605
5614
|
|
5606
5615
|
/**
|
@@ -5765,9 +5774,13 @@ export declare interface CommonCallingHandlers {
|
|
5765
5774
|
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
5766
5775
|
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
5767
5776
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
|
5777
|
+
onAcceptCall: (incomingCallId: string, useVideo?: boolean) => Promise<void>;
|
5778
|
+
onRejectCall: (incomingCallId: string) => Promise<void>;
|
5768
5779
|
onRemoveVideoBackgroundEffects: () => Promise<void>;
|
5769
5780
|
onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
|
5770
5781
|
onReplaceVideoBackground: (backgroundReplacementConfig: BackgroundReplacementConfig) => Promise<void>;
|
5782
|
+
onStartNoiseSuppressionEffect: () => Promise<void>;
|
5783
|
+
onStopNoiseSuppressionEffect: () => Promise<void>;
|
5771
5784
|
onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
|
5772
5785
|
onStopCaptions: () => Promise<void>;
|
5773
5786
|
onSetSpokenLanguage: (language: string) => Promise<void>;
|
@@ -6614,6 +6627,7 @@ export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient,
|
|
6614
6627
|
*/
|
6615
6628
|
export declare const createDefaultTeamsCallingHandlers: (callClient: StatefulCallClient, callAgent?: TeamsCallAgent, deviceManager?: StatefulDeviceManager, call?: TeamsCall, options?: {
|
6616
6629
|
onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
|
6630
|
+
onResolveDeepNoiseSuppressionDependency?: () => Promise<DeepNoiseSuppressionEffectDependency>;
|
6617
6631
|
}) => TeamsCallingHandlers;
|
6618
6632
|
|
6619
6633
|
/**
|
@@ -6852,6 +6866,15 @@ export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
|
|
6852
6866
|
*/
|
6853
6867
|
export declare type DeclarativeTeamsCallAgent = TeamsCallAgent & TeamsIncomingCallManagement;
|
6854
6868
|
|
6869
|
+
/**
|
6870
|
+
* Dependency type to be injected for deep noise suppression
|
6871
|
+
*
|
6872
|
+
* @beta
|
6873
|
+
*/
|
6874
|
+
export declare type DeepNoiseSuppressionEffectDependency = {
|
6875
|
+
deepNoiseSuppressionEffect: AudioEffectsStartConfig;
|
6876
|
+
};
|
6877
|
+
|
6855
6878
|
/**
|
6856
6879
|
* The default set of icons that are available to use in the UI components.
|
6857
6880
|
*
|
@@ -7954,19 +7977,19 @@ export declare interface HoldButtonStrings {
|
|
7954
7977
|
/**
|
7955
7978
|
* Label for when action is to resume call.
|
7956
7979
|
*/
|
7957
|
-
onLabel
|
7980
|
+
onLabel?: string;
|
7958
7981
|
/**
|
7959
7982
|
* Label for when action is to hold call.
|
7960
7983
|
*/
|
7961
|
-
offLabel
|
7984
|
+
offLabel?: string;
|
7962
7985
|
/**
|
7963
7986
|
* Content for when button is checked
|
7964
7987
|
*/
|
7965
|
-
tooltipOnContent
|
7988
|
+
tooltipOnContent?: string;
|
7966
7989
|
/**
|
7967
7990
|
* Content for when button is unchecked
|
7968
7991
|
*/
|
7969
|
-
tooltipOffContent
|
7992
|
+
tooltipOffContent?: string;
|
7970
7993
|
}
|
7971
7994
|
|
7972
7995
|
/**
|
@@ -8242,6 +8265,10 @@ export declare interface IncomingCallNotificationStrings {
|
|
8242
8265
|
* label for the reject button in the incoming call notification.
|
8243
8266
|
*/
|
8244
8267
|
incomingCallNotificationRejectButtonLabel?: string;
|
8268
|
+
/**
|
8269
|
+
* Aria label for the incoming call dismiss button
|
8270
|
+
*/
|
8271
|
+
incomingCallNotificationDismissButtonAriaLabel?: string;
|
8245
8272
|
}
|
8246
8273
|
|
8247
8274
|
/**
|
@@ -8276,6 +8303,30 @@ export declare interface IncomingCallNotificationStyles {
|
|
8276
8303
|
*/
|
8277
8304
|
export declare const IncomingCallStack: (props: IncomingCallStackProps) => JSX.Element;
|
8278
8305
|
|
8306
|
+
/**
|
8307
|
+
* Represents an active incoming call.
|
8308
|
+
* @beta
|
8309
|
+
*/
|
8310
|
+
export declare interface IncomingCallStackCall {
|
8311
|
+
/**
|
8312
|
+
* Unique identifier for the incoming call.
|
8313
|
+
*/
|
8314
|
+
id: string;
|
8315
|
+
/**
|
8316
|
+
* Information about the caller.
|
8317
|
+
*/
|
8318
|
+
callerInfo: {
|
8319
|
+
/**
|
8320
|
+
* Display name of the caller.
|
8321
|
+
*/
|
8322
|
+
displayName?: string;
|
8323
|
+
};
|
8324
|
+
/**
|
8325
|
+
* Whether or not the call is a voip capable call.
|
8326
|
+
*/
|
8327
|
+
videoAvailable: boolean;
|
8328
|
+
}
|
8329
|
+
|
8279
8330
|
/**
|
8280
8331
|
* Props for the IncomingCallManager component.
|
8281
8332
|
* @beta
|
@@ -8284,11 +8335,11 @@ export declare interface IncomingCallStackProps {
|
|
8284
8335
|
/**
|
8285
8336
|
* List of incoming calls.
|
8286
8337
|
*/
|
8287
|
-
activeIncomingCalls:
|
8338
|
+
activeIncomingCalls: IncomingCallStackCall[];
|
8288
8339
|
/**
|
8289
8340
|
* List of incoming calls that have ended.
|
8290
8341
|
*/
|
8291
|
-
removedIncomingCalls:
|
8342
|
+
removedIncomingCalls: IncomingCallStackCall[];
|
8292
8343
|
/**
|
8293
8344
|
* Handler to accept the incoming call.
|
8294
8345
|
* @param incomingCallId - Id of the incoming call to accept.
|
@@ -8310,6 +8361,11 @@ export declare interface IncomingCallStackProps {
|
|
8310
8361
|
* Strings for the incoming call notifications.
|
8311
8362
|
*/
|
8312
8363
|
strings?: IncomingCallNotificationStrings;
|
8364
|
+
/**
|
8365
|
+
* Tab index for the incoming Call stack, this will set the tab order of the
|
8366
|
+
* incoming call notifications in your application.
|
8367
|
+
*/
|
8368
|
+
tabIndex?: number;
|
8313
8369
|
}
|
8314
8370
|
|
8315
8371
|
/**
|
@@ -8317,8 +8373,8 @@ export declare interface IncomingCallStackProps {
|
|
8317
8373
|
* @beta
|
8318
8374
|
*/
|
8319
8375
|
export declare type IncomingCallStackSelector = (state: CallClientState) => {
|
8320
|
-
activeIncomingCalls:
|
8321
|
-
removedIncomingCalls:
|
8376
|
+
activeIncomingCalls: IncomingCallStackCall[];
|
8377
|
+
removedIncomingCalls: IncomingCallStackCall[];
|
8322
8378
|
};
|
8323
8379
|
|
8324
8380
|
/**
|
@@ -9383,6 +9439,14 @@ export declare interface MicrophoneButtonProps extends ControlBarButtonProps {
|
|
9383
9439
|
* Styles for {@link MicrophoneButton} and the device selection flyout.
|
9384
9440
|
*/
|
9385
9441
|
styles?: Partial<MicrophoneButtonStyles>;
|
9442
|
+
/**
|
9443
|
+
* Whether the deep noise suppression is on or off
|
9444
|
+
*/
|
9445
|
+
isDeepNoiseSuppressionOn?: boolean;
|
9446
|
+
/**
|
9447
|
+
* Callback when noise suppression is clicked
|
9448
|
+
*/
|
9449
|
+
onClickNoiseSuppression?: () => void;
|
9386
9450
|
}
|
9387
9451
|
|
9388
9452
|
/**
|
@@ -9463,6 +9527,26 @@ export declare interface MicrophoneButtonStrings {
|
|
9463
9527
|
* Title for primary action section of split button
|
9464
9528
|
*/
|
9465
9529
|
microphonePrimaryActionSplitButtonTitle?: string;
|
9530
|
+
/**
|
9531
|
+
* Aria description for the microphone button
|
9532
|
+
*/
|
9533
|
+
microphoneAriaDescription?: string;
|
9534
|
+
/**
|
9535
|
+
* Title when deep noise suppression is on
|
9536
|
+
*/
|
9537
|
+
deepNoiseSuppresionOnTitle?: string;
|
9538
|
+
/**
|
9539
|
+
* Title when deep noise suppression is off
|
9540
|
+
*/
|
9541
|
+
deepNoiseSuppresionOffTitle?: string;
|
9542
|
+
/**
|
9543
|
+
* Noise Suppression turned on string for announcer
|
9544
|
+
*/
|
9545
|
+
deepNoiseSuppresionOnAnnouncement?: string;
|
9546
|
+
/**
|
9547
|
+
* Noise Suppression turned off string for announcer
|
9548
|
+
*/
|
9549
|
+
deepNoiseSuppresionOffAnnouncement?: string;
|
9466
9550
|
}
|
9467
9551
|
|
9468
9552
|
/**
|
@@ -9876,6 +9960,20 @@ userId?: string, options?: CustomAvatarOptions,
|
|
9876
9960
|
*/
|
9877
9961
|
defaultOnRender?: (props: CustomAvatarOptions) => JSX.Element) => JSX.Element | undefined;
|
9878
9962
|
|
9963
|
+
/**
|
9964
|
+
*
|
9965
|
+
* Dependency resolution for video background effects using lazy loading.
|
9966
|
+
* @beta
|
9967
|
+
*/
|
9968
|
+
export declare const onResolveDeepNoiseSuppressionDependency: () => Promise<DeepNoiseSuppressionEffectDependency>;
|
9969
|
+
|
9970
|
+
/**
|
9971
|
+
*
|
9972
|
+
* Dependency resolution for video background effects using lazy loading.
|
9973
|
+
* @beta
|
9974
|
+
*/
|
9975
|
+
export declare const onResolveDeepNoiseSuppressionDependencyLazy: () => Promise<DeepNoiseSuppressionEffectDependency>;
|
9976
|
+
|
9879
9977
|
/**
|
9880
9978
|
* Dependency resolution for video background effects.
|
9881
9979
|
*
|
@@ -11505,6 +11603,20 @@ export declare interface SpotlightState {
|
|
11505
11603
|
*/
|
11506
11604
|
export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | /* @conditional-compile-remove(PSTN-calls) */ PhoneNumberIdentifier | /* @conditional-compile-remove(one-to-n-calling) */ CommunicationUserIdentifier | /* @conditional-compile-remove(teams-adhoc-call) */ MicrosoftTeamsUserIdentifier | UnknownIdentifier) | /* @conditional-compile-remove(start-call-beta) */ CommunicationIdentifier;
|
11507
11605
|
|
11606
|
+
/**
|
11607
|
+
* Options passed to adapter.startCaptions
|
11608
|
+
*
|
11609
|
+
* @public
|
11610
|
+
*/
|
11611
|
+
export declare interface StartCaptionsAdapterOptions extends StartCaptionsOptions {
|
11612
|
+
/**
|
11613
|
+
* Start captions in the background without showing the captions UI to the Composite user.
|
11614
|
+
*
|
11615
|
+
* @defaultValue false
|
11616
|
+
*/
|
11617
|
+
startInBackground?: boolean;
|
11618
|
+
}
|
11619
|
+
|
11508
11620
|
/**
|
11509
11621
|
* Parameter to start a call using a Teams user identity.
|
11510
11622
|
*
|
@@ -11661,15 +11773,6 @@ export declare type StatefulCallClientArgs = {
|
|
11661
11773
|
* state. It is not used by StatefulCallClient.
|
11662
11774
|
*/
|
11663
11775
|
userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
|
11664
|
-
/**
|
11665
|
-
* A phone number in E.164 format that will be used to represent the callers identity. This number is required
|
11666
|
-
* to start a PSTN call.
|
11667
|
-
*
|
11668
|
-
* example: +11234567
|
11669
|
-
*
|
11670
|
-
* This is not a cached value from the headless calling client.
|
11671
|
-
*/
|
11672
|
-
alternateCallerId?: string;
|
11673
11776
|
};
|
11674
11777
|
|
11675
11778
|
/**
|
@@ -11787,6 +11890,23 @@ export declare interface StatefulDeviceManager extends DeviceManager {
|
|
11787
11890
|
getUnparentedVideoStreams: () => LocalVideoStream[];
|
11788
11891
|
}
|
11789
11892
|
|
11893
|
+
/**
|
11894
|
+
* Options passed to adapter.stopCaptions
|
11895
|
+
*
|
11896
|
+
* @public
|
11897
|
+
*/
|
11898
|
+
export declare interface StopCaptionsAdapterOptions {
|
11899
|
+
/**
|
11900
|
+
* Stop captions that have been started in the background.
|
11901
|
+
*
|
11902
|
+
* @remarks
|
11903
|
+
* This option is only applicable when stopping captions that have been started using the `startInBackground` property of adpater.startCaptions.
|
11904
|
+
*
|
11905
|
+
* @defaultValue false
|
11906
|
+
*/
|
11907
|
+
stopInBackground?: boolean;
|
11908
|
+
}
|
11909
|
+
|
11790
11910
|
/**
|
11791
11911
|
* Utility component to convert an HTMLElement with a video stream into a JSX element.
|
11792
11912
|
*
|
@@ -11969,8 +12089,6 @@ export declare type TeamsCallAdapterArgsCommon = {
|
|
11969
12089
|
*/
|
11970
12090
|
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
11971
12091
|
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
11972
|
-
onAcceptCall: (incomingCallId: string, useVideo?: boolean) => Promise<void>;
|
11973
|
-
onRejectCall: (incomingCallId: string) => Promise<void>;
|
11974
12092
|
}
|
11975
12093
|
|
11976
12094
|
/**
|
@@ -4,7 +4,7 @@ var react = require('@fluentui/react');
|
|
4
4
|
var reactChat = require('@fluentui-contrib/react-chat');
|
5
5
|
var reactComponents = require('@fluentui/react-components');
|
6
6
|
require('@azure/communication-common');
|
7
|
-
var index = require('./index-
|
7
|
+
var index = require('./index-CLXDq-Ko.js');
|
8
8
|
var React = require('react');
|
9
9
|
require('react-dom/client');
|
10
10
|
require('@azure/communication-chat');
|
@@ -273,4 +273,4 @@ const ChatMessageComponentAsRichTextEditBox = (props) => {
|
|
273
273
|
|
274
274
|
exports.ChatMessageComponentAsRichTextEditBox = ChatMessageComponentAsRichTextEditBox;
|
275
275
|
exports.default = ChatMessageComponentAsRichTextEditBox;
|
276
|
-
//# sourceMappingURL=ChatMessageComponentAsRichTextEditBox-
|
276
|
+
//# sourceMappingURL=ChatMessageComponentAsRichTextEditBox-K_vrVBbn.js.map
|