gemcap-be-common 1.5.138 → 1.5.140
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/models/BorrowerAssumption.model.d.ts +6 -5
- package/models/BorrowerAssumption.model.js +5 -4
- package/models/BorrowerAssumption.model.ts +8 -6
- package/models/BorrowerDataInsurance.model.d.ts +3 -3
- package/models/BorrowerSettings.model.d.ts +24 -24
- package/models/FinancialCompliance.model.d.ts +3 -3
- package/models/InventoryAvailability.model.d.ts +3 -3
- package/models/LoanProducts.model.d.ts +3 -3
- package/models/LoanStatementTransaction.model.d.ts +3 -3
- package/models/_models.d.ts +4 -3
- package/models/_models.js +4 -3
- package/models/_models.ts +4 -3
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import mongoose from 'mongoose';
|
|
26
26
|
export interface IBorrowerAssumption {
|
|
27
|
-
borrowerId: mongoose.
|
|
28
|
-
assumptionFileId:
|
|
27
|
+
borrowerId: mongoose.Types.ObjectId;
|
|
28
|
+
assumptionFileId: mongoose.Types.ObjectId;
|
|
29
29
|
version: number;
|
|
30
30
|
uploadedAt: Date;
|
|
31
31
|
uploadedBy: string;
|
|
@@ -33,13 +33,14 @@ export interface IBorrowerAssumption {
|
|
|
33
33
|
export interface IBorrowerAssumptionLean extends IBorrowerAssumption {
|
|
34
34
|
_id: mongoose.Types.ObjectId;
|
|
35
35
|
}
|
|
36
|
-
export interface IBorrowerAssumptionPlain extends Omit<IBorrowerAssumption, 'borrowerId'> {
|
|
36
|
+
export interface IBorrowerAssumptionPlain extends Omit<IBorrowerAssumption, 'borrowerId' | 'assumptionFileId'> {
|
|
37
37
|
_id: string;
|
|
38
38
|
borrowerId: string;
|
|
39
|
+
assumptionFileId: string;
|
|
39
40
|
}
|
|
40
41
|
export type TBorrowerAssumptionDoc = mongoose.HydratedDocument<IBorrowerAssumption>;
|
|
41
42
|
export type TBorrowerAssumptionModel = mongoose.Model<IBorrowerAssumption>;
|
|
42
|
-
export declare const
|
|
43
|
+
export declare const BorrowerAssumptionSchema: mongoose.Schema<IBorrowerAssumption, TBorrowerAssumptionModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IBorrowerAssumption, mongoose.Document<unknown, {}, mongoose.FlatRecord<IBorrowerAssumption>> & mongoose.FlatRecord<IBorrowerAssumption> & {
|
|
43
44
|
_id: mongoose.Types.ObjectId;
|
|
44
45
|
}>;
|
|
45
|
-
export declare const
|
|
46
|
+
export declare const BorrowerAssumption: TBorrowerAssumptionModel;
|
|
@@ -3,17 +3,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.BorrowerAssumption = exports.BorrowerAssumptionSchema = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const _models_1 = require("./_models");
|
|
9
|
-
exports.
|
|
9
|
+
exports.BorrowerAssumptionSchema = new mongoose_1.default.Schema({
|
|
10
10
|
borrowerId: {
|
|
11
11
|
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
12
12
|
ref: _models_1.MODEL_NAMES.borrowers,
|
|
13
13
|
required: true,
|
|
14
14
|
},
|
|
15
15
|
assumptionFileId: {
|
|
16
|
-
type:
|
|
16
|
+
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
17
|
+
ref: _models_1.MODEL_NAMES.files,
|
|
17
18
|
required: true,
|
|
18
19
|
},
|
|
19
20
|
version: {
|
|
@@ -32,4 +33,4 @@ exports.LoanBrokerSchema = new mongoose_1.default.Schema({
|
|
|
32
33
|
timestamps: { createdAt: true, updatedAt: true },
|
|
33
34
|
versionKey: false,
|
|
34
35
|
});
|
|
35
|
-
exports.
|
|
36
|
+
exports.BorrowerAssumption = mongoose_1.default.model(_models_1.MODEL_NAMES.borrowerAssumption, exports.BorrowerAssumptionSchema);
|
|
@@ -3,8 +3,8 @@ import mongoose from 'mongoose';
|
|
|
3
3
|
import { MODEL_NAMES } from './_models';
|
|
4
4
|
|
|
5
5
|
export interface IBorrowerAssumption {
|
|
6
|
-
borrowerId: mongoose.
|
|
7
|
-
assumptionFileId:
|
|
6
|
+
borrowerId: mongoose.Types.ObjectId;
|
|
7
|
+
assumptionFileId: mongoose.Types.ObjectId;
|
|
8
8
|
version: number;
|
|
9
9
|
uploadedAt: Date;
|
|
10
10
|
uploadedBy: string;
|
|
@@ -14,16 +14,17 @@ export interface IBorrowerAssumptionLean extends IBorrowerAssumption {
|
|
|
14
14
|
_id: mongoose.Types.ObjectId;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
export interface IBorrowerAssumptionPlain extends Omit<IBorrowerAssumption, 'borrowerId'> {
|
|
17
|
+
export interface IBorrowerAssumptionPlain extends Omit<IBorrowerAssumption, 'borrowerId' | 'assumptionFileId'> {
|
|
18
18
|
_id: string;
|
|
19
19
|
borrowerId: string;
|
|
20
|
+
assumptionFileId: string;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
export type TBorrowerAssumptionDoc = mongoose.HydratedDocument<IBorrowerAssumption>
|
|
23
24
|
|
|
24
25
|
export type TBorrowerAssumptionModel = mongoose.Model<IBorrowerAssumption>;
|
|
25
26
|
|
|
26
|
-
export const
|
|
27
|
+
export const BorrowerAssumptionSchema = new mongoose.Schema<IBorrowerAssumption, TBorrowerAssumptionModel>(
|
|
27
28
|
{
|
|
28
29
|
borrowerId: {
|
|
29
30
|
type: mongoose.Schema.Types.ObjectId,
|
|
@@ -31,7 +32,8 @@ export const LoanBrokerSchema = new mongoose.Schema<IBorrowerAssumption, TBorrow
|
|
|
31
32
|
required: true,
|
|
32
33
|
},
|
|
33
34
|
assumptionFileId: {
|
|
34
|
-
type:
|
|
35
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
36
|
+
ref: MODEL_NAMES.files,
|
|
35
37
|
required: true,
|
|
36
38
|
},
|
|
37
39
|
version: {
|
|
@@ -53,4 +55,4 @@ export const LoanBrokerSchema = new mongoose.Schema<IBorrowerAssumption, TBorrow
|
|
|
53
55
|
},
|
|
54
56
|
);
|
|
55
57
|
|
|
56
|
-
export const
|
|
58
|
+
export const BorrowerAssumption = mongoose.model<IBorrowerAssumption, TBorrowerAssumptionModel>(MODEL_NAMES.borrowerAssumption, BorrowerAssumptionSchema);
|
|
@@ -39,20 +39,20 @@ export declare const BorrowerDataInsuranceSchema: mongoose.Schema<any, mongoose.
|
|
|
39
39
|
type: string;
|
|
40
40
|
coverageAmount: number;
|
|
41
41
|
notes?: string;
|
|
42
|
-
policyDates?: string;
|
|
43
42
|
company?: string;
|
|
43
|
+
policyDates?: string;
|
|
44
44
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
45
45
|
type: string;
|
|
46
46
|
coverageAmount: number;
|
|
47
47
|
notes?: string;
|
|
48
|
-
policyDates?: string;
|
|
49
48
|
company?: string;
|
|
49
|
+
policyDates?: string;
|
|
50
50
|
}>> & mongoose.FlatRecord<{
|
|
51
51
|
type: string;
|
|
52
52
|
coverageAmount: number;
|
|
53
53
|
notes?: string;
|
|
54
|
-
policyDates?: string;
|
|
55
54
|
company?: string;
|
|
55
|
+
policyDates?: string;
|
|
56
56
|
}> & {
|
|
57
57
|
_id: mongoose.Types.ObjectId;
|
|
58
58
|
}>;
|
|
@@ -95,34 +95,34 @@ export declare const dataSchema: mongoose.Schema<any, mongoose.Model<any, any, a
|
|
|
95
95
|
inventories: mongoose.Types.ObjectId[];
|
|
96
96
|
receivables: mongoose.Types.ObjectId[];
|
|
97
97
|
options: mongoose.Types.ObjectId[];
|
|
98
|
-
contacts: mongoose.Types.ObjectId[];
|
|
99
|
-
guarantees: mongoose.Types.ObjectId[];
|
|
100
|
-
locations: mongoose.Types.ObjectId[];
|
|
101
98
|
insurance: mongoose.Types.ObjectId[];
|
|
102
99
|
terms: mongoose.Types.ObjectId[];
|
|
103
100
|
bootCollaterals: mongoose.Types.ObjectId[];
|
|
101
|
+
contacts: mongoose.Types.ObjectId[];
|
|
102
|
+
guarantees: mongoose.Types.ObjectId[];
|
|
103
|
+
locations: mongoose.Types.ObjectId[];
|
|
104
104
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
105
105
|
banks: mongoose.Types.ObjectId[];
|
|
106
106
|
inventories: mongoose.Types.ObjectId[];
|
|
107
107
|
receivables: mongoose.Types.ObjectId[];
|
|
108
108
|
options: mongoose.Types.ObjectId[];
|
|
109
|
-
contacts: mongoose.Types.ObjectId[];
|
|
110
|
-
guarantees: mongoose.Types.ObjectId[];
|
|
111
|
-
locations: mongoose.Types.ObjectId[];
|
|
112
109
|
insurance: mongoose.Types.ObjectId[];
|
|
113
110
|
terms: mongoose.Types.ObjectId[];
|
|
114
111
|
bootCollaterals: mongoose.Types.ObjectId[];
|
|
112
|
+
contacts: mongoose.Types.ObjectId[];
|
|
113
|
+
guarantees: mongoose.Types.ObjectId[];
|
|
114
|
+
locations: mongoose.Types.ObjectId[];
|
|
115
115
|
}>> & mongoose.FlatRecord<{
|
|
116
116
|
banks: mongoose.Types.ObjectId[];
|
|
117
117
|
inventories: mongoose.Types.ObjectId[];
|
|
118
118
|
receivables: mongoose.Types.ObjectId[];
|
|
119
119
|
options: mongoose.Types.ObjectId[];
|
|
120
|
-
contacts: mongoose.Types.ObjectId[];
|
|
121
|
-
guarantees: mongoose.Types.ObjectId[];
|
|
122
|
-
locations: mongoose.Types.ObjectId[];
|
|
123
120
|
insurance: mongoose.Types.ObjectId[];
|
|
124
121
|
terms: mongoose.Types.ObjectId[];
|
|
125
122
|
bootCollaterals: mongoose.Types.ObjectId[];
|
|
123
|
+
contacts: mongoose.Types.ObjectId[];
|
|
124
|
+
guarantees: mongoose.Types.ObjectId[];
|
|
125
|
+
locations: mongoose.Types.ObjectId[];
|
|
126
126
|
}> & {
|
|
127
127
|
_id: mongoose.Types.ObjectId;
|
|
128
128
|
}>;
|
|
@@ -139,19 +139,19 @@ export declare const BorrowerSettingsSchema: mongoose.Schema<any, mongoose.Model
|
|
|
139
139
|
inventories: mongoose.Types.ObjectId[];
|
|
140
140
|
receivables: mongoose.Types.ObjectId[];
|
|
141
141
|
options: mongoose.Types.ObjectId[];
|
|
142
|
-
contacts: mongoose.Types.ObjectId[];
|
|
143
|
-
guarantees: mongoose.Types.ObjectId[];
|
|
144
|
-
locations: mongoose.Types.ObjectId[];
|
|
145
142
|
insurance: mongoose.Types.ObjectId[];
|
|
146
143
|
terms: mongoose.Types.ObjectId[];
|
|
147
144
|
bootCollaterals: mongoose.Types.ObjectId[];
|
|
145
|
+
contacts: mongoose.Types.ObjectId[];
|
|
146
|
+
guarantees: mongoose.Types.ObjectId[];
|
|
147
|
+
locations: mongoose.Types.ObjectId[];
|
|
148
148
|
};
|
|
149
|
-
queries?: any;
|
|
150
|
-
dataTypes?: any;
|
|
151
149
|
dataAvailability?: {
|
|
152
150
|
inventories: boolean;
|
|
153
151
|
receivables: boolean;
|
|
154
152
|
};
|
|
153
|
+
queries?: any;
|
|
154
|
+
dataTypes?: any;
|
|
155
155
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
156
156
|
createdAt: NativeDate;
|
|
157
157
|
updatedAt: NativeDate;
|
|
@@ -163,19 +163,19 @@ export declare const BorrowerSettingsSchema: mongoose.Schema<any, mongoose.Model
|
|
|
163
163
|
inventories: mongoose.Types.ObjectId[];
|
|
164
164
|
receivables: mongoose.Types.ObjectId[];
|
|
165
165
|
options: mongoose.Types.ObjectId[];
|
|
166
|
-
contacts: mongoose.Types.ObjectId[];
|
|
167
|
-
guarantees: mongoose.Types.ObjectId[];
|
|
168
|
-
locations: mongoose.Types.ObjectId[];
|
|
169
166
|
insurance: mongoose.Types.ObjectId[];
|
|
170
167
|
terms: mongoose.Types.ObjectId[];
|
|
171
168
|
bootCollaterals: mongoose.Types.ObjectId[];
|
|
169
|
+
contacts: mongoose.Types.ObjectId[];
|
|
170
|
+
guarantees: mongoose.Types.ObjectId[];
|
|
171
|
+
locations: mongoose.Types.ObjectId[];
|
|
172
172
|
};
|
|
173
|
-
queries?: any;
|
|
174
|
-
dataTypes?: any;
|
|
175
173
|
dataAvailability?: {
|
|
176
174
|
inventories: boolean;
|
|
177
175
|
receivables: boolean;
|
|
178
176
|
};
|
|
177
|
+
queries?: any;
|
|
178
|
+
dataTypes?: any;
|
|
179
179
|
}>> & mongoose.FlatRecord<{
|
|
180
180
|
createdAt: NativeDate;
|
|
181
181
|
updatedAt: NativeDate;
|
|
@@ -187,19 +187,19 @@ export declare const BorrowerSettingsSchema: mongoose.Schema<any, mongoose.Model
|
|
|
187
187
|
inventories: mongoose.Types.ObjectId[];
|
|
188
188
|
receivables: mongoose.Types.ObjectId[];
|
|
189
189
|
options: mongoose.Types.ObjectId[];
|
|
190
|
-
contacts: mongoose.Types.ObjectId[];
|
|
191
|
-
guarantees: mongoose.Types.ObjectId[];
|
|
192
|
-
locations: mongoose.Types.ObjectId[];
|
|
193
190
|
insurance: mongoose.Types.ObjectId[];
|
|
194
191
|
terms: mongoose.Types.ObjectId[];
|
|
195
192
|
bootCollaterals: mongoose.Types.ObjectId[];
|
|
193
|
+
contacts: mongoose.Types.ObjectId[];
|
|
194
|
+
guarantees: mongoose.Types.ObjectId[];
|
|
195
|
+
locations: mongoose.Types.ObjectId[];
|
|
196
196
|
};
|
|
197
|
-
queries?: any;
|
|
198
|
-
dataTypes?: any;
|
|
199
197
|
dataAvailability?: {
|
|
200
198
|
inventories: boolean;
|
|
201
199
|
receivables: boolean;
|
|
202
200
|
};
|
|
201
|
+
queries?: any;
|
|
202
|
+
dataTypes?: any;
|
|
203
203
|
}> & {
|
|
204
204
|
_id: mongoose.Types.ObjectId;
|
|
205
205
|
}>;
|
|
@@ -34,6 +34,7 @@ export interface IFinancialComplianceSettings {
|
|
|
34
34
|
export interface IFinancialComplianceSettingsDocument extends IFinancialComplianceSettings, Document {
|
|
35
35
|
}
|
|
36
36
|
export declare const FinancialComplianceSettingsSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
37
|
+
isDeleted: boolean;
|
|
37
38
|
financialEmails: mongoose.Types.DocumentArray<{
|
|
38
39
|
email?: string;
|
|
39
40
|
title?: string;
|
|
@@ -44,12 +45,12 @@ export declare const FinancialComplianceSettingsSchema: mongoose.Schema<any, mon
|
|
|
44
45
|
title?: string;
|
|
45
46
|
isActive?: boolean;
|
|
46
47
|
}>;
|
|
47
|
-
isDeleted: boolean;
|
|
48
48
|
__v?: number;
|
|
49
49
|
dueDate?: Date;
|
|
50
50
|
invoiceSentDate?: Date;
|
|
51
51
|
stopFundingDate?: Date;
|
|
52
52
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
53
|
+
isDeleted: boolean;
|
|
53
54
|
financialEmails: mongoose.Types.DocumentArray<{
|
|
54
55
|
email?: string;
|
|
55
56
|
title?: string;
|
|
@@ -60,12 +61,12 @@ export declare const FinancialComplianceSettingsSchema: mongoose.Schema<any, mon
|
|
|
60
61
|
title?: string;
|
|
61
62
|
isActive?: boolean;
|
|
62
63
|
}>;
|
|
63
|
-
isDeleted: boolean;
|
|
64
64
|
__v?: number;
|
|
65
65
|
dueDate?: Date;
|
|
66
66
|
invoiceSentDate?: Date;
|
|
67
67
|
stopFundingDate?: Date;
|
|
68
68
|
}>> & mongoose.FlatRecord<{
|
|
69
|
+
isDeleted: boolean;
|
|
69
70
|
financialEmails: mongoose.Types.DocumentArray<{
|
|
70
71
|
email?: string;
|
|
71
72
|
title?: string;
|
|
@@ -76,7 +77,6 @@ export declare const FinancialComplianceSettingsSchema: mongoose.Schema<any, mon
|
|
|
76
77
|
title?: string;
|
|
77
78
|
isActive?: boolean;
|
|
78
79
|
}>;
|
|
79
|
-
isDeleted: boolean;
|
|
80
80
|
__v?: number;
|
|
81
81
|
dueDate?: Date;
|
|
82
82
|
invoiceSentDate?: Date;
|
|
@@ -103,7 +103,6 @@ export declare const InventoryAvailabilityScheme: mongoose.Schema<any, mongoose.
|
|
|
103
103
|
status: string;
|
|
104
104
|
filters: mongoose.Types.DocumentArray<{
|
|
105
105
|
active: boolean;
|
|
106
|
-
valid: boolean;
|
|
107
106
|
advanceRate: number;
|
|
108
107
|
queries: mongoose.Types.DocumentArray<{
|
|
109
108
|
filter: string;
|
|
@@ -112,6 +111,7 @@ export declare const InventoryAvailabilityScheme: mongoose.Schema<any, mongoose.
|
|
|
112
111
|
filterValue: any;
|
|
113
112
|
}>;
|
|
114
113
|
inventoryName: string;
|
|
114
|
+
valid: boolean;
|
|
115
115
|
}>;
|
|
116
116
|
__v?: number;
|
|
117
117
|
options?: {
|
|
@@ -136,7 +136,6 @@ export declare const InventoryAvailabilityScheme: mongoose.Schema<any, mongoose.
|
|
|
136
136
|
status: string;
|
|
137
137
|
filters: mongoose.Types.DocumentArray<{
|
|
138
138
|
active: boolean;
|
|
139
|
-
valid: boolean;
|
|
140
139
|
advanceRate: number;
|
|
141
140
|
queries: mongoose.Types.DocumentArray<{
|
|
142
141
|
filter: string;
|
|
@@ -145,6 +144,7 @@ export declare const InventoryAvailabilityScheme: mongoose.Schema<any, mongoose.
|
|
|
145
144
|
filterValue: any;
|
|
146
145
|
}>;
|
|
147
146
|
inventoryName: string;
|
|
147
|
+
valid: boolean;
|
|
148
148
|
}>;
|
|
149
149
|
__v?: number;
|
|
150
150
|
options?: {
|
|
@@ -169,7 +169,6 @@ export declare const InventoryAvailabilityScheme: mongoose.Schema<any, mongoose.
|
|
|
169
169
|
status: string;
|
|
170
170
|
filters: mongoose.Types.DocumentArray<{
|
|
171
171
|
active: boolean;
|
|
172
|
-
valid: boolean;
|
|
173
172
|
advanceRate: number;
|
|
174
173
|
queries: mongoose.Types.DocumentArray<{
|
|
175
174
|
filter: string;
|
|
@@ -178,6 +177,7 @@ export declare const InventoryAvailabilityScheme: mongoose.Schema<any, mongoose.
|
|
|
178
177
|
filterValue: any;
|
|
179
178
|
}>;
|
|
180
179
|
inventoryName: string;
|
|
180
|
+
valid: boolean;
|
|
181
181
|
}>;
|
|
182
182
|
__v?: number;
|
|
183
183
|
options?: {
|
|
@@ -91,9 +91,9 @@ export declare const LoanProductSchema: mongoose.Schema<any, mongoose.Model<any,
|
|
|
91
91
|
order: number;
|
|
92
92
|
active: boolean;
|
|
93
93
|
code: string;
|
|
94
|
-
commitment: number;
|
|
95
94
|
startDate: Date;
|
|
96
95
|
maturityDate: Date;
|
|
96
|
+
commitment: number;
|
|
97
97
|
isBalanceActual: boolean;
|
|
98
98
|
isFloatedBalanceActual: boolean;
|
|
99
99
|
masterLoanProductId: mongoose.Types.ObjectId;
|
|
@@ -119,9 +119,9 @@ export declare const LoanProductSchema: mongoose.Schema<any, mongoose.Model<any,
|
|
|
119
119
|
order: number;
|
|
120
120
|
active: boolean;
|
|
121
121
|
code: string;
|
|
122
|
-
commitment: number;
|
|
123
122
|
startDate: Date;
|
|
124
123
|
maturityDate: Date;
|
|
124
|
+
commitment: number;
|
|
125
125
|
isBalanceActual: boolean;
|
|
126
126
|
isFloatedBalanceActual: boolean;
|
|
127
127
|
masterLoanProductId: mongoose.Types.ObjectId;
|
|
@@ -147,9 +147,9 @@ export declare const LoanProductSchema: mongoose.Schema<any, mongoose.Model<any,
|
|
|
147
147
|
order: number;
|
|
148
148
|
active: boolean;
|
|
149
149
|
code: string;
|
|
150
|
-
commitment: number;
|
|
151
150
|
startDate: Date;
|
|
152
151
|
maturityDate: Date;
|
|
152
|
+
commitment: number;
|
|
153
153
|
isBalanceActual: boolean;
|
|
154
154
|
isFloatedBalanceActual: boolean;
|
|
155
155
|
masterLoanProductId: mongoose.Types.ObjectId;
|
|
@@ -78,9 +78,9 @@ export declare const LoanStatementSchema: mongoose.Schema<any, mongoose.Model<an
|
|
|
78
78
|
isSystem: boolean;
|
|
79
79
|
__v?: number;
|
|
80
80
|
amountPaid?: number;
|
|
81
|
+
settlementCode?: string;
|
|
81
82
|
balance?: number;
|
|
82
83
|
userId?: string;
|
|
83
|
-
settlementCode?: string;
|
|
84
84
|
memo?: string;
|
|
85
85
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
86
86
|
createdAt: NativeDate;
|
|
@@ -93,9 +93,9 @@ export declare const LoanStatementSchema: mongoose.Schema<any, mongoose.Model<an
|
|
|
93
93
|
isSystem: boolean;
|
|
94
94
|
__v?: number;
|
|
95
95
|
amountPaid?: number;
|
|
96
|
+
settlementCode?: string;
|
|
96
97
|
balance?: number;
|
|
97
98
|
userId?: string;
|
|
98
|
-
settlementCode?: string;
|
|
99
99
|
memo?: string;
|
|
100
100
|
}>> & mongoose.FlatRecord<{
|
|
101
101
|
createdAt: NativeDate;
|
|
@@ -108,9 +108,9 @@ export declare const LoanStatementSchema: mongoose.Schema<any, mongoose.Model<an
|
|
|
108
108
|
isSystem: boolean;
|
|
109
109
|
__v?: number;
|
|
110
110
|
amountPaid?: number;
|
|
111
|
+
settlementCode?: string;
|
|
111
112
|
balance?: number;
|
|
112
113
|
userId?: string;
|
|
113
|
-
settlementCode?: string;
|
|
114
114
|
memo?: string;
|
|
115
115
|
}> & {
|
|
116
116
|
_id: mongoose.Types.ObjectId;
|
package/models/_models.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ export declare const MODEL_NAMES: {
|
|
|
25
25
|
BBCSheets: string;
|
|
26
26
|
borrowerLogs: string;
|
|
27
27
|
borrowers: string;
|
|
28
|
-
borrowerReminders: string;
|
|
29
28
|
bankTransactions: string;
|
|
29
|
+
borrowerAssumption: string;
|
|
30
30
|
borrowerData: string;
|
|
31
31
|
borrowerDataBanks: string;
|
|
32
32
|
borrowerDataBootCollaterals: string;
|
|
@@ -38,11 +38,12 @@ export declare const MODEL_NAMES: {
|
|
|
38
38
|
borrowerDataOptions: string;
|
|
39
39
|
borrowerDataReceivables: string;
|
|
40
40
|
borrowerDataTerms: string;
|
|
41
|
-
borrowerSettings: string;
|
|
42
|
-
borrowerSummaries: string;
|
|
43
41
|
borrowerNote: string;
|
|
44
42
|
BorrowerNoteAiSummary: string;
|
|
45
43
|
borrowerNoteSubject: string;
|
|
44
|
+
borrowerReminders: string;
|
|
45
|
+
borrowerSettings: string;
|
|
46
|
+
borrowerSummaries: string;
|
|
46
47
|
calendarDays: string;
|
|
47
48
|
cashAllocations: string;
|
|
48
49
|
cashAllocationProducts: string;
|
package/models/_models.js
CHANGED
|
@@ -28,8 +28,8 @@ exports.MODEL_NAMES = {
|
|
|
28
28
|
BBCSheets: 'bbcsheets',
|
|
29
29
|
borrowerLogs: 'borrowerLogs',
|
|
30
30
|
borrowers: 'borrowers',
|
|
31
|
-
borrowerReminders: 'borrower_reminders',
|
|
32
31
|
bankTransactions: 'bankTransactions',
|
|
32
|
+
borrowerAssumption: 'borrower_assumption',
|
|
33
33
|
borrowerData: 'borrower_data',
|
|
34
34
|
borrowerDataBanks: 'borrower_data_banks',
|
|
35
35
|
borrowerDataBootCollaterals: 'borrower_data_boot_collaterals',
|
|
@@ -41,11 +41,12 @@ exports.MODEL_NAMES = {
|
|
|
41
41
|
borrowerDataOptions: 'borrower_data_options',
|
|
42
42
|
borrowerDataReceivables: 'borrower_data_receivables',
|
|
43
43
|
borrowerDataTerms: 'borrower_data_terms',
|
|
44
|
-
borrowerSettings: 'borrowerSettings',
|
|
45
|
-
borrowerSummaries: 'borrower_summaries',
|
|
46
44
|
borrowerNote: 'borrower_notes',
|
|
47
45
|
BorrowerNoteAiSummary: 'borrower_note_summaries',
|
|
48
46
|
borrowerNoteSubject: 'borrower_note_subjects',
|
|
47
|
+
borrowerReminders: 'borrower_reminders',
|
|
48
|
+
borrowerSettings: 'borrowerSettings',
|
|
49
|
+
borrowerSummaries: 'borrower_summaries',
|
|
49
50
|
calendarDays: 'calendar_days',
|
|
50
51
|
cashAllocations: 'cash_allocations',
|
|
51
52
|
cashAllocationProducts: 'cash_allocation_products',
|
package/models/_models.ts
CHANGED
|
@@ -25,8 +25,8 @@ export const MODEL_NAMES = {
|
|
|
25
25
|
BBCSheets: 'bbcsheets',
|
|
26
26
|
borrowerLogs: 'borrowerLogs',
|
|
27
27
|
borrowers: 'borrowers',
|
|
28
|
-
borrowerReminders: 'borrower_reminders',
|
|
29
28
|
bankTransactions: 'bankTransactions',
|
|
29
|
+
borrowerAssumption: 'borrower_assumption',
|
|
30
30
|
borrowerData: 'borrower_data',
|
|
31
31
|
borrowerDataBanks: 'borrower_data_banks',
|
|
32
32
|
borrowerDataBootCollaterals: 'borrower_data_boot_collaterals',
|
|
@@ -38,11 +38,12 @@ export const MODEL_NAMES = {
|
|
|
38
38
|
borrowerDataOptions: 'borrower_data_options',
|
|
39
39
|
borrowerDataReceivables: 'borrower_data_receivables',
|
|
40
40
|
borrowerDataTerms: 'borrower_data_terms',
|
|
41
|
-
borrowerSettings: 'borrowerSettings',
|
|
42
|
-
borrowerSummaries: 'borrower_summaries',
|
|
43
41
|
borrowerNote: 'borrower_notes',
|
|
44
42
|
BorrowerNoteAiSummary: 'borrower_note_summaries',
|
|
45
43
|
borrowerNoteSubject: 'borrower_note_subjects',
|
|
44
|
+
borrowerReminders: 'borrower_reminders',
|
|
45
|
+
borrowerSettings: 'borrowerSettings',
|
|
46
|
+
borrowerSummaries: 'borrower_summaries',
|
|
46
47
|
calendarDays: 'calendar_days',
|
|
47
48
|
cashAllocations: 'cash_allocations',
|
|
48
49
|
cashAllocationProducts: 'cash_allocation_products',
|