@vgroup/dialbox 0.1.60 → 0.1.62
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/README.md +6 -6
- package/esm2020/keypad.mjs +45 -0
- package/esm2020/lib/components/call-progress/call-progress.component.mjs +37 -5
- package/esm2020/lib/components/call-progress/incoming-call/incoming-call.component.mjs +14 -6
- package/esm2020/lib/components/caller-id-dialog/caller-id-dialog.component.mjs +20 -13
- package/esm2020/lib/dialbox.component.mjs +1202 -31
- package/esm2020/lib/dialbox.module.mjs +16 -6
- package/esm2020/lib/environments/environments.mjs +1 -1
- package/esm2020/lib/service/{notification.service.mjs → Notification.service.mjs} +1 -1
- package/esm2020/lib/service/extension.service.mjs +1039 -37
- package/esm2020/lib/service/ip-address.service.mjs +1 -1
- package/esm2020/lib/service/twilio.service.mjs +2 -2
- package/esm2020/lib/shared/global-constant.mjs +1 -1
- package/esm2020/public-api.mjs +3 -9
- package/fesm2015/vgroup-dialbox.mjs +2622 -405
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +2408 -200
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/components/call-progress/call-progress.component.d.ts +3 -3
- package/lib/components/call-progress/incoming-call/incoming-call.component.d.ts +8 -8
- package/lib/components/caller-id-dialog/caller-id-dialog.component.d.ts +4 -1
- package/lib/dialbox.component.d.ts +114 -6
- package/lib/dialbox.module.d.ts +3 -1
- package/lib/service/extension.service.d.ts +136 -15
- package/lib/service/twilio.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +0 -8
- package/esm2020/lib/dialbox.service.mjs +0 -14
- package/esm2020/lib/keypad.mjs +0 -45
- package/lib/dialbox.service.d.ts +0 -6
- /package/{lib/keypad.d.ts → keypad.d.ts} +0 -0
- /package/lib/service/{notification.service.d.ts → Notification.service.d.ts} +0 -0
|
@@ -37,7 +37,6 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
37
37
|
callStatus: string;
|
|
38
38
|
incomingRecordCall?: any;
|
|
39
39
|
selectedIncomingCall: any;
|
|
40
|
-
isMinimised: boolean;
|
|
41
40
|
constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef);
|
|
42
41
|
ngOnInit(): void;
|
|
43
42
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -60,6 +59,7 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
60
59
|
onCallInputEnter(ev: any): void;
|
|
61
60
|
closeIncomingCall(data: any): void;
|
|
62
61
|
clearInputs(): void;
|
|
62
|
+
isMinimised: boolean;
|
|
63
63
|
minimiseDialpad(): void;
|
|
64
64
|
maximiseDialpad(): void;
|
|
65
65
|
toggleRecording(): void;
|
|
@@ -67,8 +67,8 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
67
67
|
stopRecording(): void;
|
|
68
68
|
pauseRecording(): void;
|
|
69
69
|
resumeRecording(): void;
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
startTimer1(): void;
|
|
71
|
+
stopRecordingTimer(): void;
|
|
72
72
|
getFormattedTime(): string;
|
|
73
73
|
pollCallStatus(callAuthId: string): void;
|
|
74
74
|
getUserInformation(id: any): void;
|
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnInit } from '@angular/core';
|
|
|
2
2
|
import { Call } from '@twilio/voice-sdk';
|
|
3
3
|
import { ExtensionService } from '../../../service/extension.service';
|
|
4
4
|
import { TwilioService } from '../../../service/twilio.service';
|
|
5
|
-
import { NotificationService } from '../../../service/
|
|
5
|
+
import { NotificationService } from '../../../service/Notification.service';
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class IncomingCallComponent implements OnInit {
|
|
@@ -31,28 +31,28 @@ export declare class IncomingCallComponent implements OnInit {
|
|
|
31
31
|
incomingCallsNewList: EventEmitter<any>;
|
|
32
32
|
selectedIncomingCallInfo: EventEmitter<any>;
|
|
33
33
|
isMute?: boolean;
|
|
34
|
-
disbaleEndCallBtn: boolean;
|
|
35
|
-
incomingCallSid: string;
|
|
36
|
-
incomingRecordCall: boolean;
|
|
37
|
-
timerSubscription?: Subscription;
|
|
38
|
-
timeElapsed: number;
|
|
39
34
|
constructor(extensionService: ExtensionService, twilioService: TwilioService, notificationSerivce: NotificationService);
|
|
40
35
|
ngOnInit(): void;
|
|
41
36
|
acceptCallFromList(data?: any): void;
|
|
42
37
|
rejectCallFromList(data?: any): void;
|
|
43
38
|
closeIncomingCallWrapper(val: any): void;
|
|
44
|
-
toggleMute(data
|
|
39
|
+
toggleMute(data?: any): void;
|
|
45
40
|
sendIPforIncomingCall(recordId: any, callstatus: any): Promise<void>;
|
|
46
41
|
onUserInfoByCallSid(): boolean;
|
|
47
42
|
onClickExpand(data?: any): void;
|
|
48
43
|
getUserInformation(incomingCallData: any): void;
|
|
49
44
|
fromEntries(entries: [string, any][]): Record<string, any>;
|
|
45
|
+
disbaleEndCallBtn: boolean;
|
|
46
|
+
incomingCallSid: string;
|
|
47
|
+
incomingRecordCall: boolean;
|
|
48
|
+
timerSubscription?: Subscription;
|
|
49
|
+
timeElapsed: number;
|
|
50
50
|
toggleRecording(sid: any): void;
|
|
51
51
|
startRecording(): void;
|
|
52
52
|
stopRecording(): void;
|
|
53
53
|
pauseRecording(): void;
|
|
54
54
|
resumeRecording(sid: any): void;
|
|
55
|
-
|
|
55
|
+
startTimer1(): void;
|
|
56
56
|
stopRecordingTimer(): void;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<IncomingCallComponent, never>;
|
|
58
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<IncomingCallComponent, "lib-incoming-call", never, { "incomingCallData": "incomingCallData"; "newIncomingCallsList": "newIncomingCallsList"; "deviceId": "deviceId"; }, { "closeIncomingCallDiv": "closeIncomingCallDiv"; "incomingCallsNewList": "incomingCallsNewList"; "selectedIncomingCallInfo": "selectedIncomingCallInfo"; }, never, never, false, never>;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
3
|
import { Router } from '@angular/router';
|
|
3
4
|
import { TwilioService } from '../../service/twilio.service';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class CallerIdDialogComponent implements OnInit {
|
|
6
7
|
private router;
|
|
7
8
|
private twilServ;
|
|
9
|
+
dialogRef: MatDialogRef<CallerIdDialogComponent>;
|
|
10
|
+
data: any;
|
|
8
11
|
storedTheme: string;
|
|
9
12
|
alertToggle: boolean;
|
|
10
|
-
constructor(router: Router, twilServ: TwilioService);
|
|
13
|
+
constructor(router: Router, twilServ: TwilioService, dialogRef: MatDialogRef<CallerIdDialogComponent>, data: any);
|
|
11
14
|
token: string;
|
|
12
15
|
ngOnInit(): void;
|
|
13
16
|
onConfirm(): void;
|
|
@@ -1,13 +1,121 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TwilioService } from './service/twilio.service';
|
|
3
|
+
import { ExtensionService } from './service/extension.service';
|
|
4
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
5
|
+
import { IpAddressService } from './service/ip-address.service';
|
|
6
|
+
import { Router } from '@angular/router';
|
|
7
|
+
import { Call } from '@twilio/voice-sdk';
|
|
2
8
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DialboxComponent {
|
|
4
|
-
|
|
9
|
+
export declare class DialboxComponent implements OnInit, AfterViewInit {
|
|
10
|
+
private twilioService;
|
|
11
|
+
private extService;
|
|
12
|
+
private dialog;
|
|
13
|
+
private ipService;
|
|
14
|
+
private extensionService;
|
|
15
|
+
private cdk;
|
|
16
|
+
private router;
|
|
17
|
+
private _isDialpadHidden;
|
|
18
|
+
autoOpenOnIncoming: boolean;
|
|
5
19
|
contactInfo: any;
|
|
6
20
|
deviceId: any;
|
|
21
|
+
set isDialpadHidden(value: boolean);
|
|
22
|
+
incomingCallData: any;
|
|
23
|
+
get isDialpadHidden(): boolean;
|
|
7
24
|
closeDialpadEvent: EventEmitter<void>;
|
|
25
|
+
callInitiated: EventEmitter<any>;
|
|
26
|
+
endCallEvent: EventEmitter<void>;
|
|
8
27
|
minimiseEvent: EventEmitter<boolean>;
|
|
9
|
-
|
|
10
|
-
|
|
28
|
+
incomingCallsNewInfoEvent: EventEmitter<any[]>;
|
|
29
|
+
incomingCallInitiated: EventEmitter<void>;
|
|
30
|
+
dialInputElement: ElementRef;
|
|
31
|
+
numberDialed: EventEmitter<string>;
|
|
32
|
+
isCallInProgress: boolean;
|
|
33
|
+
keypadVal: any[];
|
|
34
|
+
showInputClearBtn: boolean;
|
|
35
|
+
dialedNumber: string;
|
|
36
|
+
contactList: any[];
|
|
37
|
+
filteredContactList: any[];
|
|
38
|
+
callerIdList: any[];
|
|
39
|
+
selectedCallerId: any;
|
|
40
|
+
isCallerIdHidden: boolean;
|
|
41
|
+
isTrialPeriodOver: boolean;
|
|
42
|
+
isPaymentDue: boolean;
|
|
43
|
+
terminateCall: boolean;
|
|
44
|
+
toastTimeout: number;
|
|
45
|
+
callNumberToast: {
|
|
46
|
+
show: boolean;
|
|
47
|
+
type: string;
|
|
48
|
+
number: string;
|
|
49
|
+
displayNum: string;
|
|
50
|
+
};
|
|
51
|
+
callData: any;
|
|
52
|
+
lastDialed: {
|
|
53
|
+
name?: string;
|
|
54
|
+
image?: string;
|
|
55
|
+
number: string;
|
|
56
|
+
} | null;
|
|
57
|
+
sanitizedNum: any;
|
|
58
|
+
dialAlert: {
|
|
59
|
+
msg: string;
|
|
60
|
+
show: boolean;
|
|
61
|
+
};
|
|
62
|
+
token?: string;
|
|
63
|
+
showDedicatedPopup: boolean;
|
|
64
|
+
newIncomingCalls: any;
|
|
65
|
+
incomingCallsList: any;
|
|
66
|
+
newIncomingCallData?: Call;
|
|
67
|
+
private subscriptions;
|
|
68
|
+
callPreference: any;
|
|
69
|
+
shakeDedicatedBtn: boolean;
|
|
70
|
+
isSmartDialCall: boolean;
|
|
71
|
+
private isInitialized;
|
|
72
|
+
constructor(twilioService: TwilioService, extService: ExtensionService, dialog: MatDialog, ipService: IpAddressService, extensionService: ExtensionService, cdk: ChangeDetectorRef, router: Router);
|
|
73
|
+
private initializeTwilio;
|
|
74
|
+
ngOnInit(): void;
|
|
75
|
+
getUserInformation(incomingCallData: any): void;
|
|
76
|
+
fromEntries(entries: [string, any][]): Record<string, any>;
|
|
77
|
+
ngAfterViewInit(): void;
|
|
78
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
79
|
+
private registerDragElement;
|
|
80
|
+
addNumber(num: any): void;
|
|
81
|
+
hideDialpad(): void;
|
|
82
|
+
onDialInputChange(inputVal: any): void;
|
|
83
|
+
getFirstLetter(name: string): string;
|
|
84
|
+
clearInput(): void;
|
|
85
|
+
clearAllDialed(): void;
|
|
86
|
+
getCallerIdList(): void;
|
|
87
|
+
getContactList(): void;
|
|
88
|
+
getFullName(contact: any): string;
|
|
89
|
+
toggleCallerIdDiv(): void;
|
|
90
|
+
onContactSelect(contact: any): void;
|
|
91
|
+
endCall(): void;
|
|
92
|
+
initiateCall(): Promise<boolean | undefined>;
|
|
93
|
+
isInvalidNumber(): Promise<boolean>;
|
|
94
|
+
saveLastDialed(): void;
|
|
95
|
+
isSavedContactDialled(): boolean;
|
|
96
|
+
showDialAlert(message: string): void;
|
|
97
|
+
isCallerIdSet(): Promise<boolean>;
|
|
98
|
+
checkMicrophonePermission(): Promise<boolean>;
|
|
99
|
+
askForMicrophonePermission(): Promise<void>;
|
|
100
|
+
getToNumber(dialedNumber: string): Promise<void>;
|
|
101
|
+
isAlertEnable(): string | null;
|
|
102
|
+
showNumberToast(data: any): Promise<void>;
|
|
103
|
+
delay(ms: number): Promise<void>;
|
|
104
|
+
isMinimised: boolean;
|
|
105
|
+
onMinimise(isMinimised: boolean): void;
|
|
106
|
+
handleNumberPaste(event: ClipboardEvent): void;
|
|
107
|
+
onEnter(num: string): void;
|
|
108
|
+
getUserCallSetting(): void;
|
|
109
|
+
onDedicatedNumSelect(id: any): void;
|
|
110
|
+
cancelDialNumber(): void;
|
|
111
|
+
handleDivKeydown(ev: any): void;
|
|
112
|
+
onCallBtnMouseEnter(ev: any): void;
|
|
113
|
+
onCallBtnMouseLeave(ev: any): void;
|
|
114
|
+
acceptNewIncomingCall(call: Call): void;
|
|
115
|
+
rejectNewIncomingCall(call: Call): void;
|
|
116
|
+
newIncomingCallInitiated(): void;
|
|
117
|
+
incomingCallsNewInfo(data: any): void;
|
|
118
|
+
ngOnDestroy(): void;
|
|
11
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialboxComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialboxComponent, "lib-dialbox", never, { "
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialboxComponent, "lib-dialbox", never, { "autoOpenOnIncoming": "autoOpenOnIncoming"; "contactInfo": "contactInfo"; "deviceId": "deviceId"; "isDialpadHidden": "isDialpadHidden"; "incomingCallData": "incomingCallData"; }, { "closeDialpadEvent": "closeDialpadEvent"; "callInitiated": "callInitiated"; "endCallEvent": "endCallEvent"; "minimiseEvent": "minimiseEvent"; "incomingCallsNewInfoEvent": "incomingCallsNewInfoEvent"; "incomingCallInitiated": "incomingCallInitiated"; "numberDialed": "numberDialed"; }, never, never, false, never>;
|
|
13
121
|
}
|
package/lib/dialbox.module.d.ts
CHANGED
|
@@ -6,8 +6,10 @@ import * as i4 from "./components/call-progress/incoming-call/incoming-call.comp
|
|
|
6
6
|
import * as i5 from "@angular/common";
|
|
7
7
|
import * as i6 from "@angular/forms";
|
|
8
8
|
import * as i7 from "@angular/common/http";
|
|
9
|
+
import * as i8 from "@angular/router";
|
|
10
|
+
import * as i9 from "@angular/platform-browser";
|
|
9
11
|
export declare class DialboxModule {
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialboxModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialboxModule, [typeof i1.DialboxComponent, typeof i2.CallProgressComponent, typeof i3.CallerIdDialogComponent, typeof i4.IncomingCallComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.HttpClientModule], [typeof i1.DialboxComponent, typeof i4.IncomingCallComponent, typeof i2.CallProgressComponent, typeof i3.CallerIdDialogComponent]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialboxModule, [typeof i1.DialboxComponent, typeof i2.CallProgressComponent, typeof i3.CallerIdDialogComponent, typeof i4.IncomingCallComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.HttpClientModule, typeof i8.RouterLink, typeof i8.RouterModule, typeof i9.BrowserModule], [typeof i1.DialboxComponent, typeof i4.IncomingCallComponent, typeof i2.CallProgressComponent, typeof i3.CallerIdDialogComponent]>;
|
|
12
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialboxModule>;
|
|
13
15
|
}
|
|
@@ -7,6 +7,11 @@ export declare class ExtensionService {
|
|
|
7
7
|
private ipAddressService;
|
|
8
8
|
private callSid;
|
|
9
9
|
private recordCall;
|
|
10
|
+
setCallSid(callSid: string, recordCall: any): void;
|
|
11
|
+
getCallSid(): {
|
|
12
|
+
callSid: string;
|
|
13
|
+
recordCall: any;
|
|
14
|
+
};
|
|
10
15
|
messageSource: BehaviorSubject<any>;
|
|
11
16
|
private channelId;
|
|
12
17
|
currentMessage: Observable<any>;
|
|
@@ -25,25 +30,141 @@ export declare class ExtensionService {
|
|
|
25
30
|
isProfileUpdated: BehaviorSubject<boolean>;
|
|
26
31
|
private callerIdSubject;
|
|
27
32
|
callerId$: Observable<any>;
|
|
28
|
-
constructor(http: HttpClient, ipAddressService: IpAddressService);
|
|
29
|
-
setCallSid(callSid: any, recordCall: any): void;
|
|
30
|
-
getCallSid(): {
|
|
31
|
-
callSid: string;
|
|
32
|
-
recordCall: any;
|
|
33
|
-
};
|
|
34
33
|
setCallerId(callerId: any): void;
|
|
35
|
-
|
|
34
|
+
constructor(http: HttpClient, ipAddressService: IpAddressService);
|
|
35
|
+
changeMessage(message: string): void;
|
|
36
|
+
GetUserUsage(token: string): Observable<[]>;
|
|
37
|
+
GetUserProfile(token: string, data: any): Observable<[]>;
|
|
38
|
+
UpdateProfile(userProfile: any, token: string): Observable<[]>;
|
|
39
|
+
deleteProfilePhoto(token: string): Observable<[]>;
|
|
40
|
+
getOtpCode(countryCode: string, number: string, mode: string, token: string): Observable<[]>;
|
|
41
|
+
getVerifyMobile(countryName: string, countrycode: string, number: string, otp: string, token: string): Observable<[]>;
|
|
42
|
+
connectWithStripe(token: string): Observable<[]>;
|
|
43
|
+
connectWithStripeRedirection(redirection: string, token: string): Observable<[]>;
|
|
44
|
+
validateStripeSession(sessionId: string, token: string): Observable<[]>;
|
|
45
|
+
loadPaymentMethods(token: string): Observable<[]>;
|
|
46
|
+
setPaymentDefaultMethod(paymentMethodId: string, token: string): Observable<[]>;
|
|
47
|
+
sendEmailVerifyLink(emailval: any, token: string): Observable<[]>;
|
|
48
|
+
VerifyEmailLink(key: string): Observable<[]>;
|
|
49
|
+
DeleteMethod(paymentMethodId: string, token: string): Observable<[]>;
|
|
50
|
+
VerifySession(token: string): Observable<[]>;
|
|
51
|
+
GetAllCountryList(): Observable<string>;
|
|
52
|
+
GetAllStateList(_countryId: any): Observable<string>;
|
|
53
|
+
LogoutUser(authKey: any): Observable<[]>;
|
|
54
|
+
purchasedNumber(token: string): Observable<string>;
|
|
55
|
+
availableNumber(token: string, dtModel: any): Observable<[]>;
|
|
56
|
+
urAvailableNumber(token: string, dtModel: any): Observable<[]>;
|
|
57
|
+
stagingNumber(token: string, dtModel: any): Observable<[]>;
|
|
58
|
+
saveCompanyDetail(dtModel: any): Observable<[]>;
|
|
59
|
+
saveAddressInfo(dtModel: any): Observable<[]>;
|
|
60
|
+
saveStripeInfo(userId: string): Observable<[]>;
|
|
61
|
+
saveCardInfo(dtModel: any): Observable<[]>;
|
|
62
|
+
deleteCard(dtModel: any): Observable<[]>;
|
|
63
|
+
purchasePlan(dtModel: any): Observable<[]>;
|
|
64
|
+
getUserStagingInfo(data: any): Observable<[]>;
|
|
65
|
+
costCheckOut(token: string, cost: any): Observable<string>;
|
|
66
|
+
buyNumber(token: string, dtModel: any): Observable<[]>;
|
|
67
|
+
fetchCallerId(token: string): Observable<string>;
|
|
68
|
+
updateNumberLabel(token: string, dtModel: any): Observable<[]>;
|
|
69
|
+
releaseNumber(token: string, twilioNum: string): Observable<[]>;
|
|
70
|
+
sendOTP(token: string, dtModel: any): Observable<[]>;
|
|
71
|
+
verifyOTP(token: string, dtModel: any): Observable<[]>;
|
|
72
|
+
updateCallForwarding(token: string, dtModel: any): Observable<[]>;
|
|
73
|
+
getSingleNumForwardingSetting(token: string, number: string): Observable<[]>;
|
|
74
|
+
deleteCallForwarding(token: string, dtModel: any): Observable<[]>;
|
|
75
|
+
displayID(token: string): Observable<[]>;
|
|
76
|
+
verifyNumber(token: string, dtModel: any): Observable<[]>;
|
|
77
|
+
verifyStatus(token: string, dtModel: any): Observable<[]>;
|
|
78
|
+
existingListmakeCallerID(token: string, dtModel: any): Observable<[]>;
|
|
79
|
+
makeCallerID(token: string, dtModel: any, number: any): Observable<[]>;
|
|
80
|
+
deleteCallerID(token: string, dtModel: any, id: any): Observable<[]>;
|
|
81
|
+
deregisterCallerID(token: string, dtModel: any, id: any): Observable<[]>;
|
|
82
|
+
updateCallerIDLabel(token: string, dtModel: any): Observable<[]>;
|
|
36
83
|
initiateCall(payload: any): Observable<any>;
|
|
37
|
-
fetchBlockedCountries(): Observable<
|
|
38
|
-
getIncomingCallToken(deviceId: any): Observable<
|
|
39
|
-
getOutgoingCallToken(payload: any): Observable<
|
|
40
|
-
getCallRecording(callSid:
|
|
41
|
-
pauseOrResumeRecording(callSid: string, status:
|
|
84
|
+
fetchBlockedCountries(): Observable<string[]>;
|
|
85
|
+
getIncomingCallToken(deviceId: any): Observable<[]>;
|
|
86
|
+
getOutgoingCallToken(payload: any): Observable<[]>;
|
|
87
|
+
getCallRecording(callSid: string): Observable<Object>;
|
|
88
|
+
pauseOrResumeRecording(callSid: string, status: any): Observable<Object>;
|
|
42
89
|
getCallStatus(callAuthId: string): Observable<Object>;
|
|
43
|
-
|
|
44
|
-
|
|
90
|
+
sendSms(c2c_latlong: string, c2c_request: string, dtModel: any): Observable<any>;
|
|
91
|
+
readContacts(token: string): Observable<[]>;
|
|
92
|
+
sentSMS(token: string, pageSize?: string, pageIndex?: string): Observable<[]>;
|
|
93
|
+
deleteSMS(token: string, recordIds: any, dtModel: any): Observable<[]>;
|
|
94
|
+
inboxSMS(token: string, page: number, size: number): Observable<[]>;
|
|
95
|
+
readInboxStatus(token: string, recordId: any, dtModel: any): Observable<[]>;
|
|
96
|
+
markAsFavourite(token: string, recordIds: any, dtModel: any): Observable<[]>;
|
|
97
|
+
markAsUnFavourite(token: string, recordIds: any, dtModel: any): Observable<[]>;
|
|
98
|
+
viewfavouriteSMS(token: string, page: number, size: number): Observable<[]>;
|
|
99
|
+
saveDraft(token: string, dtModel: any): Observable<[]>;
|
|
100
|
+
viewDraft(token: string, page: number, size: number): Observable<[]>;
|
|
101
|
+
deleteDraftSMS(token: string, draftIds: any, dtModel: any): Observable<[]>;
|
|
102
|
+
viewContactLists(token: string): Observable<[]>;
|
|
103
|
+
deleteContact(token: string, phonebookid: any, dtModel: any): Observable<[]>;
|
|
104
|
+
updateFavContacts(token: string, dtModel: any): Observable<[]>;
|
|
105
|
+
uploadImage(token: string, dtModel: any): Observable<[]>;
|
|
106
|
+
recentCallHistory(token: string, page: number, size: number): Observable<[]>;
|
|
107
|
+
deleteCalls(token: string, recordId: any, dtModel: any): Observable<[]>;
|
|
108
|
+
recentSMSHistory(token: string, page: number, size: number): Observable<[]>;
|
|
109
|
+
getRecentVoiceRecordingData(token: string, filterData: any, page: number, size: number): Observable<[]>;
|
|
110
|
+
saveVoiceMailReocrding(token: string, recordingData: any): Observable<[]>;
|
|
111
|
+
deleteVoiceRecording(token: string, recordingId: any): Observable<[]>;
|
|
112
|
+
markAsVoiceRecording(token: string, recordingId: any, dtModel: any): Observable<[]>;
|
|
113
|
+
editContactById(token: string, id: string): Observable<[]>;
|
|
114
|
+
updateContacts(token: string, dtModel: any): Observable<[]>;
|
|
115
|
+
uploadPhoto(payload: any): Observable<[]>;
|
|
116
|
+
saveContacts(token: string, payload: any): Observable<[]>;
|
|
117
|
+
downloadCsvTemplate(token: string): Observable<[]>;
|
|
118
|
+
updateCSVContacts(token: string, dtModel: any): Observable<[]>;
|
|
119
|
+
GetAllCityList(_countryId: any, _stateName: any): Observable<string>;
|
|
120
|
+
GetAllZipList(dataModel: any): Observable<string>;
|
|
121
|
+
GetInvoices(viewType: string, token: string): Observable<[]>;
|
|
122
|
+
DownloadInvoice(invoiceId: string, token: string): Observable<[]>;
|
|
123
|
+
GetInvoice(invoiceId: string): Observable<[]>;
|
|
124
|
+
GetBillingSummary(token: any): Observable<[]>;
|
|
125
|
+
GetAllPlans(token: any): Observable<[]>;
|
|
126
|
+
payNow(invoiceId: string, cardId: string, token: string): Observable<[]>;
|
|
127
|
+
confirmInvoicePayment(customerId: string, token: string): Observable<[]>;
|
|
128
|
+
loadStripeMethods(sessionid: string, token: string): Observable<[]>;
|
|
129
|
+
logOut(authKey: any): Observable<[]>;
|
|
130
|
+
registerFCMToken(payload: any): Observable<[]>;
|
|
131
|
+
getNotificationList(pageIndex?: string, pageSize?: string): Observable<[]>;
|
|
132
|
+
getTotalUnreadCount(): Observable<[]>;
|
|
133
|
+
markNotification(payload: any): Observable<[]>;
|
|
134
|
+
deleteNotification(payload: any): Observable<[]>;
|
|
135
|
+
getVoicemailDetails(recordId: string, token: string): Observable<any>;
|
|
136
|
+
deleteNotifications(token: string, notificationIds: any): Observable<[]>;
|
|
137
|
+
getReports(filterData: any, pageIndex?: number, pageSize?: number): Observable<[]>;
|
|
138
|
+
getReportsFilter(): Observable<[]>;
|
|
139
|
+
getSyncReportData(): Observable<[]>;
|
|
140
|
+
getDownloadCSV(filterData: any, pageIndex: any, pageSize: any): Observable<any>;
|
|
141
|
+
getDeleteFile(filePathValue: string): Observable<any>;
|
|
142
|
+
getDownloadPDF(filterData: any, pageIndex: any, pageSize: any): Observable<[]>;
|
|
143
|
+
getSuspendCategoriesData(): Observable<[]>;
|
|
144
|
+
getUserDetailsForSuspend(userIds: any): Observable<any[]>;
|
|
145
|
+
suspendUsers(userData: any): Observable<any[]>;
|
|
146
|
+
resumeUser(userData: any): Observable<any[]>;
|
|
147
|
+
resumeUnpaidUsers(userData: any): Observable<any[]>;
|
|
148
|
+
deleteUser(userData: any): Observable<any[]>;
|
|
149
|
+
deleteUserAccount(): Observable<any>;
|
|
150
|
+
getIPDetailsForCall(recordId: any, callStatus: any, deviceId: any): Observable<any>;
|
|
151
|
+
getIPDetailsForSMS(recordId: any): Observable<any>;
|
|
152
|
+
GetAllAvailableCountryList(): Observable<string>;
|
|
153
|
+
getUserSettings(): Observable<string>;
|
|
154
|
+
updateDialCodePreference(settings: any): Observable<[]>;
|
|
155
|
+
updateLongPressTime(time: number): Observable<[]>;
|
|
156
|
+
exportToCSV(): Observable<string>;
|
|
157
|
+
getDialPreferenceNums(): Observable<string>;
|
|
158
|
+
updateVASSettings(token: string, dtModel: any): Observable<[]>;
|
|
159
|
+
updateVoiceMailSettings(token: string, dtModel: any): Observable<[]>;
|
|
160
|
+
updateVoiceRecordSettings(token: string, dtModel: any): Observable<[]>;
|
|
161
|
+
getManualLinks(deviceType: string): string;
|
|
162
|
+
updateSignupProfile(body: any): Observable<any>;
|
|
163
|
+
getAdminSettings(): Observable<[]>;
|
|
164
|
+
updateActions(token: string, dtModel: any): Observable<[]>;
|
|
165
|
+
updateValueAddedServices(token: string, dtModel: any): Observable<[]>;
|
|
166
|
+
deleteAdminUsers(token: string, userIds: string): Observable<[]>;
|
|
45
167
|
getUserInformation(twilioAuthId: string): Observable<[]>;
|
|
46
|
-
getIPDetailsForCall(recordId: string, callStatus: string, deviceId?: any): Observable<any>;
|
|
47
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensionService, never>;
|
|
48
169
|
static ɵprov: i0.ɵɵInjectableDeclaration<ExtensionService>;
|
|
49
170
|
}
|
|
@@ -2,7 +2,7 @@ import { HttpClient } from '@angular/common/http';
|
|
|
2
2
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
3
|
import { Call } from '@twilio/voice-sdk';
|
|
4
4
|
import { ExtensionService } from './extension.service';
|
|
5
|
-
import { NotificationService } from './
|
|
5
|
+
import { NotificationService } from './Notification.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export interface DialPayload {
|
|
8
8
|
number: string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
export * from './lib/dialbox.service';
|
|
2
1
|
export * from './lib/dialbox.component';
|
|
3
2
|
export * from './lib/dialbox.module';
|
|
4
|
-
export * from './lib/service/ip-address.service';
|
|
5
|
-
export * from './lib/service/extension.service';
|
|
6
|
-
export * from './lib/service/twilio.service';
|
|
7
|
-
export * from './lib/service/notification.service';
|
|
8
|
-
export * from './lib/environments/environments';
|
|
9
|
-
export * from './lib/shared/global-constant';
|
|
10
|
-
export * from './lib/keypad';
|
|
11
3
|
export * from './lib/components/call-progress/call-progress.component';
|
|
12
4
|
export * from './lib/components/call-progress/incoming-call/incoming-call.component';
|
|
13
5
|
export * from './lib/components/caller-id-dialog/caller-id-dialog.component';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class DialboxService {
|
|
4
|
-
constructor() { }
|
|
5
|
-
}
|
|
6
|
-
DialboxService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialboxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7
|
-
DialboxService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialboxService, providedIn: 'root' });
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DialboxService, decorators: [{
|
|
9
|
-
type: Injectable,
|
|
10
|
-
args: [{
|
|
11
|
-
providedIn: 'root'
|
|
12
|
-
}]
|
|
13
|
-
}], ctorParameters: function () { return []; } });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbGJveC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZGlhbGJveC9zcmMvbGliL2RpYWxib3guc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUszQyxNQUFNLE9BQU8sY0FBYztJQUV6QixnQkFBZ0IsQ0FBQzs7NEdBRk4sY0FBYztnSEFBZCxjQUFjLGNBRmIsTUFBTTs0RkFFUCxjQUFjO2tCQUgxQixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgRGlhbGJveFNlcnZpY2Uge1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG59XG4iXX0=
|
package/esm2020/lib/keypad.mjs
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export const keypad = [
|
|
2
|
-
{
|
|
3
|
-
num: 1,
|
|
4
|
-
text: 'voicemail'
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
num: 2,
|
|
8
|
-
text: 'abc'
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
num: 3,
|
|
12
|
-
text: 'def'
|
|
13
|
-
}, {
|
|
14
|
-
num: 4,
|
|
15
|
-
text: 'ghi'
|
|
16
|
-
}, {
|
|
17
|
-
num: 5,
|
|
18
|
-
text: 'jkl'
|
|
19
|
-
}, {
|
|
20
|
-
num: 6,
|
|
21
|
-
text: 'mno'
|
|
22
|
-
}, {
|
|
23
|
-
num: 7,
|
|
24
|
-
text: 'pqrs'
|
|
25
|
-
}, {
|
|
26
|
-
num: 8,
|
|
27
|
-
text: 'tuv'
|
|
28
|
-
}, {
|
|
29
|
-
num: 9,
|
|
30
|
-
text: 'wxyz'
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
num: '*',
|
|
34
|
-
text: ' '
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
num: 0,
|
|
38
|
-
text: '+'
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
num: '#',
|
|
42
|
-
text: ''
|
|
43
|
-
}
|
|
44
|
-
];
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5cGFkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZGlhbGJveC9zcmMvbGliL2tleXBhZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxNQUFNLEdBQ2Y7SUFDSTtRQUNJLEdBQUcsRUFBRSxDQUFDO1FBQ04sSUFBSSxFQUFFLFdBQVc7S0FDcEI7SUFDRDtRQUNJLEdBQUcsRUFBRSxDQUFDO1FBQ04sSUFBSSxFQUFFLEtBQUs7S0FDZDtJQUNEO1FBQ0ksR0FBRyxFQUFFLENBQUM7UUFDTixJQUFJLEVBQUUsS0FBSztLQUNkLEVBQUU7UUFDQyxHQUFHLEVBQUUsQ0FBQztRQUNOLElBQUksRUFBRSxLQUFLO0tBQ2QsRUFBRTtRQUNDLEdBQUcsRUFBRSxDQUFDO1FBQ04sSUFBSSxFQUFFLEtBQUs7S0FDZCxFQUFFO1FBQ0MsR0FBRyxFQUFFLENBQUM7UUFDTixJQUFJLEVBQUUsS0FBSztLQUNkLEVBQUU7UUFDQyxHQUFHLEVBQUUsQ0FBQztRQUNOLElBQUksRUFBRSxNQUFNO0tBQ2YsRUFBRTtRQUNDLEdBQUcsRUFBRSxDQUFDO1FBQ04sSUFBSSxFQUFFLEtBQUs7S0FDZCxFQUFFO1FBQ0MsR0FBRyxFQUFFLENBQUM7UUFDTixJQUFJLEVBQUUsTUFBTTtLQUNmO0lBQ0Q7UUFDSSxHQUFHLEVBQUUsR0FBRztRQUNSLElBQUksRUFBRSxHQUFHO0tBQ1o7SUFDRDtRQUNJLEdBQUcsRUFBRSxDQUFDO1FBQ04sSUFBSSxFQUFFLEdBQUc7S0FDWjtJQUNEO1FBQ0ksR0FBRyxFQUFFLEdBQUc7UUFDUixJQUFJLEVBQUUsRUFBRTtLQUNYO0NBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBrZXlwYWQ6IGFueVtdID1cclxuICAgIFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICAgIG51bTogMSxcclxuICAgICAgICAgICAgdGV4dDogJ3ZvaWNlbWFpbCdcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgICAgbnVtOiAyLFxyXG4gICAgICAgICAgICB0ZXh0OiAnYWJjJ1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgICBudW06IDMsXHJcbiAgICAgICAgICAgIHRleHQ6ICdkZWYnXHJcbiAgICAgICAgfSwge1xyXG4gICAgICAgICAgICBudW06IDQsXHJcbiAgICAgICAgICAgIHRleHQ6ICdnaGknXHJcbiAgICAgICAgfSwge1xyXG4gICAgICAgICAgICBudW06IDUsXHJcbiAgICAgICAgICAgIHRleHQ6ICdqa2wnXHJcbiAgICAgICAgfSwge1xyXG4gICAgICAgICAgICBudW06IDYsXHJcbiAgICAgICAgICAgIHRleHQ6ICdtbm8nXHJcbiAgICAgICAgfSwge1xyXG4gICAgICAgICAgICBudW06IDcsXHJcbiAgICAgICAgICAgIHRleHQ6ICdwcXJzJ1xyXG4gICAgICAgIH0sIHtcclxuICAgICAgICAgICAgbnVtOiA4LFxyXG4gICAgICAgICAgICB0ZXh0OiAndHV2J1xyXG4gICAgICAgIH0sIHtcclxuICAgICAgICAgICAgbnVtOiA5LFxyXG4gICAgICAgICAgICB0ZXh0OiAnd3h5eidcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgICAgbnVtOiAnKicsXHJcbiAgICAgICAgICAgIHRleHQ6ICcgJ1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgICBudW06IDAsXHJcbiAgICAgICAgICAgIHRleHQ6ICcrJ1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgICBudW06ICcjJyxcclxuICAgICAgICAgICAgdGV4dDogJydcclxuICAgICAgICB9XHJcbiAgICBdO1xyXG5cclxuXHJcbiJdfQ==
|
package/lib/dialbox.service.d.ts
DELETED
|
File without changes
|
|
File without changes
|