@wildix/wda-stream-client 1.1.69 → 1.1.70

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.
@@ -65,7 +65,7 @@ declare const GetOngoingCallAnnotationsCommand_base: {
65
65
  * // groupId: "STRING_VALUE",
66
66
  * // groupName: "STRING_VALUE",
67
67
  * // userAgent: "STRING_VALUE",
68
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN" || "COLLABORATION7_WEB" || "COLLABORATION7_IOS" || "COLLABORATION7_ANDROID" || "XHOPPERS_WEB" || "XHOPPERS_IOS" || "XHOPPERS_ANDROID" || "TEAMS4WILDIX",
68
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
69
69
  * // role: "CLIENT" || "AGENT", // required
70
70
  * // license: "STRING_VALUE",
71
71
  * // sipCallId: "STRING_VALUE",
@@ -85,7 +85,7 @@ declare const GetOngoingCallAnnotationsCommand_base: {
85
85
  * // groupId: "STRING_VALUE",
86
86
  * // groupName: "STRING_VALUE",
87
87
  * // userAgent: "STRING_VALUE",
88
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN" || "COLLABORATION7_WEB" || "COLLABORATION7_IOS" || "COLLABORATION7_ANDROID" || "XHOPPERS_WEB" || "XHOPPERS_IOS" || "XHOPPERS_ANDROID" || "TEAMS4WILDIX",
88
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
89
89
  * // role: "CLIENT" || "AGENT", // required
90
90
  * // license: "STRING_VALUE",
91
91
  * // sipCallId: "STRING_VALUE",
@@ -65,7 +65,7 @@ declare const GetOngoingCallCommand_base: {
65
65
  * // groupId: "STRING_VALUE",
66
66
  * // groupName: "STRING_VALUE",
67
67
  * // userAgent: "STRING_VALUE",
68
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN" || "COLLABORATION7_WEB" || "COLLABORATION7_IOS" || "COLLABORATION7_ANDROID" || "XHOPPERS_WEB" || "XHOPPERS_IOS" || "XHOPPERS_ANDROID" || "TEAMS4WILDIX",
68
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
69
69
  * // role: "CLIENT" || "AGENT", // required
70
70
  * // license: "STRING_VALUE",
71
71
  * // sipCallId: "STRING_VALUE",
@@ -85,7 +85,7 @@ declare const GetOngoingCallCommand_base: {
85
85
  * // groupId: "STRING_VALUE",
86
86
  * // groupName: "STRING_VALUE",
87
87
  * // userAgent: "STRING_VALUE",
88
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN" || "COLLABORATION7_WEB" || "COLLABORATION7_IOS" || "COLLABORATION7_ANDROID" || "XHOPPERS_WEB" || "XHOPPERS_IOS" || "XHOPPERS_ANDROID" || "TEAMS4WILDIX",
88
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
89
89
  * // role: "CLIENT" || "AGENT", // required
90
90
  * // license: "STRING_VALUE",
91
91
  * // sipCallId: "STRING_VALUE",
@@ -65,7 +65,7 @@ declare const GetOngoingCallTranscriptionCommand_base: {
65
65
  * // groupId: "STRING_VALUE",
66
66
  * // groupName: "STRING_VALUE",
67
67
  * // userAgent: "STRING_VALUE",
68
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN" || "COLLABORATION7_WEB" || "COLLABORATION7_IOS" || "COLLABORATION7_ANDROID" || "XHOPPERS_WEB" || "XHOPPERS_IOS" || "XHOPPERS_ANDROID" || "TEAMS4WILDIX",
68
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
69
69
  * // role: "CLIENT" || "AGENT", // required
70
70
  * // license: "STRING_VALUE",
71
71
  * // sipCallId: "STRING_VALUE",
@@ -85,7 +85,7 @@ declare const GetOngoingCallTranscriptionCommand_base: {
85
85
  * // groupId: "STRING_VALUE",
86
86
  * // groupName: "STRING_VALUE",
87
87
  * // userAgent: "STRING_VALUE",
88
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN" || "COLLABORATION7_WEB" || "COLLABORATION7_IOS" || "COLLABORATION7_ANDROID" || "XHOPPERS_WEB" || "XHOPPERS_IOS" || "XHOPPERS_ANDROID" || "TEAMS4WILDIX",
88
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
89
89
  * // role: "CLIENT" || "AGENT", // required
90
90
  * // license: "STRING_VALUE",
91
91
  * // sipCallId: "STRING_VALUE",
@@ -255,7 +255,7 @@ declare const GetOngoingCallTranscriptionCommand_base: {
255
255
  * // groupId: "STRING_VALUE",
256
256
  * // groupName: "STRING_VALUE",
257
257
  * // userAgent: "STRING_VALUE",
258
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN" || "COLLABORATION7_WEB" || "COLLABORATION7_IOS" || "COLLABORATION7_ANDROID" || "XHOPPERS_WEB" || "XHOPPERS_IOS" || "XHOPPERS_ANDROID" || "TEAMS4WILDIX",
258
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
259
259
  * // role: "CLIENT" || "AGENT", // required
260
260
  * // license: "STRING_VALUE",
261
261
  * // sipCallId: "STRING_VALUE",
@@ -82,7 +82,7 @@ declare const QueryConversationsCommand_base: {
82
82
  * // groupId: "STRING_VALUE",
83
83
  * // groupName: "STRING_VALUE",
84
84
  * // userAgent: "STRING_VALUE",
85
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN" || "COLLABORATION7_WEB" || "COLLABORATION7_IOS" || "COLLABORATION7_ANDROID" || "XHOPPERS_WEB" || "XHOPPERS_IOS" || "XHOPPERS_ANDROID" || "TEAMS4WILDIX",
85
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
86
86
  * // role: "CLIENT" || "AGENT", // required
87
87
  * // license: "STRING_VALUE",
88
88
  * // sipCallId: "STRING_VALUE",
@@ -102,7 +102,7 @@ declare const QueryConversationsCommand_base: {
102
102
  * // groupId: "STRING_VALUE",
103
103
  * // groupName: "STRING_VALUE",
104
104
  * // userAgent: "STRING_VALUE",
105
- * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN" || "COLLABORATION7_WEB" || "COLLABORATION7_IOS" || "COLLABORATION7_ANDROID" || "XHOPPERS_WEB" || "XHOPPERS_IOS" || "XHOPPERS_ANDROID" || "TEAMS4WILDIX",
105
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "VOICEBOT" || "UNKNOWN",
106
106
  * // role: "CLIENT" || "AGENT", // required
107
107
  * // license: "STRING_VALUE",
108
108
  * // sipCallId: "STRING_VALUE",
@@ -461,13 +461,9 @@ export type CallParticipantType = typeof CallParticipantType[keyof typeof CallPa
461
461
  * @enum
462
462
  */
463
463
  export declare const CallDevice: {
464
- readonly COLLABORATION7_ANDROID: "COLLABORATION7_ANDROID";
465
- readonly COLLABORATION7_IOS: "COLLABORATION7_IOS";
466
- readonly COLLABORATION7_WEB: "COLLABORATION7_WEB";
467
464
  readonly COLLABORATION_ANDROID: "COLLABORATION_ANDROID";
468
465
  readonly COLLABORATION_IOS: "COLLABORATION_IOS";
469
466
  readonly COLLABORATION_WEB: "COLLABORATION_WEB";
470
- readonly TEAMS4WILDIX: "TEAMS4WILDIX";
471
467
  readonly UNKNOWN: "UNKNOWN";
472
468
  readonly VOICEBOT: "VOICEBOT";
473
469
  readonly WILDIX_DEVICE: "WILDIX_DEVICE";
@@ -475,9 +471,6 @@ export declare const CallDevice: {
475
471
  readonly XBEES_ANDROID: "XBEES_ANDROID";
476
472
  readonly XBEES_IOS: "XBEES_IOS";
477
473
  readonly XBEES_WEB: "XBEES_WEB";
478
- readonly XHOPPERS_ANDROID: "XHOPPERS_ANDROID";
479
- readonly XHOPPERS_IOS: "XHOPPERS_IOS";
480
- readonly XHOPPERS_WEB: "XHOPPERS_WEB";
481
474
  };
482
475
  /**
483
476
  * @public
@@ -1439,6 +1432,62 @@ export interface TranscriptionTextChunk {
1439
1432
  time: string;
1440
1433
  offset: number;
1441
1434
  }
1435
+ /**
1436
+ * @public
1437
+ * @enum
1438
+ */
1439
+ export declare const InsightsStatus: {
1440
+ readonly FAILED: "FAILED";
1441
+ readonly NONE: "NONE";
1442
+ readonly SCHEDULED: "SCHEDULED";
1443
+ readonly STARTED: "STARTED";
1444
+ readonly SUCCEEDED: "SUCCEEDED";
1445
+ readonly UNAVAILABLE: "UNAVAILABLE";
1446
+ };
1447
+ /**
1448
+ * @public
1449
+ */
1450
+ export type InsightsStatus = typeof InsightsStatus[keyof typeof InsightsStatus];
1451
+ /**
1452
+ * @public
1453
+ */
1454
+ export interface ProjectionInsightsField {
1455
+ id: string;
1456
+ name: string;
1457
+ value: __DocumentType;
1458
+ }
1459
+ /**
1460
+ * @public
1461
+ * @enum
1462
+ */
1463
+ export declare const InsightsReason: {
1464
+ readonly CONDITIONS_NOT_MATCH: "CONDITIONS_NOT_MATCH";
1465
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
1466
+ readonly TRANSCRIPTION_TOO_SMALL: "TRANSCRIPTION_TOO_SMALL";
1467
+ };
1468
+ /**
1469
+ * @public
1470
+ */
1471
+ export type InsightsReason = typeof InsightsReason[keyof typeof InsightsReason];
1472
+ /**
1473
+ * @public
1474
+ */
1475
+ export interface ProjectionInsights {
1476
+ id: string;
1477
+ /**
1478
+ * A version of projection that was used to generate the insights.
1479
+ * @public
1480
+ */
1481
+ version: number;
1482
+ name: string;
1483
+ status: InsightsStatus;
1484
+ /**
1485
+ * Additional information to the status field which describes the reason behind the status.
1486
+ * @public
1487
+ */
1488
+ reason?: InsightsReason | undefined;
1489
+ fields: (ProjectionInsightsField)[];
1490
+ }
1442
1491
  /**
1443
1492
  * @public
1444
1493
  */
@@ -6838,6 +6887,7 @@ export interface WebhookCallAnnotationsCompletedEventData {
6838
6887
  export declare const WebhookEventType: {
6839
6888
  readonly CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed";
6840
6889
  readonly CALL_COMPLETED: "call:completed";
6890
+ readonly CALL_INSIGHTS_COMPLETED: "call:insights:completed";
6841
6891
  readonly CALL_LIVE_ANNOTATION: "call:live:annotation";
6842
6892
  readonly CALL_LIVE_COMPLETED: "call:live:completed";
6843
6893
  readonly CALL_LIVE_INTERRUPTED: "call:live:interrupted";
@@ -6852,6 +6902,7 @@ export declare const WebhookEventType: {
6852
6902
  readonly CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed";
6853
6903
  readonly CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed";
6854
6904
  readonly CHAT_COMPLETED: "chat:completed";
6905
+ readonly CHAT_INSIGHTS_COMPLETED: "chat:insights:completed";
6855
6906
  readonly CHAT_LIVE_ANNOTATION: "chat:live:annotation";
6856
6907
  readonly CHAT_LIVE_COMPLETED: "chat:live:completed";
6857
6908
  readonly CHAT_LIVE_INTERRUPTED: "chat:live:interrupted";
@@ -6861,6 +6912,7 @@ export declare const WebhookEventType: {
6861
6912
  readonly CHAT_SUMMARY_COMPLETED: "chat:summary:completed";
6862
6913
  readonly CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed";
6863
6914
  readonly CONFERENCE_COMPLETED: "conference:completed";
6915
+ readonly CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed";
6864
6916
  readonly CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation";
6865
6917
  readonly CONFERENCE_LIVE_COMPLETED: "conference:live:completed";
6866
6918
  readonly CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted";
@@ -6909,6 +6961,25 @@ export interface WebhookCallCompletedEvent {
6909
6961
  integrationId: string;
6910
6962
  data: CallAnalyticsRecordEvent;
6911
6963
  }
6964
+ /**
6965
+ * @public
6966
+ */
6967
+ export interface WebhookCallInsightsCompletedEventData {
6968
+ call: CallRecord;
6969
+ insights: (ProjectionInsights)[];
6970
+ }
6971
+ /**
6972
+ * @public
6973
+ */
6974
+ export interface WebhookCallInsightsCompletedEvent {
6975
+ id: string;
6976
+ pbx?: string | undefined;
6977
+ company?: string | undefined;
6978
+ type: WebhookEventType;
6979
+ time: number;
6980
+ integrationId: string;
6981
+ data: WebhookCallInsightsCompletedEventData;
6982
+ }
6912
6983
  /**
6913
6984
  * @public
6914
6985
  */
@@ -7074,70 +7145,3 @@ export interface WebhookCallTranscriptionTextCompletedEvent {
7074
7145
  integrationId: string;
7075
7146
  data: WebhookCallTranscriptionTextCompletedEventData;
7076
7147
  }
7077
- /**
7078
- * @public
7079
- */
7080
- export interface WebhookChatAnnotationsCompletedEventData {
7081
- chat: ChatRecord;
7082
- annotations: (Annotation)[];
7083
- }
7084
- /**
7085
- * @public
7086
- */
7087
- export interface WebhookChatAnnotationsCompletedEvent {
7088
- id: string;
7089
- pbx?: string | undefined;
7090
- company?: string | undefined;
7091
- type: WebhookEventType;
7092
- time: number;
7093
- integrationId: string;
7094
- data: WebhookChatAnnotationsCompletedEventData;
7095
- }
7096
- /**
7097
- * @public
7098
- */
7099
- export interface WebhookChatCompletedEvent {
7100
- id: string;
7101
- pbx?: string | undefined;
7102
- company?: string | undefined;
7103
- type: WebhookEventType;
7104
- time: number;
7105
- integrationId: string;
7106
- data: ChatAnalyticsRecordEvent;
7107
- }
7108
- /**
7109
- * @public
7110
- */
7111
- export interface WebhookChatLiveAnnotationEvent {
7112
- id: string;
7113
- pbx?: string | undefined;
7114
- company?: string | undefined;
7115
- type: WebhookEventType;
7116
- time: number;
7117
- integrationId: string;
7118
- data: ChatAnalyticsLiveAnnotationEvent;
7119
- }
7120
- /**
7121
- * @public
7122
- */
7123
- export interface WebhookChatLiveCompletedEvent {
7124
- id: string;
7125
- pbx?: string | undefined;
7126
- company?: string | undefined;
7127
- type: WebhookEventType;
7128
- time: number;
7129
- integrationId: string;
7130
- data: ChatAnalyticsLiveCompleteEvent;
7131
- }
7132
- /**
7133
- * @public
7134
- */
7135
- export interface WebhookChatLiveInterruptedEvent {
7136
- id: string;
7137
- pbx?: string | undefined;
7138
- company?: string | undefined;
7139
- type: WebhookEventType;
7140
- time: number;
7141
- integrationId: string;
7142
- data: ChatAnalyticsLiveInterruptedEvent;
7143
- }
@@ -1,7 +1,93 @@
1
1
  import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
2
- import { Annotation, CallAnalyticsAnnotationsRecordEvent, CallAnalyticsCostRecordEvent, CallAnalyticsLiveAnnotationEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallDevice, CallEventType, ChatAnalyticsAnnotationsRecordEvent, ChatAnalyticsLiveAnnotationEvent, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ChatRecord, ConferenceAnalyticsAnnotationsRecordEvent, ConferenceAnalyticsLiveAnnotationEvent, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, ConferenceParticipant, ConferenceRecord, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType, ServiceAgentsStatusAnalyticsRecordEvent, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallAnalyticsRecordEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, TranscriptionSummary, TranscriptionTextChunk, WebhookCallAnnotationsCompletedEvent, WebhookCallCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookChatAnnotationsCompletedEvent, WebhookChatCompletedEvent, WebhookChatLiveAnnotationEvent, WebhookChatLiveCompletedEvent, WebhookChatLiveInterruptedEvent, WebhookEventType, WebsocketAuthorizeAction, WebsocketSubscribeAction, WebsocketTopic, WebsocketUnsubscribeAction } from "./models_0";
2
+ import { Annotation, CallAnalyticsAnnotationsRecordEvent, CallAnalyticsCostRecordEvent, CallAnalyticsLiveAnnotationEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallDevice, CallEventType, ChatAnalyticsAnnotationsRecordEvent, ChatAnalyticsLiveAnnotationEvent, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ChatRecord, ConferenceAnalyticsAnnotationsRecordEvent, ConferenceAnalyticsLiveAnnotationEvent, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, ConferenceParticipant, ConferenceRecord, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType, ProjectionInsights, ServiceAgentsStatusAnalyticsRecordEvent, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallAnalyticsRecordEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, TranscriptionSummary, TranscriptionTextChunk, WebhookCallAnnotationsCompletedEvent, WebhookCallCompletedEvent, WebhookCallInsightsCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookEventType, WebsocketAuthorizeAction, WebsocketSubscribeAction, WebsocketTopic, WebsocketUnsubscribeAction } from "./models_0";
3
3
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
4
4
  import { DocumentType as __DocumentType } from "@smithy/types";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface WebhookChatAnnotationsCompletedEventData {
9
+ chat: ChatRecord;
10
+ annotations: (Annotation)[];
11
+ }
12
+ /**
13
+ * @public
14
+ */
15
+ export interface WebhookChatAnnotationsCompletedEvent {
16
+ id: string;
17
+ pbx?: string | undefined;
18
+ company?: string | undefined;
19
+ type: WebhookEventType;
20
+ time: number;
21
+ integrationId: string;
22
+ data: WebhookChatAnnotationsCompletedEventData;
23
+ }
24
+ /**
25
+ * @public
26
+ */
27
+ export interface WebhookChatCompletedEvent {
28
+ id: string;
29
+ pbx?: string | undefined;
30
+ company?: string | undefined;
31
+ type: WebhookEventType;
32
+ time: number;
33
+ integrationId: string;
34
+ data: ChatAnalyticsRecordEvent;
35
+ }
36
+ /**
37
+ * @public
38
+ */
39
+ export interface WebhookChatInsightsCompletedEventData {
40
+ chat: ChatRecord;
41
+ insights: (ProjectionInsights)[];
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface WebhookChatInsightsCompletedEvent {
47
+ id: string;
48
+ pbx?: string | undefined;
49
+ company?: string | undefined;
50
+ type: WebhookEventType;
51
+ time: number;
52
+ integrationId: string;
53
+ data: WebhookChatInsightsCompletedEventData;
54
+ }
55
+ /**
56
+ * @public
57
+ */
58
+ export interface WebhookChatLiveAnnotationEvent {
59
+ id: string;
60
+ pbx?: string | undefined;
61
+ company?: string | undefined;
62
+ type: WebhookEventType;
63
+ time: number;
64
+ integrationId: string;
65
+ data: ChatAnalyticsLiveAnnotationEvent;
66
+ }
67
+ /**
68
+ * @public
69
+ */
70
+ export interface WebhookChatLiveCompletedEvent {
71
+ id: string;
72
+ pbx?: string | undefined;
73
+ company?: string | undefined;
74
+ type: WebhookEventType;
75
+ time: number;
76
+ integrationId: string;
77
+ data: ChatAnalyticsLiveCompleteEvent;
78
+ }
79
+ /**
80
+ * @public
81
+ */
82
+ export interface WebhookChatLiveInterruptedEvent {
83
+ id: string;
84
+ pbx?: string | undefined;
85
+ company?: string | undefined;
86
+ type: WebhookEventType;
87
+ time: number;
88
+ integrationId: string;
89
+ data: ChatAnalyticsLiveInterruptedEvent;
90
+ }
5
91
  /**
6
92
  * @public
7
93
  */
@@ -76,6 +162,25 @@ export interface WebhookConferenceCompletedEvent {
76
162
  integrationId: string;
77
163
  data: ConferenceAnalyticsRecordEvent;
78
164
  }
165
+ /**
166
+ * @public
167
+ */
168
+ export interface WebhookConferenceInsightsCompletedEventData {
169
+ conference: ConferenceRecord;
170
+ insights: (ProjectionInsights)[];
171
+ }
172
+ /**
173
+ * @public
174
+ */
175
+ export interface WebhookConferenceInsightsCompletedEvent {
176
+ id: string;
177
+ pbx?: string | undefined;
178
+ company?: string | undefined;
179
+ type: WebhookEventType;
180
+ time: number;
181
+ integrationId: string;
182
+ data: WebhookConferenceInsightsCompletedEventData;
183
+ }
79
184
  /**
80
185
  * @public
81
186
  */
@@ -596,6 +701,7 @@ export interface DescribeEventOutput {
596
701
  WebhookCallTranscriptionCompletedEvent?: WebhookCallTranscriptionCompletedEvent | undefined;
597
702
  WebhookCallTranscriptionTextCompletedEvent?: WebhookCallTranscriptionTextCompletedEvent | undefined;
598
703
  WebhookCallAnnotationsCompletedEvent?: WebhookCallAnnotationsCompletedEvent | undefined;
704
+ WebhookCallInsightsCompletedEvent?: WebhookCallInsightsCompletedEvent | undefined;
599
705
  WebhookCallSummaryCompletedEvent?: WebhookCallSummaryCompletedEvent | undefined;
600
706
  WebhookConferenceLiveProgressEvent?: WebhookConferenceLiveProgressEvent | undefined;
601
707
  WebhookConferenceLiveCompletedEvent?: WebhookConferenceLiveCompletedEvent | undefined;
@@ -608,6 +714,7 @@ export interface DescribeEventOutput {
608
714
  WebhookConferenceTranscriptionCompletedEvent?: WebhookConferenceTranscriptionCompletedEvent | undefined;
609
715
  WebhookConferenceTranscriptionTextCompletedEvent?: WebhookConferenceTranscriptionTextCompletedEvent | undefined;
610
716
  WebhookConferenceAnnotationsCompletedEvent?: WebhookConferenceAnnotationsCompletedEvent | undefined;
717
+ WebhookConferenceInsightsCompletedEvent?: WebhookConferenceInsightsCompletedEvent | undefined;
611
718
  WebhookConferenceSummaryCompletedEvent?: WebhookConferenceSummaryCompletedEvent | undefined;
612
719
  WebhookServiceCallLiveProgressEvent?: WebhookServiceCallLiveProgressEvent | undefined;
613
720
  WebhookServiceCallLiveCompletedEvent?: WebhookServiceCallLiveCompletedEvent | undefined;
@@ -618,6 +725,7 @@ export interface DescribeEventOutput {
618
725
  WebhookChatManagerMissedEvent?: WebhookChatManagerMissedEvent | undefined;
619
726
  WebhookChatCompletedEvent?: WebhookChatCompletedEvent | undefined;
620
727
  WebhookChatAnnotationsCompletedEvent?: WebhookChatAnnotationsCompletedEvent | undefined;
728
+ WebhookChatInsightsCompletedEvent?: WebhookChatInsightsCompletedEvent | undefined;
621
729
  WebhookChatSummaryCompletedEvent?: WebhookChatSummaryCompletedEvent | undefined;
622
730
  WebhookOutdatedCallStartEvent?: WebhookOutdatedCallStartEvent | undefined;
623
731
  WebhookOutdatedCallUpdateEvent?: WebhookOutdatedCallUpdateEvent | undefined;
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
12
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
10
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
- requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
12
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
13
13
  retryMode: string | import("@smithy/types").Provider<string>;
14
14
  sha256: import("@smithy/types").HashConstructor;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
- requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
10
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  cacheMiddleware?: boolean | undefined;
12
12
  protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
13
13
  protocolSettings?: {
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.69",
4
+ "version": "1.1.70",
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",
@@ -80,4 +80,4 @@
80
80
  "react-native": {
81
81
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
82
82
  }
83
- }
83
+ }