@wildix/wda-stream-client 1.1.58 → 1.1.59

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.
@@ -6246,11 +6246,19 @@ export declare const ServiceEventType: {
6246
6246
  * @public
6247
6247
  */
6248
6248
  export type ServiceEventType = typeof ServiceEventType[keyof typeof ServiceEventType];
6249
+ /**
6250
+ * @public
6251
+ */
6252
+ export interface WebhookCallAnnotationsCompletedEventData {
6253
+ call: CallRecord;
6254
+ annotations: (Annotation)[];
6255
+ }
6249
6256
  /**
6250
6257
  * @public
6251
6258
  * @enum
6252
6259
  */
6253
6260
  export declare const WebhookEventType: {
6261
+ readonly CALL_ANNOTATIONS_COMPLETED: "call:annotations:completed";
6254
6262
  readonly CALL_COMPLETED: "call:completed";
6255
6263
  readonly CALL_LIVE_ANNOTATION: "call:live:annotation";
6256
6264
  readonly CALL_LIVE_COMPLETED: "call:live:completed";
@@ -6264,6 +6272,7 @@ export declare const WebhookEventType: {
6264
6272
  readonly CALL_SUMMARY_COMPLETED: "call:summary:completed";
6265
6273
  readonly CALL_TRANSCRIPTION_COMPLETED: "call:transcription:completed";
6266
6274
  readonly CALL_TRANSCRIPTION_TEXT_COMPLETED: "call:transcription:text:completed";
6275
+ readonly CHAT_ANNOTATIONS_COMPLETED: "chat:annotations:completed";
6267
6276
  readonly CHAT_COMPLETED: "chat:completed";
6268
6277
  readonly CHAT_LIVE_ANNOTATION: "chat:live:annotation";
6269
6278
  readonly CHAT_LIVE_COMPLETED: "chat:live:completed";
@@ -6272,6 +6281,7 @@ export declare const WebhookEventType: {
6272
6281
  readonly CHAT_LIVE_PROGRESS: "chat:live:progress";
6273
6282
  readonly CHAT_MANAGER_MISSED: "chat:manager:missed";
6274
6283
  readonly CHAT_SUMMARY_COMPLETED: "chat:summary:completed";
6284
+ readonly CONFERENCE_ANNOTATIONS_COMPLETED: "conference:annotations:completed";
6275
6285
  readonly CONFERENCE_COMPLETED: "conference:completed";
6276
6286
  readonly CONFERENCE_LIVE_ANNOTATION: "conference:live:annotation";
6277
6287
  readonly CONFERENCE_LIVE_COMPLETED: "conference:live:completed";
@@ -6295,6 +6305,18 @@ export declare const WebhookEventType: {
6295
6305
  * @public
6296
6306
  */
6297
6307
  export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType];
6308
+ /**
6309
+ * @public
6310
+ */
6311
+ export interface WebhookCallAnnotationsCompletedEvent {
6312
+ id: string;
6313
+ pbx?: string | undefined;
6314
+ company?: string | undefined;
6315
+ type: WebhookEventType;
6316
+ time: number;
6317
+ integrationId: string;
6318
+ data: WebhookCallAnnotationsCompletedEventData;
6319
+ }
6298
6320
  /**
6299
6321
  * @public
6300
6322
  */
@@ -6472,6 +6494,25 @@ export interface WebhookCallTranscriptionTextCompletedEvent {
6472
6494
  integrationId: string;
6473
6495
  data: WebhookCallTranscriptionTextCompletedEventData;
6474
6496
  }
6497
+ /**
6498
+ * @public
6499
+ */
6500
+ export interface WebhookChatAnnotationsCompletedEventData {
6501
+ chat: ChatRecord;
6502
+ annotations: (Annotation)[];
6503
+ }
6504
+ /**
6505
+ * @public
6506
+ */
6507
+ export interface WebhookChatAnnotationsCompletedEvent {
6508
+ id: string;
6509
+ pbx?: string | undefined;
6510
+ company?: string | undefined;
6511
+ type: WebhookEventType;
6512
+ time: number;
6513
+ integrationId: string;
6514
+ data: WebhookChatAnnotationsCompletedEventData;
6515
+ }
6475
6516
  /**
6476
6517
  * @public
6477
6518
  */
@@ -6566,122 +6607,79 @@ export interface WebhookChatSummaryCompletedEvent {
6566
6607
  /**
6567
6608
  * @public
6568
6609
  */
6569
- export interface WebhookConferenceCompletedEvent {
6570
- id: string;
6571
- pbx?: string | undefined;
6572
- company?: string | undefined;
6573
- type: WebhookEventType;
6574
- time: number;
6575
- integrationId: string;
6576
- data: ConferenceAnalyticsRecordEvent;
6577
- }
6578
- /**
6579
- * @public
6580
- */
6581
- export interface WebhookConferenceLiveAnnotationEvent {
6582
- id: string;
6583
- pbx?: string | undefined;
6584
- company?: string | undefined;
6585
- type: WebhookEventType;
6586
- time: number;
6587
- integrationId: string;
6588
- data: ConferenceAnalyticsLiveAnnotationEvent;
6589
- }
6590
- /**
6591
- * @public
6592
- */
6593
- export interface WebhookConferenceLiveCompletedEvent {
6594
- id: string;
6595
- pbx?: string | undefined;
6596
- company?: string | undefined;
6597
- type: WebhookEventType;
6598
- time: number;
6599
- integrationId: string;
6600
- data: ConferenceAnalyticsLiveCompleteEvent;
6610
+ export interface WebhookConferenceAnnotationsCompletedEventData {
6611
+ conference: ConferenceRecord;
6612
+ annotations: (Annotation)[];
6601
6613
  }
6602
6614
  /**
6603
6615
  * @public
6604
6616
  */
6605
- export interface WebhookConferenceLiveInterruptedEvent {
6617
+ export interface WebhookConferenceAnnotationsCompletedEvent {
6606
6618
  id: string;
6607
6619
  pbx?: string | undefined;
6608
6620
  company?: string | undefined;
6609
6621
  type: WebhookEventType;
6610
6622
  time: number;
6611
6623
  integrationId: string;
6612
- data: ConferenceAnalyticsLiveInterruptedEvent;
6624
+ data: WebhookConferenceAnnotationsCompletedEventData;
6613
6625
  }
6614
6626
  /**
6615
6627
  * @public
6616
6628
  */
6617
- export interface WebhookConferenceLiveJoinEvent {
6629
+ export interface WebhookConferenceCompletedEvent {
6618
6630
  id: string;
6619
6631
  pbx?: string | undefined;
6620
6632
  company?: string | undefined;
6621
6633
  type: WebhookEventType;
6622
6634
  time: number;
6623
6635
  integrationId: string;
6624
- data: ConferenceAnalyticsLiveJoinEvent;
6636
+ data: ConferenceAnalyticsRecordEvent;
6625
6637
  }
6626
6638
  /**
6627
6639
  * @public
6628
6640
  */
6629
- export interface WebhookConferenceLiveLeaveEvent {
6641
+ export interface WebhookConferenceLiveAnnotationEvent {
6630
6642
  id: string;
6631
6643
  pbx?: string | undefined;
6632
6644
  company?: string | undefined;
6633
6645
  type: WebhookEventType;
6634
6646
  time: number;
6635
6647
  integrationId: string;
6636
- data: ConferenceAnalyticsLiveLeaveEvent;
6648
+ data: ConferenceAnalyticsLiveAnnotationEvent;
6637
6649
  }
6638
6650
  /**
6639
6651
  * @public
6640
6652
  */
6641
- export interface WebhookConferenceLiveProgressEvent {
6653
+ export interface WebhookConferenceLiveCompletedEvent {
6642
6654
  id: string;
6643
6655
  pbx?: string | undefined;
6644
6656
  company?: string | undefined;
6645
6657
  type: WebhookEventType;
6646
6658
  time: number;
6647
6659
  integrationId: string;
6648
- data: ConferenceAnalyticsLiveProgressEvent;
6660
+ data: ConferenceAnalyticsLiveCompleteEvent;
6649
6661
  }
6650
6662
  /**
6651
6663
  * @public
6652
6664
  */
6653
- export interface WebhookConferenceLiveTranscriptionEvent {
6665
+ export interface WebhookConferenceLiveInterruptedEvent {
6654
6666
  id: string;
6655
6667
  pbx?: string | undefined;
6656
6668
  company?: string | undefined;
6657
6669
  type: WebhookEventType;
6658
6670
  time: number;
6659
6671
  integrationId: string;
6660
- data: ConferenceAnalyticsLiveTranscriptionEvent;
6661
- }
6662
- /**
6663
- * @public
6664
- */
6665
- export interface WebhookConferenceSummaryCompletedEventData {
6666
- conference: ConferenceRecord;
6667
- summary: TranscriptionSummary;
6672
+ data: ConferenceAnalyticsLiveInterruptedEvent;
6668
6673
  }
6669
6674
  /**
6670
6675
  * @public
6671
6676
  */
6672
- export interface WebhookConferenceSummaryCompletedEvent {
6677
+ export interface WebhookConferenceLiveJoinEvent {
6673
6678
  id: string;
6674
6679
  pbx?: string | undefined;
6675
6680
  company?: string | undefined;
6676
6681
  type: WebhookEventType;
6677
6682
  time: number;
6678
6683
  integrationId: string;
6679
- data: WebhookConferenceSummaryCompletedEventData;
6680
- }
6681
- /**
6682
- * @public
6683
- */
6684
- export interface WebhookConferenceTranscriptionCompletedEventData {
6685
- conference: ConferenceRecord;
6686
- chunks: (TranscriptionTextChunk)[];
6684
+ data: ConferenceAnalyticsLiveJoinEvent;
6687
6685
  }
@@ -1,7 +1,69 @@
1
1
  import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
2
- import { CallAnalyticsAnnotationsRecordEvent, CallAnalyticsCostRecordEvent, CallAnalyticsLiveAnnotationEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallDevice, CallEventType, ChatAnalyticsAnnotationsRecordEvent, ChatAnalyticsLiveAnnotationEvent, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ConferenceAnalyticsAnnotationsRecordEvent, ConferenceAnalyticsLiveAnnotationEvent, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, ConferenceParticipant, ConferenceRecord, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, WebhookCallCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookChatCompletedEvent, WebhookChatLiveAnnotationEvent, WebhookChatLiveCompletedEvent, WebhookChatLiveInterruptedEvent, WebhookChatLiveProgressEvent, WebhookChatManagerMissedEvent, WebhookChatSummaryCompletedEvent, WebhookConferenceCompletedEvent, WebhookConferenceLiveAnnotationEvent, WebhookConferenceLiveCompletedEvent, WebhookConferenceLiveInterruptedEvent, WebhookConferenceLiveJoinEvent, WebhookConferenceLiveLeaveEvent, WebhookConferenceLiveProgressEvent, WebhookConferenceLiveTranscriptionEvent, WebhookConferenceSummaryCompletedEvent, WebhookConferenceTranscriptionCompletedEventData, WebhookEventType, WebsocketAuthorizeAction, WebsocketSubscribeAction, WebsocketTopic, WebsocketUnsubscribeAction } from "./models_0";
2
+ import { CallAnalyticsAnnotationsRecordEvent, CallAnalyticsCostRecordEvent, CallAnalyticsLiveAnnotationEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallDevice, CallEventType, ChatAnalyticsAnnotationsRecordEvent, ChatAnalyticsLiveAnnotationEvent, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ConferenceAnalyticsAnnotationsRecordEvent, ConferenceAnalyticsLiveAnnotationEvent, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, ConferenceParticipant, ConferenceRecord, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, TranscriptionSummary, TranscriptionTextChunk, WebhookCallAnnotationsCompletedEvent, WebhookCallCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookChatAnnotationsCompletedEvent, WebhookChatCompletedEvent, WebhookChatLiveAnnotationEvent, WebhookChatLiveCompletedEvent, WebhookChatLiveInterruptedEvent, WebhookChatLiveProgressEvent, WebhookChatManagerMissedEvent, WebhookChatSummaryCompletedEvent, WebhookConferenceAnnotationsCompletedEvent, WebhookConferenceCompletedEvent, WebhookConferenceLiveAnnotationEvent, WebhookConferenceLiveCompletedEvent, WebhookConferenceLiveInterruptedEvent, WebhookConferenceLiveJoinEvent, 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 WebhookConferenceLiveLeaveEvent {
9
+ id: string;
10
+ pbx?: string | undefined;
11
+ company?: string | undefined;
12
+ type: WebhookEventType;
13
+ time: number;
14
+ integrationId: string;
15
+ data: ConferenceAnalyticsLiveLeaveEvent;
16
+ }
17
+ /**
18
+ * @public
19
+ */
20
+ export interface WebhookConferenceLiveProgressEvent {
21
+ id: string;
22
+ pbx?: string | undefined;
23
+ company?: string | undefined;
24
+ type: WebhookEventType;
25
+ time: number;
26
+ integrationId: string;
27
+ data: ConferenceAnalyticsLiveProgressEvent;
28
+ }
29
+ /**
30
+ * @public
31
+ */
32
+ export interface WebhookConferenceLiveTranscriptionEvent {
33
+ id: string;
34
+ pbx?: string | undefined;
35
+ company?: string | undefined;
36
+ type: WebhookEventType;
37
+ time: number;
38
+ integrationId: string;
39
+ data: ConferenceAnalyticsLiveTranscriptionEvent;
40
+ }
41
+ /**
42
+ * @public
43
+ */
44
+ export interface WebhookConferenceSummaryCompletedEventData {
45
+ conference: ConferenceRecord;
46
+ summary: TranscriptionSummary;
47
+ }
48
+ /**
49
+ * @public
50
+ */
51
+ export interface WebhookConferenceSummaryCompletedEvent {
52
+ id: string;
53
+ pbx?: string | undefined;
54
+ company?: string | undefined;
55
+ type: WebhookEventType;
56
+ time: number;
57
+ integrationId: string;
58
+ data: WebhookConferenceSummaryCompletedEventData;
59
+ }
60
+ /**
61
+ * @public
62
+ */
63
+ export interface WebhookConferenceTranscriptionCompletedEventData {
64
+ conference: ConferenceRecord;
65
+ chunks: (TranscriptionTextChunk)[];
66
+ }
5
67
  /**
6
68
  * @public
7
69
  */
@@ -379,6 +441,7 @@ export interface DescribeEventOutput {
379
441
  WebhookCallCompletedEvent?: WebhookCallCompletedEvent | undefined;
380
442
  WebhookCallTranscriptionCompletedEvent?: WebhookCallTranscriptionCompletedEvent | undefined;
381
443
  WebhookCallTranscriptionTextCompletedEvent?: WebhookCallTranscriptionTextCompletedEvent | undefined;
444
+ WebhookCallAnnotationsCompletedEvent?: WebhookCallAnnotationsCompletedEvent | undefined;
382
445
  WebhookCallSummaryCompletedEvent?: WebhookCallSummaryCompletedEvent | undefined;
383
446
  WebhookConferenceLiveProgressEvent?: WebhookConferenceLiveProgressEvent | undefined;
384
447
  WebhookConferenceLiveCompletedEvent?: WebhookConferenceLiveCompletedEvent | undefined;
@@ -390,6 +453,7 @@ export interface DescribeEventOutput {
390
453
  WebhookConferenceCompletedEvent?: WebhookConferenceCompletedEvent | undefined;
391
454
  WebhookConferenceTranscriptionCompletedEvent?: WebhookConferenceTranscriptionCompletedEvent | undefined;
392
455
  WebhookConferenceTranscriptionTextCompletedEvent?: WebhookConferenceTranscriptionTextCompletedEvent | undefined;
456
+ WebhookConferenceAnnotationsCompletedEvent?: WebhookConferenceAnnotationsCompletedEvent | undefined;
393
457
  WebhookConferenceSummaryCompletedEvent?: WebhookConferenceSummaryCompletedEvent | undefined;
394
458
  WebhookChatLiveProgressEvent?: WebhookChatLiveProgressEvent | undefined;
395
459
  WebhookChatLiveCompletedEvent?: WebhookChatLiveCompletedEvent | undefined;
@@ -397,6 +461,7 @@ export interface DescribeEventOutput {
397
461
  WebhookChatLiveAnnotationEvent?: WebhookChatLiveAnnotationEvent | undefined;
398
462
  WebhookChatManagerMissedEvent?: WebhookChatManagerMissedEvent | undefined;
399
463
  WebhookChatCompletedEvent?: WebhookChatCompletedEvent | undefined;
464
+ WebhookChatAnnotationsCompletedEvent?: WebhookChatAnnotationsCompletedEvent | undefined;
400
465
  WebhookChatSummaryCompletedEvent?: WebhookChatSummaryCompletedEvent | undefined;
401
466
  WebhookOutdatedCallStartEvent?: WebhookOutdatedCallStartEvent | undefined;
402
467
  WebhookOutdatedCallUpdateEvent?: WebhookOutdatedCallUpdateEvent | undefined;
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.58",
4
+ "version": "1.1.59",
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",