gemcap-be-common 1.4.45 → 1.4.46

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.
@@ -323,7 +323,7 @@ type TProspectWithId<T = mongoose.Types.ObjectId | string> = Omit<IProspect, '_i
323
323
  export interface IProspectDoc extends TProspectWithId<mongoose.Types.ObjectId>, Document {
324
324
  _id: mongoose.Types.ObjectId;
325
325
  }
326
- export interface IProspectLean extends TProspectWithId<string> {
326
+ export interface IProspectLean extends TProspectWithId<string | mongoose.Types.ObjectId> {
327
327
  }
328
328
  export declare const baseFields: string[];
329
329
  export declare const ProspectInfoExternalValidationSchema: Joi.ObjectSchema<any>;
@@ -582,7 +582,7 @@ export interface IProspectDoc extends TProspectWithId<mongoose.Types.ObjectId>,
582
582
  _id: mongoose.Types.ObjectId;
583
583
  }
584
584
 
585
- export interface IProspectLean extends TProspectWithId<string> {}
585
+ export interface IProspectLean extends TProspectWithId<string | mongoose.Types.ObjectId> {}
586
586
 
587
587
  export const baseFields = ['_id', 'industry', 'status', 'revolverAmount', 'termAmount', 'keyDates'];
588
588
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.4.45",
3
+ "version": "1.4.46",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {