gemcap-be-common 1.4.212 → 1.4.214

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.
@@ -21,6 +21,7 @@ export declare const EVENT_KEYS: {
21
21
  readonly finance: {
22
22
  readonly REPORT_PER_ACCOUNT_REQUESTED: "finance.report.account.requested";
23
23
  readonly REPORT_CONSOLIDATED_REQUESTED: "finance.report.consolidated.requested";
24
+ readonly YIELD_RECALCULATION_REQUESTED: "finance.yield.recalculation.requested";
24
25
  };
25
26
  /**
26
27
  * ========= PORTFOLIO DOMAIN EVENTS =========
@@ -24,6 +24,7 @@ exports.EVENT_KEYS = {
24
24
  finance: {
25
25
  REPORT_PER_ACCOUNT_REQUESTED: 'finance.report.account.requested',
26
26
  REPORT_CONSOLIDATED_REQUESTED: 'finance.report.consolidated.requested',
27
+ YIELD_RECALCULATION_REQUESTED: 'finance.yield.recalculation.requested',
27
28
  },
28
29
  /**
29
30
  * ========= PORTFOLIO DOMAIN EVENTS =========
@@ -23,6 +23,7 @@ export const EVENT_KEYS = {
23
23
  finance: {
24
24
  REPORT_PER_ACCOUNT_REQUESTED: 'finance.report.account.requested',
25
25
  REPORT_CONSOLIDATED_REQUESTED: 'finance.report.consolidated.requested',
26
+ YIELD_RECALCULATION_REQUESTED: 'finance.yield.recalculation.requested',
26
27
  },
27
28
 
28
29
  /**
@@ -22,6 +22,9 @@ export declare const QUEUES: {
22
22
  readonly perAccount: "finance.report.per-account";
23
23
  readonly consolidated: "finance.report.consolidated";
24
24
  };
25
+ readonly yield: {
26
+ readonly recalculation: "finance.yield.recalculation";
27
+ };
25
28
  };
26
29
  readonly portfolio: {
27
30
  readonly email: {
@@ -25,6 +25,9 @@ exports.QUEUES = {
25
25
  perAccount: 'finance.report.per-account',
26
26
  consolidated: 'finance.report.consolidated',
27
27
  },
28
+ yield: {
29
+ recalculation: 'finance.yield.recalculation',
30
+ }
28
31
  },
29
32
  portfolio: {
30
33
  email: {
@@ -22,6 +22,9 @@ export const QUEUES = {
22
22
  perAccount: 'finance.report.per-account',
23
23
  consolidated: 'finance.report.consolidated',
24
24
  },
25
+ yield: {
26
+ recalculation: 'finance.yield.recalculation',
27
+ }
25
28
  },
26
29
  portfolio: {
27
30
  email: {
@@ -64,7 +64,8 @@ export interface IYieldViewData {
64
64
  product: ILoanProductLean;
65
65
  title: string;
66
66
  class?: string;
67
- [data: string]: number | string | ILoanChargeLean | ILoanProductLean;
67
+ [key: `value-${string}`]: number | string | ILoanChargeLean | ILoanProductLean;
68
+ [key: `valuePercent-${string}`]: number | string | ILoanChargeLean | ILoanProductLean;
68
69
  }
69
70
  export interface IYieldDataDoc extends IYieldData, mongoose.Document {
70
71
  _id: mongoose.Types.ObjectId;
@@ -72,7 +72,8 @@ export interface IYieldViewData {
72
72
  title: string;
73
73
  class?: string;
74
74
 
75
- [data: string]: number | string | ILoanChargeLean | ILoanProductLean;
75
+ [key: `value-${string}`]: number | string | ILoanChargeLean | ILoanProductLean;
76
+ [key: `valuePercent-${string}`]: number | string | ILoanChargeLean | ILoanProductLean;
76
77
  }
77
78
 
78
79
  export interface IYieldDataDoc extends IYieldData, mongoose.Document {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.212",
3
+ "version": "1.4.214",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {