@wildix/wda-stream-client 1.0.48 → 1.0.49

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.
@@ -84,7 +84,7 @@ export interface WhatsAppInboundEventData {
84
84
  */
85
85
  id: string;
86
86
  message: string;
87
- media?: (string)[];
87
+ media?: (string)[] | undefined;
88
88
  }
89
89
  /**
90
90
  * @public
@@ -111,21 +111,21 @@ export interface WhatsAppStatusEventData {
111
111
  id: string;
112
112
  status: WhatsAppStatus;
113
113
  reason: string;
114
- channel?: string;
115
- parts?: number;
114
+ channel?: string | undefined;
115
+ parts?: number | undefined;
116
116
  }
117
117
  /**
118
118
  * @public
119
119
  */
120
120
  export interface CallFlowAttachmentDestination {
121
- phone?: string;
122
- name?: string;
123
- email?: string;
124
- userId?: string;
125
- userExtension?: string;
126
- userDepartment?: string;
127
- groupId?: string;
128
- groupName?: string;
121
+ phone?: string | undefined;
122
+ name?: string | undefined;
123
+ email?: string | undefined;
124
+ userId?: string | undefined;
125
+ userExtension?: string | undefined;
126
+ userDepartment?: string | undefined;
127
+ groupId?: string | undefined;
128
+ groupName?: string | undefined;
129
129
  }
130
130
  /**
131
131
  * @public
@@ -161,14 +161,14 @@ export interface CallFlowFax {
161
161
  * Fax delivery status
162
162
  * @public
163
163
  */
164
- status?: CallFlowAttachmentStatus;
165
- destinations?: (CallFlowAttachmentDestination)[];
166
- owner?: CallRecordOwner;
164
+ status?: CallFlowAttachmentStatus | undefined;
165
+ destinations?: (CallFlowAttachmentDestination)[] | undefined;
166
+ owner?: CallRecordOwner | undefined;
167
167
  /**
168
168
  * Text with the reason for the error in case of unsuccessful fax delivery
169
169
  * @public
170
170
  */
171
- error?: string;
171
+ error?: string | undefined;
172
172
  }
173
173
  /**
174
174
  * @public
@@ -186,9 +186,9 @@ export type CallRecordPauseReason = typeof CallRecordPauseReason[keyof typeof Ca
186
186
  * @public
187
187
  */
188
188
  export interface CallRecordPause {
189
- start?: number;
190
- end?: number;
191
- reason?: CallRecordPauseReason;
189
+ start?: number | undefined;
190
+ end?: number | undefined;
191
+ reason?: CallRecordPauseReason | undefined;
192
192
  }
193
193
  /**
194
194
  * @public
@@ -206,8 +206,8 @@ export interface CallFlowRecording {
206
206
  */
207
207
  export interface CallFlowVoicemail {
208
208
  url: string;
209
- destinations?: (CallFlowAttachmentDestination)[];
210
- owner?: CallRecordOwner;
209
+ destinations?: (CallFlowAttachmentDestination)[] | undefined;
210
+ owner?: CallRecordOwner | undefined;
211
211
  }
212
212
  /**
213
213
  * @public
@@ -312,25 +312,26 @@ export type CallDevice = typeof CallDevice[keyof typeof CallDevice];
312
312
  */
313
313
  export interface CallParticipant {
314
314
  type: CallParticipantType;
315
- phone?: string;
316
- name?: string;
317
- company?: string;
318
- email?: string;
319
- userId?: string;
320
- userExtension?: string;
321
- userDepartment?: string;
322
- groupId?: string;
323
- groupName?: string;
324
- userAgent?: string;
325
- userDevice?: CallDevice;
315
+ phone?: string | undefined;
316
+ name?: string | undefined;
317
+ company?: string | undefined;
318
+ email?: string | undefined;
319
+ userId?: string | undefined;
320
+ userExtension?: string | undefined;
321
+ userDepartment?: string | undefined;
322
+ groupId?: string | undefined;
323
+ groupName?: string | undefined;
324
+ userAgent?: string | undefined;
325
+ userDevice?: CallDevice | undefined;
326
326
  role: CallParticipantRole;
327
- license?: string;
327
+ license?: string | undefined;
328
328
  }
329
329
  /**
330
330
  * @public
331
331
  * @enum
332
332
  */
333
333
  export declare const License: {
334
+ readonly UC: "uc";
334
335
  readonly XBEES: "x-bees";
335
336
  };
336
337
  /**
@@ -374,93 +375,93 @@ export interface CallRecord {
374
375
  * Duration when the called party's phone rang (Ring Time in UI)
375
376
  * @public
376
377
  */
377
- connectTime?: number;
378
+ connectTime?: number | undefined;
378
379
  /**
379
380
  * Duration of conversation from the moment the call is answered until it ends, excluding hold time
380
381
  * @public
381
382
  */
382
- talkTime?: number;
383
+ talkTime?: number | undefined;
383
384
  /**
384
385
  * Duration spent on IVR, dialplan applications, playback, etc. before the call is answered
385
386
  * @public
386
387
  */
387
- waitTime?: number;
388
+ waitTime?: number | undefined;
388
389
  /**
389
390
  * Duration of call waiting in queue
390
391
  * @public
391
392
  */
392
- queueTime?: number;
393
+ queueTime?: number | undefined;
393
394
  /**
394
395
  * Duration the call was on hold after being answered
395
396
  * @public
396
397
  */
397
- holdTime?: number;
398
+ holdTime?: number | undefined;
398
399
  /**
399
400
  * Total duration = connectTime + waitTime + queueTime + talkTime + holdTime
400
401
  * @public
401
402
  */
402
403
  duration: number;
403
- caller?: CallParticipant;
404
- callee?: CallParticipant;
405
- service?: string;
406
- serviceNumber?: string;
407
- destination?: string;
408
- direction?: CallDirection;
409
- trunkName?: string;
410
- trunkDirection?: string;
411
- queueName?: string;
412
- queueId?: string;
413
- tags?: (string)[];
414
- flags?: (string)[];
415
- callerMos?: string;
416
- calleeMos?: string;
417
- xhoppersConfId?: string;
404
+ caller?: CallParticipant | undefined;
405
+ callee?: CallParticipant | undefined;
406
+ service?: string | undefined;
407
+ serviceNumber?: string | undefined;
408
+ destination?: string | undefined;
409
+ direction?: CallDirection | undefined;
410
+ trunkName?: string | undefined;
411
+ trunkDirection?: string | undefined;
412
+ queueName?: string | undefined;
413
+ queueId?: string | undefined;
414
+ tags?: (string)[] | undefined;
415
+ flags?: (string)[] | undefined;
416
+ callerMos?: string | undefined;
417
+ calleeMos?: string | undefined;
418
+ xhoppersConfId?: string | undefined;
418
419
  /**
419
- * @deprecated
420
- *
421
420
  * Consider to use `attachments` instead.
421
+ *
422
+ * @deprecated
422
423
  * @public
423
424
  */
424
- recordings?: (string)[];
425
+ recordings?: (string)[] | undefined;
425
426
  /**
426
- * @deprecated
427
- *
428
427
  * Consider to use `attachments` instead.
428
+ *
429
+ * @deprecated
429
430
  * @public
430
431
  */
431
- recordingsData?: (CallFlowRecording)[];
432
- mergeWith?: string;
433
- splitReason?: string;
434
- splitTransferType?: string;
435
- remotePhone?: string;
436
- remotePhoneCountryCode?: number;
437
- remotePhoneCountryCodeStr?: string;
438
- remotePhoneLocation?: string;
439
- callStatus?: ConversationStatus;
440
- transcriptionStatus?: CallFlowTranscriptionStatus;
441
- transcriptionLanguage?: string;
432
+ recordingsData?: (CallFlowRecording)[] | undefined;
433
+ mergeWith?: string | undefined;
434
+ splitReason?: string | undefined;
435
+ splitTransferType?: string | undefined;
436
+ remotePhone?: string | undefined;
437
+ remotePhoneCountryCode?: number | undefined;
438
+ remotePhoneCountryCodeStr?: string | undefined;
439
+ remotePhoneLocation?: string | undefined;
440
+ callStatus?: ConversationStatus | undefined;
441
+ transcriptionStatus?: CallFlowTranscriptionStatus | undefined;
442
+ transcriptionLanguage?: string | undefined;
442
443
  /**
443
- * @deprecated
444
- *
445
444
  * Consider to use `attachments` instead.
445
+ *
446
+ * @deprecated
446
447
  * @public
447
448
  */
448
- attachment?: string;
449
+ attachment?: string | undefined;
449
450
  /**
450
- * @deprecated
451
- *
452
451
  * Consider to use `attachments` instead.
452
+ *
453
+ * @deprecated
453
454
  * @public
454
455
  */
455
- attachmentType?: CallFlowAttachmentType;
456
+ attachmentType?: CallFlowAttachmentType | undefined;
456
457
  /**
457
- * @deprecated
458
- *
459
458
  * Consider to use `attachments` instead.
459
+ *
460
+ * @deprecated
460
461
  * @public
461
462
  */
462
- attachmentDestinations?: (CallFlowAttachmentDestination)[];
463
- attachments?: (CallFlowAttachment)[];
463
+ attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
464
+ attachments?: (CallFlowAttachment)[] | undefined;
464
465
  id: string;
465
466
  pbx: string;
466
467
  time: number;
@@ -488,7 +489,7 @@ export interface CallTranscriptionChunk {
488
489
  time: number;
489
490
  speaker: CallTranscriptionSpeaker;
490
491
  text: string;
491
- language?: string;
492
+ language?: string | undefined;
492
493
  isFinal: boolean;
493
494
  start: number;
494
495
  end: number;
@@ -554,22 +555,22 @@ export type ConferenceParticipantType = typeof ConferenceParticipantType[keyof t
554
555
  */
555
556
  export interface ConferenceParticipant {
556
557
  type: ConferenceParticipantType;
557
- role?: ConferenceParticipantRole;
558
+ role?: ConferenceParticipantRole | undefined;
558
559
  /**
559
560
  * A unique identifier to avoid duplicates if user re-connect from different devices.
560
561
  * @public
561
562
  */
562
- jid?: string;
563
- name?: string;
564
- email?: string;
565
- phone?: string;
566
- department?: string;
567
- company?: string;
568
- pbxSerial?: string;
569
- pbxExtension?: string;
570
- pbxGroupId?: string;
571
- xbsId?: string;
572
- license?: PbxLicenseType;
563
+ jid?: string | undefined;
564
+ name?: string | undefined;
565
+ email?: string | undefined;
566
+ phone?: string | undefined;
567
+ department?: string | undefined;
568
+ company?: string | undefined;
569
+ pbxSerial?: string | undefined;
570
+ pbxExtension?: string | undefined;
571
+ pbxGroupId?: string | undefined;
572
+ xbsId?: string | undefined;
573
+ license?: PbxLicenseType | undefined;
573
574
  }
574
575
  /**
575
576
  * @public
@@ -608,19 +609,19 @@ export interface ConferenceRecord {
608
609
  id: string;
609
610
  time: number;
610
611
  company: string;
611
- pbx?: string;
612
+ pbx?: string | undefined;
612
613
  startTime: number;
613
614
  endTime: number;
614
615
  duration: number;
615
- waitTime?: number;
616
- subject?: string;
616
+ waitTime?: number | undefined;
617
+ subject?: string | undefined;
617
618
  direction: ConferenceDirection;
618
- service?: string;
619
- status?: ConversationStatus;
619
+ service?: string | undefined;
620
+ status?: ConversationStatus | undefined;
620
621
  participants: (ConferenceAnalyticsRecordParticipant)[];
621
- recordings?: (ConferenceRecording)[];
622
+ recordings?: (ConferenceRecording)[] | undefined;
622
623
  transcriptionStatus: ConferenceTranscriptionStatus;
623
- transcriptionLanguage?: string;
624
+ transcriptionLanguage?: string | undefined;
624
625
  type: RecordType;
625
626
  }
626
627
  /**
@@ -631,11 +632,11 @@ export interface ConferenceTranscriptionChunk {
631
632
  time: number;
632
633
  jid: string;
633
634
  text: string;
634
- language?: string;
635
+ language?: string | undefined;
635
636
  isFinal: boolean;
636
637
  start: number;
637
638
  end: number;
638
- sentiment?: string;
639
+ sentiment?: string | undefined;
639
640
  }
640
641
  /**
641
642
  * @public
@@ -663,34 +664,34 @@ export type InsightsQuality = typeof InsightsQuality[keyof typeof InsightsQualit
663
664
  * @public
664
665
  */
665
666
  export interface TranscriptionSummaryJson {
666
- callBriefVeryShortTitle?: string;
667
- callBrief?: string;
668
- customerInsights?: (string)[];
669
- keyPoints?: (string)[];
670
- competitiveInformation?: (string)[];
671
- implementationTimeline?: (string)[];
672
- budget?: (string)[];
673
- customerResponse?: (string)[];
674
- salesProposals?: (string)[];
675
- actionItems?: (string)[];
676
- nextSteps?: (string)[];
677
- topics?: (string)[];
678
- review?: (string)[];
679
- progress?: (string)[];
680
- issues?: (string)[];
681
- decisions?: (string)[];
682
- tags?: (string)[];
667
+ callBriefVeryShortTitle?: string | undefined;
668
+ callBrief?: string | undefined;
669
+ customerInsights?: (string)[] | undefined;
670
+ keyPoints?: (string)[] | undefined;
671
+ competitiveInformation?: (string)[] | undefined;
672
+ implementationTimeline?: (string)[] | undefined;
673
+ budget?: (string)[] | undefined;
674
+ customerResponse?: (string)[] | undefined;
675
+ salesProposals?: (string)[] | undefined;
676
+ actionItems?: (string)[] | undefined;
677
+ nextSteps?: (string)[] | undefined;
678
+ topics?: (string)[] | undefined;
679
+ review?: (string)[] | undefined;
680
+ progress?: (string)[] | undefined;
681
+ issues?: (string)[] | undefined;
682
+ decisions?: (string)[] | undefined;
683
+ tags?: (string)[] | undefined;
683
684
  }
684
685
  /**
685
686
  * @public
686
687
  */
687
688
  export interface TranscriptionSummary {
688
- text?: string;
689
- markdown?: string;
690
- title?: string;
691
- brief?: string;
692
- verbose?: string;
693
- json?: TranscriptionSummaryJson;
689
+ text?: string | undefined;
690
+ markdown?: string | undefined;
691
+ title?: string | undefined;
692
+ brief?: string | undefined;
693
+ verbose?: string | undefined;
694
+ json?: TranscriptionSummaryJson | undefined;
694
695
  locale: string;
695
696
  template: string;
696
697
  instance: string;
@@ -714,24 +715,24 @@ export interface ConferenceTimeFramesListItem {
714
715
  * @public
715
716
  */
716
717
  export interface CallFlowConsumeParticipant {
717
- phone?: string;
718
- name?: string;
719
- email?: string;
720
- company?: string;
721
- userId?: string;
722
- userExtension?: string;
723
- userDepartment?: string;
724
- userLicense?: string;
725
- groupId?: string;
726
- groupName?: string;
727
- device?: string;
718
+ phone?: string | undefined;
719
+ name?: string | undefined;
720
+ email?: string | undefined;
721
+ company?: string | undefined;
722
+ userId?: string | undefined;
723
+ userExtension?: string | undefined;
724
+ userDepartment?: string | undefined;
725
+ userLicense?: string | undefined;
726
+ groupId?: string | undefined;
727
+ groupName?: string | undefined;
728
+ device?: string | undefined;
728
729
  }
729
730
  /**
730
731
  * @public
731
732
  */
732
733
  export interface CallAgentsItemConsumeItem {
733
- agent?: string;
734
- info?: CallFlowConsumeParticipant;
734
+ agent?: string | undefined;
735
+ info?: CallFlowConsumeParticipant | undefined;
735
736
  }
736
737
  /**
737
738
  * @public
@@ -897,93 +898,93 @@ export interface CallAnalyticsLiveProgressEventFlow {
897
898
  * Duration when the called party's phone rang (Ring Time in UI)
898
899
  * @public
899
900
  */
900
- connectTime?: number;
901
+ connectTime?: number | undefined;
901
902
  /**
902
903
  * Duration of conversation from the moment the call is answered until it ends, excluding hold time
903
904
  * @public
904
905
  */
905
- talkTime?: number;
906
+ talkTime?: number | undefined;
906
907
  /**
907
908
  * Duration spent on IVR, dialplan applications, playback, etc. before the call is answered
908
909
  * @public
909
910
  */
910
- waitTime?: number;
911
+ waitTime?: number | undefined;
911
912
  /**
912
913
  * Duration of call waiting in queue
913
914
  * @public
914
915
  */
915
- queueTime?: number;
916
+ queueTime?: number | undefined;
916
917
  /**
917
918
  * Duration the call was on hold after being answered
918
919
  * @public
919
920
  */
920
- holdTime?: number;
921
+ holdTime?: number | undefined;
921
922
  /**
922
923
  * Total duration = connectTime + waitTime + queueTime + talkTime + holdTime
923
924
  * @public
924
925
  */
925
926
  duration: number;
926
- caller?: CallParticipant;
927
- callee?: CallParticipant;
928
- service?: string;
929
- serviceNumber?: string;
930
- destination?: string;
931
- direction?: CallDirection;
932
- trunkName?: string;
933
- trunkDirection?: string;
934
- queueName?: string;
935
- queueId?: string;
936
- tags?: (string)[];
937
- flags?: (string)[];
938
- callerMos?: string;
939
- calleeMos?: string;
940
- xhoppersConfId?: string;
927
+ caller?: CallParticipant | undefined;
928
+ callee?: CallParticipant | undefined;
929
+ service?: string | undefined;
930
+ serviceNumber?: string | undefined;
931
+ destination?: string | undefined;
932
+ direction?: CallDirection | undefined;
933
+ trunkName?: string | undefined;
934
+ trunkDirection?: string | undefined;
935
+ queueName?: string | undefined;
936
+ queueId?: string | undefined;
937
+ tags?: (string)[] | undefined;
938
+ flags?: (string)[] | undefined;
939
+ callerMos?: string | undefined;
940
+ calleeMos?: string | undefined;
941
+ xhoppersConfId?: string | undefined;
941
942
  /**
942
- * @deprecated
943
- *
944
943
  * Consider to use `attachments` instead.
944
+ *
945
+ * @deprecated
945
946
  * @public
946
947
  */
947
- recordings?: (string)[];
948
+ recordings?: (string)[] | undefined;
948
949
  /**
949
- * @deprecated
950
- *
951
950
  * Consider to use `attachments` instead.
951
+ *
952
+ * @deprecated
952
953
  * @public
953
954
  */
954
- recordingsData?: (CallFlowRecording)[];
955
- mergeWith?: string;
956
- splitReason?: string;
957
- splitTransferType?: string;
958
- remotePhone?: string;
959
- remotePhoneCountryCode?: number;
960
- remotePhoneCountryCodeStr?: string;
961
- remotePhoneLocation?: string;
962
- callStatus?: ConversationStatus;
963
- transcriptionStatus?: CallFlowTranscriptionStatus;
964
- transcriptionLanguage?: string;
955
+ recordingsData?: (CallFlowRecording)[] | undefined;
956
+ mergeWith?: string | undefined;
957
+ splitReason?: string | undefined;
958
+ splitTransferType?: string | undefined;
959
+ remotePhone?: string | undefined;
960
+ remotePhoneCountryCode?: number | undefined;
961
+ remotePhoneCountryCodeStr?: string | undefined;
962
+ remotePhoneLocation?: string | undefined;
963
+ callStatus?: ConversationStatus | undefined;
964
+ transcriptionStatus?: CallFlowTranscriptionStatus | undefined;
965
+ transcriptionLanguage?: string | undefined;
965
966
  /**
966
- * @deprecated
967
- *
968
967
  * Consider to use `attachments` instead.
968
+ *
969
+ * @deprecated
969
970
  * @public
970
971
  */
971
- attachment?: string;
972
+ attachment?: string | undefined;
972
973
  /**
973
- * @deprecated
974
- *
975
974
  * Consider to use `attachments` instead.
975
+ *
976
+ * @deprecated
976
977
  * @public
977
978
  */
978
- attachmentType?: CallFlowAttachmentType;
979
+ attachmentType?: CallFlowAttachmentType | undefined;
979
980
  /**
980
- * @deprecated
981
- *
982
981
  * Consider to use `attachments` instead.
982
+ *
983
+ * @deprecated
983
984
  * @public
984
985
  */
985
- attachmentDestinations?: (CallFlowAttachmentDestination)[];
986
- attachments?: (CallFlowAttachment)[];
986
+ attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
987
+ attachments?: (CallFlowAttachment)[] | undefined;
987
988
  status: CallFlowStatus;
988
989
  /**
989
990
  * Time of the last status change in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format.
@@ -1023,7 +1024,7 @@ export interface CallAnalyticsLiveTranscriptionEvent {
1023
1024
  flowStartTime: number;
1024
1025
  callStartTime: number;
1025
1026
  chunk: CallTranscriptionChunk;
1026
- participant?: CallParticipant;
1027
+ participant?: CallParticipant | undefined;
1027
1028
  }
1028
1029
  /**
1029
1030
  * @public
@@ -1048,93 +1049,93 @@ export interface CallAnalyticsRecordEventFlow {
1048
1049
  * Duration when the called party's phone rang (Ring Time in UI)
1049
1050
  * @public
1050
1051
  */
1051
- connectTime?: number;
1052
+ connectTime?: number | undefined;
1052
1053
  /**
1053
1054
  * Duration of conversation from the moment the call is answered until it ends, excluding hold time
1054
1055
  * @public
1055
1056
  */
1056
- talkTime?: number;
1057
+ talkTime?: number | undefined;
1057
1058
  /**
1058
1059
  * Duration spent on IVR, dialplan applications, playback, etc. before the call is answered
1059
1060
  * @public
1060
1061
  */
1061
- waitTime?: number;
1062
+ waitTime?: number | undefined;
1062
1063
  /**
1063
1064
  * Duration of call waiting in queue
1064
1065
  * @public
1065
1066
  */
1066
- queueTime?: number;
1067
+ queueTime?: number | undefined;
1067
1068
  /**
1068
1069
  * Duration the call was on hold after being answered
1069
1070
  * @public
1070
1071
  */
1071
- holdTime?: number;
1072
+ holdTime?: number | undefined;
1072
1073
  /**
1073
1074
  * Total duration = connectTime + waitTime + queueTime + talkTime + holdTime
1074
1075
  * @public
1075
1076
  */
1076
1077
  duration: number;
1077
- caller?: CallParticipant;
1078
- callee?: CallParticipant;
1079
- service?: string;
1080
- serviceNumber?: string;
1081
- destination?: string;
1082
- direction?: CallDirection;
1083
- trunkName?: string;
1084
- trunkDirection?: string;
1085
- queueName?: string;
1086
- queueId?: string;
1087
- tags?: (string)[];
1088
- flags?: (string)[];
1089
- callerMos?: string;
1090
- calleeMos?: string;
1091
- xhoppersConfId?: string;
1078
+ caller?: CallParticipant | undefined;
1079
+ callee?: CallParticipant | undefined;
1080
+ service?: string | undefined;
1081
+ serviceNumber?: string | undefined;
1082
+ destination?: string | undefined;
1083
+ direction?: CallDirection | undefined;
1084
+ trunkName?: string | undefined;
1085
+ trunkDirection?: string | undefined;
1086
+ queueName?: string | undefined;
1087
+ queueId?: string | undefined;
1088
+ tags?: (string)[] | undefined;
1089
+ flags?: (string)[] | undefined;
1090
+ callerMos?: string | undefined;
1091
+ calleeMos?: string | undefined;
1092
+ xhoppersConfId?: string | undefined;
1092
1093
  /**
1093
- * @deprecated
1094
- *
1095
1094
  * Consider to use `attachments` instead.
1095
+ *
1096
+ * @deprecated
1096
1097
  * @public
1097
1098
  */
1098
- recordings?: (string)[];
1099
+ recordings?: (string)[] | undefined;
1099
1100
  /**
1100
- * @deprecated
1101
- *
1102
1101
  * Consider to use `attachments` instead.
1102
+ *
1103
+ * @deprecated
1103
1104
  * @public
1104
1105
  */
1105
- recordingsData?: (CallFlowRecording)[];
1106
- mergeWith?: string;
1107
- splitReason?: string;
1108
- splitTransferType?: string;
1109
- remotePhone?: string;
1110
- remotePhoneCountryCode?: number;
1111
- remotePhoneCountryCodeStr?: string;
1112
- remotePhoneLocation?: string;
1113
- callStatus?: ConversationStatus;
1114
- transcriptionStatus?: CallFlowTranscriptionStatus;
1115
- transcriptionLanguage?: string;
1106
+ recordingsData?: (CallFlowRecording)[] | undefined;
1107
+ mergeWith?: string | undefined;
1108
+ splitReason?: string | undefined;
1109
+ splitTransferType?: string | undefined;
1110
+ remotePhone?: string | undefined;
1111
+ remotePhoneCountryCode?: number | undefined;
1112
+ remotePhoneCountryCodeStr?: string | undefined;
1113
+ remotePhoneLocation?: string | undefined;
1114
+ callStatus?: ConversationStatus | undefined;
1115
+ transcriptionStatus?: CallFlowTranscriptionStatus | undefined;
1116
+ transcriptionLanguage?: string | undefined;
1116
1117
  /**
1117
- * @deprecated
1118
- *
1119
1118
  * Consider to use `attachments` instead.
1119
+ *
1120
+ * @deprecated
1120
1121
  * @public
1121
1122
  */
1122
- attachment?: string;
1123
+ attachment?: string | undefined;
1123
1124
  /**
1124
- * @deprecated
1125
- *
1126
1125
  * Consider to use `attachments` instead.
1126
+ *
1127
+ * @deprecated
1127
1128
  * @public
1128
1129
  */
1129
- attachmentType?: CallFlowAttachmentType;
1130
+ attachmentType?: CallFlowAttachmentType | undefined;
1130
1131
  /**
1131
- * @deprecated
1132
- *
1133
1132
  * Consider to use `attachments` instead.
1133
+ *
1134
+ * @deprecated
1134
1135
  * @public
1135
1136
  */
1136
- attachmentDestinations?: (CallFlowAttachmentDestination)[];
1137
- attachments?: (CallFlowAttachment)[];
1137
+ attachmentDestinations?: (CallFlowAttachmentDestination)[] | undefined;
1138
+ attachments?: (CallFlowAttachment)[] | undefined;
1138
1139
  }
1139
1140
  /**
1140
1141
  * @public
@@ -1146,8 +1147,8 @@ export interface CallAnalyticsRecordEvent {
1146
1147
  company: string;
1147
1148
  licenses: (License)[];
1148
1149
  flows: (CallAnalyticsRecordEventFlow)[];
1149
- endCause?: string;
1150
- endCauseStr?: string;
1150
+ endCause?: string | undefined;
1151
+ endCauseStr?: string | undefined;
1151
1152
  endBy: CallEndBy;
1152
1153
  totalConnectTime: number;
1153
1154
  totalTalkTime: number;
@@ -1188,9 +1189,9 @@ export type CallFlowAttachmentConsumeType = typeof CallFlowAttachmentConsumeType
1188
1189
  export interface CallAttachmentConsumeEventData {
1189
1190
  type: CallFlowAttachmentConsumeType;
1190
1191
  url: string;
1191
- destinations?: (CallFlowAttachmentDestination)[];
1192
- status?: CallFlowAttachmentStatus;
1193
- error?: string;
1192
+ destinations?: (CallFlowAttachmentDestination)[] | undefined;
1193
+ status?: CallFlowAttachmentStatus | undefined;
1194
+ error?: string | undefined;
1194
1195
  }
1195
1196
  /**
1196
1197
  * @public
@@ -1219,17 +1220,17 @@ export type CallEndConsume = typeof CallEndConsume[keyof typeof CallEndConsume];
1219
1220
  * @public
1220
1221
  */
1221
1222
  export interface CallMosData {
1222
- caller?: string;
1223
- callee?: string;
1223
+ caller?: string | undefined;
1224
+ callee?: string | undefined;
1224
1225
  }
1225
1226
  /**
1226
1227
  * @public
1227
1228
  */
1228
1229
  export interface CallEndConsumeEventData {
1229
- mos?: CallMosData;
1230
- cause?: string;
1231
- causeStr?: string;
1232
- who?: CallEndConsume;
1230
+ mos?: CallMosData | undefined;
1231
+ cause?: string | undefined;
1232
+ causeStr?: string | undefined;
1233
+ who?: CallEndConsume | undefined;
1233
1234
  }
1234
1235
  /**
1235
1236
  * @public
@@ -1339,20 +1340,20 @@ export interface CallRecordStopConsumeEvent {
1339
1340
  * @public
1340
1341
  */
1341
1342
  export interface CallSplitConsumeEventData {
1342
- caller?: CallFlowConsumeParticipant;
1343
- callee?: CallFlowConsumeParticipant;
1344
- status?: CallFlowConsumeStatus;
1345
- destination?: string;
1346
- service?: string;
1347
- serviceNumber?: string;
1348
- trunk?: CallFlowConsumeTrunk;
1349
- queue?: CallFlowConsumeQueue;
1350
- tags?: (string)[];
1351
- flags?: (string)[];
1352
- mos?: CallMosData;
1353
- reason?: string;
1354
- transferType?: string;
1355
- mergeWith?: string;
1343
+ caller?: CallFlowConsumeParticipant | undefined;
1344
+ callee?: CallFlowConsumeParticipant | undefined;
1345
+ status?: CallFlowConsumeStatus | undefined;
1346
+ destination?: string | undefined;
1347
+ service?: string | undefined;
1348
+ serviceNumber?: string | undefined;
1349
+ trunk?: CallFlowConsumeTrunk | undefined;
1350
+ queue?: CallFlowConsumeQueue | undefined;
1351
+ tags?: (string)[] | undefined;
1352
+ flags?: (string)[] | undefined;
1353
+ mos?: CallMosData | undefined;
1354
+ reason?: string | undefined;
1355
+ transferType?: string | undefined;
1356
+ mergeWith?: string | undefined;
1356
1357
  }
1357
1358
  /**
1358
1359
  * @public
@@ -1369,17 +1370,17 @@ export interface CallSplitConsumeEvent {
1369
1370
  * @public
1370
1371
  */
1371
1372
  export interface CallStartConsumeEventData {
1372
- caller?: CallFlowConsumeParticipant;
1373
- callee?: CallFlowConsumeParticipant;
1374
- status?: CallFlowConsumeStatus;
1375
- destination?: string;
1376
- service?: string;
1377
- serviceNumber?: string;
1378
- trunk?: CallFlowConsumeTrunk;
1379
- queue?: CallFlowConsumeQueue;
1380
- tags?: (string)[];
1381
- flags?: (string)[];
1382
- licenses?: (License)[];
1373
+ caller?: CallFlowConsumeParticipant | undefined;
1374
+ callee?: CallFlowConsumeParticipant | undefined;
1375
+ status?: CallFlowConsumeStatus | undefined;
1376
+ destination?: string | undefined;
1377
+ service?: string | undefined;
1378
+ serviceNumber?: string | undefined;
1379
+ trunk?: CallFlowConsumeTrunk | undefined;
1380
+ queue?: CallFlowConsumeQueue | undefined;
1381
+ tags?: (string)[] | undefined;
1382
+ flags?: (string)[] | undefined;
1383
+ licenses?: (License)[] | undefined;
1383
1384
  }
1384
1385
  /**
1385
1386
  * @public
@@ -1404,7 +1405,7 @@ export interface CallTranscribeConsumeEventData {
1404
1405
  final: boolean;
1405
1406
  start: number;
1406
1407
  end: number;
1407
- sentiment?: string;
1408
+ sentiment?: string | undefined;
1408
1409
  }
1409
1410
  /**
1410
1411
  * @public
@@ -1421,17 +1422,17 @@ export interface CallTranscribeConsumeEvent {
1421
1422
  * @public
1422
1423
  */
1423
1424
  export interface CallUpdateConsumeEventData {
1424
- caller?: CallFlowConsumeParticipant;
1425
- callee?: CallFlowConsumeParticipant;
1426
- status?: CallFlowConsumeStatus;
1427
- destination?: string;
1428
- service?: string;
1429
- serviceNumber?: string;
1430
- trunk?: CallFlowConsumeTrunk;
1431
- queue?: CallFlowConsumeQueue;
1432
- tags?: (string)[];
1433
- flags?: (string)[];
1434
- mos?: CallMosData;
1425
+ caller?: CallFlowConsumeParticipant | undefined;
1426
+ callee?: CallFlowConsumeParticipant | undefined;
1427
+ status?: CallFlowConsumeStatus | undefined;
1428
+ destination?: string | undefined;
1429
+ service?: string | undefined;
1430
+ serviceNumber?: string | undefined;
1431
+ trunk?: CallFlowConsumeTrunk | undefined;
1432
+ queue?: CallFlowConsumeQueue | undefined;
1433
+ tags?: (string)[] | undefined;
1434
+ flags?: (string)[] | undefined;
1435
+ mos?: CallMosData | undefined;
1435
1436
  }
1436
1437
  /**
1437
1438
  * @public
@@ -1467,21 +1468,21 @@ export interface ChatAnalyticsLiveInterruptedEvent {
1467
1468
  */
1468
1469
  export interface User {
1469
1470
  id: string;
1470
- name?: string;
1471
- email?: string;
1472
- phone?: string;
1473
- picture?: string;
1474
- locale?: string;
1475
- timeZone?: string;
1476
- company?: string;
1477
- bot?: boolean;
1478
- pbxDomain?: string;
1479
- pbxPort?: string;
1480
- pbxExtension?: string;
1481
- pbxSerial?: string;
1482
- pbxUserId?: string;
1483
- createdAt?: string;
1484
- updatedAt?: string;
1471
+ name?: string | undefined;
1472
+ email?: string | undefined;
1473
+ phone?: string | undefined;
1474
+ picture?: string | undefined;
1475
+ locale?: string | undefined;
1476
+ timeZone?: string | undefined;
1477
+ company?: string | undefined;
1478
+ bot?: boolean | undefined;
1479
+ pbxDomain?: string | undefined;
1480
+ pbxPort?: string | undefined;
1481
+ pbxExtension?: string | undefined;
1482
+ pbxSerial?: string | undefined;
1483
+ pbxUserId?: string | undefined;
1484
+ createdAt?: string | undefined;
1485
+ updatedAt?: string | undefined;
1485
1486
  }
1486
1487
  /**
1487
1488
  * @public
@@ -1537,21 +1538,21 @@ export type ChatParticipantType = typeof ChatParticipantType[keyof typeof ChatPa
1537
1538
  */
1538
1539
  export interface ChatParticipant {
1539
1540
  id: string;
1540
- name?: string;
1541
- email?: string;
1542
- phone?: string;
1543
- picture?: string;
1544
- locale?: string;
1545
- timeZone?: string;
1546
- company?: string;
1547
- bot?: boolean;
1548
- pbxDomain?: string;
1549
- pbxPort?: string;
1550
- pbxExtension?: string;
1551
- pbxSerial?: string;
1552
- pbxUserId?: string;
1553
- createdAt?: string;
1554
- updatedAt?: string;
1541
+ name?: string | undefined;
1542
+ email?: string | undefined;
1543
+ phone?: string | undefined;
1544
+ picture?: string | undefined;
1545
+ locale?: string | undefined;
1546
+ timeZone?: string | undefined;
1547
+ company?: string | undefined;
1548
+ bot?: boolean | undefined;
1549
+ pbxDomain?: string | undefined;
1550
+ pbxPort?: string | undefined;
1551
+ pbxExtension?: string | undefined;
1552
+ pbxSerial?: string | undefined;
1553
+ pbxUserId?: string | undefined;
1554
+ createdAt?: string | undefined;
1555
+ updatedAt?: string | undefined;
1555
1556
  type: ChatParticipantType;
1556
1557
  role: ChatParticipantRole;
1557
1558
  }
@@ -1595,14 +1596,14 @@ export interface ChatAnalyticsLiveProgressEvent {
1595
1596
  channelId: string;
1596
1597
  channelType: ChannelType;
1597
1598
  subject: string;
1598
- service?: string;
1599
- serviceTitle?: string;
1599
+ service?: string | undefined;
1600
+ serviceTitle?: string | undefined;
1600
1601
  participants: (ChatParticipant)[];
1601
1602
  agents: (User)[];
1602
1603
  agentsCount: number;
1603
1604
  customers: (User)[];
1604
1605
  customersCount: number;
1605
- tags?: (ChatTag)[];
1606
+ tags?: (ChatTag)[] | undefined;
1606
1607
  direction: ChatDirection;
1607
1608
  status: ChatStatus;
1608
1609
  }
@@ -1630,14 +1631,14 @@ export interface ChatAnalyticsRecordEvent {
1630
1631
  time: number;
1631
1632
  company: string;
1632
1633
  type: string;
1633
- duration?: number;
1634
- subject?: string;
1635
- direction?: ChatDirection;
1636
- service?: string;
1637
- serviceTitle?: string;
1638
- tags?: (ChatTag)[];
1639
- status?: ChatStatus;
1640
- participants?: (ChatAnalyticsRecordParticipant)[];
1634
+ duration?: number | undefined;
1635
+ subject?: string | undefined;
1636
+ direction?: ChatDirection | undefined;
1637
+ service?: string | undefined;
1638
+ serviceTitle?: string | undefined;
1639
+ tags?: (ChatTag)[] | undefined;
1640
+ status?: ChatStatus | undefined;
1641
+ participants?: (ChatAnalyticsRecordParticipant)[] | undefined;
1641
1642
  }
1642
1643
  /**
1643
1644
  * @public
@@ -1690,10 +1691,10 @@ export interface ChatNewConsumeEventData {
1690
1691
  channelId: string;
1691
1692
  channelType: ChannelType;
1692
1693
  subject: string;
1693
- service?: string;
1694
- serviceTitle?: string;
1694
+ service?: string | undefined;
1695
+ serviceTitle?: string | undefined;
1695
1696
  participants: ChatConsumeEventParticipants;
1696
- tags?: (ChatTag)[];
1697
+ tags?: (ChatTag)[] | undefined;
1697
1698
  sender: User;
1698
1699
  }
1699
1700
  /**
@@ -1712,10 +1713,10 @@ export interface ChatUpdateConsumeEventData {
1712
1713
  channelId: string;
1713
1714
  channelType: ChannelType;
1714
1715
  subject: string;
1715
- service?: string;
1716
- serviceTitle?: string;
1716
+ service?: string | undefined;
1717
+ serviceTitle?: string | undefined;
1717
1718
  participants: ChatConsumeEventParticipants;
1718
- tags?: (ChatTag)[];
1719
+ tags?: (ChatTag)[] | undefined;
1719
1720
  }
1720
1721
  /**
1721
1722
  * @public
@@ -1734,7 +1735,7 @@ export interface ConferenceAnalyticsLiveCompleteEvent {
1734
1735
  time: number;
1735
1736
  company: string;
1736
1737
  event: LiveEventType;
1737
- room?: string;
1738
+ room?: string | undefined;
1738
1739
  }
1739
1740
  /**
1740
1741
  * @public
@@ -1744,7 +1745,7 @@ export interface ConferenceAnalyticsLiveInterruptedEvent {
1744
1745
  time: number;
1745
1746
  company: string;
1746
1747
  event: LiveEventType;
1747
- room?: string;
1748
+ room?: string | undefined;
1748
1749
  }
1749
1750
  /**
1750
1751
  * @public
@@ -1777,8 +1778,8 @@ export interface ConferenceAnalyticsLiveProgressEvent {
1777
1778
  start: string;
1778
1779
  subject: string;
1779
1780
  participants: (ConferenceParticipant)[];
1780
- transcriptionStatus?: ConferenceTranscriptionStatus;
1781
- transcriptionLanguage?: string;
1781
+ transcriptionStatus?: ConferenceTranscriptionStatus | undefined;
1782
+ transcriptionLanguage?: string | undefined;
1782
1783
  }
1783
1784
  /**
1784
1785
  * @public
@@ -1791,7 +1792,7 @@ export interface ConferenceAnalyticsLiveTranscriptionEvent {
1791
1792
  conferenceStartTime: number;
1792
1793
  transcriptionStartTime: number;
1793
1794
  chunk: ConferenceTranscriptionChunk;
1794
- participant?: ConferenceParticipant;
1795
+ participant?: ConferenceParticipant | undefined;
1795
1796
  }
1796
1797
  /**
1797
1798
  * @public
@@ -1800,21 +1801,21 @@ export interface ConferenceAnalyticsRecordEvent {
1800
1801
  id: string;
1801
1802
  time: number;
1802
1803
  company: string;
1803
- pbx?: string;
1804
+ pbx?: string | undefined;
1804
1805
  startTime: number;
1805
1806
  endTime: number;
1806
1807
  duration: number;
1807
- waitTime?: number;
1808
- subject?: string;
1808
+ waitTime?: number | undefined;
1809
+ subject?: string | undefined;
1809
1810
  direction: ConferenceDirection;
1810
- service?: string;
1811
- status?: ConversationStatus;
1811
+ service?: string | undefined;
1812
+ status?: ConversationStatus | undefined;
1812
1813
  participants: (ConferenceAnalyticsRecordParticipant)[];
1813
- recordings?: (ConferenceRecording)[];
1814
+ recordings?: (ConferenceRecording)[] | undefined;
1814
1815
  transcriptionStatus: ConferenceTranscriptionStatus;
1815
- transcriptionLanguage?: string;
1816
+ transcriptionLanguage?: string | undefined;
1816
1817
  type: LiveEventType;
1817
- transcriptions?: string;
1818
+ transcriptions?: string | undefined;
1818
1819
  }
1819
1820
  /**
1820
1821
  * @public
@@ -1833,8 +1834,8 @@ export interface ConferenceAnalyticsTranscriptionRecordEvent {
1833
1834
  company: string;
1834
1835
  transcriptions: (ConferenceTranscription)[];
1835
1836
  type: LiveEventType;
1836
- subject?: string;
1837
- participants?: Record<string, ConferenceParticipant>;
1837
+ subject?: string | undefined;
1838
+ participants?: Record<string, ConferenceParticipant> | undefined;
1838
1839
  }
1839
1840
  /**
1840
1841
  * @public
@@ -1900,16 +1901,16 @@ export type ConferenceEventType = typeof ConferenceEventType[keyof typeof Confer
1900
1901
  * @public
1901
1902
  */
1902
1903
  export interface ConferenceJoinConsumeEventData {
1903
- jid?: string;
1904
- name?: string;
1905
- email?: string;
1906
- company?: string;
1907
- department?: string;
1908
- pbxSerial?: string;
1909
- pbxExtension?: string;
1910
- pbxGroupId?: string;
1911
- license?: PbxLicenseType;
1912
- xbsId?: string;
1904
+ jid?: string | undefined;
1905
+ name?: string | undefined;
1906
+ email?: string | undefined;
1907
+ company?: string | undefined;
1908
+ department?: string | undefined;
1909
+ pbxSerial?: string | undefined;
1910
+ pbxExtension?: string | undefined;
1911
+ pbxGroupId?: string | undefined;
1912
+ license?: PbxLicenseType | undefined;
1913
+ xbsId?: string | undefined;
1913
1914
  }
1914
1915
  /**
1915
1916
  * @public
@@ -1933,7 +1934,7 @@ export interface ConferenceKeepAliveConsumeEvent {
1933
1934
  * @public
1934
1935
  */
1935
1936
  export interface ConferenceLeaveConsumeEventData {
1936
- jid?: string;
1937
+ jid?: string | undefined;
1937
1938
  }
1938
1939
  /**
1939
1940
  * @public
@@ -1949,7 +1950,7 @@ export interface ConferenceLeaveConsumeEvent {
1949
1950
  * @public
1950
1951
  */
1951
1952
  export interface ConferenceRecordStartConsumeEventData {
1952
- jid?: string;
1953
+ jid?: string | undefined;
1953
1954
  }
1954
1955
  /**
1955
1956
  * @public
@@ -1984,9 +1985,9 @@ export interface ConferenceRecordStopConsumeEvent {
1984
1985
  * @public
1985
1986
  */
1986
1987
  export interface ConferenceStartConsumeEventData {
1987
- company?: string;
1988
- pbx?: string;
1989
- subject?: string;
1988
+ company?: string | undefined;
1989
+ pbx?: string | undefined;
1990
+ subject?: string | undefined;
1990
1991
  }
1991
1992
  /**
1992
1993
  * @public
@@ -1996,9 +1997,9 @@ export interface ConferenceStartConsumeEvent {
1996
1997
  session: string;
1997
1998
  time: number;
1998
1999
  type: ConferenceConsumeEventType;
1999
- provider?: string;
2000
- direction?: ConferenceConsumeDirection;
2001
- service?: string;
2000
+ provider?: string | undefined;
2001
+ direction?: ConferenceConsumeDirection | undefined;
2002
+ service?: string | undefined;
2002
2003
  data: ConferenceStartConsumeEventData;
2003
2004
  }
2004
2005
  /**
@@ -2046,13 +2047,13 @@ export type ConferenceTranscriptionSentiment = typeof ConferenceTranscriptionSen
2046
2047
  export interface ConferenceTranscriptionConsumeEventData {
2047
2048
  id: string;
2048
2049
  jid: string;
2049
- language?: string;
2050
+ language?: string | undefined;
2050
2051
  text: string;
2051
2052
  time: number;
2052
2053
  start: number;
2053
2054
  end: number;
2054
- sentiment?: ConferenceTranscriptionSentiment;
2055
- final?: boolean;
2055
+ sentiment?: ConferenceTranscriptionSentiment | undefined;
2056
+ final?: boolean | undefined;
2056
2057
  }
2057
2058
  /**
2058
2059
  * @public
@@ -2068,14 +2069,14 @@ export interface ConferenceTranscriptionConsumeEvent {
2068
2069
  * @public
2069
2070
  */
2070
2071
  export interface PresenceConsumeEventData {
2071
- department?: string;
2072
- group?: string;
2073
- email?: string;
2074
- sourceId?: string;
2075
- status?: string;
2076
- location?: (string)[];
2077
- message?: string;
2078
- until?: string;
2072
+ department?: string | undefined;
2073
+ group?: string | undefined;
2074
+ email?: string | undefined;
2075
+ sourceId?: string | undefined;
2076
+ status?: string | undefined;
2077
+ location?: (string)[] | undefined;
2078
+ message?: string | undefined;
2079
+ until?: string | undefined;
2079
2080
  }
2080
2081
  /**
2081
2082
  * @public
@@ -2104,11 +2105,11 @@ export interface PresenceConsumeEvent {
2104
2105
  * @public
2105
2106
  */
2106
2107
  export interface PresenceTelephonyConsumeEventData {
2107
- department?: string;
2108
- group?: string;
2109
- email?: string;
2110
- sourceId?: string;
2111
- status?: string;
2108
+ department?: string | undefined;
2109
+ group?: string | undefined;
2110
+ email?: string | undefined;
2111
+ sourceId?: string | undefined;
2112
+ status?: string | undefined;
2112
2113
  }
2113
2114
  /**
2114
2115
  * @public
@@ -3298,9 +3299,9 @@ export type WebsocketTopic = typeof WebsocketTopic[keyof typeof WebsocketTopic];
3298
3299
  export interface WebsocketSubscribeAction {
3299
3300
  action: WebsocketAction;
3300
3301
  topic: WebsocketTopic;
3301
- filter?: (__DocumentType)[];
3302
- state?: boolean;
3303
- version?: string;
3302
+ filter?: (__DocumentType)[] | undefined;
3303
+ state?: boolean | undefined;
3304
+ version?: string | undefined;
3304
3305
  }
3305
3306
  /**
3306
3307
  * @public
@@ -3308,7 +3309,7 @@ export interface WebsocketSubscribeAction {
3308
3309
  export interface WebsocketUnsubscribeAction {
3309
3310
  action: WebsocketAction;
3310
3311
  topic: WebsocketTopic;
3311
- filter?: (__DocumentType)[];
3312
+ filter?: (__DocumentType)[] | undefined;
3312
3313
  }
3313
3314
  /**
3314
3315
  * @public
@@ -3334,13 +3335,13 @@ export interface WhatsAppStatusEvent {
3334
3335
  * @public
3335
3336
  */
3336
3337
  export interface DescribeEventInput {
3337
- SmsInboundEvent?: SmsInboundEvent;
3338
- SmsStatusEvent?: SmsStatusEvent;
3339
- WhatsAppInboundEvent?: WhatsAppInboundEvent;
3340
- WhatsAppStatusEvent?: WhatsAppStatusEvent;
3341
- WebsocketAuthorizeAction?: WebsocketAuthorizeAction;
3342
- WebsocketSubscribeAction?: WebsocketSubscribeAction;
3343
- WebsocketUnsubscribeAction?: WebsocketUnsubscribeAction;
3338
+ SmsInboundEvent?: SmsInboundEvent | undefined;
3339
+ SmsStatusEvent?: SmsStatusEvent | undefined;
3340
+ WhatsAppInboundEvent?: WhatsAppInboundEvent | undefined;
3341
+ WhatsAppStatusEvent?: WhatsAppStatusEvent | undefined;
3342
+ WebsocketAuthorizeAction?: WebsocketAuthorizeAction | undefined;
3343
+ WebsocketSubscribeAction?: WebsocketSubscribeAction | undefined;
3344
+ WebsocketUnsubscribeAction?: WebsocketUnsubscribeAction | undefined;
3344
3345
  }
3345
3346
  /**
3346
3347
  * @public
@@ -3358,51 +3359,51 @@ export type PresenceAnalyticsEventType = typeof PresenceAnalyticsEventType[keyof
3358
3359
  * @public
3359
3360
  */
3360
3361
  export interface PresenceAnalyticsConferenceEvent {
3361
- id?: string;
3362
- ext?: string;
3363
- type?: PresenceAnalyticsEventType;
3364
- time?: number;
3365
- pbx?: string;
3366
- company?: string;
3367
- email?: string;
3368
- status?: string;
3369
- sourceId?: string;
3370
- isJoined?: boolean;
3371
- isLeaved?: boolean;
3372
- participant?: ConferenceParticipant;
3362
+ id?: string | undefined;
3363
+ ext?: string | undefined;
3364
+ type?: PresenceAnalyticsEventType | undefined;
3365
+ time?: number | undefined;
3366
+ pbx?: string | undefined;
3367
+ company?: string | undefined;
3368
+ email?: string | undefined;
3369
+ status?: string | undefined;
3370
+ sourceId?: string | undefined;
3371
+ isJoined?: boolean | undefined;
3372
+ isLeaved?: boolean | undefined;
3373
+ participant?: ConferenceParticipant | undefined;
3373
3374
  }
3374
3375
  /**
3375
3376
  * @public
3376
3377
  */
3377
3378
  export interface PresenceAnalyticsStatusEvent {
3378
- id?: string;
3379
- ext?: string;
3380
- type?: PresenceAnalyticsEventType;
3381
- time?: number;
3382
- pbx?: string;
3383
- company?: string;
3384
- email?: string;
3385
- status?: string;
3386
- sourceId?: string;
3387
- locationAddress?: string;
3388
- locationLat?: string;
3389
- locationLng?: string;
3390
- message?: string;
3391
- until?: string;
3379
+ id?: string | undefined;
3380
+ ext?: string | undefined;
3381
+ type?: PresenceAnalyticsEventType | undefined;
3382
+ time?: number | undefined;
3383
+ pbx?: string | undefined;
3384
+ company?: string | undefined;
3385
+ email?: string | undefined;
3386
+ status?: string | undefined;
3387
+ sourceId?: string | undefined;
3388
+ locationAddress?: string | undefined;
3389
+ locationLat?: string | undefined;
3390
+ locationLng?: string | undefined;
3391
+ message?: string | undefined;
3392
+ until?: string | undefined;
3392
3393
  }
3393
3394
  /**
3394
3395
  * @public
3395
3396
  */
3396
3397
  export interface PresenceAnalyticsTelephonyEvent {
3397
- id?: string;
3398
- ext?: string;
3399
- type?: PresenceAnalyticsEventType;
3400
- time?: number;
3401
- pbx?: string;
3402
- company?: string;
3403
- email?: string;
3404
- status?: string;
3405
- sourceId?: string;
3398
+ id?: string | undefined;
3399
+ ext?: string | undefined;
3400
+ type?: PresenceAnalyticsEventType | undefined;
3401
+ time?: number | undefined;
3402
+ pbx?: string | undefined;
3403
+ company?: string | undefined;
3404
+ email?: string | undefined;
3405
+ status?: string | undefined;
3406
+ sourceId?: string | undefined;
3406
3407
  }
3407
3408
  /**
3408
3409
  * @public
@@ -3462,8 +3463,8 @@ export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEvent
3462
3463
  */
3463
3464
  export interface WebhookCallCompletedEvent {
3464
3465
  id: string;
3465
- pbx?: string;
3466
- company?: string;
3466
+ pbx?: string | undefined;
3467
+ company?: string | undefined;
3467
3468
  type: WebhookEventType;
3468
3469
  time: number;
3469
3470
  integrationId: string;
@@ -3474,8 +3475,8 @@ export interface WebhookCallCompletedEvent {
3474
3475
  */
3475
3476
  export interface WebhookCallLiveCompletedEvent {
3476
3477
  id: string;
3477
- pbx?: string;
3478
- company?: string;
3478
+ pbx?: string | undefined;
3479
+ company?: string | undefined;
3479
3480
  type: WebhookEventType;
3480
3481
  time: number;
3481
3482
  integrationId: string;
@@ -3486,8 +3487,8 @@ export interface WebhookCallLiveCompletedEvent {
3486
3487
  */
3487
3488
  export interface WebhookCallLiveInterruptedEvent {
3488
3489
  id: string;
3489
- pbx?: string;
3490
- company?: string;
3490
+ pbx?: string | undefined;
3491
+ company?: string | undefined;
3491
3492
  type: WebhookEventType;
3492
3493
  time: number;
3493
3494
  integrationId: string;
@@ -3498,8 +3499,8 @@ export interface WebhookCallLiveInterruptedEvent {
3498
3499
  */
3499
3500
  export interface WebhookCallLiveProgressEvent {
3500
3501
  id: string;
3501
- pbx?: string;
3502
- company?: string;
3502
+ pbx?: string | undefined;
3503
+ company?: string | undefined;
3503
3504
  type: WebhookEventType;
3504
3505
  time: number;
3505
3506
  integrationId: string;
@@ -3510,8 +3511,8 @@ export interface WebhookCallLiveProgressEvent {
3510
3511
  */
3511
3512
  export interface WebhookCallLiveTranscriptionEvent {
3512
3513
  id: string;
3513
- pbx?: string;
3514
- company?: string;
3514
+ pbx?: string | undefined;
3515
+ company?: string | undefined;
3515
3516
  type: WebhookEventType;
3516
3517
  time: number;
3517
3518
  integrationId: string;
@@ -3529,8 +3530,8 @@ export interface WebhookCallSummaryCompletedEventData {
3529
3530
  */
3530
3531
  export interface WebhookCallSummaryCompletedEvent {
3531
3532
  id: string;
3532
- pbx?: string;
3533
- company?: string;
3533
+ pbx?: string | undefined;
3534
+ company?: string | undefined;
3534
3535
  type: WebhookEventType;
3535
3536
  time: number;
3536
3537
  integrationId: string;
@@ -3548,8 +3549,8 @@ export interface WebhookCallTranscriptionCompletedEventData {
3548
3549
  */
3549
3550
  export interface WebhookCallTranscriptionCompletedEvent {
3550
3551
  id: string;
3551
- pbx?: string;
3552
- company?: string;
3552
+ pbx?: string | undefined;
3553
+ company?: string | undefined;
3553
3554
  type: WebhookEventType;
3554
3555
  time: number;
3555
3556
  integrationId: string;
@@ -3567,8 +3568,8 @@ export interface WebhookCallTranscriptionTextCompletedEventData {
3567
3568
  */
3568
3569
  export interface WebhookCallTranscriptionTextCompletedEvent {
3569
3570
  id: string;
3570
- pbx?: string;
3571
- company?: string;
3571
+ pbx?: string | undefined;
3572
+ company?: string | undefined;
3572
3573
  type: WebhookEventType;
3573
3574
  time: number;
3574
3575
  integrationId: string;
@@ -3579,8 +3580,8 @@ export interface WebhookCallTranscriptionTextCompletedEvent {
3579
3580
  */
3580
3581
  export interface WebhookChatCompletedEvent {
3581
3582
  id: string;
3582
- pbx?: string;
3583
- company?: string;
3583
+ pbx?: string | undefined;
3584
+ company?: string | undefined;
3584
3585
  type: WebhookEventType;
3585
3586
  time: number;
3586
3587
  integrationId: string;
@@ -3591,8 +3592,8 @@ export interface WebhookChatCompletedEvent {
3591
3592
  */
3592
3593
  export interface WebhookChatLiveCompletedEvent {
3593
3594
  id: string;
3594
- pbx?: string;
3595
- company?: string;
3595
+ pbx?: string | undefined;
3596
+ company?: string | undefined;
3596
3597
  type: WebhookEventType;
3597
3598
  time: number;
3598
3599
  integrationId: string;
@@ -3603,8 +3604,8 @@ export interface WebhookChatLiveCompletedEvent {
3603
3604
  */
3604
3605
  export interface WebhookChatLiveInterruptedEvent {
3605
3606
  id: string;
3606
- pbx?: string;
3607
- company?: string;
3607
+ pbx?: string | undefined;
3608
+ company?: string | undefined;
3608
3609
  type: WebhookEventType;
3609
3610
  time: number;
3610
3611
  integrationId: string;
@@ -3615,8 +3616,8 @@ export interface WebhookChatLiveInterruptedEvent {
3615
3616
  */
3616
3617
  export interface WebhookChatLiveProgressEvent {
3617
3618
  id: string;
3618
- pbx?: string;
3619
- company?: string;
3619
+ pbx?: string | undefined;
3620
+ company?: string | undefined;
3620
3621
  type: WebhookEventType;
3621
3622
  time: number;
3622
3623
  integrationId: string;
@@ -3627,8 +3628,8 @@ export interface WebhookChatLiveProgressEvent {
3627
3628
  */
3628
3629
  export interface WebhookChatManagerMissedEvent {
3629
3630
  id: string;
3630
- pbx?: string;
3631
- company?: string;
3631
+ pbx?: string | undefined;
3632
+ company?: string | undefined;
3632
3633
  type: WebhookEventType;
3633
3634
  time: number;
3634
3635
  integrationId: string;
@@ -3639,8 +3640,8 @@ export interface WebhookChatManagerMissedEvent {
3639
3640
  */
3640
3641
  export interface WebhookConferenceCompletedEvent {
3641
3642
  id: string;
3642
- pbx?: string;
3643
- company?: string;
3643
+ pbx?: string | undefined;
3644
+ company?: string | undefined;
3644
3645
  type: WebhookEventType;
3645
3646
  time: number;
3646
3647
  integrationId: string;
@@ -3651,8 +3652,8 @@ export interface WebhookConferenceCompletedEvent {
3651
3652
  */
3652
3653
  export interface WebhookConferenceLiveCompletedEvent {
3653
3654
  id: string;
3654
- pbx?: string;
3655
- company?: string;
3655
+ pbx?: string | undefined;
3656
+ company?: string | undefined;
3656
3657
  type: WebhookEventType;
3657
3658
  time: number;
3658
3659
  integrationId: string;
@@ -3663,8 +3664,8 @@ export interface WebhookConferenceLiveCompletedEvent {
3663
3664
  */
3664
3665
  export interface WebhookConferenceLiveInterruptedEvent {
3665
3666
  id: string;
3666
- pbx?: string;
3667
- company?: string;
3667
+ pbx?: string | undefined;
3668
+ company?: string | undefined;
3668
3669
  type: WebhookEventType;
3669
3670
  time: number;
3670
3671
  integrationId: string;
@@ -3675,8 +3676,8 @@ export interface WebhookConferenceLiveInterruptedEvent {
3675
3676
  */
3676
3677
  export interface WebhookConferenceLiveJoinEvent {
3677
3678
  id: string;
3678
- pbx?: string;
3679
- company?: string;
3679
+ pbx?: string | undefined;
3680
+ company?: string | undefined;
3680
3681
  type: WebhookEventType;
3681
3682
  time: number;
3682
3683
  integrationId: string;
@@ -3687,8 +3688,8 @@ export interface WebhookConferenceLiveJoinEvent {
3687
3688
  */
3688
3689
  export interface WebhookConferenceLiveLeaveEvent {
3689
3690
  id: string;
3690
- pbx?: string;
3691
- company?: string;
3691
+ pbx?: string | undefined;
3692
+ company?: string | undefined;
3692
3693
  type: WebhookEventType;
3693
3694
  time: number;
3694
3695
  integrationId: string;
@@ -3699,8 +3700,8 @@ export interface WebhookConferenceLiveLeaveEvent {
3699
3700
  */
3700
3701
  export interface WebhookConferenceLiveProgressEvent {
3701
3702
  id: string;
3702
- pbx?: string;
3703
- company?: string;
3703
+ pbx?: string | undefined;
3704
+ company?: string | undefined;
3704
3705
  type: WebhookEventType;
3705
3706
  time: number;
3706
3707
  integrationId: string;
@@ -3711,8 +3712,8 @@ export interface WebhookConferenceLiveProgressEvent {
3711
3712
  */
3712
3713
  export interface WebhookConferenceLiveTranscriptionEvent {
3713
3714
  id: string;
3714
- pbx?: string;
3715
- company?: string;
3715
+ pbx?: string | undefined;
3716
+ company?: string | undefined;
3716
3717
  type: WebhookEventType;
3717
3718
  time: number;
3718
3719
  integrationId: string;
@@ -3730,8 +3731,8 @@ export interface WebhookConferenceSummaryCompletedEventData {
3730
3731
  */
3731
3732
  export interface WebhookConferenceSummaryCompletedEvent {
3732
3733
  id: string;
3733
- pbx?: string;
3734
- company?: string;
3734
+ pbx?: string | undefined;
3735
+ company?: string | undefined;
3735
3736
  type: WebhookEventType;
3736
3737
  time: number;
3737
3738
  integrationId: string;
@@ -3749,8 +3750,8 @@ export interface WebhookConferenceTranscriptionCompletedEventData {
3749
3750
  */
3750
3751
  export interface WebhookConferenceTranscriptionCompletedEvent {
3751
3752
  id: string;
3752
- pbx?: string;
3753
- company?: string;
3753
+ pbx?: string | undefined;
3754
+ company?: string | undefined;
3754
3755
  type: WebhookEventType;
3755
3756
  time: number;
3756
3757
  integrationId: string;
@@ -3768,8 +3769,8 @@ export interface WebhookConferenceTranscriptionTextCompletedEventData {
3768
3769
  */
3769
3770
  export interface WebhookConferenceTranscriptionTextCompletedEvent {
3770
3771
  id: string;
3771
- pbx?: string;
3772
- company?: string;
3772
+ pbx?: string | undefined;
3773
+ company?: string | undefined;
3773
3774
  type: WebhookEventType;
3774
3775
  time: number;
3775
3776
  integrationId: string;
@@ -3780,45 +3781,45 @@ export interface WebhookConferenceTranscriptionTextCompletedEvent {
3780
3781
  */
3781
3782
  export interface WebhookOutdatedCallParticipant {
3782
3783
  type: string;
3783
- phone?: string;
3784
- name?: string;
3785
- company?: string;
3786
- email?: string;
3787
- userId?: string;
3788
- userExtension?: string;
3789
- userDepartment?: string;
3790
- groupId?: string;
3791
- groupName?: string;
3792
- userAgent?: string;
3793
- userDevice?: CallDevice;
3784
+ phone?: string | undefined;
3785
+ name?: string | undefined;
3786
+ company?: string | undefined;
3787
+ email?: string | undefined;
3788
+ userId?: string | undefined;
3789
+ userExtension?: string | undefined;
3790
+ userDepartment?: string | undefined;
3791
+ groupId?: string | undefined;
3792
+ groupName?: string | undefined;
3793
+ userAgent?: string | undefined;
3794
+ userDevice?: CallDevice | undefined;
3794
3795
  role: string;
3795
- license?: string;
3796
+ license?: string | undefined;
3796
3797
  }
3797
3798
  /**
3798
3799
  * @public
3799
3800
  */
3800
3801
  export interface WebhookOutdatedCallEventData {
3801
- status?: string;
3802
- caller?: WebhookOutdatedCallParticipant;
3803
- callee?: WebhookOutdatedCallParticipant;
3804
- service?: string;
3805
- destination?: string;
3806
- trunkName?: string;
3807
- queueId?: string;
3808
- queueName?: string;
3802
+ status?: string | undefined;
3803
+ caller?: WebhookOutdatedCallParticipant | undefined;
3804
+ callee?: WebhookOutdatedCallParticipant | undefined;
3805
+ service?: string | undefined;
3806
+ destination?: string | undefined;
3807
+ trunkName?: string | undefined;
3808
+ queueId?: string | undefined;
3809
+ queueName?: string | undefined;
3809
3810
  tags: (string)[];
3810
3811
  flags: (string)[];
3811
- endCause?: string;
3812
- endCauseStr?: string;
3813
- endBy?: string;
3812
+ endCause?: string | undefined;
3813
+ endCauseStr?: string | undefined;
3814
+ endBy?: string | undefined;
3814
3815
  }
3815
3816
  /**
3816
3817
  * @public
3817
3818
  */
3818
3819
  export interface WebhookOutdatedCallEndEvent {
3819
3820
  id: string;
3820
- pbx?: string;
3821
- company?: string;
3821
+ pbx?: string | undefined;
3822
+ company?: string | undefined;
3822
3823
  type: WebhookEventType;
3823
3824
  time: number;
3824
3825
  integrationId: string;
@@ -3829,8 +3830,8 @@ export interface WebhookOutdatedCallEndEvent {
3829
3830
  */
3830
3831
  export interface WebhookOutdatedCallStartEvent {
3831
3832
  id: string;
3832
- pbx?: string;
3833
- company?: string;
3833
+ pbx?: string | undefined;
3834
+ company?: string | undefined;
3834
3835
  type: WebhookEventType;
3835
3836
  time: number;
3836
3837
  integrationId: string;
@@ -3841,8 +3842,8 @@ export interface WebhookOutdatedCallStartEvent {
3841
3842
  */
3842
3843
  export interface WebhookOutdatedCallUpdateEvent {
3843
3844
  id: string;
3844
- pbx?: string;
3845
- company?: string;
3845
+ pbx?: string | undefined;
3846
+ company?: string | undefined;
3846
3847
  type: WebhookEventType;
3847
3848
  time: number;
3848
3849
  integrationId: string;
@@ -3862,8 +3863,8 @@ export interface WebhookPresenceConferenceEventData {
3862
3863
  */
3863
3864
  export interface WebhookPresenceConferenceEvent {
3864
3865
  id: string;
3865
- pbx?: string;
3866
- company?: string;
3866
+ pbx?: string | undefined;
3867
+ company?: string | undefined;
3867
3868
  type: WebhookEventType;
3868
3869
  time: number;
3869
3870
  integrationId: string;
@@ -3883,8 +3884,8 @@ export interface WebhookPresenceTelephonyEventData {
3883
3884
  */
3884
3885
  export interface WebhookPresenceTelephonyEvent {
3885
3886
  id: string;
3886
- pbx?: string;
3887
- company?: string;
3887
+ pbx?: string | undefined;
3888
+ company?: string | undefined;
3888
3889
  type: WebhookEventType;
3889
3890
  time: number;
3890
3891
  integrationId: string;
@@ -3915,8 +3916,8 @@ export interface WebhookPresenceUserEventData {
3915
3916
  */
3916
3917
  export interface WebhookPresenceUserEvent {
3917
3918
  id: string;
3918
- pbx?: string;
3919
- company?: string;
3919
+ pbx?: string | undefined;
3920
+ company?: string | undefined;
3920
3921
  type: WebhookEventType;
3921
3922
  time: number;
3922
3923
  integrationId: string;
@@ -3926,12 +3927,12 @@ export interface WebhookPresenceUserEvent {
3926
3927
  * @public
3927
3928
  */
3928
3929
  export interface WebsocketAuthorizeBadRequestException {
3929
- event?: string;
3930
- requestId?: string;
3931
- connectionId?: string;
3932
- message?: string;
3933
- code?: number;
3934
- source?: WebsocketAuthorizeAction;
3930
+ event?: string | undefined;
3931
+ requestId?: string | undefined;
3932
+ connectionId?: string | undefined;
3933
+ message?: string | undefined;
3934
+ code?: number | undefined;
3935
+ source?: WebsocketAuthorizeAction | undefined;
3935
3936
  }
3936
3937
  /**
3937
3938
  * @public
@@ -3954,7 +3955,7 @@ export interface WebsocketAuthorizedEvent {
3954
3955
  event: WebsocketEvent;
3955
3956
  connectionId: string;
3956
3957
  requestId: string;
3957
- duration?: __DocumentType;
3958
+ duration?: __DocumentType | undefined;
3958
3959
  }
3959
3960
  /**
3960
3961
  * @public
@@ -3963,30 +3964,30 @@ export interface WebsocketConversationsBroadcastEvent {
3963
3964
  event: WebsocketEvent;
3964
3965
  topic: WebsocketTopic;
3965
3966
  data: __DocumentType;
3966
- meta?: __DocumentType;
3967
+ meta?: __DocumentType | undefined;
3967
3968
  }
3968
3969
  /**
3969
3970
  * @public
3970
3971
  */
3971
3972
  export interface WebsocketPresenceData {
3972
- id?: string;
3973
- company?: string;
3974
- extension?: string;
3975
- status?: string;
3976
- telephony?: string;
3977
- conference?: string;
3978
- message?: string;
3979
- until?: string;
3980
- address?: string;
3981
- lng?: string;
3982
- lat?: string;
3983
- seen?: string;
3973
+ id?: string | undefined;
3974
+ company?: string | undefined;
3975
+ extension?: string | undefined;
3976
+ status?: string | undefined;
3977
+ telephony?: string | undefined;
3978
+ conference?: string | undefined;
3979
+ message?: string | undefined;
3980
+ until?: string | undefined;
3981
+ address?: string | undefined;
3982
+ lng?: string | undefined;
3983
+ lat?: string | undefined;
3984
+ seen?: string | undefined;
3984
3985
  }
3985
3986
  /**
3986
3987
  * @public
3987
3988
  */
3988
3989
  export interface WebsocketPresenceDataList {
3989
- member?: WebsocketPresenceData;
3990
+ member?: WebsocketPresenceData | undefined;
3990
3991
  }
3991
3992
  /**
3992
3993
  * @public
@@ -3994,20 +3995,20 @@ export interface WebsocketPresenceDataList {
3994
3995
  export interface WebsocketPresenceBroadcastEvent {
3995
3996
  event: WebsocketEvent;
3996
3997
  topic: WebsocketTopic;
3997
- delta?: WebsocketPresenceData;
3998
- data?: WebsocketPresenceDataList;
3999
- meta?: __DocumentType;
3998
+ delta?: WebsocketPresenceData | undefined;
3999
+ data?: WebsocketPresenceDataList | undefined;
4000
+ meta?: __DocumentType | undefined;
4000
4001
  }
4001
4002
  /**
4002
4003
  * @public
4003
4004
  */
4004
4005
  export interface WebsocketSubscribeBadRequestException {
4005
- event?: string;
4006
- requestId?: string;
4007
- connectionId?: string;
4008
- message?: string;
4009
- code?: number;
4010
- source?: WebsocketSubscribeAction;
4006
+ event?: string | undefined;
4007
+ requestId?: string | undefined;
4008
+ connectionId?: string | undefined;
4009
+ message?: string | undefined;
4010
+ code?: number | undefined;
4011
+ source?: WebsocketSubscribeAction | undefined;
4011
4012
  }
4012
4013
  /**
4013
4014
  * @public
@@ -4017,7 +4018,7 @@ export interface WebsocketSubscribedEvent {
4017
4018
  connectionId: string;
4018
4019
  requestId: string;
4019
4020
  topic: WebsocketTopic;
4020
- duration?: __DocumentType;
4021
+ duration?: __DocumentType | undefined;
4021
4022
  }
4022
4023
  /**
4023
4024
  * @public
@@ -4026,18 +4027,18 @@ export interface WebsocketTranscriptionsBroadcastEvent {
4026
4027
  event: WebsocketEvent;
4027
4028
  topic: WebsocketTopic;
4028
4029
  data: __DocumentType;
4029
- meta?: __DocumentType;
4030
+ meta?: __DocumentType | undefined;
4030
4031
  }
4031
4032
  /**
4032
4033
  * @public
4033
4034
  */
4034
4035
  export interface WebsocketUnsubscribeBadRequestException {
4035
- event?: string;
4036
- requestId?: string;
4037
- connectionId?: string;
4038
- message?: string;
4039
- code?: number;
4040
- source?: WebsocketUnsubscribeAction;
4036
+ event?: string | undefined;
4037
+ requestId?: string | undefined;
4038
+ connectionId?: string | undefined;
4039
+ message?: string | undefined;
4040
+ code?: number | undefined;
4041
+ source?: WebsocketUnsubscribeAction | undefined;
4041
4042
  }
4042
4043
  /**
4043
4044
  * @public
@@ -4047,84 +4048,84 @@ export interface WebsocketUnsubscribedEvent {
4047
4048
  connectionId: string;
4048
4049
  requestId: string;
4049
4050
  topic: WebsocketTopic;
4050
- duration?: number;
4051
- pending?: number;
4051
+ duration?: number | undefined;
4052
+ pending?: number | undefined;
4052
4053
  }
4053
4054
  /**
4054
4055
  * @public
4055
4056
  */
4056
4057
  export interface DescribeEventOutput {
4057
- CallAnalyticsLiveProgressEvent?: CallAnalyticsLiveProgressEvent;
4058
- CallAnalyticsLiveCompleteEvent?: CallAnalyticsLiveCompleteEvent;
4059
- CallAnalyticsLiveInterruptedEvent?: CallAnalyticsLiveInterruptedEvent;
4060
- CallAnalyticsLiveTranscriptionEvent?: CallAnalyticsLiveTranscriptionEvent;
4061
- CallAnalyticsRecordEvent?: CallAnalyticsRecordEvent;
4062
- CallAnalyticsTranscriptionRecordEvent?: CallAnalyticsTranscriptionRecordEvent;
4063
- CallAnalyticsCostRecordEvent?: CallAnalyticsCostRecordEvent;
4064
- ChatAnalyticsLiveCompleteEvent?: ChatAnalyticsLiveCompleteEvent;
4065
- ChatAnalyticsLiveInterruptedEvent?: ChatAnalyticsLiveInterruptedEvent;
4066
- ChatAnalyticsLiveProgressEvent?: ChatAnalyticsLiveProgressEvent;
4067
- ChatAnalyticsManagerMissedEvent?: ChatAnalyticsManagerMissedEvent;
4068
- ChatAnalyticsRecordEvent?: ChatAnalyticsRecordEvent;
4069
- ConferenceAnalyticsLiveProgressEvent?: ConferenceAnalyticsLiveProgressEvent;
4070
- ConferenceAnalyticsLiveCompleteEvent?: ConferenceAnalyticsLiveCompleteEvent;
4071
- ConferenceAnalyticsLiveInterruptedEvent?: ConferenceAnalyticsLiveInterruptedEvent;
4072
- ConferenceAnalyticsLiveTranscriptionEvent?: ConferenceAnalyticsLiveTranscriptionEvent;
4073
- ConferenceAnalyticsLiveJoinEvent?: ConferenceAnalyticsLiveJoinEvent;
4074
- ConferenceAnalyticsLiveLeaveEvent?: ConferenceAnalyticsLiveLeaveEvent;
4075
- ConferenceAnalyticsRecordEvent?: ConferenceAnalyticsRecordEvent;
4076
- ConferenceAnalyticsTranscriptionRecordEvent?: ConferenceAnalyticsTranscriptionRecordEvent;
4077
- PresenceAnalyticsStatusEvent?: PresenceAnalyticsStatusEvent;
4078
- PresenceAnalyticsConferenceEvent?: PresenceAnalyticsConferenceEvent;
4079
- PresenceAnalyticsTelephonyEvent?: PresenceAnalyticsTelephonyEvent;
4080
- WebsocketPresenceBroadcastEvent?: WebsocketPresenceBroadcastEvent;
4081
- WebsocketConversationsBroadcastEvent?: WebsocketConversationsBroadcastEvent;
4082
- WebsocketTranscriptionsBroadcastEvent?: WebsocketTranscriptionsBroadcastEvent;
4083
- WebsocketAuthorizedEvent?: WebsocketAuthorizedEvent;
4084
- WebsocketSubscribedEvent?: WebsocketSubscribedEvent;
4085
- WebsocketUnsubscribedEvent?: WebsocketUnsubscribedEvent;
4086
- WebsocketAuthorizeBadRequestException?: WebsocketAuthorizeBadRequestException;
4087
- WebsocketSubscribeBadRequestException?: WebsocketSubscribeBadRequestException;
4088
- WebsocketUnsubscribeBadRequestException?: WebsocketUnsubscribeBadRequestException;
4089
- WebhookPresenceUserEvent?: WebhookPresenceUserEvent;
4090
- WebhookPresenceTelephonyEvent?: WebhookPresenceTelephonyEvent;
4091
- WebhookPresenceConferenceEvent?: WebhookPresenceConferenceEvent;
4092
- WebhookCallLiveProgressEvent?: WebhookCallLiveProgressEvent;
4093
- WebhookCallLiveCompletedEvent?: WebhookCallLiveCompletedEvent;
4094
- WebhookCallLiveInterruptedEvent?: WebhookCallLiveInterruptedEvent;
4095
- WebhookCallLiveTranscriptionEvent?: WebhookCallLiveTranscriptionEvent;
4096
- WebhookCallCompletedEvent?: WebhookCallCompletedEvent;
4097
- WebhookCallTranscriptionCompletedEvent?: WebhookCallTranscriptionCompletedEvent;
4098
- WebhookCallTranscriptionTextCompletedEvent?: WebhookCallTranscriptionTextCompletedEvent;
4099
- WebhookCallSummaryCompletedEvent?: WebhookCallSummaryCompletedEvent;
4100
- WebhookConferenceLiveProgressEvent?: WebhookConferenceLiveProgressEvent;
4101
- WebhookConferenceLiveCompletedEvent?: WebhookConferenceLiveCompletedEvent;
4102
- WebhookConferenceLiveInterruptedEvent?: WebhookConferenceLiveInterruptedEvent;
4103
- WebhookConferenceLiveJoinEvent?: WebhookConferenceLiveJoinEvent;
4104
- WebhookConferenceLiveLeaveEvent?: WebhookConferenceLiveLeaveEvent;
4105
- WebhookConferenceLiveTranscriptionEvent?: WebhookConferenceLiveTranscriptionEvent;
4106
- WebhookConferenceCompletedEvent?: WebhookConferenceCompletedEvent;
4107
- WebhookConferenceTranscriptionCompletedEvent?: WebhookConferenceTranscriptionCompletedEvent;
4108
- WebhookConferenceTranscriptionTextCompletedEvent?: WebhookConferenceTranscriptionTextCompletedEvent;
4109
- WebhookConferenceSummaryCompletedEvent?: WebhookConferenceSummaryCompletedEvent;
4110
- WebhookChatLiveProgressEvent?: WebhookChatLiveProgressEvent;
4111
- WebhookChatLiveCompletedEvent?: WebhookChatLiveCompletedEvent;
4112
- WebhookChatLiveInterruptedEvent?: WebhookChatLiveInterruptedEvent;
4113
- WebhookChatManagerMissedEvent?: WebhookChatManagerMissedEvent;
4114
- WebhookChatCompletedEvent?: WebhookChatCompletedEvent;
4115
- WebhookOutdatedCallStartEvent?: WebhookOutdatedCallStartEvent;
4116
- WebhookOutdatedCallUpdateEvent?: WebhookOutdatedCallUpdateEvent;
4117
- WebhookOutdatedCallEndEvent?: WebhookOutdatedCallEndEvent;
4118
- CallEventType?: CallEventType;
4119
- ConferenceEventType?: ConferenceEventType;
4120
- ChatEventType?: ChatEventType;
4121
- PresenceEventType?: PresenceEventType;
4058
+ CallAnalyticsLiveProgressEvent?: CallAnalyticsLiveProgressEvent | undefined;
4059
+ CallAnalyticsLiveCompleteEvent?: CallAnalyticsLiveCompleteEvent | undefined;
4060
+ CallAnalyticsLiveInterruptedEvent?: CallAnalyticsLiveInterruptedEvent | undefined;
4061
+ CallAnalyticsLiveTranscriptionEvent?: CallAnalyticsLiveTranscriptionEvent | undefined;
4062
+ CallAnalyticsRecordEvent?: CallAnalyticsRecordEvent | undefined;
4063
+ CallAnalyticsTranscriptionRecordEvent?: CallAnalyticsTranscriptionRecordEvent | undefined;
4064
+ CallAnalyticsCostRecordEvent?: CallAnalyticsCostRecordEvent | undefined;
4065
+ ChatAnalyticsLiveCompleteEvent?: ChatAnalyticsLiveCompleteEvent | undefined;
4066
+ ChatAnalyticsLiveInterruptedEvent?: ChatAnalyticsLiveInterruptedEvent | undefined;
4067
+ ChatAnalyticsLiveProgressEvent?: ChatAnalyticsLiveProgressEvent | undefined;
4068
+ ChatAnalyticsManagerMissedEvent?: ChatAnalyticsManagerMissedEvent | undefined;
4069
+ ChatAnalyticsRecordEvent?: ChatAnalyticsRecordEvent | undefined;
4070
+ ConferenceAnalyticsLiveProgressEvent?: ConferenceAnalyticsLiveProgressEvent | undefined;
4071
+ ConferenceAnalyticsLiveCompleteEvent?: ConferenceAnalyticsLiveCompleteEvent | undefined;
4072
+ ConferenceAnalyticsLiveInterruptedEvent?: ConferenceAnalyticsLiveInterruptedEvent | undefined;
4073
+ ConferenceAnalyticsLiveTranscriptionEvent?: ConferenceAnalyticsLiveTranscriptionEvent | undefined;
4074
+ ConferenceAnalyticsLiveJoinEvent?: ConferenceAnalyticsLiveJoinEvent | undefined;
4075
+ ConferenceAnalyticsLiveLeaveEvent?: ConferenceAnalyticsLiveLeaveEvent | undefined;
4076
+ ConferenceAnalyticsRecordEvent?: ConferenceAnalyticsRecordEvent | undefined;
4077
+ ConferenceAnalyticsTranscriptionRecordEvent?: ConferenceAnalyticsTranscriptionRecordEvent | undefined;
4078
+ PresenceAnalyticsStatusEvent?: PresenceAnalyticsStatusEvent | undefined;
4079
+ PresenceAnalyticsConferenceEvent?: PresenceAnalyticsConferenceEvent | undefined;
4080
+ PresenceAnalyticsTelephonyEvent?: PresenceAnalyticsTelephonyEvent | undefined;
4081
+ WebsocketPresenceBroadcastEvent?: WebsocketPresenceBroadcastEvent | undefined;
4082
+ WebsocketConversationsBroadcastEvent?: WebsocketConversationsBroadcastEvent | undefined;
4083
+ WebsocketTranscriptionsBroadcastEvent?: WebsocketTranscriptionsBroadcastEvent | undefined;
4084
+ WebsocketAuthorizedEvent?: WebsocketAuthorizedEvent | undefined;
4085
+ WebsocketSubscribedEvent?: WebsocketSubscribedEvent | undefined;
4086
+ WebsocketUnsubscribedEvent?: WebsocketUnsubscribedEvent | undefined;
4087
+ WebsocketAuthorizeBadRequestException?: WebsocketAuthorizeBadRequestException | undefined;
4088
+ WebsocketSubscribeBadRequestException?: WebsocketSubscribeBadRequestException | undefined;
4089
+ WebsocketUnsubscribeBadRequestException?: WebsocketUnsubscribeBadRequestException | undefined;
4090
+ WebhookPresenceUserEvent?: WebhookPresenceUserEvent | undefined;
4091
+ WebhookPresenceTelephonyEvent?: WebhookPresenceTelephonyEvent | undefined;
4092
+ WebhookPresenceConferenceEvent?: WebhookPresenceConferenceEvent | undefined;
4093
+ WebhookCallLiveProgressEvent?: WebhookCallLiveProgressEvent | undefined;
4094
+ WebhookCallLiveCompletedEvent?: WebhookCallLiveCompletedEvent | undefined;
4095
+ WebhookCallLiveInterruptedEvent?: WebhookCallLiveInterruptedEvent | undefined;
4096
+ WebhookCallLiveTranscriptionEvent?: WebhookCallLiveTranscriptionEvent | undefined;
4097
+ WebhookCallCompletedEvent?: WebhookCallCompletedEvent | undefined;
4098
+ WebhookCallTranscriptionCompletedEvent?: WebhookCallTranscriptionCompletedEvent | undefined;
4099
+ WebhookCallTranscriptionTextCompletedEvent?: WebhookCallTranscriptionTextCompletedEvent | undefined;
4100
+ WebhookCallSummaryCompletedEvent?: WebhookCallSummaryCompletedEvent | undefined;
4101
+ WebhookConferenceLiveProgressEvent?: WebhookConferenceLiveProgressEvent | undefined;
4102
+ WebhookConferenceLiveCompletedEvent?: WebhookConferenceLiveCompletedEvent | undefined;
4103
+ WebhookConferenceLiveInterruptedEvent?: WebhookConferenceLiveInterruptedEvent | undefined;
4104
+ WebhookConferenceLiveJoinEvent?: WebhookConferenceLiveJoinEvent | undefined;
4105
+ WebhookConferenceLiveLeaveEvent?: WebhookConferenceLiveLeaveEvent | undefined;
4106
+ WebhookConferenceLiveTranscriptionEvent?: WebhookConferenceLiveTranscriptionEvent | undefined;
4107
+ WebhookConferenceCompletedEvent?: WebhookConferenceCompletedEvent | undefined;
4108
+ WebhookConferenceTranscriptionCompletedEvent?: WebhookConferenceTranscriptionCompletedEvent | undefined;
4109
+ WebhookConferenceTranscriptionTextCompletedEvent?: WebhookConferenceTranscriptionTextCompletedEvent | undefined;
4110
+ WebhookConferenceSummaryCompletedEvent?: WebhookConferenceSummaryCompletedEvent | undefined;
4111
+ WebhookChatLiveProgressEvent?: WebhookChatLiveProgressEvent | undefined;
4112
+ WebhookChatLiveCompletedEvent?: WebhookChatLiveCompletedEvent | undefined;
4113
+ WebhookChatLiveInterruptedEvent?: WebhookChatLiveInterruptedEvent | undefined;
4114
+ WebhookChatManagerMissedEvent?: WebhookChatManagerMissedEvent | undefined;
4115
+ WebhookChatCompletedEvent?: WebhookChatCompletedEvent | undefined;
4116
+ WebhookOutdatedCallStartEvent?: WebhookOutdatedCallStartEvent | undefined;
4117
+ WebhookOutdatedCallUpdateEvent?: WebhookOutdatedCallUpdateEvent | undefined;
4118
+ WebhookOutdatedCallEndEvent?: WebhookOutdatedCallEndEvent | undefined;
4119
+ CallEventType?: CallEventType | undefined;
4120
+ ConferenceEventType?: ConferenceEventType | undefined;
4121
+ ChatEventType?: ChatEventType | undefined;
4122
+ PresenceEventType?: PresenceEventType | undefined;
4122
4123
  }
4123
4124
  /**
4124
4125
  * @public
4125
4126
  */
4126
4127
  export interface GetConferenceIdInput {
4127
- company?: string;
4128
+ company?: string | undefined;
4128
4129
  channelId: string;
4129
4130
  }
4130
4131
  /**
@@ -4148,7 +4149,7 @@ export declare class MatchNotFoundException extends __BaseException {
4148
4149
  * @public
4149
4150
  */
4150
4151
  export interface GetConversationsInput {
4151
- company?: string;
4152
+ company?: string | undefined;
4152
4153
  }
4153
4154
  /**
4154
4155
  * @public
@@ -4196,57 +4197,57 @@ export interface Presence {
4196
4197
  * The unique identifier of the organization user belongs to (example: it_w119845).
4197
4198
  * @public
4198
4199
  */
4199
- company?: string;
4200
+ company?: string | undefined;
4200
4201
  /**
4201
4202
  * The user's geographic address (example: 1 Kynner Way, Binley, Coventry, CV3 2TU, England).
4202
4203
  * @public
4203
4204
  */
4204
- address?: string;
4205
+ address?: string | undefined;
4205
4206
  /**
4206
4207
  * The user extension (example: 2001)
4207
4208
  * @public
4208
4209
  */
4209
- extension?: string;
4210
+ extension?: string | undefined;
4210
4211
  /**
4211
4212
  * The unique identifier of the user (example: F2P9tcKrYI9p).
4212
4213
  * @public
4213
4214
  */
4214
- id?: string;
4215
+ id?: string | undefined;
4215
4216
  /**
4216
4217
  * Longitude is the unit that represent the coordinates at geographic coordinate system (example: 35.5753).
4217
4218
  * @public
4218
4219
  */
4219
- lng?: string;
4220
+ lng?: string | undefined;
4220
4221
  /**
4221
4222
  * Latitude is the unit that represent the coordinates at geographic coordinate system(example: 23.2954).
4222
4223
  * @public
4223
4224
  */
4224
- lat?: string;
4225
+ lat?: string | undefined;
4225
4226
  /**
4226
4227
  * If it is defined, user status switches back to Available after the time (example: 2024-08-08T17:16:00Z).
4227
4228
  * @public
4228
4229
  */
4229
- until?: string;
4230
+ until?: string | undefined;
4230
4231
  /**
4231
4232
  * User status (example: AWAY)
4232
4233
  * @public
4233
4234
  */
4234
- status?: PresenceStatus;
4235
+ status?: PresenceStatus | undefined;
4235
4236
  /**
4236
4237
  * User status custom message (example: on vacation).
4237
4238
  * @public
4238
4239
  */
4239
- message?: string;
4240
+ message?: string | undefined;
4240
4241
  /**
4241
4242
  * User telephony status (example: TALKING)
4242
4243
  * @public
4243
4244
  */
4244
- telephony?: TelephonyStatus;
4245
+ telephony?: TelephonyStatus | undefined;
4245
4246
  /**
4246
4247
  * The string shows the time the user was last seen. (example: 2024-08-08T17:16:00Z).
4247
4248
  * @public
4248
4249
  */
4249
- seen?: string;
4250
+ seen?: string | undefined;
4250
4251
  }
4251
4252
  /**
4252
4253
  * @public
@@ -4267,17 +4268,17 @@ export interface PresenceQueryFilter {
4267
4268
  * The unique identifier of the user (example: F2P9tcKrYI9p).
4268
4269
  * @public
4269
4270
  */
4270
- id?: string;
4271
+ id?: string | undefined;
4271
4272
  /**
4272
4273
  * The unique identifier of the organization user belongs to (example: it_w119845).
4273
4274
  * @public
4274
4275
  */
4275
- company?: string;
4276
+ company?: string | undefined;
4276
4277
  /**
4277
4278
  * The user extension (example: 2001
4278
4279
  * @public
4279
4280
  */
4280
- extension?: string;
4281
+ extension?: string | undefined;
4281
4282
  }
4282
4283
  /**
4283
4284
  * @public
@@ -4327,7 +4328,7 @@ export interface UpdatePresenceLastSeenInput {
4327
4328
  * The unique identifier of the user when a service token is used.
4328
4329
  * @public
4329
4330
  */
4330
- userId?: string;
4331
+ userId?: string | undefined;
4331
4332
  }
4332
4333
  /**
4333
4334
  * @public