@kipicore/dbcore 1.1.374 → 1.1.375
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.
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { Document } from 'mongoose';
|
|
2
2
|
import { IDefaultAttributes } from './commonInterface';
|
|
3
3
|
import { PAYMENT_TERMS_TYPE } from '../constants';
|
|
4
|
-
export interface IFeeTypeList {
|
|
5
|
-
feeTypeId: string;
|
|
6
|
-
amount: number;
|
|
7
|
-
}
|
|
8
4
|
export interface IFeeTypeGroup {
|
|
9
5
|
date: Date;
|
|
10
|
-
feeTypeList:
|
|
6
|
+
feeTypeList: string[];
|
|
11
7
|
}
|
|
12
8
|
export interface IPdcChequeConfigurationModelAttributes extends IDefaultAttributes, Document {
|
|
13
9
|
id: string;
|
|
@@ -35,13 +35,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
const mongoose_1 = __importStar(require("mongoose"));
|
|
37
37
|
const constants_1 = require("../../constants");
|
|
38
|
-
const feeTypeListSchema = new mongoose_1.Schema({
|
|
39
|
-
feeTypeId: { type: String, required: true },
|
|
40
|
-
amount: { type: Number, required: true },
|
|
41
|
-
}, { _id: false });
|
|
42
38
|
const feeTypeGroupSchema = new mongoose_1.Schema({
|
|
43
39
|
date: { type: Date, required: true },
|
|
44
|
-
feeTypeList: { type: [
|
|
40
|
+
feeTypeList: { type: [String], default: [] },
|
|
45
41
|
}, { _id: false });
|
|
46
42
|
const pdcChequeConfigurationSchema = new mongoose_1.Schema({
|
|
47
43
|
instituteId: { type: String, required: false },
|
package/package.json
CHANGED