gemcap-be-common 1.4.73 → 1.4.75
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 +5 -0
- package/microservice/event-map.js +5 -0
- package/microservice/event-map.ts +5 -0
- package/microservice/queue-map.d.ts +1 -0
- package/microservice/queue-map.js +1 -0
- package/microservice/queue-map.ts +1 -0
- package/models/Prospect.model.d.ts +1 -0
- package/models/Prospect.model.js +3 -0
- package/models/Prospect.model.ts +4 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -59,6 +59,11 @@ export declare const EventMap: {
|
|
|
59
59
|
readonly finance: {
|
|
60
60
|
readonly GENERATE_BANK_UPLOAD_REPORT: "finance#GENERATE_BANK_UPLOAD_REPORT";
|
|
61
61
|
};
|
|
62
|
+
readonly portfolio: {
|
|
63
|
+
readonly CREATE_NOTE: "portfolio#CREATE_NOTE";
|
|
64
|
+
readonly DELETE_NOTE: "portfolio#DELETE_NOTE";
|
|
65
|
+
readonly UPDATE_NOTE: "portfolio#UPDATE_NOTE";
|
|
66
|
+
};
|
|
62
67
|
};
|
|
63
68
|
export type EventMapType = typeof EventMap;
|
|
64
69
|
export type EventName = {
|
|
@@ -62,4 +62,9 @@ exports.EventMap = {
|
|
|
62
62
|
finance: {
|
|
63
63
|
GENERATE_BANK_UPLOAD_REPORT: 'finance#GENERATE_BANK_UPLOAD_REPORT',
|
|
64
64
|
},
|
|
65
|
+
portfolio: {
|
|
66
|
+
CREATE_NOTE: 'portfolio#CREATE_NOTE',
|
|
67
|
+
DELETE_NOTE: 'portfolio#DELETE_NOTE',
|
|
68
|
+
UPDATE_NOTE: 'portfolio#UPDATE_NOTE',
|
|
69
|
+
},
|
|
65
70
|
};
|
|
@@ -59,6 +59,11 @@ export const EventMap = {
|
|
|
59
59
|
finance: {
|
|
60
60
|
GENERATE_BANK_UPLOAD_REPORT: 'finance#GENERATE_BANK_UPLOAD_REPORT',
|
|
61
61
|
},
|
|
62
|
+
portfolio: {
|
|
63
|
+
CREATE_NOTE: 'portfolio#CREATE_NOTE',
|
|
64
|
+
DELETE_NOTE: 'portfolio#DELETE_NOTE',
|
|
65
|
+
UPDATE_NOTE: 'portfolio#UPDATE_NOTE',
|
|
66
|
+
},
|
|
62
67
|
} as const;
|
|
63
68
|
|
|
64
69
|
export type EventMapType = typeof EventMap;
|
|
@@ -4,6 +4,7 @@ export declare const QueueMap: {
|
|
|
4
4
|
readonly legacy: "goat_ms_legacy_queue";
|
|
5
5
|
readonly auth: "goat_ms_auth";
|
|
6
6
|
readonly finance: "goat_ms_finance";
|
|
7
|
+
readonly portfolio: "goat_ms_portfolio";
|
|
7
8
|
};
|
|
8
9
|
export type QueueMapType = typeof QueueMap;
|
|
9
10
|
export type QueueName = QueueMapType[keyof QueueMapType];
|
|
@@ -4,6 +4,7 @@ export const QueueMap = {
|
|
|
4
4
|
legacy: 'goat_ms_legacy_queue', // goat_legacy_queue
|
|
5
5
|
auth: 'goat_ms_auth', // goat_ms_auth
|
|
6
6
|
finance: 'goat_ms_finance', // goat_ms_finance
|
|
7
|
+
portfolio: 'goat_ms_portfolio', // goat_ms_portfolio
|
|
7
8
|
} as const;
|
|
8
9
|
|
|
9
10
|
export type QueueMapType = typeof QueueMap;
|
package/models/Prospect.model.js
CHANGED
package/models/Prospect.model.ts
CHANGED
|
@@ -534,6 +534,7 @@ export interface IProspectContact {
|
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
export interface IProspect extends IProspectBase, IProspectExternalNew {
|
|
537
|
+
isLocked: boolean;
|
|
537
538
|
probability: number;
|
|
538
539
|
businessDescription: string;
|
|
539
540
|
comments: string;
|
|
@@ -729,6 +730,9 @@ const ProspectInfoSchema = {
|
|
|
729
730
|
|
|
730
731
|
export const ProspectSchema = new mongoose.Schema<IProspect, ProspectModel>(
|
|
731
732
|
{
|
|
733
|
+
isLocked: {
|
|
734
|
+
type: Boolean,
|
|
735
|
+
},
|
|
732
736
|
isDeclined: {
|
|
733
737
|
type: Boolean,
|
|
734
738
|
},
|