@kipicore/dbcore 1.1.121 → 1.1.123

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 (253) hide show
  1. package/dist/constants/app.d.ts +2 -1
  2. package/dist/constants/app.js +2 -1
  3. package/dist/constants/errorMessages.d.ts +7 -0
  4. package/dist/constants/errorMessages.js +9 -1
  5. package/dist/constants/successMessages.d.ts +6 -0
  6. package/dist/constants/successMessages.js +8 -1
  7. package/dist/db/psql/migrations/20251201085926-add_academicCalenderId_to_announcement.d.ts +2 -0
  8. package/dist/db/psql/migrations/20251201085926-add_academicCalenderId_to_announcement.js +23 -0
  9. package/dist/db/psql/migrations/20251201090537-add_academicCalenderId_to_userHasAnnouncement.d.ts +2 -0
  10. package/dist/db/psql/migrations/20251201090537-add_academicCalenderId_to_userHasAnnouncement.js +23 -0
  11. package/dist/db/psql/migrations/20251201092621-add_academicCalenderId_to_UHBatch.d.ts +2 -0
  12. package/dist/db/psql/migrations/20251201092621-add_academicCalenderId_to_UHBatch.js +23 -0
  13. package/dist/db/psql/migrations/20251201093210-add_academicCalenderId_to_classroom.d.ts +2 -0
  14. package/dist/db/psql/migrations/20251201093210-add_academicCalenderId_to_classroom.js +23 -0
  15. package/dist/db/psql/migrations/20251201093644-add_academicCalenderId_to_BankAccD.d.ts +2 -0
  16. package/dist/db/psql/migrations/20251201093644-add_academicCalenderId_to_BankAccD.js +23 -0
  17. package/dist/db/psql/migrations/20251201094148-add_academicCalenderId_to_workingD.d.ts +2 -0
  18. package/dist/db/psql/migrations/20251201094148-add_academicCalenderId_to_workingD.js +23 -0
  19. package/dist/db/psql/migrations/20251201094533-add_academicCalenderId_to_workingS.d.ts +2 -0
  20. package/dist/db/psql/migrations/20251201094533-add_academicCalenderId_to_workingS.js +23 -0
  21. package/dist/db/psql/migrations/20251201094828-add-academic-calendar-id-to-userhashomework.d.ts +2 -0
  22. package/dist/db/psql/migrations/20251201094828-add-academic-calendar-id-to-userhashomework.js +23 -0
  23. package/dist/db/psql/migrations/20251201095025-add_academicCalenderId_to_batchSubBookA.d.ts +2 -0
  24. package/dist/db/psql/migrations/20251201095025-add_academicCalenderId_to_batchSubBookA.js +23 -0
  25. package/dist/db/psql/migrations/20251201095408-add_academicCalenderId_to_batchSubProA.d.ts +2 -0
  26. package/dist/db/psql/migrations/20251201095408-add_academicCalenderId_to_batchSubProA.js +23 -0
  27. package/dist/db/psql/migrations/20251201100111-add_academicCalenderId_to_projectAOp.d.ts +2 -0
  28. package/dist/db/psql/migrations/20251201100111-add_academicCalenderId_to_projectAOp.js +23 -0
  29. package/dist/db/psql/migrations/20251201100553-add-academic-calendar-id-to-homework.d.ts +2 -0
  30. package/dist/db/psql/migrations/20251201100553-add-academic-calendar-id-to-homework.js +23 -0
  31. package/dist/db/psql/migrations/20251201100901-add_academicCalenderId_to_userHRollN.d.ts +2 -0
  32. package/dist/db/psql/migrations/20251201100901-add_academicCalenderId_to_userHRollN.js +23 -0
  33. package/dist/db/psql/migrations/20251201101407-add_academicCalenderId_to_feeHistory.d.ts +2 -0
  34. package/dist/db/psql/migrations/20251201101407-add_academicCalenderId_to_feeHistory.js +23 -0
  35. package/dist/db/psql/migrations/20251201102129-add_academicCalenderId_to_feeReminder.d.ts +2 -0
  36. package/dist/db/psql/migrations/20251201102129-add_academicCalenderId_to_feeReminder.js +23 -0
  37. package/dist/db/psql/migrations/20251201102622-add_academicCalenderId_to_paymentTerms.d.ts +2 -0
  38. package/dist/db/psql/migrations/20251201102622-add_academicCalenderId_to_paymentTerms.js +23 -0
  39. package/dist/db/psql/migrations/20251201103134-add_academicCalenderId_to_subjectHFee.d.ts +2 -0
  40. package/dist/db/psql/migrations/20251201103134-add_academicCalenderId_to_subjectHFee.js +23 -0
  41. package/dist/db/psql/migrations/20251201103447-add_academicCalenderId_to_lectureHistory.d.ts +2 -0
  42. package/dist/db/psql/migrations/20251201103447-add_academicCalenderId_to_lectureHistory.js +23 -0
  43. package/dist/db/psql/migrations/20251201103551-add-academic-calendar-id-to-greetings.d.ts +2 -0
  44. package/dist/db/psql/migrations/20251201103551-add-academic-calendar-id-to-greetings.js +23 -0
  45. package/dist/db/psql/migrations/20251201104336-add_academicCalenderId_to_lecture.d.ts +2 -0
  46. package/dist/db/psql/migrations/20251201104336-add_academicCalenderId_to_lecture.js +23 -0
  47. package/dist/db/psql/migrations/20251202041045-add_academic_Cal_masterL.d.ts +2 -0
  48. package/dist/db/psql/migrations/20251202041045-add_academic_Cal_masterL.js +21 -0
  49. package/dist/db/psql/migrations/20251202042541-add_academic_Cal_offer.d.ts +2 -0
  50. package/dist/db/psql/migrations/20251202042541-add_academic_Cal_offer.js +21 -0
  51. package/dist/db/psql/migrations/20251202042809-add-academic-calendar-id-to-schoolOffer.d.ts +2 -0
  52. package/dist/db/psql/migrations/20251202042809-add-academic-calendar-id-to-schoolOffer.js +23 -0
  53. package/dist/db/psql/migrations/20251202043001-add_academic_Cal_userHOffer.d.ts +2 -0
  54. package/dist/db/psql/migrations/20251202043001-add_academic_Cal_userHOffer.js +21 -0
  55. package/dist/db/psql/migrations/20251202043722-add_academic_Cal_pdcCheque.d.ts +2 -0
  56. package/dist/db/psql/migrations/20251202043722-add_academic_Cal_pdcCheque.js +21 -0
  57. package/dist/db/psql/migrations/20251202044220-add_academic_Cal_pdcChequeHistory.d.ts +2 -0
  58. package/dist/db/psql/migrations/20251202044220-add_academic_Cal_pdcChequeHistory.js +21 -0
  59. package/dist/db/psql/migrations/20251204101602-add_academic_cal_slot.d.ts +2 -0
  60. package/dist/db/psql/migrations/20251204101602-add_academic_cal_slot.js +21 -0
  61. package/dist/db/psql/migrations/20251204102512-add_academic_cal_syllabus.d.ts +2 -0
  62. package/dist/db/psql/migrations/20251204102512-add_academic_cal_syllabus.js +21 -0
  63. package/dist/db/psql/migrations/20251204103002-add_academic_cal_testimonial.d.ts +2 -0
  64. package/dist/db/psql/migrations/20251204103002-add_academic_cal_testimonial.js +21 -0
  65. package/dist/db/psql/migrations/20251204103254-add_academic_cal_trip.d.ts +2 -0
  66. package/dist/db/psql/migrations/20251204103254-add_academic_cal_trip.js +21 -0
  67. package/dist/db/psql/migrations/20251204103624-add_academic_cal_userBA.d.ts +2 -0
  68. package/dist/db/psql/migrations/20251204103624-add_academic_cal_userBA.js +21 -0
  69. package/dist/db/psql/migrations/20251204104027-add_academic_cal_userFeeType.d.ts +2 -0
  70. package/dist/db/psql/migrations/20251204104027-add_academic_cal_userFeeType.js +21 -0
  71. package/dist/db/psql/migrations/20251204104738-add_academic_cal_userHInventory.d.ts +2 -0
  72. package/dist/db/psql/migrations/20251204104738-add_academic_cal_userHInventory.js +21 -0
  73. package/dist/db/psql/migrations/20251204105047-add_academic_cal_userHInvenH.d.ts +2 -0
  74. package/dist/db/psql/migrations/20251204105047-add_academic_cal_userHInvenH.js +21 -0
  75. package/dist/db/psql/migrations/20251204105717-add_academic_cal_userHLeave.d.ts +2 -0
  76. package/dist/db/psql/migrations/20251204105717-add_academic_cal_userHLeave.js +21 -0
  77. package/dist/db/psql/migrations/20251204110256-add_academic_cal_userHLH.d.ts +2 -0
  78. package/dist/db/psql/migrations/20251204110256-add_academic_cal_userHLH.js +21 -0
  79. package/dist/db/psql/migrations/20251204110629-add_academic_cal_userLeaveReq.d.ts +2 -0
  80. package/dist/db/psql/migrations/20251204110629-add_academic_cal_userLeaveReq.js +21 -0
  81. package/dist/db/psql/migrations/20251204110928-add_academic_cal_userproAssessOp.d.ts +2 -0
  82. package/dist/db/psql/migrations/20251204110928-add_academic_cal_userproAssessOp.js +21 -0
  83. package/dist/db/psql/migrations/20251204112518-add_batchId_type_subHFee.d.ts +2 -0
  84. package/dist/db/psql/migrations/20251204112518-add_batchId_type_subHFee.js +31 -0
  85. package/dist/db/psql/migrations/20251208110114-add-thumbnail-introvideo-to-courses.d.ts +2 -0
  86. package/dist/db/psql/migrations/20251208110114-add-thumbnail-introvideo-to-courses.js +31 -0
  87. package/dist/interfaces/announcementInterface.d.ts +1 -0
  88. package/dist/interfaces/approvalRequestInterface.d.ts +1 -0
  89. package/dist/interfaces/attendanceInterface.d.ts +1 -0
  90. package/dist/interfaces/bDayWishInterface.d.ts +1 -0
  91. package/dist/interfaces/bankAccountDetailsInterface.d.ts +1 -0
  92. package/dist/interfaces/batchSubjectBookAssessmentInterface.d.ts +1 -0
  93. package/dist/interfaces/batchSubjectProjectAssessmentInterface.d.ts +1 -0
  94. package/dist/interfaces/certificatesHistoryInterface.d.ts +1 -0
  95. package/dist/interfaces/certificatesManagementInterface.d.ts +1 -0
  96. package/dist/interfaces/classRoomInterface.d.ts +1 -0
  97. package/dist/interfaces/courseInterface.d.ts +2 -0
  98. package/dist/interfaces/dailyBookInterface.d.ts +1 -0
  99. package/dist/interfaces/eventInterface.d.ts +1 -0
  100. package/dist/interfaces/examGroupInterface.d.ts +1 -0
  101. package/dist/interfaces/examHasAnswerSheetInterface.d.ts +1 -0
  102. package/dist/interfaces/examInterface.d.ts +1 -0
  103. package/dist/interfaces/feeHistoryInterface.d.ts +1 -0
  104. package/dist/interfaces/feeReminderInterface.d.ts +1 -0
  105. package/dist/interfaces/feeReminderTypeInterface.d.ts +1 -0
  106. package/dist/interfaces/feeTypeInterface.d.ts +1 -0
  107. package/dist/interfaces/fileUploadUserDetailsInterface.d.ts +2 -2
  108. package/dist/interfaces/generateIdCardInterface.d.ts +1 -0
  109. package/dist/interfaces/greetingsInterface.d.ts +1 -0
  110. package/dist/interfaces/holidayInterface.d.ts +1 -0
  111. package/dist/interfaces/homeworkInterface.d.ts +1 -0
  112. package/dist/interfaces/index.d.ts +1 -0
  113. package/dist/interfaces/index.js +1 -0
  114. package/dist/interfaces/lectureHistoryInterface.d.ts +1 -0
  115. package/dist/interfaces/lectureInterface.d.ts +1 -0
  116. package/dist/interfaces/masterLeaveInterface.d.ts +1 -0
  117. package/dist/interfaces/offersInterface.d.ts +1 -0
  118. package/dist/interfaces/paymentTermsInterface.d.ts +1 -0
  119. package/dist/interfaces/pdcChequeInterface.d.ts +1 -0
  120. package/dist/interfaces/pdcHistoryInterface.d.ts +1 -0
  121. package/dist/interfaces/projectAssessmentOptionInterface.d.ts +1 -0
  122. package/dist/interfaces/replaceTeacherInterface.d.ts +1 -0
  123. package/dist/interfaces/schoolFeeInterface.d.ts +1 -0
  124. package/dist/interfaces/schoolOfferInterface.d.ts +1 -0
  125. package/dist/interfaces/sheetFieldInterface.d.ts +8 -0
  126. package/dist/interfaces/sheetFieldInterface.js +2 -0
  127. package/dist/interfaces/slotInterface.d.ts +1 -0
  128. package/dist/interfaces/subjectHasFeeInterface.d.ts +1 -1
  129. package/dist/interfaces/syllabusInterface.d.ts +1 -0
  130. package/dist/interfaces/taskManagementInterface.d.ts +1 -0
  131. package/dist/interfaces/testimonialInterface.d.ts +1 -0
  132. package/dist/interfaces/tripInterface.d.ts +1 -0
  133. package/dist/interfaces/userBookAssessmentInterface.d.ts +1 -0
  134. package/dist/interfaces/userFeeTypeInterface.d.ts +1 -0
  135. package/dist/interfaces/userHasAnnouncementInterface.d.ts +1 -0
  136. package/dist/interfaces/userHasBatchInterface.d.ts +1 -0
  137. package/dist/interfaces/userHasHomeWorkInterface.d.ts +1 -0
  138. package/dist/interfaces/userHasInventoryHistoryInterface.d.ts +1 -0
  139. package/dist/interfaces/userHasInventoryInterface.d.ts +1 -0
  140. package/dist/interfaces/userHasLeaveHistoryInterface.d.ts +1 -0
  141. package/dist/interfaces/userHasLeaveInterface.d.ts +1 -0
  142. package/dist/interfaces/userHasOfferInterface.d.ts +1 -0
  143. package/dist/interfaces/userHasRollNumberInterface.d.ts +1 -0
  144. package/dist/interfaces/userInstituteMetaInterface.d.ts +1 -0
  145. package/dist/interfaces/userLeaveRequestInterface.d.ts +1 -0
  146. package/dist/interfaces/userProjectAssessmentOptionInterface.d.ts +1 -0
  147. package/dist/interfaces/workingDayInterface.d.ts +1 -0
  148. package/dist/interfaces/workingShiftInterface.d.ts +1 -0
  149. package/dist/models/mongodb/approvalRequestModel.js +4 -0
  150. package/dist/models/mongodb/attendanceModel.js +4 -0
  151. package/dist/models/mongodb/bDayWishModel.js +1 -0
  152. package/dist/models/mongodb/certificatesHistoryModel.js +4 -0
  153. package/dist/models/mongodb/certificatesManagementModel.js +4 -0
  154. package/dist/models/mongodb/dailyBookModel.js +4 -0
  155. package/dist/models/mongodb/eventModel.js +4 -0
  156. package/dist/models/mongodb/examGroupModel.js +4 -0
  157. package/dist/models/mongodb/examHasAnswerSheetModel.js +4 -0
  158. package/dist/models/mongodb/examModel.js +4 -0
  159. package/dist/models/mongodb/feeReminderTypeModel.js +4 -0
  160. package/dist/models/mongodb/fileUploadUserDetailsModel.js +3 -3
  161. package/dist/models/mongodb/generateIdCardModel.js +4 -0
  162. package/dist/models/mongodb/holidayModel.js +4 -0
  163. package/dist/models/mongodb/index.d.ts +1 -0
  164. package/dist/models/mongodb/index.js +3 -1
  165. package/dist/models/mongodb/replaceTeacherModel.js +4 -0
  166. package/dist/models/mongodb/schoolFeeModel.js +4 -0
  167. package/dist/models/mongodb/sheetFieldModel.d.ts +4 -0
  168. package/dist/models/mongodb/sheetFieldModel.js +52 -0
  169. package/dist/models/mongodb/taskManagementModel.js +4 -0
  170. package/dist/models/mongodb/userInstituteMetaModel.js +4 -0
  171. package/dist/models/psql/announcementModel.d.ts +1 -0
  172. package/dist/models/psql/announcementModel.js +14 -1
  173. package/dist/models/psql/bankAccountDetailsModel.d.ts +1 -0
  174. package/dist/models/psql/bankAccountDetailsModel.js +10 -1
  175. package/dist/models/psql/batchSubjectBookAssessmentModel.d.ts +1 -0
  176. package/dist/models/psql/batchSubjectBookAssessmentModel.js +10 -1
  177. package/dist/models/psql/batchSubjectProjectAssessmentModel.d.ts +1 -0
  178. package/dist/models/psql/batchSubjectProjectAssessmentModel.js +10 -1
  179. package/dist/models/psql/classRoomModel.d.ts +1 -0
  180. package/dist/models/psql/classRoomModel.js +20 -1
  181. package/dist/models/psql/courseModel.d.ts +2 -0
  182. package/dist/models/psql/courseModel.js +27 -1
  183. package/dist/models/psql/feeHistoryModel.d.ts +1 -0
  184. package/dist/models/psql/feeHistoryModel.js +9 -1
  185. package/dist/models/psql/feeReminderModel.d.ts +1 -0
  186. package/dist/models/psql/feeReminderModel.js +14 -1
  187. package/dist/models/psql/feeTypeModel.d.ts +1 -0
  188. package/dist/models/psql/feeTypeModel.js +14 -1
  189. package/dist/models/psql/greetingsModel.d.ts +1 -0
  190. package/dist/models/psql/greetingsModel.js +14 -1
  191. package/dist/models/psql/homeWorkModel.d.ts +1 -0
  192. package/dist/models/psql/homeWorkModel.js +14 -1
  193. package/dist/models/psql/lectureHistoryModel.d.ts +1 -0
  194. package/dist/models/psql/lectureHistoryModel.js +14 -1
  195. package/dist/models/psql/lectureModel.d.ts +1 -0
  196. package/dist/models/psql/lectureModel.js +14 -1
  197. package/dist/models/psql/masterLeaveModel.d.ts +1 -0
  198. package/dist/models/psql/masterLeaveModel.js +14 -1
  199. package/dist/models/psql/offerModel.d.ts +1 -0
  200. package/dist/models/psql/offerModel.js +13 -1
  201. package/dist/models/psql/paymentTermsModel.d.ts +1 -0
  202. package/dist/models/psql/paymentTermsModel.js +14 -1
  203. package/dist/models/psql/pdcChequeModel.d.ts +1 -0
  204. package/dist/models/psql/pdcChequeModel.js +14 -1
  205. package/dist/models/psql/pdcHistoryModel.d.ts +1 -0
  206. package/dist/models/psql/pdcHistoryModel.js +14 -1
  207. package/dist/models/psql/projectAssessmentOptionModel.d.ts +1 -0
  208. package/dist/models/psql/projectAssessmentOptionModel.js +10 -1
  209. package/dist/models/psql/schoolOfferModel.d.ts +1 -0
  210. package/dist/models/psql/schoolOfferModel.js +14 -1
  211. package/dist/models/psql/slotModel.d.ts +1 -0
  212. package/dist/models/psql/slotModel.js +14 -1
  213. package/dist/models/psql/subjectHasFeeModel.js +3 -3
  214. package/dist/models/psql/syllabusModel.d.ts +1 -0
  215. package/dist/models/psql/syllabusModel.js +14 -1
  216. package/dist/models/psql/testimonialModel.d.ts +1 -0
  217. package/dist/models/psql/testimonialModel.js +14 -1
  218. package/dist/models/psql/tripModel.d.ts +1 -0
  219. package/dist/models/psql/tripModel.js +14 -1
  220. package/dist/models/psql/userBookAssessmentModel.d.ts +1 -0
  221. package/dist/models/psql/userBookAssessmentModel.js +14 -1
  222. package/dist/models/psql/userFeeTypeModel.js +14 -1
  223. package/dist/models/psql/userHasAnnouncementModel.d.ts +1 -0
  224. package/dist/models/psql/userHasAnnouncementModel.js +14 -1
  225. package/dist/models/psql/userHasBatchModel.d.ts +1 -0
  226. package/dist/models/psql/userHasBatchModel.js +20 -1
  227. package/dist/models/psql/userHasHomeWorkModel.d.ts +1 -0
  228. package/dist/models/psql/userHasHomeWorkModel.js +14 -1
  229. package/dist/models/psql/userHasInventoryHistoryModel.d.ts +1 -0
  230. package/dist/models/psql/userHasInventoryHistoryModel.js +14 -1
  231. package/dist/models/psql/userHasInventoryModel.d.ts +1 -0
  232. package/dist/models/psql/userHasInventoryModel.js +14 -1
  233. package/dist/models/psql/userHasLeaveHistoryModel.d.ts +1 -0
  234. package/dist/models/psql/userHasLeaveHistoryModel.js +14 -1
  235. package/dist/models/psql/userHasLeaveModel.d.ts +1 -0
  236. package/dist/models/psql/userHasLeaveModel.js +14 -1
  237. package/dist/models/psql/userHasOfferModel.d.ts +1 -0
  238. package/dist/models/psql/userHasOfferModel.js +13 -1
  239. package/dist/models/psql/userHasRollNumberModel.d.ts +1 -0
  240. package/dist/models/psql/userHasRollNumberModel.js +14 -1
  241. package/dist/models/psql/userLeaveRequestModel.d.ts +1 -0
  242. package/dist/models/psql/userLeaveRequestModel.js +14 -1
  243. package/dist/models/psql/userProjectAssessmentOptionModel.d.ts +1 -0
  244. package/dist/models/psql/userProjectAssessmentOptionModel.js +14 -1
  245. package/dist/models/psql/workingDayModel.d.ts +1 -0
  246. package/dist/models/psql/workingDayModel.js +10 -1
  247. package/dist/models/psql/workingShiftModel.d.ts +1 -0
  248. package/dist/models/psql/workingShiftModel.js +10 -1
  249. package/dist/types/index.d.ts +1 -0
  250. package/dist/types/index.js +1 -0
  251. package/dist/types/sheetFieldType.d.ts +2 -0
  252. package/dist/types/sheetFieldType.js +2 -0
  253. package/package.json +1 -1
@@ -6,4 +6,5 @@ export interface IBatchSubjectBookAssessmentModelAttributes extends IDefaultAttr
6
6
  standardId: string;
7
7
  assessmentType: string;
8
8
  instituteId?: string;
9
+ academicCalendarId?: string;
9
10
  }
@@ -9,4 +9,5 @@ export interface IBatchSubjectProjectAssessmentModelAttributes extends IDefaultA
9
9
  optionSelectionDueDate: Date;
10
10
  submissionDate: Date;
11
11
  instituteId?: string;
12
+ academicCalendarId?: string;
12
13
  }
@@ -6,4 +6,5 @@ export interface ICertificatesHistoryAttributes extends IDefaultAttributes, Docu
6
6
  userInstituteMetaId: string[];
7
7
  certificatesManagementId: string;
8
8
  additionalData: object;
9
+ academicCalendarId?: string;
9
10
  }
@@ -8,4 +8,5 @@ export interface ICertificatesManagementAttributes extends IDefaultAttributes, D
8
8
  instituteId?: string;
9
9
  additionalData: object;
10
10
  isInstituteDefault?: boolean;
11
+ academicCalendarId?: string;
11
12
  }
@@ -10,4 +10,5 @@ export interface IClassRoomModelAttributes extends IDefaultAttributes {
10
10
  instituteId: string;
11
11
  floorId?: string;
12
12
  typeManagementId?: string;
13
+ academicCalendarId?: string;
13
14
  }
@@ -15,4 +15,6 @@ export interface ICourseModelAttributes extends IDefaultAttributes {
15
15
  status: COMMAN_STATUS;
16
16
  instructor: string;
17
17
  expiryTime: number;
18
+ thumbNail: string;
19
+ introVideo: string;
18
20
  }
@@ -11,4 +11,5 @@ export interface IDailyBookModelAttributes extends IDefaultAttributes, Document
11
11
  subjectIndexId: string;
12
12
  chapterIndexId: string[];
13
13
  teachingAid: string;
14
+ academicCalendarId?: string;
14
15
  }
@@ -18,4 +18,5 @@ export interface IEventModelAttributes extends IDefaultAttributes, Document {
18
18
  startTime: Date;
19
19
  endTime: Date;
20
20
  plannerSyncStatus?: PLANNER_SYNC_STATUS;
21
+ academicCalendarId?: string;
21
22
  }
@@ -27,4 +27,5 @@ export interface IExamGroupModelAttributes extends IDefaultAttributes, Document
27
27
  standards: string[];
28
28
  subjects?: string[];
29
29
  status: EXAM_GROUP_STATUS;
30
+ academicCalendarId?: string;
30
31
  }
@@ -20,4 +20,5 @@ export interface IExamHasAnswerSheetModelAttributes extends IDefaultAttributes,
20
20
  resultStatus?: EXAM_ANSWER_SHEET_RESULT_STATUS;
21
21
  isInProgress?: boolean;
22
22
  studentExamIp?: string;
23
+ academicCalendarId?: string;
23
24
  }
@@ -38,4 +38,5 @@ export interface IExamModelAttributes extends IDefaultAttributes, Document {
38
38
  isMarksAdded?: boolean;
39
39
  plannerSyncStatus?: PLANNER_SYNC_STATUS;
40
40
  publishedDate?: Date;
41
+ academicCalendarId?: string;
41
42
  }
@@ -18,4 +18,5 @@ export interface IFeeHistoryModelAttributes extends IDefaultAttributes {
18
18
  bankAccountId?: string | null;
19
19
  parentHistoryId?: string | null;
20
20
  schoolFeeCollectionId?: string | null;
21
+ academicCalendarId?: string;
21
22
  }
@@ -10,4 +10,5 @@ export interface IFeeReminderModelAttributes extends IDefaultAttributes {
10
10
  feeCollectionId: string;
11
11
  dueDate: Date;
12
12
  dueAmount: number;
13
+ academicCalendarId?: string;
13
14
  }
@@ -7,4 +7,5 @@ export interface IFeeReminderTypeModelAttributes extends IDefaultAttributes, Doc
7
7
  day: number;
8
8
  frequency: FEE_REMINDER_SETTING_FREQUENCY;
9
9
  instituteId: string;
10
+ academicCalendarId?: string;
10
11
  }
@@ -10,4 +10,5 @@ export interface IFeeTypeModelAttributes extends IDefaultAttributes {
10
10
  account: string;
11
11
  instituteId: string;
12
12
  isDefault: BOOLEAN_STATUS;
13
+ academicCalendarId: string;
13
14
  }
@@ -15,9 +15,9 @@ export interface IFileUploadUserDetailsModelAttributes extends IDefaultAttribute
15
15
  motherName?: string;
16
16
  fatherName?: string;
17
17
  religion: string;
18
- socialCat: string;
18
+ socialCategory: string;
19
19
  rte: string;
20
- doa: Date;
20
+ dateOfAdmission: Date;
21
21
  grNo: string;
22
22
  std: string;
23
23
  division: string;
@@ -5,4 +5,5 @@ export interface IGenarateIdCardModelAttributes extends IDefaultAttributes, Docu
5
5
  templateName: string;
6
6
  content?: string;
7
7
  instituteId: string;
8
+ academicCalendarId: string;
8
9
  }
@@ -9,4 +9,5 @@ export interface IGreetingsModelAttributes extends IDefaultAttributes {
9
9
  status: COMMAN_STATUS;
10
10
  title: string;
11
11
  image: string;
12
+ academicCalendarId: string;
12
13
  }
@@ -19,4 +19,5 @@ export interface IHolidayModelAttributes extends IDefaultAttributes, Document {
19
19
  endTime: Date;
20
20
  typeManagementId: string;
21
21
  plannerSyncStatus?: PLANNER_SYNC_STATUS;
22
+ academicCalendarId: string;
22
23
  }
@@ -10,4 +10,5 @@ export interface IHomeWorkModelAttributes extends IDefaultAttributes {
10
10
  fileStorageId: string[];
11
11
  submissionDate: Date;
12
12
  instituteId: string;
13
+ academicCalendarId: string;
13
14
  }
@@ -156,3 +156,4 @@ export * from './competitionGroupInterface';
156
156
  export * from './competitionUsersInterface';
157
157
  export * from './cloneListInterface';
158
158
  export * from './fileUploadUserDetailsInterface';
159
+ export * from './sheetFieldInterface';
@@ -172,3 +172,4 @@ __exportStar(require("./competitionGroupInterface"), exports);
172
172
  __exportStar(require("./competitionUsersInterface"), exports);
173
173
  __exportStar(require("./cloneListInterface"), exports);
174
174
  __exportStar(require("./fileUploadUserDetailsInterface"), exports);
175
+ __exportStar(require("./sheetFieldInterface"), exports);
@@ -21,4 +21,5 @@ export interface ILectureHistoryModelAttributes extends IDefaultAttributes {
21
21
  color?: string;
22
22
  lectureId: string;
23
23
  weekNumber: number;
24
+ academicCalendarId?: string;
24
25
  }
@@ -23,4 +23,5 @@ export interface ILectureModelAttributes extends IDefaultAttributes {
23
23
  plannerSyncStatus?: PLANNER_SYNC_STATUS;
24
24
  shiftId?: string;
25
25
  slotId?: string;
26
+ academicCalendarId?: string;
26
27
  }
@@ -10,4 +10,5 @@ export interface IMasterLeaveModelAttributes extends IDefaultAttributes {
10
10
  endTermDuration: Date;
11
11
  leave: LEAVE;
12
12
  status: COMMAN_STATUS;
13
+ academicCalendarId?: string;
13
14
  }
@@ -15,4 +15,5 @@ export interface IOffersModelAttributes extends IDefaultAttributes {
15
15
  endTime?: Date;
16
16
  userLimit?: number;
17
17
  offerType: OFFER_NAME;
18
+ academicCalendarId?: string;
18
19
  }
@@ -12,4 +12,5 @@ export interface IPaymentTermsModelAttributes extends IDefaultAttributes {
12
12
  instituteId: string;
13
13
  userId: string;
14
14
  feeCollectionId: string;
15
+ academicCalendarId?: string;
15
16
  }
@@ -13,4 +13,5 @@ export interface IPdcChequeModelAttributes extends IDefaultAttributes {
13
13
  bankName: string;
14
14
  frequency: PDF_CHEQUE_FREQUENCY;
15
15
  standardId: string;
16
+ academicCalendarId?: string;
16
17
  }
@@ -14,4 +14,5 @@ export interface IPdcHistoryModelAttributes extends IDefaultAttributes {
14
14
  bankName: string;
15
15
  frequency: PDF_CHEQUE_FREQUENCY;
16
16
  standardId: string;
17
+ academicCalendarId?: string;
17
18
  }
@@ -5,4 +5,5 @@ export interface IProjectAssessmentOptionModelAttributes extends IDefaultAttribu
5
5
  title: string;
6
6
  subTitle: string;
7
7
  descriptions: string;
8
+ academicCalendarId?: string;
8
9
  }
@@ -19,4 +19,5 @@ export interface IReplaceTeacherModelAttributes extends IDefaultAttributes, Docu
19
19
  teacherType: TEACHER_TYPE;
20
20
  batches: IReplaceTeacherBatchesSchema[];
21
21
  replaceTeacherStatus: REPLACE_TEACHER_STATUS;
22
+ academicCalendarId: String;
22
23
  }
@@ -18,4 +18,5 @@ export interface ISchoolFeeModelAttributes extends IDefaultAttributes, Document
18
18
  stdId: string[];
19
19
  commonDueDate: number;
20
20
  fees: IFeeSchema[];
21
+ academicCalendarId: string;
21
22
  }
@@ -17,4 +17,5 @@ export interface ISchoolOffersModelAttributes extends IDefaultAttributes {
17
17
  noLimit: boolean;
18
18
  account: string;
19
19
  applicableOn: string[];
20
+ academicCalendarId: string;
20
21
  }
@@ -0,0 +1,8 @@
1
+ import { Document } from 'mongoose';
2
+ import { IDefaultAttributes } from './commonInterface';
3
+ export interface ISheetFieldModelAttributes extends IDefaultAttributes, Document {
4
+ id: string;
5
+ sheetField: string[];
6
+ dbField: string;
7
+ isRequired: boolean;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,4 +5,5 @@ export interface ISlotModelAttributes extends IDefaultAttributes {
5
5
  name: string;
6
6
  instituteId: string;
7
7
  type: SCHOOL_SHIFT;
8
+ academicCalendarId?: string;
8
9
  }
@@ -4,7 +4,7 @@ export interface ISubjectHasFeeModelAttributes extends IDefaultAttributes {
4
4
  instituteId: string;
5
5
  subjectId: string;
6
6
  fee: number;
7
- academicCalenderId?: string;
7
+ academicCalendarId?: string;
8
8
  batchId?: string;
9
9
  batchType?: string;
10
10
  }
@@ -6,4 +6,5 @@ export interface ISyllabusModelAttributes extends IDefaultAttributes {
6
6
  instituteId: string;
7
7
  subjectId: string;
8
8
  id: string;
9
+ academicCalendarId?: string;
9
10
  }
@@ -21,4 +21,5 @@ export interface ITaskManagementModelAttributes extends IDefaultAttributes, Docu
21
21
  instituteId: string;
22
22
  startDate?: Date;
23
23
  endDate?: Date;
24
+ academicCalendarId?: string;
24
25
  }
@@ -9,4 +9,5 @@ export interface ITestimonialModelAttributes extends IDefaultAttributes {
9
9
  rating: number;
10
10
  userType: USER_TYPES;
11
11
  class?: string | null;
12
+ academicCalendarId?: string;
12
13
  }
@@ -10,4 +10,5 @@ export interface ITripModelAttributes extends IDefaultAttributes {
10
10
  instituteId: string;
11
11
  departure: Date;
12
12
  arrival: Date;
13
+ academicCalendarId?: string;
13
14
  }
@@ -7,4 +7,5 @@ export interface IUserBookAssessmentModelAttributes extends IDefaultAttributes {
7
7
  batchId: string;
8
8
  userId: string;
9
9
  status?: USER_BOOK_ASSESSMENT_STATUS;
10
+ academicCalendarId?: string;
10
11
  }
@@ -13,4 +13,5 @@ export interface IUserFeeTypeModelAttributes extends IDefaultAttributes {
13
13
  grNumber?: string;
14
14
  rollNumber: string;
15
15
  feeCollectionAccountId: string;
16
+ academicCalendarId?: string;
16
17
  }
@@ -6,4 +6,5 @@ export interface IUserHasAnnouncementModelAttributes extends IDefaultAttributes
6
6
  announcementId: string;
7
7
  instituteId?: string;
8
8
  status?: USER_HAS_ANNOUCEMENT_STATUS;
9
+ academicCalendarId?: string;
9
10
  }
@@ -4,4 +4,5 @@ export interface IUserHasBatchModelAttributes extends IDefaultAttributes {
4
4
  batchId: string;
5
5
  userId: string;
6
6
  subjects: string[];
7
+ academicCalendarId?: string;
7
8
  }
@@ -8,4 +8,5 @@ export interface IUserHasHomeWorkModelAttributes extends IDefaultAttributes {
8
8
  note?: string;
9
9
  studentStatus?: HOME_WORK_STATUS;
10
10
  instituteStatus?: HOME_WORK_STATUS;
11
+ academicCalendarId: string;
11
12
  }
@@ -17,4 +17,5 @@ export interface IUserHasInventoryHistoryModelAttributes extends IDefaultAttribu
17
17
  action: USER_INVENTORY_ACTION;
18
18
  remainingQuantity: number;
19
19
  totalQuantity: number;
20
+ academicCalendarId?: string;
20
21
  }
@@ -18,4 +18,5 @@ export interface IUserHasInventoryModelAttributes extends IDefaultAttributes {
18
18
  penalty?: number;
19
19
  returnNote?: string;
20
20
  instituteId: string;
21
+ academicCalendarId?: string;
21
22
  }
@@ -13,4 +13,5 @@ export interface IUserHasLeaveHistoryModelAttributes extends IDefaultAttributes
13
13
  status: LEAVE_STATUS;
14
14
  startTime: Date;
15
15
  endTime: Date;
16
+ academicCalendarId?: string;
16
17
  }
@@ -9,4 +9,5 @@ export interface IUserHasLeaveModelAttributes extends IDefaultAttributes {
9
9
  leaveId: string;
10
10
  userHasLeaveId?: string;
11
11
  leave: LEAVE;
12
+ academicCalendarId?: string;
12
13
  }
@@ -7,4 +7,5 @@ export interface IUserHasOfferModelAttributes extends IDefaultAttributes {
7
7
  courseId?: string;
8
8
  offerId: string;
9
9
  discountAmount: number;
10
+ academicCalendarId?: string;
10
11
  }
@@ -5,4 +5,5 @@ export interface IUserHasRollNumberModelAttributes extends IDefaultAttributes {
5
5
  instituteId: string;
6
6
  rollNumber: number;
7
7
  batchId: string;
8
+ academicCalendarId?: string;
8
9
  }
@@ -37,4 +37,5 @@ export interface IUserInstituteMetaAttributes extends IDefaultAttributes, Docume
37
37
  secondarySubject?: string[];
38
38
  lastGreetingDate?: Date;
39
39
  isSyncToSubscriptionPlan?: boolean;
40
+ academicCalendarId?: string;
40
41
  }
@@ -12,4 +12,5 @@ export interface IUserLeaveRequestModelAttributes extends IDefaultAttributes {
12
12
  status: LEAVE_STATUS;
13
13
  startTime: Date;
14
14
  endTime: Date;
15
+ academicCalendarId?: string;
15
16
  }
@@ -7,4 +7,5 @@ export interface IUserProjectAssessmentOptionModelAttributes extends IDefaultAtt
7
7
  userId: string;
8
8
  status?: PROJECT_ASSESSMENT_OPTION_STATUS;
9
9
  note?: string;
10
+ academicCalendarId?: string;
10
11
  }
@@ -8,4 +8,5 @@ export interface IWorkingDayAttributes extends IDefaultAttributes {
8
8
  status?: WORKIN_DAY_STATUS;
9
9
  instituteId?: string;
10
10
  dayOfWeek: number;
11
+ academicCalendarId?: string;
11
12
  }
@@ -9,4 +9,5 @@ export interface IWorkingShiftAttributes extends IDefaultAttributes {
9
9
  status?: WORKIN_DAY_STATUS;
10
10
  shiftType: SCHOOL_SHIFT;
11
11
  instituteId?: string;
12
+ academicCalendarId?: string;
12
13
  }
@@ -72,6 +72,10 @@ const approveRequestSchema = new mongoose_1.Schema({
72
72
  type: String,
73
73
  required: false,
74
74
  },
75
+ academicCalendarId: {
76
+ type: String,
77
+ required: false,
78
+ },
75
79
  createdBy: {
76
80
  type: String,
77
81
  required: false,
@@ -86,6 +86,10 @@ const attendanceModelSchema = new mongoose_1.Schema({
86
86
  type: String,
87
87
  required: true,
88
88
  },
89
+ academicCalendarId: {
90
+ type: String,
91
+ required: false,
92
+ },
89
93
  users: {
90
94
  type: [attendanceUserSchema],
91
95
  required: true,
@@ -41,6 +41,7 @@ const userSchema = new mongoose_1.Schema({
41
41
  }, { _id: false });
42
42
  const bDayWishModelSchema = new mongoose_1.Schema({
43
43
  instituteId: { type: String, required: true },
44
+ academicCalendarId: { type: String, required: false },
44
45
  userIds: { type: [userSchema], default: [] },
45
46
  userId: { type: String, required: true },
46
47
  date: { type: Date, required: true },
@@ -53,6 +53,10 @@ const CertificatesHistorySchema = new mongoose_1.Schema({
53
53
  type: Object,
54
54
  required: false,
55
55
  },
56
+ academicCalendarId: {
57
+ type: String,
58
+ required: false,
59
+ }
56
60
  }, { timestamps: true, versionKey: false });
57
61
  const CertificatesHistory = mongoose_1.default.model('certificates_history', CertificatesHistorySchema);
58
62
  exports.default = CertificatesHistory;
@@ -49,6 +49,10 @@ const CertificatesManagementSchema = new mongoose_1.Schema({
49
49
  type: String,
50
50
  required: false,
51
51
  },
52
+ academicCalendarId: {
53
+ type: String,
54
+ required: false,
55
+ },
52
56
  additionalData: {
53
57
  type: Object,
54
58
  required: false,
@@ -47,6 +47,10 @@ const DailyBookSchema = new mongoose_1.Schema({
47
47
  type: String,
48
48
  required: false,
49
49
  },
50
+ academicCalendarId: {
51
+ type: String,
52
+ required: false,
53
+ },
50
54
  batchId: {
51
55
  type: String,
52
56
  required: false,
@@ -100,6 +100,10 @@ const eventModelSchema = new mongoose_1.Schema({
100
100
  type: String,
101
101
  required: false,
102
102
  },
103
+ academicCalendarId: {
104
+ type: String,
105
+ required: false,
106
+ },
103
107
  createdBy: {
104
108
  type: String,
105
109
  required: false,
@@ -111,6 +111,10 @@ const examGroupModelSchema = new mongoose_1.Schema({
111
111
  type: String,
112
112
  required: true,
113
113
  },
114
+ academicCalendarId: {
115
+ type: String,
116
+ required: false,
117
+ },
114
118
  startDate: {
115
119
  type: Date,
116
120
  required: true,
@@ -116,6 +116,10 @@ const examHasAnswerSheetSchema = new mongoose_1.Schema({
116
116
  default: '',
117
117
  required: false,
118
118
  },
119
+ academicCalendarId: {
120
+ type: String,
121
+ required: false
122
+ }
119
123
  }, {
120
124
  timestamps: true,
121
125
  versionKey: false,
@@ -194,6 +194,10 @@ const examModelSchema = new mongoose_1.Schema({
194
194
  type: String,
195
195
  default: app_1.PLANNER_SYNC_STATUS.PENDING,
196
196
  },
197
+ academicCalendarId: {
198
+ type: String,
199
+ required: false,
200
+ },
197
201
  }, {
198
202
  timestamps: true,
199
203
  versionKey: false,
@@ -53,6 +53,10 @@ const feeReminderTypeModelSchema = new mongoose_1.Schema({
53
53
  type: String,
54
54
  required: true,
55
55
  },
56
+ academicCalendarId: {
57
+ type: String,
58
+ required: false,
59
+ },
56
60
  createdBy: {
57
61
  type: String,
58
62
  required: false,
@@ -87,7 +87,7 @@ const userDetailsFromFile = new mongoose_1.Schema({
87
87
  type: String,
88
88
  required: false,
89
89
  },
90
- socialCat: {
90
+ socialCategory: {
91
91
  type: String,
92
92
  required: false,
93
93
  },
@@ -95,7 +95,7 @@ const userDetailsFromFile = new mongoose_1.Schema({
95
95
  type: String,
96
96
  required: false,
97
97
  },
98
- doa: {
98
+ dateOfAdmission: {
99
99
  type: Date,
100
100
  required: false,
101
101
  },
@@ -120,7 +120,7 @@ const userDetailsFromFile = new mongoose_1.Schema({
120
120
  required: false,
121
121
  },
122
122
  academicYear: {
123
- type: Date
123
+ type: String,
124
124
  }
125
125
  }, {
126
126
  timestamps: true,
@@ -47,6 +47,10 @@ const GenerateIdCardSchema = new mongoose_1.Schema({
47
47
  type: String,
48
48
  required: false,
49
49
  },
50
+ academicCalendarId: {
51
+ type: String,
52
+ required: false,
53
+ },
50
54
  }, {
51
55
  timestamps: true,
52
56
  versionKey: false,
@@ -96,6 +96,10 @@ const holidayModelSchema = new mongoose_1.Schema({
96
96
  type: String,
97
97
  required: false,
98
98
  },
99
+ academicCalendarId: {
100
+ type: String,
101
+ required: false,
102
+ },
99
103
  startTime: {
100
104
  type: Date,
101
105
  required: true,
@@ -46,3 +46,4 @@ export { default as CompetitionModel } from './competitionModel';
46
46
  export { default as CompetitionGroupModel } from './competitionGroupModel';
47
47
  export { default as CompetitionUsersModel } from './competitionUsersModel';
48
48
  export { default as FileUploadUserDetails } from './fileUploadUserDetailsModel';
49
+ export { default as SheetFieldMappingModel } from './sheetFieldModel';
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.FileUploadUserDetails = exports.CompetitionUsersModel = exports.CompetitionGroupModel = exports.CompetitionModel = exports.CompetitionEventModel = exports.AppointmentHistoryModel = exports.AppointmentModel = exports.SeatingArrangementModel = exports.AssignFileModel = exports.ThemeModel = exports.BDayWishModel = exports.AdditionalDetailModel = exports.CanteenModel = exports.WalletTransactionModel = exports.VideoAnalystModel = exports.UserSchoolMetaModel = exports.UserInstituteMetaModel = exports.UserDetailsModel = exports.UniqueNumberCounterModel = exports.TaskManagementModel = exports.SubscriptionPlanModel = exports.SubjectIndexModel = exports.SchoolFeeModel = exports.ReplaceTeacherModel = exports.PlannerModel = exports.PhotosGalleryModel = exports.JobApplyModel = exports.InvoiceModel = exports.InquiryModel = exports.InformationSupportModel = exports.HolidayModel = exports.GenerateIdCardModel = exports.FeedBackModel = exports.FeeReminderTypeModel = exports.ExamModel = exports.ExamHasAnswerSheetModel = exports.ExamGroupModel = exports.EventModel = exports.DashboardManagementModel = exports.DailyBookModel = exports.ColumnModel = exports.CertificatesManagementModel = exports.CertificatesHistoryModel = exports.CareerModel = exports.BlogModel = exports.AttendanceModel = exports.ApprovalRequestModel = exports.connectMongoDb = void 0;
6
+ exports.SheetFieldMappingModel = exports.FileUploadUserDetails = exports.CompetitionUsersModel = exports.CompetitionGroupModel = exports.CompetitionModel = exports.CompetitionEventModel = exports.AppointmentHistoryModel = exports.AppointmentModel = exports.SeatingArrangementModel = exports.AssignFileModel = exports.ThemeModel = exports.BDayWishModel = exports.AdditionalDetailModel = exports.CanteenModel = exports.WalletTransactionModel = exports.VideoAnalystModel = exports.UserSchoolMetaModel = exports.UserInstituteMetaModel = exports.UserDetailsModel = exports.UniqueNumberCounterModel = exports.TaskManagementModel = exports.SubscriptionPlanModel = exports.SubjectIndexModel = exports.SchoolFeeModel = exports.ReplaceTeacherModel = exports.PlannerModel = exports.PhotosGalleryModel = exports.JobApplyModel = exports.InvoiceModel = exports.InquiryModel = exports.InformationSupportModel = exports.HolidayModel = exports.GenerateIdCardModel = exports.FeedBackModel = exports.FeeReminderTypeModel = exports.ExamModel = exports.ExamHasAnswerSheetModel = exports.ExamGroupModel = exports.EventModel = exports.DashboardManagementModel = exports.DailyBookModel = exports.ColumnModel = exports.CertificatesManagementModel = exports.CertificatesHistoryModel = exports.CareerModel = exports.BlogModel = exports.AttendanceModel = exports.ApprovalRequestModel = exports.connectMongoDb = void 0;
7
7
  const mongoose_1 = __importDefault(require("mongoose"));
8
8
  const env_1 = require("../../configs/env");
9
9
  const transformIdInQueryPlugin_1 = __importDefault(require("./plugin/transformIdInQueryPlugin"));
@@ -117,3 +117,5 @@ var competitionUsersModel_1 = require("./competitionUsersModel");
117
117
  Object.defineProperty(exports, "CompetitionUsersModel", { enumerable: true, get: function () { return __importDefault(competitionUsersModel_1).default; } });
118
118
  var fileUploadUserDetailsModel_1 = require("./fileUploadUserDetailsModel");
119
119
  Object.defineProperty(exports, "FileUploadUserDetails", { enumerable: true, get: function () { return __importDefault(fileUploadUserDetailsModel_1).default; } });
120
+ var sheetFieldModel_1 = require("./sheetFieldModel");
121
+ Object.defineProperty(exports, "SheetFieldMappingModel", { enumerable: true, get: function () { return __importDefault(sheetFieldModel_1).default; } });