gemcap-be-common 1.3.3 → 1.3.4
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/db/collaterals.db.d.ts +1 -1
- package/models/AccountPayableItem.model.d.ts +6 -6
- package/models/AllocatedBankTransaction.model.d.ts +3 -0
- package/models/AllocatedBankTransaction.model.js +3 -3
- package/models/AllocatedBankTransaction.model.ts +1 -1
- package/models/AllocatedData.model.d.ts +3 -0
- package/models/AllocatedData.model.js +3 -3
- package/models/AllocatedData.model.ts +1 -1
- package/models/AvilabilitySignedData.model.d.ts +3 -0
- package/models/AvilabilitySignedData.model.js +4 -4
- package/models/AvilabilitySignedData.model.ts +2 -2
- package/models/BBCDate.model.js +1 -1
- package/models/BBCDate.model.ts +2 -1
- package/models/BBCSheet.model.d.ts +3 -3
- package/models/BBCSheet.model.js +2 -2
- package/models/BBCSheet.model.ts +2 -2
- package/models/Banks.model.d.ts +6 -6
- package/models/Borrower.model.d.ts +3 -3
- package/models/BorrowerCompliance.model.d.ts +188 -0
- package/models/BorrowerCompliance.model.js +4 -4
- package/models/BorrowerCompliance.model.ts +2 -2
- package/models/BorrowerData.model.d.ts +6 -6
- package/models/BorrowerDataInsurance.model.d.ts +3 -3
- package/models/BorrowerSettings.model.d.ts +18 -18
- package/models/BorrowerSummary.model.d.ts +3 -0
- package/models/BorrowerSummary.model.js +3 -3
- package/models/BorrowerSummary.model.ts +1 -1
- package/models/CalandarDay.model.d.ts +35 -0
- package/models/CalandarDay.model.js +3 -2
- package/models/CalandarDay.model.ts +1 -1
- package/models/CashAllocationProduct.model.d.ts +3 -0
- package/models/CashAllocationProduct.model.js +3 -3
- package/models/CashAllocationProduct.model.ts +1 -1
- package/models/CashAllocationReference.model.d.ts +3 -0
- package/models/CashAllocationReference.model.js +3 -3
- package/models/CashAllocationReference.model.ts +1 -1
- package/models/CollateralAdjustment.model.d.ts +3 -0
- package/models/CollateralAdjustment.model.js +4 -4
- package/models/CollateralAdjustment.model.ts +2 -2
- package/models/Company.model.d.ts +3 -0
- package/models/Company.model.js +3 -3
- package/models/Company.model.ts +1 -1
- package/models/ComplianceItem.model.js +2 -1
- package/models/ComplianceItem.model.ts +3 -1
- package/models/CustomerAPGroup.model.d.ts +29 -0
- package/models/CustomerAPGroup.model.js +4 -3
- package/models/CustomerAPGroup.model.ts +2 -2
- package/models/DeletedRecords.model.js +2 -1
- package/models/DeletedRecords.model.ts +3 -1
- package/models/Equipment.model.d.ts +170 -0
- package/models/Equipment.model.js +5 -4
- package/models/Equipment.model.ts +2 -2
- package/models/FinancialCompliance.model.d.ts +51 -0
- package/models/FinancialCompliance.model.js +4 -3
- package/models/FinancialCompliance.model.ts +2 -2
- package/models/FinancialComplianceBorrower.model.d.ts +51 -0
- package/models/FinancialComplianceBorrower.model.js +4 -3
- package/models/FinancialComplianceBorrower.model.ts +2 -2
- package/models/FinancialIndexes.model.d.ts +29 -0
- package/models/FinancialIndexes.model.js +3 -3
- package/models/FinancialIndexes.model.ts +2 -2
- package/models/FinancialSpreading.model.d.ts +3 -0
- package/models/FinancialSpreading.model.js +4 -4
- package/models/FinancialSpreading.model.ts +2 -2
- package/models/FinancialSpreadingSheet.model.d.ts +3 -0
- package/models/FinancialSpreadingSheet.model.js +4 -4
- package/models/FinancialSpreadingSheet.model.ts +2 -2
- package/models/Globals.model.js +1 -1
- package/models/Globals.model.ts +2 -1
- package/models/Inventory.model.d.ts +21 -21
- package/models/Inventory.model.js +2 -1
- package/models/Inventory.model.ts +3 -1
- package/models/InventoryAvailability.model.d.ts +21 -21
- package/models/InventoryAvailability.model.js +2 -2
- package/models/InventoryAvailability.model.ts +2 -2
- package/models/InventoryAvailabilityItem.model.d.ts +3 -3
- package/models/InventoryAvailabilityItem.model.js +1 -1
- package/models/InventoryAvailabilityItem.model.ts +2 -2
- package/models/InventoryItem.model.d.ts +24 -24
- package/models/InventoryItem.model.js +1 -1
- package/models/InventoryItem.model.ts +2 -2
- package/models/InventoryManualEntry.model.d.ts +9 -9
- package/models/LoanBroker.model.d.ts +3 -3
- package/models/LoanCharges.model.d.ts +9 -9
- package/models/LoanPayment.model.d.ts +3 -3
- package/models/LoanPayment.model.js +1 -1
- package/models/LoanPayment.model.ts +2 -1
- package/models/LoanProducts.model.d.ts +9 -9
- package/models/LoanStatementStatus.model.d.ts +38 -0
- package/models/LoanStatementStatus.model.js +3 -3
- package/models/LoanStatementStatus.model.ts +2 -2
- package/models/LoanStatementTransaction.model.d.ts +7 -7
- package/models/LoanStatementTransaction.model.js +1 -1
- package/models/LoanStatementTransaction.model.ts +3 -3
- package/models/LoanTransaction.model.js +1 -1
- package/models/LoanTransaction.model.ts +2 -2
- package/models/LoanTransactionFile.model.d.ts +38 -0
- package/models/LoanTransactionFile.model.js +3 -3
- package/models/LoanTransactionFile.model.ts +2 -2
- package/models/MappedGroup.model.d.ts +32 -0
- package/models/MappedGroup.model.js +4 -3
- package/models/MappedGroup.model.ts +1 -1
- package/models/MicroserviceTask.model.d.ts +3 -3
- package/models/MonthEndData.Model.d.ts +3 -0
- package/models/MonthEndData.Model.js +3 -3
- package/models/MonthEndData.Model.ts +2 -2
- package/models/OrganizationEmails.model.d.ts +3 -0
- package/models/OrganizationEmails.model.js +3 -3
- package/models/OrganizationEmails.model.ts +1 -1
- package/models/PostponedTransactions.model.d.ts +3 -3
- package/models/PostponedTransactions.model.js +1 -1
- package/models/PostponedTransactions.model.ts +2 -2
- package/models/ProspectIndustry.model.d.ts +4 -1
- package/models/ProspectIndustry.model.js +4 -4
- package/models/ProspectIndustry.model.ts +2 -2
- package/models/QueryResult.model.js +2 -2
- package/models/QueryResult.model.ts +2 -2
- package/models/QuickbooksAccount.model.d.ts +3 -0
- package/models/QuickbooksAccount.model.js +3 -3
- package/models/QuickbooksAccount.model.ts +1 -1
- package/models/Receivable.model.d.ts +9 -9
- package/models/Receivable.model.js +2 -1
- package/models/Receivable.model.ts +3 -1
- package/models/ReceivableAvailability.model.d.ts +27 -27
- package/models/ReceivableAvailabilityItem.model.d.ts +57 -57
- package/models/ReceivableItem.model.d.ts +6 -6
- package/models/ReceivableItem.model.js +1 -1
- package/models/ReceivableItem.model.ts +2 -2
- package/models/Reserve.model.d.ts +122 -0
- package/models/Reserve.model.js +5 -4
- package/models/Reserve.model.ts +3 -2
- package/models/TermLoan.model.d.ts +6 -6
- package/models/TermLoanCalculated.model.d.ts +9 -9
- package/models/TransactionAttachedFile.Model.d.ts +35 -0
- package/models/TransactionAttachedFile.Model.js +3 -3
- package/models/TransactionAttachedFile.Model.ts +1 -1
- package/models/UploadedBankTransaction.model.d.ts +3 -0
- package/models/UploadedBankTransaction.model.js +3 -3
- package/models/UploadedBankTransaction.model.ts +1 -1
- package/models/UploadedData.model.d.ts +29 -0
- package/models/UploadedData.model.js +4 -3
- package/models/UploadedData.model.ts +1 -1
- package/models/UploadedFile.model.d.ts +38 -0
- package/models/UploadedFile.model.js +4 -3
- package/models/UploadedFile.model.ts +2 -2
- package/models/UploadedSheet.model.d.ts +29 -0
- package/models/UploadedSheet.model.js +4 -3
- package/models/UploadedSheet.model.ts +2 -2
- package/models/User.model.js +2 -1
- package/models/User.model.ts +3 -1
- package/models/UserLog.model.js +1 -1
- package/models/UserLog.model.ts +1 -1
- package/models/UserMobileAccess.model.d.ts +3 -0
- package/models/UserMobileAccess.model.js +3 -3
- package/models/UserMobileAccess.model.ts +1 -1
- package/models/_index.d.ts +75 -0
- package/models/_index.js +166 -0
- package/models/_index.ts +164 -0
- package/models/_models.d.ts +2 -0
- package/models/_models.js +3 -1
- package/models/_models.ts +3 -1
- package/package.json +1 -1
- package/services/brokers.service.d.ts +2 -2
- package/services/users.service.d.ts +2 -2
- package/tsconfig.tsbuildinfo +1 -1
package/db/collaterals.db.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare const createQuery: (groupFields: {
|
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
itemQueries: any;
|
|
78
|
-
enumKey: "
|
|
78
|
+
enumKey: "INVENTORY" | "RECEIVABLE" | "ACCOUNT_PAYABLE" | "OTHER" | "CASH" | "LOAN_TRANSACTIONS" | "QUICKBOOKS" | "UPLOADED_BANK_TRANSACTIONS";
|
|
79
79
|
};
|
|
80
80
|
export declare const ITEMS_PAGINATION: (paginatorOptions: IPaginatorOptions) => ({
|
|
81
81
|
$skip: number;
|
|
@@ -43,10 +43,10 @@ export declare const AccountPayableItemSchema: mongoose.Schema<any, mongoose.Mod
|
|
|
43
43
|
createdAt: NativeDate;
|
|
44
44
|
updatedAt: NativeDate;
|
|
45
45
|
} & {
|
|
46
|
-
order: number;
|
|
47
|
-
amount: number;
|
|
48
46
|
bbcSheetId: mongoose.Types.ObjectId;
|
|
47
|
+
order: number;
|
|
49
48
|
apDate: Date;
|
|
49
|
+
amount: number;
|
|
50
50
|
__v?: number;
|
|
51
51
|
poNumber?: string;
|
|
52
52
|
customerName?: string;
|
|
@@ -57,10 +57,10 @@ export declare const AccountPayableItemSchema: mongoose.Schema<any, mongoose.Mod
|
|
|
57
57
|
createdAt: NativeDate;
|
|
58
58
|
updatedAt: NativeDate;
|
|
59
59
|
} & {
|
|
60
|
-
order: number;
|
|
61
|
-
amount: number;
|
|
62
60
|
bbcSheetId: mongoose.Types.ObjectId;
|
|
61
|
+
order: number;
|
|
63
62
|
apDate: Date;
|
|
63
|
+
amount: number;
|
|
64
64
|
__v?: number;
|
|
65
65
|
poNumber?: string;
|
|
66
66
|
customerName?: string;
|
|
@@ -71,10 +71,10 @@ export declare const AccountPayableItemSchema: mongoose.Schema<any, mongoose.Mod
|
|
|
71
71
|
createdAt: NativeDate;
|
|
72
72
|
updatedAt: NativeDate;
|
|
73
73
|
} & {
|
|
74
|
-
order: number;
|
|
75
|
-
amount: number;
|
|
76
74
|
bbcSheetId: mongoose.Types.ObjectId;
|
|
75
|
+
order: number;
|
|
77
76
|
apDate: Date;
|
|
77
|
+
amount: number;
|
|
78
78
|
__v?: number;
|
|
79
79
|
poNumber?: string;
|
|
80
80
|
customerName?: string;
|
|
@@ -50,5 +50,8 @@ export type PreSplitUploadedBankTransactionWithInfo = IUploadedBankTransactionWi
|
|
|
50
50
|
splitTransactionId: mongoose.Types.ObjectId;
|
|
51
51
|
splitMemo: string;
|
|
52
52
|
};
|
|
53
|
+
export declare const AllocatedBankTransactionSchema: mongoose.Schema<IAllocatedBankTransaction, AllocatedBankTransactionModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAllocatedBankTransaction, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAllocatedBankTransaction>> & mongoose.FlatRecord<IAllocatedBankTransaction> & Required<{
|
|
54
|
+
_id: mongoose.Types.ObjectId;
|
|
55
|
+
}>>;
|
|
53
56
|
export declare const AllocatedBankTransaction: AllocatedBankTransactionModel;
|
|
54
57
|
export {};
|
|
@@ -3,11 +3,11 @@ 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.AllocatedBankTransaction = void 0;
|
|
6
|
+
exports.AllocatedBankTransaction = exports.AllocatedBankTransactionSchema = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const CashAllocationProduct_model_1 = require("./CashAllocationProduct.model");
|
|
9
9
|
const _models_1 = require("./_models");
|
|
10
|
-
|
|
10
|
+
exports.AllocatedBankTransactionSchema = new mongoose_1.default.Schema({
|
|
11
11
|
uploadedBankTransactionId: {
|
|
12
12
|
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
13
13
|
ref: _models_1.MODEL_NAMES.uploadedBankTransactions,
|
|
@@ -67,4 +67,4 @@ const AllocatedBankTransactionSchema = new mongoose_1.default.Schema({
|
|
|
67
67
|
},
|
|
68
68
|
accounts: CashAllocationProduct_model_1.AccountSchema,
|
|
69
69
|
}, { timestamps: { createdAt: true, updatedAt: false } });
|
|
70
|
-
exports.AllocatedBankTransaction = mongoose_1.default.model(_models_1.MODEL_NAMES.allocatedBankTransactions, AllocatedBankTransactionSchema);
|
|
70
|
+
exports.AllocatedBankTransaction = mongoose_1.default.model(_models_1.MODEL_NAMES.allocatedBankTransactions, exports.AllocatedBankTransactionSchema);
|
|
@@ -30,7 +30,7 @@ type AllocatedBankTransactionModel = Model<IAllocatedBankTransaction>;
|
|
|
30
30
|
|
|
31
31
|
export type PreSplitUploadedBankTransactionWithInfo = IUploadedBankTransactionWithInfo & { splitTransactionId: mongoose.Types.ObjectId, splitMemo: string };
|
|
32
32
|
|
|
33
|
-
const AllocatedBankTransactionSchema = new mongoose.Schema<IAllocatedBankTransaction, AllocatedBankTransactionModel>({
|
|
33
|
+
export const AllocatedBankTransactionSchema = new mongoose.Schema<IAllocatedBankTransaction, AllocatedBankTransactionModel>({
|
|
34
34
|
uploadedBankTransactionId: {
|
|
35
35
|
type: mongoose.Schema.Types.ObjectId,
|
|
36
36
|
ref: MODEL_NAMES.uploadedBankTransactions,
|
|
@@ -29,5 +29,8 @@ export interface IAllocatedData {
|
|
|
29
29
|
isLocked: boolean;
|
|
30
30
|
}
|
|
31
31
|
type AllocatedDataModel = Model<IAllocatedData>;
|
|
32
|
+
export declare const AllocatedDataSchema: mongoose.Schema<IAllocatedData, AllocatedDataModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAllocatedData, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAllocatedData>> & mongoose.FlatRecord<IAllocatedData> & Required<{
|
|
33
|
+
_id: mongoose.Types.ObjectId;
|
|
34
|
+
}>>;
|
|
32
35
|
export declare const AllocatedData: AllocatedDataModel;
|
|
33
36
|
export {};
|
|
@@ -3,10 +3,10 @@ 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.AllocatedData = void 0;
|
|
6
|
+
exports.AllocatedData = exports.AllocatedDataSchema = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const _models_1 = require("./_models");
|
|
9
|
-
|
|
9
|
+
exports.AllocatedDataSchema = new mongoose_1.default.Schema({
|
|
10
10
|
date: {
|
|
11
11
|
type: String,
|
|
12
12
|
required: true,
|
|
@@ -16,4 +16,4 @@ const AllocatedDataSchema = new mongoose_1.default.Schema({
|
|
|
16
16
|
required: true,
|
|
17
17
|
},
|
|
18
18
|
}, { timestamps: { createdAt: true, updatedAt: false } });
|
|
19
|
-
exports.AllocatedData = mongoose_1.default.model(_models_1.MODEL_NAMES.allocatedData, AllocatedDataSchema);
|
|
19
|
+
exports.AllocatedData = mongoose_1.default.model(_models_1.MODEL_NAMES.allocatedData, exports.AllocatedDataSchema);
|
|
@@ -10,7 +10,7 @@ export interface IAllocatedData {
|
|
|
10
10
|
|
|
11
11
|
type AllocatedDataModel = Model<IAllocatedData>;
|
|
12
12
|
|
|
13
|
-
const AllocatedDataSchema = new mongoose.Schema<IAllocatedData, AllocatedDataModel>({
|
|
13
|
+
export const AllocatedDataSchema = new mongoose.Schema<IAllocatedData, AllocatedDataModel>({
|
|
14
14
|
date: {
|
|
15
15
|
type: String,
|
|
16
16
|
required: true,
|
|
@@ -29,5 +29,8 @@ export interface IAvailabilitySignedData {
|
|
|
29
29
|
data: any;
|
|
30
30
|
}
|
|
31
31
|
type IAvailabilitySignedDataModel = Model<IAvailabilitySignedData, {}, {}>;
|
|
32
|
+
export declare const AvailabilitySignedDataSchema: mongoose.Schema<IAvailabilitySignedData, IAvailabilitySignedDataModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IAvailabilitySignedData, mongoose.Document<unknown, {}, mongoose.FlatRecord<IAvailabilitySignedData>> & mongoose.FlatRecord<IAvailabilitySignedData> & Required<{
|
|
33
|
+
_id: mongoose.Types.ObjectId;
|
|
34
|
+
}>>;
|
|
32
35
|
export declare const AvailabilitySignedData: IAvailabilitySignedDataModel;
|
|
33
36
|
export {};
|
|
@@ -3,10 +3,10 @@ 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.AvailabilitySignedData = void 0;
|
|
6
|
+
exports.AvailabilitySignedData = exports.AvailabilitySignedDataSchema = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
|
-
const _models_1 = require("
|
|
9
|
-
|
|
8
|
+
const _models_1 = require("./_models");
|
|
9
|
+
exports.AvailabilitySignedDataSchema = new mongoose_1.default.Schema({
|
|
10
10
|
bbcDateId: {
|
|
11
11
|
type: mongoose_1.default.Schema.Types.ObjectId,
|
|
12
12
|
ref: _models_1.MODEL_NAMES.BBCDates,
|
|
@@ -19,4 +19,4 @@ const AvailabilitySignedDataSchema = new mongoose_1.default.Schema({
|
|
|
19
19
|
timestamps: { createdAt: false, updatedAt: false },
|
|
20
20
|
versionKey: false,
|
|
21
21
|
});
|
|
22
|
-
exports.AvailabilitySignedData = mongoose_1.default.model(_models_1.MODEL_NAMES.availabilitySignedData, AvailabilitySignedDataSchema);
|
|
22
|
+
exports.AvailabilitySignedData = mongoose_1.default.model(_models_1.MODEL_NAMES.availabilitySignedData, exports.AvailabilitySignedDataSchema);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import mongoose, { Model } from 'mongoose';
|
|
2
2
|
|
|
3
|
-
import { MODEL_NAMES } from '
|
|
3
|
+
import { MODEL_NAMES } from './_models';
|
|
4
4
|
|
|
5
5
|
export interface IAvailabilitySignedData {
|
|
6
6
|
_id?: mongoose.Types.ObjectId;
|
|
@@ -10,7 +10,7 @@ export interface IAvailabilitySignedData {
|
|
|
10
10
|
|
|
11
11
|
type IAvailabilitySignedDataModel = Model<IAvailabilitySignedData, {}, {}>;
|
|
12
12
|
|
|
13
|
-
const AvailabilitySignedDataSchema = new mongoose.Schema<IAvailabilitySignedData, IAvailabilitySignedDataModel>(
|
|
13
|
+
export const AvailabilitySignedDataSchema = new mongoose.Schema<IAvailabilitySignedData, IAvailabilitySignedDataModel>(
|
|
14
14
|
{
|
|
15
15
|
bbcDateId: {
|
|
16
16
|
type: mongoose.Schema.Types.ObjectId,
|
package/models/BBCDate.model.js
CHANGED
|
@@ -27,4 +27,4 @@ exports.BBCDateSchema = new mongoose_1.default.Schema({
|
|
|
27
27
|
__v: { type: Number, select: false },
|
|
28
28
|
}, { timestamps: true });
|
|
29
29
|
exports.BBCDateSchema.plugin(mongooseLeanId);
|
|
30
|
-
exports.BBCDateModel = mongoose_1.default.model(
|
|
30
|
+
exports.BBCDateModel = mongoose_1.default.model(_models_1.MODEL_NAMES.BBCDates, exports.BBCDateSchema);
|
package/models/BBCDate.model.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Joi from 'joi';
|
|
2
2
|
import mongoose, { Document } from 'mongoose';
|
|
3
|
+
|
|
3
4
|
import { MODEL_NAMES } from './_models';
|
|
4
5
|
|
|
5
6
|
const mongooseLeanId = require('../plugins/id.plugin');
|
|
@@ -44,4 +45,4 @@ export const BBCDateSchema = new mongoose.Schema(
|
|
|
44
45
|
|
|
45
46
|
BBCDateSchema.plugin(mongooseLeanId);
|
|
46
47
|
|
|
47
|
-
export const BBCDateModel: mongoose.Model<IBBCDateDoc> = mongoose.model<IBBCDateDoc>(
|
|
48
|
+
export const BBCDateModel: mongoose.Model<IBBCDateDoc> = mongoose.model<IBBCDateDoc>(MODEL_NAMES.BBCDates, BBCDateSchema);
|
|
@@ -48,10 +48,10 @@ export declare const BBCSheetSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
48
48
|
dataType: string;
|
|
49
49
|
__v?: number;
|
|
50
50
|
comment?: string;
|
|
51
|
-
sheetName?: string;
|
|
52
51
|
uploadUser?: mongoose.Types.ObjectId;
|
|
53
52
|
fileHash?: string;
|
|
54
53
|
fileName?: string;
|
|
54
|
+
sheetName?: string;
|
|
55
55
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
56
56
|
createdAt: NativeDate;
|
|
57
57
|
updatedAt: NativeDate;
|
|
@@ -60,10 +60,10 @@ export declare const BBCSheetSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
60
60
|
dataType: string;
|
|
61
61
|
__v?: number;
|
|
62
62
|
comment?: string;
|
|
63
|
-
sheetName?: string;
|
|
64
63
|
uploadUser?: mongoose.Types.ObjectId;
|
|
65
64
|
fileHash?: string;
|
|
66
65
|
fileName?: string;
|
|
66
|
+
sheetName?: string;
|
|
67
67
|
}>> & mongoose.FlatRecord<{
|
|
68
68
|
createdAt: NativeDate;
|
|
69
69
|
updatedAt: NativeDate;
|
|
@@ -72,10 +72,10 @@ export declare const BBCSheetSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
72
72
|
dataType: string;
|
|
73
73
|
__v?: number;
|
|
74
74
|
comment?: string;
|
|
75
|
-
sheetName?: string;
|
|
76
75
|
uploadUser?: mongoose.Types.ObjectId;
|
|
77
76
|
fileHash?: string;
|
|
78
77
|
fileName?: string;
|
|
78
|
+
sheetName?: string;
|
|
79
79
|
}> & {
|
|
80
80
|
_id: mongoose.Types.ObjectId;
|
|
81
81
|
}>;
|
package/models/BBCSheet.model.js
CHANGED
|
@@ -5,10 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.BBCSheetModel = exports.BBCSheetSchema = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
|
+
const _models_1 = require("./_models");
|
|
8
9
|
const InventoryItem_model_1 = require("./InventoryItem.model");
|
|
9
10
|
const AccountPayableItem_model_1 = require("./AccountPayableItem.model");
|
|
10
11
|
const ReceivableItem_model_1 = require("./ReceivableItem.model");
|
|
11
|
-
const _models_1 = require("./_models");
|
|
12
12
|
const mongooseLeanId = require('../plugins/id.plugin');
|
|
13
13
|
exports.BBCSheetSchema = new mongoose_1.default.Schema({
|
|
14
14
|
bbcDateId: {
|
|
@@ -51,4 +51,4 @@ exports.BBCSheetSchema.pre('findOneAndDelete', async function (next) {
|
|
|
51
51
|
await AccountPayableItem_model_1.AccountPayableItemModel.deleteMany({ bbcSheetId: bbcSheetId });
|
|
52
52
|
next();
|
|
53
53
|
});
|
|
54
|
-
exports.BBCSheetModel = mongoose_1.default.model(
|
|
54
|
+
exports.BBCSheetModel = mongoose_1.default.model(_models_1.MODEL_NAMES.BBCSheets, exports.BBCSheetSchema);
|
package/models/BBCSheet.model.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import mongoose, { Document } from 'mongoose';
|
|
2
2
|
|
|
3
|
+
import { MODEL_NAMES } from './_models';
|
|
3
4
|
import { IBBCDate } from './BBCDate.model';
|
|
4
5
|
import { InventoryItemModel } from './InventoryItem.model';
|
|
5
6
|
import { AccountPayableItemModel } from './AccountPayableItem.model';
|
|
6
7
|
import { ReceivableItemModel } from './ReceivableItem.model';
|
|
7
|
-
import { MODEL_NAMES } from './_models';
|
|
8
8
|
|
|
9
9
|
const mongooseLeanId = require('../plugins/id.plugin');
|
|
10
10
|
|
|
@@ -72,4 +72,4 @@ BBCSheetSchema.pre('findOneAndDelete', async function (next) {
|
|
|
72
72
|
next();
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
export const BBCSheetModel: mongoose.Model<IBBCSheetDoc> = mongoose.model<IBBCSheetDoc>(
|
|
75
|
+
export const BBCSheetModel: mongoose.Model<IBBCSheetDoc> = mongoose.model<IBBCSheetDoc>(MODEL_NAMES.BBCSheets, BBCSheetSchema);
|
package/models/Banks.model.d.ts
CHANGED
|
@@ -45,10 +45,10 @@ export declare const BankSchema: mongoose.Schema<any, mongoose.Model<any, any, a
|
|
|
45
45
|
createdAt: NativeDate;
|
|
46
46
|
updatedAt: NativeDate;
|
|
47
47
|
} & {
|
|
48
|
-
order: number;
|
|
49
48
|
name: string;
|
|
50
|
-
|
|
49
|
+
order: number;
|
|
51
50
|
isDeleted: boolean;
|
|
51
|
+
active: boolean;
|
|
52
52
|
bankAccountNumber: string;
|
|
53
53
|
ledgerAccountCodes: Map<string, {
|
|
54
54
|
type?: mongoose.Types.ObjectId;
|
|
@@ -59,10 +59,10 @@ export declare const BankSchema: mongoose.Schema<any, mongoose.Model<any, any, a
|
|
|
59
59
|
createdAt: NativeDate;
|
|
60
60
|
updatedAt: NativeDate;
|
|
61
61
|
} & {
|
|
62
|
-
order: number;
|
|
63
62
|
name: string;
|
|
64
|
-
|
|
63
|
+
order: number;
|
|
65
64
|
isDeleted: boolean;
|
|
65
|
+
active: boolean;
|
|
66
66
|
bankAccountNumber: string;
|
|
67
67
|
ledgerAccountCodes: Map<string, {
|
|
68
68
|
type?: mongoose.Types.ObjectId;
|
|
@@ -73,10 +73,10 @@ export declare const BankSchema: mongoose.Schema<any, mongoose.Model<any, any, a
|
|
|
73
73
|
createdAt: NativeDate;
|
|
74
74
|
updatedAt: NativeDate;
|
|
75
75
|
} & {
|
|
76
|
-
order: number;
|
|
77
76
|
name: string;
|
|
78
|
-
|
|
77
|
+
order: number;
|
|
79
78
|
isDeleted: boolean;
|
|
79
|
+
active: boolean;
|
|
80
80
|
bankAccountNumber: string;
|
|
81
81
|
ledgerAccountCodes: Map<string, {
|
|
82
82
|
type?: mongoose.Types.ObjectId;
|
|
@@ -51,9 +51,9 @@ export declare const BorrowerSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
51
51
|
updatedAt: NativeDate;
|
|
52
52
|
} & {
|
|
53
53
|
name: string;
|
|
54
|
+
active: boolean;
|
|
54
55
|
code: string;
|
|
55
56
|
title: string;
|
|
56
|
-
active: boolean;
|
|
57
57
|
accrualStatus: boolean;
|
|
58
58
|
__v?: number;
|
|
59
59
|
organizationId?: mongoose.Types.ObjectId;
|
|
@@ -70,9 +70,9 @@ export declare const BorrowerSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
70
70
|
updatedAt: NativeDate;
|
|
71
71
|
} & {
|
|
72
72
|
name: string;
|
|
73
|
+
active: boolean;
|
|
73
74
|
code: string;
|
|
74
75
|
title: string;
|
|
75
|
-
active: boolean;
|
|
76
76
|
accrualStatus: boolean;
|
|
77
77
|
__v?: number;
|
|
78
78
|
organizationId?: mongoose.Types.ObjectId;
|
|
@@ -89,9 +89,9 @@ export declare const BorrowerSchema: mongoose.Schema<any, mongoose.Model<any, an
|
|
|
89
89
|
updatedAt: NativeDate;
|
|
90
90
|
} & {
|
|
91
91
|
name: string;
|
|
92
|
+
active: boolean;
|
|
92
93
|
code: string;
|
|
93
94
|
title: string;
|
|
94
|
-
active: boolean;
|
|
95
95
|
accrualStatus: boolean;
|
|
96
96
|
__v?: number;
|
|
97
97
|
organizationId?: mongoose.Types.ObjectId;
|
|
@@ -47,6 +47,194 @@ export interface IComplianceBorrowerDocument extends Document {
|
|
|
47
47
|
export interface IComplianceBorrowerDocumentFull extends Omit<IComplianceBorrowerDocument, 'items'> {
|
|
48
48
|
items: IBorrowerItemDocument[];
|
|
49
49
|
}
|
|
50
|
+
export declare const BorrowerComplianceSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
51
|
+
timestamps: true;
|
|
52
|
+
}, {
|
|
53
|
+
createdAt: NativeDate;
|
|
54
|
+
updatedAt: NativeDate;
|
|
55
|
+
} & {
|
|
56
|
+
borrower: mongoose.Types.ObjectId;
|
|
57
|
+
complianceNotes: mongoose.Types.DocumentArray<{
|
|
58
|
+
date: Date;
|
|
59
|
+
note: string;
|
|
60
|
+
user?: string;
|
|
61
|
+
}>;
|
|
62
|
+
borrowerNotes: mongoose.Types.DocumentArray<{
|
|
63
|
+
date: Date;
|
|
64
|
+
note: string;
|
|
65
|
+
user?: string;
|
|
66
|
+
}>;
|
|
67
|
+
mainEmails: mongoose.Types.DocumentArray<{
|
|
68
|
+
title?: string;
|
|
69
|
+
email?: string;
|
|
70
|
+
isActive?: boolean;
|
|
71
|
+
}>;
|
|
72
|
+
financialEmails: mongoose.Types.DocumentArray<{
|
|
73
|
+
title?: string;
|
|
74
|
+
email?: string;
|
|
75
|
+
isActive?: boolean;
|
|
76
|
+
}>;
|
|
77
|
+
items: mongoose.Types.DocumentArray<{
|
|
78
|
+
createdAt: NativeDate;
|
|
79
|
+
updatedAt: NativeDate;
|
|
80
|
+
} & {
|
|
81
|
+
emailAddresses: mongoose.Types.DocumentArray<{
|
|
82
|
+
title?: string;
|
|
83
|
+
email?: string;
|
|
84
|
+
isActive?: boolean;
|
|
85
|
+
}>;
|
|
86
|
+
instances: mongoose.Types.DocumentArray<{
|
|
87
|
+
createdAt: NativeDate;
|
|
88
|
+
updatedAt: NativeDate;
|
|
89
|
+
} & {
|
|
90
|
+
files: mongoose.Types.DocumentArray<{
|
|
91
|
+
name: string;
|
|
92
|
+
fileId: string;
|
|
93
|
+
isFileNew?: boolean;
|
|
94
|
+
uploadedAt?: Date;
|
|
95
|
+
uploadedBy?: mongoose.Types.ObjectId;
|
|
96
|
+
}>;
|
|
97
|
+
nextDate?: Date;
|
|
98
|
+
submittedDate?: Date;
|
|
99
|
+
status?: string;
|
|
100
|
+
}>;
|
|
101
|
+
item?: mongoose.Types.ObjectId;
|
|
102
|
+
startDate?: Date;
|
|
103
|
+
frequency?: string;
|
|
104
|
+
}>;
|
|
105
|
+
__v?: number;
|
|
106
|
+
isVisible?: boolean;
|
|
107
|
+
email?: string;
|
|
108
|
+
isEmailingActive?: boolean;
|
|
109
|
+
isDailyTransactionsEmailingActive?: boolean;
|
|
110
|
+
plaidAccessToken?: string;
|
|
111
|
+
fundingStatus?: string;
|
|
112
|
+
lastEmailSentAt?: Date;
|
|
113
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
114
|
+
createdAt: NativeDate;
|
|
115
|
+
updatedAt: NativeDate;
|
|
116
|
+
} & {
|
|
117
|
+
borrower: mongoose.Types.ObjectId;
|
|
118
|
+
complianceNotes: mongoose.Types.DocumentArray<{
|
|
119
|
+
date: Date;
|
|
120
|
+
note: string;
|
|
121
|
+
user?: string;
|
|
122
|
+
}>;
|
|
123
|
+
borrowerNotes: mongoose.Types.DocumentArray<{
|
|
124
|
+
date: Date;
|
|
125
|
+
note: string;
|
|
126
|
+
user?: string;
|
|
127
|
+
}>;
|
|
128
|
+
mainEmails: mongoose.Types.DocumentArray<{
|
|
129
|
+
title?: string;
|
|
130
|
+
email?: string;
|
|
131
|
+
isActive?: boolean;
|
|
132
|
+
}>;
|
|
133
|
+
financialEmails: mongoose.Types.DocumentArray<{
|
|
134
|
+
title?: string;
|
|
135
|
+
email?: string;
|
|
136
|
+
isActive?: boolean;
|
|
137
|
+
}>;
|
|
138
|
+
items: mongoose.Types.DocumentArray<{
|
|
139
|
+
createdAt: NativeDate;
|
|
140
|
+
updatedAt: NativeDate;
|
|
141
|
+
} & {
|
|
142
|
+
emailAddresses: mongoose.Types.DocumentArray<{
|
|
143
|
+
title?: string;
|
|
144
|
+
email?: string;
|
|
145
|
+
isActive?: boolean;
|
|
146
|
+
}>;
|
|
147
|
+
instances: mongoose.Types.DocumentArray<{
|
|
148
|
+
createdAt: NativeDate;
|
|
149
|
+
updatedAt: NativeDate;
|
|
150
|
+
} & {
|
|
151
|
+
files: mongoose.Types.DocumentArray<{
|
|
152
|
+
name: string;
|
|
153
|
+
fileId: string;
|
|
154
|
+
isFileNew?: boolean;
|
|
155
|
+
uploadedAt?: Date;
|
|
156
|
+
uploadedBy?: mongoose.Types.ObjectId;
|
|
157
|
+
}>;
|
|
158
|
+
nextDate?: Date;
|
|
159
|
+
submittedDate?: Date;
|
|
160
|
+
status?: string;
|
|
161
|
+
}>;
|
|
162
|
+
item?: mongoose.Types.ObjectId;
|
|
163
|
+
startDate?: Date;
|
|
164
|
+
frequency?: string;
|
|
165
|
+
}>;
|
|
166
|
+
__v?: number;
|
|
167
|
+
isVisible?: boolean;
|
|
168
|
+
email?: string;
|
|
169
|
+
isEmailingActive?: boolean;
|
|
170
|
+
isDailyTransactionsEmailingActive?: boolean;
|
|
171
|
+
plaidAccessToken?: string;
|
|
172
|
+
fundingStatus?: string;
|
|
173
|
+
lastEmailSentAt?: Date;
|
|
174
|
+
}>> & mongoose.FlatRecord<{
|
|
175
|
+
createdAt: NativeDate;
|
|
176
|
+
updatedAt: NativeDate;
|
|
177
|
+
} & {
|
|
178
|
+
borrower: mongoose.Types.ObjectId;
|
|
179
|
+
complianceNotes: mongoose.Types.DocumentArray<{
|
|
180
|
+
date: Date;
|
|
181
|
+
note: string;
|
|
182
|
+
user?: string;
|
|
183
|
+
}>;
|
|
184
|
+
borrowerNotes: mongoose.Types.DocumentArray<{
|
|
185
|
+
date: Date;
|
|
186
|
+
note: string;
|
|
187
|
+
user?: string;
|
|
188
|
+
}>;
|
|
189
|
+
mainEmails: mongoose.Types.DocumentArray<{
|
|
190
|
+
title?: string;
|
|
191
|
+
email?: string;
|
|
192
|
+
isActive?: boolean;
|
|
193
|
+
}>;
|
|
194
|
+
financialEmails: mongoose.Types.DocumentArray<{
|
|
195
|
+
title?: string;
|
|
196
|
+
email?: string;
|
|
197
|
+
isActive?: boolean;
|
|
198
|
+
}>;
|
|
199
|
+
items: mongoose.Types.DocumentArray<{
|
|
200
|
+
createdAt: NativeDate;
|
|
201
|
+
updatedAt: NativeDate;
|
|
202
|
+
} & {
|
|
203
|
+
emailAddresses: mongoose.Types.DocumentArray<{
|
|
204
|
+
title?: string;
|
|
205
|
+
email?: string;
|
|
206
|
+
isActive?: boolean;
|
|
207
|
+
}>;
|
|
208
|
+
instances: mongoose.Types.DocumentArray<{
|
|
209
|
+
createdAt: NativeDate;
|
|
210
|
+
updatedAt: NativeDate;
|
|
211
|
+
} & {
|
|
212
|
+
files: mongoose.Types.DocumentArray<{
|
|
213
|
+
name: string;
|
|
214
|
+
fileId: string;
|
|
215
|
+
isFileNew?: boolean;
|
|
216
|
+
uploadedAt?: Date;
|
|
217
|
+
uploadedBy?: mongoose.Types.ObjectId;
|
|
218
|
+
}>;
|
|
219
|
+
nextDate?: Date;
|
|
220
|
+
submittedDate?: Date;
|
|
221
|
+
status?: string;
|
|
222
|
+
}>;
|
|
223
|
+
item?: mongoose.Types.ObjectId;
|
|
224
|
+
startDate?: Date;
|
|
225
|
+
frequency?: string;
|
|
226
|
+
}>;
|
|
227
|
+
__v?: number;
|
|
228
|
+
isVisible?: boolean;
|
|
229
|
+
email?: string;
|
|
230
|
+
isEmailingActive?: boolean;
|
|
231
|
+
isDailyTransactionsEmailingActive?: boolean;
|
|
232
|
+
plaidAccessToken?: string;
|
|
233
|
+
fundingStatus?: string;
|
|
234
|
+
lastEmailSentAt?: Date;
|
|
235
|
+
}> & {
|
|
236
|
+
_id: mongoose.Types.ObjectId;
|
|
237
|
+
}>;
|
|
50
238
|
export declare const BorrowerCompliance: mongoose.Model<IComplianceBorrowerDocument, {}, {}, {}, mongoose.Document<unknown, {}, IComplianceBorrowerDocument> & IComplianceBorrowerDocument & {
|
|
51
239
|
_id: mongoose.Types.ObjectId;
|
|
52
240
|
}, any>;
|
|
@@ -3,7 +3,7 @@ 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.BorrowerCompliance = void 0;
|
|
6
|
+
exports.BorrowerCompliance = exports.BorrowerComplianceSchema = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const _models_1 = require("./_models");
|
|
9
9
|
const mongooseLeanId = require('../plugins/id.plugin');
|
|
@@ -81,7 +81,7 @@ const BorrowerComplianceItemSchema = new mongoose_1.default.Schema({
|
|
|
81
81
|
}],
|
|
82
82
|
instances: [BorrowerComplianceInstanceSchema]
|
|
83
83
|
}, { timestamps: true });
|
|
84
|
-
|
|
84
|
+
exports.BorrowerComplianceSchema = new mongoose_1.default.Schema({
|
|
85
85
|
isVisible: {
|
|
86
86
|
type: Boolean,
|
|
87
87
|
},
|
|
@@ -187,5 +187,5 @@ const BorrowerComplianceSchema = new mongoose_1.default.Schema({
|
|
|
187
187
|
items: [BorrowerComplianceItemSchema],
|
|
188
188
|
__v: { type: Number, select: false },
|
|
189
189
|
}, { timestamps: true });
|
|
190
|
-
BorrowerComplianceSchema.plugin(mongooseLeanId);
|
|
191
|
-
exports.BorrowerCompliance = mongoose_1.default.model(_models_1.MODEL_NAMES.complianceBorrowers, BorrowerComplianceSchema);
|
|
190
|
+
exports.BorrowerComplianceSchema.plugin(mongooseLeanId);
|
|
191
|
+
exports.BorrowerCompliance = mongoose_1.default.model(_models_1.MODEL_NAMES.complianceBorrowers, exports.BorrowerComplianceSchema);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import mongoose, { Document } from 'mongoose';
|
|
2
2
|
|
|
3
|
+
import { MODEL_NAMES } from './_models';
|
|
3
4
|
import {
|
|
4
5
|
IBorrowerItemDocument,
|
|
5
6
|
IEmailRecipient,
|
|
6
7
|
} from './ComplianceItem.model';
|
|
7
|
-
import { MODEL_NAMES } from './_models';
|
|
8
8
|
|
|
9
9
|
const mongooseLeanId = require('../plugins/id.plugin');
|
|
10
10
|
|
|
@@ -110,7 +110,7 @@ const BorrowerComplianceItemSchema = new mongoose.Schema({
|
|
|
110
110
|
instances: [BorrowerComplianceInstanceSchema]
|
|
111
111
|
}, { timestamps: true });
|
|
112
112
|
|
|
113
|
-
const BorrowerComplianceSchema = new mongoose.Schema(
|
|
113
|
+
export const BorrowerComplianceSchema = new mongoose.Schema(
|
|
114
114
|
{
|
|
115
115
|
isVisible: {
|
|
116
116
|
type: Boolean,
|
|
@@ -34,17 +34,17 @@ export declare const BorrowerDataOptionSchema: mongoose.Schema<any, mongoose.Mod
|
|
|
34
34
|
timestamps: false;
|
|
35
35
|
versionKey: false;
|
|
36
36
|
}, {
|
|
37
|
-
order: number;
|
|
38
37
|
type: string;
|
|
39
38
|
name: string;
|
|
40
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
41
39
|
order: number;
|
|
40
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
42
41
|
type: string;
|
|
43
42
|
name: string;
|
|
44
|
-
}>> & mongoose.FlatRecord<{
|
|
45
43
|
order: number;
|
|
44
|
+
}>> & mongoose.FlatRecord<{
|
|
46
45
|
type: string;
|
|
47
46
|
name: string;
|
|
47
|
+
order: number;
|
|
48
48
|
}> & {
|
|
49
49
|
_id: mongoose.Types.ObjectId;
|
|
50
50
|
}>;
|
|
@@ -62,14 +62,14 @@ export declare const BorrowerDataSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
62
62
|
timestamps: false;
|
|
63
63
|
versionKey: false;
|
|
64
64
|
}, {
|
|
65
|
-
dataValue: any;
|
|
66
65
|
dataOption: mongoose.Types.ObjectId;
|
|
67
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
68
66
|
dataValue: any;
|
|
67
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
69
68
|
dataOption: mongoose.Types.ObjectId;
|
|
70
|
-
}>> & mongoose.FlatRecord<{
|
|
71
69
|
dataValue: any;
|
|
70
|
+
}>> & mongoose.FlatRecord<{
|
|
72
71
|
dataOption: mongoose.Types.ObjectId;
|
|
72
|
+
dataValue: any;
|
|
73
73
|
}> & {
|
|
74
74
|
_id: mongoose.Types.ObjectId;
|
|
75
75
|
}>;
|
|
@@ -38,21 +38,21 @@ export declare const BorrowerDataInsuranceSchema: mongoose.Schema<any, mongoose.
|
|
|
38
38
|
}, {
|
|
39
39
|
type: string;
|
|
40
40
|
coverageAmount: number;
|
|
41
|
+
policyDates?: string;
|
|
41
42
|
company?: string;
|
|
42
43
|
notes?: string;
|
|
43
|
-
policyDates?: string;
|
|
44
44
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
45
45
|
type: string;
|
|
46
46
|
coverageAmount: number;
|
|
47
|
+
policyDates?: string;
|
|
47
48
|
company?: string;
|
|
48
49
|
notes?: string;
|
|
49
|
-
policyDates?: string;
|
|
50
50
|
}>> & mongoose.FlatRecord<{
|
|
51
51
|
type: string;
|
|
52
52
|
coverageAmount: number;
|
|
53
|
+
policyDates?: string;
|
|
53
54
|
company?: string;
|
|
54
55
|
notes?: string;
|
|
55
|
-
policyDates?: string;
|
|
56
56
|
}> & {
|
|
57
57
|
_id: mongoose.Types.ObjectId;
|
|
58
58
|
}>;
|