gemcap-be-common 1.3.22 → 1.3.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.3.22",
3
+ "version": "1.3.23",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -3,12 +3,13 @@
3
3
 
4
4
  <p>Dear ${CONTACT_NAME}</p>
5
5
 
6
- <p>You are requested to review your application${HAS_EMPTY_FIELDS}${FILE_INFO}.</p>
6
+ <p>Here’s a reminder on your loan application. Please submit your due diligence so that we can continue with your
7
+ application. We have not received anything from you against the following sections:</p>
7
8
 
8
9
  <a href="${LINK}">${LINK}</a>
9
10
 
10
- <p>We look forward to receiving your due diligence information and working with you. Failure to provide due diligence on
11
- a timely basis will result in delays to your loan application being processed.</p>
11
+ <p>Failure to provide due diligence on a timely basis will result in delays to your loan application being
12
+ processed.</p>
12
13
 
13
14
  ${signature}
14
15
 
@@ -3,12 +3,13 @@
3
3
 
4
4
  <p>Dear ${CONTACT_NAME}</p>
5
5
 
6
- <p>You are requested to review your application${HAS_EMPTY_FIELDS}${FILE_INFO}.</p>
6
+ <p>Here’s a reminder on your loan application. Please submit your due diligence so that we can continue with your
7
+ application. We have not received anything from you against the following sections:</p>
7
8
 
8
9
  <a href="${LINK}">${LINK}</a>
9
10
 
10
- <p>We look forward to receiving your due diligence information and working with you. Failure to provide due diligence on
11
- a timely basis will result in delays to your loan application being processed.</p>
11
+ <p>Failure to provide due diligence on a timely basis will result in delays to your loan application being
12
+ processed.</p>
12
13
 
13
14
  ${signature}
14
15
 
@@ -669,7 +669,7 @@ class NodemailerService {
669
669
  async sendProspectReminder(email, replacements) {
670
670
  const textPath = path_1.default.resolve(__dirname, '../public/emails', 'prospect-form-reminder.html');
671
671
  const text = await fs.promises.readFile(textPath, 'utf8');
672
- const signature = await this.getSignatureAsync(ESenderType.FINANCIAL_ONLY);
672
+ const signature = await this.getSignatureAsync(ESenderType.NEW_BUSINESS);
673
673
  const fileInfo = replacements.requiredGroups.length > 0
674
674
  ? ` and upload missing documents under the following sections: ${replacements.requiredGroups.join(', ')}`
675
675
  : '';
@@ -681,9 +681,9 @@ class NodemailerService {
681
681
  .replace('${signature}', signature);
682
682
  try {
683
683
  this.transporter.sendMail({
684
- from: this.getSender(ESenderType.FINANCIAL),
684
+ from: this.getSender(ESenderType.NEW_BUSINESS),
685
685
  to: [...this.config.hiddenRecipient, ...email.addresses],
686
- cc: this.getSender(ESenderType.FINANCIAL),
686
+ cc: this.getSender(ESenderType.NEW_BUSINESS),
687
687
  subject: email.subject,
688
688
  text: replacedData,
689
689
  html: replacedData,
@@ -757,7 +757,7 @@ export class NodemailerService {
757
757
  }) {
758
758
  const textPath = path.resolve(__dirname, '../public/emails', 'prospect-form-reminder.html');
759
759
  const text = await fs.promises.readFile(textPath, 'utf8');
760
- const signature = await this.getSignatureAsync(ESenderType.FINANCIAL_ONLY);
760
+ const signature = await this.getSignatureAsync(ESenderType.NEW_BUSINESS);
761
761
  const fileInfo = replacements.requiredGroups.length > 0
762
762
  ? ` and upload missing documents under the following sections: ${replacements.requiredGroups.join(', ')}`
763
763
  : '';
@@ -769,9 +769,9 @@ export class NodemailerService {
769
769
  .replace('${signature}', signature);
770
770
  try {
771
771
  this.transporter.sendMail({
772
- from: this.getSender(ESenderType.FINANCIAL),
772
+ from: this.getSender(ESenderType.NEW_BUSINESS),
773
773
  to: [...this.config.hiddenRecipient, ...email.addresses],
774
- cc: this.getSender(ESenderType.FINANCIAL),
774
+ cc: this.getSender(ESenderType.NEW_BUSINESS),
775
775
  subject: email.subject,
776
776
  text: replacedData,
777
777
  html: replacedData,