@microsoft/ocsdk 0.3.2-main.2751df4 → 0.3.2-main.42dcc13
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/SDK.js +2 -2
- package/dist/SDK.min.js +3 -3
- package/lib/SDK.d.ts +15 -0
- package/lib/SDK.js +302 -659
- package/lib/SDK.js.map +1 -1
- package/package.json +1 -1
package/lib/SDK.d.ts
CHANGED
|
@@ -124,4 +124,19 @@ export default class SDK implements ISDK {
|
|
|
124
124
|
* @param requestId RequestId of the omnichannel session.
|
|
125
125
|
*/
|
|
126
126
|
sendTypingIndicator(requestId: string, currentLiveChatVersion: number, sendTypingIndicatorOptionalParams?: ISendTypingIndicatorOptionalParams): Promise<void>;
|
|
127
|
+
/**
|
|
128
|
+
* Helper function for logging.
|
|
129
|
+
*
|
|
130
|
+
* @param logLevel Log level for logging.
|
|
131
|
+
* @param telemetryEventType Telemetry event type in which event will be logged.
|
|
132
|
+
* @param description Description of the event.
|
|
133
|
+
* @param requestId Request ID
|
|
134
|
+
* @param response Response
|
|
135
|
+
* @param elapsedTimeInMilliseconds Elapsed time in ms
|
|
136
|
+
* @param requestPath Request path
|
|
137
|
+
* @param method Method
|
|
138
|
+
* @param error Error
|
|
139
|
+
* @param data Data
|
|
140
|
+
*/
|
|
141
|
+
private logWithLogger;
|
|
127
142
|
}
|