@vgroup/dialbox 0.7.81 → 0.7.82
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 +8 -1
- package/esm2020/lib/environments/environments.mjs +15 -12
- package/esm2020/lib/service/twilio.service.mjs +4 -1
- package/fesm2015/vgroup-dialbox.mjs +25 -11
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +24 -11
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/environments/environments.d.ts +3 -0
- package/package.json +1 -1
|
@@ -62,23 +62,23 @@ const keypad = [
|
|
|
62
62
|
];
|
|
63
63
|
|
|
64
64
|
const environment = {
|
|
65
|
-
abb: "
|
|
66
|
-
production:
|
|
65
|
+
abb: "u",
|
|
66
|
+
production: false,
|
|
67
67
|
secureCookies: true,
|
|
68
|
-
feUrl: 'https://
|
|
69
|
-
apiUrl: 'https://
|
|
70
|
-
websocketUrl: 'wss://
|
|
68
|
+
feUrl: 'https://c2c-uat.contexttocall.com:85/',
|
|
69
|
+
apiUrl: 'https://c2c-uatapi-t10.contexttocall.com/uat_softphone',
|
|
70
|
+
websocketUrl: 'wss://c2c-uatapi-t10.contexttocall.com/uat_softphone/',
|
|
71
71
|
captchaKey: "6LfpOmEaAAAAAGsI6JXlMzOl3b7rW4YmYXFDjldD",
|
|
72
|
-
stripePublishableKey: "
|
|
72
|
+
stripePublishableKey: "pk_live_51NbMVaA3guus6fhl85gdcvAWHzfHba5LdGlsnV7DxBT9spHghn4IHT9rDCjSRgFh2ijTiZn9qeazdciY1PbreOuB00t1GdQAZJ",
|
|
73
73
|
sessionTimeout: 15,
|
|
74
74
|
deviceType: "web",
|
|
75
|
-
appVersion: "
|
|
75
|
+
appVersion: "2.9",
|
|
76
76
|
channelId: '6511738039ee10367cbde2e9',
|
|
77
77
|
c2c_support_point_id: '60424735f74ac306c1bfa900',
|
|
78
|
-
c2c_support_channel_id: '
|
|
78
|
+
c2c_support_channel_id: '677f68fcbe93ab507fbbfe0b',
|
|
79
79
|
c2c_point_url: 'https://bit.ly/3blWnPv',
|
|
80
|
-
c2c_call_label_id: '
|
|
81
|
-
c2c_email_label_id: '
|
|
80
|
+
c2c_call_label_id: '5M4taT8xzAg9pPIUADOW',
|
|
81
|
+
c2c_email_label_id: 'MUUC4NV5bLqHixXyhmok',
|
|
82
82
|
radarAPIKey: 'prj_live_sk_569b6f639edde6120a26f703511c61aaecd3f7ef',
|
|
83
83
|
firebase: {
|
|
84
84
|
apiKey: "AIzaSyCA8LSPrqlDq_thk26LhBQexAQeY6pkU5Y",
|
|
@@ -90,7 +90,10 @@ const environment = {
|
|
|
90
90
|
measurementId: "G-NGXTSV9SH3",
|
|
91
91
|
vapidKey: "BD6EgcQgbZTjOQfleG3YlEc0_SajB03prqTdDy-qGJkxTxezbq-A_qtuXE1l3yT47o8hnTAbTKBcH15D2AJB2To"
|
|
92
92
|
},
|
|
93
|
-
perspectiveApiKey: 'AIzaSyClf32lvLH4QOy-vOnzLzwSNntKIgapH8s'
|
|
93
|
+
perspectiveApiKey: 'AIzaSyClf32lvLH4QOy-vOnzLzwSNntKIgapH8s',
|
|
94
|
+
keycloakURL: 'https://test-keycloak.vgroupinc.com/',
|
|
95
|
+
keycloakRealm: 'vgroup-test',
|
|
96
|
+
keycloakClientId: 'c2c-softphone-app'
|
|
94
97
|
};
|
|
95
98
|
|
|
96
99
|
class IpAddressService {
|
|
@@ -1878,6 +1881,9 @@ class TwilioService {
|
|
|
1878
1881
|
if (id != null && this.incomingCallsMap.has(id)) {
|
|
1879
1882
|
return this.incomingCallsMap.get(id);
|
|
1880
1883
|
}
|
|
1884
|
+
if (!this.incomingCallDetail) {
|
|
1885
|
+
return null;
|
|
1886
|
+
}
|
|
1881
1887
|
return this.incomingCallDetail.parameters?.['CallSid'] == id ? this.incomingCallDetail : null;
|
|
1882
1888
|
}
|
|
1883
1889
|
prepareDevice2ForIncomingCall() {
|
|
@@ -3344,6 +3350,12 @@ class CallProgressComponent {
|
|
|
3344
3350
|
toggleKeypad() {
|
|
3345
3351
|
this.showKeypad = !this.showKeypad;
|
|
3346
3352
|
this.callInput = '';
|
|
3353
|
+
if (this.showKeypad) {
|
|
3354
|
+
this.cdr.detectChanges();
|
|
3355
|
+
setTimeout(() => {
|
|
3356
|
+
document.getElementById('call-input')?.focus();
|
|
3357
|
+
}, 0);
|
|
3358
|
+
}
|
|
3347
3359
|
}
|
|
3348
3360
|
// Switch that silences (or restores) the incoming ring while a call is in progress.
|
|
3349
3361
|
toggleMuteIncomingCall() {
|
|
@@ -4027,6 +4039,7 @@ class CallProgressComponent {
|
|
|
4027
4039
|
}
|
|
4028
4040
|
}
|
|
4029
4041
|
onCallInputEnter(ev) {
|
|
4042
|
+
console.log(ev);
|
|
4030
4043
|
try {
|
|
4031
4044
|
let selfCall = this.newIncomingCallsList.find((res) => res?.conferenceId == this.currentCall?.conferenceId)?.participants.find((resData) => ((this.deviceNumberList.includes(resData?.from) && resData?.client) || (this.deviceNumberList.includes(resData?.to) && resData?.direction == 'incoming-call' && resData?.host)) && !resData?.isLeft);
|
|
4032
4045
|
let device = this.twilioService.getIncomingCallById(selfCall?.callSid || selfCall?.clientSid);
|