@kipicore/dbcore 1.1.0 → 1.1.2

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