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.
@@ -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];
@@ -7,4 +7,5 @@ exports.QueueMap = {
7
7
  legacy: 'goat_ms_legacy_queue', // goat_legacy_queue
8
8
  auth: 'goat_ms_auth', // goat_ms_auth
9
9
  finance: 'goat_ms_finance', // goat_ms_finance
10
+ portfolio: 'goat_ms_portfolio', // goat_ms_portfolio
10
11
  };
@@ -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;
@@ -277,6 +277,7 @@ export interface IProspectContact {
277
277
  companyName: string;
278
278
  }
279
279
  export interface IProspect extends IProspectBase, IProspectExternalNew {
280
+ isLocked: boolean;
280
281
  probability: number;
281
282
  businessDescription: string;
282
283
  comments: string;
@@ -540,6 +540,9 @@ const ProspectInfoSchema = {
540
540
  },
541
541
  };
542
542
  exports.ProspectSchema = new mongoose_1.default.Schema({
543
+ isLocked: {
544
+ type: Boolean,
545
+ },
543
546
  isDeclined: {
544
547
  type: Boolean,
545
548
  },
@@ -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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.73",
3
+ "version": "1.4.75",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {