@vgroup/dialbox 0.0.77 → 0.0.79
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/esm2020/lib/dialbox.component.mjs +81 -7
- package/esm2020/lib/service/twilio.service.mjs +32 -2
- package/fesm2015/vgroup-dialbox.mjs +104 -7
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +111 -7
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/dialbox.component.d.ts +1 -0
- package/lib/service/twilio.service.d.ts +10 -1
- package/package.json +1 -1
|
@@ -66,6 +66,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
|
|
|
66
66
|
private isInitialized;
|
|
67
67
|
constructor(twilioService: TwilioService, extService: ExtensionService, dialog: MatDialog, ipService: IpAddressService, extensionService: ExtensionService, router: Router);
|
|
68
68
|
private initializeTwilio;
|
|
69
|
+
private handleIncomingCall;
|
|
69
70
|
ngOnInit(): void;
|
|
70
71
|
getUserInformation(incomingCallData: any): void;
|
|
71
72
|
fromEntries(entries: [string, any][]): Record<string, any>;
|
|
@@ -18,8 +18,9 @@ export declare class TwilioService {
|
|
|
18
18
|
private notificationSerivce;
|
|
19
19
|
openInProgressDialpad: BehaviorSubject<boolean>;
|
|
20
20
|
currentCall: BehaviorSubject<Call | null>;
|
|
21
|
-
currentCallState: BehaviorSubject<
|
|
21
|
+
currentCallState: BehaviorSubject<string>;
|
|
22
22
|
device: any;
|
|
23
|
+
private _currentCall;
|
|
23
24
|
incomingCallToken?: string;
|
|
24
25
|
outgoingCallToken?: string;
|
|
25
26
|
callType: BehaviorSubject<string>;
|
|
@@ -50,6 +51,14 @@ export declare class TwilioService {
|
|
|
50
51
|
deletePhoto(id: string): Observable<[]>;
|
|
51
52
|
toggleCoutryCodeToast(val: any): Observable<[]>;
|
|
52
53
|
getToNumber(dialledNo: string, isoCode: string): Observable<[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Get the current active call
|
|
56
|
+
*/
|
|
57
|
+
getCurrentCall(): Call | null;
|
|
58
|
+
/**
|
|
59
|
+
* Check if there's an active call
|
|
60
|
+
*/
|
|
61
|
+
hasActiveCall(): boolean;
|
|
53
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<TwilioService, never>;
|
|
54
63
|
static ɵprov: i0.ɵɵInjectableDeclaration<TwilioService>;
|
|
55
64
|
}
|