gemcap-be-common 1.3.141 → 1.3.142
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 +2 -1
- package/microservice/event-map.js +2 -1
- package/microservice/event-map.ts +2 -1
- package/models/AuditorContact.model.d.ts +1 -0
- package/models/AuditorContact.model.js +5 -0
- package/models/AuditorContact.model.ts +7 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -17,7 +17,8 @@ export declare const EventMap: {
|
|
|
17
17
|
readonly CREATE_PROSPECT_SUMMARY: "crm#CREATE_PROSPECT_SUMMARY";
|
|
18
18
|
readonly INITIAL_YIELD_CALCULATION: "crm#INITIAL_YIELD_CALCULATION";
|
|
19
19
|
readonly CALCULATE_YIELD_CALCULATION: "crm#CALCULATE_YIELD_CALCULATION";
|
|
20
|
-
readonly
|
|
20
|
+
readonly AUDITOR_PASSWORD_RESET: "crm#AUDITOR_PASSWORD_RESET";
|
|
21
|
+
readonly EXTERNAL_PASSWORD_RESET: "crm#EXTERNAL_PASSWORD_RESET";
|
|
21
22
|
};
|
|
22
23
|
readonly report: {
|
|
23
24
|
readonly DETAILED_PORTFOLIO: "report#DETAILED_PORTFOLIO";
|
|
@@ -20,7 +20,8 @@ exports.EventMap = {
|
|
|
20
20
|
CREATE_PROSPECT_SUMMARY: 'crm#CREATE_PROSPECT_SUMMARY',
|
|
21
21
|
INITIAL_YIELD_CALCULATION: 'crm#INITIAL_YIELD_CALCULATION',
|
|
22
22
|
CALCULATE_YIELD_CALCULATION: 'crm#CALCULATE_YIELD_CALCULATION',
|
|
23
|
-
|
|
23
|
+
AUDITOR_PASSWORD_RESET: 'crm#AUDITOR_PASSWORD_RESET',
|
|
24
|
+
EXTERNAL_PASSWORD_RESET: 'crm#EXTERNAL_PASSWORD_RESET',
|
|
24
25
|
},
|
|
25
26
|
report: {
|
|
26
27
|
DETAILED_PORTFOLIO: 'report#DETAILED_PORTFOLIO',
|
|
@@ -17,7 +17,8 @@ export const EventMap = {
|
|
|
17
17
|
CREATE_PROSPECT_SUMMARY: 'crm#CREATE_PROSPECT_SUMMARY',
|
|
18
18
|
INITIAL_YIELD_CALCULATION: 'crm#INITIAL_YIELD_CALCULATION',
|
|
19
19
|
CALCULATE_YIELD_CALCULATION: 'crm#CALCULATE_YIELD_CALCULATION',
|
|
20
|
-
|
|
20
|
+
AUDITOR_PASSWORD_RESET: 'crm#AUDITOR_PASSWORD_RESET',
|
|
21
|
+
EXTERNAL_PASSWORD_RESET: 'crm#EXTERNAL_PASSWORD_RESET',
|
|
21
22
|
},
|
|
22
23
|
report: {
|
|
23
24
|
DETAILED_PORTFOLIO: 'report#DETAILED_PORTFOLIO',
|
|
@@ -8,6 +8,7 @@ export interface IAuditorContact {
|
|
|
8
8
|
isDeleted: boolean;
|
|
9
9
|
name: string;
|
|
10
10
|
email?: string;
|
|
11
|
+
normalizedEmail?: string;
|
|
11
12
|
phone?: string;
|
|
12
13
|
comment?: string;
|
|
13
14
|
order?: number;
|
|
@@ -51,6 +52,12 @@ export const AuditorContactSchema = new mongoose.Schema<IAuditorContact, Auditor
|
|
|
51
52
|
email: {
|
|
52
53
|
type: String,
|
|
53
54
|
},
|
|
55
|
+
normalizedEmail: {
|
|
56
|
+
type: String,
|
|
57
|
+
lowercase: true,
|
|
58
|
+
select: false,
|
|
59
|
+
unique: true,
|
|
60
|
+
},
|
|
54
61
|
phone: {
|
|
55
62
|
type: String,
|
|
56
63
|
},
|