@voicenter-team/events-sdk 0.0.43 → 0.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/voicenter-events-sdk.d.ts +13 -13
- package/package.json +1 -1
|
@@ -51,8 +51,8 @@ declare type AllExtensionStatusEvent_2 = {
|
|
|
51
51
|
servertimeoffset: number;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
declare interface AllExtensionStatusEventExtended extends Omit<
|
|
55
|
-
extensions: Array<
|
|
54
|
+
declare interface AllExtensionStatusEventExtended extends Omit<OriginalAllExtensionStatusEvent, 'extensions'> {
|
|
55
|
+
extensions: Array<Extension_2>
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
export declare type AllUsersStatusEvent = EventTypeData<EventsEnum.ALL_USERS_STATUS>
|
|
@@ -127,7 +127,7 @@ declare interface CurrentCallEnded extends CurrentCallUTCExtended {
|
|
|
127
127
|
duration: number
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
declare interface CurrentCallUTCExtended extends
|
|
130
|
+
declare interface CurrentCallUTCExtended extends OriginalExtensionCall {
|
|
131
131
|
callStarted_UTC: number
|
|
132
132
|
callStarted_UTC_CLIENT: number
|
|
133
133
|
callAnswered_UTC: number
|
|
@@ -488,6 +488,8 @@ declare type Extension = {
|
|
|
488
488
|
lastAnsweredCallEventEpoch: number;
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
+
declare type Extension_2 = ExtensionUTCExtended | ExtensionEnded
|
|
492
|
+
|
|
491
493
|
declare type ExtensionCall = {
|
|
492
494
|
/**
|
|
493
495
|
* Ip
|
|
@@ -588,9 +590,7 @@ declare type ExtensionCall = {
|
|
|
588
590
|
calldurationinterval: number;
|
|
589
591
|
};
|
|
590
592
|
|
|
591
|
-
declare
|
|
592
|
-
|
|
593
|
-
declare interface ExtensionEnded extends Extension {
|
|
593
|
+
declare interface ExtensionEnded extends OriginalExtension {
|
|
594
594
|
currentCall?: CurrentCallEnded
|
|
595
595
|
}
|
|
596
596
|
|
|
@@ -630,7 +630,7 @@ declare type ExtensionEvent_2 = {
|
|
|
630
630
|
telephonyServerTime?: number;
|
|
631
631
|
};
|
|
632
632
|
|
|
633
|
-
declare interface ExtensionEventEnded extends Omit<
|
|
633
|
+
declare interface ExtensionEventEnded extends Omit<OriginalExtensionEvent, 'reason' | 'data'> {
|
|
634
634
|
reason: ExtensionEventReasonEnum.HANGUP
|
|
635
635
|
data: ExtensionEnded
|
|
636
636
|
}
|
|
@@ -646,7 +646,7 @@ declare enum ExtensionEventReasonEnum {
|
|
|
646
646
|
USER_STATUS_UPDATE = 'userStatusUpdate',
|
|
647
647
|
}
|
|
648
648
|
|
|
649
|
-
declare interface ExtensionEventUTCExtended extends Omit<
|
|
649
|
+
declare interface ExtensionEventUTCExtended extends Omit<OriginalExtensionEvent, 'reason' | 'data'> {
|
|
650
650
|
reason: Exclude<ExtensionEventReasonEnum, ExtensionEventReasonEnum.HANGUP>
|
|
651
651
|
data: ExtensionUTCExtended
|
|
652
652
|
}
|
|
@@ -666,7 +666,7 @@ export declare type ExtensionsUpdated = EventTypeData<EventsEnum.EXTENSIONS_UPDA
|
|
|
666
666
|
|
|
667
667
|
declare type ExtensionsUpdated_2 = string;
|
|
668
668
|
|
|
669
|
-
declare interface ExtensionUTCExtended extends
|
|
669
|
+
declare interface ExtensionUTCExtended extends OriginalExtension {
|
|
670
670
|
currentCall?: CurrentCallUTCExtended
|
|
671
671
|
}
|
|
672
672
|
|
|
@@ -861,15 +861,15 @@ declare type OriginalAllDialersStatusEvent = RealtimeEvents.AllDialersStatusEven
|
|
|
861
861
|
|
|
862
862
|
declare type OriginalAllExtensionStatusEvent = RealtimeEvents.AllExtensionStatusEvent
|
|
863
863
|
|
|
864
|
-
declare type OriginalAllExtensionStatusEvent_2 = RealtimeEvents.AllExtensionStatusEvent
|
|
865
|
-
|
|
866
864
|
declare type OriginalAllUsersStatusEvent = RealtimeEvents.AllUsersStatusEvent
|
|
867
865
|
|
|
868
866
|
declare type OriginalDialerEvent = RealtimeEvents.DialerEvent
|
|
869
867
|
|
|
870
|
-
declare type
|
|
868
|
+
declare type OriginalExtension = RealtimeEvents.Extension
|
|
869
|
+
|
|
870
|
+
declare type OriginalExtensionCall = RealtimeEvents.ExtensionCall
|
|
871
871
|
|
|
872
|
-
declare type
|
|
872
|
+
declare type OriginalExtensionEvent = RealtimeEvents.ExtensionEvent
|
|
873
873
|
|
|
874
874
|
declare type OriginalExtensionsUpdated = RealtimeEvents.ExtensionsUpdated
|
|
875
875
|
|