gemcap-be-common 1.4.250 → 1.4.251

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.
@@ -45,5 +45,8 @@ export declare const EVENT_KEYS: {
45
45
  readonly notifications: {
46
46
  readonly BORROWER_REMINDER_EMAIL_SENT: "notifications.borrower.reminder.email.sent";
47
47
  readonly BORROWER_REMINDER_EMAIL_FAILED: "notifications.borrower.reminder.email.failed";
48
+ readonly EMAIL_SEND_REQUESTED: "notifications.email.send.requested";
49
+ readonly EMAIL_SENT: "notifications.email.sent";
50
+ readonly EMAIL_FAILED: "notifications.email.failed";
48
51
  };
49
52
  };
@@ -46,7 +46,10 @@ exports.EVENT_KEYS = {
46
46
  * ========= NOTIFICATIONS DOMAIN EVENTS =========
47
47
  */
48
48
  notifications: {
49
- BORROWER_REMINDER_EMAIL_SENT: 'notifications.borrower.reminder.email.sent',
50
- BORROWER_REMINDER_EMAIL_FAILED: 'notifications.borrower.reminder.email.failed',
49
+ BORROWER_REMINDER_EMAIL_SENT: 'notifications.borrower.reminder.email.sent', // TODO Deprecated
50
+ BORROWER_REMINDER_EMAIL_FAILED: 'notifications.borrower.reminder.email.failed', // TODO Deprecated
51
+ EMAIL_SEND_REQUESTED: 'notifications.email.send.requested',
52
+ EMAIL_SENT: 'notifications.email.sent',
53
+ EMAIL_FAILED: 'notifications.email.failed',
51
54
  }
52
55
  };
@@ -48,7 +48,10 @@ export const EVENT_KEYS = {
48
48
  * ========= NOTIFICATIONS DOMAIN EVENTS =========
49
49
  */
50
50
  notifications: {
51
- BORROWER_REMINDER_EMAIL_SENT: 'notifications.borrower.reminder.email.sent',
52
- BORROWER_REMINDER_EMAIL_FAILED: 'notifications.borrower.reminder.email.failed',
51
+ BORROWER_REMINDER_EMAIL_SENT: 'notifications.borrower.reminder.email.sent', // TODO Deprecated
52
+ BORROWER_REMINDER_EMAIL_FAILED: 'notifications.borrower.reminder.email.failed', // TODO Deprecated
53
+ EMAIL_SEND_REQUESTED: 'notifications.email.send.requested',
54
+ EMAIL_SENT: 'notifications.email.sent',
55
+ EMAIL_FAILED: 'notifications.email.failed',
53
56
  }
54
57
  } as const;
@@ -40,8 +40,12 @@ export declare const QUEUES: {
40
40
  };
41
41
  };
42
42
  readonly notifications: {
43
+ readonly email: {
44
+ readonly sender: "notifications.email.sender";
45
+ };
43
46
  readonly borrowerReminders: {
44
47
  readonly emailSender: "notifications.borrower-reminders.email";
48
+ readonly email: "notifications.borrower-reminders.email";
45
49
  };
46
50
  };
47
51
  };
@@ -43,8 +43,12 @@ exports.QUEUES = {
43
43
  }
44
44
  },
45
45
  notifications: {
46
+ email: {
47
+ sender: 'notifications.email.sender',
48
+ },
46
49
  borrowerReminders: {
47
- emailSender: 'notifications.borrower-reminders.email',
50
+ emailSender: 'notifications.borrower-reminders.email', // TODO Deprecated
51
+ email: 'notifications.borrower-reminders.email', // TODO Deprecated
48
52
  },
49
53
  },
50
54
  };
@@ -40,8 +40,12 @@ export const QUEUES = {
40
40
  }
41
41
  },
42
42
  notifications: {
43
+ email: {
44
+ sender: 'notifications.email.sender',
45
+ },
43
46
  borrowerReminders: {
44
- emailSender: 'notifications.borrower-reminders.email',
47
+ emailSender: 'notifications.borrower-reminders.email', // TODO Deprecated
48
+ email: 'notifications.borrower-reminders.email', // TODO Deprecated
45
49
  },
46
50
  },
47
51
  } as const;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.250",
3
+ "version": "1.4.251",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {