@kipicore/dbcore 1.0.10 → 1.1.1

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 (1669) hide show
  1. package/dist/scripts/fix-import-extensions.d.ts +1 -0
  2. package/dist/scripts/fix-import-extensions.js +33 -0
  3. package/dist/scripts/generate-index.d.ts +1 -0
  4. package/dist/scripts/generate-index.js +43 -0
  5. package/dist/src/configs/aws.js +12 -0
  6. package/dist/src/constants/successMessages.d.ts +699 -0
  7. package/dist/src/helpers/s3Uploader.d.ts +3 -0
  8. package/dist/src/helpers/s3Uploader.js +61 -0
  9. package/dist/src/helpers/utils.d.ts +173 -0
  10. package/dist/src/helpers/utils.js +682 -0
  11. package/dist/src/index.d.ts +415 -0
  12. package/dist/src/index.js +431 -0
  13. package/dist/src/interfaces/academicCalendarInterface.d.ts +9 -0
  14. package/dist/src/interfaces/accountHasReceiptDetailsInterface.d.ts +17 -0
  15. package/dist/src/interfaces/announcementInterface.d.ts +19 -0
  16. package/dist/src/interfaces/approvalRequestInterface.d.ts +14 -0
  17. package/dist/src/interfaces/attendanceInterface.d.ts +21 -0
  18. package/dist/src/interfaces/bankAccountDetailsInterface.d.ts +14 -0
  19. package/dist/src/interfaces/bannerInterface.d.ts +15 -0
  20. package/dist/src/interfaces/batchInterface.d.ts +18 -0
  21. package/dist/src/interfaces/batchSubjectBookAssessmentInterface.d.ts +9 -0
  22. package/dist/src/interfaces/batchSubjectProjectAssessmentInterface.d.ts +12 -0
  23. package/dist/src/interfaces/blogInterface.d.ts +46 -0
  24. package/dist/src/interfaces/bookAssessmentDateInterface.d.ts +8 -0
  25. package/dist/src/interfaces/careerInterface.d.ts +12 -0
  26. package/dist/src/interfaces/categoriesInterface.d.ts +8 -0
  27. package/dist/src/interfaces/certificatesHistoryInterface.d.ts +9 -0
  28. package/dist/src/interfaces/certificatesManagementInterface.d.ts +11 -0
  29. package/dist/src/interfaces/cityInterface.d.ts +12 -0
  30. package/dist/src/interfaces/classRoomInterface.d.ts +13 -0
  31. package/dist/src/interfaces/cloudStorageInterface.d.ts +15 -0
  32. package/dist/src/interfaces/coinPurchaseOfferInterface.d.ts +16 -0
  33. package/dist/src/interfaces/columnInterface.d.ts +15 -0
  34. package/dist/src/interfaces/contactFeedBackInterface.d.ts +13 -0
  35. package/dist/src/interfaces/countryInterface.d.ts +11 -0
  36. package/dist/src/interfaces/courseHasVisitorsInterface.d.ts +7 -0
  37. package/dist/src/interfaces/courseInterface.d.ts +18 -0
  38. package/dist/src/interfaces/dailyBookInterface.d.ts +14 -0
  39. package/dist/src/interfaces/dashboardManagementInterface.d.ts +19 -0
  40. package/dist/src/interfaces/driverInterface.d.ts +21 -0
  41. package/dist/src/interfaces/entityGroupInterface.d.ts +12 -0
  42. package/dist/src/interfaces/eventInterface.d.ts +21 -0
  43. package/dist/src/interfaces/examGroupInterface.d.ts +30 -0
  44. package/dist/src/interfaces/examHasAnswerSheetInterface.d.ts +23 -0
  45. package/dist/src/interfaces/examInterface.d.ts +38 -0
  46. package/dist/src/interfaces/facilityInterface.d.ts +9 -0
  47. package/dist/src/interfaces/featureActionInterface.d.ts +17 -0
  48. package/dist/src/interfaces/feeHistoryDetailsInterface.d.ts +17 -0
  49. package/dist/src/interfaces/feeHistoryInterface.d.ts +21 -0
  50. package/dist/src/interfaces/feeReminderInterface.d.ts +13 -0
  51. package/dist/src/interfaces/feeReminderSettingInterface.d.ts +10 -0
  52. package/dist/src/interfaces/feeReminderTypeInterface.d.ts +10 -0
  53. package/dist/src/interfaces/feeTypeHasTermsInterface.d.ts +12 -0
  54. package/dist/src/interfaces/feeTypeInterface.d.ts +13 -0
  55. package/dist/src/interfaces/feedBackInterface.d.ts +19 -0
  56. package/dist/src/interfaces/feesCollectionInterface.d.ts +19 -0
  57. package/dist/src/interfaces/fileStorageInterface.d.ts +14 -0
  58. package/dist/src/interfaces/floorManagementInterface.d.ts +9 -0
  59. package/dist/src/interfaces/generateIdCardInterface.d.ts +8 -0
  60. package/dist/src/interfaces/greetingsInterface.d.ts +12 -0
  61. package/dist/src/interfaces/holidayInterface.d.ts +22 -0
  62. package/dist/src/interfaces/homeworkInterface.d.ts +13 -0
  63. package/dist/src/interfaces/informationSupportInterface.d.ts +15 -0
  64. package/dist/src/interfaces/inquiryInterface.d.ts +54 -0
  65. package/dist/src/interfaces/instituteEntityInterface.d.ts +16 -0
  66. package/dist/src/interfaces/instituteEntityTypeInterface.d.ts +10 -0
  67. package/dist/src/interfaces/instituteInterface.d.ts +35 -0
  68. package/dist/src/interfaces/instituteSubscriptionPlanInterface.d.ts +21 -0
  69. package/dist/src/interfaces/inventoryHistoryInterface.d.ts +17 -0
  70. package/dist/src/interfaces/inventoryInterface.d.ts +15 -0
  71. package/dist/src/interfaces/invoiceInterface.d.ts +31 -0
  72. package/dist/src/interfaces/jobApplyInterface.d.ts +35 -0
  73. package/dist/src/interfaces/lectureHistoryInterface.d.ts +24 -0
  74. package/dist/src/interfaces/lectureInterface.d.ts +26 -0
  75. package/dist/src/interfaces/masterLeaveInterface.d.ts +13 -0
  76. package/dist/src/interfaces/moduleFeatureInterface.d.ts +16 -0
  77. package/dist/src/interfaces/moduleInterface.d.ts +15 -0
  78. package/dist/src/interfaces/offersInterface.d.ts +18 -0
  79. package/dist/src/interfaces/paymentTermsInterface.d.ts +15 -0
  80. package/dist/src/interfaces/pdcChequeInterface.d.ts +16 -0
  81. package/dist/src/interfaces/pdcHistoryInterface.d.ts +17 -0
  82. package/dist/src/interfaces/photosGalleryInterface.d.ts +17 -0
  83. package/dist/src/interfaces/pincodeInterface.d.ts +15 -0
  84. package/dist/src/interfaces/plannerInterface.d.ts +32 -0
  85. package/dist/src/interfaces/productInterface.d.ts +10 -0
  86. package/dist/src/interfaces/projectAssessmentOptionInterface.d.ts +8 -0
  87. package/dist/src/interfaces/replaceTeacherInterface.d.ts +22 -0
  88. package/dist/src/interfaces/roleInterface.d.ts +26 -0
  89. package/dist/src/interfaces/rulesRegulationInterface.d.ts +10 -0
  90. package/dist/src/interfaces/schoolFeeCollectionInterface.d.ts +13 -0
  91. package/dist/src/interfaces/schoolFeeInterface.d.ts +21 -0
  92. package/dist/src/interfaces/schoolOfferInterface.d.ts +20 -0
  93. package/dist/src/interfaces/sendNotificationInerface.d.ts +20 -0
  94. package/dist/src/interfaces/slotInterface.d.ts +8 -0
  95. package/dist/src/interfaces/stateInterface.d.ts +11 -0
  96. package/dist/src/interfaces/subCategoriesInterface.d.ts +9 -0
  97. package/dist/src/interfaces/subjectHasFeeInterface.d.ts +7 -0
  98. package/dist/src/interfaces/subjectHasPayFeeHistoryInterface.d.ts +9 -0
  99. package/dist/src/interfaces/subjectIndexInterface.d.ts +48 -0
  100. package/dist/src/interfaces/subscriptionPlanInterface.d.ts +29 -0
  101. package/dist/src/interfaces/syllabusInterface.d.ts +9 -0
  102. package/dist/src/interfaces/taskManagementInterface.d.ts +24 -0
  103. package/dist/src/interfaces/testimonialInterface.d.ts +12 -0
  104. package/dist/src/interfaces/toDoInterface.d.ts +11 -0
  105. package/dist/src/interfaces/tokenInterface.d.ts +27 -0
  106. package/dist/src/interfaces/tripInterface.d.ts +13 -0
  107. package/dist/src/interfaces/typeManagementInterface.d.ts +11 -0
  108. package/dist/src/interfaces/uniqueNumberCounterInterface.d.ts +11 -0
  109. package/dist/src/interfaces/userBookAssessmentInterface.d.ts +10 -0
  110. package/dist/src/interfaces/userDetailsInterface.d.ts +122 -0
  111. package/dist/src/interfaces/userFeeTypeByAccountInterface.d.ts +19 -0
  112. package/dist/src/interfaces/userFeeTypeInterface.d.ts +16 -0
  113. package/dist/src/interfaces/userHasAnnouncementInterface.d.ts +9 -0
  114. package/dist/src/interfaces/userHasBatchInterface.d.ts +7 -0
  115. package/dist/src/interfaces/userHasCourseInterface.d.ts +13 -0
  116. package/dist/src/interfaces/userHasDeviceInterface.d.ts +10 -0
  117. package/dist/src/interfaces/userHasFeeTermsInterface.d.ts +37 -0
  118. package/dist/src/interfaces/userHasFileInterface.d.ts +11 -0
  119. package/dist/src/interfaces/userHasHomeWorkInterface.d.ts +11 -0
  120. package/dist/src/interfaces/userHasInventoryHistoryInterface.d.ts +20 -0
  121. package/dist/src/interfaces/userHasInventoryInterface.d.ts +21 -0
  122. package/dist/src/interfaces/userHasLeaveHistoryInterface.d.ts +16 -0
  123. package/dist/src/interfaces/userHasLeaveInterface.d.ts +12 -0
  124. package/dist/src/interfaces/userHasOfferInterface.d.ts +10 -0
  125. package/dist/src/interfaces/userHasParentInterface.d.ts +14 -0
  126. package/dist/src/interfaces/userHasRoleInterface.d.ts +13 -0
  127. package/dist/src/interfaces/userHasRollNumberInterface.d.ts +8 -0
  128. package/dist/src/interfaces/userHasStorageInterface.d.ts +11 -0
  129. package/dist/src/interfaces/userHasSubjectFeeInterface.d.ts +9 -0
  130. package/dist/src/interfaces/userInstituteMetaInterface.d.ts +39 -0
  131. package/dist/src/interfaces/userInterface.d.ts +44 -0
  132. package/dist/src/interfaces/userLeaveRequestInterface.d.ts +15 -0
  133. package/dist/src/interfaces/userMetaInterface.d.ts +13 -0
  134. package/dist/src/interfaces/userPayoutDetailsInterface.d.ts +14 -0
  135. package/dist/src/interfaces/userPayoutHistoryInterface.d.ts +18 -0
  136. package/dist/src/interfaces/userPayoutInterface.d.ts +12 -0
  137. package/dist/src/interfaces/userProjectAssessmentOptionInterface.d.ts +10 -0
  138. package/dist/src/interfaces/userRequiredStepsInterface.d.ts +9 -0
  139. package/dist/src/interfaces/userSchoolMetaInterface.d.ts +115 -0
  140. package/dist/src/interfaces/vehicleInterface.d.ts +11 -0
  141. package/dist/src/interfaces/vendorManagementInterface.d.ts +19 -0
  142. package/dist/src/interfaces/videoAnalystInterface.d.ts +37 -0
  143. package/dist/src/interfaces/walletHistoryInterface.d.ts +15 -0
  144. package/dist/src/interfaces/walletInterface.d.ts +10 -0
  145. package/dist/src/interfaces/walletTransactionInterface.d.ts +34 -0
  146. package/dist/src/interfaces/workingDayInterface.d.ts +11 -0
  147. package/dist/src/interfaces/workingShiftInterface.d.ts +12 -0
  148. package/dist/src/models/mongodb/approvalRequestModel.d.ts +4 -0
  149. package/dist/src/models/mongodb/approvalRequestModel.js +96 -0
  150. package/dist/src/models/mongodb/attendanceModel.d.ts +4 -0
  151. package/dist/src/models/mongodb/attendanceModel.js +178 -0
  152. package/dist/src/models/mongodb/blogModel.d.ts +4 -0
  153. package/dist/src/models/mongodb/blogModel.js +91 -0
  154. package/dist/src/models/mongodb/careerModel.d.ts +4 -0
  155. package/dist/src/models/mongodb/careerModel.js +83 -0
  156. package/dist/src/models/mongodb/certificatesHistoryModel.d.ts +4 -0
  157. package/dist/src/models/mongodb/certificatesManagementModel.d.ts +4 -0
  158. package/dist/src/models/mongodb/certificatesManagementModel.js +67 -0
  159. package/dist/src/models/mongodb/columnModel.d.ts +4 -0
  160. package/dist/src/models/mongodb/columnModel.js +75 -0
  161. package/dist/src/models/mongodb/dailyBookModel.d.ts +4 -0
  162. package/dist/src/models/mongodb/dashboardManagementModel.d.ts +4 -0
  163. package/dist/src/models/mongodb/dashboardManagementModel.js +111 -0
  164. package/dist/src/models/mongodb/eventModel.d.ts +4 -0
  165. package/dist/src/models/mongodb/eventModel.js +164 -0
  166. package/dist/src/models/mongodb/examGroupModel.d.ts +4 -0
  167. package/dist/src/models/mongodb/examGroupModel.js +293 -0
  168. package/dist/src/models/mongodb/examHasAnswerSheetModel.d.ts +4 -0
  169. package/dist/src/models/mongodb/examHasAnswerSheetModel.js +133 -0
  170. package/dist/src/models/mongodb/examModel.d.ts +4 -0
  171. package/dist/src/models/mongodb/examModel.js +267 -0
  172. package/dist/src/models/mongodb/feeReminderTypeModel.d.ts +4 -0
  173. package/dist/src/models/mongodb/feeReminderTypeModel.js +73 -0
  174. package/dist/src/models/mongodb/feedBackModel.d.ts +4 -0
  175. package/dist/src/models/mongodb/feedBackModel.js +111 -0
  176. package/dist/src/models/mongodb/generateIdCardModel.d.ts +4 -0
  177. package/dist/src/models/mongodb/holidayModel.d.ts +4 -0
  178. package/dist/src/models/mongodb/holidayModel.js +172 -0
  179. package/dist/src/models/mongodb/index.js +24 -0
  180. package/dist/src/models/mongodb/informationSupportModel.d.ts +4 -0
  181. package/dist/src/models/mongodb/informationSupportModel.js +96 -0
  182. package/dist/src/models/mongodb/inquiryModel.d.ts +4 -0
  183. package/dist/src/models/mongodb/inquiryModel.js +186 -0
  184. package/dist/src/models/mongodb/invoiceModel.d.ts +4 -0
  185. package/dist/src/models/mongodb/invoiceModel.js +134 -0
  186. package/dist/src/models/mongodb/jobApplyModel.d.ts +4 -0
  187. package/dist/src/models/mongodb/jobApplyModel.js +151 -0
  188. package/dist/src/models/mongodb/photosGalleryModel.d.ts +4 -0
  189. package/dist/src/models/mongodb/photosGalleryModel.js +86 -0
  190. package/dist/src/models/mongodb/plannerModel.d.ts +4 -0
  191. package/dist/src/models/mongodb/plannerModel.js +174 -0
  192. package/dist/src/models/mongodb/replaceTeacherModel.d.ts +4 -0
  193. package/dist/src/models/mongodb/replaceTeacherModel.js +110 -0
  194. package/dist/src/models/mongodb/schoolFeeModel.d.ts +4 -0
  195. package/dist/src/models/mongodb/schoolFeeModel.js +178 -0
  196. package/dist/src/models/mongodb/subjectIndexModel.d.ts +4 -0
  197. package/dist/src/models/mongodb/subjectIndexModel.js +667 -0
  198. package/dist/src/models/mongodb/subscriptionPlanModel.d.ts +4 -0
  199. package/dist/src/models/mongodb/subscriptionPlanModel.js +133 -0
  200. package/dist/src/models/mongodb/taskManagementModel.d.ts +4 -0
  201. package/dist/src/models/mongodb/taskManagementModel.js +167 -0
  202. package/dist/src/models/mongodb/uniqueNumberCounterModel.d.ts +4 -0
  203. package/dist/src/models/mongodb/uniqueNumberCounterModel.js +83 -0
  204. package/dist/src/models/mongodb/userDetailsModel.d.ts +5 -0
  205. package/dist/src/models/mongodb/userDetailsModel.js +509 -0
  206. package/dist/src/models/mongodb/userInstituteMetaModel.d.ts +4 -0
  207. package/dist/src/models/mongodb/userInstituteMetaModel.js +212 -0
  208. package/dist/src/models/mongodb/userSchoolMetaModel.d.ts +7 -0
  209. package/dist/src/models/mongodb/userSchoolMetaModel.js +552 -0
  210. package/dist/src/models/mongodb/videoAnalystModel.d.ts +4 -0
  211. package/dist/src/models/mongodb/walletTransactionModel.d.ts +4 -0
  212. package/dist/src/models/mongodb/walletTransactionModel.js +163 -0
  213. package/dist/src/models/psql/SubCategoriesModel.d.ts +17 -0
  214. package/dist/src/models/psql/SubCategoriesModel.js +102 -0
  215. package/dist/src/models/psql/academicCalendarModel.d.ts +18 -0
  216. package/dist/src/models/psql/academicCalendarModel.js +94 -0
  217. package/dist/src/models/psql/accountHasReceiptDetailsModel.d.ts +26 -0
  218. package/dist/src/models/psql/accountHasReceiptDetailsModel.js +145 -0
  219. package/dist/src/models/psql/announcementModel.d.ts +28 -0
  220. package/dist/src/models/psql/announcementModel.js +198 -0
  221. package/dist/src/models/psql/areaModel.d.ts +9 -0
  222. package/dist/src/models/psql/areaModel.js +40 -0
  223. package/dist/src/models/psql/bankAccountDetailsModel.d.ts +23 -0
  224. package/dist/src/models/psql/bankAccountDetailsModel.js +100 -0
  225. package/dist/src/models/psql/bannerModel.d.ts +24 -0
  226. package/dist/src/models/psql/bannerModel.js +116 -0
  227. package/dist/src/models/psql/batchModel.d.ts +27 -0
  228. package/dist/src/models/psql/batchModel.js +222 -0
  229. package/dist/src/models/psql/batchSubjectBookAssessmentModel.d.ts +18 -0
  230. package/dist/src/models/psql/batchSubjectBookAssessmentModel.js +156 -0
  231. package/dist/src/models/psql/batchSubjectProjectAssessmentModel.d.ts +21 -0
  232. package/dist/src/models/psql/batchSubjectProjectAssessmentModel.js +154 -0
  233. package/dist/src/models/psql/bookAssessmentDateModel.d.ts +17 -0
  234. package/dist/src/models/psql/bookAssessmentDateModel.js +87 -0
  235. package/dist/src/models/psql/categoriesModel.d.ts +17 -0
  236. package/dist/src/models/psql/categoriesModel.js +80 -0
  237. package/dist/src/models/psql/cityModel.d.ts +13 -0
  238. package/dist/src/models/psql/cityModel.js +72 -0
  239. package/dist/src/models/psql/classRoomModel.d.ts +22 -0
  240. package/dist/src/models/psql/classRoomModel.js +126 -0
  241. package/dist/src/models/psql/cloudStorageModel.d.ts +24 -0
  242. package/dist/src/models/psql/cloudStorageModel.js +97 -0
  243. package/dist/src/models/psql/coinPurchaseOfferModel.d.ts +25 -0
  244. package/dist/src/models/psql/coinPurchaseOfferModel.js +103 -0
  245. package/dist/src/models/psql/contactFeedBackModel.d.ts +22 -0
  246. package/dist/src/models/psql/contactFeedBackModel.js +120 -0
  247. package/dist/src/models/psql/countryModel.d.ts +14 -0
  248. package/dist/src/models/psql/countryModel.js +43 -0
  249. package/dist/src/models/psql/courseHasVisitorsModel.d.ts +16 -0
  250. package/dist/src/models/psql/courseHasVisitorsModel.js +71 -0
  251. package/dist/src/models/psql/courseModel.d.ts +27 -0
  252. package/dist/src/models/psql/courseModel.js +136 -0
  253. package/dist/src/models/psql/driverModel.d.ts +30 -0
  254. package/dist/src/models/psql/driverModel.js +163 -0
  255. package/dist/src/models/psql/entityGroupModel.d.ts +21 -0
  256. package/dist/src/models/psql/entityGroupModel.js +100 -0
  257. package/dist/src/models/psql/facilityModel.d.ts +18 -0
  258. package/dist/src/models/psql/facilityModel.js +120 -0
  259. package/dist/src/models/psql/featureActionModel.d.ts +22 -0
  260. package/dist/src/models/psql/featureActionModel.js +95 -0
  261. package/dist/src/models/psql/feeHistoryDetailsModel.d.ts +26 -0
  262. package/dist/src/models/psql/feeHistoryDetailsModel.js +186 -0
  263. package/dist/src/models/psql/feeHistoryModel.d.ts +30 -0
  264. package/dist/src/models/psql/feeHistoryModel.js +334 -0
  265. package/dist/src/models/psql/feeReminderModel.d.ts +22 -0
  266. package/dist/src/models/psql/feeReminderModel.js +239 -0
  267. package/dist/src/models/psql/feeReminderSettingModel.d.ts +19 -0
  268. package/dist/src/models/psql/feeReminderSettingModel.js +90 -0
  269. package/dist/src/models/psql/feeTypeHasTermsModel.d.ts +21 -0
  270. package/dist/src/models/psql/feeTypeHasTermsModel.js +102 -0
  271. package/dist/src/models/psql/feeTypeModel.d.ts +22 -0
  272. package/dist/src/models/psql/feeTypeModel.js +125 -0
  273. package/dist/src/models/psql/feesCollectionModel.d.ts +28 -0
  274. package/dist/src/models/psql/feesCollectionModel.js +232 -0
  275. package/dist/src/models/psql/fileStorageModel.d.ts +6 -0
  276. package/dist/src/models/psql/fileStorageModel.js +86 -0
  277. package/dist/src/models/psql/floorManagementModel.d.ts +18 -0
  278. package/dist/src/models/psql/floorManagementModel.js +90 -0
  279. package/dist/src/models/psql/greetingsModel.d.ts +21 -0
  280. package/dist/src/models/psql/greetingsModel.js +118 -0
  281. package/dist/src/models/psql/homeWorkModel.d.ts +22 -0
  282. package/dist/src/models/psql/homeWorkModel.js +128 -0
  283. package/dist/src/models/psql/instituteEntityModel.d.ts +25 -0
  284. package/dist/src/models/psql/instituteEntityModel.js +131 -0
  285. package/dist/src/models/psql/instituteEntityTypeModel.d.ts +19 -0
  286. package/dist/src/models/psql/instituteEntityTypeModel.js +74 -0
  287. package/dist/src/models/psql/instituteModel.d.ts +44 -0
  288. package/dist/src/models/psql/instituteModel.js +240 -0
  289. package/dist/src/models/psql/instituteSubscriptionPlanModel.d.ts +33 -0
  290. package/dist/src/models/psql/instituteSubscriptionPlanModel.js +186 -0
  291. package/dist/src/models/psql/inventoryHistoryModel.d.ts +26 -0
  292. package/dist/src/models/psql/inventoryHistoryModel.js +159 -0
  293. package/dist/src/models/psql/inventoryModel.d.ts +24 -0
  294. package/dist/src/models/psql/inventoryModel.js +132 -0
  295. package/dist/src/models/psql/lectureHistoryModel.d.ts +32 -0
  296. package/dist/src/models/psql/lectureHistoryModel.js +223 -0
  297. package/dist/src/models/psql/lectureModel.d.ts +34 -0
  298. package/dist/src/models/psql/lectureModel.js +485 -0
  299. package/dist/src/models/psql/masterLeaveModel.d.ts +22 -0
  300. package/dist/src/models/psql/masterLeaveModel.js +132 -0
  301. package/dist/src/models/psql/moduleFeatureModel.d.ts +21 -0
  302. package/dist/src/models/psql/moduleFeatureModel.js +98 -0
  303. package/dist/src/models/psql/moduleModel.d.ts +20 -0
  304. package/dist/src/models/psql/moduleModel.js +101 -0
  305. package/dist/src/models/psql/offerModel.d.ts +27 -0
  306. package/dist/src/models/psql/offerModel.js +144 -0
  307. package/dist/src/models/psql/paymentTermsModel.d.ts +17 -0
  308. package/dist/src/models/psql/paymentTermsModel.js +114 -0
  309. package/dist/src/models/psql/pdcChequeModel.d.ts +25 -0
  310. package/dist/src/models/psql/pdcChequeModel.js +138 -0
  311. package/dist/src/models/psql/pdcHistoryModel.d.ts +26 -0
  312. package/dist/src/models/psql/pdcHistoryModel.js +152 -0
  313. package/dist/src/models/psql/pincodeModel.d.ts +23 -0
  314. package/dist/src/models/psql/pincodeModel.js +79 -0
  315. package/dist/src/models/psql/productModel.d.ts +19 -0
  316. package/dist/src/models/psql/productModel.js +124 -0
  317. package/dist/src/models/psql/projectAssessmentOptionModel.d.ts +17 -0
  318. package/dist/src/models/psql/projectAssessmentOptionModel.js +90 -0
  319. package/dist/src/models/psql/roleModel.d.ts +22 -0
  320. package/dist/src/models/psql/roleModel.js +97 -0
  321. package/dist/src/models/psql/rulesRegulationModel.d.ts +19 -0
  322. package/dist/src/models/psql/rulesRegulationModel.js +72 -0
  323. package/dist/src/models/psql/schoolFeeCollectionModel.d.ts +22 -0
  324. package/dist/src/models/psql/schoolFeeCollectionModel.js +156 -0
  325. package/dist/src/models/psql/schoolOfferModel.d.ts +29 -0
  326. package/dist/src/models/psql/schoolOfferModel.js +167 -0
  327. package/dist/src/models/psql/sendNotificationModel.d.ts +22 -0
  328. package/dist/src/models/psql/sendNotificationModel.js +117 -0
  329. package/dist/src/models/psql/slotModel.d.ts +17 -0
  330. package/dist/src/models/psql/slotModel.js +99 -0
  331. package/dist/src/models/psql/stateModel.d.ts +13 -0
  332. package/dist/src/models/psql/stateModel.js +58 -0
  333. package/dist/src/models/psql/subjectHasFeeModel.d.ts +16 -0
  334. package/dist/src/models/psql/subjectHasFeeModel.js +78 -0
  335. package/dist/src/models/psql/subjectHasPayFeeHistoryModel.d.ts +18 -0
  336. package/dist/src/models/psql/subjectHasPayFeeHistoryModel.js +109 -0
  337. package/dist/src/models/psql/syllabusModel.d.ts +18 -0
  338. package/dist/src/models/psql/syllabusModel.js +125 -0
  339. package/dist/src/models/psql/testimonialModel.d.ts +21 -0
  340. package/dist/src/models/psql/testimonialModel.js +162 -0
  341. package/dist/src/models/psql/toDoModel.d.ts +20 -0
  342. package/dist/src/models/psql/toDoModel.js +116 -0
  343. package/dist/src/models/psql/tokenModel.d.ts +15 -0
  344. package/dist/src/models/psql/tokenModel.js +37 -0
  345. package/dist/src/models/psql/tripModel.d.ts +22 -0
  346. package/dist/src/models/psql/tripModel.js +114 -0
  347. package/dist/src/models/psql/typeManagementModel.d.ts +20 -0
  348. package/dist/src/models/psql/typeManagementModel.js +122 -0
  349. package/dist/src/models/psql/userBookAssessmentModel.d.ts +19 -0
  350. package/dist/src/models/psql/userBookAssessmentModel.js +141 -0
  351. package/dist/src/models/psql/userFeeTypeByAccountModel.d.ts +22 -0
  352. package/dist/src/models/psql/userFeeTypeByAccountModel.js +184 -0
  353. package/dist/src/models/psql/userFeeTypeModel.d.ts +25 -0
  354. package/dist/src/models/psql/userFeeTypeModel.js +172 -0
  355. package/dist/src/models/psql/userHasAnnouncementModel.d.ts +18 -0
  356. package/dist/src/models/psql/userHasAnnouncementModel.js +108 -0
  357. package/dist/src/models/psql/userHasBatchModel.d.ts +16 -0
  358. package/dist/src/models/psql/userHasBatchModel.js +92 -0
  359. package/dist/src/models/psql/userHasCourseModel.d.ts +22 -0
  360. package/dist/src/models/psql/userHasCourseModel.js +116 -0
  361. package/dist/src/models/psql/userHasDeviceModel.d.ts +19 -0
  362. package/dist/src/models/psql/userHasDeviceModel.js +91 -0
  363. package/dist/src/models/psql/userHasFeeTermsModel.d.ts +27 -0
  364. package/dist/src/models/psql/userHasFeeTermsModel.js +202 -0
  365. package/dist/src/models/psql/userHasFileModel.d.ts +16 -0
  366. package/dist/src/models/psql/userHasFileModel.js +107 -0
  367. package/dist/src/models/psql/userHasHomeWorkModel.d.ts +19 -0
  368. package/dist/src/models/psql/userHasHomeWorkModel.js +119 -0
  369. package/dist/src/models/psql/userHasInventoryHistoryModel.d.ts +29 -0
  370. package/dist/src/models/psql/userHasInventoryHistoryModel.js +146 -0
  371. package/dist/src/models/psql/userHasInventoryModel.d.ts +30 -0
  372. package/dist/src/models/psql/userHasInventoryModel.js +148 -0
  373. package/dist/src/models/psql/userHasLeaveHistoryModel.d.ts +25 -0
  374. package/dist/src/models/psql/userHasLeaveHistoryModel.js +106 -0
  375. package/dist/src/models/psql/userHasLeaveModel.d.ts +21 -0
  376. package/dist/src/models/psql/userHasLeaveModel.js +121 -0
  377. package/dist/src/models/psql/userHasOfferModel.d.ts +19 -0
  378. package/dist/src/models/psql/userHasOfferModel.js +154 -0
  379. package/dist/src/models/psql/userHasParentModel.d.ts +23 -0
  380. package/dist/src/models/psql/userHasParentModel.js +135 -0
  381. package/dist/src/models/psql/userHasRoleModel.d.ts +18 -0
  382. package/dist/src/models/psql/userHasRoleModel.js +97 -0
  383. package/dist/src/models/psql/userHasRollNumberModel.d.ts +17 -0
  384. package/dist/src/models/psql/userHasRollNumberModel.js +90 -0
  385. package/dist/src/models/psql/userHasStorageModel.d.ts +20 -0
  386. package/dist/src/models/psql/userHasStorageModel.js +86 -0
  387. package/dist/src/models/psql/userHasSubjectFeeModel.d.ts +18 -0
  388. package/dist/src/models/psql/userHasSubjectFeeModel.js +86 -0
  389. package/dist/src/models/psql/userLeaveRequestModel.d.ts +24 -0
  390. package/dist/src/models/psql/userLeaveRequestModel.js +104 -0
  391. package/dist/src/models/psql/userModel.d.ts +55 -0
  392. package/dist/src/models/psql/userModel.js +392 -0
  393. package/dist/src/models/psql/userPayoutDetailsModel.d.ts +21 -0
  394. package/dist/src/models/psql/userPayoutDetailsModel.js +162 -0
  395. package/dist/src/models/psql/userPayoutHistoryModel.d.ts +27 -0
  396. package/dist/src/models/psql/userPayoutHistoryModel.js +155 -0
  397. package/dist/src/models/psql/userPayoutModel.d.ts +20 -0
  398. package/dist/src/models/psql/userPayoutModel.js +316 -0
  399. package/dist/src/models/psql/userProjectAssessmentOptionModel.d.ts +19 -0
  400. package/dist/src/models/psql/userProjectAssessmentOptionModel.js +126 -0
  401. package/dist/src/models/psql/userRequiredStepsModel.d.ts +17 -0
  402. package/dist/src/models/psql/userRequiredStepsModel.js +78 -0
  403. package/dist/src/models/psql/vehicleModel.d.ts +20 -0
  404. package/dist/src/models/psql/vehicleModel.js +110 -0
  405. package/dist/src/models/psql/vendorManagementModel.d.ts +28 -0
  406. package/dist/src/models/psql/vendorManagementModel.js +179 -0
  407. package/dist/src/models/psql/walletHistoryModel.d.ts +24 -0
  408. package/dist/src/models/psql/walletHistoryModel.js +103 -0
  409. package/dist/src/models/psql/walletModel.d.ts +19 -0
  410. package/dist/src/models/psql/walletModel.js +93 -0
  411. package/dist/src/models/psql/workingDayModel.d.ts +20 -0
  412. package/dist/src/models/psql/workingDayModel.js +79 -0
  413. package/dist/src/models/psql/workingShiftModel.d.ts +21 -0
  414. package/dist/src/models/psql/workingShiftModel.js +92 -0
  415. package/dist/src/services/Concrete/mongooseCommonService.d.ts +36 -0
  416. package/dist/src/services/Concrete/mongooseCommonService.js +108 -0
  417. package/dist/src/services/Concrete/sequelizeCommanService.d.ts +17 -0
  418. package/dist/src/services/Concrete/sequelizeCommanService.js +123 -0
  419. package/dist/src/services/Contracts/IMongooseCommonService.d.ts +36 -0
  420. package/dist/src/services/Contracts/ISequelizeCommonService.d.ts +21 -0
  421. package/dist/src/types/academicCalendarType.d.ts +6 -0
  422. package/dist/src/types/accountHasReceiptDetailsType.d.ts +7 -0
  423. package/dist/src/types/announcementType.d.ts +6 -0
  424. package/dist/src/types/approveRequestType.d.ts +2 -0
  425. package/dist/src/types/areaType.d.ts +3 -0
  426. package/dist/src/types/attendanceType.d.ts +2 -0
  427. package/dist/src/types/bankAccountDetailsType.d.ts +3 -0
  428. package/dist/src/types/bannerType.d.ts +7 -0
  429. package/dist/src/types/batchSubjectBookAssessmentType.d.ts +7 -0
  430. package/dist/src/types/batchSubjectProjectAssessmentType.d.ts +7 -0
  431. package/dist/src/types/batchType.d.ts +7 -0
  432. package/dist/src/types/blogType.d.ts +2 -0
  433. package/dist/src/types/bookAssessmentDateType.d.ts +7 -0
  434. package/dist/src/types/careerType.d.ts +2 -0
  435. package/dist/src/types/categoriesType.d.ts +3 -0
  436. package/dist/src/types/certificatesHistoryType.d.ts +2 -0
  437. package/dist/src/types/certificatesManagementType.d.ts +2 -0
  438. package/dist/src/types/classRoomType.d.ts +3 -0
  439. package/dist/src/types/cloudStorageType.d.ts +3 -0
  440. package/dist/src/types/coinPurchaseOfferType.d.ts +3 -0
  441. package/dist/src/types/contactFeedBackType.d.ts +3 -0
  442. package/dist/src/types/courseHasVisitorsType.d.ts +2 -0
  443. package/dist/src/types/courseType.d.ts +2 -0
  444. package/dist/src/types/dailyBookType.d.ts +2 -0
  445. package/dist/src/types/dashboardManagementType.d.ts +2 -0
  446. package/dist/src/types/driverType.d.ts +6 -0
  447. package/dist/src/types/entityGroupType.d.ts +3 -0
  448. package/dist/src/types/eventType.d.ts +2 -0
  449. package/dist/src/types/examGroupType.d.ts +6 -0
  450. package/dist/src/types/examHasAnswerSheetType.d.ts +2 -0
  451. package/dist/src/types/examType.d.ts +6 -0
  452. package/dist/src/types/facilityType.d.ts +3 -0
  453. package/dist/src/types/featureActionType.d.ts +3 -0
  454. package/dist/src/types/feeHistoryDetailsType.d.ts +6 -0
  455. package/dist/src/types/feeHistoryType.d.ts +18 -0
  456. package/dist/src/types/feeReminderSettingType.d.ts +3 -0
  457. package/dist/src/types/feeReminderType.d.ts +3 -0
  458. package/dist/src/types/feeReminderTypeType.d.ts +2 -0
  459. package/dist/src/types/feeTypeHasTermsType.d.ts +3 -0
  460. package/dist/src/types/feeTypeType.d.ts +3 -0
  461. package/dist/src/types/feedBackType.d.ts +2 -0
  462. package/dist/src/types/feesCollectionType.d.ts +3 -0
  463. package/dist/src/types/fileStorageType.d.ts +3 -0
  464. package/dist/src/types/floormanagementType.d.ts +3 -0
  465. package/dist/src/types/generateIdCardType.d.ts +2 -0
  466. package/dist/src/types/greetingsType.d.ts +6 -0
  467. package/dist/src/types/holidayType.d.ts +2 -0
  468. package/dist/src/types/homeWorkType.d.ts +3 -0
  469. package/dist/src/types/informationSupportType.d.ts +2 -0
  470. package/dist/src/types/inquiryType.d.ts +2 -0
  471. package/dist/src/types/instituteEntityType.d.ts +6 -0
  472. package/dist/src/types/instituteEntityTypeType.d.ts +3 -0
  473. package/dist/src/types/instituteSubscriptionPlanType.d.ts +3 -0
  474. package/dist/src/types/instituteType.d.ts +3 -0
  475. package/dist/src/types/inventoryHistoryType.d.ts +3 -0
  476. package/dist/src/types/inventoryType.d.ts +3 -0
  477. package/dist/src/types/jobApply.d.ts +2 -0
  478. package/dist/src/types/lectureHistoryType.d.ts +6 -0
  479. package/dist/src/types/lectureType.d.ts +6 -0
  480. package/dist/src/types/masterLeaveType.d.ts +3 -0
  481. package/dist/src/types/moduleFeatureType.d.ts +3 -0
  482. package/dist/src/types/moduleType.d.ts +3 -0
  483. package/dist/src/types/offerType.d.ts +3 -0
  484. package/dist/src/types/paymentTermsType.d.ts +3 -0
  485. package/dist/src/types/pdcChequeType.d.ts +6 -0
  486. package/dist/src/types/pdcHistoryType.d.ts +2 -0
  487. package/dist/src/types/photosGalleryType.d.ts +2 -0
  488. package/dist/src/types/plannerType.d.ts +7 -0
  489. package/dist/src/types/productType.d.ts +3 -0
  490. package/dist/src/types/projectAssessmentOptionType.d.ts +7 -0
  491. package/dist/src/types/roleType.d.ts +11 -0
  492. package/dist/src/types/rulesRegulationType.d.ts +3 -0
  493. package/dist/src/types/schoolFeeCollectionType.d.ts +3 -0
  494. package/dist/src/types/schoolFeeType.d.ts +3 -0
  495. package/dist/src/types/schoolOfferType.d.ts +3 -0
  496. package/dist/src/types/sendNotificationType.d.ts +3 -0
  497. package/dist/src/types/slotType.d.ts +2 -0
  498. package/dist/src/types/subCategoryType.d.ts +3 -0
  499. package/dist/src/types/subjectHasFeeType.d.ts +3 -0
  500. package/dist/src/types/subjectHasPayFeeHistoryType.d.ts +3 -0
  501. package/dist/src/types/subjectIndexType.d.ts +7 -0
  502. package/dist/src/types/subscriptionPlanType.d.ts +2 -0
  503. package/dist/src/types/syllabusType.d.ts +7 -0
  504. package/dist/src/types/taskManagementType.d.ts +2 -0
  505. package/dist/src/types/testimonialType.d.ts +13 -0
  506. package/dist/src/types/toDoType.d.ts +6 -0
  507. package/dist/src/types/tripType.d.ts +2 -0
  508. package/dist/src/types/typeManagementType.d.ts +3 -0
  509. package/dist/src/types/uniqueNumberCounterType.d.ts +2 -0
  510. package/dist/src/types/userBookAssessmentType.d.ts +7 -0
  511. package/dist/src/types/userDetailsType.d.ts +2 -0
  512. package/dist/src/types/userFeeTypeByAccountType.d.ts +3 -0
  513. package/dist/src/types/userFeeTypeType.d.ts +6 -0
  514. package/dist/src/types/userHasAnnouncementType.d.ts +3 -0
  515. package/dist/src/types/userHasBatchType.d.ts +9 -0
  516. package/dist/src/types/userHasCourseType.d.ts +3 -0
  517. package/dist/src/types/userHasDeviceType.d.ts +3 -0
  518. package/dist/src/types/userHasFeeTermsType.d.ts +3 -0
  519. package/dist/src/types/userHasFileType.d.ts +3 -0
  520. package/dist/src/types/userHasHomeWorkType.d.ts +3 -0
  521. package/dist/src/types/userHasInventoryHistoryType.d.ts +3 -0
  522. package/dist/src/types/userHasInventoryType.d.ts +3 -0
  523. package/dist/src/types/userHasLeaveHistoryType.d.ts +3 -0
  524. package/dist/src/types/userHasLeaveType.d.ts +3 -0
  525. package/dist/src/types/userHasOffer.d.ts +3 -0
  526. package/dist/src/types/userHasParentType.d.ts +10 -0
  527. package/dist/src/types/userHasRoleType.d.ts +3 -0
  528. package/dist/src/types/userHasRollNumberType.d.ts +3 -0
  529. package/dist/src/types/userHasStorageType.d.ts +3 -0
  530. package/dist/src/types/userHasSubjectFeeType.d.ts +3 -0
  531. package/dist/src/types/userInstituteMetaType.d.ts +2 -0
  532. package/dist/src/types/userLeaveRequestType.d.ts +3 -0
  533. package/dist/src/types/userMetaType.d.ts +13 -0
  534. package/dist/src/types/userPayoutDetailsType.d.ts +3 -0
  535. package/dist/src/types/userPayoutHistoryType.d.ts +3 -0
  536. package/dist/src/types/userPayoutType.d.ts +7 -0
  537. package/dist/src/types/userProjectAssessmentOptionType.d.ts +7 -0
  538. package/dist/src/types/userRequiredStepsType.d.ts +3 -0
  539. package/dist/src/types/userSchoolMetaType.d.ts +3 -0
  540. package/dist/src/types/userType.d.ts +12 -0
  541. package/dist/src/types/vehicleType.d.ts +3 -0
  542. package/dist/src/types/vendorType.d.ts +3 -0
  543. package/dist/src/types/videoAnalystType.d.ts +2 -0
  544. package/dist/src/types/walletHistoryType.d.ts +3 -0
  545. package/dist/src/types/walletTransactionType.d.ts +3 -0
  546. package/dist/src/types/walletType.d.ts +3 -0
  547. package/dist/src/types/workingDayType.d.ts +3 -0
  548. package/dist/src/types/workingShiftType.d.ts +3 -0
  549. package/package.json +2 -1
  550. package/dist/configs/aws.js +0 -12
  551. package/dist/constants/successMessages.d.ts +0 -699
  552. package/dist/helpers/s3Uploader.d.ts +0 -3
  553. package/dist/helpers/s3Uploader.js +0 -61
  554. package/dist/helpers/utils.d.ts +0 -173
  555. package/dist/helpers/utils.js +0 -682
  556. package/dist/index.d.ts +0 -415
  557. package/dist/index.js +0 -431
  558. package/dist/interfaces/academicCalendarInterface.d.ts +0 -9
  559. package/dist/interfaces/accountHasReceiptDetailsInterface.d.ts +0 -17
  560. package/dist/interfaces/announcementInterface.d.ts +0 -19
  561. package/dist/interfaces/approvalRequestInterface.d.ts +0 -14
  562. package/dist/interfaces/attendanceInterface.d.ts +0 -21
  563. package/dist/interfaces/bankAccountDetailsInterface.d.ts +0 -14
  564. package/dist/interfaces/bannerInterface.d.ts +0 -15
  565. package/dist/interfaces/batchInterface.d.ts +0 -18
  566. package/dist/interfaces/batchSubjectBookAssessmentInterface.d.ts +0 -9
  567. package/dist/interfaces/batchSubjectProjectAssessmentInterface.d.ts +0 -12
  568. package/dist/interfaces/blogInterface.d.ts +0 -46
  569. package/dist/interfaces/bookAssessmentDateInterface.d.ts +0 -8
  570. package/dist/interfaces/careerInterface.d.ts +0 -12
  571. package/dist/interfaces/categoriesInterface.d.ts +0 -8
  572. package/dist/interfaces/certificatesHistoryInterface.d.ts +0 -9
  573. package/dist/interfaces/certificatesManagementInterface.d.ts +0 -11
  574. package/dist/interfaces/cityInterface.d.ts +0 -12
  575. package/dist/interfaces/classRoomInterface.d.ts +0 -13
  576. package/dist/interfaces/cloudStorageInterface.d.ts +0 -15
  577. package/dist/interfaces/coinPurchaseOfferInterface.d.ts +0 -16
  578. package/dist/interfaces/columnInterface.d.ts +0 -15
  579. package/dist/interfaces/contactFeedBackInterface.d.ts +0 -13
  580. package/dist/interfaces/countryInterface.d.ts +0 -11
  581. package/dist/interfaces/courseHasVisitorsInterface.d.ts +0 -7
  582. package/dist/interfaces/courseInterface.d.ts +0 -18
  583. package/dist/interfaces/dailyBookInterface.d.ts +0 -14
  584. package/dist/interfaces/dashboardManagementInterface.d.ts +0 -19
  585. package/dist/interfaces/driverInterface.d.ts +0 -21
  586. package/dist/interfaces/entityGroupInterface.d.ts +0 -12
  587. package/dist/interfaces/eventInterface.d.ts +0 -21
  588. package/dist/interfaces/examGroupInterface.d.ts +0 -30
  589. package/dist/interfaces/examHasAnswerSheetInterface.d.ts +0 -23
  590. package/dist/interfaces/examInterface.d.ts +0 -38
  591. package/dist/interfaces/facilityInterface.d.ts +0 -9
  592. package/dist/interfaces/featureActionInterface.d.ts +0 -17
  593. package/dist/interfaces/feeHistoryDetailsInterface.d.ts +0 -17
  594. package/dist/interfaces/feeHistoryInterface.d.ts +0 -21
  595. package/dist/interfaces/feeReminderInterface.d.ts +0 -13
  596. package/dist/interfaces/feeReminderSettingInterface.d.ts +0 -10
  597. package/dist/interfaces/feeReminderTypeInterface.d.ts +0 -10
  598. package/dist/interfaces/feeTypeHasTermsInterface.d.ts +0 -12
  599. package/dist/interfaces/feeTypeInterface.d.ts +0 -13
  600. package/dist/interfaces/feedBackInterface.d.ts +0 -19
  601. package/dist/interfaces/feesCollectionInterface.d.ts +0 -19
  602. package/dist/interfaces/fileStorageInterface.d.ts +0 -14
  603. package/dist/interfaces/floorManagementInterface.d.ts +0 -9
  604. package/dist/interfaces/generateIdCardInterface.d.ts +0 -8
  605. package/dist/interfaces/greetingsInterface.d.ts +0 -12
  606. package/dist/interfaces/holidayInterface.d.ts +0 -22
  607. package/dist/interfaces/homeworkInterface.d.ts +0 -13
  608. package/dist/interfaces/informationSupportInterface.d.ts +0 -15
  609. package/dist/interfaces/inquiryInterface.d.ts +0 -54
  610. package/dist/interfaces/instituteEntityInterface.d.ts +0 -16
  611. package/dist/interfaces/instituteEntityTypeInterface.d.ts +0 -10
  612. package/dist/interfaces/instituteInterface.d.ts +0 -35
  613. package/dist/interfaces/instituteSubscriptionPlanInterface.d.ts +0 -21
  614. package/dist/interfaces/inventoryHistoryInterface.d.ts +0 -17
  615. package/dist/interfaces/inventoryInterface.d.ts +0 -15
  616. package/dist/interfaces/invoiceInterface.d.ts +0 -31
  617. package/dist/interfaces/jobApplyInterface.d.ts +0 -35
  618. package/dist/interfaces/lectureHistoryInterface.d.ts +0 -24
  619. package/dist/interfaces/lectureInterface.d.ts +0 -26
  620. package/dist/interfaces/masterLeaveInterface.d.ts +0 -13
  621. package/dist/interfaces/moduleFeatureInterface.d.ts +0 -16
  622. package/dist/interfaces/moduleInterface.d.ts +0 -15
  623. package/dist/interfaces/offersInterface.d.ts +0 -18
  624. package/dist/interfaces/paymentTermsInterface.d.ts +0 -15
  625. package/dist/interfaces/pdcChequeInterface.d.ts +0 -16
  626. package/dist/interfaces/pdcHistoryInterface.d.ts +0 -17
  627. package/dist/interfaces/photosGalleryInterface.d.ts +0 -17
  628. package/dist/interfaces/pincodeInterface.d.ts +0 -15
  629. package/dist/interfaces/plannerInterface.d.ts +0 -32
  630. package/dist/interfaces/productInterface.d.ts +0 -10
  631. package/dist/interfaces/projectAssessmentOptionInterface.d.ts +0 -8
  632. package/dist/interfaces/replaceTeacherInterface.d.ts +0 -22
  633. package/dist/interfaces/roleInterface.d.ts +0 -26
  634. package/dist/interfaces/rulesRegulationInterface.d.ts +0 -10
  635. package/dist/interfaces/schoolFeeCollectionInterface.d.ts +0 -13
  636. package/dist/interfaces/schoolFeeInterface.d.ts +0 -21
  637. package/dist/interfaces/schoolOfferInterface.d.ts +0 -20
  638. package/dist/interfaces/sendNotificationInerface.d.ts +0 -20
  639. package/dist/interfaces/slotInterface.d.ts +0 -8
  640. package/dist/interfaces/stateInterface.d.ts +0 -11
  641. package/dist/interfaces/subCategoriesInterface.d.ts +0 -9
  642. package/dist/interfaces/subjectHasFeeInterface.d.ts +0 -7
  643. package/dist/interfaces/subjectHasPayFeeHistoryInterface.d.ts +0 -9
  644. package/dist/interfaces/subjectIndexInterface.d.ts +0 -48
  645. package/dist/interfaces/subscriptionPlanInterface.d.ts +0 -29
  646. package/dist/interfaces/syllabusInterface.d.ts +0 -9
  647. package/dist/interfaces/taskManagementInterface.d.ts +0 -24
  648. package/dist/interfaces/testimonialInterface.d.ts +0 -12
  649. package/dist/interfaces/toDoInterface.d.ts +0 -11
  650. package/dist/interfaces/tokenInterface.d.ts +0 -27
  651. package/dist/interfaces/tripInterface.d.ts +0 -13
  652. package/dist/interfaces/typeManagementInterface.d.ts +0 -11
  653. package/dist/interfaces/uniqueNumberCounterInterface.d.ts +0 -11
  654. package/dist/interfaces/userBookAssessmentInterface.d.ts +0 -10
  655. package/dist/interfaces/userDetailsInterface.d.ts +0 -122
  656. package/dist/interfaces/userFeeTypeByAccountInterface.d.ts +0 -19
  657. package/dist/interfaces/userFeeTypeInterface.d.ts +0 -16
  658. package/dist/interfaces/userHasAnnouncementInterface.d.ts +0 -9
  659. package/dist/interfaces/userHasBatchInterface.d.ts +0 -7
  660. package/dist/interfaces/userHasCourseInterface.d.ts +0 -13
  661. package/dist/interfaces/userHasDeviceInterface.d.ts +0 -10
  662. package/dist/interfaces/userHasFeeTermsInterface.d.ts +0 -37
  663. package/dist/interfaces/userHasFileInterface.d.ts +0 -11
  664. package/dist/interfaces/userHasHomeWorkInterface.d.ts +0 -11
  665. package/dist/interfaces/userHasInventoryHistoryInterface.d.ts +0 -20
  666. package/dist/interfaces/userHasInventoryInterface.d.ts +0 -21
  667. package/dist/interfaces/userHasLeaveHistoryInterface.d.ts +0 -16
  668. package/dist/interfaces/userHasLeaveInterface.d.ts +0 -12
  669. package/dist/interfaces/userHasOfferInterface.d.ts +0 -10
  670. package/dist/interfaces/userHasParentInterface.d.ts +0 -14
  671. package/dist/interfaces/userHasRoleInterface.d.ts +0 -13
  672. package/dist/interfaces/userHasRollNumberInterface.d.ts +0 -8
  673. package/dist/interfaces/userHasStorageInterface.d.ts +0 -11
  674. package/dist/interfaces/userHasSubjectFeeInterface.d.ts +0 -9
  675. package/dist/interfaces/userInstituteMetaInterface.d.ts +0 -39
  676. package/dist/interfaces/userInterface.d.ts +0 -44
  677. package/dist/interfaces/userLeaveRequestInterface.d.ts +0 -15
  678. package/dist/interfaces/userMetaInterface.d.ts +0 -13
  679. package/dist/interfaces/userPayoutDetailsInterface.d.ts +0 -14
  680. package/dist/interfaces/userPayoutHistoryInterface.d.ts +0 -18
  681. package/dist/interfaces/userPayoutInterface.d.ts +0 -12
  682. package/dist/interfaces/userProjectAssessmentOptionInterface.d.ts +0 -10
  683. package/dist/interfaces/userRequiredStepsInterface.d.ts +0 -9
  684. package/dist/interfaces/userSchoolMetaInterface.d.ts +0 -115
  685. package/dist/interfaces/vehicleInterface.d.ts +0 -11
  686. package/dist/interfaces/vendorManagementInterface.d.ts +0 -19
  687. package/dist/interfaces/videoAnalystInterface.d.ts +0 -37
  688. package/dist/interfaces/walletHistoryInterface.d.ts +0 -15
  689. package/dist/interfaces/walletInterface.d.ts +0 -10
  690. package/dist/interfaces/walletTransactionInterface.d.ts +0 -34
  691. package/dist/interfaces/workingDayInterface.d.ts +0 -11
  692. package/dist/interfaces/workingShiftInterface.d.ts +0 -12
  693. package/dist/models/mongodb/approvalRequestModel.d.ts +0 -4
  694. package/dist/models/mongodb/approvalRequestModel.js +0 -96
  695. package/dist/models/mongodb/attendanceModel.d.ts +0 -4
  696. package/dist/models/mongodb/attendanceModel.js +0 -178
  697. package/dist/models/mongodb/blogModel.d.ts +0 -4
  698. package/dist/models/mongodb/blogModel.js +0 -91
  699. package/dist/models/mongodb/careerModel.d.ts +0 -4
  700. package/dist/models/mongodb/careerModel.js +0 -83
  701. package/dist/models/mongodb/certificatesHistoryModel.d.ts +0 -4
  702. package/dist/models/mongodb/certificatesManagementModel.d.ts +0 -4
  703. package/dist/models/mongodb/certificatesManagementModel.js +0 -67
  704. package/dist/models/mongodb/columnModel.d.ts +0 -4
  705. package/dist/models/mongodb/columnModel.js +0 -75
  706. package/dist/models/mongodb/dailyBookModel.d.ts +0 -4
  707. package/dist/models/mongodb/dashboardManagementModel.d.ts +0 -4
  708. package/dist/models/mongodb/dashboardManagementModel.js +0 -111
  709. package/dist/models/mongodb/eventModel.d.ts +0 -4
  710. package/dist/models/mongodb/eventModel.js +0 -164
  711. package/dist/models/mongodb/examGroupModel.d.ts +0 -4
  712. package/dist/models/mongodb/examGroupModel.js +0 -293
  713. package/dist/models/mongodb/examHasAnswerSheetModel.d.ts +0 -4
  714. package/dist/models/mongodb/examHasAnswerSheetModel.js +0 -133
  715. package/dist/models/mongodb/examModel.d.ts +0 -4
  716. package/dist/models/mongodb/examModel.js +0 -267
  717. package/dist/models/mongodb/feeReminderTypeModel.d.ts +0 -4
  718. package/dist/models/mongodb/feeReminderTypeModel.js +0 -73
  719. package/dist/models/mongodb/feedBackModel.d.ts +0 -4
  720. package/dist/models/mongodb/feedBackModel.js +0 -111
  721. package/dist/models/mongodb/generateIdCardModel.d.ts +0 -4
  722. package/dist/models/mongodb/holidayModel.d.ts +0 -4
  723. package/dist/models/mongodb/holidayModel.js +0 -172
  724. package/dist/models/mongodb/index.js +0 -24
  725. package/dist/models/mongodb/informationSupportModel.d.ts +0 -4
  726. package/dist/models/mongodb/informationSupportModel.js +0 -96
  727. package/dist/models/mongodb/inquiryModel.d.ts +0 -4
  728. package/dist/models/mongodb/inquiryModel.js +0 -186
  729. package/dist/models/mongodb/invoiceModel.d.ts +0 -4
  730. package/dist/models/mongodb/invoiceModel.js +0 -134
  731. package/dist/models/mongodb/jobApplyModel.d.ts +0 -4
  732. package/dist/models/mongodb/jobApplyModel.js +0 -151
  733. package/dist/models/mongodb/photosGalleryModel.d.ts +0 -4
  734. package/dist/models/mongodb/photosGalleryModel.js +0 -86
  735. package/dist/models/mongodb/plannerModel.d.ts +0 -4
  736. package/dist/models/mongodb/plannerModel.js +0 -174
  737. package/dist/models/mongodb/replaceTeacherModel.d.ts +0 -4
  738. package/dist/models/mongodb/replaceTeacherModel.js +0 -110
  739. package/dist/models/mongodb/schoolFeeModel.d.ts +0 -4
  740. package/dist/models/mongodb/schoolFeeModel.js +0 -178
  741. package/dist/models/mongodb/subjectIndexModel.d.ts +0 -4
  742. package/dist/models/mongodb/subjectIndexModel.js +0 -667
  743. package/dist/models/mongodb/subscriptionPlanModel.d.ts +0 -4
  744. package/dist/models/mongodb/subscriptionPlanModel.js +0 -133
  745. package/dist/models/mongodb/taskManagementModel.d.ts +0 -4
  746. package/dist/models/mongodb/taskManagementModel.js +0 -167
  747. package/dist/models/mongodb/uniqueNumberCounterModel.d.ts +0 -4
  748. package/dist/models/mongodb/uniqueNumberCounterModel.js +0 -83
  749. package/dist/models/mongodb/userDetailsModel.d.ts +0 -5
  750. package/dist/models/mongodb/userDetailsModel.js +0 -509
  751. package/dist/models/mongodb/userInstituteMetaModel.d.ts +0 -4
  752. package/dist/models/mongodb/userInstituteMetaModel.js +0 -212
  753. package/dist/models/mongodb/userSchoolMetaModel.d.ts +0 -7
  754. package/dist/models/mongodb/userSchoolMetaModel.js +0 -552
  755. package/dist/models/mongodb/videoAnalystModel.d.ts +0 -4
  756. package/dist/models/mongodb/walletTransactionModel.d.ts +0 -4
  757. package/dist/models/mongodb/walletTransactionModel.js +0 -163
  758. package/dist/models/psql/SubCategoriesModel.d.ts +0 -17
  759. package/dist/models/psql/SubCategoriesModel.js +0 -102
  760. package/dist/models/psql/academicCalendarModel.d.ts +0 -18
  761. package/dist/models/psql/academicCalendarModel.js +0 -94
  762. package/dist/models/psql/accountHasReceiptDetailsModel.d.ts +0 -26
  763. package/dist/models/psql/accountHasReceiptDetailsModel.js +0 -145
  764. package/dist/models/psql/announcementModel.d.ts +0 -28
  765. package/dist/models/psql/announcementModel.js +0 -198
  766. package/dist/models/psql/areaModel.d.ts +0 -9
  767. package/dist/models/psql/areaModel.js +0 -40
  768. package/dist/models/psql/bankAccountDetailsModel.d.ts +0 -23
  769. package/dist/models/psql/bankAccountDetailsModel.js +0 -100
  770. package/dist/models/psql/bannerModel.d.ts +0 -24
  771. package/dist/models/psql/bannerModel.js +0 -116
  772. package/dist/models/psql/batchModel.d.ts +0 -27
  773. package/dist/models/psql/batchModel.js +0 -222
  774. package/dist/models/psql/batchSubjectBookAssessmentModel.d.ts +0 -18
  775. package/dist/models/psql/batchSubjectBookAssessmentModel.js +0 -156
  776. package/dist/models/psql/batchSubjectProjectAssessmentModel.d.ts +0 -21
  777. package/dist/models/psql/batchSubjectProjectAssessmentModel.js +0 -154
  778. package/dist/models/psql/bookAssessmentDateModel.d.ts +0 -17
  779. package/dist/models/psql/bookAssessmentDateModel.js +0 -87
  780. package/dist/models/psql/categoriesModel.d.ts +0 -17
  781. package/dist/models/psql/categoriesModel.js +0 -80
  782. package/dist/models/psql/cityModel.d.ts +0 -13
  783. package/dist/models/psql/cityModel.js +0 -72
  784. package/dist/models/psql/classRoomModel.d.ts +0 -22
  785. package/dist/models/psql/classRoomModel.js +0 -126
  786. package/dist/models/psql/cloudStorageModel.d.ts +0 -24
  787. package/dist/models/psql/cloudStorageModel.js +0 -97
  788. package/dist/models/psql/coinPurchaseOfferModel.d.ts +0 -25
  789. package/dist/models/psql/coinPurchaseOfferModel.js +0 -103
  790. package/dist/models/psql/contactFeedBackModel.d.ts +0 -22
  791. package/dist/models/psql/contactFeedBackModel.js +0 -120
  792. package/dist/models/psql/countryModel.d.ts +0 -14
  793. package/dist/models/psql/countryModel.js +0 -43
  794. package/dist/models/psql/courseHasVisitorsModel.d.ts +0 -16
  795. package/dist/models/psql/courseHasVisitorsModel.js +0 -71
  796. package/dist/models/psql/courseModel.d.ts +0 -27
  797. package/dist/models/psql/courseModel.js +0 -136
  798. package/dist/models/psql/driverModel.d.ts +0 -30
  799. package/dist/models/psql/driverModel.js +0 -163
  800. package/dist/models/psql/entityGroupModel.d.ts +0 -21
  801. package/dist/models/psql/entityGroupModel.js +0 -100
  802. package/dist/models/psql/facilityModel.d.ts +0 -18
  803. package/dist/models/psql/facilityModel.js +0 -120
  804. package/dist/models/psql/featureActionModel.d.ts +0 -22
  805. package/dist/models/psql/featureActionModel.js +0 -95
  806. package/dist/models/psql/feeHistoryDetailsModel.d.ts +0 -26
  807. package/dist/models/psql/feeHistoryDetailsModel.js +0 -186
  808. package/dist/models/psql/feeHistoryModel.d.ts +0 -30
  809. package/dist/models/psql/feeHistoryModel.js +0 -334
  810. package/dist/models/psql/feeReminderModel.d.ts +0 -22
  811. package/dist/models/psql/feeReminderModel.js +0 -239
  812. package/dist/models/psql/feeReminderSettingModel.d.ts +0 -19
  813. package/dist/models/psql/feeReminderSettingModel.js +0 -90
  814. package/dist/models/psql/feeTypeHasTermsModel.d.ts +0 -21
  815. package/dist/models/psql/feeTypeHasTermsModel.js +0 -102
  816. package/dist/models/psql/feeTypeModel.d.ts +0 -22
  817. package/dist/models/psql/feeTypeModel.js +0 -125
  818. package/dist/models/psql/feesCollectionModel.d.ts +0 -28
  819. package/dist/models/psql/feesCollectionModel.js +0 -232
  820. package/dist/models/psql/fileStorageModel.d.ts +0 -6
  821. package/dist/models/psql/fileStorageModel.js +0 -86
  822. package/dist/models/psql/floorManagementModel.d.ts +0 -18
  823. package/dist/models/psql/floorManagementModel.js +0 -90
  824. package/dist/models/psql/greetingsModel.d.ts +0 -21
  825. package/dist/models/psql/greetingsModel.js +0 -118
  826. package/dist/models/psql/homeWorkModel.d.ts +0 -22
  827. package/dist/models/psql/homeWorkModel.js +0 -128
  828. package/dist/models/psql/instituteEntityModel.d.ts +0 -25
  829. package/dist/models/psql/instituteEntityModel.js +0 -131
  830. package/dist/models/psql/instituteEntityTypeModel.d.ts +0 -19
  831. package/dist/models/psql/instituteEntityTypeModel.js +0 -74
  832. package/dist/models/psql/instituteModel.d.ts +0 -44
  833. package/dist/models/psql/instituteModel.js +0 -240
  834. package/dist/models/psql/instituteSubscriptionPlanModel.d.ts +0 -33
  835. package/dist/models/psql/instituteSubscriptionPlanModel.js +0 -186
  836. package/dist/models/psql/inventoryHistoryModel.d.ts +0 -26
  837. package/dist/models/psql/inventoryHistoryModel.js +0 -159
  838. package/dist/models/psql/inventoryModel.d.ts +0 -24
  839. package/dist/models/psql/inventoryModel.js +0 -132
  840. package/dist/models/psql/lectureHistoryModel.d.ts +0 -32
  841. package/dist/models/psql/lectureHistoryModel.js +0 -223
  842. package/dist/models/psql/lectureModel.d.ts +0 -34
  843. package/dist/models/psql/lectureModel.js +0 -485
  844. package/dist/models/psql/masterLeaveModel.d.ts +0 -22
  845. package/dist/models/psql/masterLeaveModel.js +0 -132
  846. package/dist/models/psql/moduleFeatureModel.d.ts +0 -21
  847. package/dist/models/psql/moduleFeatureModel.js +0 -98
  848. package/dist/models/psql/moduleModel.d.ts +0 -20
  849. package/dist/models/psql/moduleModel.js +0 -101
  850. package/dist/models/psql/offerModel.d.ts +0 -27
  851. package/dist/models/psql/offerModel.js +0 -144
  852. package/dist/models/psql/paymentTermsModel.d.ts +0 -17
  853. package/dist/models/psql/paymentTermsModel.js +0 -114
  854. package/dist/models/psql/pdcChequeModel.d.ts +0 -25
  855. package/dist/models/psql/pdcChequeModel.js +0 -138
  856. package/dist/models/psql/pdcHistoryModel.d.ts +0 -26
  857. package/dist/models/psql/pdcHistoryModel.js +0 -152
  858. package/dist/models/psql/pincodeModel.d.ts +0 -23
  859. package/dist/models/psql/pincodeModel.js +0 -79
  860. package/dist/models/psql/productModel.d.ts +0 -19
  861. package/dist/models/psql/productModel.js +0 -124
  862. package/dist/models/psql/projectAssessmentOptionModel.d.ts +0 -17
  863. package/dist/models/psql/projectAssessmentOptionModel.js +0 -90
  864. package/dist/models/psql/roleModel.d.ts +0 -22
  865. package/dist/models/psql/roleModel.js +0 -97
  866. package/dist/models/psql/rulesRegulationModel.d.ts +0 -19
  867. package/dist/models/psql/rulesRegulationModel.js +0 -72
  868. package/dist/models/psql/schoolFeeCollectionModel.d.ts +0 -22
  869. package/dist/models/psql/schoolFeeCollectionModel.js +0 -156
  870. package/dist/models/psql/schoolOfferModel.d.ts +0 -29
  871. package/dist/models/psql/schoolOfferModel.js +0 -167
  872. package/dist/models/psql/sendNotificationModel.d.ts +0 -22
  873. package/dist/models/psql/sendNotificationModel.js +0 -117
  874. package/dist/models/psql/slotModel.d.ts +0 -17
  875. package/dist/models/psql/slotModel.js +0 -99
  876. package/dist/models/psql/stateModel.d.ts +0 -13
  877. package/dist/models/psql/stateModel.js +0 -58
  878. package/dist/models/psql/subjectHasFeeModel.d.ts +0 -16
  879. package/dist/models/psql/subjectHasFeeModel.js +0 -78
  880. package/dist/models/psql/subjectHasPayFeeHistoryModel.d.ts +0 -18
  881. package/dist/models/psql/subjectHasPayFeeHistoryModel.js +0 -109
  882. package/dist/models/psql/syllabusModel.d.ts +0 -18
  883. package/dist/models/psql/syllabusModel.js +0 -125
  884. package/dist/models/psql/testimonialModel.d.ts +0 -21
  885. package/dist/models/psql/testimonialModel.js +0 -162
  886. package/dist/models/psql/toDoModel.d.ts +0 -20
  887. package/dist/models/psql/toDoModel.js +0 -116
  888. package/dist/models/psql/tokenModel.d.ts +0 -15
  889. package/dist/models/psql/tokenModel.js +0 -37
  890. package/dist/models/psql/tripModel.d.ts +0 -22
  891. package/dist/models/psql/tripModel.js +0 -114
  892. package/dist/models/psql/typeManagementModel.d.ts +0 -20
  893. package/dist/models/psql/typeManagementModel.js +0 -122
  894. package/dist/models/psql/userBookAssessmentModel.d.ts +0 -19
  895. package/dist/models/psql/userBookAssessmentModel.js +0 -141
  896. package/dist/models/psql/userFeeTypeByAccountModel.d.ts +0 -22
  897. package/dist/models/psql/userFeeTypeByAccountModel.js +0 -184
  898. package/dist/models/psql/userFeeTypeModel.d.ts +0 -25
  899. package/dist/models/psql/userFeeTypeModel.js +0 -172
  900. package/dist/models/psql/userHasAnnouncementModel.d.ts +0 -18
  901. package/dist/models/psql/userHasAnnouncementModel.js +0 -108
  902. package/dist/models/psql/userHasBatchModel.d.ts +0 -16
  903. package/dist/models/psql/userHasBatchModel.js +0 -92
  904. package/dist/models/psql/userHasCourseModel.d.ts +0 -22
  905. package/dist/models/psql/userHasCourseModel.js +0 -116
  906. package/dist/models/psql/userHasDeviceModel.d.ts +0 -19
  907. package/dist/models/psql/userHasDeviceModel.js +0 -91
  908. package/dist/models/psql/userHasFeeTermsModel.d.ts +0 -27
  909. package/dist/models/psql/userHasFeeTermsModel.js +0 -202
  910. package/dist/models/psql/userHasFileModel.d.ts +0 -16
  911. package/dist/models/psql/userHasFileModel.js +0 -107
  912. package/dist/models/psql/userHasHomeWorkModel.d.ts +0 -19
  913. package/dist/models/psql/userHasHomeWorkModel.js +0 -119
  914. package/dist/models/psql/userHasInventoryHistoryModel.d.ts +0 -29
  915. package/dist/models/psql/userHasInventoryHistoryModel.js +0 -146
  916. package/dist/models/psql/userHasInventoryModel.d.ts +0 -30
  917. package/dist/models/psql/userHasInventoryModel.js +0 -148
  918. package/dist/models/psql/userHasLeaveHistoryModel.d.ts +0 -25
  919. package/dist/models/psql/userHasLeaveHistoryModel.js +0 -106
  920. package/dist/models/psql/userHasLeaveModel.d.ts +0 -21
  921. package/dist/models/psql/userHasLeaveModel.js +0 -121
  922. package/dist/models/psql/userHasOfferModel.d.ts +0 -19
  923. package/dist/models/psql/userHasOfferModel.js +0 -154
  924. package/dist/models/psql/userHasParentModel.d.ts +0 -23
  925. package/dist/models/psql/userHasParentModel.js +0 -135
  926. package/dist/models/psql/userHasRoleModel.d.ts +0 -18
  927. package/dist/models/psql/userHasRoleModel.js +0 -97
  928. package/dist/models/psql/userHasRollNumberModel.d.ts +0 -17
  929. package/dist/models/psql/userHasRollNumberModel.js +0 -90
  930. package/dist/models/psql/userHasStorageModel.d.ts +0 -20
  931. package/dist/models/psql/userHasStorageModel.js +0 -86
  932. package/dist/models/psql/userHasSubjectFeeModel.d.ts +0 -18
  933. package/dist/models/psql/userHasSubjectFeeModel.js +0 -86
  934. package/dist/models/psql/userLeaveRequestModel.d.ts +0 -24
  935. package/dist/models/psql/userLeaveRequestModel.js +0 -104
  936. package/dist/models/psql/userModel.d.ts +0 -55
  937. package/dist/models/psql/userModel.js +0 -392
  938. package/dist/models/psql/userPayoutDetailsModel.d.ts +0 -21
  939. package/dist/models/psql/userPayoutDetailsModel.js +0 -162
  940. package/dist/models/psql/userPayoutHistoryModel.d.ts +0 -27
  941. package/dist/models/psql/userPayoutHistoryModel.js +0 -155
  942. package/dist/models/psql/userPayoutModel.d.ts +0 -20
  943. package/dist/models/psql/userPayoutModel.js +0 -316
  944. package/dist/models/psql/userProjectAssessmentOptionModel.d.ts +0 -19
  945. package/dist/models/psql/userProjectAssessmentOptionModel.js +0 -126
  946. package/dist/models/psql/userRequiredStepsModel.d.ts +0 -17
  947. package/dist/models/psql/userRequiredStepsModel.js +0 -78
  948. package/dist/models/psql/vehicleModel.d.ts +0 -20
  949. package/dist/models/psql/vehicleModel.js +0 -110
  950. package/dist/models/psql/vendorManagementModel.d.ts +0 -28
  951. package/dist/models/psql/vendorManagementModel.js +0 -179
  952. package/dist/models/psql/walletHistoryModel.d.ts +0 -24
  953. package/dist/models/psql/walletHistoryModel.js +0 -103
  954. package/dist/models/psql/walletModel.d.ts +0 -19
  955. package/dist/models/psql/walletModel.js +0 -93
  956. package/dist/models/psql/workingDayModel.d.ts +0 -20
  957. package/dist/models/psql/workingDayModel.js +0 -79
  958. package/dist/models/psql/workingShiftModel.d.ts +0 -21
  959. package/dist/models/psql/workingShiftModel.js +0 -92
  960. package/dist/services/Concrete/mongooseCommonService.d.ts +0 -36
  961. package/dist/services/Concrete/mongooseCommonService.js +0 -108
  962. package/dist/services/Concrete/sequelizeCommanService.d.ts +0 -17
  963. package/dist/services/Concrete/sequelizeCommanService.js +0 -123
  964. package/dist/services/Contracts/IMongooseCommonService.d.ts +0 -36
  965. package/dist/services/Contracts/ISequelizeCommonService.d.ts +0 -21
  966. package/dist/types/academicCalendarType.d.ts +0 -6
  967. package/dist/types/accountHasReceiptDetailsType.d.ts +0 -7
  968. package/dist/types/announcementType.d.ts +0 -6
  969. package/dist/types/approveRequestType.d.ts +0 -2
  970. package/dist/types/areaType.d.ts +0 -3
  971. package/dist/types/attendanceType.d.ts +0 -2
  972. package/dist/types/bankAccountDetailsType.d.ts +0 -3
  973. package/dist/types/bannerType.d.ts +0 -7
  974. package/dist/types/batchSubjectBookAssessmentType.d.ts +0 -7
  975. package/dist/types/batchSubjectProjectAssessmentType.d.ts +0 -7
  976. package/dist/types/batchType.d.ts +0 -7
  977. package/dist/types/blogType.d.ts +0 -2
  978. package/dist/types/bookAssessmentDateType.d.ts +0 -7
  979. package/dist/types/careerType.d.ts +0 -2
  980. package/dist/types/categoriesType.d.ts +0 -3
  981. package/dist/types/certificatesHistoryType.d.ts +0 -2
  982. package/dist/types/certificatesManagementType.d.ts +0 -2
  983. package/dist/types/classRoomType.d.ts +0 -3
  984. package/dist/types/cloudStorageType.d.ts +0 -3
  985. package/dist/types/coinPurchaseOfferType.d.ts +0 -3
  986. package/dist/types/contactFeedBackType.d.ts +0 -3
  987. package/dist/types/courseHasVisitorsType.d.ts +0 -2
  988. package/dist/types/courseType.d.ts +0 -2
  989. package/dist/types/dailyBookType.d.ts +0 -2
  990. package/dist/types/dashboardManagementType.d.ts +0 -2
  991. package/dist/types/driverType.d.ts +0 -6
  992. package/dist/types/entityGroupType.d.ts +0 -3
  993. package/dist/types/eventType.d.ts +0 -2
  994. package/dist/types/examGroupType.d.ts +0 -6
  995. package/dist/types/examHasAnswerSheetType.d.ts +0 -2
  996. package/dist/types/examType.d.ts +0 -6
  997. package/dist/types/facilityType.d.ts +0 -3
  998. package/dist/types/featureActionType.d.ts +0 -3
  999. package/dist/types/feeHistoryDetailsType.d.ts +0 -6
  1000. package/dist/types/feeHistoryType.d.ts +0 -18
  1001. package/dist/types/feeReminderSettingType.d.ts +0 -3
  1002. package/dist/types/feeReminderType.d.ts +0 -3
  1003. package/dist/types/feeReminderTypeType.d.ts +0 -2
  1004. package/dist/types/feeTypeHasTermsType.d.ts +0 -3
  1005. package/dist/types/feeTypeType.d.ts +0 -3
  1006. package/dist/types/feedBackType.d.ts +0 -2
  1007. package/dist/types/feesCollectionType.d.ts +0 -3
  1008. package/dist/types/fileStorageType.d.ts +0 -3
  1009. package/dist/types/floormanagementType.d.ts +0 -3
  1010. package/dist/types/generateIdCardType.d.ts +0 -2
  1011. package/dist/types/greetingsType.d.ts +0 -6
  1012. package/dist/types/holidayType.d.ts +0 -2
  1013. package/dist/types/homeWorkType.d.ts +0 -3
  1014. package/dist/types/informationSupportType.d.ts +0 -2
  1015. package/dist/types/inquiryType.d.ts +0 -2
  1016. package/dist/types/instituteEntityType.d.ts +0 -6
  1017. package/dist/types/instituteEntityTypeType.d.ts +0 -3
  1018. package/dist/types/instituteSubscriptionPlanType.d.ts +0 -3
  1019. package/dist/types/instituteType.d.ts +0 -3
  1020. package/dist/types/inventoryHistoryType.d.ts +0 -3
  1021. package/dist/types/inventoryType.d.ts +0 -3
  1022. package/dist/types/jobApply.d.ts +0 -2
  1023. package/dist/types/lectureHistoryType.d.ts +0 -6
  1024. package/dist/types/lectureType.d.ts +0 -6
  1025. package/dist/types/masterLeaveType.d.ts +0 -3
  1026. package/dist/types/moduleFeatureType.d.ts +0 -3
  1027. package/dist/types/moduleType.d.ts +0 -3
  1028. package/dist/types/offerType.d.ts +0 -3
  1029. package/dist/types/paymentTermsType.d.ts +0 -3
  1030. package/dist/types/pdcChequeType.d.ts +0 -6
  1031. package/dist/types/pdcHistoryType.d.ts +0 -2
  1032. package/dist/types/photosGalleryType.d.ts +0 -2
  1033. package/dist/types/plannerType.d.ts +0 -7
  1034. package/dist/types/productType.d.ts +0 -3
  1035. package/dist/types/projectAssessmentOptionType.d.ts +0 -7
  1036. package/dist/types/roleType.d.ts +0 -11
  1037. package/dist/types/rulesRegulationType.d.ts +0 -3
  1038. package/dist/types/schoolFeeCollectionType.d.ts +0 -3
  1039. package/dist/types/schoolFeeType.d.ts +0 -3
  1040. package/dist/types/schoolOfferType.d.ts +0 -3
  1041. package/dist/types/sendNotificationType.d.ts +0 -3
  1042. package/dist/types/slotType.d.ts +0 -2
  1043. package/dist/types/subCategoryType.d.ts +0 -3
  1044. package/dist/types/subjectHasFeeType.d.ts +0 -3
  1045. package/dist/types/subjectHasPayFeeHistoryType.d.ts +0 -3
  1046. package/dist/types/subjectIndexType.d.ts +0 -7
  1047. package/dist/types/subscriptionPlanType.d.ts +0 -2
  1048. package/dist/types/syllabusType.d.ts +0 -7
  1049. package/dist/types/taskManagementType.d.ts +0 -2
  1050. package/dist/types/testimonialType.d.ts +0 -13
  1051. package/dist/types/toDoType.d.ts +0 -6
  1052. package/dist/types/tripType.d.ts +0 -2
  1053. package/dist/types/typeManagementType.d.ts +0 -3
  1054. package/dist/types/uniqueNumberCounterType.d.ts +0 -2
  1055. package/dist/types/userBookAssessmentType.d.ts +0 -7
  1056. package/dist/types/userDetailsType.d.ts +0 -2
  1057. package/dist/types/userFeeTypeByAccountType.d.ts +0 -3
  1058. package/dist/types/userFeeTypeType.d.ts +0 -6
  1059. package/dist/types/userHasAnnouncementType.d.ts +0 -3
  1060. package/dist/types/userHasBatchType.d.ts +0 -9
  1061. package/dist/types/userHasCourseType.d.ts +0 -3
  1062. package/dist/types/userHasDeviceType.d.ts +0 -3
  1063. package/dist/types/userHasFeeTermsType.d.ts +0 -3
  1064. package/dist/types/userHasFileType.d.ts +0 -3
  1065. package/dist/types/userHasHomeWorkType.d.ts +0 -3
  1066. package/dist/types/userHasInventoryHistoryType.d.ts +0 -3
  1067. package/dist/types/userHasInventoryType.d.ts +0 -3
  1068. package/dist/types/userHasLeaveHistoryType.d.ts +0 -3
  1069. package/dist/types/userHasLeaveType.d.ts +0 -3
  1070. package/dist/types/userHasOffer.d.ts +0 -3
  1071. package/dist/types/userHasParentType.d.ts +0 -10
  1072. package/dist/types/userHasRoleType.d.ts +0 -3
  1073. package/dist/types/userHasRollNumberType.d.ts +0 -3
  1074. package/dist/types/userHasStorageType.d.ts +0 -3
  1075. package/dist/types/userHasSubjectFeeType.d.ts +0 -3
  1076. package/dist/types/userInstituteMetaType.d.ts +0 -2
  1077. package/dist/types/userLeaveRequestType.d.ts +0 -3
  1078. package/dist/types/userMetaType.d.ts +0 -13
  1079. package/dist/types/userPayoutDetailsType.d.ts +0 -3
  1080. package/dist/types/userPayoutHistoryType.d.ts +0 -3
  1081. package/dist/types/userPayoutType.d.ts +0 -7
  1082. package/dist/types/userProjectAssessmentOptionType.d.ts +0 -7
  1083. package/dist/types/userRequiredStepsType.d.ts +0 -3
  1084. package/dist/types/userSchoolMetaType.d.ts +0 -3
  1085. package/dist/types/userType.d.ts +0 -12
  1086. package/dist/types/vehicleType.d.ts +0 -3
  1087. package/dist/types/vendorType.d.ts +0 -3
  1088. package/dist/types/videoAnalystType.d.ts +0 -2
  1089. package/dist/types/walletHistoryType.d.ts +0 -3
  1090. package/dist/types/walletTransactionType.d.ts +0 -3
  1091. package/dist/types/walletType.d.ts +0 -3
  1092. package/dist/types/workingDayType.d.ts +0 -3
  1093. package/dist/types/workingShiftType.d.ts +0 -3
  1094. /package/dist/{configs → src/configs}/aws.d.ts +0 -0
  1095. /package/dist/{configs → src/configs}/env.d.ts +0 -0
  1096. /package/dist/{configs → src/configs}/env.js +0 -0
  1097. /package/dist/{configs → src/configs}/postgresConfig.d.ts +0 -0
  1098. /package/dist/{configs → src/configs}/postgresConfig.js +0 -0
  1099. /package/dist/{constants → src/constants}/app.d.ts +0 -0
  1100. /package/dist/{constants → src/constants}/app.js +0 -0
  1101. /package/dist/{constants → src/constants}/defaultModelAttributes.d.ts +0 -0
  1102. /package/dist/{constants → src/constants}/defaultModelAttributes.js +0 -0
  1103. /package/dist/{constants → src/constants}/errorMessages.d.ts +0 -0
  1104. /package/dist/{constants → src/constants}/errorMessages.js +0 -0
  1105. /package/dist/{constants → src/constants}/httpStatusCode.d.ts +0 -0
  1106. /package/dist/{constants → src/constants}/httpStatusCode.js +0 -0
  1107. /package/dist/{constants → src/constants}/successMessages.js +0 -0
  1108. /package/dist/{db → src/db}/mongodb.d.ts +0 -0
  1109. /package/dist/{db → src/db}/mongodb.js +0 -0
  1110. /package/dist/{db → src/db}/postgres.d.ts +0 -0
  1111. /package/dist/{db → src/db}/postgres.js +0 -0
  1112. /package/dist/{db → src/db}/psql/index.d.ts +0 -0
  1113. /package/dist/{db → src/db}/psql/index.js +0 -0
  1114. /package/dist/{db → src/db}/psql/migrations/20241225101052-add-deleted-by-and-deleted-at-fields.d.ts +0 -0
  1115. /package/dist/{db → src/db}/psql/migrations/20241225101052-add-deleted-by-and-deleted-at-fields.js +0 -0
  1116. /package/dist/{db → src/db}/psql/migrations/20250106070945-add-user-fields-and-deleted-user-fields.d.ts +0 -0
  1117. /package/dist/{db → src/db}/psql/migrations/20250106070945-add-user-fields-and-deleted-user-fields.js +0 -0
  1118. /package/dist/{db → src/db}/psql/migrations/20250106080059-add-fields-and-deleted-fields.d.ts +0 -0
  1119. /package/dist/{db → src/db}/psql/migrations/20250106080059-add-fields-and-deleted-fields.js +0 -0
  1120. /package/dist/{db → src/db}/psql/migrations/20250108092439-update-batch-model-fields.d.ts +0 -0
  1121. /package/dist/{db → src/db}/psql/migrations/20250108092439-update-batch-model-fields.js +0 -0
  1122. /package/dist/{db → src/db}/psql/migrations/20250210102846-add-profileImage-coverImage-to-users.d.ts +0 -0
  1123. /package/dist/{db → src/db}/psql/migrations/20250210102846-add-profileImage-coverImage-to-users.js +0 -0
  1124. /package/dist/{db → src/db}/psql/migrations/20250211071743-add-action-user-has-histroy.d.ts +0 -0
  1125. /package/dist/{db → src/db}/psql/migrations/20250211071743-add-action-user-has-histroy.js +0 -0
  1126. /package/dist/{db → src/db}/psql/migrations/20250213140815-add-assignQuantity-user-has-histroy.d.ts +0 -0
  1127. /package/dist/{db → src/db}/psql/migrations/20250213140815-add-assignQuantity-user-has-histroy.js +0 -0
  1128. /package/dist/{db → src/db}/psql/migrations/20250214072626-add-middlename-user.d.ts +0 -0
  1129. /package/dist/{db → src/db}/psql/migrations/20250214072626-add-middlename-user.js +0 -0
  1130. /package/dist/{db → src/db}/psql/migrations/20250224085333-add-apptype-in-user.d.ts +0 -0
  1131. /package/dist/{db → src/db}/psql/migrations/20250224085333-add-apptype-in-user.js +0 -0
  1132. /package/dist/{db → src/db}/psql/migrations/20250226053006-add-brouchure-in-institute.d.ts +0 -0
  1133. /package/dist/{db → src/db}/psql/migrations/20250226053006-add-brouchure-in-institute.js +0 -0
  1134. /package/dist/{db → src/db}/psql/migrations/20250227123530-add-defult-in-fee-reminder.d.ts +0 -0
  1135. /package/dist/{db → src/db}/psql/migrations/20250227123530-add-defult-in-fee-reminder.js +0 -0
  1136. /package/dist/{db → src/db}/psql/migrations/20250304052831-add-institued-in-school-data-clm.d.ts +0 -0
  1137. /package/dist/{db → src/db}/psql/migrations/20250304052831-add-institued-in-school-data-clm.js +0 -0
  1138. /package/dist/{db → src/db}/psql/migrations/20250306053557-add-shifyId-in-batch.d.ts +0 -0
  1139. /package/dist/{db → src/db}/psql/migrations/20250306053557-add-shifyId-in-batch.js +0 -0
  1140. /package/dist/{db → src/db}/psql/migrations/20250311044606-add-institued-in-school-data-clm-subtype.d.ts +0 -0
  1141. /package/dist/{db → src/db}/psql/migrations/20250311044606-add-institued-in-school-data-clm-subtype.js +0 -0
  1142. /package/dist/{db → src/db}/psql/migrations/20250402090653-add-user-area.d.ts +0 -0
  1143. /package/dist/{db → src/db}/psql/migrations/20250402090653-add-user-area.js +0 -0
  1144. /package/dist/{db → src/db}/psql/migrations/20250407094125-update-type-in-typeManagement.d.ts +0 -0
  1145. /package/dist/{db → src/db}/psql/migrations/20250407094125-update-type-in-typeManagement.js +0 -0
  1146. /package/dist/{db → src/db}/psql/migrations/20250409105229-add-user-type-in-role.d.ts +0 -0
  1147. /package/dist/{db → src/db}/psql/migrations/20250409105229-add-user-type-in-role.js +0 -0
  1148. /package/dist/{db → src/db}/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.d.ts +0 -0
  1149. /package/dist/{db → src/db}/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.js +0 -0
  1150. /package/dist/{db → src/db}/psql/migrations/20250419071236-fee_histroy_add_school_clm.d.ts +0 -0
  1151. /package/dist/{db → src/db}/psql/migrations/20250419071236-fee_histroy_add_school_clm.js +0 -0
  1152. /package/dist/{db → src/db}/psql/migrations/20250419085334-fee_histroy_add_school_clm.d.ts +0 -0
  1153. /package/dist/{db → src/db}/psql/migrations/20250419085334-fee_histroy_add_school_clm.js +0 -0
  1154. /package/dist/{db → src/db}/psql/migrations/20250421085618-add-entityIds-field-in-announcements.d.ts +0 -0
  1155. /package/dist/{db → src/db}/psql/migrations/20250421085618-add-entityIds-field-in-announcements.js +0 -0
  1156. /package/dist/{db → src/db}/psql/migrations/20250422114032-add-account.d.ts +0 -0
  1157. /package/dist/{db → src/db}/psql/migrations/20250422114032-add-account.js +0 -0
  1158. /package/dist/{db → src/db}/psql/migrations/20250423051841-add-master-leave-clm.d.ts +0 -0
  1159. /package/dist/{db → src/db}/psql/migrations/20250423051841-add-master-leave-clm.js +0 -0
  1160. /package/dist/{db → src/db}/psql/migrations/20250423064522-update-calender-enum.d.ts +0 -0
  1161. /package/dist/{db → src/db}/psql/migrations/20250423064522-update-calender-enum.js +0 -0
  1162. /package/dist/{db → src/db}/psql/migrations/20250423093827-update-institued-district.d.ts +0 -0
  1163. /package/dist/{db → src/db}/psql/migrations/20250423093827-update-institued-district.js +0 -0
  1164. /package/dist/{db → src/db}/psql/migrations/20250424044755-update-fee-history-feeTyps-clm.d.ts +0 -0
  1165. /package/dist/{db → src/db}/psql/migrations/20250424044755-update-fee-history-feeTyps-clm.js +0 -0
  1166. /package/dist/{db → src/db}/psql/migrations/20250424053841-update-fee-history-key.d.ts +0 -0
  1167. /package/dist/{db → src/db}/psql/migrations/20250424053841-update-fee-history-key.js +0 -0
  1168. /package/dist/{db → src/db}/psql/migrations/20250426070309-update-banner-clm-userType.d.ts +0 -0
  1169. /package/dist/{db → src/db}/psql/migrations/20250426070309-update-banner-clm-userType.js +0 -0
  1170. /package/dist/{db → src/db}/psql/migrations/20250505035157-update-fee-collection-clm-add.d.ts +0 -0
  1171. /package/dist/{db → src/db}/psql/migrations/20250505035157-update-fee-collection-clm-add.js +0 -0
  1172. /package/dist/{db → src/db}/psql/migrations/20250505082924-update-banner-clm.d.ts +0 -0
  1173. /package/dist/{db → src/db}/psql/migrations/20250505082924-update-banner-clm.js +0 -0
  1174. /package/dist/{db → src/db}/psql/migrations/20250505094616-about-as-clm-in-institued.d.ts +0 -0
  1175. /package/dist/{db → src/db}/psql/migrations/20250505094616-about-as-clm-in-institued.js +0 -0
  1176. /package/dist/{db → src/db}/psql/migrations/20250506070110-add-dayOfWeek-clm-in-working-model.d.ts +0 -0
  1177. /package/dist/{db → src/db}/psql/migrations/20250506070110-add-dayOfWeek-clm-in-working-model.js +0 -0
  1178. /package/dist/{db → src/db}/psql/migrations/20250509055920-add-feecollection-isleft-clm.d.ts +0 -0
  1179. /package/dist/{db → src/db}/psql/migrations/20250509055920-add-feecollection-isleft-clm.js +0 -0
  1180. /package/dist/{db → src/db}/psql/migrations/20250513061037-add-techer-clm-batch.d.ts +0 -0
  1181. /package/dist/{db → src/db}/psql/migrations/20250513061037-add-techer-clm-batch.js +0 -0
  1182. /package/dist/{db → src/db}/psql/migrations/20250514101801-add-slotId-workingShif.d.ts +0 -0
  1183. /package/dist/{db → src/db}/psql/migrations/20250514101801-add-slotId-workingShif.js +0 -0
  1184. /package/dist/{db → src/db}/psql/migrations/20250516062917-add-globalId-clm-user-model.d.ts +0 -0
  1185. /package/dist/{db → src/db}/psql/migrations/20250516062917-add-globalId-clm-user-model.js +0 -0
  1186. /package/dist/{db → src/db}/psql/migrations/20250516063542-add-globalId-clm-institute-model.d.ts +0 -0
  1187. /package/dist/{db → src/db}/psql/migrations/20250516063542-add-globalId-clm-institute-model.js +0 -0
  1188. /package/dist/{db → src/db}/psql/migrations/20250520061231-add-institued_mobile_person_data.d.ts +0 -0
  1189. /package/dist/{db → src/db}/psql/migrations/20250520061231-add-institued_mobile_person_data.js +0 -0
  1190. /package/dist/{db → src/db}/psql/migrations/20250522044729-add-institued_update_add_2.d.ts +0 -0
  1191. /package/dist/{db → src/db}/psql/migrations/20250522044729-add-institued_update_add_2.js +0 -0
  1192. /package/dist/{db → src/db}/psql/migrations/20250526035543-add-totalQuantity_add_remainingQuantiy_clm_userHasInventoryHistory.d.ts +0 -0
  1193. /package/dist/{db → src/db}/psql/migrations/20250526035543-add-totalQuantity_add_remainingQuantiy_clm_userHasInventoryHistory.js +0 -0
  1194. /package/dist/{db → src/db}/psql/migrations/20250526093322-add-appType_clm_in_module.d.ts +0 -0
  1195. /package/dist/{db → src/db}/psql/migrations/20250526093322-add-appType_clm_in_module.js +0 -0
  1196. /package/dist/{db → src/db}/psql/migrations/20250526094030-add-appType_clm_in_action.d.ts +0 -0
  1197. /package/dist/{db → src/db}/psql/migrations/20250526094030-add-appType_clm_in_action.js +0 -0
  1198. /package/dist/{db → src/db}/psql/migrations/20250526094233-add-appType_clm_in_module_features.d.ts +0 -0
  1199. /package/dist/{db → src/db}/psql/migrations/20250526094233-add-appType_clm_in_module_features.js +0 -0
  1200. /package/dist/{db → src/db}/psql/migrations/20250527065001-add-app-type-in-role-model.d.ts +0 -0
  1201. /package/dist/{db → src/db}/psql/migrations/20250527065001-add-app-type-in-role-model.js +0 -0
  1202. /package/dist/{db → src/db}/psql/migrations/20250528045906-add-module-type-to-notifications.d.ts +0 -0
  1203. /package/dist/{db → src/db}/psql/migrations/20250528045906-add-module-type-to-notifications.js +0 -0
  1204. /package/dist/{db → src/db}/psql/migrations/20250602090331-add-or-update-user-model-medicalHistory.d.ts +0 -0
  1205. /package/dist/{db → src/db}/psql/migrations/20250602090331-add-or-update-user-model-medicalHistory.js +0 -0
  1206. /package/dist/{db → src/db}/psql/migrations/20250602100550-add-planner-sync-status-to-institute.d.ts +0 -0
  1207. /package/dist/{db → src/db}/psql/migrations/20250602100550-add-planner-sync-status-to-institute.js +0 -0
  1208. /package/dist/{db → src/db}/psql/migrations/20250603054900-add-clm-for-defult-data-add-or-not-in-ins-model.d.ts +0 -0
  1209. /package/dist/{db → src/db}/psql/migrations/20250603054900-add-clm-for-defult-data-add-or-not-in-ins-model.js +0 -0
  1210. /package/dist/{db → src/db}/psql/migrations/20250604103905-add-is-institute-default-field-in-role.d.ts +0 -0
  1211. /package/dist/{db → src/db}/psql/migrations/20250604103905-add-is-institute-default-field-in-role.js +0 -0
  1212. /package/dist/{db → src/db}/psql/migrations/20250604121051-update-mobile-number-opstion.d.ts +0 -0
  1213. /package/dist/{db → src/db}/psql/migrations/20250604121051-update-mobile-number-opstion.js +0 -0
  1214. /package/dist/{db → src/db}/psql/migrations/20250617064159-update-type-management-jun-17.d.ts +0 -0
  1215. /package/dist/{db → src/db}/psql/migrations/20250617064159-update-type-management-jun-17.js +0 -0
  1216. /package/dist/{db → src/db}/psql/migrations/20250627065013-is-institute-default-added-type-managemente.d.ts +0 -0
  1217. /package/dist/{db → src/db}/psql/migrations/20250627065013-is-institute-default-added-type-managemente.js +0 -0
  1218. /package/dist/{db → src/db}/psql/migrations/20250701095321-add-clm-institute-pdfId.d.ts +0 -0
  1219. /package/dist/{db → src/db}/psql/migrations/20250701095321-add-clm-institute-pdfId.js +0 -0
  1220. /package/dist/{db → src/db}/psql/migrations/20250704102117-add-clm-isDefult-in-typeManagemet.d.ts +0 -0
  1221. /package/dist/{db → src/db}/psql/migrations/20250704102117-add-clm-isDefult-in-typeManagemet.js +0 -0
  1222. /package/dist/{db → src/db}/psql/migrations/20250715103324-add-academic-calendar-id-to-batches.d.ts +0 -0
  1223. /package/dist/{db → src/db}/psql/migrations/20250715103324-add-academic-calendar-id-to-batches.js +0 -0
  1224. /package/dist/{db → src/db}/psql/migrations/20250715121047-remove-batch-id-from-academic-calendars.d.ts +0 -0
  1225. /package/dist/{db → src/db}/psql/migrations/20250715121047-remove-batch-id-from-academic-calendars.js +0 -0
  1226. /package/dist/{db → src/db}/psql/migrations/20250716131731-rename-user-id-to-primary-user-id.d.ts +0 -0
  1227. /package/dist/{db → src/db}/psql/migrations/20250716131731-rename-user-id-to-primary-user-id.js +0 -0
  1228. /package/dist/{db → src/db}/psql/migrations/20250717092933-add-floor-id-to-class-rooms.d.ts +0 -0
  1229. /package/dist/{db → src/db}/psql/migrations/20250717092933-add-floor-id-to-class-rooms.js +0 -0
  1230. /package/dist/{db → src/db}/psql/migrations/20250718121251-add-clm-classroom-typeid.d.ts +0 -0
  1231. /package/dist/{db → src/db}/psql/migrations/20250718121251-add-clm-classroom-typeid.js +0 -0
  1232. /package/dist/{db → src/db}/psql/migrations/20250721065317-add-instituteId-fileSize-to-fileStorage.d.ts +0 -0
  1233. /package/dist/{db → src/db}/psql/migrations/20250721065317-add-instituteId-fileSize-to-fileStorage.js +0 -0
  1234. /package/dist/{db → src/db}/psql/migrations/20250721100004-add-shift-slot-id-to-lectures.d.ts +0 -0
  1235. /package/dist/{db → src/db}/psql/migrations/20250721100004-add-shift-slot-id-to-lectures.js +0 -0
  1236. /package/dist/{db → src/db}/psql/migrations/20250721105455-add-clm-classroom-add-classroomnumber.d.ts +0 -0
  1237. /package/dist/{db → src/db}/psql/migrations/20250721105455-add-clm-classroom-add-classroomnumber.js +0 -0
  1238. /package/dist/{db → src/db}/psql/migrations/20250722071836-add-title-to-floor-management.d.ts +0 -0
  1239. /package/dist/{db → src/db}/psql/migrations/20250722071836-add-title-to-floor-management.js +0 -0
  1240. /package/dist/{db → src/db}/psql/migrations/20250723150111-add-clm-batch-slotId.d.ts +0 -0
  1241. /package/dist/{db → src/db}/psql/migrations/20250723150111-add-clm-batch-slotId.js +0 -0
  1242. /package/dist/{db → src/db}/psql/migrations/20250724062458-update_classRoom_number_clm_to_string.d.ts +0 -0
  1243. /package/dist/{db → src/db}/psql/migrations/20250724062458-update_classRoom_number_clm_to_string.js +0 -0
  1244. /package/dist/{db → src/db}/psql/migrations/20250725132424-add-unique-index-on-instituteId-name-type.d.ts +0 -0
  1245. /package/dist/{db → src/db}/psql/migrations/20250725132424-add-unique-index-on-instituteId-name-type.js +0 -0
  1246. /package/dist/{db → src/db}/psql/migrations/20250730104844-update-unique-key-assessment-type.d.ts +0 -0
  1247. /package/dist/{db → src/db}/psql/migrations/20250730104844-update-unique-key-assessment-type.js +0 -0
  1248. /package/dist/{db → src/db}/psql/migrations/20250804090437-update_ins_in_pdf_id_string_to_uuid.d.ts +0 -0
  1249. /package/dist/{db → src/db}/psql/migrations/20250804090437-update_ins_in_pdf_id_string_to_uuid.js +0 -0
  1250. /package/dist/{db → src/db}/psql/migrations/20250805062440-remove_unique_key_into_batch_subject_project_assessments.d.ts +0 -0
  1251. /package/dist/{db → src/db}/psql/migrations/20250805062440-remove_unique_key_into_batch_subject_project_assessments.js +0 -0
  1252. /package/dist/{db → src/db}/psql/migrations/20250805115805-add-descriptions-to-lectures.d.ts +0 -0
  1253. /package/dist/{db → src/db}/psql/migrations/20250805115805-add-descriptions-to-lectures.js +0 -0
  1254. /package/dist/{db → src/db}/psql/migrations/20250808100700-add_clm_contectFeed_in_ins_givenId.d.ts +0 -0
  1255. /package/dist/{db → src/db}/psql/migrations/20250808100700-add_clm_contectFeed_in_ins_givenId.js +0 -0
  1256. /package/dist/{db → src/db}/psql/migrations/20250808101515-add-sequence-to-institute_entities.d.ts +0 -0
  1257. /package/dist/{db → src/db}/psql/migrations/20250808101515-add-sequence-to-institute_entities.js +0 -0
  1258. /package/dist/{db → src/db}/psql/migrations/20250812080521-add-title-and-descriptions-to-batch-subject-project-assessments.d.ts +0 -0
  1259. /package/dist/{db → src/db}/psql/migrations/20250812080521-add-title-and-descriptions-to-batch-subject-project-assessments.js +0 -0
  1260. /package/dist/{db → src/db}/psql/migrations/20250820092836-add-sequence-number-to-institute-entities.d.ts +0 -0
  1261. /package/dist/{db → src/db}/psql/migrations/20250820092836-add-sequence-number-to-institute-entities.js +0 -0
  1262. /package/dist/{db → src/db}/psql/migrations/20250829103203-remove-syllabus-composit-index.d.ts +0 -0
  1263. /package/dist/{db → src/db}/psql/migrations/20250829103203-remove-syllabus-composit-index.js +0 -0
  1264. /package/dist/{db → src/db}/psql/migrations/20250905132024-add-uuid-to-users.d.ts +0 -0
  1265. /package/dist/{db → src/db}/psql/migrations/20250905132024-add-uuid-to-users.js +0 -0
  1266. /package/dist/{db → src/db}/psql/migrations/20250908054025-userHasOffer_model_update.d.ts +0 -0
  1267. /package/dist/{db → src/db}/psql/migrations/20250908054025-userHasOffer_model_update.js +0 -0
  1268. /package/dist/{db → src/db}/psql/migrations/20250908054754-offer_in_add_offertype_clm.d.ts +0 -0
  1269. /package/dist/{db → src/db}/psql/migrations/20250908054754-offer_in_add_offertype_clm.js +0 -0
  1270. /package/dist/{db → src/db}/psql/migrations/20250909061117-add-instituteId-isDefault-to-entityGroup.d.ts +0 -0
  1271. /package/dist/{db → src/db}/psql/migrations/20250909061117-add-instituteId-isDefault-to-entityGroup.js +0 -0
  1272. /package/dist/{db → src/db}/psql/migrations/20250911060106-change-wallet-history-columns-to-float.d.ts +0 -0
  1273. /package/dist/{db → src/db}/psql/migrations/20250911060106-change-wallet-history-columns-to-float.js +0 -0
  1274. /package/dist/{db → src/db}/psql/migrations/20250911060245-change-coin-to-float-in-wallets.d.ts +0 -0
  1275. /package/dist/{db → src/db}/psql/migrations/20250911060245-change-coin-to-float-in-wallets.js +0 -0
  1276. /package/dist/{db → src/db}/psql/migrations/20250917135646-change-storageInBytes-to-float.d.ts +0 -0
  1277. /package/dist/{db → src/db}/psql/migrations/20250917135646-change-storageInBytes-to-float.js +0 -0
  1278. /package/dist/{db → src/db}/psql/seeders/20240809100759-add-countries-states-cities.d.ts +0 -0
  1279. /package/dist/{db → src/db}/psql/seeders/20240809100759-add-countries-states-cities.js +0 -0
  1280. /package/dist/{db → src/db}/psql/seeders/20250101122757-add-default-permissions-modules.d.ts +0 -0
  1281. /package/dist/{db → src/db}/psql/seeders/20250101122757-add-default-permissions-modules.js +0 -0
  1282. /package/dist/{db → src/db}/psql/seeders/Data/AcademicCalendarModule.d.ts +0 -0
  1283. /package/dist/{db → src/db}/psql/seeders/Data/AcademicCalendarModule.js +0 -0
  1284. /package/dist/{db → src/db}/psql/seeders/Data/AdministrativeStaffModule.d.ts +0 -0
  1285. /package/dist/{db → src/db}/psql/seeders/Data/AdministrativeStaffModule.js +0 -0
  1286. /package/dist/{db → src/db}/psql/seeders/Data/AnnouncementsModule.d.ts +0 -0
  1287. /package/dist/{db → src/db}/psql/seeders/Data/AnnouncementsModule.js +0 -0
  1288. /package/dist/{db → src/db}/psql/seeders/Data/AssetsModule.d.ts +0 -0
  1289. /package/dist/{db → src/db}/psql/seeders/Data/AssetsModule.js +0 -0
  1290. /package/dist/{db → src/db}/psql/seeders/Data/AttendanceModule.d.ts +0 -0
  1291. /package/dist/{db → src/db}/psql/seeders/Data/AttendanceModule.js +0 -0
  1292. /package/dist/{db → src/db}/psql/seeders/Data/BannerModule.d.ts +0 -0
  1293. /package/dist/{db → src/db}/psql/seeders/Data/BannerModule.js +0 -0
  1294. /package/dist/{db → src/db}/psql/seeders/Data/BatchModule.d.ts +0 -0
  1295. /package/dist/{db → src/db}/psql/seeders/Data/BatchModule.js +0 -0
  1296. /package/dist/{db → src/db}/psql/seeders/Data/BoardModule .d.ts +0 -0
  1297. /package/dist/{db → src/db}/psql/seeders/Data/BoardModule .js +0 -0
  1298. /package/dist/{db → src/db}/psql/seeders/Data/BookAssessmentsModule.d.ts +0 -0
  1299. /package/dist/{db → src/db}/psql/seeders/Data/BookAssessmentsModule.js +0 -0
  1300. /package/dist/{db → src/db}/psql/seeders/Data/CategoriesModule.d.ts +0 -0
  1301. /package/dist/{db → src/db}/psql/seeders/Data/CategoriesModule.js +0 -0
  1302. /package/dist/{db → src/db}/psql/seeders/Data/ClassroomModule.d.ts +0 -0
  1303. /package/dist/{db → src/db}/psql/seeders/Data/ClassroomModule.js +0 -0
  1304. /package/dist/{db → src/db}/psql/seeders/Data/DivisionModule.d.ts +0 -0
  1305. /package/dist/{db → src/db}/psql/seeders/Data/DivisionModule.js +0 -0
  1306. /package/dist/{db → src/db}/psql/seeders/Data/EventModule.d.ts +0 -0
  1307. /package/dist/{db → src/db}/psql/seeders/Data/EventModule.js +0 -0
  1308. /package/dist/{db → src/db}/psql/seeders/Data/ExamsAndResultsModule.d.ts +0 -0
  1309. /package/dist/{db → src/db}/psql/seeders/Data/ExamsAndResultsModule.js +0 -0
  1310. /package/dist/{db → src/db}/psql/seeders/Data/FacilityModule.d.ts +0 -0
  1311. /package/dist/{db → src/db}/psql/seeders/Data/FacilityModule.js +0 -0
  1312. /package/dist/{db → src/db}/psql/seeders/Data/FeeAndDiscountModule.d.ts +0 -0
  1313. /package/dist/{db → src/db}/psql/seeders/Data/FeeAndDiscountModule.js +0 -0
  1314. /package/dist/{db → src/db}/psql/seeders/Data/FeedBackModule.d.ts +0 -0
  1315. /package/dist/{db → src/db}/psql/seeders/Data/FeedBackModule.js +0 -0
  1316. /package/dist/{db → src/db}/psql/seeders/Data/FileModule.d.ts +0 -0
  1317. /package/dist/{db → src/db}/psql/seeders/Data/FileModule.js +0 -0
  1318. /package/dist/{db → src/db}/psql/seeders/Data/GenerateIdModule.d.ts +0 -0
  1319. /package/dist/{db → src/db}/psql/seeders/Data/GenerateIdModule.js +0 -0
  1320. /package/dist/{db → src/db}/psql/seeders/Data/HolidayModule.d.ts +0 -0
  1321. /package/dist/{db → src/db}/psql/seeders/Data/HolidayModule.js +0 -0
  1322. /package/dist/{db → src/db}/psql/seeders/Data/HomeworkModule.d.ts +0 -0
  1323. /package/dist/{db → src/db}/psql/seeders/Data/HomeworkModule.js +0 -0
  1324. /package/dist/{db → src/db}/psql/seeders/Data/IndexModule.d.ts +0 -0
  1325. /package/dist/{db → src/db}/psql/seeders/Data/IndexModule.js +0 -0
  1326. /package/dist/{db → src/db}/psql/seeders/Data/InquiryModule.d.ts +0 -0
  1327. /package/dist/{db → src/db}/psql/seeders/Data/InquiryModule.js +0 -0
  1328. /package/dist/{db → src/db}/psql/seeders/Data/InstituteModule.d.ts +0 -0
  1329. /package/dist/{db → src/db}/psql/seeders/Data/InstituteModule.js +0 -0
  1330. /package/dist/{db → src/db}/psql/seeders/Data/InventoryModule.d.ts +0 -0
  1331. /package/dist/{db → src/db}/psql/seeders/Data/InventoryModule.js +0 -0
  1332. /package/dist/{db → src/db}/psql/seeders/Data/JobApplyModule.d.ts +0 -0
  1333. /package/dist/{db → src/db}/psql/seeders/Data/JobApplyModule.js +0 -0
  1334. /package/dist/{db → src/db}/psql/seeders/Data/LectureModule.d.ts +0 -0
  1335. /package/dist/{db → src/db}/psql/seeders/Data/LectureModule.js +0 -0
  1336. /package/dist/{db → src/db}/psql/seeders/Data/ParentModule.d.ts +0 -0
  1337. /package/dist/{db → src/db}/psql/seeders/Data/ParentModule.js +0 -0
  1338. /package/dist/{db → src/db}/psql/seeders/Data/PayoutModule.d.ts +0 -0
  1339. /package/dist/{db → src/db}/psql/seeders/Data/PayoutModule.js +0 -0
  1340. /package/dist/{db → src/db}/psql/seeders/Data/PdcChequesModule.d.ts +0 -0
  1341. /package/dist/{db → src/db}/psql/seeders/Data/PdcChequesModule.js +0 -0
  1342. /package/dist/{db → src/db}/psql/seeders/Data/PhotosGalleryModule.d.ts +0 -0
  1343. /package/dist/{db → src/db}/psql/seeders/Data/PhotosGalleryModule.js +0 -0
  1344. /package/dist/{db → src/db}/psql/seeders/Data/PlannerModule.d.ts +0 -0
  1345. /package/dist/{db → src/db}/psql/seeders/Data/PlannerModule.js +0 -0
  1346. /package/dist/{db → src/db}/psql/seeders/Data/ProjectAssessmentsModule.d.ts +0 -0
  1347. /package/dist/{db → src/db}/psql/seeders/Data/ProjectAssessmentsModule.js +0 -0
  1348. /package/dist/{db → src/db}/psql/seeders/Data/ReplaceTeacherModule.d.ts +0 -0
  1349. /package/dist/{db → src/db}/psql/seeders/Data/ReplaceTeacherModule.js +0 -0
  1350. /package/dist/{db → src/db}/psql/seeders/Data/RoleModule.d.ts +0 -0
  1351. /package/dist/{db → src/db}/psql/seeders/Data/RoleModule.js +0 -0
  1352. /package/dist/{db → src/db}/psql/seeders/Data/RollNumberModule.d.ts +0 -0
  1353. /package/dist/{db → src/db}/psql/seeders/Data/RollNumberModule.js +0 -0
  1354. /package/dist/{db → src/db}/psql/seeders/Data/SchoolFeeModule.d.ts +0 -0
  1355. /package/dist/{db → src/db}/psql/seeders/Data/SchoolFeeModule.js +0 -0
  1356. /package/dist/{db → src/db}/psql/seeders/Data/SchoolModule.d.ts +0 -0
  1357. /package/dist/{db → src/db}/psql/seeders/Data/SchoolModule.js +0 -0
  1358. /package/dist/{db → src/db}/psql/seeders/Data/SchoolRegistration.d.ts +0 -0
  1359. /package/dist/{db → src/db}/psql/seeders/Data/SchoolRegistration.js +0 -0
  1360. /package/dist/{db → src/db}/psql/seeders/Data/SettingsModule.d.ts +0 -0
  1361. /package/dist/{db → src/db}/psql/seeders/Data/SettingsModule.js +0 -0
  1362. /package/dist/{db → src/db}/psql/seeders/Data/StaffTimingModule.d.ts +0 -0
  1363. /package/dist/{db → src/db}/psql/seeders/Data/StaffTimingModule.js +0 -0
  1364. /package/dist/{db → src/db}/psql/seeders/Data/StudentModule.d.ts +0 -0
  1365. /package/dist/{db → src/db}/psql/seeders/Data/StudentModule.js +0 -0
  1366. /package/dist/{db → src/db}/psql/seeders/Data/SubjectModule.d.ts +0 -0
  1367. /package/dist/{db → src/db}/psql/seeders/Data/SubjectModule.js +0 -0
  1368. /package/dist/{db → src/db}/psql/seeders/Data/SyllabusManagementModule.d.ts +0 -0
  1369. /package/dist/{db → src/db}/psql/seeders/Data/SyllabusManagementModule.js +0 -0
  1370. /package/dist/{db → src/db}/psql/seeders/Data/TeacherModule.d.ts +0 -0
  1371. /package/dist/{db → src/db}/psql/seeders/Data/TeacherModule.js +0 -0
  1372. /package/dist/{db → src/db}/psql/seeders/Data/TestimonialsModule.d.ts +0 -0
  1373. /package/dist/{db → src/db}/psql/seeders/Data/TestimonialsModule.js +0 -0
  1374. /package/dist/{db → src/db}/psql/seeders/Data/TimetableModule.d.ts +0 -0
  1375. /package/dist/{db → src/db}/psql/seeders/Data/TimetableModule.js +0 -0
  1376. /package/dist/{db → src/db}/psql/seeders/Data/To-doModule.d.ts +0 -0
  1377. /package/dist/{db → src/db}/psql/seeders/Data/To-doModule.js +0 -0
  1378. /package/dist/{db → src/db}/psql/seeders/Data/TypeManagementModule.d.ts +0 -0
  1379. /package/dist/{db → src/db}/psql/seeders/Data/TypeManagementModule.js +0 -0
  1380. /package/dist/{db → src/db}/psql/seeders/Data/UserModule.d.ts +0 -0
  1381. /package/dist/{db → src/db}/psql/seeders/Data/UserModule.js +0 -0
  1382. /package/dist/{db → src/db}/psql/seeders/Data/appType.d.ts +0 -0
  1383. /package/dist/{db → src/db}/psql/seeders/Data/appType.js +0 -0
  1384. /package/dist/{interfaces → src/interfaces}/academicCalendarInterface.js +0 -0
  1385. /package/dist/{interfaces → src/interfaces}/accountHasReceiptDetailsInterface.js +0 -0
  1386. /package/dist/{interfaces → src/interfaces}/announcementInterface.js +0 -0
  1387. /package/dist/{interfaces → src/interfaces}/approvalRequestInterface.js +0 -0
  1388. /package/dist/{interfaces → src/interfaces}/areaInterface.d.ts +0 -0
  1389. /package/dist/{interfaces → src/interfaces}/areaInterface.js +0 -0
  1390. /package/dist/{interfaces → src/interfaces}/attendanceInterface.js +0 -0
  1391. /package/dist/{interfaces → src/interfaces}/bankAccountDetailsInterface.js +0 -0
  1392. /package/dist/{interfaces → src/interfaces}/bannerInterface.js +0 -0
  1393. /package/dist/{interfaces → src/interfaces}/batchInterface.js +0 -0
  1394. /package/dist/{interfaces → src/interfaces}/batchSubjectBookAssessmentInterface.js +0 -0
  1395. /package/dist/{interfaces → src/interfaces}/batchSubjectProjectAssessmentInterface.js +0 -0
  1396. /package/dist/{interfaces → src/interfaces}/blogInterface.js +0 -0
  1397. /package/dist/{interfaces → src/interfaces}/bookAssessmentDateInterface.js +0 -0
  1398. /package/dist/{interfaces → src/interfaces}/careerInterface.js +0 -0
  1399. /package/dist/{interfaces → src/interfaces}/categoriesInterface.js +0 -0
  1400. /package/dist/{interfaces → src/interfaces}/certificatesHistoryInterface.js +0 -0
  1401. /package/dist/{interfaces → src/interfaces}/certificatesManagementInterface.js +0 -0
  1402. /package/dist/{interfaces → src/interfaces}/cityInterface.js +0 -0
  1403. /package/dist/{interfaces → src/interfaces}/classRoomInterface.js +0 -0
  1404. /package/dist/{interfaces → src/interfaces}/cloudStorageInterface.js +0 -0
  1405. /package/dist/{interfaces → src/interfaces}/coinPurchaseOfferInterface.js +0 -0
  1406. /package/dist/{interfaces → src/interfaces}/columnInterface.js +0 -0
  1407. /package/dist/{interfaces → src/interfaces}/commanInterface.d.ts +0 -0
  1408. /package/dist/{interfaces → src/interfaces}/commanInterface.js +0 -0
  1409. /package/dist/{interfaces → src/interfaces}/contactFeedBackInterface.js +0 -0
  1410. /package/dist/{interfaces → src/interfaces}/countryInterface.js +0 -0
  1411. /package/dist/{interfaces → src/interfaces}/courseHasVisitorsInterface.js +0 -0
  1412. /package/dist/{interfaces → src/interfaces}/courseInterface.js +0 -0
  1413. /package/dist/{interfaces → src/interfaces}/dailyBookInterface.js +0 -0
  1414. /package/dist/{interfaces → src/interfaces}/dashboardManagementInterface.js +0 -0
  1415. /package/dist/{interfaces → src/interfaces}/driverInterface.js +0 -0
  1416. /package/dist/{interfaces → src/interfaces}/entityGroupInterface.js +0 -0
  1417. /package/dist/{interfaces → src/interfaces}/eventInterface.js +0 -0
  1418. /package/dist/{interfaces → src/interfaces}/examGroupInterface.js +0 -0
  1419. /package/dist/{interfaces → src/interfaces}/examHasAnswerSheetInterface.js +0 -0
  1420. /package/dist/{interfaces → src/interfaces}/examInterface.js +0 -0
  1421. /package/dist/{interfaces → src/interfaces}/facilityInterface.js +0 -0
  1422. /package/dist/{interfaces → src/interfaces}/featureActionInterface.js +0 -0
  1423. /package/dist/{interfaces → src/interfaces}/feeHistoryDetailsInterface.js +0 -0
  1424. /package/dist/{interfaces → src/interfaces}/feeHistoryInterface.js +0 -0
  1425. /package/dist/{interfaces → src/interfaces}/feeReminderInterface.js +0 -0
  1426. /package/dist/{interfaces → src/interfaces}/feeReminderSettingInterface.js +0 -0
  1427. /package/dist/{interfaces → src/interfaces}/feeReminderTypeInterface.js +0 -0
  1428. /package/dist/{interfaces → src/interfaces}/feeTypeHasTermsInterface.js +0 -0
  1429. /package/dist/{interfaces → src/interfaces}/feeTypeInterface.js +0 -0
  1430. /package/dist/{interfaces → src/interfaces}/feedBackInterface.js +0 -0
  1431. /package/dist/{interfaces → src/interfaces}/feesCollectionInterface.js +0 -0
  1432. /package/dist/{interfaces → src/interfaces}/fileStorageInterface.js +0 -0
  1433. /package/dist/{interfaces → src/interfaces}/floorManagementInterface.js +0 -0
  1434. /package/dist/{interfaces → src/interfaces}/generateIdCardInterface.js +0 -0
  1435. /package/dist/{interfaces → src/interfaces}/greetingsInterface.js +0 -0
  1436. /package/dist/{interfaces → src/interfaces}/holidayInterface.js +0 -0
  1437. /package/dist/{interfaces → src/interfaces}/homeworkInterface.js +0 -0
  1438. /package/dist/{interfaces → src/interfaces}/informationSupportInterface.js +0 -0
  1439. /package/dist/{interfaces → src/interfaces}/inquiryInterface.js +0 -0
  1440. /package/dist/{interfaces → src/interfaces}/instituteEntityInterface.js +0 -0
  1441. /package/dist/{interfaces → src/interfaces}/instituteEntityTypeInterface.js +0 -0
  1442. /package/dist/{interfaces → src/interfaces}/instituteInterface.js +0 -0
  1443. /package/dist/{interfaces → src/interfaces}/instituteSubscriptionPlanInterface.js +0 -0
  1444. /package/dist/{interfaces → src/interfaces}/inventoryHistoryInterface.js +0 -0
  1445. /package/dist/{interfaces → src/interfaces}/inventoryInterface.js +0 -0
  1446. /package/dist/{interfaces → src/interfaces}/invoiceInterface.js +0 -0
  1447. /package/dist/{interfaces → src/interfaces}/jobApplyInterface.js +0 -0
  1448. /package/dist/{interfaces → src/interfaces}/lectureHistoryInterface.js +0 -0
  1449. /package/dist/{interfaces → src/interfaces}/lectureInterface.js +0 -0
  1450. /package/dist/{interfaces → src/interfaces}/masterLeaveInterface.js +0 -0
  1451. /package/dist/{interfaces → src/interfaces}/moduleFeatureInterface.js +0 -0
  1452. /package/dist/{interfaces → src/interfaces}/moduleInterface.js +0 -0
  1453. /package/dist/{interfaces → src/interfaces}/offersInterface.js +0 -0
  1454. /package/dist/{interfaces → src/interfaces}/paymentTermsInterface.js +0 -0
  1455. /package/dist/{interfaces → src/interfaces}/pdcChequeInterface.js +0 -0
  1456. /package/dist/{interfaces → src/interfaces}/pdcHistoryInterface.js +0 -0
  1457. /package/dist/{interfaces → src/interfaces}/photosGalleryInterface.js +0 -0
  1458. /package/dist/{interfaces → src/interfaces}/pincodeInterface.js +0 -0
  1459. /package/dist/{interfaces → src/interfaces}/plannerInterface.js +0 -0
  1460. /package/dist/{interfaces → src/interfaces}/productInterface.js +0 -0
  1461. /package/dist/{interfaces → src/interfaces}/projectAssessmentOptionInterface.js +0 -0
  1462. /package/dist/{interfaces → src/interfaces}/replaceTeacherInterface.js +0 -0
  1463. /package/dist/{interfaces → src/interfaces}/roleInterface.js +0 -0
  1464. /package/dist/{interfaces → src/interfaces}/rulesRegulationInterface.js +0 -0
  1465. /package/dist/{interfaces → src/interfaces}/schoolFeeCollectionInterface.js +0 -0
  1466. /package/dist/{interfaces → src/interfaces}/schoolFeeInterface.js +0 -0
  1467. /package/dist/{interfaces → src/interfaces}/schoolOfferInterface.js +0 -0
  1468. /package/dist/{interfaces → src/interfaces}/sendNotificationInerface.js +0 -0
  1469. /package/dist/{interfaces → src/interfaces}/slotInterface.js +0 -0
  1470. /package/dist/{interfaces → src/interfaces}/stateInterface.js +0 -0
  1471. /package/dist/{interfaces → src/interfaces}/subCategoriesInterface.js +0 -0
  1472. /package/dist/{interfaces → src/interfaces}/subjectHasFeeInterface.js +0 -0
  1473. /package/dist/{interfaces → src/interfaces}/subjectHasPayFeeHistoryInterface.js +0 -0
  1474. /package/dist/{interfaces → src/interfaces}/subjectIndexInterface.js +0 -0
  1475. /package/dist/{interfaces → src/interfaces}/subscriptionPlanInterface.js +0 -0
  1476. /package/dist/{interfaces → src/interfaces}/syllabusInterface.js +0 -0
  1477. /package/dist/{interfaces → src/interfaces}/taskManagementInterface.js +0 -0
  1478. /package/dist/{interfaces → src/interfaces}/testimonialInterface.js +0 -0
  1479. /package/dist/{interfaces → src/interfaces}/toDoInterface.js +0 -0
  1480. /package/dist/{interfaces → src/interfaces}/tokenInterface.js +0 -0
  1481. /package/dist/{interfaces → src/interfaces}/tripInterface.js +0 -0
  1482. /package/dist/{interfaces → src/interfaces}/typeManagementInterface.js +0 -0
  1483. /package/dist/{interfaces → src/interfaces}/uniqueNumberCounterInterface.js +0 -0
  1484. /package/dist/{interfaces → src/interfaces}/userBookAssessmentInterface.js +0 -0
  1485. /package/dist/{interfaces → src/interfaces}/userDetailsInterface.js +0 -0
  1486. /package/dist/{interfaces → src/interfaces}/userFeeTypeByAccountInterface.js +0 -0
  1487. /package/dist/{interfaces → src/interfaces}/userFeeTypeInterface.js +0 -0
  1488. /package/dist/{interfaces → src/interfaces}/userHasAnnouncementInterface.js +0 -0
  1489. /package/dist/{interfaces → src/interfaces}/userHasBatchInterface.js +0 -0
  1490. /package/dist/{interfaces → src/interfaces}/userHasCourseInterface.js +0 -0
  1491. /package/dist/{interfaces → src/interfaces}/userHasDeviceInterface.js +0 -0
  1492. /package/dist/{interfaces → src/interfaces}/userHasFeeTermsInterface.js +0 -0
  1493. /package/dist/{interfaces → src/interfaces}/userHasFileInterface.js +0 -0
  1494. /package/dist/{interfaces → src/interfaces}/userHasHomeWorkInterface.js +0 -0
  1495. /package/dist/{interfaces → src/interfaces}/userHasInventoryHistoryInterface.js +0 -0
  1496. /package/dist/{interfaces → src/interfaces}/userHasInventoryInterface.js +0 -0
  1497. /package/dist/{interfaces → src/interfaces}/userHasLeaveHistoryInterface.js +0 -0
  1498. /package/dist/{interfaces → src/interfaces}/userHasLeaveInterface.js +0 -0
  1499. /package/dist/{interfaces → src/interfaces}/userHasOfferInterface.js +0 -0
  1500. /package/dist/{interfaces → src/interfaces}/userHasParentInterface.js +0 -0
  1501. /package/dist/{interfaces → src/interfaces}/userHasRoleInterface.js +0 -0
  1502. /package/dist/{interfaces → src/interfaces}/userHasRollNumberInterface.js +0 -0
  1503. /package/dist/{interfaces → src/interfaces}/userHasStorageInterface.js +0 -0
  1504. /package/dist/{interfaces → src/interfaces}/userHasSubjectFeeInterface.js +0 -0
  1505. /package/dist/{interfaces → src/interfaces}/userInstituteMetaInterface.js +0 -0
  1506. /package/dist/{interfaces → src/interfaces}/userInterface.js +0 -0
  1507. /package/dist/{interfaces → src/interfaces}/userLeaveRequestInterface.js +0 -0
  1508. /package/dist/{interfaces → src/interfaces}/userMetaInterface.js +0 -0
  1509. /package/dist/{interfaces → src/interfaces}/userPayoutDetailsInterface.js +0 -0
  1510. /package/dist/{interfaces → src/interfaces}/userPayoutHistoryInterface.js +0 -0
  1511. /package/dist/{interfaces → src/interfaces}/userPayoutInterface.js +0 -0
  1512. /package/dist/{interfaces → src/interfaces}/userProjectAssessmentOptionInterface.js +0 -0
  1513. /package/dist/{interfaces → src/interfaces}/userRequiredStepsInterface.js +0 -0
  1514. /package/dist/{interfaces → src/interfaces}/userSchoolMetaInterface.js +0 -0
  1515. /package/dist/{interfaces → src/interfaces}/vehicleInterface.js +0 -0
  1516. /package/dist/{interfaces → src/interfaces}/vendorManagementInterface.js +0 -0
  1517. /package/dist/{interfaces → src/interfaces}/videoAnalystInterface.js +0 -0
  1518. /package/dist/{interfaces → src/interfaces}/walletHistoryInterface.js +0 -0
  1519. /package/dist/{interfaces → src/interfaces}/walletInterface.js +0 -0
  1520. /package/dist/{interfaces → src/interfaces}/walletTransactionInterface.js +0 -0
  1521. /package/dist/{interfaces → src/interfaces}/workingDayInterface.js +0 -0
  1522. /package/dist/{interfaces → src/interfaces}/workingShiftInterface.js +0 -0
  1523. /package/dist/{models → src/models}/mongodb/certificatesHistoryModel.js +0 -0
  1524. /package/dist/{models → src/models}/mongodb/dailyBookModel.js +0 -0
  1525. /package/dist/{models → src/models}/mongodb/generateIdCardModel.js +0 -0
  1526. /package/dist/{models → src/models}/mongodb/index.d.ts +0 -0
  1527. /package/dist/{models → src/models}/mongodb/plugin/addDefaultAttributesPlugin.d.ts +0 -0
  1528. /package/dist/{models → src/models}/mongodb/plugin/addDefaultAttributesPlugin.js +0 -0
  1529. /package/dist/{models → src/models}/mongodb/plugin/transformIdInQueryPlugin.d.ts +0 -0
  1530. /package/dist/{models → src/models}/mongodb/plugin/transformIdInQueryPlugin.js +0 -0
  1531. /package/dist/{models → src/models}/mongodb/plugin/transformIdInResponsePlugin.d.ts +0 -0
  1532. /package/dist/{models → src/models}/mongodb/plugin/transformIdInResponsePlugin.js +0 -0
  1533. /package/dist/{models → src/models}/mongodb/userDoc.d.ts +0 -0
  1534. /package/dist/{models → src/models}/mongodb/userDoc.js +0 -0
  1535. /package/dist/{models → src/models}/mongodb/videoAnalystModel.js +0 -0
  1536. /package/dist/{models → src/models}/psql/index.d.ts +0 -0
  1537. /package/dist/{models → src/models}/psql/index.js +0 -0
  1538. /package/dist/{services → src/services}/Contracts/IMongooseCommonService.js +0 -0
  1539. /package/dist/{services → src/services}/Contracts/ISequelizeCommonService.js +0 -0
  1540. /package/dist/{types → src/types}/academicCalendarType.js +0 -0
  1541. /package/dist/{types → src/types}/accountHasReceiptDetailsType.js +0 -0
  1542. /package/dist/{types → src/types}/announcementType.js +0 -0
  1543. /package/dist/{types → src/types}/approveRequestType.js +0 -0
  1544. /package/dist/{types → src/types}/areaType.js +0 -0
  1545. /package/dist/{types → src/types}/attendanceType.js +0 -0
  1546. /package/dist/{types → src/types}/bankAccountDetailsType.js +0 -0
  1547. /package/dist/{types → src/types}/bannerType.js +0 -0
  1548. /package/dist/{types → src/types}/batchSubjectBookAssessmentType.js +0 -0
  1549. /package/dist/{types → src/types}/batchSubjectProjectAssessmentType.js +0 -0
  1550. /package/dist/{types → src/types}/batchType.js +0 -0
  1551. /package/dist/{types → src/types}/blogType.js +0 -0
  1552. /package/dist/{types → src/types}/bookAssessmentDateType.js +0 -0
  1553. /package/dist/{types → src/types}/careerType.js +0 -0
  1554. /package/dist/{types → src/types}/categoriesType.js +0 -0
  1555. /package/dist/{types → src/types}/certificatesHistoryType.js +0 -0
  1556. /package/dist/{types → src/types}/certificatesManagementType.js +0 -0
  1557. /package/dist/{types → src/types}/classRoomType.js +0 -0
  1558. /package/dist/{types → src/types}/cloudStorageType.js +0 -0
  1559. /package/dist/{types → src/types}/coinPurchaseOfferType.js +0 -0
  1560. /package/dist/{types → src/types}/commonType.d.ts +0 -0
  1561. /package/dist/{types → src/types}/commonType.js +0 -0
  1562. /package/dist/{types → src/types}/contactFeedBackType.js +0 -0
  1563. /package/dist/{types → src/types}/courseHasVisitorsType.js +0 -0
  1564. /package/dist/{types → src/types}/courseType.js +0 -0
  1565. /package/dist/{types → src/types}/dailyBookType.js +0 -0
  1566. /package/dist/{types → src/types}/dashboardManagementType.js +0 -0
  1567. /package/dist/{types → src/types}/driverType.js +0 -0
  1568. /package/dist/{types → src/types}/entityGroupType.js +0 -0
  1569. /package/dist/{types → src/types}/eventType.js +0 -0
  1570. /package/dist/{types → src/types}/examGroupType.js +0 -0
  1571. /package/dist/{types → src/types}/examHasAnswerSheetType.js +0 -0
  1572. /package/dist/{types → src/types}/examType.js +0 -0
  1573. /package/dist/{types → src/types}/facilityType.js +0 -0
  1574. /package/dist/{types → src/types}/featureActionType.js +0 -0
  1575. /package/dist/{types → src/types}/feeHistoryDetailsType.js +0 -0
  1576. /package/dist/{types → src/types}/feeHistoryType.js +0 -0
  1577. /package/dist/{types → src/types}/feeReminderSettingType.js +0 -0
  1578. /package/dist/{types → src/types}/feeReminderType.js +0 -0
  1579. /package/dist/{types → src/types}/feeReminderTypeType.js +0 -0
  1580. /package/dist/{types → src/types}/feeTypeHasTermsType.js +0 -0
  1581. /package/dist/{types → src/types}/feeTypeType.js +0 -0
  1582. /package/dist/{types → src/types}/feedBackType.js +0 -0
  1583. /package/dist/{types → src/types}/feesCollectionType.js +0 -0
  1584. /package/dist/{types → src/types}/fileStorageType.js +0 -0
  1585. /package/dist/{types → src/types}/floormanagementType.js +0 -0
  1586. /package/dist/{types → src/types}/generateIdCardType.js +0 -0
  1587. /package/dist/{types → src/types}/greetingsType.js +0 -0
  1588. /package/dist/{types → src/types}/holidayType.js +0 -0
  1589. /package/dist/{types → src/types}/homeWorkType.js +0 -0
  1590. /package/dist/{types → src/types}/informationSupportType.js +0 -0
  1591. /package/dist/{types → src/types}/inquiryType.js +0 -0
  1592. /package/dist/{types → src/types}/instituteEntityType.js +0 -0
  1593. /package/dist/{types → src/types}/instituteEntityTypeType.js +0 -0
  1594. /package/dist/{types → src/types}/instituteSubscriptionPlanType.js +0 -0
  1595. /package/dist/{types → src/types}/instituteType.js +0 -0
  1596. /package/dist/{types → src/types}/inventoryHistoryType.js +0 -0
  1597. /package/dist/{types → src/types}/inventoryType.js +0 -0
  1598. /package/dist/{types → src/types}/jobApply.js +0 -0
  1599. /package/dist/{types → src/types}/lectureHistoryType.js +0 -0
  1600. /package/dist/{types → src/types}/lectureType.js +0 -0
  1601. /package/dist/{types → src/types}/masterLeaveType.js +0 -0
  1602. /package/dist/{types → src/types}/moduleFeatureType.js +0 -0
  1603. /package/dist/{types → src/types}/moduleType.js +0 -0
  1604. /package/dist/{types → src/types}/offerType.js +0 -0
  1605. /package/dist/{types → src/types}/paymentTermsType.js +0 -0
  1606. /package/dist/{types → src/types}/pdcChequeType.js +0 -0
  1607. /package/dist/{types → src/types}/pdcHistoryType.js +0 -0
  1608. /package/dist/{types → src/types}/photosGalleryType.js +0 -0
  1609. /package/dist/{types → src/types}/plannerType.js +0 -0
  1610. /package/dist/{types → src/types}/productType.js +0 -0
  1611. /package/dist/{types → src/types}/projectAssessmentOptionType.js +0 -0
  1612. /package/dist/{types → src/types}/roleType.js +0 -0
  1613. /package/dist/{types → src/types}/rulesRegulationType.js +0 -0
  1614. /package/dist/{types → src/types}/schoolFeeCollectionType.js +0 -0
  1615. /package/dist/{types → src/types}/schoolFeeType.js +0 -0
  1616. /package/dist/{types → src/types}/schoolOfferType.js +0 -0
  1617. /package/dist/{types → src/types}/sendNotificationType.js +0 -0
  1618. /package/dist/{types → src/types}/slotType.js +0 -0
  1619. /package/dist/{types → src/types}/subCategoryType.js +0 -0
  1620. /package/dist/{types → src/types}/subjectHasFeeType.js +0 -0
  1621. /package/dist/{types → src/types}/subjectHasPayFeeHistoryType.js +0 -0
  1622. /package/dist/{types → src/types}/subjectIndexType.js +0 -0
  1623. /package/dist/{types → src/types}/subscriptionPlanType.js +0 -0
  1624. /package/dist/{types → src/types}/syllabusType.js +0 -0
  1625. /package/dist/{types → src/types}/taskManagementType.js +0 -0
  1626. /package/dist/{types → src/types}/testimonialType.js +0 -0
  1627. /package/dist/{types → src/types}/toDoType.js +0 -0
  1628. /package/dist/{types → src/types}/tripType.js +0 -0
  1629. /package/dist/{types → src/types}/typeManagementType.js +0 -0
  1630. /package/dist/{types → src/types}/uniqueNumberCounterType.js +0 -0
  1631. /package/dist/{types → src/types}/userBookAssessmentType.js +0 -0
  1632. /package/dist/{types → src/types}/userDetailsType.js +0 -0
  1633. /package/dist/{types → src/types}/userFeeTypeByAccountType.js +0 -0
  1634. /package/dist/{types → src/types}/userFeeTypeType.js +0 -0
  1635. /package/dist/{types → src/types}/userHasAnnouncementType.js +0 -0
  1636. /package/dist/{types → src/types}/userHasBatchType.js +0 -0
  1637. /package/dist/{types → src/types}/userHasCourseType.js +0 -0
  1638. /package/dist/{types → src/types}/userHasDeviceType.js +0 -0
  1639. /package/dist/{types → src/types}/userHasFeeTermsType.js +0 -0
  1640. /package/dist/{types → src/types}/userHasFileType.js +0 -0
  1641. /package/dist/{types → src/types}/userHasHomeWorkType.js +0 -0
  1642. /package/dist/{types → src/types}/userHasInventoryHistoryType.js +0 -0
  1643. /package/dist/{types → src/types}/userHasInventoryType.js +0 -0
  1644. /package/dist/{types → src/types}/userHasLeaveHistoryType.js +0 -0
  1645. /package/dist/{types → src/types}/userHasLeaveType.js +0 -0
  1646. /package/dist/{types → src/types}/userHasOffer.js +0 -0
  1647. /package/dist/{types → src/types}/userHasParentType.js +0 -0
  1648. /package/dist/{types → src/types}/userHasRoleType.js +0 -0
  1649. /package/dist/{types → src/types}/userHasRollNumberType.js +0 -0
  1650. /package/dist/{types → src/types}/userHasStorageType.js +0 -0
  1651. /package/dist/{types → src/types}/userHasSubjectFeeType.js +0 -0
  1652. /package/dist/{types → src/types}/userInstituteMetaType.js +0 -0
  1653. /package/dist/{types → src/types}/userLeaveRequestType.js +0 -0
  1654. /package/dist/{types → src/types}/userMetaType.js +0 -0
  1655. /package/dist/{types → src/types}/userPayoutDetailsType.js +0 -0
  1656. /package/dist/{types → src/types}/userPayoutHistoryType.js +0 -0
  1657. /package/dist/{types → src/types}/userPayoutType.js +0 -0
  1658. /package/dist/{types → src/types}/userProjectAssessmentOptionType.js +0 -0
  1659. /package/dist/{types → src/types}/userRequiredStepsType.js +0 -0
  1660. /package/dist/{types → src/types}/userSchoolMetaType.js +0 -0
  1661. /package/dist/{types → src/types}/userType.js +0 -0
  1662. /package/dist/{types → src/types}/vehicleType.js +0 -0
  1663. /package/dist/{types → src/types}/vendorType.js +0 -0
  1664. /package/dist/{types → src/types}/videoAnalystType.js +0 -0
  1665. /package/dist/{types → src/types}/walletHistoryType.js +0 -0
  1666. /package/dist/{types → src/types}/walletTransactionType.js +0 -0
  1667. /package/dist/{types → src/types}/walletType.js +0 -0
  1668. /package/dist/{types → src/types}/workingDayType.js +0 -0
  1669. /package/dist/{types → src/types}/workingShiftType.js +0 -0
@@ -0,0 +1,682 @@
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __importDefault = (this && this.__importDefault) || function (mod) {
36
+ return (mod && mod.__esModule) ? mod : { "default": mod };
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.getNextLetter = exports.getCityAreas = exports.generateVoucherCode = exports.verifyHmacSHA256 = exports.generateHmacSHA256 = exports.customPagination = exports.uuidIdAlternatives = exports.objectIdAlternatives = exports.enumAlternatives = exports.fromSnakeCaseToNormalText = exports.normalizeToArray = exports.capitalizeFirst = exports.parseOrderOptions = exports.isValidUUID = exports.removeFalsyValues = exports.flattenNestedStructure = exports.buildNestedStructure = exports.getParentsByChildrenId = exports.getChildrenByParentId = exports.sortArray = exports.groupByFields = exports.endOfDay = exports.generateUuidToNumber = exports.startOfDay = exports.isDateWithinRange = exports.isTimeWithinRange = exports.keyByFieldOrFields = exports.getUniqueArrayByFields = exports.generateTempPassword = exports.generateAlphaNumericCode = exports.generateOtp = exports.ensureDirectoryExists = exports.omit = exports.isValidMongoDbId = exports.pick = void 0;
40
+ exports.groupByFieldOrFields = groupByFieldOrFields;
41
+ exports.slugify = slugify;
42
+ exports.assignNonNull = assignNonNull;
43
+ exports.isUserSchoolInfoUpdate = isUserSchoolInfoUpdate;
44
+ exports.chunkArray = chunkArray;
45
+ exports.extractFromObject = extractFromObject;
46
+ /* eslint-disable @typescript-eslint/no-explicit-any */
47
+ const fs_1 = __importDefault(require("fs"));
48
+ const dateFunction = __importStar(require("date-fns"));
49
+ const app_js_1 = require("../constants/app.js");
50
+ const joi_1 = __importDefault(require("joi"));
51
+ const uuid_1 = require("uuid");
52
+ const crypto_1 = __importDefault(require("crypto"));
53
+ const sequelize_1 = require("sequelize");
54
+ const axios_1 = __importDefault(require("axios"));
55
+ const PASSWORD_REGEX = new RegExp('^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!.@#$%^&*])(?=.{8,})');
56
+ const pick = (objOrArray, keys) => {
57
+ const pickObject = (obj) => keys.reduce((acc, key) => {
58
+ if (key in obj) {
59
+ acc[key] = obj[key];
60
+ }
61
+ return acc;
62
+ }, {});
63
+ // Check if input is an array
64
+ if (Array.isArray(objOrArray)) {
65
+ return objOrArray.map(obj => pickObject(obj));
66
+ }
67
+ // Otherwise, it's a single object
68
+ return pickObject(objOrArray);
69
+ };
70
+ exports.pick = pick;
71
+ exports.isValidMongoDbId = joi_1.default.string()
72
+ .trim()
73
+ .pattern(/^[0-9a-fA-F]{24}$/)
74
+ .messages({
75
+ 'string.pattern.base': `"id" must be a valid MongoDB ObjectId`,
76
+ });
77
+ const omit = (objOrArray, keys) => {
78
+ const omitObject = (obj) => Object.keys(obj).reduce((acc, key) => {
79
+ // Check if the key is not in the list of keys to omit
80
+ if (!keys.includes(key)) {
81
+ // Assert the correct key type and assign the value
82
+ acc[key] = obj[key];
83
+ }
84
+ return acc;
85
+ }, {});
86
+ // Check if the input is an array
87
+ if (Array.isArray(objOrArray)) {
88
+ return objOrArray.map(item => omitObject(item));
89
+ }
90
+ // Otherwise, it's a single object
91
+ return omitObject(objOrArray);
92
+ };
93
+ exports.omit = omit;
94
+ const ensureDirectoryExists = (directory) => {
95
+ if (!fs_1.default.existsSync(directory)) {
96
+ fs_1.default.mkdirSync(directory, { recursive: true });
97
+ }
98
+ };
99
+ exports.ensureDirectoryExists = ensureDirectoryExists;
100
+ const generateOtp = (length = 6) => {
101
+ const digits = '0123456789';
102
+ let otp = '';
103
+ for (let i = 0; i < length; i++) {
104
+ otp += digits[Math.floor(Math.random() * 10)];
105
+ }
106
+ return otp;
107
+ };
108
+ exports.generateOtp = generateOtp;
109
+ const generateAlphaNumericCode = (length = 8) => {
110
+ const chars = {
111
+ lowercase: 'abcdefghijklmnopqrstuvwxyz',
112
+ uppercase: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
113
+ numbers: '0123456789',
114
+ };
115
+ // Ensure password contains at least one character from each required group
116
+ let password = [
117
+ chars.lowercase[Math.floor(Math.random() * chars.lowercase.length)],
118
+ chars.uppercase[Math.floor(Math.random() * chars.uppercase.length)],
119
+ chars.numbers[Math.floor(Math.random() * chars.numbers.length)],
120
+ ];
121
+ // Fill the rest of the password to reach the minimum length of 8
122
+ const allChars = chars.lowercase + chars.uppercase + chars.numbers;
123
+ while (password.length < length) {
124
+ password.push(allChars[Math.floor(Math.random() * allChars.length)]);
125
+ }
126
+ // Shuffle password array and join it as a string
127
+ password = password.sort(() => 0.5 - Math.random());
128
+ const tempPassword = password.join('');
129
+ return tempPassword;
130
+ };
131
+ exports.generateAlphaNumericCode = generateAlphaNumericCode;
132
+ const generateTempPassword = (length = 8) => {
133
+ const chars = {
134
+ lowercase: 'abcdefghijklmnopqrstuvwxyz',
135
+ uppercase: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
136
+ numbers: '0123456789',
137
+ symbols: '.@#',
138
+ };
139
+ // Ensure password contains at least one character from each required group
140
+ let password = [
141
+ chars.lowercase[Math.floor(Math.random() * chars.lowercase.length)],
142
+ chars.uppercase[Math.floor(Math.random() * chars.uppercase.length)],
143
+ chars.numbers[Math.floor(Math.random() * chars.numbers.length)],
144
+ chars.symbols[Math.floor(Math.random() * chars.symbols.length)],
145
+ ];
146
+ // Fill the rest of the password to reach the minimum length of 8
147
+ const allChars = chars.lowercase + chars.uppercase + chars.numbers + chars.symbols;
148
+ while (password.length < length) {
149
+ password.push(allChars[Math.floor(Math.random() * allChars.length)]);
150
+ }
151
+ // Shuffle password array and join it as a string
152
+ password = password.sort(() => 0.5 - Math.random());
153
+ const tempPassword = password.join('');
154
+ // Verify if the password meets the regex requirement
155
+ return PASSWORD_REGEX.test(tempPassword) ? tempPassword : (0, exports.generateTempPassword)();
156
+ };
157
+ exports.generateTempPassword = generateTempPassword;
158
+ const getUniqueArrayByFields = (array, fields) => {
159
+ const uniqueMap = new Map();
160
+ array.forEach(item => {
161
+ const key = fields.map(field => item[field]).join('-');
162
+ if (!uniqueMap.has(key)) {
163
+ uniqueMap.set(key, item);
164
+ }
165
+ });
166
+ return Array.from(uniqueMap.values());
167
+ };
168
+ exports.getUniqueArrayByFields = getUniqueArrayByFields;
169
+ const keyByFieldOrFields = (array, fields) => {
170
+ return array.reduce((result, item) => {
171
+ const key = Array.isArray(fields)
172
+ ? fields.map(field => item[field]).join('-') // Composite key for multiple fields
173
+ : item[fields]; // Single field key
174
+ result[key] = item; // Type assertion to ensure the key is string
175
+ return result;
176
+ }, {});
177
+ };
178
+ exports.keyByFieldOrFields = keyByFieldOrFields;
179
+ /**
180
+ * Groups an array of objects by a specified field or multiple fields.
181
+ *
182
+ * @param array - The array of objects to group.
183
+ * @param fields - A single field or an array of fields to group by.
184
+ * @returns An object where keys are the grouped field values and values are arrays of grouped objects.
185
+ */
186
+ function groupByFieldOrFields(array, fields) {
187
+ return array.reduce((result, item) => {
188
+ const key = Array.isArray(fields)
189
+ ? fields.map(field => item[field]).join('-') // Composite key for multiple fields
190
+ : item[fields]; // Single field key
191
+ const groupKey = String(key); // Ensuring the key is always a string
192
+ if (!result[groupKey]) {
193
+ result[groupKey] = [];
194
+ }
195
+ result[groupKey].push(item);
196
+ return result;
197
+ }, {});
198
+ }
199
+ const isTimeWithinRange = (time, rangeStart, rangeEnd) => {
200
+ const getTimeMs = (date) => date.getUTCHours() * 3600000 + date.getUTCMinutes() * 60000 + date.getUTCSeconds() * 1000 + date.getUTCMilliseconds();
201
+ const timeMs = getTimeMs(time);
202
+ const startMs = getTimeMs(rangeStart);
203
+ const endMs = getTimeMs(rangeEnd);
204
+ // If the time range does not cross midnight
205
+ if (startMs <= endMs) {
206
+ return timeMs >= startMs && timeMs <= endMs;
207
+ }
208
+ // If the time range crosses midnight
209
+ return timeMs >= startMs || timeMs <= endMs;
210
+ };
211
+ exports.isTimeWithinRange = isTimeWithinRange;
212
+ // export const isTimeWithinRange = (time: string | Date, rangeStart: string | Date, rangeEnd: string | Date): boolean => {
213
+ // const extractTime = (isoString: string) => {
214
+ // const date = parseISO(new Date(isoString).toISOString());
215
+ // return getHours(date) * 3600 + getMinutes(date) * 60 + getSeconds(date); // Convert to total seconds
216
+ // };
217
+ // const timeSeconds = extractTime(time as string);
218
+ // const startSeconds = extractTime(rangeStart as string);
219
+ // const endSeconds = extractTime(rangeEnd as string);
220
+ // return timeSeconds >= startSeconds && timeSeconds <= endSeconds;
221
+ // };
222
+ const isDateWithinRange = (date, rangeStart, rangeEnd) => {
223
+ const dateValue = new Date(date).getTime();
224
+ const startValue = new Date(rangeStart).getTime();
225
+ const endValue = new Date(rangeEnd).getTime();
226
+ return dateValue >= startValue && dateValue <= endValue;
227
+ };
228
+ exports.isDateWithinRange = isDateWithinRange;
229
+ const startOfDay = (date) => {
230
+ return dateFunction.startOfDay(dateFunction.parseISO(new Date(date).toISOString()));
231
+ };
232
+ exports.startOfDay = startOfDay;
233
+ const generateUuidToNumber = (uuid) => {
234
+ if (!uuid)
235
+ uuid = (0, uuid_1.v4)();
236
+ // Remove dashes from the UUID
237
+ let numericId = uuid.replace(/-/g, '');
238
+ // Convert hex characters to numbers (keeping only digits)
239
+ numericId = BigInt('0x' + numericId).toString();
240
+ return numericId;
241
+ };
242
+ exports.generateUuidToNumber = generateUuidToNumber;
243
+ const endOfDay = (date) => {
244
+ return dateFunction.endOfDay(dateFunction.parseISO(new Date(date).toISOString()));
245
+ };
246
+ exports.endOfDay = endOfDay;
247
+ const groupByFields = (array, fields) => {
248
+ const groupedObject = {};
249
+ array.forEach(item => {
250
+ // Normalize `fields` to always be an array
251
+ const fieldArray = Array.isArray(fields) ? fields : [fields];
252
+ // Create a key based on the specified fields
253
+ const key = fieldArray.map(field => item[field]).join('-');
254
+ // If the key doesn't exist, initialize it with an empty array
255
+ if (!groupedObject[key]) {
256
+ groupedObject[key] = [];
257
+ }
258
+ // Add the current item to the corresponding group
259
+ groupedObject[key].push(item);
260
+ });
261
+ return groupedObject;
262
+ };
263
+ exports.groupByFields = groupByFields;
264
+ /**
265
+ * Sorts an array of objects based on specified fields and order.
266
+ *
267
+ * @param array - The array to be sorted.
268
+ * @param fields - A single sort field or an array of sort fields.
269
+ * @returns A new sorted array.
270
+ */
271
+ const sortArray = (array, fields) => {
272
+ const fieldArray = Array.isArray(fields) ? fields : [fields]; // Normalize to an array
273
+ return [...array].sort((a, b) => {
274
+ for (const { key, order = 'asc' } of fieldArray) {
275
+ const valueA = a[key];
276
+ const valueB = b[key];
277
+ // Handle undefined or null values safely
278
+ if (valueA == null && valueB == null)
279
+ continue;
280
+ if (valueA == null)
281
+ return order === 'asc' ? 1 : -1;
282
+ if (valueB == null)
283
+ return order === 'asc' ? -1 : 1;
284
+ // Compare values (handling numbers and strings properly)
285
+ const comparison = typeof valueA === 'string' && typeof valueB === 'string' ? valueA.localeCompare(valueB) : valueA > valueB ? 1 : -1;
286
+ if (comparison !== 0)
287
+ return order === 'asc' ? comparison : -comparison;
288
+ }
289
+ return 0; // All fields are equal
290
+ });
291
+ };
292
+ exports.sortArray = sortArray;
293
+ /**
294
+ * Gets all nested children for a given parent ID.
295
+ *
296
+ * @param array - Array of nodes representing the flat hierarchy.
297
+ * @param parentIds - The ID of the parent node.
298
+ * @param parentIdKey - The key used to reference the parent ID.
299
+ * @returns A flattened list of all children.
300
+ */
301
+ const getChildrenByParentId = (array, parentIds, parentIdKey) => {
302
+ const parentIdList = Array.isArray(parentIds) ? parentIds : [parentIds]; // Normalize parentIds to an array
303
+ const result = array.filter(one => parentIds.includes(one.id));
304
+ //all id list that are included in result array
305
+ const includedIds = [...parentIdList];
306
+ /**
307
+ * Recursively collects all children for the given parent IDs.
308
+ *
309
+ * @param currentParentIds - The current parent IDs being processed.
310
+ */
311
+ const collectChildren = (currentParentIds) => {
312
+ for (const node of array) {
313
+ if (currentParentIds.includes(node[parentIdKey])) {
314
+ if (!includedIds.includes(node.id)) {
315
+ result.push(node);
316
+ includedIds.push(node.id);
317
+ }
318
+ collectChildren([node.id]); // Recursively collect children of this node
319
+ }
320
+ }
321
+ };
322
+ collectChildren(parentIdList); // Start collecting from the given parent IDs
323
+ return result;
324
+ };
325
+ exports.getChildrenByParentId = getChildrenByParentId;
326
+ /**
327
+ * Gets all nested children for a given parent ID.
328
+ *
329
+ * @param array - Array of nodes representing the flat hierarchy.
330
+ * @param childIds - The ID of the parent node.
331
+ * @param parentIdKey - The key used to reference the parent ID..
332
+ * @returns A flattened list of all parents.
333
+ */
334
+ const getParentsByChildrenId = (array, childIds, parentIdKey) => {
335
+ const childIdList = Array.isArray(childIds) ? childIds : [childIds]; // Normalize childIds to an array
336
+ const result = [];
337
+ const includedIds = new Set(); // Track included IDs to avoid duplicates
338
+ /**
339
+ * Recursively collects all parent nodes for the given child IDs.
340
+ *
341
+ * @param currentChildIds - The current child IDs being processed.
342
+ */
343
+ const collectParents = (currentChildIds) => {
344
+ for (const childId of currentChildIds) {
345
+ const childNode = array.find(node => node.id === childId);
346
+ if (childNode && !includedIds.has(childNode.id)) {
347
+ result.push(childNode); // Add the current child node to the result
348
+ includedIds.add(childNode.id);
349
+ // Recursively find parents if `parentIdKey` exists
350
+ if (childNode[parentIdKey]) {
351
+ collectParents([childNode[parentIdKey]]);
352
+ }
353
+ }
354
+ }
355
+ };
356
+ collectParents(childIdList); // Start collecting from the provided child IDs
357
+ return result;
358
+ };
359
+ exports.getParentsByChildrenId = getParentsByChildrenId;
360
+ /**
361
+ * Builds a nested structure from a flat array of items based on a parent-child relationship.
362
+ *
363
+ * @param items - The array of items that need to be organized.
364
+ * @param parentIdKey - The key that refers to the parent ID in each item.
365
+ * @param nestedListKey - The key that will store the nested child items for each parent.
366
+ *
367
+ * @returns An array of root-level items, each containing its nested children in the `nestedListKey`.
368
+ */
369
+ const buildNestedStructure = (items, parentIdKey, nestedListKey) => {
370
+ // Clone the items to avoid modifying the original array
371
+ const clonedItems = JSON.parse(JSON.stringify(items));
372
+ const map = new Map(); // Map to associate items by their `id`
373
+ const roots = []; // Array to hold root-level items
374
+ const orphans = []; // Array to hold orphaned items
375
+ // Populate the map and initialize the nested list
376
+ clonedItems.forEach((item) => {
377
+ map.set(item.id, item);
378
+ item[nestedListKey] = []; // Initialize children array
379
+ });
380
+ // Build the nested structure
381
+ clonedItems.forEach((item) => {
382
+ const parentId = item[parentIdKey];
383
+ if (!parentId) {
384
+ // Root-level item (no parentId)
385
+ roots.push(item);
386
+ }
387
+ else {
388
+ // Find parent and add this item as a child
389
+ const parent = map.get(parentId);
390
+ if (parent) {
391
+ parent[nestedListKey].push(item);
392
+ }
393
+ else {
394
+ orphans.push(item); // Add to orphaned items if parent is missing
395
+ }
396
+ }
397
+ });
398
+ // Append orphaned items to the roots array or process them differently if required
399
+ if (orphans.length > 0) {
400
+ roots.push(...orphans); // Add orphaned items to the roots array
401
+ }
402
+ return roots; // Return the root-level items, each containing its nested children
403
+ };
404
+ exports.buildNestedStructure = buildNestedStructure;
405
+ /**
406
+ * Flattens a nested structure into a flat array while preserving the parent-child relationship.
407
+ *
408
+ * @param items - The nested array of items to be flattened.
409
+ * @param parentIdKey - The key that will store the parent ID in each flattened item.
410
+ * @param nestedListKey - The key that contains the nested child items.
411
+ *
412
+ * @returns A flat array of items, each containing a reference to its parent ID.
413
+ */
414
+ const flattenNestedStructure = (items, parentIdKey, nestedListKey) => {
415
+ const flatArray = [];
416
+ const processItems = (items, parentId) => {
417
+ items.forEach(item => {
418
+ // Create a shallow copy without the nested list key
419
+ const { [nestedListKey]: children, ...rest } = item;
420
+ // Assign the parent ID
421
+ const flattenedItem = { ...rest, [parentIdKey]: parentId };
422
+ flatArray.push(flattenedItem);
423
+ // Recursively process children if they exist
424
+ if (Array.isArray(children) && children.length > 0) {
425
+ processItems(children, String(item.id));
426
+ }
427
+ });
428
+ };
429
+ processItems(items);
430
+ return flatArray;
431
+ };
432
+ exports.flattenNestedStructure = flattenNestedStructure;
433
+ /**
434
+ * Removes all falsy values from an object.
435
+ *
436
+ * A falsy value in JavaScript/TypeScript includes:
437
+ * - false
438
+ * - 0 (zero)
439
+ * - "" (empty string)
440
+ * - null
441
+ * - undefined
442
+ * - NaN (Not-a-Number)
443
+ *
444
+ * This function iterates through the object's properties and removes any key-value pairs
445
+ * where the value is falsy. Only truthy values remain in the final object.
446
+ *
447
+ * @param obj - The input object containing key-value pairs.
448
+ * @returns A new object with all falsy values removed.
449
+ *
450
+ * @example
451
+ * const data = {
452
+ * name: "Alice",
453
+ * age: 25,
454
+ * isAdmin: false,
455
+ * score: 0,
456
+ * city: "",
457
+ * country: "USA",
458
+ * email: null,
459
+ * phone: undefined,
460
+ * balance: NaN,
461
+ * };
462
+ *
463
+ * const cleanedData = removeFalsyValues(data);
464
+ * console.log(cleanedData);
465
+ * // Output: { name: 'Alice', age: 25, country: 'USA' }
466
+ */
467
+ const removeFalsyValues = (obj) => {
468
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
469
+ return Object.fromEntries(Object.entries(obj).filter(([_, value]) => Boolean(value)));
470
+ };
471
+ exports.removeFalsyValues = removeFalsyValues;
472
+ const isValidUUID = (id, expectedVersion) => {
473
+ if (!(0, uuid_1.validate)(id))
474
+ return false;
475
+ if (expectedVersion && (0, uuid_1.version)(id) !== expectedVersion)
476
+ return false;
477
+ return true;
478
+ };
479
+ exports.isValidUUID = isValidUUID;
480
+ /**
481
+ * Parses ordering input and returns Sequelize-compatible order array.
482
+ *
483
+ * @param inputOrder - Array like [["columnName", "ASC"], ...]
484
+ * @param defaultOrder - Fallback or additional default order (e.g. [['createdAt', 'DESC']])
485
+ */
486
+ const parseOrderOptions = (inputOrder, defaultOrder = [['createdAt', 'DESC']]) => {
487
+ const order = [];
488
+ if (Array.isArray(inputOrder)) {
489
+ for (const item of inputOrder) {
490
+ if (Array.isArray(item) && item.length === 2) {
491
+ const [column, direction] = item;
492
+ if (typeof column === 'string' && typeof direction === 'string' && ['ASC', 'DESC'].includes(direction.toUpperCase())) {
493
+ // const normalizedColumn = toSnakeCase(column);
494
+ // order.push([Sequelize.literal(`"${normalizedColumn}"`), direction.toUpperCase()]);
495
+ // order.push([Sequelize.literal(`"${column}"`), direction.toUpperCase()]);
496
+ order.push([sequelize_1.Sequelize.literal(`"${column}"`), direction.toUpperCase()]);
497
+ }
498
+ }
499
+ }
500
+ }
501
+ // Ensure defaultOrder is always applied at the end if not already present
502
+ const defaultKey = JSON.stringify(defaultOrder[0]);
503
+ const hasDefault = order.some(o => JSON.stringify(o) === defaultKey);
504
+ if (!hasDefault) {
505
+ order.push(...defaultOrder);
506
+ }
507
+ return order;
508
+ };
509
+ exports.parseOrderOptions = parseOrderOptions;
510
+ const capitalizeFirst = (str) => str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
511
+ exports.capitalizeFirst = capitalizeFirst;
512
+ const normalizeToArray = (value) => value ? (Array.isArray(value) ? value : [value]) : undefined;
513
+ exports.normalizeToArray = normalizeToArray;
514
+ /**
515
+ * Converts a snake_case string to Normal Text
516
+ * @param {string} input - The snake_case string
517
+ * @returns {string} - The converted Normal Text
518
+ */
519
+ const fromSnakeCaseToNormalText = (input) => {
520
+ if (typeof input !== 'string')
521
+ return '';
522
+ return input
523
+ .toLowerCase()
524
+ .split('_')
525
+ .map(word => word.charAt(0).toUpperCase() + word.slice(1))
526
+ .join(' ');
527
+ };
528
+ exports.fromSnakeCaseToNormalText = fromSnakeCaseToNormalText;
529
+ function slugify(text) {
530
+ return text
531
+ .toLowerCase()
532
+ .trim()
533
+ .replace(/[^a-z0-9\s-]/g, '')
534
+ .replace(/\s+/g, '-')
535
+ .replace(/-+/g, '-');
536
+ }
537
+ function assignNonNull(target, source) {
538
+ Object.entries(source).forEach(([key, value]) => {
539
+ if (value !== null && value !== undefined) {
540
+ target[key] = value;
541
+ }
542
+ });
543
+ }
544
+ function isUserSchoolInfoUpdate(institute, reqUser) {
545
+ return (!!(institute.type || institute.subType) &&
546
+ (reqUser.isAddDetails || reqUser.type === app_js_1.USER_TYPES.INSTITUTE_MASTER_ADMIN || reqUser.type === app_js_1.USER_TYPES.INSTITUTE_ADMIN));
547
+ }
548
+ function chunkArray(array, size) {
549
+ const chunks = [];
550
+ for (let i = 0; i < array.length; i += size) {
551
+ chunks.push(array.slice(i, i + size));
552
+ }
553
+ return chunks;
554
+ }
555
+ /**
556
+ * Safely gets a nested value from an object using a dot-separated path.
557
+ */
558
+ function getNestedValue(obj, path) {
559
+ return path.split('.').reduce((acc, part) => (acc && acc[part] !== undefined ? acc[part] : '-'), obj);
560
+ }
561
+ /**
562
+ * Prepares userdata for EJS template based on dynamic columns config.
563
+ * @param data Array of objects
564
+ * @param columnsConfig Array of columns with { title, field }
565
+ * @returns { userdata: any[], columns: string[] }
566
+ */
567
+ function extractFromObject(data, config) {
568
+ const columns = config.columns.map(col => col.title);
569
+ const userdata = data.map(item => {
570
+ const row = {};
571
+ config.columns.forEach(col => {
572
+ row[col.title] = getNestedValue(item, col.field);
573
+ });
574
+ return row;
575
+ });
576
+ return { tableTitle: config.tableTitle, userdata, columns };
577
+ }
578
+ const enumAlternatives = (enumObj, isRequired = false, allowArray = true) => {
579
+ const base = joi_1.default.string().valid(...Object.values(enumObj));
580
+ if (allowArray) {
581
+ const alt = joi_1.default.alternatives().try(base, joi_1.default.array().items(base));
582
+ return isRequired ? alt.required() : alt.optional();
583
+ }
584
+ return isRequired ? base.required() : base.optional();
585
+ };
586
+ exports.enumAlternatives = enumAlternatives;
587
+ const objectIdAlternatives = (isRequired = false, allowArray = true) => {
588
+ const base = joi_1.default.string()
589
+ .pattern(/^[0-9a-fA-F]{24}$/)
590
+ .message('Invalid ObjectId format');
591
+ if (allowArray) {
592
+ const alt = joi_1.default.alternatives().try(base, joi_1.default.array().items(base));
593
+ return isRequired ? alt.required() : alt.optional();
594
+ }
595
+ };
596
+ exports.objectIdAlternatives = objectIdAlternatives;
597
+ const uuidIdAlternatives = (isRequired = false, allowArray = true) => {
598
+ const base = joi_1.default.string().uuid().message('Invalid Uuid format');
599
+ if (allowArray) {
600
+ const alt = joi_1.default.alternatives().try(base, joi_1.default.array().items(base));
601
+ return isRequired ? alt.required() : alt.optional();
602
+ }
603
+ };
604
+ exports.uuidIdAlternatives = uuidIdAlternatives;
605
+ const customPagination = async (data, page, limit, totalRecords) => {
606
+ page = Math.max(1, page || app_js_1.PAGINATION.PAGE);
607
+ limit = Math.max(1, limit || app_js_1.PAGINATION.LIMIT);
608
+ const startIndex = (page - 1) * limit;
609
+ const endIndex = page * limit;
610
+ const paginatedData = data.slice(startIndex, endIndex);
611
+ const totalPages = Math.ceil(totalRecords / limit);
612
+ const currentPage = page;
613
+ const hasPreviousPage = page > 1;
614
+ const hasNextPage = page < totalPages;
615
+ const recordList = paginatedData;
616
+ const paginatedDataWithPagination = {
617
+ limit,
618
+ totalRecords,
619
+ totalPages,
620
+ hasPreviousPage,
621
+ currentPage,
622
+ hasNextPage,
623
+ recordList,
624
+ };
625
+ return paginatedDataWithPagination;
626
+ };
627
+ exports.customPagination = customPagination;
628
+ const generateHmacSHA256 = (data, secret) => {
629
+ return crypto_1.default.createHmac('sha256', secret).update(data).digest('hex');
630
+ };
631
+ exports.generateHmacSHA256 = generateHmacSHA256;
632
+ const verifyHmacSHA256 = (data, secret, signature) => {
633
+ const generated = (0, exports.generateHmacSHA256)(data, secret);
634
+ return generated === signature;
635
+ };
636
+ exports.verifyHmacSHA256 = verifyHmacSHA256;
637
+ const generateVoucherCode = (format = 'XXXX-XXXX-XXXX-XXXX') => {
638
+ const generateSegment = (length) => {
639
+ return crypto_1.default.randomBytes(length).toString('hex').toUpperCase().slice(0, length);
640
+ };
641
+ return format
642
+ .split('-')
643
+ .map(part => generateSegment(part.length))
644
+ .join('-');
645
+ };
646
+ exports.generateVoucherCode = generateVoucherCode;
647
+ const getCityAreas = async (cityName = '') => {
648
+ if (!cityName)
649
+ throw new Error('City name is required.');
650
+ const query = `
651
+ [out:json];
652
+ area["name"="${cityName}"]["boundary"="administrative"]->.searchArea;
653
+ (
654
+ node["place"~"suburb|neighbourhood"](area.searchArea);
655
+ way["place"~"suburb|neighbourhood"](area.searchArea);
656
+ relation["place"~"suburb|neighbourhood"](area.searchArea);
657
+ );
658
+ out body;
659
+ >;
660
+ out skel qt;
661
+ `;
662
+ const url = 'https://overpass-api.de/api/interpreter';
663
+ try {
664
+ const response = await axios_1.default.post(url, `data=${encodeURIComponent(query)}`, {
665
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
666
+ });
667
+ const elements = response.data.elements;
668
+ const areas = elements.filter((el) => el.tags && el.tags.name).map((el) => el.tags.name.trim());
669
+ return [...new Set(areas)]; // Remove duplicates
670
+ // return [...new Set(areas)]; // Remove duplicates
671
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
672
+ }
673
+ catch (error) {
674
+ return [];
675
+ }
676
+ };
677
+ exports.getCityAreas = getCityAreas;
678
+ const getNextLetter = (current) => {
679
+ const code = current.charCodeAt(0);
680
+ return code >= 90 ? 'A' : String.fromCharCode(code + 1);
681
+ };
682
+ exports.getNextLetter = getNextLetter;