@vgroup/dialbox 0.2.78 → 0.2.80
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/components/call-progress/call-progress.component.mjs +35 -6
- package/esm2020/lib/dialbox.component.mjs +53 -8
- package/esm2020/lib/environments/environments.mjs +2 -1
- package/esm2020/lib/service/extension.service.mjs +4 -1
- package/esm2020/lib/service/incomeing-call-socket.service.mjs +50 -0
- package/fesm2015/vgroup-dialbox.mjs +161 -31
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +132 -9
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/components/call-progress/call-progress.component.d.ts +5 -1
- package/lib/dialbox.component.d.ts +3 -1
- package/lib/environments/environments.d.ts +1 -0
- package/lib/service/extension.service.d.ts +1 -0
- package/lib/service/incomeing-call-socket.service.d.ts +10 -0
- package/package.json +1 -1
|
@@ -48,6 +48,7 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
48
48
|
isCallOnHold: boolean;
|
|
49
49
|
contacts: any[];
|
|
50
50
|
conferenceId: any;
|
|
51
|
+
allParticipentList: any;
|
|
51
52
|
constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef, twilioService: TwilioService);
|
|
52
53
|
ngOnInit(): void;
|
|
53
54
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -55,10 +56,13 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
55
56
|
GetContactsList(): void;
|
|
56
57
|
addRes: any;
|
|
57
58
|
startCall(callData: any): Promise<void>;
|
|
59
|
+
onHoldCall(c: any): void;
|
|
60
|
+
onEndCall(c: any): Promise<void>;
|
|
58
61
|
private initiateCall;
|
|
59
62
|
onholdOrUnholdParticipant(payload: any): Promise<[] | undefined>;
|
|
60
63
|
private addParticipantToCall;
|
|
61
64
|
private getCallStatusOfParticipants;
|
|
65
|
+
private getRemoveParticipants;
|
|
62
66
|
private getCallAuthId;
|
|
63
67
|
private getOutgoingCallToken;
|
|
64
68
|
private connectToDevice;
|
|
@@ -76,7 +80,7 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
76
80
|
callContact(contact: any): Promise<void>;
|
|
77
81
|
getAllParticipants(conferenceSid: string): void;
|
|
78
82
|
acceptConcurrentCall(incomingCall: any): void;
|
|
79
|
-
swapCalls(): void
|
|
83
|
+
swapCalls(): Promise<void>;
|
|
80
84
|
mergeCalls(): Promise<void>;
|
|
81
85
|
endHeldCall(): void;
|
|
82
86
|
rejectConcurrentCall(incomingCall: any): void;
|
|
@@ -5,6 +5,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
5
5
|
import { IpAddressService } from './service/ip-address.service';
|
|
6
6
|
import { Router } from '@angular/router';
|
|
7
7
|
import { Call } from '@twilio/voice-sdk';
|
|
8
|
+
import { IncomeingCallSocketService } from './service/incomeing-call-socket.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class DialboxComponent implements OnInit, AfterViewInit {
|
|
10
11
|
private twilioService;
|
|
@@ -14,6 +15,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit {
|
|
|
14
15
|
private extensionService;
|
|
15
16
|
private cdk;
|
|
16
17
|
private router;
|
|
18
|
+
private incomeingCallSocketService;
|
|
17
19
|
private _isDialpadHidden;
|
|
18
20
|
autoOpenOnIncoming: boolean;
|
|
19
21
|
contactInfo: any;
|
|
@@ -69,7 +71,7 @@ export declare class DialboxComponent implements OnInit, AfterViewInit {
|
|
|
69
71
|
shakeDedicatedBtn: boolean;
|
|
70
72
|
isSmartDialCall: boolean;
|
|
71
73
|
private isInitialized;
|
|
72
|
-
constructor(twilioService: TwilioService, extService: ExtensionService, dialog: MatDialog, ipService: IpAddressService, extensionService: ExtensionService, cdk: ChangeDetectorRef, router: Router);
|
|
74
|
+
constructor(twilioService: TwilioService, extService: ExtensionService, dialog: MatDialog, ipService: IpAddressService, extensionService: ExtensionService, cdk: ChangeDetectorRef, router: Router, incomeingCallSocketService: IncomeingCallSocketService);
|
|
73
75
|
private initializeTwilio;
|
|
74
76
|
ngOnInit(): void;
|
|
75
77
|
getUserInformation(incomingCallData: any): void;
|
|
@@ -87,6 +87,7 @@ export declare class ExtensionService {
|
|
|
87
87
|
getAllParticipants(conferenceSid: any): Observable<[]>;
|
|
88
88
|
updateHoldUnhold(payload: any): Observable<[]>;
|
|
89
89
|
getCallStatusOfParticipants(participantId: any): Observable<[]>;
|
|
90
|
+
getRemoveParticipants(participantId: any, conferenceId: any): Observable<[]>;
|
|
90
91
|
muteParticipant(): Observable<[]>;
|
|
91
92
|
fetchBlockedCountries(): Observable<string[]>;
|
|
92
93
|
getIncomingCallToken(deviceId: any): Observable<[]>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IncomeingCallSocketService {
|
|
4
|
+
private socket?;
|
|
5
|
+
private eventSubject;
|
|
6
|
+
connect(): void;
|
|
7
|
+
listen(): Observable<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IncomeingCallSocketService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IncomeingCallSocketService>;
|
|
10
|
+
}
|