gemcap-be-common 1.3.164 → 1.3.166
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/microservice/event-map.d.ts +1 -0
- package/microservice/event-map.js +1 -0
- package/microservice/event-map.ts +1 -0
- package/models/ProspectNotification.model.d.ts +6 -1
- package/models/ProspectNotification.model.js +3 -3
- package/models/ProspectNotification.model.ts +5 -2
- package/package.json +1 -1
- package/services/loan-transactions.service.d.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -19,6 +19,7 @@ export declare const EventMap: {
|
|
|
19
19
|
readonly CALCULATE_YIELD_CALCULATION: "crm#CALCULATE_YIELD_CALCULATION";
|
|
20
20
|
readonly AUDITOR_PASSWORD_RESET: "crm#AUDITOR_PASSWORD_RESET";
|
|
21
21
|
readonly EXTERNAL_PASSWORD_RESET: "crm#EXTERNAL_PASSWORD_RESET";
|
|
22
|
+
readonly FORM_REMINDER: "crm#FORM_REMINDER";
|
|
22
23
|
};
|
|
23
24
|
readonly report: {
|
|
24
25
|
readonly DETAILED_PORTFOLIO: "report#DETAILED_PORTFOLIO";
|
|
@@ -22,6 +22,7 @@ exports.EventMap = {
|
|
|
22
22
|
CALCULATE_YIELD_CALCULATION: 'crm#CALCULATE_YIELD_CALCULATION',
|
|
23
23
|
AUDITOR_PASSWORD_RESET: 'crm#AUDITOR_PASSWORD_RESET',
|
|
24
24
|
EXTERNAL_PASSWORD_RESET: 'crm#EXTERNAL_PASSWORD_RESET',
|
|
25
|
+
FORM_REMINDER: 'crm#FORM_REMINDER',
|
|
25
26
|
},
|
|
26
27
|
report: {
|
|
27
28
|
DETAILED_PORTFOLIO: 'report#DETAILED_PORTFOLIO',
|
|
@@ -19,6 +19,7 @@ export const EventMap = {
|
|
|
19
19
|
CALCULATE_YIELD_CALCULATION: 'crm#CALCULATE_YIELD_CALCULATION',
|
|
20
20
|
AUDITOR_PASSWORD_RESET: 'crm#AUDITOR_PASSWORD_RESET',
|
|
21
21
|
EXTERNAL_PASSWORD_RESET: 'crm#EXTERNAL_PASSWORD_RESET',
|
|
22
|
+
FORM_REMINDER: 'crm#FORM_REMINDER',
|
|
22
23
|
},
|
|
23
24
|
report: {
|
|
24
25
|
DETAILED_PORTFOLIO: 'report#DETAILED_PORTFOLIO',
|
|
@@ -22,11 +22,16 @@
|
|
|
22
22
|
/// <reference types="mongoose/types/validation" />
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
-
import mongoose, { Model } from 'mongoose';
|
|
25
|
+
import mongoose, { Document, Model } from 'mongoose';
|
|
26
26
|
export interface ICRMProspectNotification {
|
|
27
27
|
prospectId: mongoose.Types.ObjectId;
|
|
28
28
|
stageOne: boolean;
|
|
29
29
|
stageTwo: boolean;
|
|
30
30
|
}
|
|
31
|
+
export interface ICRMProspectNotificationDoc extends ICRMProspectNotification, Document {
|
|
32
|
+
}
|
|
31
33
|
export type CRMProspectNotificationModel = Model<ICRMProspectNotification, object, object>;
|
|
34
|
+
export declare const CRMProspectNotificationSchema: mongoose.Schema<ICRMProspectNotification, CRMProspectNotificationModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ICRMProspectNotification, mongoose.Document<unknown, {}, mongoose.FlatRecord<ICRMProspectNotification>> & mongoose.FlatRecord<ICRMProspectNotification> & {
|
|
35
|
+
_id: mongoose.Types.ObjectId;
|
|
36
|
+
}>;
|
|
32
37
|
export declare const CRMProspectNotification: CRMProspectNotificationModel;
|
|
@@ -3,10 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.CRMProspectNotification = void 0;
|
|
6
|
+
exports.CRMProspectNotification = exports.CRMProspectNotificationSchema = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const _models_1 = require("./_models");
|
|
9
|
-
|
|
9
|
+
exports.CRMProspectNotificationSchema = new mongoose_1.default.Schema({
|
|
10
10
|
prospectId: {
|
|
11
11
|
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
12
12
|
ref: _models_1.MODEL_NAMES.CRMProspects,
|
|
@@ -26,4 +26,4 @@ const CRMProspectNotificationSchema = new mongoose_1.default.Schema({
|
|
|
26
26
|
timestamps: { createdAt: false, updatedAt: false },
|
|
27
27
|
versionKey: false,
|
|
28
28
|
});
|
|
29
|
-
exports.CRMProspectNotification = mongoose_1.default.model(_models_1.MODEL_NAMES.prospectNotifications, CRMProspectNotificationSchema);
|
|
29
|
+
exports.CRMProspectNotification = mongoose_1.default.model(_models_1.MODEL_NAMES.prospectNotifications, exports.CRMProspectNotificationSchema);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import mongoose, { Model } from 'mongoose';
|
|
1
|
+
import mongoose, { Document, Model } from 'mongoose';
|
|
2
2
|
|
|
3
3
|
import { MODEL_NAMES } from './_models';
|
|
4
4
|
|
|
@@ -8,9 +8,12 @@ export interface ICRMProspectNotification {
|
|
|
8
8
|
stageTwo: boolean;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
export interface ICRMProspectNotificationDoc extends ICRMProspectNotification, Document {
|
|
12
|
+
}
|
|
13
|
+
|
|
11
14
|
export type CRMProspectNotificationModel = Model<ICRMProspectNotification, object, object>;
|
|
12
15
|
|
|
13
|
-
const CRMProspectNotificationSchema = new mongoose.Schema<ICRMProspectNotification, CRMProspectNotificationModel>(
|
|
16
|
+
export const CRMProspectNotificationSchema = new mongoose.Schema<ICRMProspectNotification, CRMProspectNotificationModel>(
|
|
14
17
|
{
|
|
15
18
|
prospectId: {
|
|
16
19
|
type: mongoose.Schema.Types.ObjectId,
|
package/package.json
CHANGED
|
@@ -155,7 +155,7 @@ export declare class LoanTransactionsService {
|
|
|
155
155
|
getTransactionReport(transactionIds: string[], borrowerId: string, effectiveDate: Date): Promise<{
|
|
156
156
|
transactionIdsToMark: any[];
|
|
157
157
|
transactions: {
|
|
158
|
-
[x: string]: (string | number | string[]
|
|
158
|
+
[x: string]: (string | number | Date | string[])[];
|
|
159
159
|
}[];
|
|
160
160
|
}>;
|
|
161
161
|
getBorrowerIdsForFile(transactionFileId: string): Promise<{
|