Skip to main content

@wildix/wda-stream-client > DescribeEventCommand

DescribeEventCommand class

Signature:

export declare class DescribeEventCommand extends DescribeEventCommand_base 

Extends: DescribeEventCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { WdaStreamClient, DescribeEventCommand } from "@wildix/wda-stream-client"; // ES Modules import
// const { WdaStreamClient, DescribeEventCommand } = require("@wildix/wda-stream-client"); // CommonJS import
const client = new WdaStreamClient(config);
const input = { // DescribeEventInput
SmsInboundEvent: { // SmsInboundEvent
pbx: "STRING_VALUE", // required
company: "STRING_VALUE", // required
time: Number("int"), // required
type: "SMS.INBOUND" || "SMS.STATUS", // required
data: { // SmsInboundConsumeEventData
id: "STRING_VALUE", // required
from: "STRING_VALUE", // required
to: "STRING_VALUE", // required
message: "STRING_VALUE", // required
},
},
SmsStatusEvent: { // SmsStatusEvent
pbx: "STRING_VALUE", // required
company: "STRING_VALUE", // required
time: Number("int"), // required
type: "SMS.INBOUND" || "SMS.STATUS", // required
data: { // SmsStatusConsumeEventData
id: "STRING_VALUE", // required
from: "STRING_VALUE", // required
to: "STRING_VALUE", // required
status: "sent" || "delivered" || "trying" || "error", // required
channel: "1-way-sms" || "2-way-sms", // required
parts: Number("int"), // required
},
},
WhatsAppInboundEvent: { // WhatsAppInboundEvent
pbx: "STRING_VALUE", // required
company: "STRING_VALUE", // required
time: new Date("TIMESTAMP"), // required
type: "WHATSAPP.INBOUND" || "WHATSAPP.STATUS", // required
data: { // WhatsAppInboundEventData
from: "STRING_VALUE", // required
to: "STRING_VALUE", // required
id: "STRING_VALUE", // required
message: "STRING_VALUE", // required
media: [ // StringList
"STRING_VALUE",
],
},
},
WhatsAppStatusEvent: { // WhatsAppStatusEvent
pbx: "STRING_VALUE", // required
company: "STRING_VALUE", // required
time: new Date("TIMESTAMP"), // required
type: "WHATSAPP.INBOUND" || "WHATSAPP.STATUS", // required
data: { // WhatsAppStatusEventData
from: "STRING_VALUE", // required
to: "STRING_VALUE", // required
id: "STRING_VALUE", // required
status: "SENT" || "DELIVERED" || "ERROR" || "READ" || "DELETED" || "24H_CHANNEL_CLOSED", // required
reason: "STRING_VALUE", // required
channel: "STRING_VALUE",
parts: Number("int"),
},
},
WebsocketAuthorizeAction: { // WebsocketAuthorizeAction
action: "subscribe" || "authorize" || "unsubscribe", // required
token: "STRING_VALUE", // required
},
WebsocketSubscribeAction: { // WebsocketSubscribeAction
action: "subscribe" || "authorize" || "unsubscribe", // required
topic: "conversations" || "transcriptions" || "presence", // required
filter: [ // WebsocketSubscribeFilter
"DOCUMENT_VALUE",
],
state: true || false,
version: "STRING_VALUE",
},
WebsocketUnsubscribeAction: { // WebsocketUnsubscribeAction
action: "subscribe" || "authorize" || "unsubscribe", // required
topic: "conversations" || "transcriptions" || "presence", // required
filter: [
"DOCUMENT_VALUE",
],
},
};
const command = new DescribeEventCommand(input);
const response = await client.send(command);
// { // DescribeEventOutput
// CallAnalyticsLiveProgressEvent: { // CallAnalyticsLiveProgressEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: [ // LicensesList // required
// "x-bees",
// ],
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// eventTrigger: "call.start" || "call.update" || "call.split" || "call.agents_start" || "call.agents_cancel" || "call.record_start" || "call.record_stop" || "call.transcription" || "call.attachment", // required
// start: "STRING_VALUE", // required
// flows: [ // CallAnalyticsLiveProgressEventFlowList // required
// { // CallAnalyticsLiveProgressEventFlow
// flowIndex: Number("int"), // required
// startTime: Number("long"), // required
// endTime: Number("long"), // required
// connectTime: Number("long"),
// talkTime: Number("long"),
// waitTime: Number("long"),
// duration: Number("long"), // required
// caller: { // CallParticipant
// type: "REMOTE" || "LOCAL", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "CLIENT" || "AGENT", // required
// license: "STRING_VALUE",
// },
// callee: {
// type: "REMOTE" || "LOCAL", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "CLIENT" || "AGENT", // required
// license: "STRING_VALUE",
// },
// service: "STRING_VALUE",
// serviceNumber: "STRING_VALUE",
// destination: "STRING_VALUE",
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
// trunkName: "STRING_VALUE",
// trunkDirection: "STRING_VALUE",
// queueName: "STRING_VALUE",
// queueId: "STRING_VALUE",
// tags: [ // CallFlowTags
// "STRING_VALUE",
// ],
// flags: [ // CallFlowFlags
// "STRING_VALUE",
// ],
// callerMos: "STRING_VALUE",
// calleeMos: "STRING_VALUE",
// xhoppersConfId: "STRING_VALUE",
// recordings: [ // CallFlowRecordings
// "STRING_VALUE",
// ],
// recordingsData: [ // CallFlowRecordingsData
// { // RecordingsData
// fileName: "STRING_VALUE", // required
// start: Number("long"), // required
// end: Number("long"), // required
// owner: "callee" || "caller" || "system", // required
// url: "STRING_VALUE", // required
// pauses: [ // CallRecordPausesList // required
// { // CallRecordPause
// start: Number("long"),
// end: Number("long"),
// reason: "pause" || "hold",
// },
// ],
// },
// ],
// mergeWith: "STRING_VALUE",
// splitReason: "STRING_VALUE",
// splitTransferType: "STRING_VALUE",
// remotePhone: "STRING_VALUE",
// remotePhoneCountryCode: Number("int"),
// remotePhoneCountryCodeStr: "STRING_VALUE",
// remotePhoneLocation: "STRING_VALUE",
// callStatus: "COMPLETED" || "MISSED",
// transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
// transcriptionLanguage: "STRING_VALUE",
// attachment: "STRING_VALUE",
// attachmentType: "VOICEMAIL" || "FAX",
// attachmentDestinations: [ // CallFlowAttachmentDestinationList
// { // CallFlowAttachmentDestination
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// },
// ],
// status: "CONNECTING" || "TALKING" || "HOLD", // required
// statusChangeDate: "STRING_VALUE", // required
// },
// ],
// },
// CallAnalyticsLiveCompleteEvent: { // CallAnalyticsLiveCompleteEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: [ // required
// "x-bees",
// ],
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// flows: Number("int"), // required
// },
// CallAnalyticsLiveInterruptedEvent: { // CallAnalyticsLiveInterruptedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: [ // required
// "x-bees",
// ],
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// flows: Number("int"), // required
// },
// CallAnalyticsLiveTranscriptionEvent: { // CallAnalyticsLiveTranscriptionEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: [ // required
// "x-bees",
// ],
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// flowIndex: Number("int"), // required
// flowStartTime: Number("long"), // required
// callStartTime: Number("long"), // required
// chunk: { // CallTranscriptionChunk
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// speaker: "callee" || "caller", // required
// text: "STRING_VALUE", // required
// language: "STRING_VALUE",
// isFinal: true || false, // required
// start: Number("long"), // required
// end: Number("long"), // required
// sentiment: "STRING_VALUE", // required
// },
// participant: {
// type: "REMOTE" || "LOCAL", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "CLIENT" || "AGENT", // required
// license: "STRING_VALUE",
// },
// },
// CallAnalyticsRecordEvent: { // CallAnalyticsRecordEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: [ // required
// "x-bees",
// ],
// flows: [ // CallAnalyticsRecordEventFlowsList // required
// { // CallAnalyticsRecordEventFlow
// flowIndex: Number("int"), // required
// startTime: Number("long"), // required
// endTime: Number("long"), // required
// connectTime: Number("long"),
// talkTime: Number("long"),
// waitTime: Number("long"),
// duration: Number("long"), // required
// caller: {
// type: "REMOTE" || "LOCAL", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "CLIENT" || "AGENT", // required
// license: "STRING_VALUE",
// },
// callee: {
// type: "REMOTE" || "LOCAL", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "CLIENT" || "AGENT", // required
// license: "STRING_VALUE",
// },
// service: "STRING_VALUE",
// serviceNumber: "STRING_VALUE",
// destination: "STRING_VALUE",
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
// trunkName: "STRING_VALUE",
// trunkDirection: "STRING_VALUE",
// queueName: "STRING_VALUE",
// queueId: "STRING_VALUE",
// tags: [
// "STRING_VALUE",
// ],
// flags: [
// "STRING_VALUE",
// ],
// callerMos: "STRING_VALUE",
// calleeMos: "STRING_VALUE",
// xhoppersConfId: "STRING_VALUE",
// recordings: [
// "STRING_VALUE",
// ],
// recordingsData: [
// {
// fileName: "STRING_VALUE", // required
// start: Number("long"), // required
// end: Number("long"), // required
// owner: "callee" || "caller" || "system", // required
// url: "STRING_VALUE", // required
// pauses: [ // required
// {
// start: Number("long"),
// end: Number("long"),
// reason: "pause" || "hold",
// },
// ],
// },
// ],
// mergeWith: "STRING_VALUE",
// splitReason: "STRING_VALUE",
// splitTransferType: "STRING_VALUE",
// remotePhone: "STRING_VALUE",
// remotePhoneCountryCode: Number("int"),
// remotePhoneCountryCodeStr: "STRING_VALUE",
// remotePhoneLocation: "STRING_VALUE",
// callStatus: "COMPLETED" || "MISSED",
// transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
// transcriptionLanguage: "STRING_VALUE",
// attachment: "STRING_VALUE",
// attachmentType: "VOICEMAIL" || "FAX",
// attachmentDestinations: [
// {
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// },
// ],
// },
// ],
// endCause: "STRING_VALUE",
// endCauseStr: "STRING_VALUE",
// endBy: "CALLER" || "CALLEE", // required
// totalConnectTime: Number("int"), // required
// totalTalkTime: Number("int"), // required
// totalWaitTime: Number("int"), // required
// type: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// complete: true || false, // required
// },
// CallAnalyticsTranscriptionRecordEvent: { // CallAnalyticsTranscriptionRecordEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: "<LicensesList>", // required
// transcriptions: [ // CallTranscriptionList // required
// { // CallTranscription
// flowIndex: Number("int"), // required
// flowStartTime: Number("long"), // required
// callStartTime: Number("long"), // required
// chunks: { // CallTranscriptionChunksMap // required
// "<keys>": {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// speaker: "callee" || "caller", // required
// text: "STRING_VALUE", // required
// language: "STRING_VALUE",
// isFinal: true || false, // required
// start: Number("long"), // required
// end: Number("long"), // required
// sentiment: "STRING_VALUE", // required
// },
// },
// },
// ],
// type: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// complete: true || false, // required
// },
// CallAnalyticsCostRecordEvent: { // CallAnalyticsCostRecordEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: "<LicensesList>", // required
// transcriptions: [ // required
// {
// flowIndex: Number("int"), // required
// flowStartTime: Number("long"), // required
// callStartTime: Number("long"), // required
// chunks: { // required
// "<keys>": {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// speaker: "callee" || "caller", // required
// text: "STRING_VALUE", // required
// language: "STRING_VALUE",
// isFinal: true || false, // required
// start: Number("long"), // required
// end: Number("long"), // required
// sentiment: "STRING_VALUE", // required
// },
// },
// },
// ],
// type: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// flowIndex: Number("int"), // required
// cost: Number("double"), // required
// },
// ChatAnalyticsLiveCompleteEvent: { // ChatAnalyticsLiveCompleteEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// },
// ChatAnalyticsLiveInterruptedEvent: { // ChatAnalyticsLiveInterruptedEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// },
// ChatAnalyticsLiveProgressEvent: { // ChatAnalyticsLiveProgressEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// start: "STRING_VALUE", // required
// channelId: "STRING_VALUE", // required
// channelType: "direct" || "group", // required
// subject: "STRING_VALUE", // required
// service: "STRING_VALUE",
// serviceTitle: "STRING_VALUE",
// participants: [ // ChatParticipantList // required
// { // ChatParticipant
// id: "STRING_VALUE", // required
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// picture: "STRING_VALUE",
// locale: "STRING_VALUE",
// timeZone: "STRING_VALUE",
// company: "STRING_VALUE",
// bot: true || false,
// pbxDomain: "STRING_VALUE",
// pbxPort: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxUserId: "STRING_VALUE",
// createdAt: "STRING_VALUE",
// updatedAt: "STRING_VALUE",
// type: "REMOTE" || "LOCAL", // required
// role: "CLIENT" || "AGENT", // required
// },
// ],
// agents: [ // ChatUserList // required
// { // User
// id: "STRING_VALUE", // required
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// picture: "STRING_VALUE",
// locale: "STRING_VALUE",
// timeZone: "STRING_VALUE",
// company: "STRING_VALUE",
// bot: true || false,
// pbxDomain: "STRING_VALUE",
// pbxPort: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxUserId: "STRING_VALUE",
// createdAt: "STRING_VALUE",
// updatedAt: "STRING_VALUE",
// },
// ],
// agentsCount: Number("int"), // required
// customers: [ // required
// {
// id: "STRING_VALUE", // required
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// picture: "STRING_VALUE",
// locale: "STRING_VALUE",
// timeZone: "STRING_VALUE",
// company: "STRING_VALUE",
// bot: true || false,
// pbxDomain: "STRING_VALUE",
// pbxPort: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxUserId: "STRING_VALUE",
// createdAt: "STRING_VALUE",
// updatedAt: "STRING_VALUE",
// },
// ],
// customersCount: Number("int"), // required
// tags: [ // ChatTags
// "sms" || "telephony" || "whatsapp",
// ],
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
// status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
// },
// ChatAnalyticsManagerMissedEvent: { // ChatAnalyticsManagerMissedEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "STRING_VALUE", // required
// },
// ChatAnalyticsRecordEvent: { // ChatAnalyticsRecordEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// type: "STRING_VALUE", // required
// duration: Number("long"),
// subject: "STRING_VALUE",
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
// service: "STRING_VALUE",
// serviceTitle: "STRING_VALUE",
// tags: [
// "sms" || "telephony" || "whatsapp",
// ],
// status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
// participants: [ // ChatAnalyticsRecordParticipantList
// { // ChatAnalyticsRecordParticipant
// id: "STRING_VALUE", // required
// info: {
// id: "STRING_VALUE", // required
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// picture: "STRING_VALUE",
// locale: "STRING_VALUE",
// timeZone: "STRING_VALUE",
// company: "STRING_VALUE",
// bot: true || false,
// pbxDomain: "STRING_VALUE",
// pbxPort: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxUserId: "STRING_VALUE",
// createdAt: "STRING_VALUE",
// updatedAt: "STRING_VALUE",
// type: "REMOTE" || "LOCAL", // required
// role: "CLIENT" || "AGENT", // required
// },
// },
// ],
// },
// ConferenceAnalyticsLiveProgressEvent: { // ConferenceAnalyticsLiveProgressEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// start: "STRING_VALUE", // required
// subject: "STRING_VALUE", // required
// participants: [ // ConferenceParticipantsList // required
// { // ConferenceParticipant
// type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
// role: "CLIENT" || "AGENT",
// jid: "STRING_VALUE",
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// department: "STRING_VALUE",
// company: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxGroupId: "STRING_VALUE",
// xbsId: "STRING_VALUE",
// license: "basic" || "essential" || "business" || "premium" || "wizyconf",
// },
// ],
// transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
// transcriptionLanguage: "STRING_VALUE",
// },
// ConferenceAnalyticsLiveCompleteEvent: { // ConferenceAnalyticsLiveCompleteEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// },
// ConferenceAnalyticsLiveInterruptedEvent: { // ConferenceAnalyticsLiveInterruptedEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// },
// ConferenceAnalyticsLiveTranscriptionEvent: { // ConferenceAnalyticsLiveTranscriptionEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// conferenceStartTime: Number("long"), // required
// transcriptionStartTime: Number("long"), // required
// chunk: { // ConferenceTranscriptionChunk
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// jid: "STRING_VALUE", // required
// text: "STRING_VALUE", // required
// language: "STRING_VALUE",
// isFinal: true || false, // required
// start: Number("long"), // required
// end: Number("long"), // required
// sentiment: "STRING_VALUE", // required
// },
// participant: {
// type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
// role: "CLIENT" || "AGENT",
// jid: "STRING_VALUE",
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// department: "STRING_VALUE",
// company: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxGroupId: "STRING_VALUE",
// xbsId: "STRING_VALUE",
// license: "basic" || "essential" || "business" || "premium" || "wizyconf",
// },
// },
// ConferenceAnalyticsLiveJoinEvent: { // ConferenceAnalyticsLiveJoinEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// participant: {
// type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
// role: "CLIENT" || "AGENT",
// jid: "STRING_VALUE",
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// department: "STRING_VALUE",
// company: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxGroupId: "STRING_VALUE",
// xbsId: "STRING_VALUE",
// license: "basic" || "essential" || "business" || "premium" || "wizyconf",
// },
// },
// ConferenceAnalyticsLiveLeaveEvent: { // ConferenceAnalyticsLiveLeaveEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// participant: {
// type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
// role: "CLIENT" || "AGENT",
// jid: "STRING_VALUE",
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// department: "STRING_VALUE",
// company: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxGroupId: "STRING_VALUE",
// xbsId: "STRING_VALUE",
// license: "basic" || "essential" || "business" || "premium" || "wizyconf",
// },
// },
// ConferenceAnalyticsRecordEvent: { // ConferenceAnalyticsRecordEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// startTime: Number("long"), // required
// endTime: Number("long"), // required
// duration: Number("long"), // required
// waitTime: Number("int"),
// subject: "STRING_VALUE",
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
// service: "STRING_VALUE",
// status: "COMPLETED" || "MISSED",
// participants: [ // ConferenceAnalyticsRecordParticipantList // required
// { // ConferenceAnalyticsRecordParticipant
// jid: "STRING_VALUE", // required
// info: "<ConferenceParticipant>", // required
// totalDuration: Number("int"), // required
// totalSpeakDuration: Number("int"), // required
// joinTime: Number("long"), // required
// },
// ],
// recordings: [ // ConferenceRecordingList
// { // ConferenceRecording
// url: "STRING_VALUE", // required
// start: Number("long"), // required
// end: Number("long"), // required
// },
// ],
// transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
// transcriptionLanguage: "STRING_VALUE",
// type: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// transcriptions: "STRING_VALUE",
// },
// ConferenceAnalyticsTranscriptionRecordEvent: { // ConferenceAnalyticsTranscriptionRecordEvent
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// transcriptions: [ // ConferenceTranscriptionsList // required
// { // ConferenceTranscription
// start: Number("long"), // required
// end: Number("long"), // required
// chunks: { // ConferenceTranscriptionChunksMap // required
// "<keys>": {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// jid: "STRING_VALUE", // required
// text: "STRING_VALUE", // required
// language: "STRING_VALUE",
// isFinal: true || false, // required
// start: Number("long"), // required
// end: Number("long"), // required
// sentiment: "STRING_VALUE", // required
// },
// },
// },
// ],
// type: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// subject: "STRING_VALUE",
// participants: { // ConferenceParticipantsMap
// "<keys>": "<ConferenceParticipant>",
// },
// },
// PresenceAnalyticsStatusEvent: { // PresenceAnalyticsStatusEvent
// id: "STRING_VALUE",
// ext: "STRING_VALUE",
// type: "PRESENCE" || "PRESENCE_TELEPHONY",
// time: Number("long"),
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// status: "STRING_VALUE",
// sourceId: "STRING_VALUE",
// locationAddress: "STRING_VALUE",
// locationLat: "STRING_VALUE",
// locationLng: "STRING_VALUE",
// message: "STRING_VALUE",
// until: "STRING_VALUE",
// },
// PresenceAnalyticsConferenceEvent: { // PresenceAnalyticsConferenceEvent
// id: "STRING_VALUE",
// ext: "STRING_VALUE",
// type: "PRESENCE" || "PRESENCE_TELEPHONY",
// time: Number("long"),
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// status: "STRING_VALUE",
// sourceId: "STRING_VALUE",
// isJoined: true || false,
// isLeaved: true || false,
// participant: "<ConferenceParticipant>",
// },
// PresenceAnalyticsTelephonyEvent: { // PresenceAnalyticsTelephonyEvent
// id: "STRING_VALUE",
// ext: "STRING_VALUE",
// type: "PRESENCE" || "PRESENCE_TELEPHONY",
// time: Number("long"),
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// status: "STRING_VALUE",
// sourceId: "STRING_VALUE",
// },
// WebsocketPresenceBroadcastEvent: { // WebsocketPresenceBroadcastEvent
// event: "authorized" || "subscribed" || "broadcast" || "unsubscribed", // required
// topic: "conversations" || "transcriptions" || "presence", // required
// delta: { // WebsocketPresenceData
// id: "STRING_VALUE",
// company: "STRING_VALUE",
// extension: "STRING_VALUE",
// status: "STRING_VALUE",
// telephony: "STRING_VALUE",
// conference: "STRING_VALUE",
// message: "STRING_VALUE",
// until: "STRING_VALUE",
// address: "STRING_VALUE",
// lng: "STRING_VALUE",
// lat: "STRING_VALUE",
// seen: "STRING_VALUE",
// },
// data: { // WebsocketPresenceDataList
// member: {
// id: "STRING_VALUE",
// company: "STRING_VALUE",
// extension: "STRING_VALUE",
// status: "STRING_VALUE",
// telephony: "STRING_VALUE",
// conference: "STRING_VALUE",
// message: "STRING_VALUE",
// until: "STRING_VALUE",
// address: "STRING_VALUE",
// lng: "STRING_VALUE",
// lat: "STRING_VALUE",
// seen: "STRING_VALUE",
// },
// },
// meta: "DOCUMENT_VALUE",
// },
// WebsocketConversationsBroadcastEvent: { // WebsocketConversationsBroadcastEvent
// event: "authorized" || "subscribed" || "broadcast" || "unsubscribed", // required
// topic: "conversations" || "transcriptions" || "presence", // required
// data: "DOCUMENT_VALUE", // required
// meta: "DOCUMENT_VALUE",
// },
// WebsocketTranscriptionsBroadcastEvent: { // WebsocketTranscriptionsBroadcastEvent
// event: "authorized" || "subscribed" || "broadcast" || "unsubscribed", // required
// topic: "conversations" || "transcriptions" || "presence", // required
// data: "DOCUMENT_VALUE", // required
// meta: "DOCUMENT_VALUE",
// },
// WebsocketAuthorizedEvent: { // WebsocketAuthorizedEvent
// event: "authorized" || "subscribed" || "broadcast" || "unsubscribed", // required
// connectionId: "STRING_VALUE", // required
// requestId: "STRING_VALUE", // required
// duration: "DOCUMENT_VALUE",
// },
// WebsocketSubscribedEvent: { // WebsocketSubscribedEvent
// event: "authorized" || "subscribed" || "broadcast" || "unsubscribed", // required
// connectionId: "STRING_VALUE", // required
// requestId: "STRING_VALUE", // required
// topic: "conversations" || "transcriptions" || "presence", // required
// duration: "DOCUMENT_VALUE",
// },
// WebsocketUnsubscribedEvent: { // WebsocketUnsubscribedEvent
// event: "authorized" || "subscribed" || "broadcast" || "unsubscribed", // required
// connectionId: "STRING_VALUE", // required
// requestId: "STRING_VALUE", // required
// topic: "conversations" || "transcriptions" || "presence", // required
// duration: Number("int"),
// pending: Number("int"),
// },
// WebsocketAuthorizeBadRequestException: { // WebsocketAuthorizeBadRequestException
// event: "STRING_VALUE",
// requestId: "STRING_VALUE",
// connectionId: "STRING_VALUE",
// message: "STRING_VALUE",
// code: Number("int"),
// source: { // WebsocketAuthorizeAction
// action: "subscribe" || "authorize" || "unsubscribe", // required
// token: "STRING_VALUE", // required
// },
// },
// WebsocketSubscribeBadRequestException: { // WebsocketSubscribeBadRequestException
// event: "STRING_VALUE",
// requestId: "STRING_VALUE",
// connectionId: "STRING_VALUE",
// message: "STRING_VALUE",
// code: Number("int"),
// source: { // WebsocketSubscribeAction
// action: "subscribe" || "authorize" || "unsubscribe", // required
// topic: "conversations" || "transcriptions" || "presence", // required
// filter: [ // WebsocketSubscribeFilter
// "DOCUMENT_VALUE",
// ],
// state: true || false,
// version: "STRING_VALUE",
// },
// },
// WebsocketUnsubscribeBadRequestException: { // WebsocketUnsubscribeBadRequestException
// event: "STRING_VALUE",
// requestId: "STRING_VALUE",
// connectionId: "STRING_VALUE",
// message: "STRING_VALUE",
// code: Number("int"),
// source: { // WebsocketUnsubscribeAction
// action: "subscribe" || "authorize" || "unsubscribe", // required
// topic: "conversations" || "transcriptions" || "presence", // required
// filter: [
// "DOCUMENT_VALUE",
// ],
// },
// },
// WebhookPresenceUserEvent: { // WebhookPresenceUserEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: { // WebhookPresenceUserEventData
// extension: "STRING_VALUE", // required
// email: "STRING_VALUE", // required
// sourceId: "STRING_VALUE", // required
// status: "STRING_VALUE", // required
// until: "STRING_VALUE", // required
// message: "STRING_VALUE", // required
// location: { // WebhookPresenceUserEventLocationData
// address: "STRING_VALUE", // required
// lat: "STRING_VALUE", // required
// lng: "STRING_VALUE", // required
// },
// },
// },
// WebhookPresenceTelephonyEvent: { // WebhookPresenceTelephonyEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: { // WebhookPresenceTelephonyEventData
// extension: "STRING_VALUE", // required
// email: "STRING_VALUE", // required
// sourceId: "STRING_VALUE", // required
// status: "STRING_VALUE", // required
// },
// },
// WebhookPresenceConferenceEvent: { // WebhookPresenceConferenceEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: { // WebhookPresenceConferenceEventData
// extension: "STRING_VALUE", // required
// isJoined: true || false, // required
// isLeaved: true || false, // required
// participant: "<ConferenceParticipant>", // required
// },
// },
// WebhookCallLiveProgressEvent: { // WebhookCallLiveProgressEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: "<LicensesList>", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// eventTrigger: "call.start" || "call.update" || "call.split" || "call.agents_start" || "call.agents_cancel" || "call.record_start" || "call.record_stop" || "call.transcription" || "call.attachment", // required
// start: "STRING_VALUE", // required
// flows: [ // required
// {
// flowIndex: Number("int"), // required
// startTime: Number("long"), // required
// endTime: Number("long"), // required
// connectTime: Number("long"),
// talkTime: Number("long"),
// waitTime: Number("long"),
// duration: Number("long"), // required
// caller: "<CallParticipant>",
// callee: "<CallParticipant>",
// service: "STRING_VALUE",
// serviceNumber: "STRING_VALUE",
// destination: "STRING_VALUE",
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
// trunkName: "STRING_VALUE",
// trunkDirection: "STRING_VALUE",
// queueName: "STRING_VALUE",
// queueId: "STRING_VALUE",
// tags: [
// "STRING_VALUE",
// ],
// flags: [
// "STRING_VALUE",
// ],
// callerMos: "STRING_VALUE",
// calleeMos: "STRING_VALUE",
// xhoppersConfId: "STRING_VALUE",
// recordings: [
// "STRING_VALUE",
// ],
// recordingsData: [
// {
// fileName: "STRING_VALUE", // required
// start: Number("long"), // required
// end: Number("long"), // required
// owner: "callee" || "caller" || "system", // required
// url: "STRING_VALUE", // required
// pauses: [ // required
// {
// start: Number("long"),
// end: Number("long"),
// reason: "pause" || "hold",
// },
// ],
// },
// ],
// mergeWith: "STRING_VALUE",
// splitReason: "STRING_VALUE",
// splitTransferType: "STRING_VALUE",
// remotePhone: "STRING_VALUE",
// remotePhoneCountryCode: Number("int"),
// remotePhoneCountryCodeStr: "STRING_VALUE",
// remotePhoneLocation: "STRING_VALUE",
// callStatus: "COMPLETED" || "MISSED",
// transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
// transcriptionLanguage: "STRING_VALUE",
// attachment: "STRING_VALUE",
// attachmentType: "VOICEMAIL" || "FAX",
// attachmentDestinations: [
// {
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// },
// ],
// status: "CONNECTING" || "TALKING" || "HOLD", // required
// statusChangeDate: "STRING_VALUE", // required
// },
// ],
// },
// },
// WebhookCallLiveCompletedEvent: { // WebhookCallLiveCompletedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: "<LicensesList>", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// flows: Number("int"), // required
// },
// },
// WebhookCallLiveInterruptedEvent: { // WebhookCallLiveInterruptedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: "<LicensesList>", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// flows: Number("int"), // required
// },
// },
// WebhookCallLiveTranscriptionEvent: { // WebhookCallLiveTranscriptionEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: "<LicensesList>", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// flowIndex: Number("int"), // required
// flowStartTime: Number("long"), // required
// callStartTime: Number("long"), // required
// chunk: "<CallTranscriptionChunk>", // required
// participant: "<CallParticipant>",
// },
// },
// WebhookCallCompletedEvent: { // WebhookCallCompletedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// licenses: "<LicensesList>", // required
// flows: [ // required
// {
// flowIndex: Number("int"), // required
// startTime: Number("long"), // required
// endTime: Number("long"), // required
// connectTime: Number("long"),
// talkTime: Number("long"),
// waitTime: Number("long"),
// duration: Number("long"), // required
// caller: "<CallParticipant>",
// callee: "<CallParticipant>",
// service: "STRING_VALUE",
// serviceNumber: "STRING_VALUE",
// destination: "STRING_VALUE",
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
// trunkName: "STRING_VALUE",
// trunkDirection: "STRING_VALUE",
// queueName: "STRING_VALUE",
// queueId: "STRING_VALUE",
// tags: [
// "STRING_VALUE",
// ],
// flags: [
// "STRING_VALUE",
// ],
// callerMos: "STRING_VALUE",
// calleeMos: "STRING_VALUE",
// xhoppersConfId: "STRING_VALUE",
// recordings: [
// "STRING_VALUE",
// ],
// recordingsData: [
// {
// fileName: "STRING_VALUE", // required
// start: Number("long"), // required
// end: Number("long"), // required
// owner: "callee" || "caller" || "system", // required
// url: "STRING_VALUE", // required
// pauses: [ // required
// {
// start: Number("long"),
// end: Number("long"),
// reason: "pause" || "hold",
// },
// ],
// },
// ],
// mergeWith: "STRING_VALUE",
// splitReason: "STRING_VALUE",
// splitTransferType: "STRING_VALUE",
// remotePhone: "STRING_VALUE",
// remotePhoneCountryCode: Number("int"),
// remotePhoneCountryCodeStr: "STRING_VALUE",
// remotePhoneLocation: "STRING_VALUE",
// callStatus: "COMPLETED" || "MISSED",
// transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
// transcriptionLanguage: "STRING_VALUE",
// attachment: "STRING_VALUE",
// attachmentType: "VOICEMAIL" || "FAX",
// attachmentDestinations: [
// {
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// },
// ],
// },
// ],
// endCause: "STRING_VALUE",
// endCauseStr: "STRING_VALUE",
// endBy: "CALLER" || "CALLEE", // required
// totalConnectTime: Number("int"), // required
// totalTalkTime: Number("int"), // required
// totalWaitTime: Number("int"), // required
// type: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// complete: true || false, // required
// },
// },
// WebhookConferenceLiveProgressEvent: { // WebhookConferenceLiveProgressEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// start: "STRING_VALUE", // required
// subject: "STRING_VALUE", // required
// participants: [ // required
// "<ConferenceParticipant>",
// ],
// transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
// transcriptionLanguage: "STRING_VALUE",
// },
// },
// WebhookConferenceLiveCompletedEvent: { // WebhookConferenceLiveCompletedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// },
// },
// WebhookConferenceLiveInterruptedEvent: { // WebhookConferenceLiveInterruptedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// },
// },
// WebhookConferenceLiveJoinEvent: { // WebhookConferenceLiveJoinEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// participant: "<ConferenceParticipant>", // required
// },
// },
// WebhookConferenceLiveLeaveEvent: { // WebhookConferenceLiveLeaveEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// participant: "<ConferenceParticipant>", // required
// },
// },
// WebhookConferenceLiveTranscriptionEvent: { // WebhookConferenceLiveTranscriptionEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// conferenceStartTime: Number("long"), // required
// transcriptionStartTime: Number("long"), // required
// chunk: "<ConferenceTranscriptionChunk>", // required
// participant: "<ConferenceParticipant>",
// },
// },
// WebhookConferenceCompletedEvent: { // WebhookConferenceCompletedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// startTime: Number("long"), // required
// endTime: Number("long"), // required
// duration: Number("long"), // required
// waitTime: Number("int"),
// subject: "STRING_VALUE",
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
// service: "STRING_VALUE",
// status: "COMPLETED" || "MISSED",
// participants: [ // required
// {
// jid: "STRING_VALUE", // required
// info: "<ConferenceParticipant>", // required
// totalDuration: Number("int"), // required
// totalSpeakDuration: Number("int"), // required
// joinTime: Number("long"), // required
// },
// ],
// recordings: [
// {
// url: "STRING_VALUE", // required
// start: Number("long"), // required
// end: Number("long"), // required
// },
// ],
// transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
// transcriptionLanguage: "STRING_VALUE",
// type: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// transcriptions: "STRING_VALUE",
// },
// },
// WebhookChatLiveProgressEvent: { // WebhookChatLiveProgressEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// start: "STRING_VALUE", // required
// channelId: "STRING_VALUE", // required
// channelType: "direct" || "group", // required
// subject: "STRING_VALUE", // required
// service: "STRING_VALUE",
// serviceTitle: "STRING_VALUE",
// participants: [ // required
// {
// id: "STRING_VALUE", // required
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// picture: "STRING_VALUE",
// locale: "STRING_VALUE",
// timeZone: "STRING_VALUE",
// company: "STRING_VALUE",
// bot: true || false,
// pbxDomain: "STRING_VALUE",
// pbxPort: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxUserId: "STRING_VALUE",
// createdAt: "STRING_VALUE",
// updatedAt: "STRING_VALUE",
// type: "REMOTE" || "LOCAL", // required
// role: "CLIENT" || "AGENT", // required
// },
// ],
// agents: [ // required
// {
// id: "STRING_VALUE", // required
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// picture: "STRING_VALUE",
// locale: "STRING_VALUE",
// timeZone: "STRING_VALUE",
// company: "STRING_VALUE",
// bot: true || false,
// pbxDomain: "STRING_VALUE",
// pbxPort: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxUserId: "STRING_VALUE",
// createdAt: "STRING_VALUE",
// updatedAt: "STRING_VALUE",
// },
// ],
// agentsCount: Number("int"), // required
// customers: [ // required
// {
// id: "STRING_VALUE", // required
// name: "STRING_VALUE",
// email: "STRING_VALUE",
// phone: "STRING_VALUE",
// picture: "STRING_VALUE",
// locale: "STRING_VALUE",
// timeZone: "STRING_VALUE",
// company: "STRING_VALUE",
// bot: true || false,
// pbxDomain: "STRING_VALUE",
// pbxPort: "STRING_VALUE",
// pbxExtension: "STRING_VALUE",
// pbxSerial: "STRING_VALUE",
// pbxUserId: "STRING_VALUE",
// createdAt: "STRING_VALUE",
// updatedAt: "STRING_VALUE",
// },
// ],
// customersCount: Number("int"), // required
// tags: [
// "sms" || "telephony" || "whatsapp",
// ],
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
// status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
// },
// },
// WebhookChatLiveCompletedEvent: { // WebhookChatLiveCompletedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// },
// },
// WebhookChatLiveInterruptedEvent: { // WebhookChatLiveInterruptedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
// },
// },
// WebhookChatManagerMissedEvent: { // WebhookChatManagerMissedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// event: "STRING_VALUE", // required
// },
// },
// WebhookChatCompletedEvent: { // WebhookChatCompletedEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// id: "STRING_VALUE", // required
// time: Number("long"), // required
// company: "STRING_VALUE", // required
// type: "STRING_VALUE", // required
// duration: Number("long"),
// subject: "STRING_VALUE",
// direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
// service: "STRING_VALUE",
// serviceTitle: "STRING_VALUE",
// tags: [
// "sms" || "telephony" || "whatsapp",
// ],
// status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
// participants: [
// {
// id: "STRING_VALUE", // required
// info: "<ChatParticipant>", // required
// },
// ],
// },
// },
// WebhookOutdatedCallStartEvent: { // WebhookOutdatedCallStartEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: { // WebhookOutdatedCallEventData
// status: "STRING_VALUE",
// caller: { // WebhookOutdatedCallParticipant
// type: "STRING_VALUE", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "STRING_VALUE", // required
// license: "STRING_VALUE",
// },
// callee: {
// type: "STRING_VALUE", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "STRING_VALUE", // required
// license: "STRING_VALUE",
// },
// service: "STRING_VALUE",
// destination: "STRING_VALUE",
// trunkName: "STRING_VALUE",
// queueId: "STRING_VALUE",
// queueName: "STRING_VALUE",
// tags: "<CallFlowTags>", // required
// flags: "<CallFlowFlags>", // required
// endCause: "STRING_VALUE",
// endCauseStr: "STRING_VALUE",
// endBy: "STRING_VALUE",
// },
// },
// WebhookOutdatedCallUpdateEvent: { // WebhookOutdatedCallUpdateEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// status: "STRING_VALUE",
// caller: {
// type: "STRING_VALUE", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "STRING_VALUE", // required
// license: "STRING_VALUE",
// },
// callee: {
// type: "STRING_VALUE", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "STRING_VALUE", // required
// license: "STRING_VALUE",
// },
// service: "STRING_VALUE",
// destination: "STRING_VALUE",
// trunkName: "STRING_VALUE",
// queueId: "STRING_VALUE",
// queueName: "STRING_VALUE",
// tags: "<CallFlowTags>", // required
// flags: "<CallFlowFlags>", // required
// endCause: "STRING_VALUE",
// endCauseStr: "STRING_VALUE",
// endBy: "STRING_VALUE",
// },
// },
// WebhookOutdatedCallEndEvent: { // WebhookOutdatedCallEndEvent
// id: "STRING_VALUE", // required
// pbx: "STRING_VALUE",
// company: "STRING_VALUE",
// type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
// time: Number("long"), // required
// integrationId: "STRING_VALUE", // required
// data: {
// status: "STRING_VALUE",
// caller: {
// type: "STRING_VALUE", // required
// phone: "STRING_VALUE",
// name: "STRING_VALUE",
// company: "STRING_VALUE",
// email: "STRING_VALUE",
// userId: "STRING_VALUE",
// userExtension: "STRING_VALUE",
// userDepartment: "STRING_VALUE",
// groupId: "STRING_VALUE",
// groupName: "STRING_VALUE",
// userAgent: "STRING_VALUE",
// userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
// role: "STRING_VALUE", // required
// license: "STRING_VALUE",
// },
// callee: "<WebhookOutdatedCallParticipant>",
// service: "STRING_VALUE",
// destination: "STRING_VALUE",
// trunkName: "STRING_VALUE",
// queueId: "STRING_VALUE",
// queueName: "STRING_VALUE",
// tags: "<CallFlowTags>", // required
// flags: "<CallFlowFlags>", // required
// endCause: "STRING_VALUE",
// endCauseStr: "STRING_VALUE",
// endBy: "STRING_VALUE",
// },
// },
// CallEventType: "CallAnalyticsLiveProgressEvent" || "CallAnalyticsLiveCompleteEvent" || "CallAnalyticsLiveInterruptedEvent" || "CallAnalyticsLiveTranscriptionEvent" || "CallAnalyticsRecordEvent" || "CallAnalyticsTranscriptionRecordEvent" || "CallAnalyticsCostRecordEvent",
// ConferenceEventType: "ConferenceAnalyticsLiveProgressEvent" || "ConferenceAnalyticsLiveCompleteEvent" || "ConferenceAnalyticsLiveInterruptedEvent" || "ConferenceAnalyticsLiveTranscriptionEvent" || "ConferenceAnalyticsLiveJoinEvent" || "ConferenceAnalyticsLiveLeaveEvent" || "ConferenceAnalyticsRecordEvent" || "ConferenceAnalyticsTranscriptionRecordEvent",
// ChatEventType: "ChatAnalyticsLiveCompleteEvent" || "ChatAnalyticsLiveInterruptedEvent" || "ChatAnalyticsLiveProgressEvent" || "ChatAnalyticsManagerMissedEvent" || "ChatAnalyticsRecordEvent",
// PresenceEventType: "PresenceAnalyticsStatusEvent" || "PresenceAnalyticsConferenceEvent" || "PresenceAnalyticsTelephonyEvent",
// };