@microsoft/omnichannel-chat-sdk 1.11.6-main.b982edb → 1.11.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.
@@ -47,6 +47,8 @@ declare class OmnichannelChatSDK {
|
|
47
47
|
localeId: string;
|
48
48
|
requestId: string;
|
49
49
|
sessionId: string | null;
|
50
|
+
private chatOperationInProgress;
|
51
|
+
private pendingOperations;
|
50
52
|
private unqServicesOrgUrl;
|
51
53
|
private coreServicesOrgUrl;
|
52
54
|
private dynamicsLocationCode;
|
@@ -82,6 +84,15 @@ declare class OmnichannelChatSDK {
|
|
82
84
|
private debugACS;
|
83
85
|
private detailedDebugEnabled;
|
84
86
|
constructor(omnichannelConfig: OmnichannelConfig, chatSDKConfig?: ChatSDKConfig);
|
87
|
+
/**
|
88
|
+
* Executes an operation with mutual exclusion to prevent race conditions
|
89
|
+
* between startChat and endChat operations
|
90
|
+
*/
|
91
|
+
private executeWithLock;
|
92
|
+
/**
|
93
|
+
* Processes the next pending operation in the queue
|
94
|
+
*/
|
95
|
+
private processNextOperation;
|
85
96
|
/**
|
86
97
|
*
|
87
98
|
* @param flag Flag to enable/disable debug log telemetry, will be applied to all components
|
@@ -114,8 +125,10 @@ declare class OmnichannelChatSDK {
|
|
114
125
|
private getChatReconnectContextWithReconnectId;
|
115
126
|
getChatReconnectContext(optionalParams?: ChatReconnectOptionalParams): Promise<ChatReconnectContext>;
|
116
127
|
startChat(optionalParams?: StartChatOptionalParams): Promise<void>;
|
128
|
+
private internalStartChat;
|
117
129
|
private closeChat;
|
118
130
|
endChat(endChatOptionalParams?: EndChatOptionalParams): Promise<void>;
|
131
|
+
private internalEndChat;
|
119
132
|
getCurrentLiveChatContext(): Promise<GetCurrentLiveChatContextResponse>;
|
120
133
|
getConversationDetails(optionalParams?: GetConversationDetailsOptionalParams): Promise<LiveWorkItemDetails>;
|
121
134
|
/**
|