gemcap-be-common 1.3.46 → 1.3.48

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.46",
3
+ "version": "1.3.48",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -14,6 +14,13 @@
14
14
 
15
15
  <p>Failure to provide due diligence on a timely basis will result in delays to your loan application being processed.</p>
16
16
 
17
+ <p>
18
+ When logging in, you will be requested to enter a one-time-password below.
19
+ </p>
20
+ <p>
21
+ Your password is ${PASSWORD}.
22
+ </p>
23
+
17
24
  ${signature}
18
25
 
19
26
  </body>
@@ -12,6 +12,13 @@
12
12
  <p>Failure to provide due diligence on a timely basis will result in delays to your loan application being
13
13
  processed.</p>
14
14
 
15
+ <p>
16
+ When logging in, you will be requested to enter a one-time-password below.
17
+ </p>
18
+ <p>
19
+ Your password is ${PASSWORD}.
20
+ </p>
21
+
15
22
  ${signature}
16
23
 
17
24
  </body>
@@ -13,6 +13,13 @@
13
13
 
14
14
  <p>Failure to provide due diligence on a timely basis will result in delays to your loan application being processed.</p>
15
15
 
16
+ <p>
17
+ When logging in, you will be requested to enter a one-time-password below.
18
+ </p>
19
+ <p>
20
+ Your password is ${PASSWORD}.
21
+ </p>
22
+
16
23
  ${signature}
17
24
 
18
25
  </body>
@@ -11,6 +11,13 @@
11
11
  <p>We look forward to receiving your due diligence information and working with you. Failure to provide due diligence on
12
12
  a timely basis will result in delays to your loan application being processed.</p>
13
13
 
14
+ <p>
15
+ When logging in, you will be requested to enter a one-time-password below.
16
+ </p>
17
+ <p>
18
+ Your password is ${PASSWORD}.
19
+ </p>
20
+
14
21
  ${signature}
15
22
 
16
23
  </body>
@@ -12,6 +12,13 @@
12
12
  <p>Failure to provide due diligence on a timely basis will result in delays to your loan application being
13
13
  processed.</p>
14
14
 
15
+ <p>
16
+ When logging in, you will be requested to enter a one-time-password below.
17
+ </p>
18
+ <p>
19
+ Your password is ${PASSWORD}.
20
+ </p>
21
+
15
22
  ${signature}
16
23
 
17
24
  </body>
@@ -11,6 +11,13 @@
11
11
  <p>We look forward to receiving your due diligence information and working with you. Failure to provide due diligence on
12
12
  a timely basis will result in delays to your loan application being processed.</p>
13
13
 
14
+ <p>
15
+ When logging in, you will be requested to enter a one-time-password below.
16
+ </p>
17
+ <p>
18
+ Your password is ${PASSWORD}.
19
+ </p>
20
+
14
21
  ${signature}
15
22
 
16
23
  </body>
@@ -14,6 +14,13 @@
14
14
 
15
15
  <p>Failure to provide due diligence on a timely basis will result in delays to your loan application being processed.</p>
16
16
 
17
+ <p>
18
+ When logging in, you will be requested to enter a one-time-password below.
19
+ </p>
20
+ <p>
21
+ Your password is ${PASSWORD}.
22
+ </p>
23
+
17
24
  ${signature}
18
25
 
19
26
  </body>
@@ -12,6 +12,13 @@
12
12
  <p>Failure to provide due diligence on a timely basis will result in delays to your loan application being
13
13
  processed.</p>
14
14
 
15
+ <p>
16
+ When logging in, you will be requested to enter a one-time-password below.
17
+ </p>
18
+ <p>
19
+ Your password is ${PASSWORD}.
20
+ </p>
21
+
15
22
  ${signature}
16
23
 
17
24
  </body>
@@ -13,6 +13,13 @@
13
13
 
14
14
  <p>Failure to provide due diligence on a timely basis will result in delays to your loan application being processed.</p>
15
15
 
16
+ <p>
17
+ When logging in, you will be requested to enter a one-time-password below.
18
+ </p>
19
+ <p>
20
+ Your password is ${PASSWORD}.
21
+ </p>
22
+
16
23
  ${signature}
17
24
 
18
25
  </body>
@@ -88,6 +88,7 @@ export declare class NodemailerService {
88
88
  link: string;
89
89
  contactName: string;
90
90
  prospectName: string;
91
+ password: string;
91
92
  }, stage: 'one' | 'two'): Promise<void>;
92
93
  sendProspectReminder(email: Partial<IEmail>, replacements: {
93
94
  link: string;
@@ -95,6 +96,7 @@ export declare class NodemailerService {
95
96
  hasEmptyFields: boolean;
96
97
  requiredGroups: string[];
97
98
  prospectName: string;
99
+ password: string;
98
100
  }): Promise<void>;
99
101
  sendAuditorResetPasswordEmail(replacements: {
100
102
  email: string;
@@ -650,6 +650,7 @@ class NodemailerService {
650
650
  const replacedData = text
651
651
  .replaceAll('${LINK}', replacements.link)
652
652
  .replaceAll('${CONTACT_NAME}', replacements.contactName)
653
+ .replaceAll('${PASSWORD}', replacements.password)
653
654
  .replace('${signature}', signature);
654
655
  try {
655
656
  this.transporter.sendMail({
@@ -678,6 +679,7 @@ class NodemailerService {
678
679
  .replaceAll('${LINK}', replacements.link)
679
680
  .replaceAll('${CONTACT_NAME}', replacements.contactName)
680
681
  .replace('${HAS_EMPTY_FIELDS}', replacements.hasEmptyFields ? ' and complete all sections of the form' : '')
682
+ .replace('${PASSWORD}', replacements.password)
681
683
  .replace('${FILE_INFO}', fileInfo)
682
684
  .replace('${signature}', signature);
683
685
  try {
@@ -729,6 +729,7 @@ export class NodemailerService {
729
729
  link: string,
730
730
  contactName: string,
731
731
  prospectName: string,
732
+ password: string,
732
733
  }, stage: 'one' | 'two') {
733
734
  const stageTemplate = stage === 'one' ? 'prospect-form-one' : 'prospect-form-two';
734
735
  const textPath = path.resolve(__dirname, '../public/emails', `${stageTemplate}.html`);
@@ -737,6 +738,7 @@ export class NodemailerService {
737
738
  const replacedData = text
738
739
  .replaceAll('${LINK}', replacements.link)
739
740
  .replaceAll('${CONTACT_NAME}', replacements.contactName)
741
+ .replaceAll('${PASSWORD}', replacements.password)
740
742
  .replace('${signature}', signature);
741
743
  try {
742
744
  this.transporter.sendMail({
@@ -760,6 +762,7 @@ export class NodemailerService {
760
762
  hasEmptyFields: boolean,
761
763
  requiredGroups: string[],
762
764
  prospectName: string,
765
+ password: string,
763
766
  }) {
764
767
  const textPath = path.resolve(__dirname, '../public/emails', 'prospect-form-reminder.html');
765
768
  const text = await fs.promises.readFile(textPath, 'utf8');
@@ -771,6 +774,7 @@ export class NodemailerService {
771
774
  .replaceAll('${LINK}', replacements.link)
772
775
  .replaceAll('${CONTACT_NAME}', replacements.contactName)
773
776
  .replace('${HAS_EMPTY_FIELDS}', replacements.hasEmptyFields ? ' and complete all sections of the form' : '')
777
+ .replace('${PASSWORD}', replacements.password)
774
778
  .replace('${FILE_INFO}', fileInfo)
775
779
  .replace('${signature}', signature);
776
780
  try {