gemcap-be-common 1.5.166 → 1.5.167

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.
@@ -40,6 +40,7 @@ export interface IBorrower {
40
40
  accrualStatus: boolean;
41
41
  accrueToReserve: boolean;
42
42
  accrueToReserveAppliedFrom: Date | null;
43
+ reserveCodeCompanyId: mongoose.Types.ObjectId | null;
43
44
  reserveCodeId: mongoose.Types.ObjectId | null;
44
45
  organizationId: mongoose.Types.ObjectId;
45
46
  schemas: IMapSchema[];
@@ -77,6 +78,7 @@ export declare const BorrowerSchema: mongoose.Schema<any, mongoose.Model<any, an
77
78
  organizationId?: mongoose.Types.ObjectId;
78
79
  reserveCodeId?: mongoose.Types.ObjectId;
79
80
  accrueToReserveAppliedFrom?: Date;
81
+ reserveCodeCompanyId?: mongoose.Types.ObjectId;
80
82
  schemas?: mongoose.Types.DocumentArray<{
81
83
  name: string;
82
84
  type: string;
@@ -99,6 +101,7 @@ export declare const BorrowerSchema: mongoose.Schema<any, mongoose.Model<any, an
99
101
  organizationId?: mongoose.Types.ObjectId;
100
102
  reserveCodeId?: mongoose.Types.ObjectId;
101
103
  accrueToReserveAppliedFrom?: Date;
104
+ reserveCodeCompanyId?: mongoose.Types.ObjectId;
102
105
  schemas?: mongoose.Types.DocumentArray<{
103
106
  name: string;
104
107
  type: string;
@@ -121,6 +124,7 @@ export declare const BorrowerSchema: mongoose.Schema<any, mongoose.Model<any, an
121
124
  organizationId?: mongoose.Types.ObjectId;
122
125
  reserveCodeId?: mongoose.Types.ObjectId;
123
126
  accrueToReserveAppliedFrom?: Date;
127
+ reserveCodeCompanyId?: mongoose.Types.ObjectId;
124
128
  schemas?: mongoose.Types.DocumentArray<{
125
129
  name: string;
126
130
  type: string;
@@ -38,6 +38,10 @@ exports.BorrowerSchema = new mongoose_1.default.Schema({
38
38
  accrueToReserveAppliedFrom: {
39
39
  type: Date,
40
40
  },
41
+ reserveCodeCompanyId: {
42
+ type: mongoose_1.default.Schema.Types.ObjectId,
43
+ ref: _models_1.MODEL_NAMES.companies,
44
+ },
41
45
  reserveCodeId: {
42
46
  type: mongoose_1.default.Schema.Types.ObjectId,
43
47
  ref: _models_1.MODEL_NAMES.quickbooksAccounts,
@@ -23,6 +23,7 @@ export interface IBorrower {
23
23
  accrualStatus: boolean;
24
24
  accrueToReserve: boolean;
25
25
  accrueToReserveAppliedFrom: Date | null;
26
+ reserveCodeCompanyId: mongoose.Types.ObjectId | null;
26
27
  reserveCodeId: mongoose.Types.ObjectId | null;
27
28
  organizationId: mongoose.Types.ObjectId;
28
29
  schemas: IMapSchema[];
@@ -82,6 +83,10 @@ export const BorrowerSchema = new mongoose.Schema(
82
83
  accrueToReserveAppliedFrom: {
83
84
  type: Date,
84
85
  },
86
+ reserveCodeCompanyId: {
87
+ type: mongoose.Schema.Types.ObjectId,
88
+ ref: MODEL_NAMES.companies,
89
+ },
85
90
  reserveCodeId: {
86
91
  type: mongoose.Schema.Types.ObjectId,
87
92
  ref: MODEL_NAMES.quickbooksAccounts,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gemcap-be-common",
3
- "version": "1.5.166",
3
+ "version": "1.5.167",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {