NTP-62017| varshitha |WhatsApp Call Interaction Feedback (#1447)
This commit is contained in:
@@ -100,6 +100,17 @@ const NotificationList: React.FC<NotificationListProps> = ({
|
||||
} else if (templateName === TemplateTypes.COLLECTION_ESCALATION_RAISED) {
|
||||
dispatch(getReporteesWithAllocation(agentReferenceId || '', countOfEscalationEnabled));
|
||||
dispatch(setShowLogoutModal(true));
|
||||
} else if (templateName === TemplateTypes.WHATSAPP_CALL_INTERACTION) {
|
||||
navigateToCaseDetails(
|
||||
params?.customerReferenceId,
|
||||
params?.loanAccountNumber,
|
||||
params?.caseReferenceId,
|
||||
params?.businessVertical,
|
||||
navigate,
|
||||
APP_ROUTES.CASE_DETAIL.path,
|
||||
undefined,
|
||||
TAB_KEYS.COMMUNICATION_HISTORY
|
||||
);
|
||||
} else {
|
||||
navigateToCaseDetails(
|
||||
params?.customerReferenceId,
|
||||
|
||||
@@ -70,7 +70,8 @@ export const TemplateTypes = {
|
||||
ANOMALY_TRACKER_RESOLUTION: 'ANOMALY_TRACKER_RESOLUTION',
|
||||
COLLECTION_PAUSE_EFFORTS_CASE_PAUSED: 'COLLECTION_PAUSE_EFFORTS_CASE_PAUSED',
|
||||
COLLECTION_UNPAUSE_EFFORT_EVENT: 'COLLECTION_UNPAUSE_EFFORT_EVENT',
|
||||
COLLECTION_ESCALATION_RAISED: 'COLLECTION_ESCALATION_RAISED'
|
||||
COLLECTION_ESCALATION_RAISED: 'COLLECTION_ESCALATION_RAISED',
|
||||
WHATSAPP_CALL_INTERACTION: 'WHATSAPP_CALL_INTERACTION'
|
||||
};
|
||||
|
||||
export const PaymentSuccessTemplateTypes = [
|
||||
@@ -160,7 +161,8 @@ export const NotificationTabTemplateMap = {
|
||||
TemplateTypes.ANOMALY_TRACKER_RESOLUTION,
|
||||
TemplateTypes.COLLECTION_PAUSE_EFFORTS_CASE_PAUSED,
|
||||
TemplateTypes.COLLECTION_UNPAUSE_EFFORT_EVENT,
|
||||
TemplateTypes.COLLECTION_ESCALATION_RAISED
|
||||
TemplateTypes.COLLECTION_ESCALATION_RAISED,
|
||||
TemplateTypes.WHATSAPP_CALL_INTERACTION
|
||||
],
|
||||
[NotificationTabTypes.Tasks]: [
|
||||
TemplateTypes.SUPPORT_REQUEST_RECEIVED,
|
||||
@@ -318,6 +320,10 @@ export const TemplateInfoMap = {
|
||||
[TemplateTypes.COLLECTION_ESCALATION_RAISED]: {
|
||||
label: 'Collection Escalation Raised',
|
||||
icon: <EscalationNotifIcon />
|
||||
},
|
||||
[TemplateTypes.WHATSAPP_CALL_INTERACTION]: {
|
||||
label: 'Whatsapp Call Interaction',
|
||||
icon: <CallbackNotification />
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user