onEnded()
Notifies Vault when an agent has ended a call and updates the Conversation record.
Parameters
Section link for Parameters| Name | Type | Description |
|---|---|---|
metadataoptional | Object | The ended call metadata. |
Example
Section link for Exampleimport { omniconnectEvent } from "./vault-medical-omniconnect-25.1.2-release12649.js";
// Call/live chat has been completed
function ended() {
omniconnectEvent.onEnded()
}