@wildix/wda-stream-client 1.1.71 → 1.1.72

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.
@@ -1439,62 +1439,6 @@ export interface TranscriptionTextChunk {
1439
1439
  time: string;
1440
1440
  offset: number;
1441
1441
  }
1442
- /**
1443
- * @public
1444
- * @enum
1445
- */
1446
- export declare const InsightsStatus: {
1447
- readonly FAILED: "FAILED";
1448
- readonly NONE: "NONE";
1449
- readonly SCHEDULED: "SCHEDULED";
1450
- readonly STARTED: "STARTED";
1451
- readonly SUCCEEDED: "SUCCEEDED";
1452
- readonly UNAVAILABLE: "UNAVAILABLE";
1453
- };
1454
- /**
1455
- * @public
1456
- */
1457
- export type InsightsStatus = typeof InsightsStatus[keyof typeof InsightsStatus];
1458
- /**
1459
- * @public
1460
- */
1461
- export interface ProjectionInsightsField {
1462
- id: string;
1463
- name: string;
1464
- value: __DocumentType;
1465
- }
1466
- /**
1467
- * @public
1468
- * @enum
1469
- */
1470
- export declare const InsightsReason: {
1471
- readonly CONDITIONS_NOT_MATCH: "CONDITIONS_NOT_MATCH";
1472
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
1473
- readonly TRANSCRIPTION_TOO_SMALL: "TRANSCRIPTION_TOO_SMALL";
1474
- };
1475
- /**
1476
- * @public
1477
- */
1478
- export type InsightsReason = typeof InsightsReason[keyof typeof InsightsReason];
1479
- /**
1480
- * @public
1481
- */
1482
- export interface ProjectionInsights {
1483
- id: string;
1484
- /**
1485
- * A version of projection that was used to generate the insights.
1486
- * @public
1487
- */
1488
- version: number;
1489
- name: string;
1490
- status: InsightsStatus;
1491
- /**
1492
- * Additional information to the status field which describes the reason behind the status.
1493
- * @public
1494
- */
1495
- reason?: InsightsReason | undefined;
1496
- fields: (ProjectionInsightsField)[];
1497
- }
1498
1442
  /**
1499
1443
  * @public
1500
1444
  */
@@ -6894,7 +6838,6 @@ export interface WebhookCallAnnotationsCompletedEventData {
6894
6838
  export declare const WebhookEventType: {
6895
6839
  readonly CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed";
6896
6840
  readonly CALL_COMPLETED: "call:completed";
6897
- readonly CALL_INSIGHTS_COMPLETED: "call:insights:completed";
6898
6841
  readonly CALL_LIVE_ANNOTATION: "call:live:annotation";
6899
6842
  readonly CALL_LIVE_COMPLETED: "call:live:completed";
6900
6843
  readonly CALL_LIVE_INTERRUPTED: "call:live:interrupted";
@@ -6909,7 +6852,6 @@ export declare const WebhookEventType: {
6909
6852
  readonly CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed";
6910
6853
  readonly CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed";
6911
6854
  readonly CHAT_COMPLETED: "chat:completed";
6912
- readonly CHAT_INSIGHTS_COMPLETED: "chat:insights:completed";
6913
6855
  readonly CHAT_LIVE_ANNOTATION: "chat:live:annotation";
6914
6856
  readonly CHAT_LIVE_COMPLETED: "chat:live:completed";
6915
6857
  readonly CHAT_LIVE_INTERRUPTED: "chat:live:interrupted";
@@ -6919,7 +6861,6 @@ export declare const WebhookEventType: {
6919
6861
  readonly CHAT_SUMMARY_COMPLETED: "chat:summary:completed";
6920
6862
  readonly CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed";
6921
6863
  readonly CONFERENCE_COMPLETED: "conference:completed";
6922
- readonly CONFERENCE_INSIGHTS_COMPLETED: "conference:insights:completed";
6923
6864
  readonly CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation";
6924
6865
  readonly CONFERENCE_LIVE_COMPLETED: "conference:live:completed";
6925
6866
  readonly CONFERENCE_LIVE_INTERRUPTED: "conference:live:interrupted";
@@ -6939,6 +6880,7 @@ export declare const WebhookEventType: {
6939
6880
  readonly SERVICE_CALL_LIVE_COMPLETED: "service:call:live:completed";
6940
6881
  readonly SERVICE_CALL_LIVE_PROGRESS: "service:call:live:progress";
6941
6882
  readonly SMS_STATUS: "sms:status";
6883
+ readonly WHATSAPP_STATUS: "whatsapp:status";
6942
6884
  };
6943
6885
  /**
6944
6886
  * @public
@@ -6968,25 +6910,6 @@ export interface WebhookCallCompletedEvent {
6968
6910
  integrationId: string;
6969
6911
  data: CallAnalyticsRecordEvent;
6970
6912
  }
6971
- /**
6972
- * @public
6973
- */
6974
- export interface WebhookCallInsightsCompletedEventData {
6975
- call: CallRecord;
6976
- insights: (ProjectionInsights)[];
6977
- }
6978
- /**
6979
- * @public
6980
- */
6981
- export interface WebhookCallInsightsCompletedEvent {
6982
- id: string;
6983
- pbx?: string | undefined;
6984
- company?: string | undefined;
6985
- type: WebhookEventType;
6986
- time: number;
6987
- integrationId: string;
6988
- data: WebhookCallInsightsCompletedEventData;
6989
- }
6990
6913
  /**
6991
6914
  * @public
6992
6915
  */
@@ -7152,3 +7075,70 @@ export interface WebhookCallTranscriptionTextCompletedEvent {
7152
7075
  integrationId: string;
7153
7076
  data: WebhookCallTranscriptionTextCompletedEventData;
7154
7077
  }
7078
+ /**
7079
+ * @public
7080
+ */
7081
+ export interface WebhookChatAnnotationsCompletedEventData {
7082
+ chat: ChatRecord;
7083
+ annotations: (Annotation)[];
7084
+ }
7085
+ /**
7086
+ * @public
7087
+ */
7088
+ export interface WebhookChatAnnotationsCompletedEvent {
7089
+ id: string;
7090
+ pbx?: string | undefined;
7091
+ company?: string | undefined;
7092
+ type: WebhookEventType;
7093
+ time: number;
7094
+ integrationId: string;
7095
+ data: WebhookChatAnnotationsCompletedEventData;
7096
+ }
7097
+ /**
7098
+ * @public
7099
+ */
7100
+ export interface WebhookChatCompletedEvent {
7101
+ id: string;
7102
+ pbx?: string | undefined;
7103
+ company?: string | undefined;
7104
+ type: WebhookEventType;
7105
+ time: number;
7106
+ integrationId: string;
7107
+ data: ChatAnalyticsRecordEvent;
7108
+ }
7109
+ /**
7110
+ * @public
7111
+ */
7112
+ export interface WebhookChatLiveAnnotationEvent {
7113
+ id: string;
7114
+ pbx?: string | undefined;
7115
+ company?: string | undefined;
7116
+ type: WebhookEventType;
7117
+ time: number;
7118
+ integrationId: string;
7119
+ data: ChatAnalyticsLiveAnnotationEvent;
7120
+ }
7121
+ /**
7122
+ * @public
7123
+ */
7124
+ export interface WebhookChatLiveCompletedEvent {
7125
+ id: string;
7126
+ pbx?: string | undefined;
7127
+ company?: string | undefined;
7128
+ type: WebhookEventType;
7129
+ time: number;
7130
+ integrationId: string;
7131
+ data: ChatAnalyticsLiveCompleteEvent;
7132
+ }
7133
+ /**
7134
+ * @public
7135
+ */
7136
+ export interface WebhookChatLiveInterruptedEvent {
7137
+ id: string;
7138
+ pbx?: string | undefined;
7139
+ company?: string | undefined;
7140
+ type: WebhookEventType;
7141
+ time: number;
7142
+ integrationId: string;
7143
+ data: ChatAnalyticsLiveInterruptedEvent;
7144
+ }
@@ -1,93 +1,7 @@
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, 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";
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, WhatsAppStatusEventData } 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
- }
91
5
  /**
92
6
  * @public
93
7
  */
@@ -162,25 +76,6 @@ export interface WebhookConferenceCompletedEvent {
162
76
  integrationId: string;
163
77
  data: ConferenceAnalyticsRecordEvent;
164
78
  }
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
- }
184
79
  /**
185
80
  * @public
186
81
  */
@@ -513,6 +408,18 @@ export interface WebhookSmsStatusEvent {
513
408
  integrationId: string;
514
409
  data: SmsStatusConsumeEventData;
515
410
  }
411
+ /**
412
+ * @public
413
+ */
414
+ export interface WebhookWhatsAppStatusEvent {
415
+ id: string;
416
+ pbx?: string | undefined;
417
+ company?: string | undefined;
418
+ type: WebhookEventType;
419
+ time: number;
420
+ integrationId: string;
421
+ data: WhatsAppStatusEventData;
422
+ }
516
423
  /**
517
424
  * @public
518
425
  */
@@ -701,7 +608,6 @@ export interface DescribeEventOutput {
701
608
  WebhookCallTranscriptionCompletedEvent?: WebhookCallTranscriptionCompletedEvent | undefined;
702
609
  WebhookCallTranscriptionTextCompletedEvent?: WebhookCallTranscriptionTextCompletedEvent | undefined;
703
610
  WebhookCallAnnotationsCompletedEvent?: WebhookCallAnnotationsCompletedEvent | undefined;
704
- WebhookCallInsightsCompletedEvent?: WebhookCallInsightsCompletedEvent | undefined;
705
611
  WebhookCallSummaryCompletedEvent?: WebhookCallSummaryCompletedEvent | undefined;
706
612
  WebhookConferenceLiveProgressEvent?: WebhookConferenceLiveProgressEvent | undefined;
707
613
  WebhookConferenceLiveCompletedEvent?: WebhookConferenceLiveCompletedEvent | undefined;
@@ -714,7 +620,6 @@ export interface DescribeEventOutput {
714
620
  WebhookConferenceTranscriptionCompletedEvent?: WebhookConferenceTranscriptionCompletedEvent | undefined;
715
621
  WebhookConferenceTranscriptionTextCompletedEvent?: WebhookConferenceTranscriptionTextCompletedEvent | undefined;
716
622
  WebhookConferenceAnnotationsCompletedEvent?: WebhookConferenceAnnotationsCompletedEvent | undefined;
717
- WebhookConferenceInsightsCompletedEvent?: WebhookConferenceInsightsCompletedEvent | undefined;
718
623
  WebhookConferenceSummaryCompletedEvent?: WebhookConferenceSummaryCompletedEvent | undefined;
719
624
  WebhookServiceCallLiveProgressEvent?: WebhookServiceCallLiveProgressEvent | undefined;
720
625
  WebhookServiceCallLiveCompletedEvent?: WebhookServiceCallLiveCompletedEvent | undefined;
@@ -725,12 +630,12 @@ export interface DescribeEventOutput {
725
630
  WebhookChatManagerMissedEvent?: WebhookChatManagerMissedEvent | undefined;
726
631
  WebhookChatCompletedEvent?: WebhookChatCompletedEvent | undefined;
727
632
  WebhookChatAnnotationsCompletedEvent?: WebhookChatAnnotationsCompletedEvent | undefined;
728
- WebhookChatInsightsCompletedEvent?: WebhookChatInsightsCompletedEvent | undefined;
729
633
  WebhookChatSummaryCompletedEvent?: WebhookChatSummaryCompletedEvent | undefined;
730
634
  WebhookOutdatedCallStartEvent?: WebhookOutdatedCallStartEvent | undefined;
731
635
  WebhookOutdatedCallUpdateEvent?: WebhookOutdatedCallUpdateEvent | undefined;
732
636
  WebhookOutdatedCallEndEvent?: WebhookOutdatedCallEndEvent | undefined;
733
637
  WebhookSmsStatusEvent?: WebhookSmsStatusEvent | undefined;
638
+ WebhookWhatsAppStatusEvent?: WebhookWhatsAppStatusEvent | undefined;
734
639
  ServiceAnalyticsLiveProgressEvent?: ServiceAnalyticsLiveProgressEvent | undefined;
735
640
  ServiceAnalyticsLiveCompleteEvent?: ServiceAnalyticsLiveCompleteEvent | undefined;
736
641
  /**
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.71",
4
+ "version": "1.1.72",
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",