@kipicore/dbcore 1.1.614 → 1.1.615
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/dist/constants/app.d.ts +162 -0
- package/dist/constants/app.js +187 -1
- package/dist/constants/errorMessages.d.ts +48 -0
- package/dist/constants/errorMessages.js +57 -1
- package/dist/constants/successMessages.d.ts +48 -0
- package/dist/constants/successMessages.js +57 -1
- package/dist/db/psql/migrations/20260626000001-create_account_financial_years.d.ts +2 -0
- package/dist/db/psql/migrations/20260626000001-create_account_financial_years.js +68 -0
- package/dist/db/psql/migrations/20260626000002-create_account_period_locks.d.ts +2 -0
- package/dist/db/psql/migrations/20260626000002-create_account_period_locks.js +71 -0
- package/dist/db/psql/migrations/20260626000003-create_account_number_sequences.d.ts +2 -0
- package/dist/db/psql/migrations/20260626000003-create_account_number_sequences.js +66 -0
- package/dist/db/psql/migrations/20260626000004-create_account_groups.d.ts +2 -0
- package/dist/db/psql/migrations/20260626000004-create_account_groups.js +72 -0
- package/dist/db/psql/migrations/20260626000005-create_account_ledgers.d.ts +2 -0
- package/dist/db/psql/migrations/20260626000005-create_account_ledgers.js +84 -0
- package/dist/db/psql/migrations/20260626000006-create_account_ledger_openings.d.ts +2 -0
- package/dist/db/psql/migrations/20260626000006-create_account_ledger_openings.js +66 -0
- package/dist/db/psql/migrations/20260626000007-create_account_cost_centers.d.ts +2 -0
- package/dist/db/psql/migrations/20260626000007-create_account_cost_centers.js +73 -0
- package/dist/db/psql/migrations/20260626000008-create_account_voucher_types.d.ts +2 -0
- package/dist/db/psql/migrations/20260626000008-create_account_voucher_types.js +70 -0
- package/dist/interfaces/accountCostCenterInterface.d.ts +13 -0
- package/dist/interfaces/accountCostCenterInterface.js +2 -0
- package/dist/interfaces/accountFinancialYearInterface.d.ts +13 -0
- package/dist/interfaces/accountFinancialYearInterface.js +2 -0
- package/dist/interfaces/accountGroupInterface.d.ts +13 -0
- package/dist/interfaces/accountGroupInterface.js +2 -0
- package/dist/interfaces/accountLedgerInterface.d.ts +16 -0
- package/dist/interfaces/accountLedgerInterface.js +2 -0
- package/dist/interfaces/accountLedgerOpeningInterface.d.ts +12 -0
- package/dist/interfaces/accountLedgerOpeningInterface.js +2 -0
- package/dist/interfaces/accountNumberSequenceInterface.d.ts +11 -0
- package/dist/interfaces/accountNumberSequenceInterface.js +2 -0
- package/dist/interfaces/accountPeriodLockInterface.d.ts +11 -0
- package/dist/interfaces/accountPeriodLockInterface.js +2 -0
- package/dist/interfaces/accountVoucherTypeInterface.d.ts +12 -0
- package/dist/interfaces/accountVoucherTypeInterface.js +2 -0
- package/dist/interfaces/index.d.ts +10 -0
- package/dist/interfaces/index.js +10 -0
- package/dist/models/psql/accountCostCenterModel.d.ts +23 -0
- package/dist/models/psql/accountCostCenterModel.js +86 -0
- package/dist/models/psql/accountFinancialYearModel.d.ts +23 -0
- package/dist/models/psql/accountFinancialYearModel.js +81 -0
- package/dist/models/psql/accountGroupModel.d.ts +23 -0
- package/dist/models/psql/accountGroupModel.js +83 -0
- package/dist/models/psql/accountLedgerModel.d.ts +26 -0
- package/dist/models/psql/accountLedgerModel.js +98 -0
- package/dist/models/psql/accountLedgerOpeningModel.d.ts +22 -0
- package/dist/models/psql/accountLedgerOpeningModel.js +77 -0
- package/dist/models/psql/accountNumberSequenceModel.d.ts +21 -0
- package/dist/models/psql/accountNumberSequenceModel.js +74 -0
- package/dist/models/psql/accountPeriodLockModel.d.ts +21 -0
- package/dist/models/psql/accountPeriodLockModel.js +73 -0
- package/dist/models/psql/accountVoucherTypeModel.d.ts +22 -0
- package/dist/models/psql/accountVoucherTypeModel.js +69 -0
- package/dist/models/psql/index.d.ts +8 -0
- package/dist/models/psql/index.js +17 -1
- package/dist/types/accountCostCenterType.d.ts +3 -0
- package/dist/types/accountCostCenterType.js +2 -0
- package/dist/types/accountFinancialYearType.d.ts +3 -0
- package/dist/types/accountFinancialYearType.js +2 -0
- package/dist/types/accountGroupType.d.ts +3 -0
- package/dist/types/accountGroupType.js +2 -0
- package/dist/types/accountLedgerOpeningType.d.ts +3 -0
- package/dist/types/accountLedgerOpeningType.js +2 -0
- package/dist/types/accountLedgerType.d.ts +3 -0
- package/dist/types/accountLedgerType.js +2 -0
- package/dist/types/accountNumberSequenceType.d.ts +3 -0
- package/dist/types/accountNumberSequenceType.js +2 -0
- package/dist/types/accountPeriodLockType.d.ts +3 -0
- package/dist/types/accountPeriodLockType.js +2 -0
- package/dist/types/accountVoucherTypeType.d.ts +3 -0
- package/dist/types/accountVoucherTypeType.js +2 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/index.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Model } from 'sequelize';
|
|
2
|
+
import { IAccountNumberSequenceModelAttributes } from '../../interfaces/accountNumberSequenceInterface';
|
|
3
|
+
import { TAccountNumberSequenceModelCreationAttributes } from '../../types/accountNumberSequenceType';
|
|
4
|
+
declare class AccountNumberSequenceModel extends Model<IAccountNumberSequenceModelAttributes, TAccountNumberSequenceModelCreationAttributes> implements IAccountNumberSequenceModelAttributes {
|
|
5
|
+
id: string;
|
|
6
|
+
instituteId: string;
|
|
7
|
+
academicCalendarId: string;
|
|
8
|
+
financialYearId: string;
|
|
9
|
+
sequenceKey: string;
|
|
10
|
+
prefix: string;
|
|
11
|
+
currentNumber: number;
|
|
12
|
+
padding: number;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
updatedBy?: string;
|
|
15
|
+
deletedBy?: string;
|
|
16
|
+
readonly createdAt: Date;
|
|
17
|
+
readonly updatedAt: Date;
|
|
18
|
+
readonly deletedAt?: Date;
|
|
19
|
+
static associate(models: any): void;
|
|
20
|
+
}
|
|
21
|
+
export default AccountNumberSequenceModel;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const sequelize_1 = require("sequelize");
|
|
4
|
+
const index_1 = require("./index");
|
|
5
|
+
class AccountNumberSequenceModel extends sequelize_1.Model {
|
|
6
|
+
static associate(models) {
|
|
7
|
+
const { AccountFinancialYearModel, InstituteModel, AcademicCalendarModel } = models;
|
|
8
|
+
if (AccountFinancialYearModel) {
|
|
9
|
+
AccountNumberSequenceModel.belongsTo(AccountFinancialYearModel, { foreignKey: { name: 'financialYearId', field: 'financial_year_id' }, as: 'financialYear' });
|
|
10
|
+
}
|
|
11
|
+
if (InstituteModel) {
|
|
12
|
+
AccountNumberSequenceModel.belongsTo(InstituteModel, { foreignKey: 'instituteId', as: 'institute' });
|
|
13
|
+
}
|
|
14
|
+
if (AcademicCalendarModel) {
|
|
15
|
+
AccountNumberSequenceModel.belongsTo(AcademicCalendarModel, { foreignKey: 'academicCalendarId', as: 'academicCalendar' });
|
|
16
|
+
}
|
|
17
|
+
const { UserModel } = models;
|
|
18
|
+
if (UserModel) {
|
|
19
|
+
AccountNumberSequenceModel.belongsTo(UserModel, { foreignKey: { name: 'createdBy', allowNull: true, field: 'created_by' }, as: 'createdByUser' });
|
|
20
|
+
AccountNumberSequenceModel.belongsTo(UserModel, { foreignKey: { name: 'updatedBy', allowNull: true, field: 'updated_by' }, as: 'updatedByUser' });
|
|
21
|
+
AccountNumberSequenceModel.belongsTo(UserModel, { foreignKey: { name: 'deletedBy', allowNull: true, field: 'deleted_by' }, as: 'deletedByUser' });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
AccountNumberSequenceModel.init({
|
|
26
|
+
id: {
|
|
27
|
+
type: sequelize_1.DataTypes.UUID,
|
|
28
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
29
|
+
primaryKey: true,
|
|
30
|
+
allowNull: false,
|
|
31
|
+
},
|
|
32
|
+
instituteId: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: true,
|
|
35
|
+
field: 'institute_id',
|
|
36
|
+
},
|
|
37
|
+
academicCalendarId: {
|
|
38
|
+
type: sequelize_1.DataTypes.UUID,
|
|
39
|
+
allowNull: true,
|
|
40
|
+
field: 'academic_calendar_id',
|
|
41
|
+
},
|
|
42
|
+
financialYearId: {
|
|
43
|
+
type: sequelize_1.DataTypes.UUID,
|
|
44
|
+
allowNull: true,
|
|
45
|
+
field: 'financial_year_id',
|
|
46
|
+
},
|
|
47
|
+
sequenceKey: {
|
|
48
|
+
type: sequelize_1.DataTypes.STRING,
|
|
49
|
+
allowNull: true,
|
|
50
|
+
field: 'sequence_key',
|
|
51
|
+
},
|
|
52
|
+
prefix: {
|
|
53
|
+
type: sequelize_1.DataTypes.STRING,
|
|
54
|
+
allowNull: true,
|
|
55
|
+
},
|
|
56
|
+
currentNumber: {
|
|
57
|
+
type: sequelize_1.DataTypes.INTEGER,
|
|
58
|
+
allowNull: true,
|
|
59
|
+
defaultValue: 1,
|
|
60
|
+
field: 'current_number',
|
|
61
|
+
},
|
|
62
|
+
padding: {
|
|
63
|
+
type: sequelize_1.DataTypes.INTEGER,
|
|
64
|
+
allowNull: true,
|
|
65
|
+
defaultValue: 4,
|
|
66
|
+
},
|
|
67
|
+
}, {
|
|
68
|
+
sequelize: index_1.sequelize,
|
|
69
|
+
modelName: 'AccountNumberSequenceModel',
|
|
70
|
+
tableName: 'account_number_sequences',
|
|
71
|
+
timestamps: true,
|
|
72
|
+
paranoid: true,
|
|
73
|
+
});
|
|
74
|
+
exports.default = AccountNumberSequenceModel;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Model } from 'sequelize';
|
|
2
|
+
import { IAccountPeriodLockModelAttributes } from '../../interfaces/accountPeriodLockInterface';
|
|
3
|
+
import { TAccountPeriodLockModelCreationAttributes } from '../../types/accountPeriodLockType';
|
|
4
|
+
declare class AccountPeriodLockModel extends Model<IAccountPeriodLockModelAttributes, TAccountPeriodLockModelCreationAttributes> implements IAccountPeriodLockModelAttributes {
|
|
5
|
+
id: string;
|
|
6
|
+
instituteId: string;
|
|
7
|
+
academicCalendarId: string;
|
|
8
|
+
financialYearId: string;
|
|
9
|
+
periodStart: Date;
|
|
10
|
+
periodEnd: Date;
|
|
11
|
+
lockedBy: string;
|
|
12
|
+
reason: string;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
updatedBy?: string;
|
|
15
|
+
deletedBy?: string;
|
|
16
|
+
readonly createdAt: Date;
|
|
17
|
+
readonly updatedAt: Date;
|
|
18
|
+
readonly deletedAt?: Date;
|
|
19
|
+
static associate(models: any): void;
|
|
20
|
+
}
|
|
21
|
+
export default AccountPeriodLockModel;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const sequelize_1 = require("sequelize");
|
|
4
|
+
const index_1 = require("./index");
|
|
5
|
+
class AccountPeriodLockModel extends sequelize_1.Model {
|
|
6
|
+
static associate(models) {
|
|
7
|
+
const { AccountFinancialYearModel, InstituteModel, AcademicCalendarModel } = models;
|
|
8
|
+
if (AccountFinancialYearModel) {
|
|
9
|
+
AccountPeriodLockModel.belongsTo(AccountFinancialYearModel, { foreignKey: { name: 'financialYearId', field: 'financial_year_id' }, as: 'financialYear' });
|
|
10
|
+
}
|
|
11
|
+
if (InstituteModel) {
|
|
12
|
+
AccountPeriodLockModel.belongsTo(InstituteModel, { foreignKey: 'instituteId', as: 'institute' });
|
|
13
|
+
}
|
|
14
|
+
if (AcademicCalendarModel) {
|
|
15
|
+
AccountPeriodLockModel.belongsTo(AcademicCalendarModel, { foreignKey: 'academicCalendarId', as: 'academicCalendar' });
|
|
16
|
+
}
|
|
17
|
+
const { UserModel } = models;
|
|
18
|
+
if (UserModel) {
|
|
19
|
+
AccountPeriodLockModel.belongsTo(UserModel, { foreignKey: { name: 'createdBy', allowNull: true, field: 'created_by' }, as: 'createdByUser' });
|
|
20
|
+
AccountPeriodLockModel.belongsTo(UserModel, { foreignKey: { name: 'updatedBy', allowNull: true, field: 'updated_by' }, as: 'updatedByUser' });
|
|
21
|
+
AccountPeriodLockModel.belongsTo(UserModel, { foreignKey: { name: 'deletedBy', allowNull: true, field: 'deleted_by' }, as: 'deletedByUser' });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
AccountPeriodLockModel.init({
|
|
26
|
+
id: {
|
|
27
|
+
type: sequelize_1.DataTypes.UUID,
|
|
28
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
29
|
+
primaryKey: true,
|
|
30
|
+
allowNull: false,
|
|
31
|
+
},
|
|
32
|
+
instituteId: {
|
|
33
|
+
type: sequelize_1.DataTypes.UUID,
|
|
34
|
+
allowNull: true,
|
|
35
|
+
field: 'institute_id',
|
|
36
|
+
},
|
|
37
|
+
academicCalendarId: {
|
|
38
|
+
type: sequelize_1.DataTypes.UUID,
|
|
39
|
+
allowNull: true,
|
|
40
|
+
field: 'academic_calendar_id',
|
|
41
|
+
},
|
|
42
|
+
financialYearId: {
|
|
43
|
+
type: sequelize_1.DataTypes.UUID,
|
|
44
|
+
allowNull: true,
|
|
45
|
+
field: 'financial_year_id',
|
|
46
|
+
},
|
|
47
|
+
periodStart: {
|
|
48
|
+
type: sequelize_1.DataTypes.DATE,
|
|
49
|
+
allowNull: true,
|
|
50
|
+
field: 'period_start',
|
|
51
|
+
},
|
|
52
|
+
periodEnd: {
|
|
53
|
+
type: sequelize_1.DataTypes.DATE,
|
|
54
|
+
allowNull: true,
|
|
55
|
+
field: 'period_end',
|
|
56
|
+
},
|
|
57
|
+
lockedBy: {
|
|
58
|
+
type: sequelize_1.DataTypes.UUID,
|
|
59
|
+
allowNull: true,
|
|
60
|
+
field: 'locked_by',
|
|
61
|
+
},
|
|
62
|
+
reason: {
|
|
63
|
+
type: sequelize_1.DataTypes.STRING,
|
|
64
|
+
allowNull: true,
|
|
65
|
+
},
|
|
66
|
+
}, {
|
|
67
|
+
sequelize: index_1.sequelize,
|
|
68
|
+
modelName: 'AccountPeriodLockModel',
|
|
69
|
+
tableName: 'account_period_locks',
|
|
70
|
+
timestamps: true,
|
|
71
|
+
paranoid: true,
|
|
72
|
+
});
|
|
73
|
+
exports.default = AccountPeriodLockModel;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Model } from 'sequelize';
|
|
2
|
+
import { IAccountVoucherTypeModelAttributes } from '../../interfaces/accountVoucherTypeInterface';
|
|
3
|
+
import { TAccountVoucherTypeModelCreationAttributes } from '../../types/accountVoucherTypeType';
|
|
4
|
+
import { AccountVoucherTypeCode } from '../../constants/app';
|
|
5
|
+
declare class AccountVoucherTypeModel extends Model<IAccountVoucherTypeModelAttributes, TAccountVoucherTypeModelCreationAttributes> implements IAccountVoucherTypeModelAttributes {
|
|
6
|
+
id: string;
|
|
7
|
+
instituteId: string;
|
|
8
|
+
academicCalendarId: string;
|
|
9
|
+
code: AccountVoucherTypeCode;
|
|
10
|
+
name: string;
|
|
11
|
+
prefix: string | null;
|
|
12
|
+
numberingPattern: string | null;
|
|
13
|
+
requiresApproval: boolean;
|
|
14
|
+
createdBy?: string;
|
|
15
|
+
updatedBy?: string;
|
|
16
|
+
deletedBy?: string;
|
|
17
|
+
readonly createdAt: Date;
|
|
18
|
+
readonly updatedAt: Date;
|
|
19
|
+
readonly deletedAt?: Date;
|
|
20
|
+
static associate(models: any): void;
|
|
21
|
+
}
|
|
22
|
+
export default AccountVoucherTypeModel;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const sequelize_1 = require("sequelize");
|
|
4
|
+
const index_1 = require("./index");
|
|
5
|
+
class AccountVoucherTypeModel extends sequelize_1.Model {
|
|
6
|
+
static associate(models) {
|
|
7
|
+
const { InstituteModel, AcademicCalendarModel } = models;
|
|
8
|
+
if (InstituteModel) {
|
|
9
|
+
AccountVoucherTypeModel.belongsTo(InstituteModel, { foreignKey: 'instituteId', as: 'institute' });
|
|
10
|
+
}
|
|
11
|
+
if (AcademicCalendarModel) {
|
|
12
|
+
AccountVoucherTypeModel.belongsTo(AcademicCalendarModel, { foreignKey: 'academicCalendarId', as: 'academicCalendar' });
|
|
13
|
+
}
|
|
14
|
+
const { UserModel } = models;
|
|
15
|
+
if (UserModel) {
|
|
16
|
+
AccountVoucherTypeModel.belongsTo(UserModel, { foreignKey: { name: 'createdBy', allowNull: true, field: 'created_by' }, as: 'createdByUser' });
|
|
17
|
+
AccountVoucherTypeModel.belongsTo(UserModel, { foreignKey: { name: 'updatedBy', allowNull: true, field: 'updated_by' }, as: 'updatedByUser' });
|
|
18
|
+
AccountVoucherTypeModel.belongsTo(UserModel, { foreignKey: { name: 'deletedBy', allowNull: true, field: 'deleted_by' }, as: 'deletedByUser' });
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
AccountVoucherTypeModel.init({
|
|
23
|
+
id: {
|
|
24
|
+
type: sequelize_1.DataTypes.UUID,
|
|
25
|
+
defaultValue: sequelize_1.DataTypes.UUIDV4,
|
|
26
|
+
primaryKey: true,
|
|
27
|
+
allowNull: false,
|
|
28
|
+
},
|
|
29
|
+
instituteId: {
|
|
30
|
+
type: sequelize_1.DataTypes.UUID,
|
|
31
|
+
allowNull: true,
|
|
32
|
+
field: 'institute_id',
|
|
33
|
+
},
|
|
34
|
+
academicCalendarId: {
|
|
35
|
+
type: sequelize_1.DataTypes.UUID,
|
|
36
|
+
allowNull: true,
|
|
37
|
+
field: 'academic_calendar_id',
|
|
38
|
+
},
|
|
39
|
+
code: {
|
|
40
|
+
type: sequelize_1.DataTypes.STRING,
|
|
41
|
+
allowNull: true,
|
|
42
|
+
},
|
|
43
|
+
name: {
|
|
44
|
+
type: sequelize_1.DataTypes.STRING,
|
|
45
|
+
allowNull: true,
|
|
46
|
+
},
|
|
47
|
+
prefix: {
|
|
48
|
+
type: sequelize_1.DataTypes.STRING,
|
|
49
|
+
allowNull: true,
|
|
50
|
+
},
|
|
51
|
+
numberingPattern: {
|
|
52
|
+
type: sequelize_1.DataTypes.STRING,
|
|
53
|
+
allowNull: true,
|
|
54
|
+
field: 'numbering_pattern',
|
|
55
|
+
},
|
|
56
|
+
requiresApproval: {
|
|
57
|
+
type: sequelize_1.DataTypes.BOOLEAN,
|
|
58
|
+
allowNull: true,
|
|
59
|
+
defaultValue: false,
|
|
60
|
+
field: 'requires_approval',
|
|
61
|
+
},
|
|
62
|
+
}, {
|
|
63
|
+
sequelize: index_1.sequelize,
|
|
64
|
+
modelName: 'AccountVoucherTypeModel',
|
|
65
|
+
tableName: 'account_voucher_types',
|
|
66
|
+
timestamps: true,
|
|
67
|
+
paranoid: true,
|
|
68
|
+
});
|
|
69
|
+
exports.default = AccountVoucherTypeModel;
|
|
@@ -166,3 +166,11 @@ export { default as RmsFacilityModel } from './rmsFacilityModel';
|
|
|
166
166
|
export { default as RmsFacilityBookingModel } from './rmsFacilityBookingModel';
|
|
167
167
|
export { default as RmsBudgetModel } from './rmsBudgetModel';
|
|
168
168
|
export { default as RmsExpenseEntryModel } from './rmsExpenseEntryModel';
|
|
169
|
+
export { default as AccountFinancialYearModel } from './accountFinancialYearModel';
|
|
170
|
+
export { default as AccountPeriodLockModel } from './accountPeriodLockModel';
|
|
171
|
+
export { default as AccountNumberSequenceModel } from './accountNumberSequenceModel';
|
|
172
|
+
export { default as AccountGroupModel } from './accountGroupModel';
|
|
173
|
+
export { default as AccountLedgerModel } from './accountLedgerModel';
|
|
174
|
+
export { default as AccountLedgerOpeningModel } from './accountLedgerOpeningModel';
|
|
175
|
+
export { default as AccountCostCenterModel } from './accountCostCenterModel';
|
|
176
|
+
export { default as AccountVoucherTypeModel } from './accountVoucherTypeModel';
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.ProjectAssessmentOptionModel = exports.ProductModel = exports.PincodeModel = exports.PdcHistoryModel = exports.PdcChequeModel = exports.OfferModel = exports.ModuleModel = exports.ModuleFeatureModel = exports.MasterLeaveModel = exports.LectureModel = exports.LectureHistoryModel = exports.InventoryModel = exports.InventoryHistoryModel = exports.InstituteSubscriptionPlanModel = exports.InstituteModel = exports.InstituteEntityTypeModel = exports.InstituteEntityModel = exports.HomeWorkModel = exports.GreetingsModel = exports.FloorManagementModel = exports.FileStorageModel = exports.FeeReminderSettingModel = exports.FeeReminderModel = exports.FeatureActionModel = exports.FacilityModel = exports.EntityGroupModel = exports.DriverModel = exports.CourseModel = exports.CourseHasVisitorsModel = exports.CountryModel = exports.ContactFeedBackModel = exports.CoinPurchaseOfferModel = exports.CloudStorageModel = exports.ClassRoomModel = exports.CityModel = exports.CategoriesModel = exports.BookAssessmentDateModel = exports.BatchSubjectProjectAssessmentModel = exports.BatchSubjectBookAssessmentModel = exports.BatchModel = exports.BannerModel = exports.BankAccountDetailsModel = exports.AreaModel = exports.AnnouncementModel = exports.AccountHasReceiptDetailsModel = exports.AcademicCalendarModel = exports.SubCategoriesModel = exports.Sequelize = exports.db = exports.sequelize = void 0;
|
|
7
7
|
exports.StudentLeaveRequestModel = exports.CloneListModel = exports.IncomeExpenseModel = exports.MaintenanceModel = exports.WorkOffDaysModel = exports.EntityWiseCalendarModel = exports.CampusModel = exports.LostFoundItemModel = exports.WorkingShiftModel = exports.WorkingDayModel = exports.WalletModel = exports.WalletHistoryModel = exports.VendorManagementModel = exports.VehicleModel = exports.UserRequiredStepsModel = exports.UserProjectAssessmentOptionModel = exports.UserPayoutModel = exports.UserModel = exports.UserLeaveRequestModel = exports.UserHasSubjectFeeModel = exports.UserHasStorageModel = exports.UserHasRollNumberModel = exports.UserHasRoleModel = exports.UserHasParentModel = exports.UserHasOfferModel = exports.UserHasLeaveModel = exports.UserHasLeaveHistoryModel = exports.UserHasInventoryModel = exports.UserHasInventoryHistoryModel = exports.UserHasHomeWorkModel = exports.UserHasFileModel = exports.UserHasDeviceModel = exports.UserHasCourseModel = exports.UserHasBatchModel = exports.UserHasAnnouncementModel = exports.UserBookAssessmentModel = exports.TypeManagementModel = exports.TripModel = exports.TokenModel = exports.ToDoModel = exports.TestimonialModel = exports.SyllabusModel = exports.SubjectHasPayFeeHistoryModel = exports.SubjectHasFeeModel = exports.StateModel = exports.SlotModel = exports.SendNotificationModel = exports.SchoolOfferModel = exports.RulesRegulationModel = exports.RoleModel = void 0;
|
|
8
8
|
exports.RmsPurchaseOrderItemModel = exports.RmsPurchaseOrderModel = exports.RmsPurchaseRequestItemModel = exports.RmsPurchaseRequestModel = exports.RmsVendorDocumentModel = exports.RmsVendorModel = exports.RmsStockTransactionModel = exports.RmsStockModel = exports.RmsResourceModel = exports.RmsLocationModel = exports.RmsDepartmentModel = exports.DynamicVariableLabelModel = exports.DynamicVariableModel = exports.CertificateRequestModel = exports.FeeSubmissionTrackModel = exports.UserHasFeeSubmissionModel = exports.AssignSubjectModel = exports.InstitutePartnersModel = exports.InstituteOwnershipHistoryModel = exports.UserHasPenaltyHistoryModel = exports.PastYearRecordModel = exports.PayoutTransactionHistoryModel = exports.AdditionalPayoutModel = exports.LoanEmiModel = exports.UserLoanModel = exports.NoticeboardModel = exports.UserPermissionModel = exports.RoleManagementModel = exports.PermissionModel = exports.DesignationModel = exports.AdditionalPayoutTypeModel = exports.VisitorBookModel = exports.PostalDispatchModel = exports.CallRegisterModel = exports.UserHasOfferAndDiscountModel = exports.UserAcceptedTermsAndCondition = exports.SubjectInternalMarkModel = exports.InternalMarkModel = exports.TermsAndConditionModel = exports.FeeType1Model = exports.StudentFeeTermsModel = exports.UserHasPenaltyModel = exports.PenaltyModel = exports.ClassRoomCollectionModel = exports.ClassRoomEventModel = exports.StudentFeeTypeCollectionModel = exports.SchoolFeeTermsModel = exports.StudentFeeHistoryModel = exports.StudentFeeCollectionModel = exports.UserDirectoryModel = void 0;
|
|
9
|
-
exports.RmsExpenseEntryModel = exports.RmsBudgetModel = exports.RmsFacilityBookingModel = exports.RmsFacilityModel = exports.RmsMaintenanceActivityModel = exports.RmsMaintenanceTicketModel = exports.RefundCollectionModule = exports.RmsAssetTransactionModel = exports.RmsStorageSlotModel = exports.RmsStorageRackModel = exports.UserHasGraceMarksModel = exports.GraceMarksModel = exports.RmsAssetModel = exports.RmsGrnItemTransactionModel = exports.RmsGrnItemModel = exports.RmsGrnModel = void 0;
|
|
9
|
+
exports.AccountVoucherTypeModel = exports.AccountCostCenterModel = exports.AccountLedgerOpeningModel = exports.AccountLedgerModel = exports.AccountGroupModel = exports.AccountNumberSequenceModel = exports.AccountPeriodLockModel = exports.AccountFinancialYearModel = exports.RmsExpenseEntryModel = exports.RmsBudgetModel = exports.RmsFacilityBookingModel = exports.RmsFacilityModel = exports.RmsMaintenanceActivityModel = exports.RmsMaintenanceTicketModel = exports.RefundCollectionModule = exports.RmsAssetTransactionModel = exports.RmsStorageSlotModel = exports.RmsStorageRackModel = exports.UserHasGraceMarksModel = exports.GraceMarksModel = exports.RmsAssetModel = exports.RmsGrnItemTransactionModel = exports.RmsGrnItemModel = exports.RmsGrnModel = void 0;
|
|
10
10
|
const sequelize_1 = require("sequelize");
|
|
11
11
|
Object.defineProperty(exports, "Sequelize", { enumerable: true, get: function () { return sequelize_1.Sequelize; } });
|
|
12
12
|
const postgresConfig = require('../../configs/postgresConfig');
|
|
@@ -428,3 +428,19 @@ var rmsBudgetModel_1 = require("./rmsBudgetModel");
|
|
|
428
428
|
Object.defineProperty(exports, "RmsBudgetModel", { enumerable: true, get: function () { return __importDefault(rmsBudgetModel_1).default; } });
|
|
429
429
|
var rmsExpenseEntryModel_1 = require("./rmsExpenseEntryModel");
|
|
430
430
|
Object.defineProperty(exports, "RmsExpenseEntryModel", { enumerable: true, get: function () { return __importDefault(rmsExpenseEntryModel_1).default; } });
|
|
431
|
+
var accountFinancialYearModel_1 = require("./accountFinancialYearModel");
|
|
432
|
+
Object.defineProperty(exports, "AccountFinancialYearModel", { enumerable: true, get: function () { return __importDefault(accountFinancialYearModel_1).default; } });
|
|
433
|
+
var accountPeriodLockModel_1 = require("./accountPeriodLockModel");
|
|
434
|
+
Object.defineProperty(exports, "AccountPeriodLockModel", { enumerable: true, get: function () { return __importDefault(accountPeriodLockModel_1).default; } });
|
|
435
|
+
var accountNumberSequenceModel_1 = require("./accountNumberSequenceModel");
|
|
436
|
+
Object.defineProperty(exports, "AccountNumberSequenceModel", { enumerable: true, get: function () { return __importDefault(accountNumberSequenceModel_1).default; } });
|
|
437
|
+
var accountGroupModel_1 = require("./accountGroupModel");
|
|
438
|
+
Object.defineProperty(exports, "AccountGroupModel", { enumerable: true, get: function () { return __importDefault(accountGroupModel_1).default; } });
|
|
439
|
+
var accountLedgerModel_1 = require("./accountLedgerModel");
|
|
440
|
+
Object.defineProperty(exports, "AccountLedgerModel", { enumerable: true, get: function () { return __importDefault(accountLedgerModel_1).default; } });
|
|
441
|
+
var accountLedgerOpeningModel_1 = require("./accountLedgerOpeningModel");
|
|
442
|
+
Object.defineProperty(exports, "AccountLedgerOpeningModel", { enumerable: true, get: function () { return __importDefault(accountLedgerOpeningModel_1).default; } });
|
|
443
|
+
var accountCostCenterModel_1 = require("./accountCostCenterModel");
|
|
444
|
+
Object.defineProperty(exports, "AccountCostCenterModel", { enumerable: true, get: function () { return __importDefault(accountCostCenterModel_1).default; } });
|
|
445
|
+
var accountVoucherTypeModel_1 = require("./accountVoucherTypeModel");
|
|
446
|
+
Object.defineProperty(exports, "AccountVoucherTypeModel", { enumerable: true, get: function () { return __importDefault(accountVoucherTypeModel_1).default; } });
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Optional } from 'sequelize';
|
|
2
|
+
import { IAccountCostCenterModelAttributes } from '../interfaces/accountCostCenterInterface';
|
|
3
|
+
export type TAccountCostCenterModelCreationAttributes = Optional<IAccountCostCenterModelAttributes, 'id' | 'parentCostCenterId' | 'refType' | 'refId' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'createdBy' | 'updatedBy' | 'deletedBy'>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Optional } from 'sequelize';
|
|
2
|
+
import { IAccountFinancialYearModelAttributes } from '../interfaces/accountFinancialYearInterface';
|
|
3
|
+
export type TAccountFinancialYearModelCreationAttributes = Optional<IAccountFinancialYearModelAttributes, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Optional } from 'sequelize';
|
|
2
|
+
import { IAccountGroupModelAttributes } from '../interfaces/accountGroupInterface';
|
|
3
|
+
export type TAccountGroupModelCreationAttributes = Optional<IAccountGroupModelAttributes, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'createdBy' | 'updatedBy' | 'deletedBy'>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Optional } from 'sequelize';
|
|
2
|
+
import { IAccountLedgerOpeningModelAttributes } from '../interfaces/accountLedgerOpeningInterface';
|
|
3
|
+
export type TAccountLedgerOpeningModelCreationAttributes = Optional<IAccountLedgerOpeningModelAttributes, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'createdBy' | 'updatedBy' | 'deletedBy'>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Optional } from 'sequelize';
|
|
2
|
+
import { IAccountLedgerModelAttributes } from '../interfaces/accountLedgerInterface';
|
|
3
|
+
export type TAccountLedgerModelCreationAttributes = Optional<IAccountLedgerModelAttributes, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'createdBy' | 'updatedBy' | 'deletedBy'>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Optional } from 'sequelize';
|
|
2
|
+
import { IAccountNumberSequenceModelAttributes } from '../interfaces/accountNumberSequenceInterface';
|
|
3
|
+
export type TAccountNumberSequenceModelCreationAttributes = Optional<IAccountNumberSequenceModelAttributes, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'createdBy' | 'updatedBy' | 'deletedBy'>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Optional } from 'sequelize';
|
|
2
|
+
import { IAccountPeriodLockModelAttributes } from '../interfaces/accountPeriodLockInterface';
|
|
3
|
+
export type TAccountPeriodLockModelCreationAttributes = Optional<IAccountPeriodLockModelAttributes, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'createdBy' | 'updatedBy' | 'deletedBy'>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Optional } from 'sequelize';
|
|
2
|
+
import { IAccountVoucherTypeModelAttributes } from '../interfaces/accountVoucherTypeInterface';
|
|
3
|
+
export type TAccountVoucherTypeModelCreationAttributes = Optional<IAccountVoucherTypeModelAttributes, 'id' | 'prefix' | 'numberingPattern' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'createdBy' | 'updatedBy' | 'deletedBy'>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from './academicCalendarType';
|
|
2
|
+
export * from './accountFinancialYearType';
|
|
3
|
+
export * from './accountPeriodLockType';
|
|
2
4
|
export * from './accountHasReceiptDetailsType';
|
|
3
5
|
export * from './announcementType';
|
|
4
6
|
export * from './approveRequestType';
|
|
@@ -230,3 +232,11 @@ export * from './rmsResourceDetailsType';
|
|
|
230
232
|
export * from './userFinalResultType';
|
|
231
233
|
export * from './refundType';
|
|
232
234
|
export * from './kipiverseContactFormType';
|
|
235
|
+
export * from './accountFinancialYearType';
|
|
236
|
+
export * from './accountPeriodLockType';
|
|
237
|
+
export * from './accountNumberSequenceType';
|
|
238
|
+
export * from './accountGroupType';
|
|
239
|
+
export * from './accountLedgerType';
|
|
240
|
+
export * from './accountLedgerOpeningType';
|
|
241
|
+
export * from './accountCostCenterType';
|
|
242
|
+
export * from './accountVoucherTypeType';
|
package/dist/types/index.js
CHANGED
|
@@ -15,6 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./academicCalendarType"), exports);
|
|
18
|
+
__exportStar(require("./accountFinancialYearType"), exports);
|
|
19
|
+
__exportStar(require("./accountPeriodLockType"), exports);
|
|
18
20
|
__exportStar(require("./accountHasReceiptDetailsType"), exports);
|
|
19
21
|
__exportStar(require("./announcementType"), exports);
|
|
20
22
|
__exportStar(require("./approveRequestType"), exports);
|
|
@@ -246,3 +248,11 @@ __exportStar(require("./rmsResourceDetailsType"), exports);
|
|
|
246
248
|
__exportStar(require("./userFinalResultType"), exports);
|
|
247
249
|
__exportStar(require("./refundType"), exports);
|
|
248
250
|
__exportStar(require("./kipiverseContactFormType"), exports);
|
|
251
|
+
__exportStar(require("./accountFinancialYearType"), exports);
|
|
252
|
+
__exportStar(require("./accountPeriodLockType"), exports);
|
|
253
|
+
__exportStar(require("./accountNumberSequenceType"), exports);
|
|
254
|
+
__exportStar(require("./accountGroupType"), exports);
|
|
255
|
+
__exportStar(require("./accountLedgerType"), exports);
|
|
256
|
+
__exportStar(require("./accountLedgerOpeningType"), exports);
|
|
257
|
+
__exportStar(require("./accountCostCenterType"), exports);
|
|
258
|
+
__exportStar(require("./accountVoucherTypeType"), exports);
|
package/package.json
CHANGED