gemcap-be-common 1.5.165 → 1.5.166
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.
|
@@ -39,6 +39,7 @@ export interface IBorrower {
|
|
|
39
39
|
active: boolean;
|
|
40
40
|
accrualStatus: boolean;
|
|
41
41
|
accrueToReserve: boolean;
|
|
42
|
+
accrueToReserveAppliedFrom: Date | null;
|
|
42
43
|
reserveCodeId: mongoose.Types.ObjectId | null;
|
|
43
44
|
organizationId: mongoose.Types.ObjectId;
|
|
44
45
|
schemas: IMapSchema[];
|
|
@@ -75,6 +76,7 @@ export declare const BorrowerSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
75
76
|
accrueToReserve: boolean;
|
|
76
77
|
organizationId?: mongoose.Types.ObjectId;
|
|
77
78
|
reserveCodeId?: mongoose.Types.ObjectId;
|
|
79
|
+
accrueToReserveAppliedFrom?: Date;
|
|
78
80
|
schemas?: mongoose.Types.DocumentArray<{
|
|
79
81
|
name: string;
|
|
80
82
|
type: string;
|
|
@@ -96,6 +98,7 @@ export declare const BorrowerSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
96
98
|
accrueToReserve: boolean;
|
|
97
99
|
organizationId?: mongoose.Types.ObjectId;
|
|
98
100
|
reserveCodeId?: mongoose.Types.ObjectId;
|
|
101
|
+
accrueToReserveAppliedFrom?: Date;
|
|
99
102
|
schemas?: mongoose.Types.DocumentArray<{
|
|
100
103
|
name: string;
|
|
101
104
|
type: string;
|
|
@@ -117,6 +120,7 @@ export declare const BorrowerSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
117
120
|
accrueToReserve: boolean;
|
|
118
121
|
organizationId?: mongoose.Types.ObjectId;
|
|
119
122
|
reserveCodeId?: mongoose.Types.ObjectId;
|
|
123
|
+
accrueToReserveAppliedFrom?: Date;
|
|
120
124
|
schemas?: mongoose.Types.DocumentArray<{
|
|
121
125
|
name: string;
|
|
122
126
|
type: string;
|
package/models/Borrower.model.js
CHANGED
|
@@ -35,6 +35,9 @@ exports.BorrowerSchema = new mongoose_1.default.Schema({
|
|
|
35
35
|
type: Boolean,
|
|
36
36
|
default: false,
|
|
37
37
|
},
|
|
38
|
+
accrueToReserveAppliedFrom: {
|
|
39
|
+
type: Date,
|
|
40
|
+
},
|
|
38
41
|
reserveCodeId: {
|
|
39
42
|
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
40
43
|
ref: _models_1.MODEL_NAMES.quickbooksAccounts,
|
package/models/Borrower.model.ts
CHANGED
|
@@ -22,6 +22,7 @@ export interface IBorrower {
|
|
|
22
22
|
active: boolean;
|
|
23
23
|
accrualStatus: boolean;
|
|
24
24
|
accrueToReserve: boolean;
|
|
25
|
+
accrueToReserveAppliedFrom: Date | null;
|
|
25
26
|
reserveCodeId: mongoose.Types.ObjectId | null;
|
|
26
27
|
organizationId: mongoose.Types.ObjectId;
|
|
27
28
|
schemas: IMapSchema[];
|
|
@@ -78,6 +79,9 @@ export const BorrowerSchema = new mongoose.Schema(
|
|
|
78
79
|
type: Boolean,
|
|
79
80
|
default: false,
|
|
80
81
|
},
|
|
82
|
+
accrueToReserveAppliedFrom: {
|
|
83
|
+
type: Date,
|
|
84
|
+
},
|
|
81
85
|
reserveCodeId: {
|
|
82
86
|
type: mongoose.Schema.Types.ObjectId,
|
|
83
87
|
ref: MODEL_NAMES.quickbooksAccounts,
|