gemcap-be-common 1.4.183 → 1.4.185

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.
@@ -3,4 +3,6 @@ export declare const MESSAGE_CHANNELS: {
3
3
  readonly COMPLIANCE: "compliance.exchange";
4
4
  readonly FINANCE: "finance.exchange";
5
5
  readonly PORTFOLIO: "portfolio.exchange";
6
+ readonly NOTIFICATIONS: "notifications.exchange";
7
+ readonly SEARCH: "search.exchange";
6
8
  };
@@ -6,4 +6,6 @@ exports.MESSAGE_CHANNELS = {
6
6
  COMPLIANCE: 'compliance.exchange',
7
7
  FINANCE: 'finance.exchange',
8
8
  PORTFOLIO: 'portfolio.exchange',
9
+ NOTIFICATIONS: 'notifications.exchange',
10
+ SEARCH: 'search.exchange',
9
11
  };
@@ -3,4 +3,6 @@ export const MESSAGE_CHANNELS = {
3
3
  COMPLIANCE: 'compliance.exchange',
4
4
  FINANCE: 'finance.exchange',
5
5
  PORTFOLIO: 'portfolio.exchange',
6
+ NOTIFICATIONS: 'notifications.exchange',
7
+ SEARCH: 'search.exchange',
6
8
  } as const;
@@ -30,5 +30,13 @@ export declare const EVENT_KEYS: {
30
30
  readonly SUMMARY_GENERATED: "portfolio.summary.generated";
31
31
  readonly NOTE_SUMMARY_REQUESTED: "portfolio.note.summary.requested";
32
32
  readonly NOTE_SUMMARY_GENERATED: "portfolio.note.summary.generated";
33
+ readonly BORROWER_REMINDERS_OVERDUE: "portfolio.borrower.reminders.overdue";
34
+ };
35
+ /**
36
+ * ========= NOTIFICATIONS DOMAIN EVENTS =========
37
+ */
38
+ readonly notifications: {
39
+ readonly BORROWER_REMINDER_EMAIL_SENT: "notifications.borrower.reminder.email.sent";
40
+ readonly BORROWER_REMINDER_EMAIL_FAILED: "notifications.borrower.reminder.email.failed";
33
41
  };
34
42
  };
@@ -33,5 +33,13 @@ exports.EVENT_KEYS = {
33
33
  SUMMARY_GENERATED: 'portfolio.summary.generated',
34
34
  NOTE_SUMMARY_REQUESTED: 'portfolio.note.summary.requested',
35
35
  NOTE_SUMMARY_GENERATED: 'portfolio.note.summary.generated',
36
+ BORROWER_REMINDERS_OVERDUE: 'portfolio.borrower.reminders.overdue',
36
37
  },
38
+ /**
39
+ * ========= NOTIFICATIONS DOMAIN EVENTS =========
40
+ */
41
+ notifications: {
42
+ BORROWER_REMINDER_EMAIL_SENT: 'notifications.borrower.reminder.email.sent',
43
+ BORROWER_REMINDER_EMAIL_FAILED: 'notifications.borrower.reminder.email.failed',
44
+ }
37
45
  };
@@ -33,5 +33,14 @@ export const EVENT_KEYS = {
33
33
  SUMMARY_GENERATED: 'portfolio.summary.generated',
34
34
  NOTE_SUMMARY_REQUESTED: 'portfolio.note.summary.requested',
35
35
  NOTE_SUMMARY_GENERATED: 'portfolio.note.summary.generated',
36
+ BORROWER_REMINDERS_OVERDUE: 'portfolio.borrower.reminders.overdue',
36
37
  },
38
+
39
+ /**
40
+ * ========= NOTIFICATIONS DOMAIN EVENTS =========
41
+ */
42
+ notifications: {
43
+ BORROWER_REMINDER_EMAIL_SENT: 'notifications.borrower.reminder.email.sent',
44
+ BORROWER_REMINDER_EMAIL_FAILED: 'notifications.borrower.reminder.email.failed',
45
+ }
37
46
  } as const;
@@ -7,6 +7,7 @@ export declare const QueueMap: {
7
7
  readonly portfolio: "goat_ms_portfolio";
8
8
  readonly search: "goat_ms_search";
9
9
  readonly ai: "goat_ms_ai";
10
+ readonly notifications: "goat_ms_notifications";
10
11
  };
11
12
  export type QueueMapType = typeof QueueMap;
12
13
  export type QueueName = QueueMapType[keyof QueueMapType];
@@ -10,4 +10,5 @@ exports.QueueMap = {
10
10
  portfolio: 'goat_ms_portfolio', // goat_ms_portfolio
11
11
  search: 'goat_ms_search', // goat_ms_search
12
12
  ai: 'goat_ms_ai', // goat_ms_ai
13
+ notifications: 'goat_ms_notifications', // goat_ms_notifications
13
14
  };
@@ -7,6 +7,7 @@ export const QueueMap = {
7
7
  portfolio: 'goat_ms_portfolio', // goat_ms_portfolio
8
8
  search: 'goat_ms_search', // goat_ms_search
9
9
  ai: 'goat_ms_ai', // goat_ms_ai
10
+ notifications: 'goat_ms_notifications', // goat_ms_notifications
10
11
  } as const;
11
12
 
12
13
  export type QueueMapType = typeof QueueMap;
@@ -33,4 +33,9 @@ export declare const QUEUES: {
33
33
  readonly summaryReady: "portfolio.note.summary.ready";
34
34
  };
35
35
  };
36
+ readonly notifications: {
37
+ readonly borrowerReminders: {
38
+ readonly emailSender: "notifications.borrower-reminders.email";
39
+ };
40
+ };
36
41
  };
@@ -36,4 +36,9 @@ exports.QUEUES = {
36
36
  summaryReady: 'portfolio.note.summary.ready',
37
37
  }
38
38
  },
39
+ notifications: {
40
+ borrowerReminders: {
41
+ emailSender: 'notifications.borrower-reminders.email',
42
+ },
43
+ },
39
44
  };
@@ -33,4 +33,9 @@ export const QUEUES = {
33
33
  summaryReady: 'portfolio.note.summary.ready',
34
34
  }
35
35
  },
36
+ notifications: {
37
+ borrowerReminders: {
38
+ emailSender: 'notifications.borrower-reminders.email',
39
+ },
40
+ },
36
41
  } as const;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.183",
3
+ "version": "1.4.185",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {