cloud-ide-lms-model 1.0.349 → 1.0.351
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.
|
@@ -22,12 +22,24 @@ type IFeeStructureInsertUpdateErrorLogger = {
|
|
|
22
22
|
[key in keyof MFeeStructureInsertUpdatePayload]: string;
|
|
23
23
|
};
|
|
24
24
|
type IFeeStructureSaveUpdateErrorLogger = {
|
|
25
|
-
[key
|
|
25
|
+
[key: string]: string;
|
|
26
26
|
};
|
|
27
27
|
type IFeeStructureToggleStatusErrorLogger = {
|
|
28
28
|
[key in keyof MFeeStructureToggleStatusPayload]: string;
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* Fee Structure Query Model
|
|
32
|
+
* Extends MTableQueries for pagination/querying and includes FeeStructure properties for filtering
|
|
33
|
+
*/
|
|
30
34
|
declare class MFeeStructure extends MTableQueries {
|
|
35
|
+
fees_academic_year_id_acayr?: string;
|
|
36
|
+
fees_entity_id_syen?: string;
|
|
37
|
+
fees_class_program_id_acacpm?: string;
|
|
38
|
+
fees_class_program_branch_id_acabrn?: string;
|
|
39
|
+
fees_class_program_term_id_acapt?: string;
|
|
40
|
+
fees_program_term_section_id_acapts?: string;
|
|
41
|
+
fees_student_category_id_sygms?: string;
|
|
42
|
+
fees_is_active?: boolean;
|
|
31
43
|
constructor(init: MFeeStructure);
|
|
32
44
|
Validate?(): Partial<IFeeStructureErrorLogger>;
|
|
33
45
|
}
|
|
@@ -77,8 +89,16 @@ interface FeeStructureResponse extends FeeStructureBase {
|
|
|
77
89
|
interface feeStructureControllerResponse extends controllerResponse {
|
|
78
90
|
data?: FeeStructureResponse[];
|
|
79
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* Fee Structure By ID Response
|
|
94
|
+
* Includes both structure and items for complete data
|
|
95
|
+
*/
|
|
96
|
+
interface FeeStructureByIdResponse {
|
|
97
|
+
fee_structure?: FeeStructureResponse;
|
|
98
|
+
fee_structure_items?: FeeStructureItem[];
|
|
99
|
+
}
|
|
80
100
|
interface feeStructureByIdControllerResponse extends controllerResponse {
|
|
81
|
-
data?: FeeStructureResponse;
|
|
101
|
+
data?: FeeStructureByIdResponse | FeeStructureResponse;
|
|
82
102
|
}
|
|
83
103
|
interface feeStructureInsertUpdateControllerResponse extends controllerResponse {
|
|
84
104
|
data?: FeeStructureResponse;
|
|
@@ -89,4 +109,4 @@ interface feeStructureDeleteControllerResponse extends controllerResponse {
|
|
|
89
109
|
interface feeStructureToggleStatusControllerResponse extends controllerResponse {
|
|
90
110
|
data?: boolean;
|
|
91
111
|
}
|
|
92
|
-
export { IFeeStructureErrorLogger, IFeeStructureGetByIdErrorLogger, IFeeStructureDeleteErrorLogger, IFeeStructureInsertUpdateErrorLogger, IFeeStructureSaveUpdateErrorLogger, IFeeStructureToggleStatusErrorLogger, MFeeStructure, MFeeStructureGetByIdPayload, MFeeStructureDeletePayload, MFeeStructureInsertUpdatePayload, FeeStructureSaveUpdatePayload, MFeeStructureToggleStatusPayload, FeeStructureResponse, feeStructureControllerResponse, feeStructureByIdControllerResponse, feeStructureInsertUpdateControllerResponse, feeStructureDeleteControllerResponse, feeStructureToggleStatusControllerResponse };
|
|
112
|
+
export { IFeeStructureErrorLogger, IFeeStructureGetByIdErrorLogger, IFeeStructureDeleteErrorLogger, IFeeStructureInsertUpdateErrorLogger, IFeeStructureSaveUpdateErrorLogger, IFeeStructureToggleStatusErrorLogger, MFeeStructure, MFeeStructureGetByIdPayload, MFeeStructureDeletePayload, MFeeStructureInsertUpdatePayload, FeeStructureSaveUpdatePayload, MFeeStructureToggleStatusPayload, FeeStructureResponse, FeeStructureByIdResponse, feeStructureControllerResponse, feeStructureByIdControllerResponse, feeStructureInsertUpdateControllerResponse, feeStructureDeleteControllerResponse, feeStructureToggleStatusControllerResponse };
|
|
@@ -5,6 +5,10 @@ const common_1 = require("../../common-types/common");
|
|
|
5
5
|
const schema_1 = require("../../schema");
|
|
6
6
|
/* INTERFACE END */
|
|
7
7
|
/* MODEL START */
|
|
8
|
+
/**
|
|
9
|
+
* Fee Structure Query Model
|
|
10
|
+
* Extends MTableQueries for pagination/querying and includes FeeStructure properties for filtering
|
|
11
|
+
*/
|
|
8
12
|
class MFeeStructure extends common_1.MTableQueries {
|
|
9
13
|
constructor(init) {
|
|
10
14
|
super(init);
|
|
@@ -90,15 +94,15 @@ class FeeStructureSaveUpdatePayload {
|
|
|
90
94
|
errorLogger.fee_structure = "Fee structure is required!";
|
|
91
95
|
}
|
|
92
96
|
else {
|
|
93
|
-
// Validate fee structure fields
|
|
97
|
+
// Validate fee structure fields - use actual field names for errors
|
|
94
98
|
if (!this.fee_structure.fees_structure_name) {
|
|
95
|
-
errorLogger.
|
|
99
|
+
errorLogger.fees_structure_name = "Fee Structure name is required!";
|
|
96
100
|
}
|
|
97
101
|
if (!this.fee_structure.fees_entity_id_syen) {
|
|
98
|
-
errorLogger.
|
|
102
|
+
errorLogger.fees_entity_id_syen = "Entity ID is required!";
|
|
99
103
|
}
|
|
100
104
|
if (!this.fee_structure.fees_academic_year_id_acayr) {
|
|
101
|
-
errorLogger.
|
|
105
|
+
errorLogger.fees_academic_year_id_acayr = "Academic Year is required!";
|
|
102
106
|
}
|
|
103
107
|
}
|
|
104
108
|
// Note: fee_structure_items is optional - can be empty array or undefined
|
|
@@ -192,6 +192,7 @@ declare class AdmissionApplicationMain {
|
|
|
192
192
|
admap_created_by_user?: string;
|
|
193
193
|
admap_reviewed_by_user?: string;
|
|
194
194
|
admap_assigned_counselor_user?: string;
|
|
195
|
+
admap_user_id_auth?: string;
|
|
195
196
|
admap_created_date?: Date;
|
|
196
197
|
admap_modified_date?: Date;
|
|
197
198
|
admap_modified_by_user?: string;
|
|
@@ -10,7 +10,7 @@ declare class AdmissionContactAddressesBase {
|
|
|
10
10
|
admca_admission_id_admap?: string;
|
|
11
11
|
admca_address_type_id_sygms?: string;
|
|
12
12
|
admca_contact_person_name?: string;
|
|
13
|
-
|
|
13
|
+
admca_contact_person_relation_id_sygms?: string;
|
|
14
14
|
admca_contact_address?: string;
|
|
15
15
|
admca_contact_pin_sypin?: string;
|
|
16
16
|
admca_contact_city_sypin?: string;
|