gemcap-be-common 1.5.162 → 1.5.164

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.
@@ -85,15 +85,15 @@ export declare const LoanProductSchema: mongoose.Schema<any, mongoose.Model<any,
85
85
  createdAt: NativeDate;
86
86
  updatedAt: NativeDate;
87
87
  } & {
88
- borrowerId: mongoose.Types.ObjectId;
89
- type: string;
88
+ code: string;
90
89
  name: string;
91
- order: number;
92
90
  active: boolean;
93
- code: string;
91
+ type: string;
92
+ order: number;
93
+ borrowerId: mongoose.Types.ObjectId;
94
+ commitment: number;
94
95
  startDate: Date;
95
96
  maturityDate: Date;
96
- commitment: number;
97
97
  isBalanceActual: boolean;
98
98
  isFloatedBalanceActual: boolean;
99
99
  masterLoanProductId: mongoose.Types.ObjectId;
@@ -113,15 +113,15 @@ export declare const LoanProductSchema: mongoose.Schema<any, mongoose.Model<any,
113
113
  createdAt: NativeDate;
114
114
  updatedAt: NativeDate;
115
115
  } & {
116
- borrowerId: mongoose.Types.ObjectId;
117
- type: string;
116
+ code: string;
118
117
  name: string;
119
- order: number;
120
118
  active: boolean;
121
- code: string;
119
+ type: string;
120
+ order: number;
121
+ borrowerId: mongoose.Types.ObjectId;
122
+ commitment: number;
122
123
  startDate: Date;
123
124
  maturityDate: Date;
124
- commitment: number;
125
125
  isBalanceActual: boolean;
126
126
  isFloatedBalanceActual: boolean;
127
127
  masterLoanProductId: mongoose.Types.ObjectId;
@@ -141,15 +141,15 @@ export declare const LoanProductSchema: mongoose.Schema<any, mongoose.Model<any,
141
141
  createdAt: NativeDate;
142
142
  updatedAt: NativeDate;
143
143
  } & {
144
- borrowerId: mongoose.Types.ObjectId;
145
- type: string;
144
+ code: string;
146
145
  name: string;
147
- order: number;
148
146
  active: boolean;
149
- code: string;
147
+ type: string;
148
+ order: number;
149
+ borrowerId: mongoose.Types.ObjectId;
150
+ commitment: number;
150
151
  startDate: Date;
151
152
  maturityDate: Date;
152
- commitment: number;
153
153
  isBalanceActual: boolean;
154
154
  isFloatedBalanceActual: boolean;
155
155
  masterLoanProductId: mongoose.Types.ObjectId;
@@ -52,18 +52,18 @@ export declare const PostponedTransactionSchema: mongoose.Schema<any, mongoose.M
52
52
  timestamps: false;
53
53
  }, {
54
54
  productId: mongoose.Types.ObjectId;
55
- transactionId: mongoose.Types.ObjectId;
56
55
  postponedToDate: string;
56
+ transactionId: mongoose.Types.ObjectId;
57
57
  __v?: number;
58
58
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
59
59
  productId: mongoose.Types.ObjectId;
60
- transactionId: mongoose.Types.ObjectId;
61
60
  postponedToDate: string;
61
+ transactionId: mongoose.Types.ObjectId;
62
62
  __v?: number;
63
63
  }>> & mongoose.FlatRecord<{
64
64
  productId: mongoose.Types.ObjectId;
65
- transactionId: mongoose.Types.ObjectId;
66
65
  postponedToDate: string;
66
+ transactionId: mongoose.Types.ObjectId;
67
67
  __v?: number;
68
68
  }> & {
69
69
  _id: mongoose.Types.ObjectId;
@@ -31,10 +31,10 @@ export declare const allSchemas: {
31
31
  createdAt: NativeDate;
32
32
  updatedAt: NativeDate;
33
33
  } & {
34
- bbcSheetId: import("mongoose").Types.ObjectId;
35
34
  order: number;
36
- apDate: Date;
37
35
  amount: number;
36
+ bbcSheetId: import("mongoose").Types.ObjectId;
37
+ apDate: Date;
38
38
  __v?: number;
39
39
  poNumber?: string;
40
40
  customerName?: string;
@@ -45,10 +45,10 @@ export declare const allSchemas: {
45
45
  createdAt: NativeDate;
46
46
  updatedAt: NativeDate;
47
47
  } & {
48
- bbcSheetId: import("mongoose").Types.ObjectId;
49
48
  order: number;
50
- apDate: Date;
51
49
  amount: number;
50
+ bbcSheetId: import("mongoose").Types.ObjectId;
51
+ apDate: Date;
52
52
  __v?: number;
53
53
  poNumber?: string;
54
54
  customerName?: string;
@@ -59,10 +59,10 @@ export declare const allSchemas: {
59
59
  createdAt: NativeDate;
60
60
  updatedAt: NativeDate;
61
61
  } & {
62
- bbcSheetId: import("mongoose").Types.ObjectId;
63
62
  order: number;
64
- apDate: Date;
65
63
  amount: number;
64
+ bbcSheetId: import("mongoose").Types.ObjectId;
65
+ apDate: Date;
66
66
  __v?: number;
67
67
  poNumber?: string;
68
68
  customerName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.162",
3
+ "version": "1.5.164",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -84,10 +84,10 @@ export declare class BorrowerService {
84
84
  getBorrowerCodesMap(): Promise<Map<string, string>>;
85
85
  getBorrowerStatementDetails(borrowers: IBorrowerDoc[]): Promise<{
86
86
  [x: string]: {
87
+ SELECTED_PERIOD?: boolean;
88
+ ENTIRE_LOAN?: boolean;
87
89
  LAST_MONTH?: boolean;
88
90
  CURRENT_MONTH?: boolean;
89
- ENTIRE_LOAN?: boolean;
90
- SELECTED_PERIOD?: boolean;
91
91
  TERM_LOAN?: boolean;
92
92
  };
93
93
  }>;