@microsoft/omnichannel-chat-sdk 1.9.5 → 1.9.6
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/lib/OmnichannelChatSDK.d.ts +128 -114
- package/lib/OmnichannelChatSDK.js +2609 -2394
- package/lib/OmnichannelChatSDK.js.map +1 -1
- package/lib/api/createVoiceVideoCalling.d.ts +53 -53
- package/lib/api/createVoiceVideoCalling.js +462 -462
- package/lib/commands/throwUnsupportedLiveChatVersionFailureIfApplicable.d.ts +3 -0
- package/lib/commands/throwUnsupportedLiveChatVersionFailureIfApplicable.js +14 -0
- package/lib/commands/throwUnsupportedLiveChatVersionFailureIfApplicable.js.map +1 -0
- package/lib/config/ocSDKConfiguration.d.ts +7 -7
- package/lib/config/ocSDKConfiguration.js +9 -9
- package/lib/config/settings.d.ts +6 -6
- package/lib/config/settings.js +13 -13
- package/lib/core/AuthSettings.d.ts +5 -5
- package/lib/core/AuthSettings.js +2 -2
- package/lib/core/AxiosErrorCodes.d.ts +4 -4
- package/lib/core/AxiosErrorCodes.js +7 -7
- package/lib/core/CallingOptionsOptionSetNumber.d.ts +6 -6
- package/lib/core/CallingOptionsOptionSetNumber.js +9 -9
- package/lib/core/ChatConfig.d.ts +10 -10
- package/lib/core/ChatConfig.js +2 -2
- package/lib/core/ChatReconnectContext.d.ts +4 -4
- package/lib/core/ChatReconnectContext.js +2 -2
- package/lib/core/ChatReconnectOptionalParams.d.ts +3 -3
- package/lib/core/ChatReconnectOptionalParams.js +2 -2
- package/lib/core/ChatSDKConfig.d.ts +38 -38
- package/lib/core/ChatSDKConfig.js +2 -2
- package/lib/core/ChatSDKError.d.ts +64 -63
- package/lib/core/ChatSDKError.js +73 -72
- package/lib/core/ChatSDKError.js.map +1 -1
- package/lib/core/ChatSDKExceptionDetails.d.ts +13 -13
- package/lib/core/ChatSDKExceptionDetails.js +2 -2
- package/lib/core/ChatTranscriptBody.d.ts +5 -5
- package/lib/core/ChatTranscriptBody.js +2 -2
- package/lib/core/ConversationMode.d.ts +5 -5
- package/lib/core/ConversationMode.js +8 -8
- package/lib/core/EmailLiveChatTranscriptOptionalParams.d.ts +4 -4
- package/lib/core/EmailLiveChatTranscriptOptionalParams.js +2 -2
- package/lib/core/GetAgentAvailabilityOptionalParams.d.ts +13 -13
- package/lib/core/GetAgentAvailabilityOptionalParams.js +2 -2
- package/lib/core/GetChatTokenOptionalParams.d.ts +3 -3
- package/lib/core/GetChatTokenOptionalParams.js +2 -2
- package/lib/core/GetConversationDetailsOptionalParams.d.ts +4 -4
- package/lib/core/GetConversationDetailsOptionalParams.js +2 -2
- package/lib/core/GetLiveChatConfigOptionalParams.d.ts +5 -5
- package/lib/core/GetLiveChatConfigOptionalParams.js +2 -2
- package/lib/core/GetLiveChatTranscriptOptionalParams.d.ts +4 -4
- package/lib/core/GetLiveChatTranscriptOptionalParams.js +2 -2
- package/lib/core/InitializeOptionalParams.d.ts +6 -5
- package/lib/core/InitializeOptionalParams.js +2 -2
- package/lib/core/LiveChatContext.d.ts +14 -14
- package/lib/core/LiveChatContext.js +2 -2
- package/lib/core/LiveChatVersion.d.ts +5 -5
- package/lib/core/LiveChatVersion.js +8 -8
- package/lib/core/LiveWorkItemDetails.d.ts +8 -8
- package/lib/core/LiveWorkItemDetails.js +2 -2
- package/lib/core/LiveWorkItemState.d.ts +8 -8
- package/lib/core/LiveWorkItemState.js +11 -11
- package/lib/core/OmnichannelConfig.d.ts +5 -5
- package/lib/core/OmnichannelConfig.js +2 -2
- package/lib/core/OmnichannelErrorCodes.d.ts +4 -4
- package/lib/core/OmnichannelErrorCodes.js +7 -7
- package/lib/core/PostChatContext.d.ts +8 -8
- package/lib/core/PostChatContext.js +2 -2
- package/lib/core/SetAuthTokenProviderOptionalParams.d.ts +3 -3
- package/lib/core/SetAuthTokenProviderOptionalParams.js +2 -2
- package/lib/core/StartChatOptionalParams.d.ts +18 -18
- package/lib/core/StartChatOptionalParams.js +2 -2
- package/lib/core/messaging/ACSChatMessageType.d.ts +7 -7
- package/lib/core/messaging/ACSChatMessageType.js +10 -10
- package/lib/core/messaging/ACSClient.d.ts +45 -45
- package/lib/core/messaging/ACSClient.js +612 -612
- package/lib/core/messaging/ACSClientConfig.d.ts +5 -5
- package/lib/core/messaging/ACSClientConfig.js +2 -2
- package/lib/core/messaging/ACSParticipantDisplayName.d.ts +6 -6
- package/lib/core/messaging/ACSParticipantDisplayName.js +9 -9
- package/lib/core/messaging/ACSSessionInfo.d.ts +5 -5
- package/lib/core/messaging/ACSSessionInfo.js +2 -2
- package/lib/core/messaging/ChatAdapterConfig.d.ts +8 -8
- package/lib/core/messaging/ChatAdapterConfig.js +2 -2
- package/lib/core/messaging/ChatAdapterOptionalParams.d.ts +24 -24
- package/lib/core/messaging/ChatAdapterOptionalParams.js +2 -2
- package/lib/core/messaging/ChatAdapterProtocols.d.ts +6 -6
- package/lib/core/messaging/ChatAdapterProtocols.js +10 -10
- package/lib/core/messaging/ChatSDKMessage.d.ts +6 -6
- package/lib/core/messaging/ChatSDKMessage.js +2 -2
- package/lib/core/messaging/IC3Config.d.ts +4 -4
- package/lib/core/messaging/IC3Config.js +2 -2
- package/lib/core/messaging/MessageTags.d.ts +3 -3
- package/lib/core/messaging/MessageTags.js +6 -6
- package/lib/core/messaging/OmnichannelMessage.d.ts +64 -64
- package/lib/core/messaging/OmnichannelMessage.js +51 -51
- package/lib/core/messaging/OnNewMessageOptionalParams.d.ts +3 -3
- package/lib/core/messaging/OnNewMessageOptionalParams.js +2 -2
- package/lib/external/ACSAdapter/AMSFileManager.d.ts +76 -76
- package/lib/external/ACSAdapter/AMSFileManager.js +394 -394
- package/lib/external/ACSAdapter/AMSFileScanner.d.ts +36 -36
- package/lib/external/ACSAdapter/AMSFileScanner.js +275 -275
- package/lib/external/ACSAdapter/activityUtils.d.ts +9 -9
- package/lib/external/ACSAdapter/activityUtils.js +79 -79
- package/lib/external/ACSAdapter/createChannelDataEgressMiddleware.d.ts +5 -5
- package/lib/external/ACSAdapter/createChannelDataEgressMiddleware.js +33 -33
- package/lib/external/ACSAdapter/createFileScanIngressMiddleware.d.ts +2 -2
- package/lib/external/ACSAdapter/createFileScanIngressMiddleware.js +95 -95
- package/lib/external/ACSAdapter/createFormatEgressTagsMiddleware.d.ts +2 -2
- package/lib/external/ACSAdapter/createFormatEgressTagsMiddleware.js +30 -30
- package/lib/external/ACSAdapter/createFormatIngressTagsMiddleware.d.ts +2 -2
- package/lib/external/ACSAdapter/createFormatIngressTagsMiddleware.js +24 -24
- package/lib/external/CallingSDK/ICallingSDKLogData.d.ts +7 -7
- package/lib/external/CallingSDK/ICallingSDKLogData.js +2 -2
- package/lib/external/IC3Adapter/IChatToken.d.ts +11 -11
- package/lib/external/IC3Adapter/IChatToken.js +3 -3
- package/lib/external/IC3Adapter/IIC3AdapterOptions.d.ts +22 -22
- package/lib/external/IC3Adapter/IIC3AdapterOptions.js +2 -2
- package/lib/external/IC3Adapter/INotification.d.ts +6 -6
- package/lib/external/IC3Adapter/INotification.js +2 -2
- package/lib/external/IC3Adapter/Notification.d.ts +7 -7
- package/lib/external/IC3Adapter/Notification.js +14 -14
- package/lib/external/IC3Client/IIC3SDKLogData.d.ts +9 -9
- package/lib/external/IC3Client/IIC3SDKLogData.js +2 -2
- package/lib/external/OCSDK/IOCSDKLogData.d.ts +14 -14
- package/lib/external/OCSDK/IOCSDKLogData.js +2 -2
- package/lib/index.d.ts +25 -25
- package/lib/index.js +34 -34
- package/lib/telemetry/AriaTelemetry.d.ts +40 -40
- package/lib/telemetry/AriaTelemetry.js +539 -539
- package/lib/telemetry/EUDomainNames.d.ts +2 -2
- package/lib/telemetry/EUDomainNames.js +16 -16
- package/lib/telemetry/EventMarker.d.ts +3 -3
- package/lib/telemetry/EventMarker.js +12 -12
- package/lib/telemetry/GCCDomainPatterns.d.ts +2 -2
- package/lib/telemetry/GCCDomainPatterns.js +7 -7
- package/lib/telemetry/LogLevel.d.ts +8 -8
- package/lib/telemetry/LogLevel.js +11 -11
- package/lib/telemetry/ScenarioMarker.d.ts +21 -21
- package/lib/telemetry/ScenarioMarker.js +82 -82
- package/lib/telemetry/ScenarioType.d.ts +11 -11
- package/lib/telemetry/ScenarioType.js +14 -14
- package/lib/telemetry/StopWatch.d.ts +6 -6
- package/lib/telemetry/StopWatch.js +14 -14
- package/lib/telemetry/TelemetryEvent.d.ts +46 -42
- package/lib/telemetry/TelemetryEvent.js +49 -45
- package/lib/telemetry/TelemetryEvent.js.map +1 -1
- package/lib/telemetry/retrieveCollectorUri.d.ts +2 -2
- package/lib/telemetry/retrieveCollectorUri.js +25 -25
- package/lib/tsconfig.tsbuildinfo +1976 -1911
- package/lib/utils/AMSClientLoadStates.d.ts +6 -0
- package/lib/utils/AMSClientLoadStates.js +12 -0
- package/lib/utils/AMSClientLoadStates.js.map +1 -0
- package/lib/utils/CoreServicesUtils.d.ts +7 -7
- package/lib/utils/CoreServicesUtils.js +39 -39
- package/lib/utils/WebUtils.d.ts +10 -10
- package/lib/utils/WebUtils.js +128 -128
- package/lib/utils/chatAdapterCreators.d.ts +20 -20
- package/lib/utils/chatAdapterCreators.js +208 -208
- package/lib/utils/createOcSDKConfiguration.d.ts +4 -4
- package/lib/utils/createOcSDKConfiguration.js +22 -22
- package/lib/utils/createOmnichannelMessage.d.ts +11 -11
- package/lib/utils/createOmnichannelMessage.js +77 -77
- package/lib/utils/createTelemetry.d.ts +3 -3
- package/lib/utils/createTelemetry.js +9 -9
- package/lib/utils/exceptionSuppressors.d.ts +29 -29
- package/lib/utils/exceptionSuppressors.js +49 -49
- package/lib/utils/exceptionThrowers.d.ts +119 -119
- package/lib/utils/exceptionThrowers.js +137 -137
- package/lib/utils/fillMobilePlatformData.d.ts +2 -0
- package/lib/utils/fillMobilePlatformData.js +44 -0
- package/lib/utils/fillMobilePlatformData.js.map +1 -0
- package/lib/utils/fillPlatformData.browser.d.ts +2 -0
- package/lib/utils/fillPlatformData.browser.js +8 -0
- package/lib/utils/fillPlatformData.browser.js.map +1 -0
- package/lib/utils/fillPlatformData.d.ts +2 -0
- package/lib/utils/fillPlatformData.js +8 -0
- package/lib/utils/fillPlatformData.js.map +1 -0
- package/lib/utils/fillWebPlatformData.d.ts +2 -0
- package/lib/utils/fillWebPlatformData.js +21 -0
- package/lib/utils/fillWebPlatformData.js.map +1 -0
- package/lib/utils/internalUtils.d.ts +4 -4
- package/lib/utils/internalUtils.js +16 -16
- package/lib/utils/libraries.d.ts +12 -12
- package/lib/utils/libraries.js +34 -34
- package/lib/utils/locale.d.ts +4 -4
- package/lib/utils/locale.js +60 -60
- package/lib/utils/location.d.ts +7 -7
- package/lib/utils/location.js +95 -95
- package/lib/utils/loggerUtils.d.ts +15 -15
- package/lib/utils/loggerUtils.js +55 -55
- package/lib/utils/loggers.d.ts +111 -111
- package/lib/utils/loggers.js +501 -501
- package/lib/utils/parsers.d.ts +6 -6
- package/lib/utils/parsers.js +10 -10
- package/lib/utils/platform.d.ts +9 -9
- package/lib/utils/platform.js +11 -11
- package/lib/utils/setOcUserAgent.d.ts +2 -2
- package/lib/utils/setOcUserAgent.js +21 -21
- package/lib/utils/sleep.d.ts +2 -2
- package/lib/utils/sleep.js +4 -4
- package/lib/utils/urlResolvers.d.ts +10 -10
- package/lib/utils/urlResolvers.js +64 -64
- package/lib/utils/utilities.d.ts +5 -5
- package/lib/utils/utilities.js +36 -36
- package/lib/validators/OmnichannelConfigValidator.d.ts +3 -3
- package/lib/validators/OmnichannelConfigValidator.js +28 -28
- package/lib/validators/SDKConfigValidators.d.ts +5 -5
- package/lib/validators/SDKConfigValidators.js +48 -48
- package/package.json +1 -1
- package/CHANGELOG.md +0 -435
package/lib/utils/loggers.d.ts
CHANGED
@@ -1,111 +1,111 @@
|
|
1
|
-
import LogLevel from "../telemetry/LogLevel";
|
2
|
-
import OmnichannelConfig from "../core/OmnichannelConfig";
|
3
|
-
import ICallingSDKLogData from "../external/CallingSDK/ICallingSDKLogData";
|
4
|
-
import IIC3SDKLogData from "../external/IC3Client/IIC3SDKLogData";
|
5
|
-
import IOCSDKLogData from "../external/OCSDK/IOCSDKLogData";
|
6
|
-
import AriaTelemetry from "../telemetry/AriaTelemetry";
|
7
|
-
export declare class IC3ClientLogger {
|
8
|
-
private omnichannelConfig;
|
9
|
-
private debug;
|
10
|
-
private runtimeId;
|
11
|
-
private requestId;
|
12
|
-
private chatId;
|
13
|
-
private telemetry;
|
14
|
-
constructor(omnichannelConfig: OmnichannelConfig);
|
15
|
-
setDebug(flag: boolean): void;
|
16
|
-
setRuntimeId(runtimeId: string): void;
|
17
|
-
setRequestId(requestId: string): void;
|
18
|
-
setChatId(chatId: string): void;
|
19
|
-
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
20
|
-
logClientSdkTelemetryEvent(logLevel: LogLevel, event: IIC3SDKLogData): void;
|
21
|
-
}
|
22
|
-
export declare class OCSDKLogger {
|
23
|
-
private omnichannelConfig;
|
24
|
-
private debug;
|
25
|
-
private runtimeId;
|
26
|
-
private requestId;
|
27
|
-
private chatId;
|
28
|
-
private telemetry;
|
29
|
-
constructor(omnichannelConfig: OmnichannelConfig);
|
30
|
-
setDebug(flag: boolean): void;
|
31
|
-
setRuntimeId(runtimeId: string): void;
|
32
|
-
setRequestId(requestId: string): void;
|
33
|
-
setChatId(chatId: string): void;
|
34
|
-
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
35
|
-
logClientSdkTelemetryEvent(logLevel: LogLevel, event: IOCSDKLogData): void;
|
36
|
-
}
|
37
|
-
export declare class ACSClientLogger {
|
38
|
-
private omnichannelConfig;
|
39
|
-
private debug;
|
40
|
-
private runtimeId;
|
41
|
-
private requestId;
|
42
|
-
private chatId;
|
43
|
-
private telemetry;
|
44
|
-
private scenarioMarker;
|
45
|
-
constructor(omnichannelConfig: OmnichannelConfig);
|
46
|
-
setDebug(flag: boolean): void;
|
47
|
-
setRuntimeId(runtimeId: string): void;
|
48
|
-
setRequestId(requestId: string): void;
|
49
|
-
setChatId(chatId: string): void;
|
50
|
-
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
51
|
-
logClientSdkTelemetryEvent(logLevel: LogLevel, event: any): void;
|
52
|
-
startScenario(event: string, additionalProperties?: any): void;
|
53
|
-
failScenario(event: string, additionalProperties?: any): void;
|
54
|
-
completeScenario(event: string, additionalProperties?: any): void;
|
55
|
-
}
|
56
|
-
export declare class ACSAdapterLogger {
|
57
|
-
private omnichannelConfig;
|
58
|
-
private debug;
|
59
|
-
private runtimeId;
|
60
|
-
private requestId;
|
61
|
-
private chatId;
|
62
|
-
private telemetry;
|
63
|
-
private scenarioMarker;
|
64
|
-
constructor(omnichannelConfig: OmnichannelConfig);
|
65
|
-
setDebug(flag: boolean): void;
|
66
|
-
setRuntimeId(runtimeId: string): void;
|
67
|
-
setRequestId(requestId: string): void;
|
68
|
-
setChatId(chatId: string): void;
|
69
|
-
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
70
|
-
logEvent(logLevel: LogLevel, event: any): void;
|
71
|
-
startScenario(event: string, additionalProperties?: any): void;
|
72
|
-
failScenario(event: string, additionalProperties?: any): void;
|
73
|
-
completeScenario(event: string, additionalProperties?: any): void;
|
74
|
-
}
|
75
|
-
export declare class CallingSDKLogger {
|
76
|
-
private omnichannelConfig;
|
77
|
-
private debug;
|
78
|
-
private runtimeId;
|
79
|
-
private requestId;
|
80
|
-
private chatId;
|
81
|
-
private telemetry;
|
82
|
-
constructor(omnichannelConfig: OmnichannelConfig);
|
83
|
-
setDebug(flag: boolean): void;
|
84
|
-
setRuntimeId(runtimeId: string): void;
|
85
|
-
setRequestId(requestId: string): void;
|
86
|
-
setChatId(chatId: string): void;
|
87
|
-
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
88
|
-
logScenarioOperation(operationName: string, startTime: number, endTime: number, isSuccess: boolean, retryCount: number, data?: object): void;
|
89
|
-
logCallingSdkTelemetryEvent(logLevel: LogLevel, event: ICallingSDKLogData): void;
|
90
|
-
}
|
91
|
-
export declare class AMSClientLogger {
|
92
|
-
private omnichannelConfig;
|
93
|
-
private debug;
|
94
|
-
private runtimeId;
|
95
|
-
private requestId;
|
96
|
-
private chatId;
|
97
|
-
private telemetry;
|
98
|
-
constructor(omnichannelConfig: OmnichannelConfig);
|
99
|
-
setDebug(flag: boolean): void;
|
100
|
-
setRuntimeId(runtimeId: string): void;
|
101
|
-
setRequestId(requestId: string): void;
|
102
|
-
setChatId(chatId: string): void;
|
103
|
-
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
104
|
-
logClientSdkTelemetryEvent(logLevel: LogLevel, event: any): void;
|
105
|
-
}
|
106
|
-
export declare const createIC3ClientLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => IC3ClientLogger;
|
107
|
-
export declare const createOCSDKLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => OCSDKLogger;
|
108
|
-
export declare const createACSClientLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => ACSClientLogger;
|
109
|
-
export declare const createACSAdapterLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => ACSAdapterLogger;
|
110
|
-
export declare const createCallingSDKLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => CallingSDKLogger;
|
111
|
-
export declare const createAMSClientLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => AMSClientLogger;
|
1
|
+
import LogLevel from "../telemetry/LogLevel";
|
2
|
+
import OmnichannelConfig from "../core/OmnichannelConfig";
|
3
|
+
import ICallingSDKLogData from "../external/CallingSDK/ICallingSDKLogData";
|
4
|
+
import IIC3SDKLogData from "../external/IC3Client/IIC3SDKLogData";
|
5
|
+
import IOCSDKLogData from "../external/OCSDK/IOCSDKLogData";
|
6
|
+
import AriaTelemetry from "../telemetry/AriaTelemetry";
|
7
|
+
export declare class IC3ClientLogger {
|
8
|
+
private omnichannelConfig;
|
9
|
+
private debug;
|
10
|
+
private runtimeId;
|
11
|
+
private requestId;
|
12
|
+
private chatId;
|
13
|
+
private telemetry;
|
14
|
+
constructor(omnichannelConfig: OmnichannelConfig);
|
15
|
+
setDebug(flag: boolean): void;
|
16
|
+
setRuntimeId(runtimeId: string): void;
|
17
|
+
setRequestId(requestId: string): void;
|
18
|
+
setChatId(chatId: string): void;
|
19
|
+
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
20
|
+
logClientSdkTelemetryEvent(logLevel: LogLevel, event: IIC3SDKLogData): void;
|
21
|
+
}
|
22
|
+
export declare class OCSDKLogger {
|
23
|
+
private omnichannelConfig;
|
24
|
+
private debug;
|
25
|
+
private runtimeId;
|
26
|
+
private requestId;
|
27
|
+
private chatId;
|
28
|
+
private telemetry;
|
29
|
+
constructor(omnichannelConfig: OmnichannelConfig);
|
30
|
+
setDebug(flag: boolean): void;
|
31
|
+
setRuntimeId(runtimeId: string): void;
|
32
|
+
setRequestId(requestId: string): void;
|
33
|
+
setChatId(chatId: string): void;
|
34
|
+
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
35
|
+
logClientSdkTelemetryEvent(logLevel: LogLevel, event: IOCSDKLogData): void;
|
36
|
+
}
|
37
|
+
export declare class ACSClientLogger {
|
38
|
+
private omnichannelConfig;
|
39
|
+
private debug;
|
40
|
+
private runtimeId;
|
41
|
+
private requestId;
|
42
|
+
private chatId;
|
43
|
+
private telemetry;
|
44
|
+
private scenarioMarker;
|
45
|
+
constructor(omnichannelConfig: OmnichannelConfig);
|
46
|
+
setDebug(flag: boolean): void;
|
47
|
+
setRuntimeId(runtimeId: string): void;
|
48
|
+
setRequestId(requestId: string): void;
|
49
|
+
setChatId(chatId: string): void;
|
50
|
+
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
51
|
+
logClientSdkTelemetryEvent(logLevel: LogLevel, event: any): void;
|
52
|
+
startScenario(event: string, additionalProperties?: any): void;
|
53
|
+
failScenario(event: string, additionalProperties?: any): void;
|
54
|
+
completeScenario(event: string, additionalProperties?: any): void;
|
55
|
+
}
|
56
|
+
export declare class ACSAdapterLogger {
|
57
|
+
private omnichannelConfig;
|
58
|
+
private debug;
|
59
|
+
private runtimeId;
|
60
|
+
private requestId;
|
61
|
+
private chatId;
|
62
|
+
private telemetry;
|
63
|
+
private scenarioMarker;
|
64
|
+
constructor(omnichannelConfig: OmnichannelConfig);
|
65
|
+
setDebug(flag: boolean): void;
|
66
|
+
setRuntimeId(runtimeId: string): void;
|
67
|
+
setRequestId(requestId: string): void;
|
68
|
+
setChatId(chatId: string): void;
|
69
|
+
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
70
|
+
logEvent(logLevel: LogLevel, event: any): void;
|
71
|
+
startScenario(event: string, additionalProperties?: any): void;
|
72
|
+
failScenario(event: string, additionalProperties?: any): void;
|
73
|
+
completeScenario(event: string, additionalProperties?: any): void;
|
74
|
+
}
|
75
|
+
export declare class CallingSDKLogger {
|
76
|
+
private omnichannelConfig;
|
77
|
+
private debug;
|
78
|
+
private runtimeId;
|
79
|
+
private requestId;
|
80
|
+
private chatId;
|
81
|
+
private telemetry;
|
82
|
+
constructor(omnichannelConfig: OmnichannelConfig);
|
83
|
+
setDebug(flag: boolean): void;
|
84
|
+
setRuntimeId(runtimeId: string): void;
|
85
|
+
setRequestId(requestId: string): void;
|
86
|
+
setChatId(chatId: string): void;
|
87
|
+
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
88
|
+
logScenarioOperation(operationName: string, startTime: number, endTime: number, isSuccess: boolean, retryCount: number, data?: object): void;
|
89
|
+
logCallingSdkTelemetryEvent(logLevel: LogLevel, event: ICallingSDKLogData): void;
|
90
|
+
}
|
91
|
+
export declare class AMSClientLogger {
|
92
|
+
private omnichannelConfig;
|
93
|
+
private debug;
|
94
|
+
private runtimeId;
|
95
|
+
private requestId;
|
96
|
+
private chatId;
|
97
|
+
private telemetry;
|
98
|
+
constructor(omnichannelConfig: OmnichannelConfig);
|
99
|
+
setDebug(flag: boolean): void;
|
100
|
+
setRuntimeId(runtimeId: string): void;
|
101
|
+
setRequestId(requestId: string): void;
|
102
|
+
setChatId(chatId: string): void;
|
103
|
+
useTelemetry(telemetry: typeof AriaTelemetry): void;
|
104
|
+
logClientSdkTelemetryEvent(logLevel: LogLevel, event: any): void;
|
105
|
+
}
|
106
|
+
export declare const createIC3ClientLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => IC3ClientLogger;
|
107
|
+
export declare const createOCSDKLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => OCSDKLogger;
|
108
|
+
export declare const createACSClientLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => ACSClientLogger;
|
109
|
+
export declare const createACSAdapterLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => ACSAdapterLogger;
|
110
|
+
export declare const createCallingSDKLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => CallingSDKLogger;
|
111
|
+
export declare const createAMSClientLogger: (omnichannelConfig: OmnichannelConfig, debug?: boolean) => AMSClientLogger;
|