NTP-62017| varshitha |WhatsApp Call Interaction Feedback (#1447)

This commit is contained in:
Podili Varshitha
2025-05-20 20:26:12 +05:30
committed by GitHub
parent e7cb2a94cd
commit 32c12b44b4
2 changed files with 19 additions and 2 deletions

View File

@@ -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,

View File

@@ -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 />
}
};