@wildix/wda-stream-client 1.1.49 → 1.1.56

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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChatConsumeEventType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.ForbiddenException = void 0;
4
- exports.WebsocketEvent = exports.WebhookEventType = exports.ServiceEventType = exports.ServiceCallEventType = exports.ServiceAnalyticsEventTrigger = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ServiceCallAction = exports.ServiceConsumeEventType = exports.ServiceAgentType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = void 0;
3
+ exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.TranscriptionSentiment = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.ForbiddenException = void 0;
4
+ exports.WebsocketEvent = exports.WebhookEventType = exports.ServiceEventType = exports.ServiceCallEventType = exports.ServiceAnalyticsEventTrigger = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ServiceCallAction = exports.ServiceConsumeEventType = exports.ServiceAgentType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = exports.ChatConsumeEventType = void 0;
5
5
  const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
6
6
  class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
7
7
  name = "ForbiddenException";
@@ -121,6 +121,12 @@ exports.CallTranscriptionSpeaker = {
121
121
  CALLEE: "callee",
122
122
  CALLER: "caller",
123
123
  };
124
+ exports.TranscriptionSentiment = {
125
+ MIXED: "MIXED",
126
+ NEGATIVE: "NEGATIVE",
127
+ NEUTRAL: "NEUTRAL",
128
+ POSITIVE: "POSITIVE",
129
+ };
124
130
  exports.ChannelAccess = {
125
131
  PRIVATE: "private",
126
132
  PUBLIC: "public",
@@ -280,6 +286,7 @@ exports.LiveEventType = {
280
286
  CONFERENCE_TRANSCRIPTION: "conference_transcription",
281
287
  SERVICE: "service",
282
288
  SERVICE_AGENT: "service_agent",
289
+ SERVICE_AGENT_STATUS: "service_agent_status",
283
290
  SERVICE_CALL: "service_call",
284
291
  SERVICE_CALL_COMPLETE: "service_call_complete",
285
292
  SERVICE_COMPLETE: "service_complete",
@@ -398,8 +405,11 @@ exports.ServiceConsumeEventType = {
398
405
  exports.ServiceCallAction = {
399
406
  ANSWER: "ANSWER",
400
407
  CANCEL: "CANCEL",
408
+ END: "END",
409
+ INIT: "INIT",
401
410
  REJECT: "REJECT",
402
411
  RING: "RING",
412
+ WAIT: "WAIT",
403
413
  };
404
414
  exports.SmsConsumeEventType = {
405
415
  SMS_INBOUND: "SMS.INBOUND",
@@ -548,8 +558,10 @@ exports.ServiceAnalyticsEventTrigger = {
548
558
  exports.ServiceCallEventType = {
549
559
  LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent",
550
560
  LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent",
561
+ RECORD_EVENT: "ServiceCallAnalyticsRecordEvent",
551
562
  };
552
563
  exports.ServiceEventType = {
564
+ AGENTS_STATUS_RECORD_EVENT: "ServiceAgentsStatusAnalyticsRecordEvent",
553
565
  LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent",
554
566
  LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
555
567
  };
@@ -261,10 +261,12 @@ const de_DescribeEventCommand = async (output, context) => {
261
261
  'PresenceAnalyticsStatusEvent': smithy_client_1._json,
262
262
  'PresenceAnalyticsTelephonyEvent': smithy_client_1._json,
263
263
  'PresenceEventType': smithy_client_1.expectString,
264
+ 'ServiceAgentsStatusAnalyticsRecordEvent': smithy_client_1._json,
264
265
  'ServiceAnalyticsLiveCompleteEvent': smithy_client_1._json,
265
266
  'ServiceAnalyticsLiveProgressEvent': smithy_client_1._json,
266
267
  'ServiceCallAnalyticsLiveCompleteEvent': smithy_client_1._json,
267
268
  'ServiceCallAnalyticsLiveProgressEvent': smithy_client_1._json,
269
+ 'ServiceCallAnalyticsRecordEvent': smithy_client_1._json,
268
270
  'ServiceCallEventType': smithy_client_1.expectString,
269
271
  'ServiceEventType': smithy_client_1.expectString,
270
272
  'WebhookCallCompletedEvent': smithy_client_1._json,
@@ -722,6 +724,7 @@ const de_CallTranscriptionChunk = (output, context) => {
722
724
  'isFinal': smithy_client_1.expectBoolean,
723
725
  'language': smithy_client_1.expectString,
724
726
  'sentiment': smithy_client_1.expectString,
727
+ 'shouldComputeSentiment': smithy_client_1.expectBoolean,
725
728
  'speaker': smithy_client_1.expectString,
726
729
  'start': smithy_client_1.expectLong,
727
730
  'text': smithy_client_1.expectString,
@@ -115,6 +115,12 @@ export const CallTranscriptionSpeaker = {
115
115
  CALLEE: "callee",
116
116
  CALLER: "caller",
117
117
  };
118
+ export const TranscriptionSentiment = {
119
+ MIXED: "MIXED",
120
+ NEGATIVE: "NEGATIVE",
121
+ NEUTRAL: "NEUTRAL",
122
+ POSITIVE: "POSITIVE",
123
+ };
118
124
  export const ChannelAccess = {
119
125
  PRIVATE: "private",
120
126
  PUBLIC: "public",
@@ -274,6 +280,7 @@ export const LiveEventType = {
274
280
  CONFERENCE_TRANSCRIPTION: "conference_transcription",
275
281
  SERVICE: "service",
276
282
  SERVICE_AGENT: "service_agent",
283
+ SERVICE_AGENT_STATUS: "service_agent_status",
277
284
  SERVICE_CALL: "service_call",
278
285
  SERVICE_CALL_COMPLETE: "service_call_complete",
279
286
  SERVICE_COMPLETE: "service_complete",
@@ -392,8 +399,11 @@ export const ServiceConsumeEventType = {
392
399
  export const ServiceCallAction = {
393
400
  ANSWER: "ANSWER",
394
401
  CANCEL: "CANCEL",
402
+ END: "END",
403
+ INIT: "INIT",
395
404
  REJECT: "REJECT",
396
405
  RING: "RING",
406
+ WAIT: "WAIT",
397
407
  };
398
408
  export const SmsConsumeEventType = {
399
409
  SMS_INBOUND: "SMS.INBOUND",
@@ -542,8 +552,10 @@ export const ServiceAnalyticsEventTrigger = {
542
552
  export const ServiceCallEventType = {
543
553
  LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent",
544
554
  LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent",
555
+ RECORD_EVENT: "ServiceCallAnalyticsRecordEvent",
545
556
  };
546
557
  export const ServiceEventType = {
558
+ AGENTS_STATUS_RECORD_EVENT: "ServiceAgentsStatusAnalyticsRecordEvent",
547
559
  LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent",
548
560
  LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
549
561
  };
@@ -245,10 +245,12 @@ export const de_DescribeEventCommand = async (output, context) => {
245
245
  'PresenceAnalyticsStatusEvent': _json,
246
246
  'PresenceAnalyticsTelephonyEvent': _json,
247
247
  'PresenceEventType': __expectString,
248
+ 'ServiceAgentsStatusAnalyticsRecordEvent': _json,
248
249
  'ServiceAnalyticsLiveCompleteEvent': _json,
249
250
  'ServiceAnalyticsLiveProgressEvent': _json,
250
251
  'ServiceCallAnalyticsLiveCompleteEvent': _json,
251
252
  'ServiceCallAnalyticsLiveProgressEvent': _json,
253
+ 'ServiceCallAnalyticsRecordEvent': _json,
252
254
  'ServiceCallEventType': __expectString,
253
255
  'ServiceEventType': __expectString,
254
256
  'WebhookCallCompletedEvent': _json,
@@ -695,6 +697,7 @@ const de_CallTranscriptionChunk = (output, context) => {
695
697
  'isFinal': __expectBoolean,
696
698
  'language': __expectString,
697
699
  'sentiment': __expectString,
700
+ 'shouldComputeSentiment': __expectBoolean,
698
701
  'speaker': __expectString,
699
702
  'start': __expectLong,
700
703
  'text': __expectString,
@@ -89,6 +89,7 @@ declare const ConsumeEventCommand_base: {
89
89
  * id: "STRING_VALUE", // required
90
90
  * name: "STRING_VALUE", // required
91
91
  * },
92
+ * queuePosition: Number("int"),
92
93
  * tags: [ // CallFlowTags
93
94
  * "STRING_VALUE",
94
95
  * ],
@@ -154,6 +155,7 @@ declare const ConsumeEventCommand_base: {
154
155
  * id: "STRING_VALUE", // required
155
156
  * name: "STRING_VALUE", // required
156
157
  * },
158
+ * queuePosition: Number("int"),
157
159
  * tags: [
158
160
  * "STRING_VALUE",
159
161
  * ],
@@ -204,6 +206,7 @@ declare const ConsumeEventCommand_base: {
204
206
  * id: "STRING_VALUE", // required
205
207
  * name: "STRING_VALUE", // required
206
208
  * },
209
+ * queuePosition: Number("int"),
207
210
  * tags: [
208
211
  * "STRING_VALUE",
209
212
  * ],
@@ -380,7 +383,7 @@ declare const ConsumeEventCommand_base: {
380
383
  * flowIndex: Number("int"), // required
381
384
  * flowStartTime: Number("long"), // required
382
385
  * callStartTime: Number("long"), // required
383
- * type: "chat" || "chat_transcription" || "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" || "service" || "service_complete" || "service_agent" || "service_call" || "service_call_complete", // required
386
+ * type: "chat" || "chat_transcription" || "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" || "service" || "service_complete" || "service_agent" || "service_agent_status" || "service_call" || "service_call_complete", // required
384
387
  * cds: { // CdsTranscriptionPayloadReference
385
388
  * id: "STRING_VALUE", // required
386
389
  * },
@@ -895,24 +898,31 @@ declare const ConsumeEventCommand_base: {
895
898
  * },
896
899
  * serviceInit: { // ServiceInitConsumeEvent
897
900
  * id: "STRING_VALUE", // required
898
- * time: Number("long"), // required
899
901
  * pbx: "STRING_VALUE", // required
902
+ * time: Number("long"), // required
900
903
  * company: "STRING_VALUE", // required
901
904
  * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
902
905
  * data: { // ServiceConsumeEventData
903
- * name: "STRING_VALUE",
906
+ * name: "STRING_VALUE", // required
904
907
  * strategy: "STRING_VALUE",
905
908
  * maxCalls: "STRING_VALUE",
906
909
  * weight: "STRING_VALUE",
910
+ * timeZone: "STRING_VALUE",
911
+ * aclGroup: "STRING_VALUE",
907
912
  * agents: [ // ServiceAgentsList
908
913
  * { // ServiceAgent
909
914
  * id: "STRING_VALUE", // required
910
915
  * penalty: "STRING_VALUE",
911
916
  * type: "STATIC" || "DYNAMIC",
912
917
  * paused: true || false,
918
+ * status: "STRING_VALUE",
919
+ * reason: "STRING_VALUE",
920
+ * message: "STRING_VALUE",
913
921
  * lastQueueCallEnd: Number("long"),
914
922
  * userExtension: "STRING_VALUE",
923
+ * department: "STRING_VALUE",
915
924
  * name: "STRING_VALUE",
925
+ * aclGroup: "STRING_VALUE",
916
926
  * },
917
927
  * ],
918
928
  * calls: [ // ServiceCallsList
@@ -922,24 +932,31 @@ declare const ConsumeEventCommand_base: {
922
932
  * },
923
933
  * serviceUpdate: { // ServiceUpdateConsumeEvent
924
934
  * id: "STRING_VALUE", // required
925
- * time: Number("long"), // required
926
935
  * pbx: "STRING_VALUE", // required
936
+ * time: Number("long"), // required
927
937
  * company: "STRING_VALUE", // required
928
938
  * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
929
939
  * data: {
930
- * name: "STRING_VALUE",
940
+ * name: "STRING_VALUE", // required
931
941
  * strategy: "STRING_VALUE",
932
942
  * maxCalls: "STRING_VALUE",
933
943
  * weight: "STRING_VALUE",
944
+ * timeZone: "STRING_VALUE",
945
+ * aclGroup: "STRING_VALUE",
934
946
  * agents: [
935
947
  * {
936
948
  * id: "STRING_VALUE", // required
937
949
  * penalty: "STRING_VALUE",
938
950
  * type: "STATIC" || "DYNAMIC",
939
951
  * paused: true || false,
952
+ * status: "STRING_VALUE",
953
+ * reason: "STRING_VALUE",
954
+ * message: "STRING_VALUE",
940
955
  * lastQueueCallEnd: Number("long"),
941
956
  * userExtension: "STRING_VALUE",
957
+ * department: "STRING_VALUE",
942
958
  * name: "STRING_VALUE",
959
+ * aclGroup: "STRING_VALUE",
943
960
  * },
944
961
  * ],
945
962
  * calls: [
@@ -949,75 +966,69 @@ declare const ConsumeEventCommand_base: {
949
966
  * },
950
967
  * serviceEnd: { // ServiceEndConsumeEvent
951
968
  * id: "STRING_VALUE", // required
952
- * time: Number("long"), // required
953
969
  * pbx: "STRING_VALUE", // required
970
+ * time: Number("long"), // required
954
971
  * company: "STRING_VALUE", // required
955
972
  * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
956
973
  * },
957
974
  * serviceCallInit: { // ServiceCallInitConsumeEvent
958
975
  * id: "STRING_VALUE", // required
959
- * time: Number("long"), // required
960
976
  * pbx: "STRING_VALUE", // required
977
+ * time: Number("long"), // required
961
978
  * company: "STRING_VALUE", // required
962
979
  * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
963
980
  * data: { // ServiceCallConsumeEventData
964
- * callId: "STRING_VALUE", // required
965
- * startTime: Number("long"),
966
- * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
967
- * action: "RING" || "REJECT" || "CANCEL" || "ANSWER",
968
- * customer: { // ServiceCustomer
969
- * phone: "STRING_VALUE", // required
970
- * name: "STRING_VALUE",
971
- * },
981
+ * action: "INIT" || "WAIT" || "RING" || "REJECT" || "CANCEL" || "ANSWER" || "END",
982
+ * reason: "STRING_VALUE",
972
983
  * relatedAgents: [ // ServiceCallAgentsList
973
984
  * "STRING_VALUE",
974
985
  * ],
986
+ * callId: "STRING_VALUE", // required
987
+ * flowId: Number("int"),
988
+ * startTime: Number("long"),
989
+ * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
975
990
  * },
976
991
  * },
977
992
  * serviceCallUpdate: { // ServiceCallUpdateConsumeEvent
978
993
  * id: "STRING_VALUE", // required
979
- * time: Number("long"), // required
980
994
  * pbx: "STRING_VALUE", // required
995
+ * time: Number("long"), // required
981
996
  * company: "STRING_VALUE", // required
982
997
  * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
983
998
  * data: {
984
- * callId: "STRING_VALUE", // required
985
- * startTime: Number("long"),
986
- * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
987
- * action: "RING" || "REJECT" || "CANCEL" || "ANSWER",
988
- * customer: {
989
- * phone: "STRING_VALUE", // required
990
- * name: "STRING_VALUE",
991
- * },
999
+ * action: "INIT" || "WAIT" || "RING" || "REJECT" || "CANCEL" || "ANSWER" || "END",
1000
+ * reason: "STRING_VALUE",
992
1001
  * relatedAgents: [
993
1002
  * "STRING_VALUE",
994
1003
  * ],
1004
+ * callId: "STRING_VALUE", // required
1005
+ * flowId: Number("int"),
1006
+ * startTime: Number("long"),
1007
+ * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
995
1008
  * },
996
1009
  * },
997
1010
  * serviceCallEnd: { // ServiceCallEndConsumeEvent
998
1011
  * id: "STRING_VALUE", // required
999
- * time: Number("long"), // required
1000
1012
  * pbx: "STRING_VALUE", // required
1013
+ * time: Number("long"), // required
1001
1014
  * company: "STRING_VALUE", // required
1002
1015
  * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
1003
1016
  * data: {
1004
- * callId: "STRING_VALUE", // required
1005
- * startTime: Number("long"),
1006
- * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
1007
- * action: "RING" || "REJECT" || "CANCEL" || "ANSWER",
1008
- * customer: {
1009
- * phone: "STRING_VALUE", // required
1010
- * name: "STRING_VALUE",
1011
- * },
1017
+ * action: "INIT" || "WAIT" || "RING" || "REJECT" || "CANCEL" || "ANSWER" || "END",
1018
+ * reason: "STRING_VALUE",
1012
1019
  * relatedAgents: [
1013
1020
  * "STRING_VALUE",
1014
1021
  * ],
1022
+ * callId: "STRING_VALUE", // required
1023
+ * flowId: Number("int"),
1024
+ * startTime: Number("long"),
1025
+ * direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
1015
1026
  * },
1016
1027
  * },
1017
1028
  * serviceAgentJoin: { // ServiceAgentJoinConsumeEvent
1018
1029
  * id: "STRING_VALUE", // required
1019
- * time: Number("long"), // required
1020
1030
  * pbx: "STRING_VALUE", // required
1031
+ * time: Number("long"), // required
1021
1032
  * company: "STRING_VALUE", // required
1022
1033
  * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
1023
1034
  * data: { // ServiceAgentConsumeEventData
@@ -1025,15 +1036,20 @@ declare const ConsumeEventCommand_base: {
1025
1036
  * penalty: "STRING_VALUE",
1026
1037
  * type: "STATIC" || "DYNAMIC",
1027
1038
  * paused: true || false,
1039
+ * status: "STRING_VALUE",
1040
+ * reason: "STRING_VALUE",
1041
+ * message: "STRING_VALUE",
1028
1042
  * lastQueueCallEnd: Number("long"),
1029
1043
  * userExtension: "STRING_VALUE",
1044
+ * department: "STRING_VALUE",
1030
1045
  * name: "STRING_VALUE",
1046
+ * aclGroup: "STRING_VALUE",
1031
1047
  * },
1032
1048
  * },
1033
1049
  * serviceAgentUpdate: { // ServiceAgentUpdateConsumeEvent
1034
1050
  * id: "STRING_VALUE", // required
1035
- * time: Number("long"), // required
1036
1051
  * pbx: "STRING_VALUE", // required
1052
+ * time: Number("long"), // required
1037
1053
  * company: "STRING_VALUE", // required
1038
1054
  * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
1039
1055
  * data: {
@@ -1041,15 +1057,20 @@ declare const ConsumeEventCommand_base: {
1041
1057
  * penalty: "STRING_VALUE",
1042
1058
  * type: "STATIC" || "DYNAMIC",
1043
1059
  * paused: true || false,
1060
+ * status: "STRING_VALUE",
1061
+ * reason: "STRING_VALUE",
1062
+ * message: "STRING_VALUE",
1044
1063
  * lastQueueCallEnd: Number("long"),
1045
1064
  * userExtension: "STRING_VALUE",
1065
+ * department: "STRING_VALUE",
1046
1066
  * name: "STRING_VALUE",
1067
+ * aclGroup: "STRING_VALUE",
1047
1068
  * },
1048
1069
  * },
1049
1070
  * serviceAgentLeave: { // ServiceAgentLeaveConsumeEvent
1050
1071
  * id: "STRING_VALUE", // required
1051
- * time: Number("long"), // required
1052
1072
  * pbx: "STRING_VALUE", // required
1073
+ * time: Number("long"), // required
1053
1074
  * company: "STRING_VALUE", // required
1054
1075
  * type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
1055
1076
  * data: {
@@ -1057,9 +1078,14 @@ declare const ConsumeEventCommand_base: {
1057
1078
  * penalty: "STRING_VALUE",
1058
1079
  * type: "STATIC" || "DYNAMIC",
1059
1080
  * paused: true || false,
1081
+ * status: "STRING_VALUE",
1082
+ * reason: "STRING_VALUE",
1083
+ * message: "STRING_VALUE",
1060
1084
  * lastQueueCallEnd: Number("long"),
1061
1085
  * userExtension: "STRING_VALUE",
1086
+ * department: "STRING_VALUE",
1062
1087
  * name: "STRING_VALUE",
1088
+ * aclGroup: "STRING_VALUE",
1063
1089
  * },
1064
1090
  * },
1065
1091
  * usageStt: { // TranscriptionUsageEvent