cloud-ide-lms-model 1.1.60 → 1.1.61

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.
@@ -86,6 +86,54 @@ interface FeeStructureResponse extends FeeStructureBase {
86
86
  fees_student_category_id_sygms?: ICoreSygms | string;
87
87
  fees_created_by_user?: AuthUserMst | string;
88
88
  }
89
+ /**
90
+ * Fee Discount Data interface
91
+ */
92
+ export interface FeeDiscountData {
93
+ discount_type: 'PERCENTAGE' | 'FIXED_AMOUNT';
94
+ discount_value: number;
95
+ discount_reason_id?: string;
96
+ discount_reason_title?: string;
97
+ valid_from?: Date;
98
+ valid_to?: Date;
99
+ notes?: string;
100
+ }
101
+ /**
102
+ * Fee Scholarship Data interface
103
+ */
104
+ export interface FeeScholarshipData {
105
+ scholarship_type_id?: string;
106
+ scholarship_type_title?: string;
107
+ scholarship_category: 'FULL' | 'PARTIAL';
108
+ scholarship_percentage?: number;
109
+ scholarship_amount: number;
110
+ valid_from?: Date;
111
+ valid_to?: Date;
112
+ notes?: string;
113
+ }
114
+ /**
115
+ * Applicable Fee Item type
116
+ */
117
+ export type ApplicableFeeItem = FeeStructureResponse & {
118
+ fees_structure_name?: string;
119
+ fees_category_name?: string;
120
+ fees_total_amount?: number;
121
+ fees_amount?: number;
122
+ fees_structure_id?: string;
123
+ _feeItemData?: FeeStructureItem | any;
124
+ discount?: number;
125
+ scholarship?: number;
126
+ final_amount?: number;
127
+ is_assigned?: boolean;
128
+ fees_category_id_sygms?: string | {
129
+ _id: string;
130
+ sygms_title?: string;
131
+ sygms_code?: string;
132
+ };
133
+ feesi_item_name?: string;
134
+ discountData?: FeeDiscountData;
135
+ scholarshipData?: FeeScholarshipData;
136
+ };
89
137
  interface feeStructureControllerResponse extends controllerResponse {
90
138
  data?: FeeStructureResponse[];
91
139
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-ide-lms-model",
3
- "version": "1.1.60",
3
+ "version": "1.1.61",
4
4
  "description": "Package for Model management of Cloud IDEsys LMS",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",