cloud-ide-lms-model 1.0.329 → 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.
Files changed (33) hide show
  1. package/lib/model/academics/aca_class_prg_branch.d.ts +6 -0
  2. package/lib/model/academics/aca_class_program_master.d.ts +26 -2
  3. package/lib/model/index.d.ts +1 -0
  4. package/lib/model/index.js +1 -0
  5. package/lib/model/notifications/index.d.ts +1 -0
  6. package/lib/model/notifications/index.js +17 -0
  7. package/lib/model/notifications/notification.d.ts +105 -0
  8. package/lib/model/notifications/notification.js +68 -0
  9. package/lib/routes/feesRoutes.js +2 -0
  10. package/lib/routes/index.d.ts +1 -0
  11. package/lib/routes/index.js +1 -0
  12. package/lib/routes/notificationRoutes.d.ts +16 -0
  13. package/lib/routes/notificationRoutes.js +21 -0
  14. package/lib/schema/academics/aca_class_prg_branch.d.ts +1 -0
  15. package/lib/schema/admission/admission_application_main.d.ts +3 -0
  16. package/lib/schema/collection_names.d.ts +3 -0
  17. package/lib/schema/collection_names.js +4 -1
  18. package/lib/schema/fees/fee_collection_config.d.ts +26 -0
  19. package/lib/schema/fees/fee_collection_config.js +10 -0
  20. package/lib/schema/fees/fee_installment_config.d.ts +35 -0
  21. package/lib/schema/fees/fee_installment_config.js +10 -0
  22. package/lib/schema/fees/fee_installment_item.d.ts +19 -0
  23. package/lib/schema/fees/fee_installment_item.js +10 -0
  24. package/lib/schema/fees/fee_payment.d.ts +10 -0
  25. package/lib/schema/fees/index.d.ts +3 -0
  26. package/lib/schema/fees/index.js +7 -1
  27. package/lib/schema/index.d.ts +1 -0
  28. package/lib/schema/index.js +1 -0
  29. package/lib/schema/notifications/index.d.ts +1 -0
  30. package/lib/schema/notifications/index.js +17 -0
  31. package/lib/schema/notifications/notification.d.ts +29 -0
  32. package/lib/schema/notifications/notification.js +9 -0
  33. package/package.json +1 -1
@@ -49,6 +49,12 @@ declare class AcaClassPrgBranchResponse extends AcaClassPrgBranchBase {
49
49
  _id?: string;
50
50
  acacpm_alise_title?: string;
51
51
  };
52
+ acabrn_branch_id_sygms?: {
53
+ _id?: string;
54
+ sygms_title?: string;
55
+ sygms_code?: string;
56
+ sygms_configuration?: any;
57
+ };
52
58
  }
53
59
  declare class AcaClassPrgBranchInsertUpdatePayload extends AcaClassPrgBranch {
54
60
  constructor(init: AcaClassPrgBranchInsertUpdatePayload);
@@ -43,14 +43,38 @@ declare class MClassProgramMasterInsertUpdatePayload extends AcaClassProgramMast
43
43
  constructor(init: AcaClassProgramMaster);
44
44
  Validate?(): Partial<IClassProgramMasterInsertUpdateErrorLogger>;
45
45
  }
46
+ /**
47
+ * Configuration interface for class program general master
48
+ * Used to determine if semester and branch dropdowns should be shown
49
+ */
50
+ interface ClassProgramConfiguration {
51
+ semesterType?: boolean;
52
+ branchType?: boolean;
53
+ [key: string]: unknown;
54
+ }
55
+ /**
56
+ * Extended general master interface with configuration
57
+ */
58
+ interface ClassProgramGeneralMaster {
59
+ _id?: string;
60
+ sygms_id_sygmt?: string;
61
+ sygms_code?: string;
62
+ sygms_title?: string;
63
+ sygms_desc?: string;
64
+ sygms_isactive?: boolean;
65
+ sygms_configuration?: ClassProgramConfiguration;
66
+ sygms_entity_id_syen?: string;
67
+ }
46
68
  interface AcaClassProgramMasterResponse extends AcaClassProgramMasterBase {
47
- acacpm_class_program_id_sygmt?: {
69
+ acacpm_class_program_id_sygms?: ClassProgramGeneralMaster | {
48
70
  _id?: string;
49
71
  acacpm_name?: string;
72
+ sygms_configuration?: ClassProgramConfiguration;
50
73
  };
51
74
  acacpm_academic_year_id_acayr?: {
52
75
  _id?: string;
53
76
  acayr_name?: string;
77
+ acayr_code?: string;
54
78
  };
55
79
  acacpm_entity_id_syen?: {
56
80
  _id?: string;
@@ -72,4 +96,4 @@ interface classProgramMasterDeleteControllerResponse extends controllerResponse
72
96
  interface classProgramMasterToggleStatusControllerResponse extends controllerResponse {
73
97
  data?: boolean;
74
98
  }
75
- export { IClassProgramMasterErrorLogger, IClassProgramMasterGetByIdErrorLogger, IClassProgramMasterDeleteErrorLogger, IClassProgramMasterInsertUpdateErrorLogger, IClassProgramMasterToggleStatusErrorLogger, MClassProgramMaster, MClassProgramMasterGetByIdPayload, MClassProgramMasterDeletePayload, MClassProgramMasterInsertUpdatePayload, MClassProgramMasterToggleStatusPayload, classProgramMasterControllerResponse, classProgramMasterByIdControllerResponse, classProgramMasterInsertUpdateControllerResponse, classProgramMasterDeleteControllerResponse, classProgramMasterToggleStatusControllerResponse, AcaClassProgramMasterResponse };
99
+ export { IClassProgramMasterErrorLogger, IClassProgramMasterGetByIdErrorLogger, IClassProgramMasterDeleteErrorLogger, IClassProgramMasterInsertUpdateErrorLogger, IClassProgramMasterToggleStatusErrorLogger, MClassProgramMaster, MClassProgramMasterGetByIdPayload, MClassProgramMasterDeletePayload, MClassProgramMasterInsertUpdatePayload, MClassProgramMasterToggleStatusPayload, classProgramMasterControllerResponse, classProgramMasterByIdControllerResponse, classProgramMasterInsertUpdateControllerResponse, classProgramMasterDeleteControllerResponse, classProgramMasterToggleStatusControllerResponse, AcaClassProgramMasterResponse, ClassProgramConfiguration, ClassProgramGeneralMaster };
@@ -5,3 +5,4 @@ export * from "./accounts";
5
5
  export * from "./common";
6
6
  export * from "./frontdesk";
7
7
  export * from "./fees";
8
+ export * from "./notifications";
@@ -21,3 +21,4 @@ __exportStar(require("./accounts"), exports);
21
21
  __exportStar(require("./common"), exports);
22
22
  __exportStar(require("./frontdesk"), exports);
23
23
  __exportStar(require("./fees"), exports);
24
+ __exportStar(require("./notifications"), exports);
@@ -0,0 +1 @@
1
+ export * from "./notification";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./notification"), exports);
@@ -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;
@@ -16,3 +16,5 @@ const feesRoutesUrl = {
16
16
  reports: 'reports'
17
17
  };
18
18
  exports.feesRoutesUrl = feesRoutesUrl;
19
+ // Freeze the feesRoutesUrl object to prevent modifications
20
+ Object.freeze(feesRoutesUrl);
@@ -8,3 +8,4 @@ export * from './accountsRoutes';
8
8
  export * from './commonRoutes';
9
9
  export * from './frontdeskRoutes';
10
10
  export * from './feesRoutes';
11
+ export * from './notificationRoutes';
@@ -24,3 +24,4 @@ __exportStar(require("./accountsRoutes"), exports);
24
24
  __exportStar(require("./commonRoutes"), exports);
25
25
  __exportStar(require("./frontdeskRoutes"), exports);
26
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);
@@ -8,6 +8,7 @@ declare class AcaClassPrgBranchBase {
8
8
  }
9
9
  declare class AcaClassPrgBranch extends AcaClassPrgBranchBase {
10
10
  acabrn_class_program_id_acacpm?: string;
11
+ acabrn_branch_id_sygms?: string;
11
12
  }
12
13
  export { AcaClassPrgBranchBase, // interface
13
14
  AcaClassPrgBranch };
@@ -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;
@@ -80,5 +80,8 @@ declare const COLLECTIONS: {
80
80
  fee_refund: string;
81
81
  fee_receipt_template: string;
82
82
  fee_transaction: string;
83
+ fee_collection_config: string;
84
+ fee_installment_config: string;
85
+ fee_installment_items: string;
83
86
  };
84
87
  export { COLLECTIONS };
@@ -90,6 +90,9 @@ const COLLECTIONS = {
90
90
  fee_late_fee: "fee_late_fee",
91
91
  fee_refund: "fee_refund",
92
92
  fee_receipt_template: "fee_receipt_template",
93
- fee_transaction: "fee_transaction"
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"
94
97
  };
95
98
  exports.COLLECTIONS = COLLECTIONS;
@@ -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,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;
@@ -12,6 +12,16 @@ declare class FeePayment {
12
12
  feepay_payment_mode?: 'CASH' | 'CHEQUE' | 'DD' | 'ONLINE' | 'CARD' | 'UPI' | 'NET_BANKING';
13
13
  feepay_payment_reference?: string;
14
14
  feepay_bank_name?: string;
15
+ feepay_bank_branch_name?: string;
16
+ feepay_bank_ifsc_code?: string;
17
+ feepay_instrument_date?: Date;
18
+ feepay_cheque_number?: string;
19
+ feepay_cheque_date?: Date;
20
+ feepay_bank_account_number?: string;
21
+ feepay_transaction_reference?: string;
22
+ feepay_discount_percentage?: number;
23
+ feepay_discount_on?: 'SUB_TOTAL' | 'FEE_HEAD' | 'TOTAL' | 'INSTALLMENT';
24
+ feepay_discount_reason?: string;
15
25
  feepay_total_amount?: number;
16
26
  feepay_late_fee_amount?: number;
17
27
  feepay_discount_amount?: number;
@@ -11,3 +11,6 @@ export { FeeLateFee } from './fee_late_fee';
11
11
  export { FeeRefund } from './fee_refund';
12
12
  export { FeeReceiptTemplate } from './fee_receipt_template';
13
13
  export { FeeTransaction } from './fee_transaction';
14
+ export { FeeCollectionConfig } from './fee_collection_config';
15
+ export { FeeInstallmentConfig } from './fee_installment_config';
16
+ export { FeeInstallmentItem } from './fee_installment_item';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FeeTransaction = exports.FeeReceiptTemplate = exports.FeeRefund = exports.FeeLateFee = exports.FeeLateFeeRule = exports.FeeScholarship = exports.FeeDiscountRule = exports.FeeDiscount = exports.FeePaymentItem = exports.FeePayment = exports.FeeAssignment = exports.FeeStructureItem = exports.FeeStructure = void 0;
3
+ exports.FeeInstallmentItem = exports.FeeInstallmentConfig = exports.FeeCollectionConfig = exports.FeeTransaction = exports.FeeReceiptTemplate = exports.FeeRefund = exports.FeeLateFee = exports.FeeLateFeeRule = exports.FeeScholarship = exports.FeeDiscountRule = exports.FeeDiscount = exports.FeePaymentItem = exports.FeePayment = exports.FeeAssignment = exports.FeeStructureItem = exports.FeeStructure = void 0;
4
4
  var fee_structure_1 = require("./fee_structure");
5
5
  Object.defineProperty(exports, "FeeStructure", { enumerable: true, get: function () { return fee_structure_1.FeeStructure; } });
6
6
  var fee_structure_item_1 = require("./fee_structure_item");
@@ -27,3 +27,9 @@ var fee_receipt_template_1 = require("./fee_receipt_template");
27
27
  Object.defineProperty(exports, "FeeReceiptTemplate", { enumerable: true, get: function () { return fee_receipt_template_1.FeeReceiptTemplate; } });
28
28
  var fee_transaction_1 = require("./fee_transaction");
29
29
  Object.defineProperty(exports, "FeeTransaction", { enumerable: true, get: function () { return fee_transaction_1.FeeTransaction; } });
30
+ var fee_collection_config_1 = require("./fee_collection_config");
31
+ Object.defineProperty(exports, "FeeCollectionConfig", { enumerable: true, get: function () { return fee_collection_config_1.FeeCollectionConfig; } });
32
+ var fee_installment_config_1 = require("./fee_installment_config");
33
+ Object.defineProperty(exports, "FeeInstallmentConfig", { enumerable: true, get: function () { return fee_installment_config_1.FeeInstallmentConfig; } });
34
+ var fee_installment_item_1 = require("./fee_installment_item");
35
+ Object.defineProperty(exports, "FeeInstallmentItem", { enumerable: true, get: function () { return fee_installment_item_1.FeeInstallmentItem; } });
@@ -7,3 +7,4 @@ export * from "./accounts";
7
7
  export * from "./frontdesk";
8
8
  export * from "./admission";
9
9
  export * from "./fees";
10
+ export * from "./notifications";
@@ -23,3 +23,4 @@ __exportStar(require("./accounts"), exports);
23
23
  __exportStar(require("./frontdesk"), exports);
24
24
  __exportStar(require("./admission"), exports);
25
25
  __exportStar(require("./fees"), exports);
26
+ __exportStar(require("./notifications"), exports);
@@ -0,0 +1 @@
1
+ export * from "./notification";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./notification"), exports);
@@ -0,0 +1,29 @@
1
+ declare class NotificationBase {
2
+ _id?: string;
3
+ not_id_user?: string;
4
+ not_type?: 'info' | 'success' | 'warning' | 'error' | 'system';
5
+ not_category?: string;
6
+ not_title?: string;
7
+ not_message?: string;
8
+ not_data?: any;
9
+ not_action_url?: string;
10
+ not_action_label?: string;
11
+ not_status?: 'pending' | 'sent' | 'delivered' | 'read' | 'archived';
12
+ not_read_at?: Date;
13
+ not_delivered_at?: Date;
14
+ not_archived_at?: Date;
15
+ not_channels?: {
16
+ in_app?: boolean;
17
+ email?: boolean;
18
+ sms?: boolean;
19
+ };
20
+ not_priority?: 'low' | 'normal' | 'high' | 'urgent';
21
+ not_expires_at?: Date;
22
+ not_id_created_by?: string;
23
+ not_created_at?: Date;
24
+ not_updated_at?: Date;
25
+ }
26
+ declare class Notification extends NotificationBase {
27
+ }
28
+ export { NotificationBase, // interface
29
+ Notification };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Notification = exports.NotificationBase = void 0;
4
+ class NotificationBase {
5
+ }
6
+ exports.NotificationBase = NotificationBase;
7
+ class Notification extends NotificationBase {
8
+ }
9
+ exports.Notification = Notification;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "typescript": "^5.4.2"
6
6
  },
7
7
  "name": "cloud-ide-lms-model",
8
- "version": "1.0.329",
8
+ "version": "1.0.330",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",