gemcap-be-common 1.2.25 → 1.2.27
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/availability.db.d.ts +2 -2
- package/db/availability.db.js +7 -7
- package/db/availability.db.ts +3 -3
- package/db/bbcDates.db.d.ts +2 -2
- package/db/bbcDates.db.js +10 -9
- package/db/bbcDates.db.ts +3 -2
- package/db/bbcSheets.db.d.ts +2 -2
- package/db/bbcSheets.db.js +6 -6
- package/db/bbcSheets.db.ts +2 -2
- package/db/collaterals.db.d.ts +6 -6
- package/db/collaterals.db.js +17 -14
- package/db/collaterals.db.ts +7 -11
- package/db/inventory-availability.db.d.ts +2 -1
- package/db/inventory-availability.db.js +8 -7
- package/db/inventory-availability.db.ts +2 -3
- package/db/inventory-manual-entry.db.d.ts +1 -1
- package/db/inventory-manual-entry.db.js +2 -2
- package/db/inventory-manual-entry.db.ts +1 -1
- package/db/inventory-seasonal-rates.db.d.ts +1 -1
- package/db/inventory-seasonal-rates.db.js +5 -5
- package/db/inventory-seasonal-rates.db.ts +1 -1
- package/db/loan-products.db.d.ts +3 -2
- package/db/loan-products.db.js +18 -15
- package/db/loan-products.db.ts +9 -10
- package/db/loan-statement.db.js +4 -3
- package/db/loan-statement.db.ts +2 -1
- package/db/microservice-tasks.db.d.ts +2 -2
- package/db/microservice-tasks.db.js +9 -9
- package/db/microservice-tasks.db.ts +3 -2
- package/db/receivables.db.d.ts +1 -1
- package/db/receivables.db.js +24 -23
- package/db/receivables.db.ts +4 -3
- package/db/user-logs.db.d.ts +1 -1
- package/db/user-logs.db.js +2 -2
- package/db/user-logs.db.ts +1 -1
- package/helpers/column-desciptions.helper.d.ts +4 -4
- package/helpers/column-desciptions.helper.js +51 -49
- package/helpers/column-desciptions.helper.ts +7 -4
- package/helpers/numbers.helper.d.ts +1 -1
- package/helpers/numbers.helper.js +7 -6
- package/helpers/numbers.helper.ts +3 -2
- package/helpers/paginator.helper.d.ts +1 -1
- package/helpers/paginator.helper.js +2 -2
- package/helpers/paginator.helper.ts +1 -1
- package/helpers/users.helper.d.ts +2 -1
- package/helpers/users.helper.js +4 -4
- package/helpers/users.helper.ts +2 -1
- package/interfaces/collaterals.interface.d.ts +3 -1
- package/interfaces/collaterals.interface.ts +3 -1
- package/interfaces/custom-row.interface.d.ts +2 -1
- package/interfaces/custom-row.interface.ts +2 -1
- package/interfaces/email-addresses.interface.d.ts +1 -1
- package/interfaces/email-addresses.interface.ts +1 -1
- package/interfaces/query.interface.d.ts +1 -1
- package/interfaces/query.interface.ts +1 -1
- package/models/AccountPayableItem.model.d.ts +1 -1
- package/models/AccountPayableItem.model.ts +1 -1
- package/models/InventoryAvailability.model.d.ts +2 -2
- package/models/InventoryAvailability.model.js +1 -1
- package/models/InventoryAvailability.model.ts +2 -2
- package/models/InventoryItem.model.d.ts +1 -1
- package/models/InventoryItem.model.ts +1 -1
- package/models/LoanCharges.model.d.ts +2 -1
- package/models/LoanCharges.model.js +34 -32
- package/models/LoanCharges.model.ts +3 -2
- package/models/LoanProducts.model.d.ts +1 -1
- package/models/LoanProducts.model.ts +1 -1
- package/models/LoanTransaction.model.js +5 -5
- package/models/LoanTransaction.model.ts +1 -1
- package/models/MicroserviceTask.model.d.ts +2 -1
- package/models/MicroserviceTask.model.js +2 -1
- package/models/MicroserviceTask.model.ts +4 -3
- package/models/ReceivableItem.model.d.ts +1 -1
- package/models/ReceivableItem.model.ts +1 -1
- package/models/Yield.model.d.ts +1 -1
- package/models/Yield.model.ts +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/db/index.d.ts +0 -12
- package/db/index.js +0 -28
- package/db/index.ts +0 -12
- package/enums/index.d.ts +0 -14
- package/enums/index.js +0 -30
- package/enums/index.ts +0 -14
- package/helpers/index.d.ts +0 -9
- package/helpers/index.js +0 -25
- package/helpers/index.ts +0 -9
- package/interfaces/index.d.ts +0 -14
- package/interfaces/index.js +0 -30
- package/interfaces/index.ts +0 -14
- package/models/index.d.ts +0 -29
- package/models/index.js +0 -45
- package/models/index.ts +0 -29
|
@@ -6,7 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.LoanCharge = exports.defaultChargeList = exports.chargeViewValidationSchema = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const joi_1 = __importDefault(require("joi"));
|
|
9
|
-
const
|
|
9
|
+
const loan_types_enum_1 = require("../enums/loan-types.enum");
|
|
10
|
+
const loan_charge_type_enum_1 = require("../enums/loan-charge-type.enum");
|
|
10
11
|
const _models_1 = require("./_models");
|
|
11
12
|
exports.chargeViewValidationSchema = joi_1.default.object({
|
|
12
13
|
valid: joi_1.default.boolean(),
|
|
@@ -18,116 +19,117 @@ exports.chargeViewValidationSchema = joi_1.default.object({
|
|
|
18
19
|
productId: joi_1.default.string().required(),
|
|
19
20
|
percent: joi_1.default.number().required().min(0),
|
|
20
21
|
minimumAmount: joi_1.default.number().required().min(0),
|
|
21
|
-
frequency: joi_1.default.string().required().valid(...Object.keys(
|
|
22
|
+
frequency: joi_1.default.string().required().valid(...Object.keys(loan_types_enum_1.EChargeFrequencies)),
|
|
22
23
|
applyFrom: joi_1.default.date().required(),
|
|
23
|
-
calculationBasis: joi_1.default.string().required().valid(...Object.keys(
|
|
24
|
-
chargeType: joi_1.default.string().required().valid(...Object.keys(
|
|
24
|
+
calculationBasis: joi_1.default.string().required().valid(...Object.keys(loan_types_enum_1.EChargeCalculationBasis)),
|
|
25
|
+
chargeType: joi_1.default.string().required().valid(...Object.keys(loan_charge_type_enum_1.ELoanChargeType)),
|
|
25
26
|
includeInYield: joi_1.default.boolean().required(),
|
|
27
|
+
paymentOrder: joi_1.default.number(),
|
|
26
28
|
});
|
|
27
29
|
exports.defaultChargeList = [
|
|
28
30
|
{
|
|
29
31
|
_id: null,
|
|
30
32
|
active: true,
|
|
31
33
|
name: 'Interest',
|
|
32
|
-
code:
|
|
34
|
+
code: loan_charge_type_enum_1.ELoanChargeType.INTEREST_FEE,
|
|
33
35
|
PLCode: '',
|
|
34
|
-
chargeType:
|
|
36
|
+
chargeType: loan_charge_type_enum_1.ELoanChargeType.INTEREST_FEE,
|
|
35
37
|
productId: null,
|
|
36
38
|
percent: 0,
|
|
37
39
|
minimumAmount: 0,
|
|
38
|
-
frequency:
|
|
40
|
+
frequency: loan_types_enum_1.EChargeFrequencies.DAILY,
|
|
39
41
|
applyFrom: null,
|
|
40
|
-
calculationBasis:
|
|
42
|
+
calculationBasis: loan_types_enum_1.EChargeCalculationBasis.DAILY_BALANCE,
|
|
41
43
|
includeInYield: false,
|
|
42
44
|
},
|
|
43
45
|
{
|
|
44
46
|
_id: null,
|
|
45
47
|
active: true,
|
|
46
48
|
name: 'Admin Fees',
|
|
47
|
-
code:
|
|
49
|
+
code: loan_charge_type_enum_1.ELoanChargeType.ADMIN_FEE,
|
|
48
50
|
PLCode: '',
|
|
49
|
-
chargeType:
|
|
51
|
+
chargeType: loan_charge_type_enum_1.ELoanChargeType.ADMIN_FEE,
|
|
50
52
|
productId: null,
|
|
51
53
|
percent: 0,
|
|
52
54
|
minimumAmount: 0,
|
|
53
|
-
frequency:
|
|
55
|
+
frequency: loan_types_enum_1.EChargeFrequencies.MONTHLY,
|
|
54
56
|
applyFrom: null,
|
|
55
|
-
calculationBasis:
|
|
57
|
+
calculationBasis: loan_types_enum_1.EChargeCalculationBasis.AVERAGE_MONTHLY_BALANCE,
|
|
56
58
|
includeInYield: false,
|
|
57
59
|
},
|
|
58
60
|
{
|
|
59
61
|
_id: null,
|
|
60
62
|
active: true,
|
|
61
63
|
name: 'Unused Line Fee',
|
|
62
|
-
code:
|
|
64
|
+
code: loan_charge_type_enum_1.ELoanChargeType.UNUSED_LINE_FEE,
|
|
63
65
|
PLCode: '',
|
|
64
|
-
chargeType:
|
|
66
|
+
chargeType: loan_charge_type_enum_1.ELoanChargeType.UNUSED_LINE_FEE,
|
|
65
67
|
productId: null,
|
|
66
68
|
percent: 0,
|
|
67
69
|
minimumAmount: 0,
|
|
68
|
-
frequency:
|
|
70
|
+
frequency: loan_types_enum_1.EChargeFrequencies.DAILY,
|
|
69
71
|
applyFrom: null,
|
|
70
|
-
calculationBasis:
|
|
72
|
+
calculationBasis: loan_types_enum_1.EChargeCalculationBasis.UNUSED_AMOUNT,
|
|
71
73
|
includeInYield: false,
|
|
72
74
|
},
|
|
73
75
|
{
|
|
74
76
|
_id: null,
|
|
75
77
|
active: true,
|
|
76
78
|
name: 'Annual Line Fee',
|
|
77
|
-
code:
|
|
79
|
+
code: loan_charge_type_enum_1.ELoanChargeType.ANNUAL_LINE_FEE,
|
|
78
80
|
PLCode: '',
|
|
79
|
-
chargeType:
|
|
81
|
+
chargeType: loan_charge_type_enum_1.ELoanChargeType.ANNUAL_LINE_FEE,
|
|
80
82
|
productId: null,
|
|
81
83
|
percent: 0,
|
|
82
84
|
minimumAmount: 0,
|
|
83
|
-
frequency:
|
|
85
|
+
frequency: loan_types_enum_1.EChargeFrequencies.ANNUAL,
|
|
84
86
|
applyFrom: null,
|
|
85
|
-
calculationBasis:
|
|
87
|
+
calculationBasis: loan_types_enum_1.EChargeCalculationBasis.COMMITMENT,
|
|
86
88
|
includeInYield: false,
|
|
87
89
|
},
|
|
88
90
|
{
|
|
89
91
|
_id: null,
|
|
90
92
|
active: true,
|
|
91
93
|
name: 'Wire Fee',
|
|
92
|
-
code:
|
|
94
|
+
code: loan_charge_type_enum_1.ELoanChargeType.WIRE_FEE,
|
|
93
95
|
PLCode: '',
|
|
94
|
-
chargeType:
|
|
96
|
+
chargeType: loan_charge_type_enum_1.ELoanChargeType.WIRE_FEE,
|
|
95
97
|
productId: null,
|
|
96
98
|
percent: 0,
|
|
97
99
|
minimumAmount: 0,
|
|
98
|
-
frequency:
|
|
100
|
+
frequency: loan_types_enum_1.EChargeFrequencies.DISBURSEMENT,
|
|
99
101
|
applyFrom: null,
|
|
100
|
-
calculationBasis:
|
|
102
|
+
calculationBasis: loan_types_enum_1.EChargeCalculationBasis.DISBURSEMENT_AMOUNT,
|
|
101
103
|
includeInYield: false,
|
|
102
104
|
},
|
|
103
105
|
{
|
|
104
106
|
_id: null,
|
|
105
107
|
active: true,
|
|
106
108
|
name: 'Forbearance',
|
|
107
|
-
code:
|
|
109
|
+
code: loan_charge_type_enum_1.ELoanChargeType.OTHER,
|
|
108
110
|
PLCode: '',
|
|
109
|
-
chargeType:
|
|
111
|
+
chargeType: loan_charge_type_enum_1.ELoanChargeType.OTHER,
|
|
110
112
|
productId: null,
|
|
111
113
|
percent: 0,
|
|
112
114
|
minimumAmount: 0,
|
|
113
|
-
frequency:
|
|
115
|
+
frequency: loan_types_enum_1.EChargeFrequencies.ONE_TIME,
|
|
114
116
|
applyFrom: null,
|
|
115
|
-
calculationBasis:
|
|
117
|
+
calculationBasis: loan_types_enum_1.EChargeCalculationBasis.FIXED,
|
|
116
118
|
includeInYield: false,
|
|
117
119
|
},
|
|
118
120
|
{
|
|
119
121
|
_id: null,
|
|
120
122
|
active: true,
|
|
121
123
|
name: 'Overline/Over-advance',
|
|
122
|
-
code:
|
|
124
|
+
code: loan_charge_type_enum_1.ELoanChargeType.OTHER,
|
|
123
125
|
PLCode: '',
|
|
124
|
-
chargeType:
|
|
126
|
+
chargeType: loan_charge_type_enum_1.ELoanChargeType.OTHER,
|
|
125
127
|
productId: null,
|
|
126
128
|
percent: 0,
|
|
127
129
|
minimumAmount: 0,
|
|
128
|
-
frequency:
|
|
130
|
+
frequency: loan_types_enum_1.EChargeFrequencies.ONE_TIME,
|
|
129
131
|
applyFrom: null,
|
|
130
|
-
calculationBasis:
|
|
132
|
+
calculationBasis: loan_types_enum_1.EChargeCalculationBasis.FIXED,
|
|
131
133
|
includeInYield: false,
|
|
132
134
|
},
|
|
133
135
|
];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import mongoose, { Document } from 'mongoose';
|
|
2
2
|
import Joi from 'joi';
|
|
3
3
|
|
|
4
|
-
import { EChargeCalculationBasis, EChargeFrequencies
|
|
4
|
+
import { EChargeCalculationBasis, EChargeFrequencies } from '../enums/loan-types.enum';
|
|
5
|
+
import { ELoanChargeType } from '../enums/loan-charge-type.enum';
|
|
5
6
|
import { MODEL_NAMES } from './_models';
|
|
6
7
|
|
|
7
|
-
|
|
8
8
|
export const chargeViewValidationSchema = Joi.object<ILoanChargeView & { valid: boolean }>({
|
|
9
9
|
valid: Joi.boolean(),
|
|
10
10
|
_id: Joi.string(),
|
|
@@ -20,6 +20,7 @@ export const chargeViewValidationSchema = Joi.object<ILoanChargeView & { valid:
|
|
|
20
20
|
calculationBasis: Joi.string().required().valid(...Object.keys(EChargeCalculationBasis)),
|
|
21
21
|
chargeType: Joi.string().required().valid(...Object.keys(ELoanChargeType)),
|
|
22
22
|
includeInYield: Joi.boolean().required(),
|
|
23
|
+
paymentOrder: Joi.number(),
|
|
23
24
|
});
|
|
24
25
|
|
|
25
26
|
export interface ILoanCharge {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import mongoose, { Document } from 'mongoose';
|
|
26
|
-
import { ELoanTypes } from '../enums';
|
|
26
|
+
import { ELoanTypes } from '../enums/loan-types.enum';
|
|
27
27
|
export interface ILoanProduct {
|
|
28
28
|
borrowerId: mongoose.Types.ObjectId;
|
|
29
29
|
order: number;
|
|
@@ -8,7 +8,7 @@ const mongoose_1 = __importDefault(require("mongoose"));
|
|
|
8
8
|
const _models_1 = require("./_models");
|
|
9
9
|
const UserLog_model_1 = require("./UserLog.model");
|
|
10
10
|
const DeletedRecords_model_1 = require("./DeletedRecords.model");
|
|
11
|
-
const
|
|
11
|
+
const user_logs_db_1 = require("../db/user-logs.db");
|
|
12
12
|
var ELoanTransactionTypes;
|
|
13
13
|
(function (ELoanTransactionTypes) {
|
|
14
14
|
ELoanTransactionTypes["COLLECTION"] = "COLLECTION";
|
|
@@ -111,7 +111,7 @@ LoanTransactionSchema.statics.findByIdAndDeleteWithUserId = async function (id,
|
|
|
111
111
|
record: foundDoc,
|
|
112
112
|
});
|
|
113
113
|
await deletedRecord.save();
|
|
114
|
-
await (0,
|
|
114
|
+
await (0, user_logs_db_1.createLog)({
|
|
115
115
|
action: UserLog_model_1.ELogActionType.DELETE,
|
|
116
116
|
logType: UserLog_model_1.ELogType.LOAN_TRANSACTION,
|
|
117
117
|
userId: userId,
|
|
@@ -123,7 +123,7 @@ LoanTransactionSchema.statics.findByIdAndDeleteWithUserId = async function (id,
|
|
|
123
123
|
};
|
|
124
124
|
LoanTransactionSchema.pre(/^(save)/, async function () {
|
|
125
125
|
const myDoc = this;
|
|
126
|
-
await (0,
|
|
126
|
+
await (0, user_logs_db_1.createLog)({
|
|
127
127
|
action: UserLog_model_1.ELogActionType.CREATE,
|
|
128
128
|
logType: UserLog_model_1.ELogType.LOAN_TRANSACTION,
|
|
129
129
|
userId: myDoc.userId,
|
|
@@ -143,9 +143,9 @@ LoanTransactionSchema.pre(/^(updateOne|updateMany|findOneAndUpdate)/, async func
|
|
|
143
143
|
const oldDoc = await myDoc.model.findById(conditions._id);
|
|
144
144
|
let changes = {};
|
|
145
145
|
if (oldDoc) {
|
|
146
|
-
changes = (0,
|
|
146
|
+
changes = (0, user_logs_db_1.getLogChanges)(oldDoc, update);
|
|
147
147
|
}
|
|
148
|
-
await (0,
|
|
148
|
+
await (0, user_logs_db_1.createLog)({
|
|
149
149
|
action: UserLog_model_1.ELogActionType.EDIT,
|
|
150
150
|
logType: UserLog_model_1.ELogType.LOAN_TRANSACTION,
|
|
151
151
|
userId: update.userId,
|
|
@@ -5,7 +5,7 @@ import { MODEL_NAMES } from './_models';
|
|
|
5
5
|
import { ELogActionType, ELogType } from './UserLog.model';
|
|
6
6
|
import { IBankDoc } from './Banks.model';
|
|
7
7
|
import { DeletedRecord } from './DeletedRecords.model';
|
|
8
|
-
import { createLog, getLogChanges } from '../db';
|
|
8
|
+
import { createLog, getLogChanges } from '../db/user-logs.db';
|
|
9
9
|
|
|
10
10
|
export enum ELoanTransactionTypes {
|
|
11
11
|
COLLECTION = 'COLLECTION',
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import mongoose, { Document } from 'mongoose';
|
|
26
|
-
import { EMicroserviceTask
|
|
26
|
+
import { EMicroserviceTask } from '../enums/microservice-task.enum';
|
|
27
|
+
import { EMicroserviceTaskStatuses } from '../enums/microservice-task-statuses.enum';
|
|
27
28
|
export interface IMicroserviceTask {
|
|
28
29
|
cmd: EMicroserviceTask;
|
|
29
30
|
params: any;
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.MicroserviceTaskModel = void 0;
|
|
7
7
|
const mongoose_1 = __importDefault(require("mongoose"));
|
|
8
8
|
const _models_1 = require("./_models");
|
|
9
|
+
const mongooseLeanId = require('../plugins/id.plugin');
|
|
9
10
|
const MicroserviceTaskSchema = new mongoose_1.default.Schema({
|
|
10
11
|
cmd: {
|
|
11
12
|
type: String,
|
|
@@ -27,5 +28,5 @@ const MicroserviceTaskSchema = new mongoose_1.default.Schema({
|
|
|
27
28
|
},
|
|
28
29
|
__v: { type: Number, select: false },
|
|
29
30
|
}, { timestamps: true });
|
|
30
|
-
|
|
31
|
+
MicroserviceTaskSchema.plugin(mongooseLeanId);
|
|
31
32
|
exports.MicroserviceTaskModel = mongoose_1.default.model(_models_1.MODEL_NAMES.microserviceTasks, MicroserviceTaskSchema);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import mongoose, { Document } from 'mongoose';
|
|
2
2
|
|
|
3
|
-
import { EMicroserviceTask
|
|
3
|
+
import { EMicroserviceTask } from '../enums/microservice-task.enum';
|
|
4
|
+
import { EMicroserviceTaskStatuses } from '../enums/microservice-task-statuses.enum';
|
|
4
5
|
import { MODEL_NAMES } from './_models';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
const mongooseLeanId = require('../plugins/id.plugin');
|
|
7
8
|
|
|
8
9
|
export interface IMicroserviceTask {
|
|
9
10
|
cmd: EMicroserviceTask;
|
|
@@ -41,6 +42,6 @@ const MicroserviceTaskSchema = new mongoose.Schema(
|
|
|
41
42
|
{ timestamps: true }
|
|
42
43
|
);
|
|
43
44
|
|
|
44
|
-
|
|
45
|
+
MicroserviceTaskSchema.plugin(mongooseLeanId);
|
|
45
46
|
|
|
46
47
|
export const MicroserviceTaskModel: mongoose.Model<IMicroserviceTaskDoc> = mongoose.model<IMicroserviceTaskDoc>(MODEL_NAMES.microserviceTasks, MicroserviceTaskSchema);
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
/// <reference types="mongoose/types/virtuals" />
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import mongoose, { Document } from 'mongoose';
|
|
26
|
-
import { ICollateralItem } from '../interfaces';
|
|
26
|
+
import { ICollateralItem } from '../interfaces/collaterals.interface';
|
|
27
27
|
import { IBBCSheetDoc } from './BBCSheet.model';
|
|
28
28
|
import { IBBCDateDoc } from './BBCDate.model';
|
|
29
29
|
export declare const RECEIVABLE_FIELDS: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import mongoose, { Document } from 'mongoose';
|
|
2
2
|
|
|
3
|
-
import { ICollateralItem } from '../interfaces';
|
|
3
|
+
import { ICollateralItem } from '../interfaces/collaterals.interface';
|
|
4
4
|
import { IBBCSheetDoc } from './BBCSheet.model';
|
|
5
5
|
import { IBBCDateDoc } from './BBCDate.model';
|
|
6
6
|
|
package/models/Yield.model.d.ts
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
import Joi from 'joi';
|
|
26
26
|
import mongoose, { Model } from 'mongoose';
|
|
27
|
-
import { ISelectedMonth } from '../helpers';
|
|
27
|
+
import { ISelectedMonth } from '../helpers/date.helper';
|
|
28
28
|
export declare const yieldParamsValidationSchema: Joi.ObjectSchema<IYieldParams>;
|
|
29
29
|
export interface IYieldParams {
|
|
30
30
|
periodStart?: ISelectedMonth;
|
package/models/Yield.model.ts
CHANGED