cloud-ide-lms-model 1.0.328 → 1.0.330
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/lib/model/academics/aca_class_prg_branch.d.ts +6 -0
- package/lib/model/academics/aca_class_program_master.d.ts +26 -2
- package/lib/model/fees/fee_discount_rule.d.ts +57 -0
- package/lib/model/fees/fee_discount_rule.js +77 -0
- package/lib/model/fees/fee_payment.d.ts +46 -0
- package/lib/model/fees/fee_payment.js +64 -0
- package/lib/model/fees/fee_receipt_template.d.ts +57 -0
- package/lib/model/fees/fee_receipt_template.js +74 -0
- package/lib/model/fees/fee_structure.d.ts +57 -0
- package/lib/model/fees/fee_structure.js +80 -0
- package/lib/model/fees/index.d.ts +4 -0
- package/lib/model/fees/index.js +20 -0
- package/lib/model/index.d.ts +2 -0
- package/lib/model/index.js +2 -0
- package/lib/model/notifications/index.d.ts +1 -0
- package/lib/model/notifications/index.js +17 -0
- package/lib/model/notifications/notification.d.ts +105 -0
- package/lib/model/notifications/notification.js +68 -0
- package/lib/routes/feesRoutes.d.ts +15 -0
- package/lib/routes/feesRoutes.js +20 -0
- package/lib/routes/index.d.ts +2 -0
- package/lib/routes/index.js +2 -0
- package/lib/routes/notificationRoutes.d.ts +16 -0
- package/lib/routes/notificationRoutes.js +21 -0
- package/lib/schema/academics/aca_class_prg_branch.d.ts +1 -0
- package/lib/schema/admission/admission_application_main.d.ts +3 -0
- package/lib/schema/collection_names.d.ts +16 -0
- package/lib/schema/collection_names.js +18 -1
- package/lib/schema/fees/fee_assignment.d.ts +29 -0
- package/lib/schema/fees/fee_assignment.js +10 -0
- package/lib/schema/fees/fee_collection_config.d.ts +26 -0
- package/lib/schema/fees/fee_collection_config.js +10 -0
- package/lib/schema/fees/fee_discount.d.ts +23 -0
- package/lib/schema/fees/fee_discount.js +10 -0
- package/lib/schema/fees/fee_discount_rule.d.ts +28 -0
- package/lib/schema/fees/fee_discount_rule.js +10 -0
- package/lib/schema/fees/fee_installment_config.d.ts +35 -0
- package/lib/schema/fees/fee_installment_config.js +10 -0
- package/lib/schema/fees/fee_installment_item.d.ts +19 -0
- package/lib/schema/fees/fee_installment_item.js +10 -0
- package/lib/schema/fees/fee_late_fee.d.ts +22 -0
- package/lib/schema/fees/fee_late_fee.js +10 -0
- package/lib/schema/fees/fee_late_fee_rule.d.ts +28 -0
- package/lib/schema/fees/fee_late_fee_rule.js +10 -0
- package/lib/schema/fees/fee_payment.d.ts +35 -0
- package/lib/schema/fees/fee_payment.js +10 -0
- package/lib/schema/fees/fee_payment_item.d.ts +16 -0
- package/lib/schema/fees/fee_payment_item.js +10 -0
- package/lib/schema/fees/fee_receipt_template.d.ts +18 -0
- package/lib/schema/fees/fee_receipt_template.js +10 -0
- package/lib/schema/fees/fee_refund.d.ts +24 -0
- package/lib/schema/fees/fee_refund.js +10 -0
- package/lib/schema/fees/fee_scholarship.d.ts +24 -0
- package/lib/schema/fees/fee_scholarship.js +10 -0
- package/lib/schema/fees/fee_structure.d.ts +19 -0
- package/lib/schema/fees/fee_structure.js +10 -0
- package/lib/schema/fees/fee_structure_item.d.ts +28 -0
- package/lib/schema/fees/fee_structure_item.js +10 -0
- package/lib/schema/fees/fee_transaction.d.ts +20 -0
- package/lib/schema/fees/fee_transaction.js +10 -0
- package/lib/schema/fees/index.d.ts +16 -0
- package/lib/schema/fees/index.js +35 -0
- package/lib/schema/index.d.ts +2 -0
- package/lib/schema/index.js +2 -0
- package/lib/schema/notifications/index.d.ts +1 -0
- package/lib/schema/notifications/index.js +17 -0
- package/lib/schema/notifications/notification.d.ts +29 -0
- package/lib/schema/notifications/notification.js +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { MTableQueries } from "../../common-types/common";
|
|
2
|
+
import { controllerResponse } from "../../utilities";
|
|
3
|
+
type INotificationErrorLogger = {
|
|
4
|
+
[key in keyof NotificationListPayload]: string;
|
|
5
|
+
};
|
|
6
|
+
type INotificationGetByIdErrorLogger = {
|
|
7
|
+
[key in keyof NotificationGetByIdPayload]: string;
|
|
8
|
+
};
|
|
9
|
+
type INotificationCreateErrorLogger = {
|
|
10
|
+
[key in keyof NotificationCreatePayload]: string;
|
|
11
|
+
};
|
|
12
|
+
type INotificationMarkReadErrorLogger = {
|
|
13
|
+
[key in keyof NotificationMarkReadPayload]: string;
|
|
14
|
+
};
|
|
15
|
+
declare class NotificationListPayload extends MTableQueries {
|
|
16
|
+
not_id_user?: string;
|
|
17
|
+
not_status?: string;
|
|
18
|
+
not_type?: string;
|
|
19
|
+
not_category?: string;
|
|
20
|
+
not_priority?: string;
|
|
21
|
+
constructor(init: NotificationListPayload);
|
|
22
|
+
Validate?(): Partial<INotificationErrorLogger>;
|
|
23
|
+
}
|
|
24
|
+
declare class NotificationGetByIdPayload {
|
|
25
|
+
not_id?: string;
|
|
26
|
+
constructor(init: NotificationGetByIdPayload);
|
|
27
|
+
Validate?(): Partial<INotificationGetByIdErrorLogger>;
|
|
28
|
+
}
|
|
29
|
+
declare class NotificationCreatePayload {
|
|
30
|
+
not_id_user?: string;
|
|
31
|
+
not_type?: 'info' | 'success' | 'warning' | 'error' | 'system';
|
|
32
|
+
not_category?: string;
|
|
33
|
+
not_title?: string;
|
|
34
|
+
not_message?: string;
|
|
35
|
+
not_data?: any;
|
|
36
|
+
not_action_url?: string;
|
|
37
|
+
not_action_label?: string;
|
|
38
|
+
not_priority?: 'low' | 'normal' | 'high' | 'urgent';
|
|
39
|
+
not_channels?: {
|
|
40
|
+
in_app?: boolean;
|
|
41
|
+
email?: boolean;
|
|
42
|
+
sms?: boolean;
|
|
43
|
+
};
|
|
44
|
+
not_expires_at?: Date;
|
|
45
|
+
not_id_created_by?: string;
|
|
46
|
+
constructor(init: NotificationCreatePayload);
|
|
47
|
+
Validate?(): Partial<INotificationCreateErrorLogger>;
|
|
48
|
+
}
|
|
49
|
+
declare class NotificationMarkReadPayload {
|
|
50
|
+
not_id?: string;
|
|
51
|
+
constructor(init: NotificationMarkReadPayload);
|
|
52
|
+
Validate?(): Partial<INotificationMarkReadErrorLogger>;
|
|
53
|
+
}
|
|
54
|
+
declare class NotificationResponse {
|
|
55
|
+
_id?: string;
|
|
56
|
+
not_id_user?: string | {
|
|
57
|
+
_id?: string;
|
|
58
|
+
name?: string;
|
|
59
|
+
email?: string;
|
|
60
|
+
};
|
|
61
|
+
not_type?: 'info' | 'success' | 'warning' | 'error' | 'system';
|
|
62
|
+
not_category?: string;
|
|
63
|
+
not_title?: string;
|
|
64
|
+
not_message?: string;
|
|
65
|
+
not_data?: any;
|
|
66
|
+
not_action_url?: string;
|
|
67
|
+
not_action_label?: string;
|
|
68
|
+
not_status?: 'pending' | 'sent' | 'delivered' | 'read' | 'archived';
|
|
69
|
+
not_read_at?: Date;
|
|
70
|
+
not_delivered_at?: Date;
|
|
71
|
+
not_archived_at?: Date;
|
|
72
|
+
not_channels?: {
|
|
73
|
+
in_app?: boolean;
|
|
74
|
+
email?: boolean;
|
|
75
|
+
sms?: boolean;
|
|
76
|
+
};
|
|
77
|
+
not_priority?: 'low' | 'normal' | 'high' | 'urgent';
|
|
78
|
+
not_expires_at?: Date;
|
|
79
|
+
not_id_created_by?: string | {
|
|
80
|
+
_id?: string;
|
|
81
|
+
name?: string;
|
|
82
|
+
email?: string;
|
|
83
|
+
};
|
|
84
|
+
not_created_at?: Date;
|
|
85
|
+
not_updated_at?: Date;
|
|
86
|
+
}
|
|
87
|
+
interface notificationControllerResponse extends controllerResponse {
|
|
88
|
+
data?: NotificationResponse[];
|
|
89
|
+
total?: number;
|
|
90
|
+
}
|
|
91
|
+
interface notificationByIdControllerResponse extends controllerResponse {
|
|
92
|
+
data?: NotificationResponse;
|
|
93
|
+
}
|
|
94
|
+
interface notificationCreateControllerResponse extends controllerResponse {
|
|
95
|
+
data?: NotificationResponse;
|
|
96
|
+
}
|
|
97
|
+
interface notificationMarkReadControllerResponse extends controllerResponse {
|
|
98
|
+
data?: NotificationResponse;
|
|
99
|
+
}
|
|
100
|
+
interface notificationUnreadCountControllerResponse extends controllerResponse {
|
|
101
|
+
data?: {
|
|
102
|
+
count: number;
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export { INotificationErrorLogger, INotificationGetByIdErrorLogger, INotificationCreateErrorLogger, INotificationMarkReadErrorLogger, NotificationListPayload, NotificationGetByIdPayload, NotificationCreatePayload, NotificationMarkReadPayload, notificationControllerResponse, notificationByIdControllerResponse, notificationCreateControllerResponse, notificationMarkReadControllerResponse, notificationUnreadCountControllerResponse, NotificationResponse };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationResponse = exports.NotificationMarkReadPayload = exports.NotificationCreatePayload = exports.NotificationGetByIdPayload = exports.NotificationListPayload = void 0;
|
|
4
|
+
const common_1 = require("../../common-types/common");
|
|
5
|
+
/* INTERFACE END */
|
|
6
|
+
/* MODEL START */
|
|
7
|
+
class NotificationListPayload extends common_1.MTableQueries {
|
|
8
|
+
constructor(init) {
|
|
9
|
+
super(init);
|
|
10
|
+
Object.assign(this, init);
|
|
11
|
+
}
|
|
12
|
+
Validate() {
|
|
13
|
+
let errorLogger = {};
|
|
14
|
+
return errorLogger;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.NotificationListPayload = NotificationListPayload;
|
|
18
|
+
class NotificationGetByIdPayload {
|
|
19
|
+
constructor(init) {
|
|
20
|
+
Object.assign(this, init);
|
|
21
|
+
}
|
|
22
|
+
Validate() {
|
|
23
|
+
let errorLogger = {};
|
|
24
|
+
if (!this.not_id) {
|
|
25
|
+
errorLogger.not_id = "Notification ID is Required!";
|
|
26
|
+
}
|
|
27
|
+
return errorLogger;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.NotificationGetByIdPayload = NotificationGetByIdPayload;
|
|
31
|
+
class NotificationCreatePayload {
|
|
32
|
+
constructor(init) {
|
|
33
|
+
Object.assign(this, init);
|
|
34
|
+
}
|
|
35
|
+
Validate() {
|
|
36
|
+
let errorLogger = {};
|
|
37
|
+
if (!this.not_id_user) {
|
|
38
|
+
errorLogger.not_id_user = "User ID is Required!";
|
|
39
|
+
}
|
|
40
|
+
if (!this.not_title) {
|
|
41
|
+
errorLogger.not_title = "Title is Required!";
|
|
42
|
+
}
|
|
43
|
+
if (!this.not_message) {
|
|
44
|
+
errorLogger.not_message = "Message is Required!";
|
|
45
|
+
}
|
|
46
|
+
if (!this.not_category) {
|
|
47
|
+
errorLogger.not_category = "Category is Required!";
|
|
48
|
+
}
|
|
49
|
+
return errorLogger;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.NotificationCreatePayload = NotificationCreatePayload;
|
|
53
|
+
class NotificationMarkReadPayload {
|
|
54
|
+
constructor(init) {
|
|
55
|
+
Object.assign(this, init);
|
|
56
|
+
}
|
|
57
|
+
Validate() {
|
|
58
|
+
let errorLogger = {};
|
|
59
|
+
if (!this.not_id) {
|
|
60
|
+
errorLogger.not_id = "Notification ID is Required!";
|
|
61
|
+
}
|
|
62
|
+
return errorLogger;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.NotificationMarkReadPayload = NotificationMarkReadPayload;
|
|
66
|
+
class NotificationResponse {
|
|
67
|
+
}
|
|
68
|
+
exports.NotificationResponse = NotificationResponse;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const feesRoutesUrl: {
|
|
2
|
+
module: string;
|
|
3
|
+
structure: string;
|
|
4
|
+
payment: string;
|
|
5
|
+
discount: string;
|
|
6
|
+
discountRule: string;
|
|
7
|
+
scholarship: string;
|
|
8
|
+
lateFee: string;
|
|
9
|
+
lateFeeRule: string;
|
|
10
|
+
refund: string;
|
|
11
|
+
receiptTemplate: string;
|
|
12
|
+
assignment: string;
|
|
13
|
+
reports: string;
|
|
14
|
+
};
|
|
15
|
+
export { feesRoutesUrl };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.feesRoutesUrl = void 0;
|
|
4
|
+
const feesRoutesUrl = {
|
|
5
|
+
module: 'fees',
|
|
6
|
+
structure: 'structure',
|
|
7
|
+
payment: 'payment',
|
|
8
|
+
discount: 'discount',
|
|
9
|
+
discountRule: 'discount-rule',
|
|
10
|
+
scholarship: 'scholarship',
|
|
11
|
+
lateFee: 'late-fee',
|
|
12
|
+
lateFeeRule: 'late-fee-rule',
|
|
13
|
+
refund: 'refund',
|
|
14
|
+
receiptTemplate: 'receipt-template',
|
|
15
|
+
assignment: 'assignment',
|
|
16
|
+
reports: 'reports'
|
|
17
|
+
};
|
|
18
|
+
exports.feesRoutesUrl = feesRoutesUrl;
|
|
19
|
+
// Freeze the feesRoutesUrl object to prevent modifications
|
|
20
|
+
Object.freeze(feesRoutesUrl);
|
package/lib/routes/index.d.ts
CHANGED
package/lib/routes/index.js
CHANGED
|
@@ -23,3 +23,5 @@ __exportStar(require("./academicsRoutes"), exports);
|
|
|
23
23
|
__exportStar(require("./accountsRoutes"), exports);
|
|
24
24
|
__exportStar(require("./commonRoutes"), exports);
|
|
25
25
|
__exportStar(require("./frontdeskRoutes"), exports);
|
|
26
|
+
__exportStar(require("./feesRoutes"), exports);
|
|
27
|
+
__exportStar(require("./notificationRoutes"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Object containing URLs for notification-related endpoints.
|
|
3
|
+
* These URLs are used for various notification operations such as getting notifications, marking as read, etc.
|
|
4
|
+
*/
|
|
5
|
+
declare const notificationRoutesUrl: {
|
|
6
|
+
module: string;
|
|
7
|
+
/**
|
|
8
|
+
* Endpoint to get notifications (notifications)
|
|
9
|
+
*/
|
|
10
|
+
notifications: string;
|
|
11
|
+
/**
|
|
12
|
+
* Endpoint to get unread count (unread-count)
|
|
13
|
+
*/
|
|
14
|
+
unreadCount: string;
|
|
15
|
+
};
|
|
16
|
+
export { notificationRoutesUrl };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationRoutesUrl = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Object containing URLs for notification-related endpoints.
|
|
6
|
+
* These URLs are used for various notification operations such as getting notifications, marking as read, etc.
|
|
7
|
+
*/
|
|
8
|
+
const notificationRoutesUrl = {
|
|
9
|
+
module: 'notifications',
|
|
10
|
+
/**
|
|
11
|
+
* Endpoint to get notifications (notifications)
|
|
12
|
+
*/
|
|
13
|
+
notifications: "notifications",
|
|
14
|
+
/**
|
|
15
|
+
* Endpoint to get unread count (unread-count)
|
|
16
|
+
*/
|
|
17
|
+
unreadCount: "unread-count",
|
|
18
|
+
};
|
|
19
|
+
exports.notificationRoutesUrl = notificationRoutesUrl;
|
|
20
|
+
// Freeze the notificationRoutesUrl object to prevent modifications
|
|
21
|
+
Object.freeze(notificationRoutesUrl);
|
|
@@ -37,6 +37,9 @@ declare class AdmissionApplicationMain {
|
|
|
37
37
|
admap_program_applying_for?: string;
|
|
38
38
|
admap_program_category?: string;
|
|
39
39
|
admap_grade_level_applying_for_id_acacpm?: string;
|
|
40
|
+
admap_class_program_id_acacpm?: string;
|
|
41
|
+
admap_class_program_term_id_acapt?: string;
|
|
42
|
+
admap_class_program_branch_id_acabrn?: string;
|
|
40
43
|
admap_age_at_enrollment?: number;
|
|
41
44
|
admap_entry_semester_term?: string;
|
|
42
45
|
admap_academic_year_id_acayr?: string;
|
|
@@ -67,5 +67,21 @@ declare const COLLECTIONS: {
|
|
|
67
67
|
admission_elective_detail: string;
|
|
68
68
|
admission_status_history: string;
|
|
69
69
|
admission_document_uploads: string;
|
|
70
|
+
fee_structure: string;
|
|
71
|
+
fee_structure_item: string;
|
|
72
|
+
fee_assignment: string;
|
|
73
|
+
fee_payment: string;
|
|
74
|
+
fee_payment_item: string;
|
|
75
|
+
fee_discount: string;
|
|
76
|
+
fee_discount_rule: string;
|
|
77
|
+
fee_scholarship: string;
|
|
78
|
+
fee_late_fee_rule: string;
|
|
79
|
+
fee_late_fee: string;
|
|
80
|
+
fee_refund: string;
|
|
81
|
+
fee_receipt_template: string;
|
|
82
|
+
fee_transaction: string;
|
|
83
|
+
fee_collection_config: string;
|
|
84
|
+
fee_installment_config: string;
|
|
85
|
+
fee_installment_items: string;
|
|
70
86
|
};
|
|
71
87
|
export { COLLECTIONS };
|
|
@@ -76,6 +76,23 @@ const COLLECTIONS = {
|
|
|
76
76
|
admission_application_main: "admission_application_main",
|
|
77
77
|
admission_elective_detail: "admission_elective_detail",
|
|
78
78
|
admission_status_history: "admission_status_history",
|
|
79
|
-
admission_document_uploads: "admission_document_uploads"
|
|
79
|
+
admission_document_uploads: "admission_document_uploads",
|
|
80
|
+
// F - Fees Collections
|
|
81
|
+
fee_structure: "fee_structure",
|
|
82
|
+
fee_structure_item: "fee_structure_item",
|
|
83
|
+
fee_assignment: "fee_assignment",
|
|
84
|
+
fee_payment: "fee_payment",
|
|
85
|
+
fee_payment_item: "fee_payment_item",
|
|
86
|
+
fee_discount: "fee_discount",
|
|
87
|
+
fee_discount_rule: "fee_discount_rule",
|
|
88
|
+
fee_scholarship: "fee_scholarship",
|
|
89
|
+
fee_late_fee_rule: "fee_late_fee_rule",
|
|
90
|
+
fee_late_fee: "fee_late_fee",
|
|
91
|
+
fee_refund: "fee_refund",
|
|
92
|
+
fee_receipt_template: "fee_receipt_template",
|
|
93
|
+
fee_transaction: "fee_transaction",
|
|
94
|
+
fee_collection_config: "fee_collection_config",
|
|
95
|
+
fee_installment_config: "fee_installment_config",
|
|
96
|
+
fee_installment_items: "fee_installment_items"
|
|
80
97
|
};
|
|
81
98
|
exports.COLLECTIONS = COLLECTIONS;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fee Assignment Schema
|
|
3
|
+
* Assigns fees to individual students
|
|
4
|
+
*/
|
|
5
|
+
declare class FeeAssignment {
|
|
6
|
+
_id?: string;
|
|
7
|
+
feeas_student_id?: string;
|
|
8
|
+
feeas_structure_id_fees?: string;
|
|
9
|
+
feeas_structure_item_id_feesi?: string;
|
|
10
|
+
feeas_academic_year_id_acayr?: string;
|
|
11
|
+
feeas_entity_id_syen?: string;
|
|
12
|
+
feeas_amount_original?: number;
|
|
13
|
+
feeas_amount_after_discount?: number;
|
|
14
|
+
feeas_discount_amount?: number;
|
|
15
|
+
feeas_tax_amount?: number;
|
|
16
|
+
feeas_final_amount?: number;
|
|
17
|
+
feeas_due_date?: Date;
|
|
18
|
+
feeas_collection_start_date?: Date;
|
|
19
|
+
feeas_collection_end_date?: Date;
|
|
20
|
+
feeas_status?: 'PENDING' | 'PARTIALLY_PAID' | 'PAID' | 'WAIVED' | 'CANCELLED';
|
|
21
|
+
feeas_amount_paid?: number;
|
|
22
|
+
feeas_amount_remaining?: number;
|
|
23
|
+
feeas_late_fee_applied?: number;
|
|
24
|
+
feeas_is_active?: boolean;
|
|
25
|
+
feeas_assigned_by_user?: string;
|
|
26
|
+
feeas_assigned_at?: Date;
|
|
27
|
+
feeas_updated_at?: Date;
|
|
28
|
+
}
|
|
29
|
+
export { FeeAssignment };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fee Collection Configuration Schema
|
|
3
|
+
* Defines collection mode and installment structure for fee structures
|
|
4
|
+
*/
|
|
5
|
+
declare class FeeCollectionConfig {
|
|
6
|
+
_id?: string;
|
|
7
|
+
feecolc_code?: string;
|
|
8
|
+
feecolc_fee_structure_id_feest?: string;
|
|
9
|
+
feecolc_collection_mode?: 'MONTHLY' | 'QUARTERLY' | 'SEMESTER' | 'ANNUAL' | 'CUSTOM';
|
|
10
|
+
feecolc_installment_count?: number;
|
|
11
|
+
feecolc_total_amount?: number;
|
|
12
|
+
feecolc_student_category_filter?: 'ALL' | 'NEW' | 'REGULAR' | 'NEW_AND_REGULAR';
|
|
13
|
+
feecolc_full_payment_enabled?: boolean;
|
|
14
|
+
feecolc_full_payment_installment?: string;
|
|
15
|
+
feecolc_full_payment_fee_head?: string;
|
|
16
|
+
feecolc_full_payment_percentage?: number;
|
|
17
|
+
feecolc_full_payment_message?: string;
|
|
18
|
+
feecolc_entity_id_syen?: string;
|
|
19
|
+
feecolc_academic_year_id_acayr?: string;
|
|
20
|
+
feecolc_status?: 'DRAFT' | 'ACTIVE' | 'INACTIVE';
|
|
21
|
+
feecolc_created_by_user?: string;
|
|
22
|
+
feecolc_isactive?: boolean;
|
|
23
|
+
feecolc_created_at?: Date;
|
|
24
|
+
feecolc_updated_at?: Date;
|
|
25
|
+
}
|
|
26
|
+
export { FeeCollectionConfig };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeeCollectionConfig = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Fee Collection Configuration Schema
|
|
6
|
+
* Defines collection mode and installment structure for fee structures
|
|
7
|
+
*/
|
|
8
|
+
class FeeCollectionConfig {
|
|
9
|
+
}
|
|
10
|
+
exports.FeeCollectionConfig = FeeCollectionConfig;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fee Discount Schema
|
|
3
|
+
* Individual discount records applied to students
|
|
4
|
+
*/
|
|
5
|
+
declare class FeeDiscount {
|
|
6
|
+
_id?: string;
|
|
7
|
+
feedisc_student_id?: string;
|
|
8
|
+
feedisc_assignment_id_feeas?: string;
|
|
9
|
+
feedisc_discount_rule_id_feedr?: string;
|
|
10
|
+
feedisc_discount_type?: 'PERCENTAGE' | 'FIXED_AMOUNT';
|
|
11
|
+
feedisc_discount_value?: number;
|
|
12
|
+
feedisc_discount_amount?: number;
|
|
13
|
+
feedisc_discount_reason?: string;
|
|
14
|
+
feedisc_academic_year_id_acayr?: string;
|
|
15
|
+
feedisc_entity_id_syen?: string;
|
|
16
|
+
feedisc_approved_by_user?: string;
|
|
17
|
+
feedisc_approval_date?: Date;
|
|
18
|
+
feedisc_is_active?: boolean;
|
|
19
|
+
feedisc_created_by_user?: string;
|
|
20
|
+
feedisc_created_at?: Date;
|
|
21
|
+
feedisc_updated_at?: Date;
|
|
22
|
+
}
|
|
23
|
+
export { FeeDiscount };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeeDiscount = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Fee Discount Schema
|
|
6
|
+
* Individual discount records applied to students
|
|
7
|
+
*/
|
|
8
|
+
class FeeDiscount {
|
|
9
|
+
}
|
|
10
|
+
exports.FeeDiscount = FeeDiscount;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fee Discount Rule Schema
|
|
3
|
+
* Rule-based discount configuration (e.g., sibling discount, staff child discount)
|
|
4
|
+
*/
|
|
5
|
+
declare class FeeDiscountRule {
|
|
6
|
+
_id?: string;
|
|
7
|
+
feedr_rule_name?: string;
|
|
8
|
+
feedr_rule_code?: string;
|
|
9
|
+
feedr_description?: string;
|
|
10
|
+
feedr_scope_type?: 'ENTITY' | 'CLASS_PROGRAM' | 'SECTION';
|
|
11
|
+
feedr_scope_id?: string;
|
|
12
|
+
feedr_criteria_json?: string;
|
|
13
|
+
feedr_discount_type?: 'PERCENTAGE' | 'FIXED_AMOUNT';
|
|
14
|
+
feedr_discount_value?: number;
|
|
15
|
+
feedr_applies_to_fee_category?: string[];
|
|
16
|
+
feedr_priority?: number;
|
|
17
|
+
feedr_auto_apply?: boolean;
|
|
18
|
+
feedr_stackable?: boolean;
|
|
19
|
+
feedr_valid_from?: Date;
|
|
20
|
+
feedr_valid_to?: Date;
|
|
21
|
+
feedr_academic_year_id_acayr?: string;
|
|
22
|
+
feedr_entity_id_syen?: string;
|
|
23
|
+
feedr_status?: 'ACTIVE' | 'INACTIVE' | 'EXPIRED';
|
|
24
|
+
feedr_created_by_user?: string;
|
|
25
|
+
feedr_created_at?: Date;
|
|
26
|
+
feedr_updated_at?: Date;
|
|
27
|
+
}
|
|
28
|
+
export { FeeDiscountRule };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeeDiscountRule = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Fee Discount Rule Schema
|
|
6
|
+
* Rule-based discount configuration (e.g., sibling discount, staff child discount)
|
|
7
|
+
*/
|
|
8
|
+
class FeeDiscountRule {
|
|
9
|
+
}
|
|
10
|
+
exports.FeeDiscountRule = FeeDiscountRule;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fee Installment Configuration Schema
|
|
3
|
+
* Defines individual installment details within a collection configuration
|
|
4
|
+
*/
|
|
5
|
+
declare class FeeInstallmentConfig {
|
|
6
|
+
_id?: string;
|
|
7
|
+
feeinstc_code?: string;
|
|
8
|
+
feeinstc_collection_config_id_feecolc?: string;
|
|
9
|
+
feeinstc_installment_number?: number;
|
|
10
|
+
feeinstc_installment_name?: string;
|
|
11
|
+
feeinstc_is_enabled?: boolean;
|
|
12
|
+
feeinstc_collect_date_wise?: boolean;
|
|
13
|
+
feeinstc_collection_from_date?: Date;
|
|
14
|
+
feeinstc_collection_to_date?: Date;
|
|
15
|
+
feeinstc_late_fee_enabled?: boolean;
|
|
16
|
+
feeinstc_late_fee_type?: 'FIXED_AMOUNT' | 'DAY_WISE' | 'PERCENTAGE';
|
|
17
|
+
feeinstc_late_fee_value?: number;
|
|
18
|
+
feeinstc_late_fee_rule_id_lfr?: string;
|
|
19
|
+
feeinstc_show_fee_heads?: boolean;
|
|
20
|
+
feeinstc_sub_total?: number;
|
|
21
|
+
feeinstc_discount_enabled?: boolean;
|
|
22
|
+
feeinstc_discount_for?: 'SIBLINGS' | 'STAFF_CHILD' | 'MERIT' | 'NEED_BASED' | 'EARLY_PAYMENT' | 'CUSTOM';
|
|
23
|
+
feeinstc_discount_type?: 'PERCENTAGE' | 'FIXED_AMOUNT';
|
|
24
|
+
feeinstc_discount_value?: number;
|
|
25
|
+
feeinstc_discount_on?: 'SUB_TOTAL' | 'FEE_HEAD' | 'TOTAL';
|
|
26
|
+
feeinstc_discount_fee_head_id_feesi?: string;
|
|
27
|
+
feeinstc_discount_amount?: number;
|
|
28
|
+
feeinstc_total_amount?: number;
|
|
29
|
+
feeinstc_display_order?: number;
|
|
30
|
+
feeinstc_notes?: string;
|
|
31
|
+
feeinstc_isactive?: boolean;
|
|
32
|
+
feeinstc_created_at?: Date;
|
|
33
|
+
feeinstc_updated_at?: Date;
|
|
34
|
+
}
|
|
35
|
+
export { FeeInstallmentConfig };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeeInstallmentConfig = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Fee Installment Configuration Schema
|
|
6
|
+
* Defines individual installment details within a collection configuration
|
|
7
|
+
*/
|
|
8
|
+
class FeeInstallmentConfig {
|
|
9
|
+
}
|
|
10
|
+
exports.FeeInstallmentConfig = FeeInstallmentConfig;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fee Installment Item Schema
|
|
3
|
+
* Defines fee head distribution per installment
|
|
4
|
+
*/
|
|
5
|
+
declare class FeeInstallmentItem {
|
|
6
|
+
_id?: string;
|
|
7
|
+
feeinsti_code?: string;
|
|
8
|
+
feeinsti_installment_config_id_feeinstc?: string;
|
|
9
|
+
feeinsti_fee_structure_item_id_feesi?: string;
|
|
10
|
+
feeinsti_distribution_type?: 'PERCENTAGE' | 'FIXED_AMOUNT';
|
|
11
|
+
feeinsti_percentage?: number;
|
|
12
|
+
feeinsti_fixed_amount?: number;
|
|
13
|
+
feeinsti_calculated_amount?: number;
|
|
14
|
+
feeinsti_display_order?: number;
|
|
15
|
+
feeinsti_isactive?: boolean;
|
|
16
|
+
feeinsti_created_at?: Date;
|
|
17
|
+
feeinsti_updated_at?: Date;
|
|
18
|
+
}
|
|
19
|
+
export { FeeInstallmentItem };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeeInstallmentItem = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Fee Installment Item Schema
|
|
6
|
+
* Defines fee head distribution per installment
|
|
7
|
+
*/
|
|
8
|
+
class FeeInstallmentItem {
|
|
9
|
+
}
|
|
10
|
+
exports.FeeInstallmentItem = FeeInstallmentItem;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fee Late Fee Schema
|
|
3
|
+
* Applied late fees for students
|
|
4
|
+
*/
|
|
5
|
+
declare class FeeLateFee {
|
|
6
|
+
_id?: string;
|
|
7
|
+
feelf_student_id?: string;
|
|
8
|
+
feelf_assignment_id_feeas?: string;
|
|
9
|
+
feelf_late_fee_rule_id_feelfr?: string;
|
|
10
|
+
feelf_due_date?: Date;
|
|
11
|
+
feelf_payment_date?: Date;
|
|
12
|
+
feelf_days_late?: number;
|
|
13
|
+
feelf_late_fee_amount?: number;
|
|
14
|
+
feelf_waived_amount?: number;
|
|
15
|
+
feelf_waived_reason?: string;
|
|
16
|
+
feelf_waived_by_user?: string;
|
|
17
|
+
feelf_waived_at?: Date;
|
|
18
|
+
feelf_is_waived?: boolean;
|
|
19
|
+
feelf_created_at?: Date;
|
|
20
|
+
feelf_updated_at?: Date;
|
|
21
|
+
}
|
|
22
|
+
export { FeeLateFee };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fee Late Fee Rule Schema
|
|
3
|
+
* Rules for calculating late fees
|
|
4
|
+
*/
|
|
5
|
+
declare class FeeLateFeeRule {
|
|
6
|
+
_id?: string;
|
|
7
|
+
feelfr_rule_name?: string;
|
|
8
|
+
feelfr_rule_code?: string;
|
|
9
|
+
feelfr_description?: string;
|
|
10
|
+
feelfr_scope_type?: 'ENTITY' | 'CLASS_PROGRAM' | 'FEE_CATEGORY';
|
|
11
|
+
feelfr_scope_id?: string;
|
|
12
|
+
feelfr_applies_to_fee_category?: string[];
|
|
13
|
+
feelfr_grace_period_days?: number;
|
|
14
|
+
feelfr_calculation_type?: 'FIXED' | 'PERCENTAGE_OF_DUE' | 'DAILY' | 'SLAB_BASED';
|
|
15
|
+
feelfr_fixed_amount?: number;
|
|
16
|
+
feelfr_percentage?: number;
|
|
17
|
+
feelfr_daily_rate?: number;
|
|
18
|
+
feelfr_slab_config_json?: string;
|
|
19
|
+
feelfr_max_late_fee_amount?: number;
|
|
20
|
+
feelfr_apply_after_collection_end?: boolean;
|
|
21
|
+
feelfr_academic_year_id_acayr?: string;
|
|
22
|
+
feelfr_entity_id_syen?: string;
|
|
23
|
+
feelfr_is_active?: boolean;
|
|
24
|
+
feelfr_created_by_user?: string;
|
|
25
|
+
feelfr_created_at?: Date;
|
|
26
|
+
feelfr_updated_at?: Date;
|
|
27
|
+
}
|
|
28
|
+
export { FeeLateFeeRule };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FeeLateFeeRule = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Fee Late Fee Rule Schema
|
|
6
|
+
* Rules for calculating late fees
|
|
7
|
+
*/
|
|
8
|
+
class FeeLateFeeRule {
|
|
9
|
+
}
|
|
10
|
+
exports.FeeLateFeeRule = FeeLateFeeRule;
|