@wildix/wda-stream-client 1.1.6 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +7 -7
- package/dist-cjs/protocols/Aws_restJson1.js +11 -1
- package/dist-es/models/models_0.js +5 -5
- package/dist-es/protocols/Aws_restJson1.js +11 -1
- package/dist-types/commands/DescribeEventCommand.d.ts +324 -204
- package/dist-types/commands/QueryConversationsCommand.d.ts +37 -60
- package/dist-types/models/models_0.d.ts +43 -31
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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.
|
|
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':
|
|
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':
|
|
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,
|
|
@@ -589,65 +589,54 @@ declare const DescribeEventCommand_base: {
|
|
|
589
589
|
* // },
|
|
590
590
|
* // ChatAnalyticsLiveCompleteEvent: { // ChatAnalyticsLiveCompleteEvent
|
|
591
591
|
* // id: "STRING_VALUE",
|
|
592
|
-
* //
|
|
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
|
-
* //
|
|
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
|
-
* //
|
|
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
|
-
* //
|
|
612
|
-
* //
|
|
613
|
-
* //
|
|
614
|
-
* //
|
|
615
|
-
* //
|
|
616
|
-
* //
|
|
617
|
-
* //
|
|
618
|
-
* //
|
|
619
|
-
* //
|
|
620
|
-
* //
|
|
621
|
-
* //
|
|
622
|
-
* //
|
|
623
|
-
* //
|
|
624
|
-
* //
|
|
625
|
-
* //
|
|
626
|
-
* //
|
|
627
|
-
* //
|
|
628
|
-
* //
|
|
629
|
-
* //
|
|
630
|
-
* //
|
|
631
|
-
* //
|
|
632
|
-
* //
|
|
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
|
+
* // createdAt: "STRING_VALUE",
|
|
633
|
+
* // updatedAt: "STRING_VALUE",
|
|
634
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
635
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
640
636
|
* // },
|
|
641
|
-
* //
|
|
642
|
-
* //
|
|
643
|
-
* //
|
|
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
|
|
637
|
+
* // ],
|
|
638
|
+
* // agents: [ // ChatUserList // required
|
|
639
|
+
* // { // User
|
|
651
640
|
* // id: "STRING_VALUE", // required
|
|
652
641
|
* // name: "STRING_VALUE",
|
|
653
642
|
* // email: "STRING_VALUE",
|
|
@@ -665,24 +654,10 @@ declare const DescribeEventCommand_base: {
|
|
|
665
654
|
* // createdAt: "STRING_VALUE",
|
|
666
655
|
* // updatedAt: "STRING_VALUE",
|
|
667
656
|
* // },
|
|
668
|
-
* //
|
|
669
|
-
* //
|
|
670
|
-
* //
|
|
671
|
-
* //
|
|
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
|
|
657
|
+
* // ],
|
|
658
|
+
* // agentsCount: Number("int"), // required
|
|
659
|
+
* // customers: [ // required
|
|
660
|
+
* // {
|
|
686
661
|
* // id: "STRING_VALUE", // required
|
|
687
662
|
* // name: "STRING_VALUE",
|
|
688
663
|
* // email: "STRING_VALUE",
|
|
@@ -699,59 +674,212 @@ declare const DescribeEventCommand_base: {
|
|
|
699
674
|
* // pbxUserId: "STRING_VALUE",
|
|
700
675
|
* // createdAt: "STRING_VALUE",
|
|
701
676
|
* // updatedAt: "STRING_VALUE",
|
|
702
|
-
* // type: "REMOTE" || "LOCAL", // required
|
|
703
|
-
* // role: "CLIENT" || "AGENT", // required
|
|
704
677
|
* // },
|
|
705
678
|
* // ],
|
|
679
|
+
* // customersCount: Number("int"), // required
|
|
680
|
+
* // tags: [ // ChatTags
|
|
681
|
+
* // "sms" || "telephony" || "whatsapp",
|
|
682
|
+
* // ],
|
|
706
683
|
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
707
684
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
|
|
708
685
|
* // },
|
|
709
686
|
* // ChatAnalyticsLiveTranscriptionEvent: { // ChatAnalyticsLiveTranscriptionEvent
|
|
710
687
|
* // id: "STRING_VALUE",
|
|
711
|
-
* //
|
|
688
|
+
* // chatId: "STRING_VALUE",
|
|
712
689
|
* // time: Number("long"), // required
|
|
713
690
|
* // company: "STRING_VALUE", // required
|
|
714
691
|
* // 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
|
-
* //
|
|
716
|
-
* //
|
|
692
|
+
* // message: { // Message
|
|
693
|
+
* // text: "STRING_VALUE",
|
|
694
|
+
* // elements: [ // ElementsList
|
|
695
|
+
* // { // Element Union: only one key present
|
|
696
|
+
* // template: { // MessageTemplateConfig
|
|
697
|
+
* // whatsapp: { // TemplateWithParameters
|
|
698
|
+
* // name: "STRING_VALUE", // required
|
|
699
|
+
* // parameters: [ // ListTemplateParameter // required
|
|
700
|
+
* // { // TemplateParameter
|
|
701
|
+
* // name: "STRING_VALUE", // required
|
|
702
|
+
* // value: "STRING_VALUE", // required
|
|
703
|
+
* // },
|
|
704
|
+
* // ],
|
|
705
|
+
* // },
|
|
706
|
+
* // },
|
|
707
|
+
* // actions: [ // ActionsElementsList
|
|
708
|
+
* // { // ActionElement Union: only one key present
|
|
709
|
+
* // button: { // ButtonElement
|
|
710
|
+
* // text: "STRING_VALUE", // required
|
|
711
|
+
* // handler: { // ButtonHandler Union: only one key present
|
|
712
|
+
* // link: { // ButtonLinkHandler
|
|
713
|
+
* // url: "STRING_VALUE", // required
|
|
714
|
+
* // },
|
|
715
|
+
* // reply: { // ButtonReplyHandler
|
|
716
|
+
* // text: "STRING_VALUE",
|
|
717
|
+
* // },
|
|
718
|
+
* // action: { // ButtonActionHandler
|
|
719
|
+
* // id: "STRING_VALUE", // required
|
|
720
|
+
* // },
|
|
721
|
+
* // },
|
|
722
|
+
* // variant: "contained" || "outlined",
|
|
723
|
+
* // disabled: true || false,
|
|
724
|
+
* // },
|
|
725
|
+
* // },
|
|
726
|
+
* // ],
|
|
727
|
+
* // },
|
|
728
|
+
* // ],
|
|
729
|
+
* // attachments: [ // MessageAttachmentList
|
|
730
|
+
* // { // MessageAttachment
|
|
731
|
+
* // id: "STRING_VALUE", // required
|
|
732
|
+
* // fsId: "STRING_VALUE", // required
|
|
733
|
+
* // mime: "STRING_VALUE",
|
|
734
|
+
* // name: "STRING_VALUE", // required
|
|
735
|
+
* // size: Number("int"), // required
|
|
736
|
+
* // width: Number("int"),
|
|
737
|
+
* // height: Number("int"),
|
|
738
|
+
* // thumbnail: "STRING_VALUE",
|
|
739
|
+
* // },
|
|
740
|
+
* // ],
|
|
741
|
+
* // quote: { // MessageQuote
|
|
742
|
+
* // messageId: "STRING_VALUE", // required
|
|
743
|
+
* // channelId: "STRING_VALUE", // required
|
|
744
|
+
* // user: {
|
|
745
|
+
* // id: "STRING_VALUE", // required
|
|
746
|
+
* // name: "STRING_VALUE",
|
|
747
|
+
* // email: "STRING_VALUE",
|
|
748
|
+
* // phone: "STRING_VALUE",
|
|
749
|
+
* // picture: "STRING_VALUE",
|
|
750
|
+
* // locale: "STRING_VALUE",
|
|
751
|
+
* // timeZone: "STRING_VALUE",
|
|
752
|
+
* // company: "STRING_VALUE",
|
|
753
|
+
* // bot: true || false,
|
|
754
|
+
* // pbxDomain: "STRING_VALUE",
|
|
755
|
+
* // pbxPort: "STRING_VALUE",
|
|
756
|
+
* // pbxExtension: "STRING_VALUE",
|
|
757
|
+
* // pbxSerial: "STRING_VALUE",
|
|
758
|
+
* // pbxUserId: "STRING_VALUE",
|
|
759
|
+
* // createdAt: "STRING_VALUE",
|
|
760
|
+
* // updatedAt: "STRING_VALUE",
|
|
761
|
+
* // },
|
|
762
|
+
* // text: "STRING_VALUE",
|
|
763
|
+
* // attachments: [
|
|
764
|
+
* // {
|
|
765
|
+
* // id: "STRING_VALUE", // required
|
|
766
|
+
* // fsId: "STRING_VALUE", // required
|
|
767
|
+
* // mime: "STRING_VALUE",
|
|
768
|
+
* // name: "STRING_VALUE", // required
|
|
769
|
+
* // size: Number("int"), // required
|
|
770
|
+
* // width: Number("int"),
|
|
771
|
+
* // height: Number("int"),
|
|
772
|
+
* // thumbnail: "STRING_VALUE",
|
|
773
|
+
* // },
|
|
774
|
+
* // ],
|
|
775
|
+
* // forward: { // MessageForward
|
|
776
|
+
* // forwardCompany: "STRING_VALUE",
|
|
777
|
+
* // forwardDate: "STRING_VALUE", // required
|
|
778
|
+
* // forwardEmail: "STRING_VALUE",
|
|
779
|
+
* // forwardName: "STRING_VALUE",
|
|
780
|
+
* // messageId: "STRING_VALUE", // required
|
|
781
|
+
* // channelId: "STRING_VALUE", // required
|
|
782
|
+
* // },
|
|
783
|
+
* // mentions: [ // UsersList
|
|
784
|
+
* // "<User>",
|
|
785
|
+
* // ],
|
|
786
|
+
* // giphy: { // MessageGiphy
|
|
787
|
+
* // id: "STRING_VALUE", // required
|
|
788
|
+
* // size: "STRING_VALUE", // required
|
|
789
|
+
* // url: "STRING_VALUE", // required
|
|
790
|
+
* // height: "STRING_VALUE", // required
|
|
791
|
+
* // width: "STRING_VALUE", // required
|
|
792
|
+
* // },
|
|
793
|
+
* // createdAt: "STRING_VALUE", // required
|
|
794
|
+
* // updatedAt: "STRING_VALUE",
|
|
795
|
+
* // },
|
|
796
|
+
* // forward: {
|
|
797
|
+
* // forwardCompany: "STRING_VALUE",
|
|
798
|
+
* // forwardDate: "STRING_VALUE", // required
|
|
799
|
+
* // forwardEmail: "STRING_VALUE",
|
|
800
|
+
* // forwardName: "STRING_VALUE",
|
|
801
|
+
* // messageId: "STRING_VALUE", // required
|
|
802
|
+
* // channelId: "STRING_VALUE", // required
|
|
803
|
+
* // },
|
|
804
|
+
* // whatsapp: true || false,
|
|
805
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
806
|
+
* // sms: true || false,
|
|
807
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
808
|
+
* // type: "regular" || "system" || "deleted", // required
|
|
809
|
+
* // giphy: {
|
|
810
|
+
* // id: "STRING_VALUE", // required
|
|
811
|
+
* // size: "STRING_VALUE", // required
|
|
812
|
+
* // url: "STRING_VALUE", // required
|
|
813
|
+
* // height: "STRING_VALUE", // required
|
|
814
|
+
* // width: "STRING_VALUE", // required
|
|
815
|
+
* // },
|
|
816
|
+
* // silent: true || false,
|
|
817
|
+
* // event: "STRING_VALUE",
|
|
818
|
+
* // messageId: "STRING_VALUE", // required
|
|
819
|
+
* // channelId: "STRING_VALUE", // required
|
|
820
|
+
* // user: "<User>", // required
|
|
821
|
+
* // edit: true || false,
|
|
822
|
+
* // mentions: [
|
|
823
|
+
* // "<User>",
|
|
824
|
+
* // ],
|
|
825
|
+
* // latestReactions: [ // ReactionList
|
|
826
|
+
* // { // Reaction
|
|
827
|
+
* // type: "STRING_VALUE",
|
|
828
|
+
* // userId: "STRING_VALUE",
|
|
829
|
+
* // messageId: "STRING_VALUE",
|
|
830
|
+
* // user: "<User>",
|
|
831
|
+
* // },
|
|
832
|
+
* // ],
|
|
833
|
+
* // reactionCounts: { // ReactionCounts
|
|
834
|
+
* // "<keys>": Number("int"),
|
|
835
|
+
* // },
|
|
836
|
+
* // createdAt: "STRING_VALUE", // required
|
|
837
|
+
* // updatedAt: "STRING_VALUE",
|
|
838
|
+
* // },
|
|
717
839
|
* // },
|
|
718
840
|
* // ChatAnalyticsManagerMissedEvent: { // ChatAnalyticsManagerMissedEvent
|
|
719
841
|
* // id: "STRING_VALUE",
|
|
720
|
-
* //
|
|
842
|
+
* // chatId: "STRING_VALUE",
|
|
721
843
|
* // time: Number("long"), // required
|
|
722
844
|
* // company: "STRING_VALUE", // required
|
|
723
845
|
* // event: "STRING_VALUE", // required
|
|
724
846
|
* // },
|
|
725
847
|
* // ChatAnalyticsRecordEvent: { // ChatAnalyticsRecordEvent
|
|
726
848
|
* // id: "STRING_VALUE",
|
|
727
|
-
* //
|
|
849
|
+
* // chatId: "STRING_VALUE",
|
|
728
850
|
* // time: Number("long"), // required
|
|
729
851
|
* // company: "STRING_VALUE", // required
|
|
730
852
|
* // pbx: "STRING_VALUE",
|
|
731
|
-
* // startTime: Number("long"),
|
|
732
|
-
* // endTime: Number("long"),
|
|
853
|
+
* // startTime: Number("long"),
|
|
854
|
+
* // endTime: Number("long"),
|
|
733
855
|
* // waitTime: Number("int"),
|
|
734
|
-
* // duration: Number("long"),
|
|
735
|
-
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
736
|
-
* //
|
|
856
|
+
* // duration: Number("long"),
|
|
857
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
858
|
+
* // subject: "STRING_VALUE",
|
|
859
|
+
* // service: "STRING_VALUE",
|
|
860
|
+
* // serviceTitle: "STRING_VALUE",
|
|
861
|
+
* // tags: [
|
|
862
|
+
* // "sms" || "telephony" || "whatsapp",
|
|
863
|
+
* // ],
|
|
864
|
+
* // channel: { // Channel
|
|
737
865
|
* // subject: "STRING_VALUE",
|
|
738
866
|
* // description: "STRING_VALUE",
|
|
739
867
|
* // picture: "STRING_VALUE",
|
|
740
868
|
* // pictureColor: "STRING_VALUE",
|
|
741
869
|
* // access: "private" || "public",
|
|
742
870
|
* // company: "STRING_VALUE",
|
|
743
|
-
* // context: {
|
|
871
|
+
* // context: { // ChannelContext
|
|
744
872
|
* // source: "kite",
|
|
745
873
|
* // target: "STRING_VALUE",
|
|
746
|
-
* // events: [
|
|
747
|
-
* // {
|
|
874
|
+
* // events: [ // ChannelContextEventList
|
|
875
|
+
* // { // ChannelContextEvent
|
|
748
876
|
* // id: "STRING_VALUE",
|
|
749
877
|
* // owner: "STRING_VALUE",
|
|
750
878
|
* // start: "STRING_VALUE",
|
|
751
879
|
* // end: "STRING_VALUE",
|
|
752
880
|
* // summary: "STRING_VALUE",
|
|
753
|
-
* // attendees: [
|
|
754
|
-
* // {
|
|
881
|
+
* // attendees: [ // ChannelContextEventAttendeeList
|
|
882
|
+
* // { // ChannelContextEventAttendee
|
|
755
883
|
* // email: "STRING_VALUE", // required
|
|
756
884
|
* // name: "STRING_VALUE",
|
|
757
885
|
* // status: "accepted" || "tentative" || "declined" || "none", // required
|
|
@@ -759,7 +887,7 @@ declare const DescribeEventCommand_base: {
|
|
|
759
887
|
* // ],
|
|
760
888
|
* // },
|
|
761
889
|
* // ],
|
|
762
|
-
* // ptt: {
|
|
890
|
+
* // ptt: { // ChannelContextPushToTalk
|
|
763
891
|
* // broadcastId: "STRING_VALUE",
|
|
764
892
|
* // },
|
|
765
893
|
* // },
|
|
@@ -772,24 +900,7 @@ declare const DescribeEventCommand_base: {
|
|
|
772
900
|
* // service: "STRING_VALUE",
|
|
773
901
|
* // serviceTitle: "STRING_VALUE",
|
|
774
902
|
* // 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
|
-
* // },
|
|
903
|
+
* // assignee: "<User>",
|
|
793
904
|
* // telephony: true || false,
|
|
794
905
|
* // sms: true || false,
|
|
795
906
|
* // mms: true || false,
|
|
@@ -807,7 +918,7 @@ declare const DescribeEventCommand_base: {
|
|
|
807
918
|
* // updatedAt: "STRING_VALUE",
|
|
808
919
|
* // },
|
|
809
920
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
|
|
810
|
-
* // participants: [ // ChatParticipantsList
|
|
921
|
+
* // participants: [ // ChatParticipantsList
|
|
811
922
|
* // { // ChatParticipant
|
|
812
923
|
* // id: "STRING_VALUE", // required
|
|
813
924
|
* // info: {
|
|
@@ -832,19 +943,96 @@ declare const DescribeEventCommand_base: {
|
|
|
832
943
|
* // },
|
|
833
944
|
* // },
|
|
834
945
|
* // ],
|
|
835
|
-
* // type: "
|
|
946
|
+
* // type: "STRING_VALUE", // required
|
|
836
947
|
* // },
|
|
837
948
|
* // ChatAnalyticsTranscriptionRecordEvent: { // ChatAnalyticsTranscriptionRecordEvent
|
|
838
949
|
* // id: "STRING_VALUE",
|
|
839
|
-
* //
|
|
950
|
+
* // chatId: "STRING_VALUE",
|
|
840
951
|
* // time: Number("long"), // required
|
|
841
952
|
* // company: "STRING_VALUE", // required
|
|
842
953
|
* // transcription: { // ChatTranscription
|
|
843
954
|
* // start: Number("long"), // required
|
|
844
955
|
* // end: Number("long"), // required
|
|
845
|
-
* // messages:
|
|
846
|
-
* //
|
|
847
|
-
* //
|
|
956
|
+
* // messages: [ // ChatTranscriptionMessagesList // required
|
|
957
|
+
* // {
|
|
958
|
+
* // text: "STRING_VALUE",
|
|
959
|
+
* // elements: [
|
|
960
|
+
* // {// Union: only one key present
|
|
961
|
+
* // template: {
|
|
962
|
+
* // whatsapp: {
|
|
963
|
+
* // name: "STRING_VALUE", // required
|
|
964
|
+
* // parameters: [ // required
|
|
965
|
+
* // {
|
|
966
|
+
* // name: "STRING_VALUE", // required
|
|
967
|
+
* // value: "STRING_VALUE", // required
|
|
968
|
+
* // },
|
|
969
|
+
* // ],
|
|
970
|
+
* // },
|
|
971
|
+
* // },
|
|
972
|
+
* // actions: [
|
|
973
|
+
* // {// Union: only one key present
|
|
974
|
+
* // button: {
|
|
975
|
+
* // text: "STRING_VALUE", // required
|
|
976
|
+
* // handler: {// Union: only one key present
|
|
977
|
+
* // link: {
|
|
978
|
+
* // url: "STRING_VALUE", // required
|
|
979
|
+
* // },
|
|
980
|
+
* // reply: {
|
|
981
|
+
* // text: "STRING_VALUE",
|
|
982
|
+
* // },
|
|
983
|
+
* // action: {
|
|
984
|
+
* // id: "STRING_VALUE", // required
|
|
985
|
+
* // },
|
|
986
|
+
* // },
|
|
987
|
+
* // variant: "contained" || "outlined",
|
|
988
|
+
* // disabled: true || false,
|
|
989
|
+
* // },
|
|
990
|
+
* // },
|
|
991
|
+
* // ],
|
|
992
|
+
* // },
|
|
993
|
+
* // ],
|
|
994
|
+
* // attachments: "<MessageAttachmentList>",
|
|
995
|
+
* // quote: {
|
|
996
|
+
* // messageId: "STRING_VALUE", // required
|
|
997
|
+
* // channelId: "STRING_VALUE", // required
|
|
998
|
+
* // user: "<User>", // required
|
|
999
|
+
* // text: "STRING_VALUE",
|
|
1000
|
+
* // attachments: "<MessageAttachmentList>",
|
|
1001
|
+
* // forward: "<MessageForward>",
|
|
1002
|
+
* // mentions: "<UsersList>",
|
|
1003
|
+
* // giphy: "<MessageGiphy>",
|
|
1004
|
+
* // createdAt: "STRING_VALUE", // required
|
|
1005
|
+
* // updatedAt: "STRING_VALUE",
|
|
1006
|
+
* // },
|
|
1007
|
+
* // forward: "<MessageForward>",
|
|
1008
|
+
* // whatsapp: true || false,
|
|
1009
|
+
* // whatsappStatus: "trying" || "sent" || "delivered" || "error",
|
|
1010
|
+
* // sms: true || false,
|
|
1011
|
+
* // smsStatus: "sent" || "delivered" || "trying" || "error",
|
|
1012
|
+
* // type: "regular" || "system" || "deleted", // required
|
|
1013
|
+
* // giphy: "<MessageGiphy>",
|
|
1014
|
+
* // silent: true || false,
|
|
1015
|
+
* // event: "STRING_VALUE",
|
|
1016
|
+
* // messageId: "STRING_VALUE", // required
|
|
1017
|
+
* // channelId: "STRING_VALUE", // required
|
|
1018
|
+
* // user: "<User>", // required
|
|
1019
|
+
* // edit: true || false,
|
|
1020
|
+
* // mentions: "<UsersList>",
|
|
1021
|
+
* // latestReactions: [
|
|
1022
|
+
* // {
|
|
1023
|
+
* // type: "STRING_VALUE",
|
|
1024
|
+
* // userId: "STRING_VALUE",
|
|
1025
|
+
* // messageId: "STRING_VALUE",
|
|
1026
|
+
* // user: "<User>",
|
|
1027
|
+
* // },
|
|
1028
|
+
* // ],
|
|
1029
|
+
* // reactionCounts: {
|
|
1030
|
+
* // "<keys>": Number("int"),
|
|
1031
|
+
* // },
|
|
1032
|
+
* // createdAt: "STRING_VALUE", // required
|
|
1033
|
+
* // updatedAt: "STRING_VALUE",
|
|
1034
|
+
* // },
|
|
1035
|
+
* // ],
|
|
848
1036
|
* // },
|
|
849
1037
|
* // 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
1038
|
* // },
|
|
@@ -2014,84 +2202,16 @@ declare const DescribeEventCommand_base: {
|
|
|
2014
2202
|
* // integrationId: "STRING_VALUE", // required
|
|
2015
2203
|
* // data: {
|
|
2016
2204
|
* // id: "STRING_VALUE",
|
|
2017
|
-
* //
|
|
2205
|
+
* // chatId: "STRING_VALUE",
|
|
2018
2206
|
* // time: Number("long"), // required
|
|
2019
2207
|
* // company: "STRING_VALUE", // required
|
|
2020
2208
|
* // 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
2209
|
* // start: "STRING_VALUE", // required
|
|
2022
|
-
* //
|
|
2023
|
-
* //
|
|
2024
|
-
* //
|
|
2025
|
-
* //
|
|
2026
|
-
* //
|
|
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
|
-
* // },
|
|
2210
|
+
* // channelId: "STRING_VALUE", // required
|
|
2211
|
+
* // channelType: "direct" || "group", // required
|
|
2212
|
+
* // subject: "STRING_VALUE", // required
|
|
2213
|
+
* // service: "STRING_VALUE",
|
|
2214
|
+
* // serviceTitle: "STRING_VALUE",
|
|
2095
2215
|
* // participants: [ // required
|
|
2096
2216
|
* // {
|
|
2097
2217
|
* // id: "STRING_VALUE", // required
|
|
@@ -2114,6 +2234,17 @@ declare const DescribeEventCommand_base: {
|
|
|
2114
2234
|
* // role: "CLIENT" || "AGENT", // required
|
|
2115
2235
|
* // },
|
|
2116
2236
|
* // ],
|
|
2237
|
+
* // agents: [ // required
|
|
2238
|
+
* // "<User>",
|
|
2239
|
+
* // ],
|
|
2240
|
+
* // agentsCount: Number("int"), // required
|
|
2241
|
+
* // customers: [ // required
|
|
2242
|
+
* // "<User>",
|
|
2243
|
+
* // ],
|
|
2244
|
+
* // customersCount: Number("int"), // required
|
|
2245
|
+
* // tags: [
|
|
2246
|
+
* // "sms" || "telephony" || "whatsapp",
|
|
2247
|
+
* // ],
|
|
2117
2248
|
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
2118
2249
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
|
|
2119
2250
|
* // },
|
|
@@ -2127,7 +2258,7 @@ declare const DescribeEventCommand_base: {
|
|
|
2127
2258
|
* // integrationId: "STRING_VALUE", // required
|
|
2128
2259
|
* // data: {
|
|
2129
2260
|
* // id: "STRING_VALUE",
|
|
2130
|
-
* //
|
|
2261
|
+
* // chatId: "STRING_VALUE",
|
|
2131
2262
|
* // time: Number("long"), // required
|
|
2132
2263
|
* // company: "STRING_VALUE", // required
|
|
2133
2264
|
* // 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 +2273,7 @@ declare const DescribeEventCommand_base: {
|
|
|
2142
2273
|
* // integrationId: "STRING_VALUE", // required
|
|
2143
2274
|
* // data: {
|
|
2144
2275
|
* // id: "STRING_VALUE",
|
|
2145
|
-
* //
|
|
2276
|
+
* // chatId: "STRING_VALUE",
|
|
2146
2277
|
* // time: Number("long"), // required
|
|
2147
2278
|
* // company: "STRING_VALUE", // required
|
|
2148
2279
|
* // 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 +2288,7 @@ declare const DescribeEventCommand_base: {
|
|
|
2157
2288
|
* // integrationId: "STRING_VALUE", // required
|
|
2158
2289
|
* // data: {
|
|
2159
2290
|
* // id: "STRING_VALUE",
|
|
2160
|
-
* //
|
|
2291
|
+
* // chatId: "STRING_VALUE",
|
|
2161
2292
|
* // time: Number("long"), // required
|
|
2162
2293
|
* // company: "STRING_VALUE", // required
|
|
2163
2294
|
* // event: "STRING_VALUE", // required
|
|
@@ -2172,15 +2303,21 @@ declare const DescribeEventCommand_base: {
|
|
|
2172
2303
|
* // integrationId: "STRING_VALUE", // required
|
|
2173
2304
|
* // data: {
|
|
2174
2305
|
* // id: "STRING_VALUE",
|
|
2175
|
-
* //
|
|
2306
|
+
* // chatId: "STRING_VALUE",
|
|
2176
2307
|
* // time: Number("long"), // required
|
|
2177
2308
|
* // company: "STRING_VALUE", // required
|
|
2178
2309
|
* // pbx: "STRING_VALUE",
|
|
2179
|
-
* // startTime: Number("long"),
|
|
2180
|
-
* // endTime: Number("long"),
|
|
2310
|
+
* // startTime: Number("long"),
|
|
2311
|
+
* // endTime: Number("long"),
|
|
2181
2312
|
* // waitTime: Number("int"),
|
|
2182
|
-
* // duration: Number("long"),
|
|
2183
|
-
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
2313
|
+
* // duration: Number("long"),
|
|
2314
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
2315
|
+
* // subject: "STRING_VALUE",
|
|
2316
|
+
* // service: "STRING_VALUE",
|
|
2317
|
+
* // serviceTitle: "STRING_VALUE",
|
|
2318
|
+
* // tags: [
|
|
2319
|
+
* // "sms" || "telephony" || "whatsapp",
|
|
2320
|
+
* // ],
|
|
2184
2321
|
* // channel: {
|
|
2185
2322
|
* // subject: "STRING_VALUE",
|
|
2186
2323
|
* // description: "STRING_VALUE",
|
|
@@ -2220,24 +2357,7 @@ declare const DescribeEventCommand_base: {
|
|
|
2220
2357
|
* // service: "STRING_VALUE",
|
|
2221
2358
|
* // serviceTitle: "STRING_VALUE",
|
|
2222
2359
|
* // 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
|
-
* // },
|
|
2360
|
+
* // assignee: "<User>",
|
|
2241
2361
|
* // telephony: true || false,
|
|
2242
2362
|
* // sms: true || false,
|
|
2243
2363
|
* // mms: true || false,
|
|
@@ -2255,13 +2375,13 @@ declare const DescribeEventCommand_base: {
|
|
|
2255
2375
|
* // updatedAt: "STRING_VALUE",
|
|
2256
2376
|
* // },
|
|
2257
2377
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
|
|
2258
|
-
* // participants: [
|
|
2378
|
+
* // participants: [
|
|
2259
2379
|
* // {
|
|
2260
2380
|
* // id: "STRING_VALUE", // required
|
|
2261
2381
|
* // info: "<ChatParticipantInfo>", // required
|
|
2262
2382
|
* // },
|
|
2263
2383
|
* // ],
|
|
2264
|
-
* // type: "
|
|
2384
|
+
* // type: "STRING_VALUE", // required
|
|
2265
2385
|
* // },
|
|
2266
2386
|
* // },
|
|
2267
2387
|
* // WebhookOutdatedCallStartEvent: { // WebhookOutdatedCallStartEvent
|
|
@@ -261,51 +261,40 @@ declare const QueryConversationsCommand_base: {
|
|
|
261
261
|
* // chats: [ // QueryConversationsChatsList // required
|
|
262
262
|
* // { // ChatAnalyticsLiveProgressEvent
|
|
263
263
|
* // id: "STRING_VALUE",
|
|
264
|
-
* //
|
|
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
|
-
* //
|
|
270
|
-
* //
|
|
271
|
-
* //
|
|
272
|
-
* //
|
|
273
|
-
* //
|
|
274
|
-
* //
|
|
275
|
-
* //
|
|
276
|
-
* //
|
|
277
|
-
* //
|
|
278
|
-
* //
|
|
279
|
-
* //
|
|
280
|
-
* //
|
|
281
|
-
* //
|
|
282
|
-
* //
|
|
283
|
-
* //
|
|
284
|
-
* //
|
|
285
|
-
* //
|
|
286
|
-
* //
|
|
287
|
-
* //
|
|
288
|
-
* //
|
|
289
|
-
* //
|
|
290
|
-
* //
|
|
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
|
+
* // createdAt: "STRING_VALUE",
|
|
291
|
+
* // updatedAt: "STRING_VALUE",
|
|
292
|
+
* // type: "REMOTE" || "LOCAL", // required
|
|
293
|
+
* // role: "CLIENT" || "AGENT", // required
|
|
298
294
|
* // },
|
|
299
|
-
* //
|
|
300
|
-
* //
|
|
301
|
-
* //
|
|
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
|
|
295
|
+
* // ],
|
|
296
|
+
* // agents: [ // ChatUserList // required
|
|
297
|
+
* // { // User
|
|
309
298
|
* // id: "STRING_VALUE", // required
|
|
310
299
|
* // name: "STRING_VALUE",
|
|
311
300
|
* // email: "STRING_VALUE",
|
|
@@ -323,24 +312,10 @@ declare const QueryConversationsCommand_base: {
|
|
|
323
312
|
* // createdAt: "STRING_VALUE",
|
|
324
313
|
* // updatedAt: "STRING_VALUE",
|
|
325
314
|
* // },
|
|
326
|
-
* //
|
|
327
|
-
* //
|
|
328
|
-
* //
|
|
329
|
-
* //
|
|
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
|
|
315
|
+
* // ],
|
|
316
|
+
* // agentsCount: Number("int"), // required
|
|
317
|
+
* // customers: [ // required
|
|
318
|
+
* // {
|
|
344
319
|
* // id: "STRING_VALUE", // required
|
|
345
320
|
* // name: "STRING_VALUE",
|
|
346
321
|
* // email: "STRING_VALUE",
|
|
@@ -357,10 +332,12 @@ declare const QueryConversationsCommand_base: {
|
|
|
357
332
|
* // pbxUserId: "STRING_VALUE",
|
|
358
333
|
* // createdAt: "STRING_VALUE",
|
|
359
334
|
* // updatedAt: "STRING_VALUE",
|
|
360
|
-
* // type: "REMOTE" || "LOCAL", // required
|
|
361
|
-
* // role: "CLIENT" || "AGENT", // required
|
|
362
335
|
* // },
|
|
363
336
|
* // ],
|
|
337
|
+
* // customersCount: Number("int"), // required
|
|
338
|
+
* // tags: [ // ChatTags
|
|
339
|
+
* // "sms" || "telephony" || "whatsapp",
|
|
340
|
+
* // ],
|
|
364
341
|
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
365
342
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED", // required
|
|
366
343
|
* // },
|
|
@@ -753,6 +753,19 @@ export declare const ChatStatus: {
|
|
|
753
753
|
* @public
|
|
754
754
|
*/
|
|
755
755
|
export type ChatStatus = typeof ChatStatus[keyof typeof ChatStatus];
|
|
756
|
+
/**
|
|
757
|
+
* @public
|
|
758
|
+
* @enum
|
|
759
|
+
*/
|
|
760
|
+
export declare const ChatTag: {
|
|
761
|
+
readonly SMS: "sms";
|
|
762
|
+
readonly TELEPHONY: "telephony";
|
|
763
|
+
readonly WHATSAPP: "whatsapp";
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* @public
|
|
767
|
+
*/
|
|
768
|
+
export type ChatTag = typeof ChatTag[keyof typeof ChatTag];
|
|
756
769
|
/**
|
|
757
770
|
* @public
|
|
758
771
|
*/
|
|
@@ -1998,7 +2011,7 @@ export interface ChatAnalyticsLiveCompleteEvent {
|
|
|
1998
2011
|
* A unique identifier that distinguishes each chat session within a channel.
|
|
1999
2012
|
* @public
|
|
2000
2013
|
*/
|
|
2001
|
-
|
|
2014
|
+
chatId?: string | undefined;
|
|
2002
2015
|
time: number;
|
|
2003
2016
|
company: string;
|
|
2004
2017
|
event: LiveEventType;
|
|
@@ -2016,7 +2029,7 @@ export interface ChatAnalyticsLiveInterruptedEvent {
|
|
|
2016
2029
|
* A unique identifier that distinguishes each chat session within a channel.
|
|
2017
2030
|
* @public
|
|
2018
2031
|
*/
|
|
2019
|
-
|
|
2032
|
+
chatId?: string | undefined;
|
|
2020
2033
|
time: number;
|
|
2021
2034
|
company: string;
|
|
2022
2035
|
event: LiveEventType;
|
|
@@ -2034,13 +2047,22 @@ export interface ChatAnalyticsLiveProgressEvent {
|
|
|
2034
2047
|
* A unique identifier that distinguishes each chat session within a channel.
|
|
2035
2048
|
* @public
|
|
2036
2049
|
*/
|
|
2037
|
-
|
|
2050
|
+
chatId?: string | undefined;
|
|
2038
2051
|
time: number;
|
|
2039
2052
|
company: string;
|
|
2040
2053
|
event: LiveEventType;
|
|
2041
2054
|
start: string;
|
|
2042
|
-
|
|
2055
|
+
channelId: string;
|
|
2056
|
+
channelType: ChannelType;
|
|
2057
|
+
subject: string;
|
|
2058
|
+
service?: string | undefined;
|
|
2059
|
+
serviceTitle?: string | undefined;
|
|
2043
2060
|
participants: (ChatParticipantInfo)[];
|
|
2061
|
+
agents: (User)[];
|
|
2062
|
+
agentsCount: number;
|
|
2063
|
+
customers: (User)[];
|
|
2064
|
+
customersCount: number;
|
|
2065
|
+
tags?: (ChatTag)[] | undefined;
|
|
2044
2066
|
direction: ChatDirection;
|
|
2045
2067
|
status: ChatStatus;
|
|
2046
2068
|
}
|
|
@@ -2057,12 +2079,11 @@ export interface ChatAnalyticsLiveTranscriptionEvent {
|
|
|
2057
2079
|
* A unique identifier that distinguishes each chat session within a channel.
|
|
2058
2080
|
* @public
|
|
2059
2081
|
*/
|
|
2060
|
-
|
|
2082
|
+
chatId?: string | undefined;
|
|
2061
2083
|
time: number;
|
|
2062
2084
|
company: string;
|
|
2063
2085
|
event: LiveEventType;
|
|
2064
|
-
|
|
2065
|
-
message: string;
|
|
2086
|
+
message: Message;
|
|
2066
2087
|
}
|
|
2067
2088
|
/**
|
|
2068
2089
|
* @public
|
|
@@ -2077,7 +2098,7 @@ export interface ChatAnalyticsManagerMissedEvent {
|
|
|
2077
2098
|
* A unique identifier that distinguishes each chat session within a channel.
|
|
2078
2099
|
* @public
|
|
2079
2100
|
*/
|
|
2080
|
-
|
|
2101
|
+
chatId?: string | undefined;
|
|
2081
2102
|
time: number;
|
|
2082
2103
|
company: string;
|
|
2083
2104
|
event: string;
|
|
@@ -2095,19 +2116,23 @@ export interface ChatAnalyticsRecordEvent {
|
|
|
2095
2116
|
* A unique identifier that distinguishes each chat session within a channel.
|
|
2096
2117
|
* @public
|
|
2097
2118
|
*/
|
|
2098
|
-
|
|
2119
|
+
chatId?: string | undefined;
|
|
2099
2120
|
time: number;
|
|
2100
2121
|
company: string;
|
|
2101
2122
|
pbx?: string | undefined;
|
|
2102
|
-
startTime
|
|
2103
|
-
endTime
|
|
2123
|
+
startTime?: number | undefined;
|
|
2124
|
+
endTime?: number | undefined;
|
|
2104
2125
|
waitTime?: number | undefined;
|
|
2105
|
-
duration
|
|
2106
|
-
direction
|
|
2107
|
-
|
|
2126
|
+
duration?: number | undefined;
|
|
2127
|
+
direction?: ChatDirection | undefined;
|
|
2128
|
+
subject?: string | undefined;
|
|
2129
|
+
service?: string | undefined;
|
|
2130
|
+
serviceTitle?: string | undefined;
|
|
2131
|
+
tags?: (ChatTag)[] | undefined;
|
|
2132
|
+
channel?: Channel | undefined;
|
|
2108
2133
|
status?: ChatStatus | undefined;
|
|
2109
|
-
participants
|
|
2110
|
-
type:
|
|
2134
|
+
participants?: (ChatParticipant)[] | undefined;
|
|
2135
|
+
type: string;
|
|
2111
2136
|
}
|
|
2112
2137
|
/**
|
|
2113
2138
|
* @public
|
|
@@ -2115,7 +2140,7 @@ export interface ChatAnalyticsRecordEvent {
|
|
|
2115
2140
|
export interface ChatTranscription {
|
|
2116
2141
|
start: number;
|
|
2117
2142
|
end: number;
|
|
2118
|
-
messages:
|
|
2143
|
+
messages: (Message)[];
|
|
2119
2144
|
}
|
|
2120
2145
|
/**
|
|
2121
2146
|
* @public
|
|
@@ -2130,7 +2155,7 @@ export interface ChatAnalyticsTranscriptionRecordEvent {
|
|
|
2130
2155
|
* A unique identifier that distinguishes each chat session within a channel.
|
|
2131
2156
|
* @public
|
|
2132
2157
|
*/
|
|
2133
|
-
|
|
2158
|
+
chatId?: string | undefined;
|
|
2134
2159
|
time: number;
|
|
2135
2160
|
company: string;
|
|
2136
2161
|
transcription: ChatTranscription;
|
|
@@ -2220,19 +2245,6 @@ export interface ChatMessageConsumeEvent {
|
|
|
2220
2245
|
time: number;
|
|
2221
2246
|
data: ChatMessageConsumeEventData;
|
|
2222
2247
|
}
|
|
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
2248
|
/**
|
|
2237
2249
|
* @public
|
|
2238
2250
|
*/
|
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.
|
|
4
|
+
"version": "1.1.11",
|
|
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",
|