@wildix/wda-stream-client 1.1.6 → 1.1.12

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.ChatEventType = 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.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.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = void 0;
4
- exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatTag = void 0;
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.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = void 0;
4
+ exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = void 0;
5
5
  const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
6
6
  class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceException {
7
7
  name = "ValidationException";
@@ -160,6 +160,11 @@ exports.ChatStatus = {
160
160
  WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT",
161
161
  WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST",
162
162
  };
163
+ exports.ChatTag = {
164
+ SMS: "sms",
165
+ TELEPHONY: "telephony",
166
+ WHATSAPP: "whatsapp",
167
+ };
163
168
  var ButtonHandler;
164
169
  (function (ButtonHandler) {
165
170
  ButtonHandler.visit = (value, visitor) => {
@@ -325,11 +330,6 @@ exports.ChatEventType = {
325
330
  RECORD_EVENT: "ChatAnalyticsRecordEvent",
326
331
  TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent",
327
332
  };
328
- exports.ChatTag = {
329
- SMS: "sms",
330
- TELEPHONY: "telephony",
331
- WHATSAPP: "whatsapp",
332
- };
333
333
  exports.ConferenceConsumeDirection = {
334
334
  INBOUND: "inbound",
335
335
  INTERNAL: "internal",
@@ -161,7 +161,7 @@ const de_DescribeEventCommand = async (output, context) => {
161
161
  'ChatAnalyticsLiveTranscriptionEvent': smithy_client_1._json,
162
162
  'ChatAnalyticsManagerMissedEvent': smithy_client_1._json,
163
163
  'ChatAnalyticsRecordEvent': smithy_client_1._json,
164
- 'ChatAnalyticsTranscriptionRecordEvent': smithy_client_1._json,
164
+ 'ChatAnalyticsTranscriptionRecordEvent': _ => de_ChatAnalyticsTranscriptionRecordEvent(_, context),
165
165
  'ChatEventType': smithy_client_1.expectString,
166
166
  'ConferenceAnalyticsLiveCompleteEvent': smithy_client_1._json,
167
167
  'ConferenceAnalyticsLiveInterruptedEvent': smithy_client_1._json,
@@ -486,6 +486,16 @@ const de_CallAnalyticsCostRecordEvent = (output, context) => {
486
486
  'type': smithy_client_1.expectString,
487
487
  });
488
488
  };
489
+ const de_ChatAnalyticsTranscriptionRecordEvent = (output, context) => {
490
+ return (0, smithy_client_1.take)(output, {
491
+ 'chatId': smithy_client_1.expectString,
492
+ 'company': smithy_client_1.expectString,
493
+ 'id': smithy_client_1.expectString,
494
+ 'time': smithy_client_1.expectLong,
495
+ 'transcription': smithy_client_1._json,
496
+ 'type': smithy_client_1.expectString,
497
+ });
498
+ };
489
499
  const de_WebsocketAuthorizedEvent = (output, context) => {
490
500
  return (0, smithy_client_1.take)(output, {
491
501
  'connectionId': smithy_client_1.expectString,
@@ -154,6 +154,11 @@ export const ChatStatus = {
154
154
  WAITREPLYFROMAGENT: "WAITREPLYFROMAGENT",
155
155
  WAITREPLYFROMGUEST: "WAITREPLYFROMGUEST",
156
156
  };
157
+ export const ChatTag = {
158
+ SMS: "sms",
159
+ TELEPHONY: "telephony",
160
+ WHATSAPP: "whatsapp",
161
+ };
157
162
  export var ButtonHandler;
158
163
  (function (ButtonHandler) {
159
164
  ButtonHandler.visit = (value, visitor) => {
@@ -319,11 +324,6 @@ export const ChatEventType = {
319
324
  RECORD_EVENT: "ChatAnalyticsRecordEvent",
320
325
  TRANSCRIPTION_RECORD_EVENT: "ChatAnalyticsTranscriptionRecordEvent",
321
326
  };
322
- export const ChatTag = {
323
- SMS: "sms",
324
- TELEPHONY: "telephony",
325
- WHATSAPP: "whatsapp",
326
- };
327
327
  export const ConferenceConsumeDirection = {
328
328
  INBOUND: "inbound",
329
329
  INTERNAL: "internal",
@@ -150,7 +150,7 @@ export const de_DescribeEventCommand = async (output, context) => {
150
150
  'ChatAnalyticsLiveTranscriptionEvent': _json,
151
151
  'ChatAnalyticsManagerMissedEvent': _json,
152
152
  'ChatAnalyticsRecordEvent': _json,
153
- 'ChatAnalyticsTranscriptionRecordEvent': _json,
153
+ 'ChatAnalyticsTranscriptionRecordEvent': _ => de_ChatAnalyticsTranscriptionRecordEvent(_, context),
154
154
  'ChatEventType': __expectString,
155
155
  'ConferenceAnalyticsLiveCompleteEvent': _json,
156
156
  'ConferenceAnalyticsLiveInterruptedEvent': _json,
@@ -469,6 +469,16 @@ const de_CallAnalyticsCostRecordEvent = (output, context) => {
469
469
  'type': __expectString,
470
470
  });
471
471
  };
472
+ const de_ChatAnalyticsTranscriptionRecordEvent = (output, context) => {
473
+ return take(output, {
474
+ 'chatId': __expectString,
475
+ 'company': __expectString,
476
+ 'id': __expectString,
477
+ 'time': __expectLong,
478
+ 'transcription': _json,
479
+ 'type': __expectString,
480
+ });
481
+ };
472
482
  const de_WebsocketAuthorizedEvent = (output, context) => {
473
483
  return take(output, {
474
484
  'connectionId': __expectString,
@@ -515,6 +515,7 @@ declare const ConsumeEventCommand_base: {
515
515
  * pbxExtension: "STRING_VALUE",
516
516
  * pbxSerial: "STRING_VALUE",
517
517
  * pbxUserId: "STRING_VALUE",
518
+ * pbxGroupId: "STRING_VALUE",
518
519
  * createdAt: "STRING_VALUE",
519
520
  * updatedAt: "STRING_VALUE",
520
521
  * },
@@ -601,6 +602,7 @@ declare const ConsumeEventCommand_base: {
601
602
  * pbxExtension: "STRING_VALUE",
602
603
  * pbxSerial: "STRING_VALUE",
603
604
  * pbxUserId: "STRING_VALUE",
605
+ * pbxGroupId: "STRING_VALUE",
604
606
  * createdAt: "STRING_VALUE",
605
607
  * updatedAt: "STRING_VALUE",
606
608
  * },
@@ -589,65 +589,55 @@ declare const DescribeEventCommand_base: {
589
589
  * // },
590
590
  * // ChatAnalyticsLiveCompleteEvent: { // ChatAnalyticsLiveCompleteEvent
591
591
  * // id: "STRING_VALUE",
592
- * // sessionId: "STRING_VALUE",
592
+ * // chatId: "STRING_VALUE",
593
593
  * // time: Number("long"), // required
594
594
  * // company: "STRING_VALUE", // required
595
595
  * // event: "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", // required
596
596
  * // },
597
597
  * // ChatAnalyticsLiveInterruptedEvent: { // ChatAnalyticsLiveInterruptedEvent
598
598
  * // id: "STRING_VALUE",
599
- * // sessionId: "STRING_VALUE",
599
+ * // chatId: "STRING_VALUE",
600
600
  * // time: Number("long"), // required
601
601
  * // company: "STRING_VALUE", // required
602
602
  * // event: "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", // required
603
603
  * // },
604
604
  * // ChatAnalyticsLiveProgressEvent: { // ChatAnalyticsLiveProgressEvent
605
605
  * // id: "STRING_VALUE",
606
- * // sessionId: "STRING_VALUE",
606
+ * // chatId: "STRING_VALUE",
607
607
  * // time: Number("long"), // required
608
608
  * // company: "STRING_VALUE", // required
609
609
  * // event: "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", // required
610
610
  * // start: "STRING_VALUE", // required
611
- * // channel: { // Channel
612
- * // subject: "STRING_VALUE",
613
- * // description: "STRING_VALUE",
614
- * // picture: "STRING_VALUE",
615
- * // pictureColor: "STRING_VALUE",
616
- * // access: "private" || "public",
617
- * // company: "STRING_VALUE",
618
- * // context: { // ChannelContext
619
- * // source: "kite",
620
- * // target: "STRING_VALUE",
621
- * // events: [ // ChannelContextEventList
622
- * // { // ChannelContextEvent
623
- * // id: "STRING_VALUE",
624
- * // owner: "STRING_VALUE",
625
- * // start: "STRING_VALUE",
626
- * // end: "STRING_VALUE",
627
- * // summary: "STRING_VALUE",
628
- * // attendees: [ // ChannelContextEventAttendeeList
629
- * // { // ChannelContextEventAttendee
630
- * // email: "STRING_VALUE", // required
631
- * // name: "STRING_VALUE",
632
- * // status: "accepted" || "tentative" || "declined" || "none", // required
633
- * // },
634
- * // ],
635
- * // },
636
- * // ],
637
- * // ptt: { // ChannelContextPushToTalk
638
- * // broadcastId: "STRING_VALUE",
639
- * // },
611
+ * // channelId: "STRING_VALUE", // required
612
+ * // channelType: "direct" || "group", // required
613
+ * // subject: "STRING_VALUE", // required
614
+ * // service: "STRING_VALUE",
615
+ * // serviceTitle: "STRING_VALUE",
616
+ * // participants: [ // ChatLiveParticipantsList // required
617
+ * // { // ChatParticipantInfo
618
+ * // id: "STRING_VALUE", // required
619
+ * // name: "STRING_VALUE",
620
+ * // email: "STRING_VALUE",
621
+ * // phone: "STRING_VALUE",
622
+ * // picture: "STRING_VALUE",
623
+ * // locale: "STRING_VALUE",
624
+ * // timeZone: "STRING_VALUE",
625
+ * // company: "STRING_VALUE",
626
+ * // bot: true || false,
627
+ * // pbxDomain: "STRING_VALUE",
628
+ * // pbxPort: "STRING_VALUE",
629
+ * // pbxExtension: "STRING_VALUE",
630
+ * // pbxSerial: "STRING_VALUE",
631
+ * // pbxUserId: "STRING_VALUE",
632
+ * // pbxGroupId: "STRING_VALUE",
633
+ * // createdAt: "STRING_VALUE",
634
+ * // updatedAt: "STRING_VALUE",
635
+ * // type: "REMOTE" || "LOCAL", // required
636
+ * // role: "CLIENT" || "AGENT", // required
640
637
  * // },
641
- * // kite: true || false,
642
- * // kiteTarget: "STRING_VALUE",
643
- * // kiteVariant: "STRING_VALUE",
644
- * // kiteAssign: "STRING_VALUE",
645
- * // kiteServiceName: "STRING_VALUE",
646
- * // kiteDefaultSubject: "STRING_VALUE",
647
- * // service: "STRING_VALUE",
648
- * // serviceTitle: "STRING_VALUE",
649
- * // serviceRecipient: "STRING_VALUE",
650
- * // assignee: { // User
638
+ * // ],
639
+ * // agents: [ // ChatUserList // required
640
+ * // { // User
651
641
  * // id: "STRING_VALUE", // required
652
642
  * // name: "STRING_VALUE",
653
643
  * // email: "STRING_VALUE",
@@ -662,27 +652,14 @@ declare const DescribeEventCommand_base: {
662
652
  * // pbxExtension: "STRING_VALUE",
663
653
  * // pbxSerial: "STRING_VALUE",
664
654
  * // pbxUserId: "STRING_VALUE",
655
+ * // pbxGroupId: "STRING_VALUE",
665
656
  * // createdAt: "STRING_VALUE",
666
657
  * // updatedAt: "STRING_VALUE",
667
658
  * // },
668
- * // telephony: true || false,
669
- * // sms: true || false,
670
- * // mms: true || false,
671
- * // whatsapp: true || false,
672
- * // whatsappStatus: "24h_channel_closed",
673
- * // broadcast: true || false,
674
- * // external: true || false,
675
- * // autoRecord: true || false,
676
- * // transcriptionLanguage: "STRING_VALUE",
677
- * // channelId: "STRING_VALUE", // required
678
- * // channelType: "direct" || "group", // required
679
- * // memberCount: Number("int"), // required
680
- * // createdAt: "STRING_VALUE", // required
681
- * // createdBy: "STRING_VALUE", // required
682
- * // updatedAt: "STRING_VALUE",
683
- * // },
684
- * // participants: [ // ChatLiveParticipantsList // required
685
- * // { // ChatParticipantInfo
659
+ * // ],
660
+ * // agentsCount: Number("int"), // required
661
+ * // customers: [ // required
662
+ * // {
686
663
  * // id: "STRING_VALUE", // required
687
664
  * // name: "STRING_VALUE",
688
665
  * // email: "STRING_VALUE",
@@ -697,61 +674,216 @@ declare const DescribeEventCommand_base: {
697
674
  * // pbxExtension: "STRING_VALUE",
698
675
  * // pbxSerial: "STRING_VALUE",
699
676
  * // pbxUserId: "STRING_VALUE",
677
+ * // pbxGroupId: "STRING_VALUE",
700
678
  * // createdAt: "STRING_VALUE",
701
679
  * // updatedAt: "STRING_VALUE",
702
- * // type: "REMOTE" || "LOCAL", // required
703
- * // role: "CLIENT" || "AGENT", // required
704
680
  * // },
705
681
  * // ],
682
+ * // customersCount: Number("int"), // required
683
+ * // tags: [ // ChatTags
684
+ * // "sms" || "telephony" || "whatsapp",
685
+ * // ],
706
686
  * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
707
687
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
708
688
  * // },
709
689
  * // ChatAnalyticsLiveTranscriptionEvent: { // ChatAnalyticsLiveTranscriptionEvent
710
690
  * // id: "STRING_VALUE",
711
- * // sessionId: "STRING_VALUE",
691
+ * // chatId: "STRING_VALUE",
712
692
  * // time: Number("long"), // required
713
693
  * // company: "STRING_VALUE", // required
714
694
  * // event: "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", // required
715
- * // chatStartTime: Number("long"), // required
716
- * // message: "STRING_VALUE", // required
695
+ * // message: { // Message
696
+ * // text: "STRING_VALUE",
697
+ * // elements: [ // ElementsList
698
+ * // { // Element Union: only one key present
699
+ * // template: { // MessageTemplateConfig
700
+ * // whatsapp: { // TemplateWithParameters
701
+ * // name: "STRING_VALUE", // required
702
+ * // parameters: [ // ListTemplateParameter // required
703
+ * // { // TemplateParameter
704
+ * // name: "STRING_VALUE", // required
705
+ * // value: "STRING_VALUE", // required
706
+ * // },
707
+ * // ],
708
+ * // },
709
+ * // },
710
+ * // actions: [ // ActionsElementsList
711
+ * // { // ActionElement Union: only one key present
712
+ * // button: { // ButtonElement
713
+ * // text: "STRING_VALUE", // required
714
+ * // handler: { // ButtonHandler Union: only one key present
715
+ * // link: { // ButtonLinkHandler
716
+ * // url: "STRING_VALUE", // required
717
+ * // },
718
+ * // reply: { // ButtonReplyHandler
719
+ * // text: "STRING_VALUE",
720
+ * // },
721
+ * // action: { // ButtonActionHandler
722
+ * // id: "STRING_VALUE", // required
723
+ * // },
724
+ * // },
725
+ * // variant: "contained" || "outlined",
726
+ * // disabled: true || false,
727
+ * // },
728
+ * // },
729
+ * // ],
730
+ * // },
731
+ * // ],
732
+ * // attachments: [ // MessageAttachmentList
733
+ * // { // MessageAttachment
734
+ * // id: "STRING_VALUE", // required
735
+ * // fsId: "STRING_VALUE", // required
736
+ * // mime: "STRING_VALUE",
737
+ * // name: "STRING_VALUE", // required
738
+ * // size: Number("int"), // required
739
+ * // width: Number("int"),
740
+ * // height: Number("int"),
741
+ * // thumbnail: "STRING_VALUE",
742
+ * // },
743
+ * // ],
744
+ * // quote: { // MessageQuote
745
+ * // messageId: "STRING_VALUE", // required
746
+ * // channelId: "STRING_VALUE", // required
747
+ * // user: {
748
+ * // id: "STRING_VALUE", // required
749
+ * // name: "STRING_VALUE",
750
+ * // email: "STRING_VALUE",
751
+ * // phone: "STRING_VALUE",
752
+ * // picture: "STRING_VALUE",
753
+ * // locale: "STRING_VALUE",
754
+ * // timeZone: "STRING_VALUE",
755
+ * // company: "STRING_VALUE",
756
+ * // bot: true || false,
757
+ * // pbxDomain: "STRING_VALUE",
758
+ * // pbxPort: "STRING_VALUE",
759
+ * // pbxExtension: "STRING_VALUE",
760
+ * // pbxSerial: "STRING_VALUE",
761
+ * // pbxUserId: "STRING_VALUE",
762
+ * // pbxGroupId: "STRING_VALUE",
763
+ * // createdAt: "STRING_VALUE",
764
+ * // updatedAt: "STRING_VALUE",
765
+ * // },
766
+ * // text: "STRING_VALUE",
767
+ * // attachments: [
768
+ * // {
769
+ * // id: "STRING_VALUE", // required
770
+ * // fsId: "STRING_VALUE", // required
771
+ * // mime: "STRING_VALUE",
772
+ * // name: "STRING_VALUE", // required
773
+ * // size: Number("int"), // required
774
+ * // width: Number("int"),
775
+ * // height: Number("int"),
776
+ * // thumbnail: "STRING_VALUE",
777
+ * // },
778
+ * // ],
779
+ * // forward: { // MessageForward
780
+ * // forwardCompany: "STRING_VALUE",
781
+ * // forwardDate: "STRING_VALUE", // required
782
+ * // forwardEmail: "STRING_VALUE",
783
+ * // forwardName: "STRING_VALUE",
784
+ * // messageId: "STRING_VALUE", // required
785
+ * // channelId: "STRING_VALUE", // required
786
+ * // },
787
+ * // mentions: [ // UsersList
788
+ * // "<User>",
789
+ * // ],
790
+ * // giphy: { // MessageGiphy
791
+ * // id: "STRING_VALUE", // required
792
+ * // size: "STRING_VALUE", // required
793
+ * // url: "STRING_VALUE", // required
794
+ * // height: "STRING_VALUE", // required
795
+ * // width: "STRING_VALUE", // required
796
+ * // },
797
+ * // createdAt: "STRING_VALUE", // required
798
+ * // updatedAt: "STRING_VALUE",
799
+ * // },
800
+ * // forward: {
801
+ * // forwardCompany: "STRING_VALUE",
802
+ * // forwardDate: "STRING_VALUE", // required
803
+ * // forwardEmail: "STRING_VALUE",
804
+ * // forwardName: "STRING_VALUE",
805
+ * // messageId: "STRING_VALUE", // required
806
+ * // channelId: "STRING_VALUE", // required
807
+ * // },
808
+ * // whatsapp: true || false,
809
+ * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
810
+ * // sms: true || false,
811
+ * // smsStatus: "sent" || "delivered" || "trying" || "error",
812
+ * // type: "regular" || "system" || "deleted", // required
813
+ * // giphy: {
814
+ * // id: "STRING_VALUE", // required
815
+ * // size: "STRING_VALUE", // required
816
+ * // url: "STRING_VALUE", // required
817
+ * // height: "STRING_VALUE", // required
818
+ * // width: "STRING_VALUE", // required
819
+ * // },
820
+ * // silent: true || false,
821
+ * // event: "STRING_VALUE",
822
+ * // messageId: "STRING_VALUE", // required
823
+ * // channelId: "STRING_VALUE", // required
824
+ * // user: "<User>", // required
825
+ * // edit: true || false,
826
+ * // mentions: [
827
+ * // "<User>",
828
+ * // ],
829
+ * // latestReactions: [ // ReactionList
830
+ * // { // Reaction
831
+ * // type: "STRING_VALUE",
832
+ * // userId: "STRING_VALUE",
833
+ * // messageId: "STRING_VALUE",
834
+ * // user: "<User>",
835
+ * // },
836
+ * // ],
837
+ * // reactionCounts: { // ReactionCounts
838
+ * // "<keys>": Number("int"),
839
+ * // },
840
+ * // createdAt: "STRING_VALUE", // required
841
+ * // updatedAt: "STRING_VALUE",
842
+ * // },
717
843
  * // },
718
844
  * // ChatAnalyticsManagerMissedEvent: { // ChatAnalyticsManagerMissedEvent
719
845
  * // id: "STRING_VALUE",
720
- * // sessionId: "STRING_VALUE",
846
+ * // chatId: "STRING_VALUE",
721
847
  * // time: Number("long"), // required
722
848
  * // company: "STRING_VALUE", // required
723
849
  * // event: "STRING_VALUE", // required
724
850
  * // },
725
851
  * // ChatAnalyticsRecordEvent: { // ChatAnalyticsRecordEvent
726
852
  * // id: "STRING_VALUE",
727
- * // sessionId: "STRING_VALUE",
853
+ * // chatId: "STRING_VALUE",
728
854
  * // time: Number("long"), // required
729
855
  * // company: "STRING_VALUE", // required
730
856
  * // pbx: "STRING_VALUE",
731
- * // startTime: Number("long"), // required
732
- * // endTime: Number("long"), // required
857
+ * // startTime: Number("long"),
858
+ * // endTime: Number("long"),
733
859
  * // waitTime: Number("int"),
734
- * // duration: Number("long"), // required
735
- * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
736
- * // channel: {
860
+ * // duration: Number("long"),
861
+ * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
862
+ * // subject: "STRING_VALUE",
863
+ * // service: "STRING_VALUE",
864
+ * // serviceTitle: "STRING_VALUE",
865
+ * // tags: [
866
+ * // "sms" || "telephony" || "whatsapp",
867
+ * // ],
868
+ * // channel: { // Channel
737
869
  * // subject: "STRING_VALUE",
738
870
  * // description: "STRING_VALUE",
739
871
  * // picture: "STRING_VALUE",
740
872
  * // pictureColor: "STRING_VALUE",
741
873
  * // access: "private" || "public",
742
874
  * // company: "STRING_VALUE",
743
- * // context: {
875
+ * // context: { // ChannelContext
744
876
  * // source: "kite",
745
877
  * // target: "STRING_VALUE",
746
- * // events: [
747
- * // {
878
+ * // events: [ // ChannelContextEventList
879
+ * // { // ChannelContextEvent
748
880
  * // id: "STRING_VALUE",
749
881
  * // owner: "STRING_VALUE",
750
882
  * // start: "STRING_VALUE",
751
883
  * // end: "STRING_VALUE",
752
884
  * // summary: "STRING_VALUE",
753
- * // attendees: [
754
- * // {
885
+ * // attendees: [ // ChannelContextEventAttendeeList
886
+ * // { // ChannelContextEventAttendee
755
887
  * // email: "STRING_VALUE", // required
756
888
  * // name: "STRING_VALUE",
757
889
  * // status: "accepted" || "tentative" || "declined" || "none", // required
@@ -759,7 +891,7 @@ declare const DescribeEventCommand_base: {
759
891
  * // ],
760
892
  * // },
761
893
  * // ],
762
- * // ptt: {
894
+ * // ptt: { // ChannelContextPushToTalk
763
895
  * // broadcastId: "STRING_VALUE",
764
896
  * // },
765
897
  * // },
@@ -772,24 +904,7 @@ declare const DescribeEventCommand_base: {
772
904
  * // service: "STRING_VALUE",
773
905
  * // serviceTitle: "STRING_VALUE",
774
906
  * // serviceRecipient: "STRING_VALUE",
775
- * // assignee: {
776
- * // id: "STRING_VALUE", // required
777
- * // name: "STRING_VALUE",
778
- * // email: "STRING_VALUE",
779
- * // phone: "STRING_VALUE",
780
- * // picture: "STRING_VALUE",
781
- * // locale: "STRING_VALUE",
782
- * // timeZone: "STRING_VALUE",
783
- * // company: "STRING_VALUE",
784
- * // bot: true || false,
785
- * // pbxDomain: "STRING_VALUE",
786
- * // pbxPort: "STRING_VALUE",
787
- * // pbxExtension: "STRING_VALUE",
788
- * // pbxSerial: "STRING_VALUE",
789
- * // pbxUserId: "STRING_VALUE",
790
- * // createdAt: "STRING_VALUE",
791
- * // updatedAt: "STRING_VALUE",
792
- * // },
907
+ * // assignee: "<User>",
793
908
  * // telephony: true || false,
794
909
  * // sms: true || false,
795
910
  * // mms: true || false,
@@ -807,7 +922,7 @@ declare const DescribeEventCommand_base: {
807
922
  * // updatedAt: "STRING_VALUE",
808
923
  * // },
809
924
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
810
- * // participants: [ // ChatParticipantsList // required
925
+ * // participants: [ // ChatParticipantsList
811
926
  * // { // ChatParticipant
812
927
  * // id: "STRING_VALUE", // required
813
928
  * // info: {
@@ -825,6 +940,7 @@ declare const DescribeEventCommand_base: {
825
940
  * // pbxExtension: "STRING_VALUE",
826
941
  * // pbxSerial: "STRING_VALUE",
827
942
  * // pbxUserId: "STRING_VALUE",
943
+ * // pbxGroupId: "STRING_VALUE",
828
944
  * // createdAt: "STRING_VALUE",
829
945
  * // updatedAt: "STRING_VALUE",
830
946
  * // type: "REMOTE" || "LOCAL", // required
@@ -832,19 +948,96 @@ declare const DescribeEventCommand_base: {
832
948
  * // },
833
949
  * // },
834
950
  * // ],
835
- * // 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", // required
951
+ * // type: "STRING_VALUE", // required
836
952
  * // },
837
953
  * // ChatAnalyticsTranscriptionRecordEvent: { // ChatAnalyticsTranscriptionRecordEvent
838
954
  * // id: "STRING_VALUE",
839
- * // sessionId: "STRING_VALUE",
955
+ * // chatId: "STRING_VALUE",
840
956
  * // time: Number("long"), // required
841
957
  * // company: "STRING_VALUE", // required
842
958
  * // transcription: { // ChatTranscription
843
959
  * // start: Number("long"), // required
844
960
  * // end: Number("long"), // required
845
- * // messages: { // ChatTranscriptionMessagesMap // required
846
- * // "<keys>": "STRING_VALUE",
847
- * // },
961
+ * // messages: [ // ChatTranscriptionMessagesList // required
962
+ * // {
963
+ * // text: "STRING_VALUE",
964
+ * // elements: [
965
+ * // {// Union: only one key present
966
+ * // template: {
967
+ * // whatsapp: {
968
+ * // name: "STRING_VALUE", // required
969
+ * // parameters: [ // required
970
+ * // {
971
+ * // name: "STRING_VALUE", // required
972
+ * // value: "STRING_VALUE", // required
973
+ * // },
974
+ * // ],
975
+ * // },
976
+ * // },
977
+ * // actions: [
978
+ * // {// Union: only one key present
979
+ * // button: {
980
+ * // text: "STRING_VALUE", // required
981
+ * // handler: {// Union: only one key present
982
+ * // link: {
983
+ * // url: "STRING_VALUE", // required
984
+ * // },
985
+ * // reply: {
986
+ * // text: "STRING_VALUE",
987
+ * // },
988
+ * // action: {
989
+ * // id: "STRING_VALUE", // required
990
+ * // },
991
+ * // },
992
+ * // variant: "contained" || "outlined",
993
+ * // disabled: true || false,
994
+ * // },
995
+ * // },
996
+ * // ],
997
+ * // },
998
+ * // ],
999
+ * // attachments: "<MessageAttachmentList>",
1000
+ * // quote: {
1001
+ * // messageId: "STRING_VALUE", // required
1002
+ * // channelId: "STRING_VALUE", // required
1003
+ * // user: "<User>", // required
1004
+ * // text: "STRING_VALUE",
1005
+ * // attachments: "<MessageAttachmentList>",
1006
+ * // forward: "<MessageForward>",
1007
+ * // mentions: "<UsersList>",
1008
+ * // giphy: "<MessageGiphy>",
1009
+ * // createdAt: "STRING_VALUE", // required
1010
+ * // updatedAt: "STRING_VALUE",
1011
+ * // },
1012
+ * // forward: "<MessageForward>",
1013
+ * // whatsapp: true || false,
1014
+ * // whatsappStatus: "trying" || "sent" || "delivered" || "error",
1015
+ * // sms: true || false,
1016
+ * // smsStatus: "sent" || "delivered" || "trying" || "error",
1017
+ * // type: "regular" || "system" || "deleted", // required
1018
+ * // giphy: "<MessageGiphy>",
1019
+ * // silent: true || false,
1020
+ * // event: "STRING_VALUE",
1021
+ * // messageId: "STRING_VALUE", // required
1022
+ * // channelId: "STRING_VALUE", // required
1023
+ * // user: "<User>", // required
1024
+ * // edit: true || false,
1025
+ * // mentions: "<UsersList>",
1026
+ * // latestReactions: [
1027
+ * // {
1028
+ * // type: "STRING_VALUE",
1029
+ * // userId: "STRING_VALUE",
1030
+ * // messageId: "STRING_VALUE",
1031
+ * // user: "<User>",
1032
+ * // },
1033
+ * // ],
1034
+ * // reactionCounts: {
1035
+ * // "<keys>": Number("int"),
1036
+ * // },
1037
+ * // createdAt: "STRING_VALUE", // required
1038
+ * // updatedAt: "STRING_VALUE",
1039
+ * // },
1040
+ * // ],
848
1041
  * // },
849
1042
  * // 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", // required
850
1043
  * // },
@@ -2014,84 +2207,16 @@ declare const DescribeEventCommand_base: {
2014
2207
  * // integrationId: "STRING_VALUE", // required
2015
2208
  * // data: {
2016
2209
  * // id: "STRING_VALUE",
2017
- * // sessionId: "STRING_VALUE",
2210
+ * // chatId: "STRING_VALUE",
2018
2211
  * // time: Number("long"), // required
2019
2212
  * // company: "STRING_VALUE", // required
2020
2213
  * // event: "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", // required
2021
2214
  * // start: "STRING_VALUE", // required
2022
- * // channel: {
2023
- * // subject: "STRING_VALUE",
2024
- * // description: "STRING_VALUE",
2025
- * // picture: "STRING_VALUE",
2026
- * // pictureColor: "STRING_VALUE",
2027
- * // access: "private" || "public",
2028
- * // company: "STRING_VALUE",
2029
- * // context: {
2030
- * // source: "kite",
2031
- * // target: "STRING_VALUE",
2032
- * // events: [
2033
- * // {
2034
- * // id: "STRING_VALUE",
2035
- * // owner: "STRING_VALUE",
2036
- * // start: "STRING_VALUE",
2037
- * // end: "STRING_VALUE",
2038
- * // summary: "STRING_VALUE",
2039
- * // attendees: [
2040
- * // {
2041
- * // email: "STRING_VALUE", // required
2042
- * // name: "STRING_VALUE",
2043
- * // status: "accepted" || "tentative" || "declined" || "none", // required
2044
- * // },
2045
- * // ],
2046
- * // },
2047
- * // ],
2048
- * // ptt: {
2049
- * // broadcastId: "STRING_VALUE",
2050
- * // },
2051
- * // },
2052
- * // kite: true || false,
2053
- * // kiteTarget: "STRING_VALUE",
2054
- * // kiteVariant: "STRING_VALUE",
2055
- * // kiteAssign: "STRING_VALUE",
2056
- * // kiteServiceName: "STRING_VALUE",
2057
- * // kiteDefaultSubject: "STRING_VALUE",
2058
- * // service: "STRING_VALUE",
2059
- * // serviceTitle: "STRING_VALUE",
2060
- * // serviceRecipient: "STRING_VALUE",
2061
- * // assignee: {
2062
- * // id: "STRING_VALUE", // required
2063
- * // name: "STRING_VALUE",
2064
- * // email: "STRING_VALUE",
2065
- * // phone: "STRING_VALUE",
2066
- * // picture: "STRING_VALUE",
2067
- * // locale: "STRING_VALUE",
2068
- * // timeZone: "STRING_VALUE",
2069
- * // company: "STRING_VALUE",
2070
- * // bot: true || false,
2071
- * // pbxDomain: "STRING_VALUE",
2072
- * // pbxPort: "STRING_VALUE",
2073
- * // pbxExtension: "STRING_VALUE",
2074
- * // pbxSerial: "STRING_VALUE",
2075
- * // pbxUserId: "STRING_VALUE",
2076
- * // createdAt: "STRING_VALUE",
2077
- * // updatedAt: "STRING_VALUE",
2078
- * // },
2079
- * // telephony: true || false,
2080
- * // sms: true || false,
2081
- * // mms: true || false,
2082
- * // whatsapp: true || false,
2083
- * // whatsappStatus: "24h_channel_closed",
2084
- * // broadcast: true || false,
2085
- * // external: true || false,
2086
- * // autoRecord: true || false,
2087
- * // transcriptionLanguage: "STRING_VALUE",
2088
- * // channelId: "STRING_VALUE", // required
2089
- * // channelType: "direct" || "group", // required
2090
- * // memberCount: Number("int"), // required
2091
- * // createdAt: "STRING_VALUE", // required
2092
- * // createdBy: "STRING_VALUE", // required
2093
- * // updatedAt: "STRING_VALUE",
2094
- * // },
2215
+ * // channelId: "STRING_VALUE", // required
2216
+ * // channelType: "direct" || "group", // required
2217
+ * // subject: "STRING_VALUE", // required
2218
+ * // service: "STRING_VALUE",
2219
+ * // serviceTitle: "STRING_VALUE",
2095
2220
  * // participants: [ // required
2096
2221
  * // {
2097
2222
  * // id: "STRING_VALUE", // required
@@ -2108,12 +2233,24 @@ declare const DescribeEventCommand_base: {
2108
2233
  * // pbxExtension: "STRING_VALUE",
2109
2234
  * // pbxSerial: "STRING_VALUE",
2110
2235
  * // pbxUserId: "STRING_VALUE",
2236
+ * // pbxGroupId: "STRING_VALUE",
2111
2237
  * // createdAt: "STRING_VALUE",
2112
2238
  * // updatedAt: "STRING_VALUE",
2113
2239
  * // type: "REMOTE" || "LOCAL", // required
2114
2240
  * // role: "CLIENT" || "AGENT", // required
2115
2241
  * // },
2116
2242
  * // ],
2243
+ * // agents: [ // required
2244
+ * // "<User>",
2245
+ * // ],
2246
+ * // agentsCount: Number("int"), // required
2247
+ * // customers: [ // required
2248
+ * // "<User>",
2249
+ * // ],
2250
+ * // customersCount: Number("int"), // required
2251
+ * // tags: [
2252
+ * // "sms" || "telephony" || "whatsapp",
2253
+ * // ],
2117
2254
  * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
2118
2255
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
2119
2256
  * // },
@@ -2127,7 +2264,7 @@ declare const DescribeEventCommand_base: {
2127
2264
  * // integrationId: "STRING_VALUE", // required
2128
2265
  * // data: {
2129
2266
  * // id: "STRING_VALUE",
2130
- * // sessionId: "STRING_VALUE",
2267
+ * // chatId: "STRING_VALUE",
2131
2268
  * // time: Number("long"), // required
2132
2269
  * // company: "STRING_VALUE", // required
2133
2270
  * // event: "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", // required
@@ -2142,7 +2279,7 @@ declare const DescribeEventCommand_base: {
2142
2279
  * // integrationId: "STRING_VALUE", // required
2143
2280
  * // data: {
2144
2281
  * // id: "STRING_VALUE",
2145
- * // sessionId: "STRING_VALUE",
2282
+ * // chatId: "STRING_VALUE",
2146
2283
  * // time: Number("long"), // required
2147
2284
  * // company: "STRING_VALUE", // required
2148
2285
  * // event: "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", // required
@@ -2157,7 +2294,7 @@ declare const DescribeEventCommand_base: {
2157
2294
  * // integrationId: "STRING_VALUE", // required
2158
2295
  * // data: {
2159
2296
  * // id: "STRING_VALUE",
2160
- * // sessionId: "STRING_VALUE",
2297
+ * // chatId: "STRING_VALUE",
2161
2298
  * // time: Number("long"), // required
2162
2299
  * // company: "STRING_VALUE", // required
2163
2300
  * // event: "STRING_VALUE", // required
@@ -2172,15 +2309,21 @@ declare const DescribeEventCommand_base: {
2172
2309
  * // integrationId: "STRING_VALUE", // required
2173
2310
  * // data: {
2174
2311
  * // id: "STRING_VALUE",
2175
- * // sessionId: "STRING_VALUE",
2312
+ * // chatId: "STRING_VALUE",
2176
2313
  * // time: Number("long"), // required
2177
2314
  * // company: "STRING_VALUE", // required
2178
2315
  * // pbx: "STRING_VALUE",
2179
- * // startTime: Number("long"), // required
2180
- * // endTime: Number("long"), // required
2316
+ * // startTime: Number("long"),
2317
+ * // endTime: Number("long"),
2181
2318
  * // waitTime: Number("int"),
2182
- * // duration: Number("long"), // required
2183
- * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
2319
+ * // duration: Number("long"),
2320
+ * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
2321
+ * // subject: "STRING_VALUE",
2322
+ * // service: "STRING_VALUE",
2323
+ * // serviceTitle: "STRING_VALUE",
2324
+ * // tags: [
2325
+ * // "sms" || "telephony" || "whatsapp",
2326
+ * // ],
2184
2327
  * // channel: {
2185
2328
  * // subject: "STRING_VALUE",
2186
2329
  * // description: "STRING_VALUE",
@@ -2220,24 +2363,7 @@ declare const DescribeEventCommand_base: {
2220
2363
  * // service: "STRING_VALUE",
2221
2364
  * // serviceTitle: "STRING_VALUE",
2222
2365
  * // serviceRecipient: "STRING_VALUE",
2223
- * // assignee: {
2224
- * // id: "STRING_VALUE", // required
2225
- * // name: "STRING_VALUE",
2226
- * // email: "STRING_VALUE",
2227
- * // phone: "STRING_VALUE",
2228
- * // picture: "STRING_VALUE",
2229
- * // locale: "STRING_VALUE",
2230
- * // timeZone: "STRING_VALUE",
2231
- * // company: "STRING_VALUE",
2232
- * // bot: true || false,
2233
- * // pbxDomain: "STRING_VALUE",
2234
- * // pbxPort: "STRING_VALUE",
2235
- * // pbxExtension: "STRING_VALUE",
2236
- * // pbxSerial: "STRING_VALUE",
2237
- * // pbxUserId: "STRING_VALUE",
2238
- * // createdAt: "STRING_VALUE",
2239
- * // updatedAt: "STRING_VALUE",
2240
- * // },
2366
+ * // assignee: "<User>",
2241
2367
  * // telephony: true || false,
2242
2368
  * // sms: true || false,
2243
2369
  * // mms: true || false,
@@ -2255,13 +2381,13 @@ declare const DescribeEventCommand_base: {
2255
2381
  * // updatedAt: "STRING_VALUE",
2256
2382
  * // },
2257
2383
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
2258
- * // participants: [ // required
2384
+ * // participants: [
2259
2385
  * // {
2260
2386
  * // id: "STRING_VALUE", // required
2261
2387
  * // info: "<ChatParticipantInfo>", // required
2262
2388
  * // },
2263
2389
  * // ],
2264
- * // 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", // required
2390
+ * // type: "STRING_VALUE", // required
2265
2391
  * // },
2266
2392
  * // },
2267
2393
  * // WebhookOutdatedCallStartEvent: { // WebhookOutdatedCallStartEvent
@@ -261,51 +261,41 @@ declare const QueryConversationsCommand_base: {
261
261
  * // chats: [ // QueryConversationsChatsList // required
262
262
  * // { // ChatAnalyticsLiveProgressEvent
263
263
  * // id: "STRING_VALUE",
264
- * // sessionId: "STRING_VALUE",
264
+ * // chatId: "STRING_VALUE",
265
265
  * // time: Number("long"), // required
266
266
  * // company: "STRING_VALUE", // required
267
267
  * // event: "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", // required
268
268
  * // start: "STRING_VALUE", // required
269
- * // channel: { // Channel
270
- * // subject: "STRING_VALUE",
271
- * // description: "STRING_VALUE",
272
- * // picture: "STRING_VALUE",
273
- * // pictureColor: "STRING_VALUE",
274
- * // access: "private" || "public",
275
- * // company: "STRING_VALUE",
276
- * // context: { // ChannelContext
277
- * // source: "kite",
278
- * // target: "STRING_VALUE",
279
- * // events: [ // ChannelContextEventList
280
- * // { // ChannelContextEvent
281
- * // id: "STRING_VALUE",
282
- * // owner: "STRING_VALUE",
283
- * // start: "STRING_VALUE",
284
- * // end: "STRING_VALUE",
285
- * // summary: "STRING_VALUE",
286
- * // attendees: [ // ChannelContextEventAttendeeList
287
- * // { // ChannelContextEventAttendee
288
- * // email: "STRING_VALUE", // required
289
- * // name: "STRING_VALUE",
290
- * // status: "accepted" || "tentative" || "declined" || "none", // required
291
- * // },
292
- * // ],
293
- * // },
294
- * // ],
295
- * // ptt: { // ChannelContextPushToTalk
296
- * // broadcastId: "STRING_VALUE",
297
- * // },
269
+ * // channelId: "STRING_VALUE", // required
270
+ * // channelType: "direct" || "group", // required
271
+ * // subject: "STRING_VALUE", // required
272
+ * // service: "STRING_VALUE",
273
+ * // serviceTitle: "STRING_VALUE",
274
+ * // participants: [ // ChatLiveParticipantsList // required
275
+ * // { // ChatParticipantInfo
276
+ * // id: "STRING_VALUE", // required
277
+ * // name: "STRING_VALUE",
278
+ * // email: "STRING_VALUE",
279
+ * // phone: "STRING_VALUE",
280
+ * // picture: "STRING_VALUE",
281
+ * // locale: "STRING_VALUE",
282
+ * // timeZone: "STRING_VALUE",
283
+ * // company: "STRING_VALUE",
284
+ * // bot: true || false,
285
+ * // pbxDomain: "STRING_VALUE",
286
+ * // pbxPort: "STRING_VALUE",
287
+ * // pbxExtension: "STRING_VALUE",
288
+ * // pbxSerial: "STRING_VALUE",
289
+ * // pbxUserId: "STRING_VALUE",
290
+ * // pbxGroupId: "STRING_VALUE",
291
+ * // createdAt: "STRING_VALUE",
292
+ * // updatedAt: "STRING_VALUE",
293
+ * // type: "REMOTE" || "LOCAL", // required
294
+ * // role: "CLIENT" || "AGENT", // required
298
295
  * // },
299
- * // kite: true || false,
300
- * // kiteTarget: "STRING_VALUE",
301
- * // kiteVariant: "STRING_VALUE",
302
- * // kiteAssign: "STRING_VALUE",
303
- * // kiteServiceName: "STRING_VALUE",
304
- * // kiteDefaultSubject: "STRING_VALUE",
305
- * // service: "STRING_VALUE",
306
- * // serviceTitle: "STRING_VALUE",
307
- * // serviceRecipient: "STRING_VALUE",
308
- * // assignee: { // User
296
+ * // ],
297
+ * // agents: [ // ChatUserList // required
298
+ * // { // User
309
299
  * // id: "STRING_VALUE", // required
310
300
  * // name: "STRING_VALUE",
311
301
  * // email: "STRING_VALUE",
@@ -320,27 +310,14 @@ declare const QueryConversationsCommand_base: {
320
310
  * // pbxExtension: "STRING_VALUE",
321
311
  * // pbxSerial: "STRING_VALUE",
322
312
  * // pbxUserId: "STRING_VALUE",
313
+ * // pbxGroupId: "STRING_VALUE",
323
314
  * // createdAt: "STRING_VALUE",
324
315
  * // updatedAt: "STRING_VALUE",
325
316
  * // },
326
- * // telephony: true || false,
327
- * // sms: true || false,
328
- * // mms: true || false,
329
- * // whatsapp: true || false,
330
- * // whatsappStatus: "24h_channel_closed",
331
- * // broadcast: true || false,
332
- * // external: true || false,
333
- * // autoRecord: true || false,
334
- * // transcriptionLanguage: "STRING_VALUE",
335
- * // channelId: "STRING_VALUE", // required
336
- * // channelType: "direct" || "group", // required
337
- * // memberCount: Number("int"), // required
338
- * // createdAt: "STRING_VALUE", // required
339
- * // createdBy: "STRING_VALUE", // required
340
- * // updatedAt: "STRING_VALUE",
341
- * // },
342
- * // participants: [ // ChatLiveParticipantsList // required
343
- * // { // ChatParticipantInfo
317
+ * // ],
318
+ * // agentsCount: Number("int"), // required
319
+ * // customers: [ // required
320
+ * // {
344
321
  * // id: "STRING_VALUE", // required
345
322
  * // name: "STRING_VALUE",
346
323
  * // email: "STRING_VALUE",
@@ -355,12 +332,15 @@ declare const QueryConversationsCommand_base: {
355
332
  * // pbxExtension: "STRING_VALUE",
356
333
  * // pbxSerial: "STRING_VALUE",
357
334
  * // pbxUserId: "STRING_VALUE",
335
+ * // pbxGroupId: "STRING_VALUE",
358
336
  * // createdAt: "STRING_VALUE",
359
337
  * // updatedAt: "STRING_VALUE",
360
- * // type: "REMOTE" || "LOCAL", // required
361
- * // role: "CLIENT" || "AGENT", // required
362
338
  * // },
363
339
  * // ],
340
+ * // customersCount: Number("int"), // required
341
+ * // tags: [ // ChatTags
342
+ * // "sms" || "telephony" || "whatsapp",
343
+ * // ],
364
344
  * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
365
345
  * // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
366
346
  * // },
@@ -537,6 +537,7 @@ export interface User {
537
537
  pbxExtension?: string | undefined;
538
538
  pbxSerial?: string | undefined;
539
539
  pbxUserId?: string | undefined;
540
+ pbxGroupId?: string | undefined;
540
541
  createdAt?: string | undefined;
541
542
  updatedAt?: string | undefined;
542
543
  }
@@ -726,6 +727,7 @@ export interface ChatParticipantInfo {
726
727
  pbxExtension?: string | undefined;
727
728
  pbxSerial?: string | undefined;
728
729
  pbxUserId?: string | undefined;
730
+ pbxGroupId?: string | undefined;
729
731
  createdAt?: string | undefined;
730
732
  updatedAt?: string | undefined;
731
733
  type: ChatParticipantType;
@@ -753,6 +755,19 @@ export declare const ChatStatus: {
753
755
  * @public
754
756
  */
755
757
  export type ChatStatus = typeof ChatStatus[keyof typeof ChatStatus];
758
+ /**
759
+ * @public
760
+ * @enum
761
+ */
762
+ export declare const ChatTag: {
763
+ readonly SMS: "sms";
764
+ readonly TELEPHONY: "telephony";
765
+ readonly WHATSAPP: "whatsapp";
766
+ };
767
+ /**
768
+ * @public
769
+ */
770
+ export type ChatTag = typeof ChatTag[keyof typeof ChatTag];
756
771
  /**
757
772
  * @public
758
773
  */
@@ -1998,7 +2013,7 @@ export interface ChatAnalyticsLiveCompleteEvent {
1998
2013
  * A unique identifier that distinguishes each chat session within a channel.
1999
2014
  * @public
2000
2015
  */
2001
- sessionId?: string | undefined;
2016
+ chatId?: string | undefined;
2002
2017
  time: number;
2003
2018
  company: string;
2004
2019
  event: LiveEventType;
@@ -2016,7 +2031,7 @@ export interface ChatAnalyticsLiveInterruptedEvent {
2016
2031
  * A unique identifier that distinguishes each chat session within a channel.
2017
2032
  * @public
2018
2033
  */
2019
- sessionId?: string | undefined;
2034
+ chatId?: string | undefined;
2020
2035
  time: number;
2021
2036
  company: string;
2022
2037
  event: LiveEventType;
@@ -2034,13 +2049,22 @@ export interface ChatAnalyticsLiveProgressEvent {
2034
2049
  * A unique identifier that distinguishes each chat session within a channel.
2035
2050
  * @public
2036
2051
  */
2037
- sessionId?: string | undefined;
2052
+ chatId?: string | undefined;
2038
2053
  time: number;
2039
2054
  company: string;
2040
2055
  event: LiveEventType;
2041
2056
  start: string;
2042
- channel: Channel;
2057
+ channelId: string;
2058
+ channelType: ChannelType;
2059
+ subject: string;
2060
+ service?: string | undefined;
2061
+ serviceTitle?: string | undefined;
2043
2062
  participants: (ChatParticipantInfo)[];
2063
+ agents: (User)[];
2064
+ agentsCount: number;
2065
+ customers: (User)[];
2066
+ customersCount: number;
2067
+ tags?: (ChatTag)[] | undefined;
2044
2068
  direction: ChatDirection;
2045
2069
  status: ChatStatus;
2046
2070
  }
@@ -2057,12 +2081,11 @@ export interface ChatAnalyticsLiveTranscriptionEvent {
2057
2081
  * A unique identifier that distinguishes each chat session within a channel.
2058
2082
  * @public
2059
2083
  */
2060
- sessionId?: string | undefined;
2084
+ chatId?: string | undefined;
2061
2085
  time: number;
2062
2086
  company: string;
2063
2087
  event: LiveEventType;
2064
- chatStartTime: number;
2065
- message: string;
2088
+ message: Message;
2066
2089
  }
2067
2090
  /**
2068
2091
  * @public
@@ -2077,7 +2100,7 @@ export interface ChatAnalyticsManagerMissedEvent {
2077
2100
  * A unique identifier that distinguishes each chat session within a channel.
2078
2101
  * @public
2079
2102
  */
2080
- sessionId?: string | undefined;
2103
+ chatId?: string | undefined;
2081
2104
  time: number;
2082
2105
  company: string;
2083
2106
  event: string;
@@ -2095,19 +2118,23 @@ export interface ChatAnalyticsRecordEvent {
2095
2118
  * A unique identifier that distinguishes each chat session within a channel.
2096
2119
  * @public
2097
2120
  */
2098
- sessionId?: string | undefined;
2121
+ chatId?: string | undefined;
2099
2122
  time: number;
2100
2123
  company: string;
2101
2124
  pbx?: string | undefined;
2102
- startTime: number;
2103
- endTime: number;
2125
+ startTime?: number | undefined;
2126
+ endTime?: number | undefined;
2104
2127
  waitTime?: number | undefined;
2105
- duration: number;
2106
- direction: ChatDirection;
2107
- channel: Channel;
2128
+ duration?: number | undefined;
2129
+ direction?: ChatDirection | undefined;
2130
+ subject?: string | undefined;
2131
+ service?: string | undefined;
2132
+ serviceTitle?: string | undefined;
2133
+ tags?: (ChatTag)[] | undefined;
2134
+ channel?: Channel | undefined;
2108
2135
  status?: ChatStatus | undefined;
2109
- participants: (ChatParticipant)[];
2110
- type: LiveEventType;
2136
+ participants?: (ChatParticipant)[] | undefined;
2137
+ type: string;
2111
2138
  }
2112
2139
  /**
2113
2140
  * @public
@@ -2115,7 +2142,7 @@ export interface ChatAnalyticsRecordEvent {
2115
2142
  export interface ChatTranscription {
2116
2143
  start: number;
2117
2144
  end: number;
2118
- messages: Record<string, string>;
2145
+ messages: (Message)[];
2119
2146
  }
2120
2147
  /**
2121
2148
  * @public
@@ -2130,7 +2157,7 @@ export interface ChatAnalyticsTranscriptionRecordEvent {
2130
2157
  * A unique identifier that distinguishes each chat session within a channel.
2131
2158
  * @public
2132
2159
  */
2133
- sessionId?: string | undefined;
2160
+ chatId?: string | undefined;
2134
2161
  time: number;
2135
2162
  company: string;
2136
2163
  transcription: ChatTranscription;
@@ -2220,19 +2247,6 @@ export interface ChatMessageConsumeEvent {
2220
2247
  time: number;
2221
2248
  data: ChatMessageConsumeEventData;
2222
2249
  }
2223
- /**
2224
- * @public
2225
- * @enum
2226
- */
2227
- export declare const ChatTag: {
2228
- readonly SMS: "sms";
2229
- readonly TELEPHONY: "telephony";
2230
- readonly WHATSAPP: "whatsapp";
2231
- };
2232
- /**
2233
- * @public
2234
- */
2235
- export type ChatTag = typeof ChatTag[keyof typeof ChatTag];
2236
2250
  /**
2237
2251
  * @public
2238
2252
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-stream-client",
3
3
  "description": "@wildix/wda-stream-client client",
4
- "version": "1.1.6",
4
+ "version": "1.1.12",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",