gemcap-be-common 1.3.3 → 1.3.5
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/db/new-summary.js +1 -4
- package/db/new-summary.ts +1 -5
- 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/models/UserLog.model.js
CHANGED
|
@@ -61,4 +61,4 @@ exports.UserLogSchema = new mongoose_1.default.Schema({
|
|
|
61
61
|
}, {
|
|
62
62
|
timestamps: { createdAt: true, updatedAt: false },
|
|
63
63
|
});
|
|
64
|
-
exports.UserLog = mongoose_1.default.model(
|
|
64
|
+
exports.UserLog = mongoose_1.default.model(_models_1.MODEL_NAMES.userLogs, exports.UserLogSchema);
|
package/models/UserLog.model.ts
CHANGED
|
@@ -78,4 +78,4 @@ export const UserLogSchema = new mongoose.Schema<IUserLog, UserLogModel>(
|
|
|
78
78
|
},
|
|
79
79
|
);
|
|
80
80
|
|
|
81
|
-
export const UserLog = mongoose.model<IUserLog, UserLogModel>(
|
|
81
|
+
export const UserLog = mongoose.model<IUserLog, UserLogModel>(MODEL_NAMES.userLogs, UserLogSchema);
|
|
@@ -30,5 +30,8 @@ export interface IUserMobileAccess {
|
|
|
30
30
|
canSignDocument: boolean;
|
|
31
31
|
}
|
|
32
32
|
type UserMobileAccessModel = Model<IUserMobileAccess, {}, {}>;
|
|
33
|
+
export declare const UserMobileAccessSchema: mongoose.Schema<IUserMobileAccess, UserMobileAccessModel, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, IUserMobileAccess, mongoose.Document<unknown, {}, mongoose.FlatRecord<IUserMobileAccess>> & mongoose.FlatRecord<IUserMobileAccess> & Required<{
|
|
34
|
+
_id: mongoose.Types.ObjectId;
|
|
35
|
+
}>>;
|
|
33
36
|
export declare const UserMobileAccess: UserMobileAccessModel;
|
|
34
37
|
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.UserMobileAccess = void 0;
|
|
6
|
+
exports.UserMobileAccess = exports.UserMobileAccessSchema = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const _models_1 = require("./_models");
|
|
9
|
-
|
|
9
|
+
exports.UserMobileAccessSchema = new mongoose_1.default.Schema({
|
|
10
10
|
keycloakUserId: {
|
|
11
11
|
type: String,
|
|
12
12
|
trim: true,
|
|
@@ -23,4 +23,4 @@ const UserMobileAccessSchema = new mongoose_1.default.Schema({
|
|
|
23
23
|
}, {
|
|
24
24
|
timestamps: { createdAt: true, updatedAt: false },
|
|
25
25
|
});
|
|
26
|
-
exports.UserMobileAccess = mongoose_1.default.model(_models_1.MODEL_NAMES.userMobileAccess, UserMobileAccessSchema);
|
|
26
|
+
exports.UserMobileAccess = mongoose_1.default.model(_models_1.MODEL_NAMES.userMobileAccess, exports.UserMobileAccessSchema);
|
|
@@ -11,7 +11,7 @@ export interface IUserMobileAccess {
|
|
|
11
11
|
|
|
12
12
|
type UserMobileAccessModel = Model<IUserMobileAccess, {}, {}>;
|
|
13
13
|
|
|
14
|
-
const UserMobileAccessSchema = new mongoose.Schema<IUserMobileAccess, UserMobileAccessModel>(
|
|
14
|
+
export const UserMobileAccessSchema = new mongoose.Schema<IUserMobileAccess, UserMobileAccessModel>(
|
|
15
15
|
{
|
|
16
16
|
keycloakUserId: {
|
|
17
17
|
type: String,
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose" />
|
|
25
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
+
export declare const allSchemas: {
|
|
27
|
+
name: string;
|
|
28
|
+
schema: import("mongoose").Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
29
|
+
timestamps: true;
|
|
30
|
+
}, {
|
|
31
|
+
createdAt: NativeDate;
|
|
32
|
+
updatedAt: NativeDate;
|
|
33
|
+
} & {
|
|
34
|
+
bbcSheetId: import("mongoose").Types.ObjectId;
|
|
35
|
+
order: number;
|
|
36
|
+
apDate: Date;
|
|
37
|
+
amount: number;
|
|
38
|
+
__v?: number;
|
|
39
|
+
poNumber?: string;
|
|
40
|
+
customerName?: string;
|
|
41
|
+
otherInformation1?: string;
|
|
42
|
+
otherInformation2?: string;
|
|
43
|
+
otherInformation3?: string;
|
|
44
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
45
|
+
createdAt: NativeDate;
|
|
46
|
+
updatedAt: NativeDate;
|
|
47
|
+
} & {
|
|
48
|
+
bbcSheetId: import("mongoose").Types.ObjectId;
|
|
49
|
+
order: number;
|
|
50
|
+
apDate: Date;
|
|
51
|
+
amount: number;
|
|
52
|
+
__v?: number;
|
|
53
|
+
poNumber?: string;
|
|
54
|
+
customerName?: string;
|
|
55
|
+
otherInformation1?: string;
|
|
56
|
+
otherInformation2?: string;
|
|
57
|
+
otherInformation3?: string;
|
|
58
|
+
}>> & import("mongoose").FlatRecord<{
|
|
59
|
+
createdAt: NativeDate;
|
|
60
|
+
updatedAt: NativeDate;
|
|
61
|
+
} & {
|
|
62
|
+
bbcSheetId: import("mongoose").Types.ObjectId;
|
|
63
|
+
order: number;
|
|
64
|
+
apDate: Date;
|
|
65
|
+
amount: number;
|
|
66
|
+
__v?: number;
|
|
67
|
+
poNumber?: string;
|
|
68
|
+
customerName?: string;
|
|
69
|
+
otherInformation1?: string;
|
|
70
|
+
otherInformation2?: string;
|
|
71
|
+
otherInformation3?: string;
|
|
72
|
+
}> & {
|
|
73
|
+
_id: import("mongoose").Types.ObjectId;
|
|
74
|
+
}>;
|
|
75
|
+
}[];
|
package/models/_index.js
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.allSchemas = void 0;
|
|
4
|
+
const _models_1 = require("./_models");
|
|
5
|
+
const AccountPayableItem_model_1 = require("./AccountPayableItem.model");
|
|
6
|
+
const AllocatedBankTransaction_model_1 = require("./AllocatedBankTransaction.model");
|
|
7
|
+
const AllocatedData_model_1 = require("./AllocatedData.model");
|
|
8
|
+
const AvailabilitySigns_model_1 = require("./AvailabilitySigns.model");
|
|
9
|
+
const AvilabilitySignedData_model_1 = require("./AvilabilitySignedData.model");
|
|
10
|
+
const Banks_model_1 = require("./Banks.model");
|
|
11
|
+
const BBCDate_model_1 = require("./BBCDate.model");
|
|
12
|
+
const BBCSheet_model_1 = require("./BBCSheet.model");
|
|
13
|
+
const Borrower_model_1 = require("./Borrower.model");
|
|
14
|
+
const BorrowerCompliance_model_1 = require("./BorrowerCompliance.model");
|
|
15
|
+
const BorrowerData_model_1 = require("./BorrowerData.model");
|
|
16
|
+
const BorrowerDataBank_model_1 = require("./BorrowerDataBank.model");
|
|
17
|
+
const BorrowerDataBootCollateral_model_1 = require("./BorrowerDataBootCollateral.model");
|
|
18
|
+
const BorrowerDataContact_model_1 = require("./BorrowerDataContact.model");
|
|
19
|
+
const BorrowerDataGuarantee_model_1 = require("./BorrowerDataGuarantee.model");
|
|
20
|
+
const BorrowerDataInsurance_model_1 = require("./BorrowerDataInsurance.model");
|
|
21
|
+
const BorrowerDataInventory_model_1 = require("./BorrowerDataInventory.model");
|
|
22
|
+
const BorrowerDataLocation_model_1 = require("./BorrowerDataLocation.model");
|
|
23
|
+
const BorrowerDataReceivable_model_1 = require("./BorrowerDataReceivable.model");
|
|
24
|
+
const BorrowerDataTerm_model_1 = require("./BorrowerDataTerm.model");
|
|
25
|
+
const BorrowerSettings_model_1 = require("./BorrowerSettings.model");
|
|
26
|
+
const BorrowerSummary_model_1 = require("./BorrowerSummary.model");
|
|
27
|
+
const CalandarDay_model_1 = require("./CalandarDay.model");
|
|
28
|
+
const CashAllocationProduct_model_1 = require("./CashAllocationProduct.model");
|
|
29
|
+
const CashAllocationReference_model_1 = require("./CashAllocationReference.model");
|
|
30
|
+
const CollateralAdjustment_model_1 = require("./CollateralAdjustment.model");
|
|
31
|
+
const Company_model_1 = require("./Company.model");
|
|
32
|
+
const ComplianceItem_model_1 = require("./ComplianceItem.model");
|
|
33
|
+
const CustomerAPGroup_model_1 = require("./CustomerAPGroup.model");
|
|
34
|
+
const CustomerGroup_model_1 = require("./CustomerGroup.model");
|
|
35
|
+
const DeletedRecords_model_1 = require("./DeletedRecords.model");
|
|
36
|
+
const Equipment_model_1 = require("./Equipment.model");
|
|
37
|
+
const FinancialCompliance_model_1 = require("./FinancialCompliance.model");
|
|
38
|
+
const FinancialComplianceBorrower_model_1 = require("./FinancialComplianceBorrower.model");
|
|
39
|
+
const FinancialIndexes_model_1 = require("./FinancialIndexes.model");
|
|
40
|
+
const FinancialSpreading_model_1 = require("./FinancialSpreading.model");
|
|
41
|
+
const FinancialSpreadingSheet_model_1 = require("./FinancialSpreadingSheet.model");
|
|
42
|
+
const Globals_model_1 = require("./Globals.model");
|
|
43
|
+
const Inventory_model_1 = require("./Inventory.model");
|
|
44
|
+
const InventoryAvailability_model_1 = require("./InventoryAvailability.model");
|
|
45
|
+
const InventoryAvailabilityItem_model_1 = require("./InventoryAvailabilityItem.model");
|
|
46
|
+
const InventoryItem_model_1 = require("./InventoryItem.model");
|
|
47
|
+
const InventoryManualEntry_model_1 = require("./InventoryManualEntry.model");
|
|
48
|
+
const InventorySeasonalRates_model_1 = require("./InventorySeasonalRates.model");
|
|
49
|
+
const LoanBroker_model_1 = require("./LoanBroker.model");
|
|
50
|
+
const LoanCharges_model_1 = require("./LoanCharges.model");
|
|
51
|
+
const LoanPayment_model_1 = require("./LoanPayment.model");
|
|
52
|
+
const LoanProducts_model_1 = require("./LoanProducts.model");
|
|
53
|
+
const LoanStatementStatus_model_1 = require("./LoanStatementStatus.model");
|
|
54
|
+
const LoanStatementTransaction_model_1 = require("./LoanStatementTransaction.model");
|
|
55
|
+
const LoanTransaction_model_1 = require("./LoanTransaction.model");
|
|
56
|
+
const LoanTransactionFile_model_1 = require("./LoanTransactionFile.model");
|
|
57
|
+
const MappedGroup_model_1 = require("./MappedGroup.model");
|
|
58
|
+
const MicroserviceTask_model_1 = require("./MicroserviceTask.model");
|
|
59
|
+
const MonthEndData_Model_1 = require("./MonthEndData.Model");
|
|
60
|
+
const Organization_model_1 = require("./Organization.model");
|
|
61
|
+
const OrganizationEmails_model_1 = require("./OrganizationEmails.model");
|
|
62
|
+
const PostponedTransactions_model_1 = require("./PostponedTransactions.model");
|
|
63
|
+
const ProductBroker_model_1 = require("./ProductBroker.model");
|
|
64
|
+
const ProspectIndustry_model_1 = require("./ProspectIndustry.model");
|
|
65
|
+
const QueryResult_model_1 = require("./QueryResult.model");
|
|
66
|
+
const QuickbooksAccount_model_1 = require("./QuickbooksAccount.model");
|
|
67
|
+
const Receivable_model_1 = require("./Receivable.model");
|
|
68
|
+
const ReceivableAvailability_model_1 = require("./ReceivableAvailability.model");
|
|
69
|
+
const ReceivableAvailabilityItem_model_1 = require("./ReceivableAvailabilityItem.model");
|
|
70
|
+
const ReceivableAvailabilityManualSummary_model_1 = require("./ReceivableAvailabilityManualSummary.model");
|
|
71
|
+
const ReceivableItem_model_1 = require("./ReceivableItem.model");
|
|
72
|
+
const Reserve_model_1 = require("./Reserve.model");
|
|
73
|
+
const TermLoan_model_1 = require("./TermLoan.model");
|
|
74
|
+
const TermLoanCalculated_model_1 = require("./TermLoanCalculated.model");
|
|
75
|
+
const TermLoanSettings_model_1 = require("./TermLoanSettings.model");
|
|
76
|
+
const TransactionAttachedFile_Model_1 = require("./TransactionAttachedFile.Model");
|
|
77
|
+
const UploadedBankTransaction_model_1 = require("./UploadedBankTransaction.model");
|
|
78
|
+
const UploadedData_model_1 = require("./UploadedData.model");
|
|
79
|
+
const UploadedFile_model_1 = require("./UploadedFile.model");
|
|
80
|
+
const UploadedSheet_model_1 = require("./UploadedSheet.model");
|
|
81
|
+
const User_model_1 = require("./User.model");
|
|
82
|
+
const UserLog_model_1 = require("./UserLog.model");
|
|
83
|
+
const UserMobileAccess_model_1 = require("./UserMobileAccess.model");
|
|
84
|
+
const Yield_model_1 = require("./Yield.model");
|
|
85
|
+
exports.allSchemas = [
|
|
86
|
+
{ name: _models_1.MODEL_NAMES.accountPayableItem, schema: AccountPayableItem_model_1.AccountPayableItemSchema },
|
|
87
|
+
{ name: _models_1.MODEL_NAMES.allocatedBankTransactions, schema: AllocatedBankTransaction_model_1.AllocatedBankTransactionSchema },
|
|
88
|
+
{ name: _models_1.MODEL_NAMES.allocatedData, schema: AllocatedData_model_1.AllocatedDataSchema },
|
|
89
|
+
{ name: _models_1.MODEL_NAMES.availabilitySign, schema: AvailabilitySigns_model_1.IAvailabilitySignSchema },
|
|
90
|
+
{ name: _models_1.MODEL_NAMES.availabilitySignedData, schema: AvilabilitySignedData_model_1.AvailabilitySignedDataSchema },
|
|
91
|
+
{ name: _models_1.MODEL_NAMES.banks, schema: Banks_model_1.BankSchema },
|
|
92
|
+
{ name: _models_1.MODEL_NAMES.BBCDates, schema: BBCDate_model_1.BBCDateSchema },
|
|
93
|
+
{ name: _models_1.MODEL_NAMES.BBCSheets, schema: BBCSheet_model_1.BBCSheetSchema },
|
|
94
|
+
{ name: _models_1.MODEL_NAMES.borrowers, schema: Borrower_model_1.BorrowerSchema },
|
|
95
|
+
{ name: _models_1.MODEL_NAMES.complianceBorrowers, schema: BorrowerCompliance_model_1.BorrowerComplianceSchema },
|
|
96
|
+
{ name: _models_1.MODEL_NAMES.borrowerData, schema: BorrowerData_model_1.BorrowerDataSchema },
|
|
97
|
+
{ name: _models_1.MODEL_NAMES.borrowerDataBanks, schema: BorrowerDataBank_model_1.BorrowerDataBankSchema },
|
|
98
|
+
{ name: _models_1.MODEL_NAMES.borrowerDataBootCollaterals, schema: BorrowerDataBootCollateral_model_1.BorrowerDataBottCollateralSchema },
|
|
99
|
+
{ name: _models_1.MODEL_NAMES.borrowerDataContacts, schema: BorrowerDataContact_model_1.BorrowerDataContactSchema },
|
|
100
|
+
{ name: _models_1.MODEL_NAMES.borrowerDataGuarantees, schema: BorrowerDataGuarantee_model_1.BorrowerDataGuaranteeSchema },
|
|
101
|
+
{ name: _models_1.MODEL_NAMES.borrowerDataInsurances, schema: BorrowerDataInsurance_model_1.BorrowerDataInsuranceSchema },
|
|
102
|
+
{ name: _models_1.MODEL_NAMES.borrowerDataInventories, schema: BorrowerDataInventory_model_1.BorrowerDataInventorySchema },
|
|
103
|
+
{ name: _models_1.MODEL_NAMES.borrowerDataLocations, schema: BorrowerDataLocation_model_1.BorrowerDataLocationSchema },
|
|
104
|
+
{ name: _models_1.MODEL_NAMES.borrowerDataReceivables, schema: BorrowerDataReceivable_model_1.BorrowerDataReceivableSchema },
|
|
105
|
+
{ name: _models_1.MODEL_NAMES.borrowerDataTerms, schema: BorrowerDataTerm_model_1.BorrowerDataTermSchema },
|
|
106
|
+
{ name: _models_1.MODEL_NAMES.borrowerSettings, schema: BorrowerSettings_model_1.BorrowerSettingsSchema },
|
|
107
|
+
{ name: _models_1.MODEL_NAMES.borrowerSummaries, schema: BorrowerSummary_model_1.BorrowerSummarySchema },
|
|
108
|
+
{ name: _models_1.MODEL_NAMES.calendarDays, schema: CalandarDay_model_1.CalendarDaySchema },
|
|
109
|
+
{ name: _models_1.MODEL_NAMES.cashAllocationProducts, schema: CashAllocationProduct_model_1.CashAllocationProductSchema },
|
|
110
|
+
{ name: _models_1.MODEL_NAMES.cashAllocationReferences, schema: CashAllocationReference_model_1.CashAllocationReferenceSchema },
|
|
111
|
+
{ name: _models_1.MODEL_NAMES.collateralAdjustments, schema: CollateralAdjustment_model_1.CollateralAdjustmentSchema },
|
|
112
|
+
{ name: _models_1.MODEL_NAMES.companies, schema: Company_model_1.CompanySchema },
|
|
113
|
+
{ name: _models_1.MODEL_NAMES.complianceItems, schema: ComplianceItem_model_1.ComplianceItemSchema },
|
|
114
|
+
{ name: _models_1.MODEL_NAMES.customerAPGroups, schema: CustomerAPGroup_model_1.CustomerAPGroupSchema },
|
|
115
|
+
{ name: _models_1.MODEL_NAMES.customerGroups, schema: CustomerGroup_model_1.CustomerGroupSchema },
|
|
116
|
+
{ name: _models_1.MODEL_NAMES.deletedRecords, schema: DeletedRecords_model_1.DeletedRecordSchema },
|
|
117
|
+
{ name: _models_1.MODEL_NAMES.equipment, schema: Equipment_model_1.EquipmentSchema },
|
|
118
|
+
{ name: _models_1.MODEL_NAMES.financialComplianceSettings, schema: FinancialCompliance_model_1.FinancialComplianceSettingsSchema },
|
|
119
|
+
{ name: _models_1.MODEL_NAMES.financialComplianceBorrowers, schema: FinancialComplianceBorrower_model_1.FinancialComplianceBorrowerSchema },
|
|
120
|
+
{ name: _models_1.MODEL_NAMES.financialIndexes, schema: FinancialIndexes_model_1.FinancialIndexSchema },
|
|
121
|
+
{ name: _models_1.MODEL_NAMES.financialSpreading, schema: FinancialSpreading_model_1.FinancialSpreadingSchema },
|
|
122
|
+
{ name: _models_1.MODEL_NAMES.financialSpreadingSheets, schema: FinancialSpreadingSheet_model_1.FinancialSpreadingSheetSchema },
|
|
123
|
+
{ name: _models_1.MODEL_NAMES.globals, schema: Globals_model_1.GlobalsSchema },
|
|
124
|
+
{ name: _models_1.MODEL_NAMES.inventories, schema: Inventory_model_1.InventorySchema },
|
|
125
|
+
{ name: _models_1.MODEL_NAMES.inventoryAvailability, schema: InventoryAvailability_model_1.InventoryAvailabilityScheme },
|
|
126
|
+
{ name: _models_1.MODEL_NAMES.inventoryAvailabilityItem, schema: InventoryAvailabilityItem_model_1.InventoryAvailabilityItemScheme },
|
|
127
|
+
{ name: _models_1.MODEL_NAMES.inventoryItem, schema: InventoryItem_model_1.InventoryItemSchema },
|
|
128
|
+
{ name: _models_1.MODEL_NAMES.inventoryManualEntries, schema: InventoryManualEntry_model_1.InventoryManualEntrySchema },
|
|
129
|
+
{ name: _models_1.MODEL_NAMES.inventorySeasonalRates, schema: InventorySeasonalRates_model_1.InventorySeasonalEntrySchema },
|
|
130
|
+
{ name: _models_1.MODEL_NAMES.loanBrokers, schema: LoanBroker_model_1.LoanBrokerSchema },
|
|
131
|
+
{ name: _models_1.MODEL_NAMES.loanCharges, schema: LoanCharges_model_1.LoanChargeSchema },
|
|
132
|
+
{ name: _models_1.MODEL_NAMES.loanPayments, schema: LoanPayment_model_1.LoanPaymentSchema },
|
|
133
|
+
{ name: _models_1.MODEL_NAMES.loanProducts, schema: LoanProducts_model_1.LoanProductSchema },
|
|
134
|
+
{ name: _models_1.MODEL_NAMES.loanStatementStatus, schema: LoanStatementStatus_model_1.LoanStatementStatusSchema },
|
|
135
|
+
{ name: _models_1.MODEL_NAMES.loanStatements, schema: LoanStatementTransaction_model_1.LoanStatementSchema },
|
|
136
|
+
{ name: _models_1.MODEL_NAMES.loanTransactions, schema: LoanTransaction_model_1.LoanTransactionSchema },
|
|
137
|
+
{ name: _models_1.MODEL_NAMES.loanTransactionsFiles, schema: LoanTransactionFile_model_1.LoanTransactionFileSchema },
|
|
138
|
+
{ name: _models_1.MODEL_NAMES.mappedGroups, schema: MappedGroup_model_1.MappedGroupSchema },
|
|
139
|
+
{ name: _models_1.MODEL_NAMES.microserviceTasks, schema: MicroserviceTask_model_1.MicroserviceTaskSchema },
|
|
140
|
+
{ name: _models_1.MODEL_NAMES.monthEndData, schema: MonthEndData_Model_1.MonthEndDataSchema },
|
|
141
|
+
{ name: _models_1.MODEL_NAMES.organizations, schema: Organization_model_1.OrganizationSchema },
|
|
142
|
+
{ name: _models_1.MODEL_NAMES.organizationEmails, schema: OrganizationEmails_model_1.OrganizationEmailModelSchema },
|
|
143
|
+
{ name: _models_1.MODEL_NAMES.postponedTransactions, schema: PostponedTransactions_model_1.PostponedTransactionSchema },
|
|
144
|
+
{ name: _models_1.MODEL_NAMES.productBrokers, schema: ProductBroker_model_1.ProductBrokerSchema },
|
|
145
|
+
{ name: _models_1.MODEL_NAMES.CRMProspectIndustries, schema: ProspectIndustry_model_1.CRMProspectIndustrySchema },
|
|
146
|
+
{ name: _models_1.MODEL_NAMES.queryResult, schema: QueryResult_model_1.QueryResultSchema },
|
|
147
|
+
{ name: _models_1.MODEL_NAMES.quickbooksAccounts, schema: QuickbooksAccount_model_1.QuickbooksAccountSchema },
|
|
148
|
+
{ name: _models_1.MODEL_NAMES.receivables, schema: Receivable_model_1.ReceivableSchema },
|
|
149
|
+
{ name: _models_1.MODEL_NAMES.ARAvailabilities, schema: ReceivableAvailability_model_1.AvailabilitySchema },
|
|
150
|
+
{ name: _models_1.MODEL_NAMES.ARAvailabilityItems, schema: ReceivableAvailabilityItem_model_1.ReceivableAvailabilityItemSchema },
|
|
151
|
+
{ name: _models_1.MODEL_NAMES.receivableAvailabilityManualSummary, schema: ReceivableAvailabilityManualSummary_model_1.ReceivableAvailabilityManualSummarySchema },
|
|
152
|
+
{ name: _models_1.MODEL_NAMES.receivableItems, schema: ReceivableItem_model_1.ReceivableItemSchema },
|
|
153
|
+
{ name: _models_1.MODEL_NAMES.reserves, schema: Reserve_model_1.ReserveSchema },
|
|
154
|
+
{ name: _models_1.MODEL_NAMES.termLoan, schema: TermLoan_model_1.TermLoanSchema },
|
|
155
|
+
{ name: _models_1.MODEL_NAMES.termLoanCalculated, schema: TermLoanCalculated_model_1.TermLoanCalculatedSchema },
|
|
156
|
+
{ name: _models_1.MODEL_NAMES.termLoanSettings, schema: TermLoanSettings_model_1.TermLoanSettingsSchema },
|
|
157
|
+
{ name: _models_1.MODEL_NAMES.transactionAttachedFiles, schema: TransactionAttachedFile_Model_1.TransactionAttachedFileSchema },
|
|
158
|
+
{ name: _models_1.MODEL_NAMES.uploadedBankTransactions, schema: UploadedBankTransaction_model_1.UploadedBankTransactionSchema },
|
|
159
|
+
{ name: _models_1.MODEL_NAMES.uploadedData, schema: UploadedData_model_1.UploadedDataSchema },
|
|
160
|
+
{ name: _models_1.MODEL_NAMES.uploadedFile, schema: UploadedFile_model_1.UploadedFileSchema },
|
|
161
|
+
{ name: _models_1.MODEL_NAMES.uploadedSheets, schema: UploadedSheet_model_1.UploadedSheetSchema },
|
|
162
|
+
{ name: _models_1.MODEL_NAMES.users, schema: User_model_1.UserSchema },
|
|
163
|
+
{ name: _models_1.MODEL_NAMES.userLogs, schema: UserLog_model_1.UserLogSchema },
|
|
164
|
+
{ name: _models_1.MODEL_NAMES.userMobileAccess, schema: UserMobileAccess_model_1.UserMobileAccessSchema },
|
|
165
|
+
{ name: _models_1.MODEL_NAMES.yieldData, schema: Yield_model_1.YieldDataSchema },
|
|
166
|
+
];
|
package/models/_index.ts
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { MODEL_NAMES } from './_models';
|
|
2
|
+
import { AccountPayableItemSchema } from './AccountPayableItem.model';
|
|
3
|
+
import { AllocatedBankTransactionSchema } from './AllocatedBankTransaction.model';
|
|
4
|
+
import { AllocatedDataSchema } from './AllocatedData.model';
|
|
5
|
+
import { IAvailabilitySignSchema } from './AvailabilitySigns.model';
|
|
6
|
+
import { AvailabilitySignedDataSchema } from './AvilabilitySignedData.model';
|
|
7
|
+
import { BankSchema } from './Banks.model';
|
|
8
|
+
import { BBCDateSchema } from './BBCDate.model';
|
|
9
|
+
import { BBCSheetSchema } from './BBCSheet.model';
|
|
10
|
+
import { BorrowerSchema } from './Borrower.model';
|
|
11
|
+
import { BorrowerComplianceSchema } from './BorrowerCompliance.model';
|
|
12
|
+
import { BorrowerDataSchema } from './BorrowerData.model';
|
|
13
|
+
import { BorrowerDataBankSchema } from './BorrowerDataBank.model';
|
|
14
|
+
import { BorrowerDataBottCollateralSchema } from './BorrowerDataBootCollateral.model';
|
|
15
|
+
import { BorrowerDataContactSchema } from './BorrowerDataContact.model';
|
|
16
|
+
import { BorrowerDataGuaranteeSchema } from './BorrowerDataGuarantee.model';
|
|
17
|
+
import { BorrowerDataInsuranceSchema } from './BorrowerDataInsurance.model';
|
|
18
|
+
import { BorrowerDataInventorySchema } from './BorrowerDataInventory.model';
|
|
19
|
+
import { BorrowerDataLocationSchema } from './BorrowerDataLocation.model';
|
|
20
|
+
import { BorrowerDataReceivableSchema } from './BorrowerDataReceivable.model';
|
|
21
|
+
import { BorrowerDataTermSchema } from './BorrowerDataTerm.model';
|
|
22
|
+
import { BorrowerSettingsSchema } from './BorrowerSettings.model';
|
|
23
|
+
import { BorrowerSummarySchema } from './BorrowerSummary.model';
|
|
24
|
+
import { CalendarDaySchema } from './CalandarDay.model';
|
|
25
|
+
import { CashAllocationProductSchema } from './CashAllocationProduct.model';
|
|
26
|
+
import { CashAllocationReferenceSchema } from './CashAllocationReference.model';
|
|
27
|
+
import { CollateralAdjustmentSchema } from './CollateralAdjustment.model';
|
|
28
|
+
import { CompanySchema } from './Company.model';
|
|
29
|
+
import { ComplianceItemSchema } from './ComplianceItem.model';
|
|
30
|
+
import { CustomerAPGroupSchema } from './CustomerAPGroup.model';
|
|
31
|
+
import { CustomerGroupSchema } from './CustomerGroup.model';
|
|
32
|
+
import { DeletedRecordSchema } from './DeletedRecords.model';
|
|
33
|
+
import { EquipmentSchema } from './Equipment.model';
|
|
34
|
+
import { FinancialComplianceSettingsSchema } from './FinancialCompliance.model';
|
|
35
|
+
import { FinancialComplianceBorrowerSchema } from './FinancialComplianceBorrower.model';
|
|
36
|
+
import { FinancialIndexSchema } from './FinancialIndexes.model';
|
|
37
|
+
import { FinancialSpreadingSchema } from './FinancialSpreading.model';
|
|
38
|
+
import { FinancialSpreadingSheetSchema } from './FinancialSpreadingSheet.model';
|
|
39
|
+
import { GlobalsSchema } from './Globals.model';
|
|
40
|
+
import { InventorySchema } from './Inventory.model';
|
|
41
|
+
import { InventoryAvailabilityScheme } from './InventoryAvailability.model';
|
|
42
|
+
import { InventoryAvailabilityItemScheme } from './InventoryAvailabilityItem.model';
|
|
43
|
+
import { InventoryItemSchema } from './InventoryItem.model';
|
|
44
|
+
import { InventoryManualEntrySchema } from './InventoryManualEntry.model';
|
|
45
|
+
import { InventorySeasonalEntrySchema } from './InventorySeasonalRates.model';
|
|
46
|
+
import { LoanBrokerSchema } from './LoanBroker.model';
|
|
47
|
+
import { LoanChargeSchema } from './LoanCharges.model';
|
|
48
|
+
import { LoanPaymentSchema } from './LoanPayment.model';
|
|
49
|
+
import { LoanProductSchema } from './LoanProducts.model';
|
|
50
|
+
import { LoanStatementStatusSchema } from './LoanStatementStatus.model';
|
|
51
|
+
import { LoanStatementSchema } from './LoanStatementTransaction.model';
|
|
52
|
+
import { LoanTransactionSchema } from './LoanTransaction.model';
|
|
53
|
+
import { LoanTransactionFileSchema } from './LoanTransactionFile.model';
|
|
54
|
+
import { MappedGroupSchema } from './MappedGroup.model';
|
|
55
|
+
import { MicroserviceTaskSchema } from './MicroserviceTask.model';
|
|
56
|
+
import { MonthEndDataSchema } from './MonthEndData.Model';
|
|
57
|
+
import { OrganizationSchema } from './Organization.model';
|
|
58
|
+
import { OrganizationEmailModelSchema } from './OrganizationEmails.model';
|
|
59
|
+
import { PostponedTransactionSchema } from './PostponedTransactions.model';
|
|
60
|
+
import { ProductBrokerSchema } from './ProductBroker.model';
|
|
61
|
+
import { CRMProspectIndustrySchema } from './ProspectIndustry.model';
|
|
62
|
+
import { QueryResultSchema } from './QueryResult.model';
|
|
63
|
+
import { QuickbooksAccountSchema } from './QuickbooksAccount.model';
|
|
64
|
+
import { ReceivableSchema } from './Receivable.model';
|
|
65
|
+
import { AvailabilitySchema } from './ReceivableAvailability.model';
|
|
66
|
+
import { ReceivableAvailabilityItemSchema } from './ReceivableAvailabilityItem.model';
|
|
67
|
+
import { ReceivableAvailabilityManualSummarySchema } from './ReceivableAvailabilityManualSummary.model';
|
|
68
|
+
import { ReceivableItemSchema } from './ReceivableItem.model';
|
|
69
|
+
import { ReserveSchema } from './Reserve.model';
|
|
70
|
+
import { TermLoanSchema } from './TermLoan.model';
|
|
71
|
+
import { TermLoanCalculatedSchema } from './TermLoanCalculated.model';
|
|
72
|
+
import { TermLoanSettingsSchema } from './TermLoanSettings.model';
|
|
73
|
+
import { TransactionAttachedFileSchema } from './TransactionAttachedFile.Model';
|
|
74
|
+
import { UploadedBankTransactionSchema } from './UploadedBankTransaction.model';
|
|
75
|
+
import { UploadedDataSchema } from './UploadedData.model';
|
|
76
|
+
import { UploadedFileSchema } from './UploadedFile.model';
|
|
77
|
+
import { UploadedSheetSchema } from './UploadedSheet.model';
|
|
78
|
+
import { UserSchema } from './User.model';
|
|
79
|
+
import { UserLogSchema } from './UserLog.model';
|
|
80
|
+
import { UserMobileAccessSchema } from './UserMobileAccess.model';
|
|
81
|
+
import { YieldDataSchema } from './Yield.model';
|
|
82
|
+
|
|
83
|
+
export const allSchemas = [
|
|
84
|
+
{ name: MODEL_NAMES.accountPayableItem, schema: AccountPayableItemSchema },
|
|
85
|
+
{ name: MODEL_NAMES.allocatedBankTransactions, schema: AllocatedBankTransactionSchema },
|
|
86
|
+
{ name: MODEL_NAMES.allocatedData, schema: AllocatedDataSchema },
|
|
87
|
+
{ name: MODEL_NAMES.availabilitySign, schema: IAvailabilitySignSchema },
|
|
88
|
+
{ name: MODEL_NAMES.availabilitySignedData, schema: AvailabilitySignedDataSchema },
|
|
89
|
+
{ name: MODEL_NAMES.banks, schema: BankSchema },
|
|
90
|
+
{ name: MODEL_NAMES.BBCDates, schema: BBCDateSchema },
|
|
91
|
+
{ name: MODEL_NAMES.BBCSheets, schema: BBCSheetSchema },
|
|
92
|
+
{ name: MODEL_NAMES.borrowers, schema: BorrowerSchema },
|
|
93
|
+
{ name: MODEL_NAMES.complianceBorrowers, schema: BorrowerComplianceSchema },
|
|
94
|
+
{ name: MODEL_NAMES.borrowerData, schema: BorrowerDataSchema },
|
|
95
|
+
{ name: MODEL_NAMES.borrowerDataBanks, schema: BorrowerDataBankSchema },
|
|
96
|
+
{ name: MODEL_NAMES.borrowerDataBootCollaterals, schema: BorrowerDataBottCollateralSchema },
|
|
97
|
+
{ name: MODEL_NAMES.borrowerDataContacts, schema: BorrowerDataContactSchema },
|
|
98
|
+
{ name: MODEL_NAMES.borrowerDataGuarantees, schema: BorrowerDataGuaranteeSchema },
|
|
99
|
+
{ name: MODEL_NAMES.borrowerDataInsurances, schema: BorrowerDataInsuranceSchema },
|
|
100
|
+
{ name: MODEL_NAMES.borrowerDataInventories, schema: BorrowerDataInventorySchema },
|
|
101
|
+
{ name: MODEL_NAMES.borrowerDataLocations, schema: BorrowerDataLocationSchema },
|
|
102
|
+
{ name: MODEL_NAMES.borrowerDataReceivables, schema: BorrowerDataReceivableSchema },
|
|
103
|
+
{ name: MODEL_NAMES.borrowerDataTerms, schema: BorrowerDataTermSchema },
|
|
104
|
+
{ name: MODEL_NAMES.borrowerSettings, schema: BorrowerSettingsSchema },
|
|
105
|
+
{ name: MODEL_NAMES.borrowerSummaries, schema: BorrowerSummarySchema },
|
|
106
|
+
{ name: MODEL_NAMES.calendarDays, schema: CalendarDaySchema },
|
|
107
|
+
{ name: MODEL_NAMES.cashAllocationProducts, schema: CashAllocationProductSchema },
|
|
108
|
+
{ name: MODEL_NAMES.cashAllocationReferences, schema: CashAllocationReferenceSchema },
|
|
109
|
+
{ name: MODEL_NAMES.collateralAdjustments, schema: CollateralAdjustmentSchema },
|
|
110
|
+
{ name: MODEL_NAMES.companies, schema: CompanySchema },
|
|
111
|
+
{ name: MODEL_NAMES.complianceItems, schema: ComplianceItemSchema },
|
|
112
|
+
{ name: MODEL_NAMES.customerAPGroups, schema: CustomerAPGroupSchema },
|
|
113
|
+
{ name: MODEL_NAMES.customerGroups, schema: CustomerGroupSchema },
|
|
114
|
+
{ name: MODEL_NAMES.deletedRecords, schema: DeletedRecordSchema },
|
|
115
|
+
{ name: MODEL_NAMES.equipment, schema: EquipmentSchema },
|
|
116
|
+
{ name: MODEL_NAMES.financialComplianceSettings, schema: FinancialComplianceSettingsSchema },
|
|
117
|
+
{ name: MODEL_NAMES.financialComplianceBorrowers, schema: FinancialComplianceBorrowerSchema },
|
|
118
|
+
{ name: MODEL_NAMES.financialIndexes, schema: FinancialIndexSchema },
|
|
119
|
+
{ name: MODEL_NAMES.financialSpreading, schema: FinancialSpreadingSchema },
|
|
120
|
+
{ name: MODEL_NAMES.financialSpreadingSheets, schema: FinancialSpreadingSheetSchema },
|
|
121
|
+
{ name: MODEL_NAMES.globals, schema: GlobalsSchema },
|
|
122
|
+
{ name: MODEL_NAMES.inventories, schema: InventorySchema },
|
|
123
|
+
{ name: MODEL_NAMES.inventoryAvailability, schema: InventoryAvailabilityScheme },
|
|
124
|
+
{ name: MODEL_NAMES.inventoryAvailabilityItem, schema: InventoryAvailabilityItemScheme },
|
|
125
|
+
{ name: MODEL_NAMES.inventoryItem, schema: InventoryItemSchema },
|
|
126
|
+
{ name: MODEL_NAMES.inventoryManualEntries, schema: InventoryManualEntrySchema },
|
|
127
|
+
{ name: MODEL_NAMES.inventorySeasonalRates, schema: InventorySeasonalEntrySchema },
|
|
128
|
+
{ name: MODEL_NAMES.loanBrokers, schema: LoanBrokerSchema },
|
|
129
|
+
{ name: MODEL_NAMES.loanCharges, schema: LoanChargeSchema },
|
|
130
|
+
{ name: MODEL_NAMES.loanPayments, schema: LoanPaymentSchema },
|
|
131
|
+
{ name: MODEL_NAMES.loanProducts, schema: LoanProductSchema },
|
|
132
|
+
{ name: MODEL_NAMES.loanStatementStatus, schema: LoanStatementStatusSchema },
|
|
133
|
+
{ name: MODEL_NAMES.loanStatements, schema: LoanStatementSchema },
|
|
134
|
+
{ name: MODEL_NAMES.loanTransactions, schema: LoanTransactionSchema },
|
|
135
|
+
{ name: MODEL_NAMES.loanTransactionsFiles, schema: LoanTransactionFileSchema },
|
|
136
|
+
{ name: MODEL_NAMES.mappedGroups, schema: MappedGroupSchema },
|
|
137
|
+
{ name: MODEL_NAMES.microserviceTasks, schema: MicroserviceTaskSchema },
|
|
138
|
+
{ name: MODEL_NAMES.monthEndData, schema: MonthEndDataSchema },
|
|
139
|
+
{ name: MODEL_NAMES.organizations, schema: OrganizationSchema },
|
|
140
|
+
{ name: MODEL_NAMES.organizationEmails, schema: OrganizationEmailModelSchema },
|
|
141
|
+
{ name: MODEL_NAMES.postponedTransactions, schema: PostponedTransactionSchema },
|
|
142
|
+
{ name: MODEL_NAMES.productBrokers, schema: ProductBrokerSchema },
|
|
143
|
+
{ name: MODEL_NAMES.CRMProspectIndustries, schema: CRMProspectIndustrySchema },
|
|
144
|
+
{ name: MODEL_NAMES.queryResult, schema: QueryResultSchema },
|
|
145
|
+
{ name: MODEL_NAMES.quickbooksAccounts, schema: QuickbooksAccountSchema },
|
|
146
|
+
{ name: MODEL_NAMES.receivables, schema: ReceivableSchema },
|
|
147
|
+
{ name: MODEL_NAMES.ARAvailabilities, schema: AvailabilitySchema },
|
|
148
|
+
{ name: MODEL_NAMES.ARAvailabilityItems, schema: ReceivableAvailabilityItemSchema },
|
|
149
|
+
{ name: MODEL_NAMES.receivableAvailabilityManualSummary, schema: ReceivableAvailabilityManualSummarySchema },
|
|
150
|
+
{ name: MODEL_NAMES.receivableItems, schema: ReceivableItemSchema },
|
|
151
|
+
{ name: MODEL_NAMES.reserves, schema: ReserveSchema },
|
|
152
|
+
{ name: MODEL_NAMES.termLoan, schema: TermLoanSchema },
|
|
153
|
+
{ name: MODEL_NAMES.termLoanCalculated, schema: TermLoanCalculatedSchema },
|
|
154
|
+
{ name: MODEL_NAMES.termLoanSettings, schema: TermLoanSettingsSchema },
|
|
155
|
+
{ name: MODEL_NAMES.transactionAttachedFiles, schema: TransactionAttachedFileSchema },
|
|
156
|
+
{ name: MODEL_NAMES.uploadedBankTransactions, schema: UploadedBankTransactionSchema },
|
|
157
|
+
{ name: MODEL_NAMES.uploadedData, schema: UploadedDataSchema },
|
|
158
|
+
{ name: MODEL_NAMES.uploadedFile, schema: UploadedFileSchema },
|
|
159
|
+
{ name: MODEL_NAMES.uploadedSheets, schema: UploadedSheetSchema },
|
|
160
|
+
{ name: MODEL_NAMES.users, schema: UserSchema },
|
|
161
|
+
{ name: MODEL_NAMES.userLogs, schema: UserLogSchema },
|
|
162
|
+
{ name: MODEL_NAMES.userMobileAccess, schema: UserMobileAccessSchema },
|
|
163
|
+
{ name: MODEL_NAMES.yieldData, schema: YieldDataSchema },
|
|
164
|
+
];
|
package/models/_models.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export declare const MODEL_NAMES: {
|
|
|
60
60
|
inventorySeasonalRates: string;
|
|
61
61
|
loanBrokers: string;
|
|
62
62
|
loanCharges: string;
|
|
63
|
+
loanPayments: string;
|
|
63
64
|
loanProducts: string;
|
|
64
65
|
loanStatements: string;
|
|
65
66
|
loanStatementBalances: string;
|
|
@@ -70,6 +71,7 @@ export declare const MODEL_NAMES: {
|
|
|
70
71
|
mappedGroups: string;
|
|
71
72
|
mappingSchemas: string;
|
|
72
73
|
microserviceTasks: string;
|
|
74
|
+
monthEndData: string;
|
|
73
75
|
organizations: string;
|
|
74
76
|
organizationEmails: string;
|
|
75
77
|
payableAccounts: string;
|
package/models/_models.js
CHANGED
|
@@ -58,11 +58,12 @@ exports.MODEL_NAMES = {
|
|
|
58
58
|
inventories: 'inventories',
|
|
59
59
|
inventoryAvailability: 'inventoryAvailabilities',
|
|
60
60
|
inventoryAvailabilityItem: 'inventoryAvailabilityItems',
|
|
61
|
-
inventoryItem: '
|
|
61
|
+
inventoryItem: 'inventoryItems',
|
|
62
62
|
inventoryManualEntries: 'inventory_manual_entries',
|
|
63
63
|
inventorySeasonalRates: 'inventory_seasonal_rates',
|
|
64
64
|
loanBrokers: 'loan_brokers',
|
|
65
65
|
loanCharges: 'loan_charges',
|
|
66
|
+
loanPayments: 'loan_payments',
|
|
66
67
|
loanProducts: 'loan_products',
|
|
67
68
|
loanStatements: 'loan_statements',
|
|
68
69
|
loanStatementBalances: 'loan_statement_balances',
|
|
@@ -73,6 +74,7 @@ exports.MODEL_NAMES = {
|
|
|
73
74
|
mappedGroups: 'mappedGroups',
|
|
74
75
|
mappingSchemas: 'mappingSchemas',
|
|
75
76
|
microserviceTasks: 'microservice_tasks',
|
|
77
|
+
monthEndData: 'month_end_datas',
|
|
76
78
|
organizations: 'organizations',
|
|
77
79
|
organizationEmails: 'organization_emails',
|
|
78
80
|
payableAccounts: 'payableAccounts',
|
package/models/_models.ts
CHANGED
|
@@ -55,11 +55,12 @@ export const MODEL_NAMES = {
|
|
|
55
55
|
inventories: 'inventories',
|
|
56
56
|
inventoryAvailability: 'inventoryAvailabilities',
|
|
57
57
|
inventoryAvailabilityItem: 'inventoryAvailabilityItems',
|
|
58
|
-
inventoryItem: '
|
|
58
|
+
inventoryItem: 'inventoryItems',
|
|
59
59
|
inventoryManualEntries: 'inventory_manual_entries',
|
|
60
60
|
inventorySeasonalRates: 'inventory_seasonal_rates',
|
|
61
61
|
loanBrokers: 'loan_brokers',
|
|
62
62
|
loanCharges: 'loan_charges',
|
|
63
|
+
loanPayments: 'loan_payments',
|
|
63
64
|
loanProducts: 'loan_products',
|
|
64
65
|
loanStatements: 'loan_statements',
|
|
65
66
|
loanStatementBalances: 'loan_statement_balances',
|
|
@@ -70,6 +71,7 @@ export const MODEL_NAMES = {
|
|
|
70
71
|
mappedGroups: 'mappedGroups',
|
|
71
72
|
mappingSchemas: 'mappingSchemas',
|
|
72
73
|
microserviceTasks: 'microservice_tasks',
|
|
74
|
+
monthEndData: 'month_end_datas',
|
|
73
75
|
organizations: 'organizations',
|
|
74
76
|
organizationEmails: 'organization_emails',
|
|
75
77
|
payableAccounts: 'payableAccounts',
|
package/package.json
CHANGED
|
@@ -46,9 +46,9 @@ export declare class BrokersService {
|
|
|
46
46
|
getAllProductBrokers(): Promise<(import("mongoose").FlattenMaps<import("../models/ProductBroker.model").IProductBrokerDoc> & {
|
|
47
47
|
_id: import("mongoose").Types.ObjectId;
|
|
48
48
|
})[]>;
|
|
49
|
-
getBorrowerBrokers(borrowerId: string): Promise<
|
|
49
|
+
getBorrowerBrokers(borrowerId: string): Promise<(import("mongoose").FlattenMaps<import("../models/ProductBroker.model").IProductBrokerDoc> & {
|
|
50
50
|
_id: import("mongoose").Types.ObjectId;
|
|
51
|
-
})[]>;
|
|
51
|
+
})[] | BrokerView[]>;
|
|
52
52
|
getProductBrokers(productId: string): Promise<import("../models/ProductBroker.model").IProductBrokerDocWithBroker[]>;
|
|
53
53
|
getTotalShares(borrowerId: string, brokers: IProductBrokerView[], replaceNames?: boolean): Promise<ProductTotal>;
|
|
54
54
|
getTotals(borrowerId: string): Promise<BrokerTotalView[]>;
|
|
@@ -55,11 +55,11 @@ export declare class UsersService {
|
|
|
55
55
|
hasAccess: boolean;
|
|
56
56
|
canSignDocument: boolean;
|
|
57
57
|
};
|
|
58
|
+
email: string;
|
|
58
59
|
firstName: string;
|
|
59
60
|
lastName: string;
|
|
60
61
|
enabled: boolean;
|
|
61
62
|
username: string;
|
|
62
|
-
email: string;
|
|
63
63
|
roles?: IGroupedKeycloakRoles;
|
|
64
64
|
emailVerified: boolean;
|
|
65
65
|
access: {
|
|
@@ -141,11 +141,11 @@ export declare class UsersService {
|
|
|
141
141
|
hasAccess: boolean;
|
|
142
142
|
canSignDocument: boolean;
|
|
143
143
|
};
|
|
144
|
+
email: string;
|
|
144
145
|
firstName: string;
|
|
145
146
|
lastName: string;
|
|
146
147
|
enabled: boolean;
|
|
147
148
|
username: string;
|
|
148
|
-
email: string;
|
|
149
149
|
roles?: IGroupedKeycloakRoles;
|
|
150
150
|
emailVerified: boolean;
|
|
151
151
|
access: {
|