@vgroup/dialbox 0.0.55 → 0.0.57

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.
@@ -13,11 +13,8 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
13
13
  private ipService;
14
14
  private extensionService;
15
15
  private router;
16
- set isDialpadHidden(value: boolean);
17
- get isDialpadHidden(): boolean;
18
- private _isDialpadHidden;
16
+ isDialpadHidden: boolean;
19
17
  closeDialpadEvent: EventEmitter<void>;
20
- private initializeTwilio;
21
18
  callInitiated: EventEmitter<any>;
22
19
  endCallEvent: EventEmitter<void>;
23
20
  minimiseEvent: EventEmitter<boolean>;
@@ -61,11 +58,15 @@ export declare class DialboxComponent implements OnInit, AfterViewInit, OnChange
61
58
  incomingCallsList: any;
62
59
  newIncomingCallData?: Call;
63
60
  private subscriptions;
64
- private callPreference;
61
+ callPreference: any;
65
62
  shakeDedicatedBtn: boolean;
66
63
  isSmartDialCall: boolean;
67
64
  constructor(twilioService: TwilioService, extService: ExtensionService, dialog: MatDialog, ipService: IpAddressService, extensionService: ExtensionService, router: Router);
68
- private isInitialized;
65
+ private initializeTwilio;
66
+ private setupIncomingCallSubscription;
67
+ private handleNewIncomingCall;
68
+ private handleCallEnd;
69
+ private resetCallData;
69
70
  ngOnInit(): void;
70
71
  getUserInformation(incomingCallData: any): void;
71
72
  fromEntries(entries: [string, any][]): Record<string, any>;
@@ -38,7 +38,8 @@ export declare class TwilioService {
38
38
  private initializationInProgress;
39
39
  constructor(http: HttpClient, extensionService: ExtensionService);
40
40
  initializeTwilioDevice(): void;
41
- private setupDevice;
41
+ private setupDeviceEventListeners;
42
+ onIncomingCall(): void;
42
43
  saveContact(payload: any): Observable<[]>;
43
44
  updateContact(payload: any): Observable<[]>;
44
45
  deleteContact(id: string): Observable<[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vgroup/dialbox",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",