gemcap-be-common 1.5.93 → 1.5.95

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.
@@ -50,6 +50,7 @@ export declare const YIELD_TOTALS_MAP: Record<ETotalType, {
50
50
  class: string;
51
51
  }>;
52
52
  export interface IYieldParams {
53
+ borrowerIds?: string[];
53
54
  periodStart?: ISelectedMonth;
54
55
  periodEnd?: ISelectedMonth;
55
56
  forLifetime?: boolean;
@@ -86,11 +87,12 @@ export interface IYieldDataLean extends IYieldData {
86
87
  createdAt: Date;
87
88
  updatedAt: Date;
88
89
  }
89
- export interface IYieldDataPlain extends Omit<IYieldData, 'productId' | 'chargeId' | 'facilityId'> {
90
+ export interface IYieldDataPlain extends Omit<IYieldData, 'productId' | 'chargeId' | 'facilityId' | 'facilityChargeGroupId'> {
90
91
  _id: string;
91
- productId: string;
92
- chargeId: string;
93
- facilityId: string;
92
+ productId?: string;
93
+ chargeId?: string;
94
+ facilityId?: string;
95
+ facilityChargeGroupId?: string;
94
96
  }
95
97
  export type TYieldDataModel = mongoose.Model<IYieldData>;
96
98
  export declare const YieldDataSchema: mongoose.Schema<IYieldData, TYieldDataModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IYieldData, mongoose.Document<unknown, {}, mongoose.FlatRecord<IYieldData>> & mongoose.FlatRecord<IYieldData> & {
@@ -50,6 +50,7 @@ export const YIELD_TOTALS_MAP: Record<
50
50
  };
51
51
 
52
52
  export interface IYieldParams {
53
+ borrowerIds?: string[];
53
54
  periodStart?: ISelectedMonth;
54
55
  periodEnd?: ISelectedMonth;
55
56
  forLifetime?: boolean;
@@ -92,11 +93,12 @@ export interface IYieldDataLean extends IYieldData {
92
93
  updatedAt: Date;
93
94
  }
94
95
 
95
- export interface IYieldDataPlain extends Omit<IYieldData, 'productId' | 'chargeId' | 'facilityId'> {
96
+ export interface IYieldDataPlain extends Omit<IYieldData, 'productId' | 'chargeId' | 'facilityId' | 'facilityChargeGroupId'> {
96
97
  _id: string;
97
- productId: string;
98
- chargeId: string;
99
- facilityId: string;
98
+ productId?: string;
99
+ chargeId?: string;
100
+ facilityId?: string;
101
+ facilityChargeGroupId?: string;
100
102
  }
101
103
 
102
104
  export type TYieldDataModel = mongoose.Model<IYieldData>;
@@ -35,8 +35,8 @@ export declare const allSchemas: {
35
35
  createdAt: NativeDate;
36
36
  updatedAt: NativeDate;
37
37
  } & {
38
- bbcSheetId: import("mongoose").Types.ObjectId;
39
38
  order: number;
39
+ bbcSheetId: import("mongoose").Types.ObjectId;
40
40
  apDate: Date;
41
41
  amount: number;
42
42
  __v?: number;
@@ -49,8 +49,8 @@ export declare const allSchemas: {
49
49
  createdAt: NativeDate;
50
50
  updatedAt: NativeDate;
51
51
  } & {
52
- bbcSheetId: import("mongoose").Types.ObjectId;
53
52
  order: number;
53
+ bbcSheetId: import("mongoose").Types.ObjectId;
54
54
  apDate: Date;
55
55
  amount: number;
56
56
  __v?: number;
@@ -63,8 +63,8 @@ export declare const allSchemas: {
63
63
  createdAt: NativeDate;
64
64
  updatedAt: NativeDate;
65
65
  } & {
66
- bbcSheetId: import("mongoose").Types.ObjectId;
67
66
  order: number;
67
+ bbcSheetId: import("mongoose").Types.ObjectId;
68
68
  apDate: Date;
69
69
  amount: number;
70
70
  __v?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.93",
3
+ "version": "1.5.95",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {