@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/CHANGELOG.md
DELETED
@@ -1,435 +0,0 @@
|
|
1
|
-
# Changelog
|
2
|
-
|
3
|
-
All notable changes to this project will be documented in this file.
|
4
|
-
|
5
|
-
## [1.9.5] - 2024-08-30
|
6
|
-
## Changed
|
7
|
-
- core service url regex to include crmtest
|
8
|
-
- Uptake [@microsoft/ocsdk@0.5.6](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.6)
|
9
|
-
|
10
|
-
## [1.9.4]
|
11
|
-
|
12
|
-
### Security
|
13
|
-
- Uptake [@microsoft/ocsdk@0.5.5](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.5)
|
14
|
-
- Uptake [@microsoft/omnichannel-ic3core@0.1.4](https://www.npmjs.com/package/@microsoft/omnichannel-ic3core/v/0.1.4)
|
15
|
-
|
16
|
-
|
17
|
-
## [1.9.3] - 2024-07-12
|
18
|
-
|
19
|
-
### Added
|
20
|
-
- Add `crm9` as part of `CoreServicesGeoNamesMapping`
|
21
|
-
|
22
|
-
### Changed
|
23
|
-
|
24
|
-
- Log `error` object on failures on sending message and send typing
|
25
|
-
- Update `retrieveCollectorUri()` to detect `GCCDomainPatterns` to return `GCCCollectorUri`
|
26
|
-
|
27
|
-
## [1.9.2] - 2024-06-25
|
28
|
-
|
29
|
-
### Fixed
|
30
|
-
|
31
|
-
- Remove internal overrides of the original message contracts to add `content` property with `Object.assign()` causing side effects on ChatAdapter
|
32
|
-
|
33
|
-
## [1.9.1] - 2024-06-20
|
34
|
-
|
35
|
-
### Changed
|
36
|
-
|
37
|
-
- Uptake [@microsoft/ocsdk@0.5.3](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.3)
|
38
|
-
|
39
|
-
## [1.9.0] - 2024-05-22
|
40
|
-
|
41
|
-
### Added
|
42
|
-
|
43
|
-
- Enable the ability to use `CoreServices` orgUrl dynamically at runtime
|
44
|
-
|
45
|
-
### Changed
|
46
|
-
|
47
|
-
- Uptake [@microsoft/ocsdk@0.5.2](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.2)
|
48
|
-
|
49
|
-
## [1.8.3] - 2024-05-15
|
50
|
-
|
51
|
-
### Added
|
52
|
-
- Add `RequestHeaders` telemetry base property to `OCSDKContract`
|
53
|
-
- Add ability to send `ocUserAgent`
|
54
|
-
|
55
|
-
### Changed
|
56
|
-
|
57
|
-
- Uptake [@microsoft/ocsdk@0.5.1](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.5.1)
|
58
|
-
|
59
|
-
## [1.8.2] - 2024-05-07
|
60
|
-
|
61
|
-
### Fixed
|
62
|
-
|
63
|
-
- Fix path for util function uuidv4 that was causing conflicts with pipeline
|
64
|
-
|
65
|
-
## [1.8.1] - 2024-04-24
|
66
|
-
|
67
|
-
### Added
|
68
|
-
|
69
|
-
- Adding new externalRuntimeId, allows to pass external runtimeId to ChatSDK and keep in sync sessions for telemetry.
|
70
|
-
- Add ability to use `CoreServices` orgUrl dynamically at runtime
|
71
|
-
|
72
|
-
## [1.8.0] - 2024-03-29
|
73
|
-
|
74
|
-
### Changed
|
75
|
-
|
76
|
-
- Updated `OCClient.getSurveyInviteLink` request payload to support Copilot Survey
|
77
|
-
|
78
|
-
## [1.7.2] - 2024-03-20
|
79
|
-
|
80
|
-
### Fixed
|
81
|
-
|
82
|
-
- Remove override block for follow-redirect, which was causing conflicts with ACS libs in LCW
|
83
|
-
|
84
|
-
## [1.7.1] - 2024-03-18
|
85
|
-
|
86
|
-
### Changed
|
87
|
-
|
88
|
-
- Fix ChatSDK.getPostConversationContext() to reject promise when conversation is not found
|
89
|
-
|
90
|
-
## [1.7.0] - 2024-03-07
|
91
|
-
|
92
|
-
### Added
|
93
|
-
|
94
|
-
- Add ability to use `ChatSDK.emailLiveChatTranscript()` to email live chat transcript from `liveChatContext`
|
95
|
-
- Handling the lifecycle of `sessionId` if it exists
|
96
|
-
|
97
|
-
### Changed
|
98
|
-
|
99
|
-
- Throw exception when `ChatSDK.startChat()` fails with `ChatSDKConfig.getAuthToken()` failures
|
100
|
-
- Uptake [@microsoft/ocsdk@0.4.3](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.4.3)
|
101
|
-
|
102
|
-
## [1.6.3] - 2024-01-30
|
103
|
-
|
104
|
-
### Changed
|
105
|
-
|
106
|
-
- Reduce number of `config` calls on loading `Escalation to Voice & Video` library by retrieving the config from runtime cache
|
107
|
-
|
108
|
-
## [1.6.2] - 2023-12-12
|
109
|
-
|
110
|
-
### Fixed
|
111
|
-
|
112
|
-
- Add `supportedImagesMimeTypes` to support `MIME` types `image/heic` & `image/webp` as images
|
113
|
-
|
114
|
-
## [1.6.1] - 2023-12-07
|
115
|
-
|
116
|
-
### Added
|
117
|
-
|
118
|
-
- Exported `ChatSDKErrorName` and `ChatSDKError` for downstream component to use
|
119
|
-
|
120
|
-
### Fixed
|
121
|
-
|
122
|
-
- Subscribe to `chatMessageEdited` events within `onNewMessage()` for queue position message updates
|
123
|
-
|
124
|
-
### Changed
|
125
|
-
|
126
|
-
- Uptake [@microsoft/ocsdk@0.4.2](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.4.2)
|
127
|
-
|
128
|
-
## [1.6.0] - 2023-12-04
|
129
|
-
|
130
|
-
### Changed
|
131
|
-
|
132
|
-
- Added "httpResponseStatusCode" attribute in the error object thrown
|
133
|
-
|
134
|
-
## [1.5.7] - 2023-11-20
|
135
|
-
|
136
|
-
### Changed
|
137
|
-
|
138
|
-
- Uptake [@microsoft/omnichannel-amsclient@0.1.6](https://www.npmjs.com/package/@microsoft/omnichannel-amsclient/v/0.1.6)
|
139
|
-
|
140
|
-
## [1.5.6] - 2023-11-13
|
141
|
-
|
142
|
-
### Added
|
143
|
-
|
144
|
-
- Add `RequestPayload`, `RequestPath`, `RequestMethod`, `ResponseStatusCode` telemetry base property to `OCSDKContract`
|
145
|
-
- Update Jest configuration and tests to support new libraries
|
146
|
-
|
147
|
-
### Security
|
148
|
-
|
149
|
-
- Uptake [@microsoft/omnichannel-ic3core@0.1.3](https://www.npmjs.com/package/@microsoft/omnichannel-ic3core/v/0.1.3)
|
150
|
-
- Uptake [@microsoft/ocsdk@0.4.1](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.4.1)
|
151
|
-
|
152
|
-
### Changed
|
153
|
-
|
154
|
-
- Use `parseLowerCaseString()` on chat config properties to protect text case change
|
155
|
-
|
156
|
-
## [1.5.5] - 2023-10-31
|
157
|
-
|
158
|
-
### Added
|
159
|
-
|
160
|
-
- Add ability to pass custom `ariaCollectorUri`
|
161
|
-
|
162
|
-
### Fixed
|
163
|
-
|
164
|
-
- Add missing `PACS` URL for `EUDomainNames`
|
165
|
-
- Fixed an issue where startChat failed due to optionalParam being null
|
166
|
-
|
167
|
-
## [1.5.4] - 2023-10-20
|
168
|
-
|
169
|
-
### Fixed
|
170
|
-
|
171
|
-
- Fix `AriaTelemetry._configuration` not being passed to `AriaTelemetry._logger`
|
172
|
-
|
173
|
-
## [1.5.3] - 2023-10-18
|
174
|
-
|
175
|
-
### Fixed
|
176
|
-
|
177
|
-
- Fix `ChatSDK.emailLiveChatTranscript()` calling `OCClient.emailTranscript()` without waiting until its completion
|
178
|
-
- Fix `EU` orgs telemetry to flow to the proper `EU` location
|
179
|
-
|
180
|
-
## [1.5.2] - 2023-10-14
|
181
|
-
|
182
|
-
### Changed
|
183
|
-
|
184
|
-
- Disable `tokenRefresher` temporarily
|
185
|
-
|
186
|
-
## [1.5.1] - 2023-10-11
|
187
|
-
|
188
|
-
### Fixed
|
189
|
-
|
190
|
-
- Modify `getChatReconnectContext` to return redirection URL when reconnection ID is not longer Valid for Auth Chats.
|
191
|
-
|
192
|
-
## [1.5.0] - 2023-09-29
|
193
|
-
|
194
|
-
### Added
|
195
|
-
|
196
|
-
- Add `Attachment File Scan` to `ChatSDK.createChatAdapter()`
|
197
|
-
|
198
|
-
## [1.4.7] - 2023-09-13
|
199
|
-
|
200
|
-
### Changed
|
201
|
-
|
202
|
-
- Supporting getAgentAvailable SDK method for unauthenticated chat widget
|
203
|
-
|
204
|
-
## [1.4.6] - 2023-08-15
|
205
|
-
|
206
|
-
### Fixed
|
207
|
-
|
208
|
-
- Fix `tokenRefresher` to update `chatToken` properly on expiry through reinitialization of AMSClient
|
209
|
-
|
210
|
-
## [1.4.5] - 2023-08-02
|
211
|
-
|
212
|
-
### Changed
|
213
|
-
|
214
|
-
- Upgraded ACSAdapter to version beta.20
|
215
|
-
|
216
|
-
## [1.4.4] - 2023-07-19
|
217
|
-
|
218
|
-
### Added
|
219
|
-
|
220
|
-
- Add `tokenRefresher` mechanism to retrieve chat token on expiry
|
221
|
-
|
222
|
-
### Changed
|
223
|
-
|
224
|
-
- Add `ocSDKConfiguration` to reduce `chatToken` retries to 2
|
225
|
-
- Uptake [@microsoft/ocsdk@0.4.0](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.4.0)
|
226
|
-
- Remove redundant call to create of `participantsMapping`
|
227
|
-
|
228
|
-
### Fixed
|
229
|
-
|
230
|
-
- Set `enableSenderDisplayNameInTypingNotification` to true to include display name on sending typing notification
|
231
|
-
- Add `async` to `ChatSDK.getLiveChatTranscript()` internal call
|
232
|
-
|
233
|
-
## [1.4.3] - 2023-06-15
|
234
|
-
|
235
|
-
### Fixed
|
236
|
-
|
237
|
-
- [Perf] Make sessionInit, AcsClientInit/Ic3ClientInit and AmsClientInit calls in parallel
|
238
|
-
|
239
|
-
## [1.4.2] - 2023-05-19
|
240
|
-
|
241
|
-
### Fixed
|
242
|
-
|
243
|
-
- Fixed null check on startChat failure
|
244
|
-
|
245
|
-
## [1.4.1] - 2023-05-05
|
246
|
-
|
247
|
-
### Fixed
|
248
|
-
|
249
|
-
- Skipped empty string or null context variables (parity with v1)
|
250
|
-
|
251
|
-
## [1.4.0] - 2023-05-02
|
252
|
-
|
253
|
-
### Added
|
254
|
-
|
255
|
-
- Add ability to use `ChatSDK.getLiveChatTranscript()` to fetch live chat transcript from `liveChatContext`
|
256
|
-
- Add ability to use `ChatSDK.getConversationDetails()` to fetch conversation details from `liveChatContext`
|
257
|
-
- Add `AuthContactIdNotFoundFailure` to `ExceptionThrower`
|
258
|
-
|
259
|
-
### Changed
|
260
|
-
|
261
|
-
- Update `ChatSDKErrors` to include standard ChatSDK errors to be more predictable
|
262
|
-
|
263
|
-
## [1.3.0] - 2023-04-05
|
264
|
-
|
265
|
-
### Added
|
266
|
-
|
267
|
-
- Add ability to use `ChatSDK.createChatAdapter()` for `DirectLine` protocol
|
268
|
-
- Add `CreateACSAdapter` telemetry event
|
269
|
-
- Improve `ChatSDK.createChatAdapter()` with retries using exponential backoff & additional details on failures
|
270
|
-
- Add `GetAgentAvailability` SDK method for auth chat
|
271
|
-
- Pass `logger` to AMSClient
|
272
|
-
- Add `portalContactId` in `StartChatOptionalParams` and `GetAgentAvailabilityOptionalParams`
|
273
|
-
- Added exception on initialization failure
|
274
|
-
- Upgraded ACSAdapter to version beta.17
|
275
|
-
- Added `botSurveyInviteLink` and `botFormsProLocale` the `getPostChatSurveyContext()` response
|
276
|
-
|
277
|
-
### Fixed
|
278
|
-
|
279
|
-
- Fix `ChatAdapterOptionalParams.ACSAdapter.options.egressMiddleware` being used as `ingressMiddleware`
|
280
|
-
- Fix `ChatSDK.onTypingEvent()` being triggered on current user typing
|
281
|
-
- Update `ChatSDK.liveChatVersion` to be `V2` by default
|
282
|
-
|
283
|
-
### Changed
|
284
|
-
|
285
|
-
- Uptake [@microsoft/omnichannel-amsclient@0.1.4](https://www.npmjs.com/package/@microsoft/omnichannel-amsclient/v/0.1.4)
|
286
|
-
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.17](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.17/dist/chat-adapter.js)
|
287
|
-
- Uptake [@microsoft/ocsdk@0.3.4](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.4)
|
288
|
-
|
289
|
-
## [1.2.0] - 2022-11-11
|
290
|
-
|
291
|
-
### Added
|
292
|
-
|
293
|
-
- Add `sendDefaultInitContext` optional parameter to `ChatSDK.startChat()` to automatically populate `browser`, `device`, `originurl` & `os` as default init context on web
|
294
|
-
- Add `sendCacheHeaders` as optional paramater to `ChatSDK.initialize()` and `ChatSDK.getLiveChatConfig()`
|
295
|
-
- Add `validateAuthChatRecord` call on `ChatSDK.startChat()` with `liveChatContext` for all authenticated chat scenarios
|
296
|
-
- Pass `ChatClient` during `ACSAdapter` initialization
|
297
|
-
- Pass `multiClient` to `AMSClient` on initialization to support `ChatSDK` multi-client
|
298
|
-
|
299
|
-
### Fixed
|
300
|
-
|
301
|
-
- Prevent `AMSFileManager.getFileIds()` & `AMSFileManager.getFileMetadata()` to be triggered on all activities with null checks
|
302
|
-
- Add `LiveChatVersion` check on `ChatSDK.updateChatToken()`
|
303
|
-
- Use `amsreferences` property instead of `amsReferences` by default
|
304
|
-
- Fix attachment download to use MIME types instead of file extensions
|
305
|
-
- Remove `fileMetadata` property on messages not containing any attachment
|
306
|
-
|
307
|
-
### Changed
|
308
|
-
|
309
|
-
- Uptake [@microsoft/ocsdk@0.3.1](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.1)
|
310
|
-
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.8](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.8/dist/chat-adapter.js)
|
311
|
-
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.9](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.9/dist/chat-adapter.js)
|
312
|
-
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.12](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.12/dist/chat-adapter.js)
|
313
|
-
- Uptake [@microsoft/omnichannel-amsclient@0.1.2](https://www.npmjs.com/package/@microsoft/omnichannel-amsclient/v/0.1.2)
|
314
|
-
- Uptake [@microsoft/ocsdk@0.3.2](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.2)
|
315
|
-
|
316
|
-
## [1.1.0] - 2022-04-15
|
317
|
-
|
318
|
-
### Added
|
319
|
-
|
320
|
-
- Add `getPostChatSurveyContext` API method
|
321
|
-
- Add `GetPostChatSurveyContext` telemetry event
|
322
|
-
- Add `widgetId` & `clientMessageId` as metadata on sending message
|
323
|
-
- Update `ChatConfig` interface with `LiveChatVersion`, `allowedFileExtensions` & `maxUploadFileSize` properties
|
324
|
-
- Add ability to automatically detect locale from chat config
|
325
|
-
- Add `runtimeId` attribute in `OmnichannelChatSDK` & `ChatSDKRuntimeId` field in telemetry
|
326
|
-
- Add ability to automatically pass locale from chat config on calling `ChatSDK.emailLiveChatTranscript()`
|
327
|
-
- Bubble up `WidgetUseOutsideOperatingHour` exception
|
328
|
-
- Add `acs_webchat-chat-adapter` middleware to add default `channelData.tags` & `channelData.metadata`
|
329
|
-
- Update `ChatConfig` interface with `msdyn_enablemarkdown` property
|
330
|
-
- Throw exception on `ChatSDK.getVoiceVideoCalling()` if feature is disabled or platform is not supported
|
331
|
-
- Add `participantType` & `canRenderPostChat` as response of getConversationDetails() API
|
332
|
-
- Add support for separate bot post chat survey feature
|
333
|
-
- Pass `logger` to `acs_webchat-chat-adapter`
|
334
|
-
|
335
|
-
### Fixed
|
336
|
-
|
337
|
-
- Add `acs_webchat-chat-adapter` middlewares to format `channelData.tags`
|
338
|
-
- Skip `session init` call on existing conversation
|
339
|
-
- Fix `chat reconnect` not ending the conversation on calling `ChatSDK.endChat()`
|
340
|
-
- Fix on messaging client not sending heartbeat on new conversations subsequent to the first conversation
|
341
|
-
- Fix `ChatSDK.getConversationDetails()` not passing `authenticatedUserToken`
|
342
|
-
- Fix `IC3Client.dispose()` called when `IC3Client` is `undefined`
|
343
|
-
|
344
|
-
### Changed
|
345
|
-
|
346
|
-
- README: added examples on usages of the post chat APIs.
|
347
|
-
- Uptake [@azure/communication-chat@1.1.1](https://www.npmjs.com/package/@azure/communication-chat/v/1.1.1)
|
348
|
-
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.2](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.2/dist/chat-adapter.js)
|
349
|
-
- Update `locale` property in `ChatTranscriptBody` interface to be optional
|
350
|
-
- Uptake [acs_webchat-chat-adapter@0.0.35-beta.4](https://unpkg.com/acs_webchat-chat-adapter@0.0.35-beta.4/dist/chat-adapter.js)
|
351
|
-
|
352
|
-
## [1.0.0] - 2021-10-08
|
353
|
-
|
354
|
-
### Added
|
355
|
-
|
356
|
-
- Add `GetAuthToken` & `GetPreChatSurvey` telemetry events
|
357
|
-
- Add `Domain` telemetry base property
|
358
|
-
- Add `GetCurrentLiveChatContext`, `GetMessages`, `SendMessages`, `OnNewMessage` & `OnTypingEvent` telemetry events
|
359
|
-
- Live Chat V2 Support
|
360
|
-
- Add `PlatformDetails` telemetry event
|
361
|
-
|
362
|
-
### Changed
|
363
|
-
|
364
|
-
- Uptake [@microsoft/ocsdk@0.3.0](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.3.0)
|
365
|
-
- Uptake [@microsoft/omnichannel-ic3core@0.1.2](https://www.npmjs.com/package/@microsoft/omnichannel-ic3core/v/0.1.2)
|
366
|
-
|
367
|
-
### Fixed
|
368
|
-
|
369
|
-
- `onNewMessage` with `rehydrate` flag set to `true` crashing when `getMessages` returns `undefined`
|
370
|
-
- Fix `AriaTelemetry` unable to read property `logEvent` of undefined on `React Native`
|
371
|
-
- Fix `Escalation to Voice & Video` library not being imported properly
|
372
|
-
|
373
|
-
## [0.3.0] - 2021-09-03
|
374
|
-
|
375
|
-
### Added
|
376
|
-
|
377
|
-
- Persistent Chat Support
|
378
|
-
- Chat Reconnect Support
|
379
|
-
- Operating Hours Documentation
|
380
|
-
|
381
|
-
### Changed
|
382
|
-
|
383
|
-
- Uptake [@microsoft/ocsdk@0.2.0](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.2.0)
|
384
|
-
- Add `getCallingToken`
|
385
|
-
- Send `ChannelId-lcw` message tag
|
386
|
-
- Uptake [IC3Client@2021.08.14.1](https://comms.omnichannelengagementhub.com/release/2021.08.14.1/Scripts/SDK/SDK.min.js)
|
387
|
-
- Uptake [botframework-webchat-adapter-ic3@0.1.0-master.2dba07b](https://www.npmjs.com/package/botframework-webchat-adapter-ic3/v/0.1.0-master.2dba07b)
|
388
|
-
- Uptake [jest@27.1.0](https://www.npmjs.com/package/jest/v/27.1.0)
|
389
|
-
- Update [@types/jest@27.0.1](https://www.npmjs.com/package/@types/jest/v/27.0.1)
|
390
|
-
- Uptake [ts-jest@27.0.5](https://www.npmjs.com/package/ts-jest/v/27.0.5)
|
391
|
-
|
392
|
-
### Fixed
|
393
|
-
|
394
|
-
- `msdyn_enablechatreconnect` not being parsed properly
|
395
|
-
- Fix unable to start multiple conversations with same instance due to chat client being disposed
|
396
|
-
- Pass logger to adapter
|
397
|
-
|
398
|
-
## [0.2.0] - 2021-04-30
|
399
|
-
|
400
|
-
### Added
|
401
|
-
|
402
|
-
- React Native sample app using Omnichannel Chat SDK with [react-native-gifted-chat](https://github.com/FaridSafi/react-native-gifted-chat)
|
403
|
-
- Escalation to Voice & Video support (Web Only)
|
404
|
-
- React sample app using Omnichannel Chat SDK with [BotFramework-WebChat](https://github.com/microsoft/BotFramework-WebChat)
|
405
|
-
- Expose `sessiontInit`'s `initContext` on `startChat`'s optional paramaters
|
406
|
-
- Add ability to use custom `ic3Config` & `chatAdapterConfig`
|
407
|
-
- Add telemetry
|
408
|
-
- Add `rehydrate` flag for `onNewMessage` to rehydrate all messages of existing conversation
|
409
|
-
- Add `getConversationDetails`
|
410
|
-
- Add ability to pass custom `ariaTelemetryKey`
|
411
|
-
|
412
|
-
### Changed
|
413
|
-
|
414
|
-
- Uptake [@microsoft/ocsdk@0.1.1](https://www.npmjs.com/package/@microsoft/ocsdk/v/0.1.1)
|
415
|
-
- Uptake [@microsoft/omnichannel-ic3core@0.1.1](https://www.npmjs.com/package/@microsoft/omnichannel-ic3core/v/0.1.1)
|
416
|
-
- Uptake [jest@26.6.3](https://www.npmjs.com/package/jest/v/26.6.3)
|
417
|
-
- Uptake [ts-jest@26.5.1](https://www.npmjs.com/package/ts-jest/v/26.5.1)
|
418
|
-
- Uptake [IC3Client@2021.03.02.1](https://comms.omnichannelengagementhub.com/release/2021.03.02.1/Scripts/SDK/SDK.min.js)
|
419
|
-
- Uptake [botframework-webchat-adapter-ic3@0.1.0-master.f4dfd7d](https://www.npmjs.com/package/botframework-webchat-adapter-ic3/v/0.1.0-master.f4dfd7d)
|
420
|
-
|
421
|
-
### Fixed
|
422
|
-
|
423
|
-
- onAgentEndSession triggered on accept voice & video call
|
424
|
-
- Fix multiple instances of IC3Client initialized
|
425
|
-
- `uploadFileAttachment` failing on Web
|
426
|
-
|
427
|
-
### Security
|
428
|
-
|
429
|
-
- Fix eslint errors
|
430
|
-
|
431
|
-
## [0.1.0] - 2020-10-26
|
432
|
-
|
433
|
-
### Added
|
434
|
-
|
435
|
-
- Initial release of Omnichannel Chat SDK v0.1.0
|