@vgroup/dialbox 0.1.57 → 0.1.59
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/lib/components/call-progress/call-progress.component.mjs +5 -37
- package/esm2020/lib/components/call-progress/incoming-call/incoming-call.component.mjs +5 -13
- package/esm2020/lib/components/caller-id-dialog/caller-id-dialog.component.mjs +13 -20
- package/esm2020/lib/dialbox.component.mjs +14 -1218
- package/esm2020/lib/dialbox.module.mjs +6 -16
- package/esm2020/lib/dialbox.service.mjs +14 -0
- package/esm2020/lib/environments/environments.mjs +1 -1
- package/esm2020/lib/keypad.mjs +45 -0
- package/esm2020/lib/service/extension.service.mjs +33 -1035
- package/esm2020/lib/service/ip-address.service.mjs +1 -1
- package/esm2020/lib/service/{Notification.service.mjs → notification.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 +9 -3
- package/fesm2015/vgroup-dialbox.mjs +962 -3210
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +929 -3168
- 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 +1 -4
- package/lib/dialbox.component.d.ts +2 -118
- package/lib/dialbox.module.d.ts +1 -3
- package/lib/dialbox.service.d.ts +6 -0
- package/lib/service/extension.service.d.ts +15 -136
- package/lib/service/twilio.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +8 -0
- package/esm2020/keypad.mjs +0 -45
- /package/{keypad.d.ts → lib/keypad.d.ts} +0 -0
- /package/lib/service/{Notification.service.d.ts → notification.service.d.ts} +0 -0
|
@@ -37,6 +37,7 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
37
37
|
callStatus: string;
|
|
38
38
|
incomingRecordCall?: any;
|
|
39
39
|
selectedIncomingCall: any;
|
|
40
|
+
isMinimised: boolean;
|
|
40
41
|
constructor(extensionService: ExtensionService, cdr: ChangeDetectorRef);
|
|
41
42
|
ngOnInit(): void;
|
|
42
43
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -59,7 +60,6 @@ export declare class CallProgressComponent implements OnInit, OnChanges, AfterVi
|
|
|
59
60
|
onCallInputEnter(ev: any): void;
|
|
60
61
|
closeIncomingCall(data: any): void;
|
|
61
62
|
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
|
-
startTimer1
|
|
71
|
-
stopRecordingTimer
|
|
70
|
+
private startTimer1;
|
|
71
|
+
private stopRecordingTimer;
|
|
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;
|
|
34
39
|
constructor(extensionService: ExtensionService, twilioService: TwilioService, notificationSerivce: NotificationService);
|
|
35
40
|
ngOnInit(): void;
|
|
36
41
|
acceptCallFromList(data?: any): void;
|
|
37
42
|
rejectCallFromList(data?: any): void;
|
|
38
43
|
closeIncomingCallWrapper(val: any): void;
|
|
39
|
-
toggleMute(data
|
|
44
|
+
toggleMute(data: any): void;
|
|
40
45
|
sendIPforIncomingCall(recordId: any, callstatus: any): Promise<void>;
|
|
41
46
|
onUserInfoByCallSid(): boolean;
|
|
42
47
|
onClickExpand(data?: any): void;
|
|
43
48
|
getUserInformation(incomingCallData: any): void;
|
|
44
49
|
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
|
-
startTimer1
|
|
55
|
+
private startTimer1;
|
|
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,16 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
2
|
import { Router } from '@angular/router';
|
|
4
3
|
import { TwilioService } from '../../service/twilio.service';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class CallerIdDialogComponent implements OnInit {
|
|
7
6
|
private router;
|
|
8
7
|
private twilServ;
|
|
9
|
-
dialogRef: MatDialogRef<CallerIdDialogComponent>;
|
|
10
|
-
data: any;
|
|
11
8
|
storedTheme: string;
|
|
12
9
|
alertToggle: boolean;
|
|
13
|
-
constructor(router: Router, twilServ: TwilioService
|
|
10
|
+
constructor(router: Router, twilServ: TwilioService);
|
|
14
11
|
token: string;
|
|
15
12
|
ngOnInit(): void;
|
|
16
13
|
onConfirm(): void;
|
|
@@ -1,121 +1,5 @@
|
|
|
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';
|
|
8
1
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class DialboxComponent
|
|
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;
|
|
19
|
-
contactInfo: any;
|
|
20
|
-
deviceId: any;
|
|
21
|
-
set isDialpadHidden(value: boolean);
|
|
22
|
-
incomingCallData: any;
|
|
23
|
-
get isDialpadHidden(): boolean;
|
|
24
|
-
closeDialpadEvent: EventEmitter<void>;
|
|
25
|
-
callInitiated: EventEmitter<any>;
|
|
26
|
-
endCallEvent: EventEmitter<void>;
|
|
27
|
-
minimiseEvent: EventEmitter<boolean>;
|
|
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;
|
|
2
|
+
export declare class DialboxComponent {
|
|
119
3
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialboxComponent, never>;
|
|
120
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialboxComponent, "lib-dialbox", never, {
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialboxComponent, "lib-dialbox", never, {}, {}, never, never, false, never>;
|
|
121
5
|
}
|
package/lib/dialbox.module.d.ts
CHANGED
|
@@ -6,10 +6,8 @@ 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";
|
|
11
9
|
export declare class DialboxModule {
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialboxModule, never>;
|
|
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
|
|
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]>;
|
|
14
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialboxModule>;
|
|
15
13
|
}
|
|
@@ -7,11 +7,6 @@ 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
|
-
};
|
|
15
10
|
messageSource: BehaviorSubject<any>;
|
|
16
11
|
private channelId;
|
|
17
12
|
currentMessage: Observable<any>;
|
|
@@ -30,141 +25,25 @@ export declare class ExtensionService {
|
|
|
30
25
|
isProfileUpdated: BehaviorSubject<boolean>;
|
|
31
26
|
private callerIdSubject;
|
|
32
27
|
callerId$: Observable<any>;
|
|
33
|
-
setCallerId(callerId: any): void;
|
|
34
28
|
constructor(http: HttpClient, ipAddressService: IpAddressService);
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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<[]>;
|
|
29
|
+
setCallSid(callSid: any, recordCall: any): void;
|
|
30
|
+
getCallSid(): {
|
|
31
|
+
callSid: string;
|
|
32
|
+
recordCall: any;
|
|
33
|
+
};
|
|
34
|
+
setCallerId(callerId: any): void;
|
|
35
|
+
changeMessage(message: any): void;
|
|
83
36
|
initiateCall(payload: any): Observable<any>;
|
|
84
|
-
fetchBlockedCountries(): Observable<
|
|
85
|
-
getIncomingCallToken(deviceId: any): Observable<
|
|
86
|
-
getOutgoingCallToken(payload: any): Observable<
|
|
87
|
-
getCallRecording(callSid:
|
|
88
|
-
pauseOrResumeRecording(callSid: string, status:
|
|
37
|
+
fetchBlockedCountries(): Observable<any>;
|
|
38
|
+
getIncomingCallToken(deviceId: any): Observable<Object>;
|
|
39
|
+
getOutgoingCallToken(payload: any): Observable<Object>;
|
|
40
|
+
getCallRecording(callSid: any): Observable<Object>;
|
|
41
|
+
pauseOrResumeRecording(callSid: string, status: 'pause' | 'resume'): Observable<Object>;
|
|
89
42
|
getCallStatus(callAuthId: string): Observable<Object>;
|
|
90
|
-
|
|
91
|
-
|
|
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<[]>;
|
|
43
|
+
readContacts(token: string): Observable<Object>;
|
|
44
|
+
sendSms(c2c_latlong: string, c2c_request: string, dtModel: any): Observable<Object>;
|
|
167
45
|
getUserInformation(twilioAuthId: string): Observable<[]>;
|
|
46
|
+
getIPDetailsForCall(recordId: string, callStatus: string, deviceId?: any): Observable<any>;
|
|
168
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensionService, never>;
|
|
169
48
|
static ɵprov: i0.ɵɵInjectableDeclaration<ExtensionService>;
|
|
170
49
|
}
|
|
@@ -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,5 +1,13 @@
|
|
|
1
|
+
export * from './lib/dialbox.service';
|
|
1
2
|
export * from './lib/dialbox.component';
|
|
2
3
|
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';
|
|
3
11
|
export * from './lib/components/call-progress/call-progress.component';
|
|
4
12
|
export * from './lib/components/call-progress/incoming-call/incoming-call.component';
|
|
5
13
|
export * from './lib/components/caller-id-dialog/caller-id-dialog.component';
|
package/esm2020/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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5cGFkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvZGlhbGJveC9zcmMva2V5cGFkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE1BQU0sQ0FBQyxNQUFNLE1BQU0sR0FDZjtJQUNJO1FBQ0ksR0FBRyxFQUFFLENBQUM7UUFDTixJQUFJLEVBQUUsV0FBVztLQUNwQjtJQUNEO1FBQ0ksR0FBRyxFQUFFLENBQUM7UUFDTixJQUFJLEVBQUUsS0FBSztLQUNkO0lBQ0Q7UUFDSSxHQUFHLEVBQUUsQ0FBQztRQUNOLElBQUksRUFBRSxLQUFLO0tBQ2QsRUFBRTtRQUNDLEdBQUcsRUFBRSxDQUFDO1FBQ04sSUFBSSxFQUFFLEtBQUs7S0FDZCxFQUFFO1FBQ0MsR0FBRyxFQUFFLENBQUM7UUFDTixJQUFJLEVBQUUsS0FBSztLQUNkLEVBQUU7UUFDQyxHQUFHLEVBQUUsQ0FBQztRQUNOLElBQUksRUFBRSxLQUFLO0tBQ2QsRUFBRTtRQUNDLEdBQUcsRUFBRSxDQUFDO1FBQ04sSUFBSSxFQUFFLE1BQU07S0FDZixFQUFFO1FBQ0MsR0FBRyxFQUFFLENBQUM7UUFDTixJQUFJLEVBQUUsS0FBSztLQUNkLEVBQUU7UUFDQyxHQUFHLEVBQUUsQ0FBQztRQUNOLElBQUksRUFBRSxNQUFNO0tBQ2Y7SUFDRDtRQUNJLEdBQUcsRUFBRSxHQUFHO1FBQ1IsSUFBSSxFQUFFLEdBQUc7S0FDWjtJQUNEO1FBQ0ksR0FBRyxFQUFFLENBQUM7UUFDTixJQUFJLEVBQUUsR0FBRztLQUNaO0lBQ0Q7UUFDSSxHQUFHLEVBQUUsR0FBRztRQUNSLElBQUksRUFBRSxFQUFFO0tBQ1g7Q0FDSixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiXHJcbmV4cG9ydCBjb25zdCBrZXlwYWQ6IGFueVtdID1cclxuICAgIFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICAgIG51bTogMSxcclxuICAgICAgICAgICAgdGV4dDogJ3ZvaWNlbWFpbCdcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgICAgbnVtOiAyLFxyXG4gICAgICAgICAgICB0ZXh0OiAnYWJjJ1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgICBudW06IDMsXHJcbiAgICAgICAgICAgIHRleHQ6ICdkZWYnXHJcbiAgICAgICAgfSwge1xyXG4gICAgICAgICAgICBudW06IDQsXHJcbiAgICAgICAgICAgIHRleHQ6ICdnaGknXHJcbiAgICAgICAgfSwge1xyXG4gICAgICAgICAgICBudW06IDUsXHJcbiAgICAgICAgICAgIHRleHQ6ICdqa2wnXHJcbiAgICAgICAgfSwge1xyXG4gICAgICAgICAgICBudW06IDYsXHJcbiAgICAgICAgICAgIHRleHQ6ICdtbm8nXHJcbiAgICAgICAgfSwge1xyXG4gICAgICAgICAgICBudW06IDcsXHJcbiAgICAgICAgICAgIHRleHQ6ICdwcXJzJ1xyXG4gICAgICAgIH0sIHtcclxuICAgICAgICAgICAgbnVtOiA4LFxyXG4gICAgICAgICAgICB0ZXh0OiAndHV2J1xyXG4gICAgICAgIH0sIHtcclxuICAgICAgICAgICAgbnVtOiA5LFxyXG4gICAgICAgICAgICB0ZXh0OiAnd3h5eidcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgICAgbnVtOiAnKicsXHJcbiAgICAgICAgICAgIHRleHQ6ICcgJ1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgICBudW06IDAsXHJcbiAgICAgICAgICAgIHRleHQ6ICcrJ1xyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgICBudW06ICcjJyxcclxuICAgICAgICAgICAgdGV4dDogJydcclxuICAgICAgICB9XHJcbiAgICBdO1xyXG4iXX0=
|
|
File without changes
|
|
File without changes
|