@webitel/ui-sdk 26.6.22 → 26.6.24
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/package.json +1 -1
- package/src/enums/BroadcastChannelName/BroadcastChannelName.ts +6 -0
- package/src/enums/BroadcastChannelName/UserSettingsBroadcastMessage.ts +14 -0
- package/src/enums/index.ts +13 -0
- package/types/enums/BroadcastChannelName/BroadcastChannelName.d.ts +4 -0
- package/types/enums/BroadcastChannelName/UserSettingsBroadcastMessage.d.ts +12 -0
- package/types/enums/index.d.ts +4 -1
package/package.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface WebphoneBroadcastPayload {
|
|
2
|
+
webrtc: boolean;
|
|
3
|
+
stun: boolean;
|
|
4
|
+
autoGainControl: boolean;
|
|
5
|
+
echoCancellation: boolean;
|
|
6
|
+
noiseSuppression: boolean;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface WebphoneBroadcastMessage {
|
|
10
|
+
type: 'webphone';
|
|
11
|
+
payload: WebphoneBroadcastPayload;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type UserSettingsBroadcastMessage = WebphoneBroadcastMessage;
|
package/src/enums/index.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import AbstractUserStatus from './AbstractUserStatus/AbstractUserStatus.enum.js';
|
|
2
2
|
import AgentStatus from './AgentStatus/AgentStatus.enum.js';
|
|
3
|
+
import { BroadcastChannelName } from './BroadcastChannelName/BroadcastChannelName';
|
|
4
|
+
import type {
|
|
5
|
+
UserSettingsBroadcastMessage,
|
|
6
|
+
WebphoneBroadcastMessage,
|
|
7
|
+
WebphoneBroadcastPayload,
|
|
8
|
+
} from './BroadcastChannelName/UserSettingsBroadcastMessage';
|
|
3
9
|
import { ButtonColor } from './ButtonColor/ButtonColor';
|
|
4
10
|
import { ButtonVariant } from './ButtonVariant/ButtonVariant';
|
|
5
11
|
import ChatGatewayProvider from './ChatGatewayProvider/ChatGatewayProvider.enum.js';
|
|
@@ -28,11 +34,18 @@ import { WtApplication } from './WebitelApplications/WtApplication';
|
|
|
28
34
|
import { WtObject } from './WtObject/WtObject';
|
|
29
35
|
import { WtTypeExtensionFieldKind } from './WtTypeExtensionFieldKind/WtTypeExtensionFieldKind';
|
|
30
36
|
|
|
37
|
+
export type {
|
|
38
|
+
UserSettingsBroadcastMessage,
|
|
39
|
+
WebphoneBroadcastMessage,
|
|
40
|
+
WebphoneBroadcastPayload,
|
|
41
|
+
};
|
|
42
|
+
|
|
31
43
|
export {
|
|
32
44
|
AbstractUserStatus,
|
|
33
45
|
AdminSections,
|
|
34
46
|
AgentStatus,
|
|
35
47
|
AuditorSections,
|
|
48
|
+
BroadcastChannelName,
|
|
36
49
|
ButtonColor,
|
|
37
50
|
ButtonVariant,
|
|
38
51
|
ChatGatewayProvider,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface WebphoneBroadcastPayload {
|
|
2
|
+
webrtc: boolean;
|
|
3
|
+
stun: boolean;
|
|
4
|
+
autoGainControl: boolean;
|
|
5
|
+
echoCancellation: boolean;
|
|
6
|
+
noiseSuppression: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface WebphoneBroadcastMessage {
|
|
9
|
+
type: 'webphone';
|
|
10
|
+
payload: WebphoneBroadcastPayload;
|
|
11
|
+
}
|
|
12
|
+
export type UserSettingsBroadcastMessage = WebphoneBroadcastMessage;
|
package/types/enums/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import AbstractUserStatus from './AbstractUserStatus/AbstractUserStatus.enum.js';
|
|
2
2
|
import AgentStatus from './AgentStatus/AgentStatus.enum.js';
|
|
3
|
+
import { BroadcastChannelName } from './BroadcastChannelName/BroadcastChannelName';
|
|
4
|
+
import type { UserSettingsBroadcastMessage, WebphoneBroadcastMessage, WebphoneBroadcastPayload } from './BroadcastChannelName/UserSettingsBroadcastMessage';
|
|
3
5
|
import { ButtonColor } from './ButtonColor/ButtonColor';
|
|
4
6
|
import { ButtonVariant } from './ButtonVariant/ButtonVariant';
|
|
5
7
|
import ChatGatewayProvider from './ChatGatewayProvider/ChatGatewayProvider.enum.js';
|
|
@@ -27,4 +29,5 @@ import { WfmSections } from './WebitelApplications/WfmSections';
|
|
|
27
29
|
import { WtApplication } from './WebitelApplications/WtApplication';
|
|
28
30
|
import { WtObject } from './WtObject/WtObject';
|
|
29
31
|
import { WtTypeExtensionFieldKind } from './WtTypeExtensionFieldKind/WtTypeExtensionFieldKind';
|
|
30
|
-
export {
|
|
32
|
+
export type { UserSettingsBroadcastMessage, WebphoneBroadcastMessage, WebphoneBroadcastPayload, };
|
|
33
|
+
export { AbstractUserStatus, AdminSections, AgentStatus, AuditorSections, BroadcastChannelName, ButtonColor, ButtonVariant, ChatGatewayProvider, ChipColor, ComponentSize, CrmSections, CrudAction, EmptyCause, FormatDateMode, IconAction, IconColor, MessageColor, MessageVariant, MimeTypes, ProcessingTableColumnType, ProviderIconType, QueueType, QueueTypeName, RelativeDatetimeValue, RingtoneType, SupervisorSections, TypesExportedSettings, WfmSections, WtApplication, WtObject, WtTypeExtensionFieldKind, };
|