feat : customer can update username. wip : update the SMS template for user name.
58 lines
2.6 KiB
JavaScript
58 lines
2.6 KiB
JavaScript
const templates = {
|
|
LOGIN_OTP: (otp, username) => `Dear Customer, Your username ${username} have been verified. Please enter the OTP: ${otp} to complete your login. -KCCB `,
|
|
|
|
IMPS: (otp) => `Dear Customer, Please complete the fund transfer with OTP ${otp} -KCCB`,
|
|
|
|
NEFT: (otp, amount, beneficiary) =>
|
|
`Dear Customer, Please complete the NEFT of Rs.${amount} to ${beneficiary} with OTP:${otp} -KCCB`,
|
|
|
|
RTGS: (otp, amount, beneficiary) =>
|
|
`Dear Customer, Please complete the RTGS of Rs.${amount} to ${beneficiary} with OTP:${otp} -KCCB`,
|
|
|
|
BENEFICIARY_ADD: (otp, beneficiary, ifsc) =>
|
|
`Dear Customer, You have added beneficiary ${beneficiary} ${ifsc} for IMPS/NEFT/RTGS. Please endorse the beneficiary with OTP ${otp} -KCCB`,
|
|
|
|
BENEFICIARY_DELETE: (otp, beneficiary) =>
|
|
`Dear Customer, you have deleted the beneficiary ${beneficiary} for IMPS/NEFT/RTGS. Please confirm the deletion using OTP ${otp}. - KCCB`,
|
|
|
|
BENEFICIARY_SUCCESS: (beneficiary) =>
|
|
`Dear Customer, Your Beneficiary: ${beneficiary} for Net Banking is added successfully -KCCB`,
|
|
|
|
NOTIFICATION: (acctFrom, acctTo, amount, ref, date) =>
|
|
`Your A/c ${acctFrom} is debited for Rs. ${amount} to the credit of A/c ${acctTo} thru Net Banking - ref: ${ref} - ${date} - Kangra Central Co-Operative Bank -KCCB`,
|
|
|
|
FORGOT_PASSWORD: (otp) =>
|
|
`Dear Customer, Forgot Password OTP is ${otp} -KCCB`,
|
|
|
|
CHANGE_LPWORD: (otp) =>
|
|
`Dear Customer, Change Login Password OTP is ${otp} -KCCB`,
|
|
|
|
CHANGE_TPIN: (otp) =>
|
|
`Dear Customer, Change Transaction pin OTP is ${otp} -KCCB`,
|
|
|
|
CHANGE_TPWORD: (otp) =>
|
|
`Dear Customer, Change Transaction password OTP is ${otp} -KCCB`,
|
|
|
|
SET_TPWORD: (otp) =>
|
|
`Dear Customer, Your Set New Transaction password OTP is ${otp} -KCCB`,
|
|
|
|
CHANGE_MPIN: (otp) =>
|
|
`Dear Customer, Change M-PIN OTP is ${otp} -KCCB`,
|
|
|
|
REGISTRATION: (otp) =>
|
|
`Dear Customer, Your CIF is enable.First time login password: ${otp} (valid for 7 days).Please login and change your password -KCCB`,
|
|
|
|
RIGHT_UPDATE:
|
|
`Dear Customer, Your CIF rights have been updated. Please log in again to access the features. -KCCB`,
|
|
|
|
EMandate: (otp) =>
|
|
`Dear Customer, Your OTP for e-Mandate is ${otp}.It is valid for 1 minute.Do not share this OTP with anyone. -KCCB`,
|
|
|
|
USERNAME_UPDATED: (otp) =>
|
|
`Dear Customer, Your OTP for updating your Preferred Name is ${otp}. It is valid for 1 minute. Do not share this OTP with anyone. -KCCB`,
|
|
|
|
USERNAME_SAVED: (PreferName) =>
|
|
`Dear Customer, Your Preferred Name -${PreferName} has been updated successfully. If this change was not made by you, please contact our support team immediately.`
|
|
};
|
|
|
|
module.exports = templates; |