@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.
- package/dist/configs/aws.js +12 -0
- package/dist/configs/env.js +83 -0
- package/dist/configs/postgresConfig.js +32 -0
- package/dist/constants/app.js +1073 -0
- package/dist/constants/defaultModelAttributes.js +21 -0
- package/dist/constants/errorMessages.js +1166 -0
- package/dist/constants/httpStatusCode.js +30 -0
- package/dist/constants/successMessages.js +813 -0
- package/dist/db/mongodb.js +24 -0
- package/dist/db/postgres.js +17 -0
- package/dist/db/psql/index.js +105 -0
- package/dist/db/psql/migrations/20241225101052-add-deleted-by-and-deleted-at-fields.js +71 -0
- package/dist/db/psql/migrations/20250106070945-add-user-fields-and-deleted-user-fields.js +33 -0
- package/dist/db/psql/migrations/20250106080059-add-fields-and-deleted-fields.js +94 -0
- package/dist/db/psql/migrations/20250108092439-update-batch-model-fields.js +38 -0
- package/dist/db/psql/migrations/20250210102846-add-profileImage-coverImage-to-users.js +102 -0
- package/dist/db/psql/migrations/20250211071743-add-action-user-has-histroy.js +76 -0
- package/dist/db/psql/migrations/20250213140815-add-assignQuantity-user-has-histroy.js +80 -0
- package/dist/db/psql/migrations/20250214072626-add-middlename-user.js +80 -0
- package/dist/db/psql/migrations/20250224085333-add-apptype-in-user.js +78 -0
- package/dist/db/psql/migrations/20250226053006-add-brouchure-in-institute.js +80 -0
- package/dist/db/psql/migrations/20250227123530-add-defult-in-fee-reminder.js +78 -0
- package/dist/db/psql/migrations/20250304052831-add-institued-in-school-data-clm.js +112 -0
- package/dist/db/psql/migrations/20250306053557-add-shifyId-in-batch.js +86 -0
- package/dist/db/psql/migrations/20250311044606-add-institued-in-school-data-clm-subtype.js +43 -0
- package/dist/db/psql/migrations/20250402090653-add-user-area.js +94 -0
- package/dist/db/psql/migrations/20250407094125-update-type-in-typeManagement.js +64 -0
- package/dist/db/psql/migrations/20250409105229-add-user-type-in-role.js +55 -0
- package/dist/db/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.js +16 -0
- package/dist/db/psql/migrations/20250419071236-fee_histroy_add_school_clm.js +134 -0
- package/dist/db/psql/migrations/20250419085334-fee_histroy_add_school_clm.js +86 -0
- package/dist/db/psql/migrations/20250421085618-add-entityIds-field-in-announcements.js +81 -0
- package/dist/db/psql/migrations/20250422114032-add-account.js +86 -0
- package/dist/db/psql/migrations/20250423051841-add-master-leave-clm.js +71 -0
- package/dist/db/psql/migrations/20250423064522-update-calender-enum.js +34 -0
- package/dist/db/psql/migrations/20250423093827-update-institued-district.js +78 -0
- package/dist/db/psql/migrations/20250424044755-update-fee-history-feeTyps-clm.js +34 -0
- package/dist/db/psql/migrations/20250424053841-update-fee-history-key.js +35 -0
- package/dist/db/psql/migrations/20250426070309-update-banner-clm-userType.js +55 -0
- package/dist/db/psql/migrations/20250505035157-update-fee-collection-clm-add.js +86 -0
- package/dist/db/psql/migrations/20250505082924-update-banner-clm.js +18 -0
- package/dist/db/psql/migrations/20250505094616-about-as-clm-in-institued.js +16 -0
- package/dist/db/psql/migrations/20250506070110-add-dayOfWeek-clm-in-working-model.js +80 -0
- package/dist/db/psql/migrations/20250509055920-add-feecollection-isleft-clm.js +80 -0
- package/dist/db/psql/migrations/20250513061037-add-techer-clm-batch.js +88 -0
- package/dist/db/psql/migrations/20250514101801-add-slotId-workingShif.js +86 -0
- package/dist/db/psql/migrations/20250516062917-add-globalId-clm-user-model.js +80 -0
- package/dist/db/psql/migrations/20250516063542-add-globalId-clm-institute-model.js +80 -0
- package/dist/db/psql/migrations/20250520061231-add-institued_mobile_person_data.js +116 -0
- package/dist/db/psql/migrations/20250522044729-add-institued_update_add_2.js +16 -0
- package/dist/db/psql/migrations/20250526035543-add-totalQuantity_add_remainingQuantiy_clm_userHasInventoryHistory.js +98 -0
- package/dist/db/psql/migrations/20250526093322-add-appType_clm_in_module.js +80 -0
- package/dist/db/psql/migrations/20250526094030-add-appType_clm_in_action.js +80 -0
- package/dist/db/psql/migrations/20250526094233-add-appType_clm_in_module_features.js +80 -0
- package/dist/db/psql/migrations/20250527065001-add-app-type-in-role-model.js +57 -0
- package/dist/db/psql/migrations/20250528045906-add-module-type-to-notifications.js +13 -0
- package/dist/db/psql/migrations/20250602090331-add-or-update-user-model-medicalHistory.js +107 -0
- package/dist/db/psql/migrations/20250602100550-add-planner-sync-status-to-institute.js +113 -0
- package/dist/db/psql/migrations/20250603054900-add-clm-for-defult-data-add-or-not-in-ins-model.js +80 -0
- package/dist/db/psql/migrations/20250604103905-add-is-institute-default-field-in-role.js +57 -0
- package/dist/db/psql/migrations/20250604121051-update-mobile-number-opstion.js +15 -0
- package/dist/db/psql/migrations/20250617064159-update-type-management-jun-17.js +11 -0
- package/dist/db/psql/migrations/20250627065013-is-institute-default-added-type-managemente.js +12 -0
- package/dist/db/psql/migrations/20250701095321-add-clm-institute-pdfId.js +57 -0
- package/dist/db/psql/migrations/20250704102117-add-clm-isDefult-in-typeManagemet.js +12 -0
- package/dist/db/psql/migrations/20250715103324-add-academic-calendar-id-to-batches.js +13 -0
- package/dist/db/psql/migrations/20250715121047-remove-batch-id-from-academic-calendars.js +12 -0
- package/dist/db/psql/migrations/20250716131731-rename-user-id-to-primary-user-id.js +9 -0
- package/dist/db/psql/migrations/20250717092933-add-floor-id-to-class-rooms.js +86 -0
- package/dist/db/psql/migrations/20250718121251-add-clm-classroom-typeid.js +86 -0
- package/dist/db/psql/migrations/20250721065317-add-instituteId-fileSize-to-fileStorage.js +22 -0
- package/dist/db/psql/migrations/20250721100004-add-shift-slot-id-to-lectures.js +17 -0
- package/dist/db/psql/migrations/20250721105455-add-clm-classroom-add-classroomnumber.js +78 -0
- package/dist/db/psql/migrations/20250722071836-add-title-to-floor-management.js +14 -0
- package/dist/db/psql/migrations/20250723150111-add-clm-batch-slotId.js +86 -0
- package/dist/db/psql/migrations/20250724062458-update_classRoom_number_clm_to_string.js +15 -0
- package/dist/db/psql/migrations/20250725132424-add-unique-index-on-instituteId-name-type.js +24 -0
- package/dist/db/psql/migrations/20250730104844-update-unique-key-assessment-type.js +30 -0
- package/dist/db/psql/migrations/20250804090437-update_ins_in_pdf_id_string_to_uuid.js +62 -0
- package/dist/db/psql/migrations/20250805062440-remove_unique_key_into_batch_subject_project_assessments.js +21 -0
- package/dist/db/psql/migrations/20250805115805-add-descriptions-to-lectures.js +12 -0
- package/dist/db/psql/migrations/20250808100700-add_clm_contectFeed_in_ins_givenId.js +86 -0
- package/dist/db/psql/migrations/20250808101515-add-sequence-to-institute_entities.js +12 -0
- package/dist/db/psql/migrations/20250812080521-add-title-and-descriptions-to-batch-subject-project-assessments.js +17 -0
- package/dist/db/psql/migrations/20250820092836-add-sequence-number-to-institute-entities.js +15 -0
- package/dist/db/psql/migrations/20250829103203-remove-syllabus-composit-index.js +15 -0
- package/dist/db/psql/migrations/20250905132024-add-uuid-to-users.js +12 -0
- package/dist/db/psql/migrations/20250908054025-userHasOffer_model_update.js +112 -0
- package/dist/db/psql/migrations/20250908054754-offer_in_add_offertype_clm.js +70 -0
- package/dist/db/psql/migrations/20250909061117-add-instituteId-isDefault-to-entityGroup.js +17 -0
- package/dist/db/psql/migrations/20250911060106-change-wallet-history-columns-to-float.js +39 -0
- package/dist/db/psql/migrations/20250911060245-change-coin-to-float-in-wallets.js +17 -0
- package/dist/db/psql/migrations/20250917135646-change-storageInBytes-to-float.js +17 -0
- package/dist/db/psql/seeders/20240809100759-add-countries-states-cities.js +64 -0
- package/dist/db/psql/seeders/20250101122757-add-default-permissions-modules.js +159 -0
- package/dist/db/psql/seeders/Data/AcademicCalendarModule.js +24 -0
- package/dist/db/psql/seeders/Data/AdministrativeStaffModule.js +38 -0
- package/dist/db/psql/seeders/Data/AnnouncementsModule.js +50 -0
- package/dist/db/psql/seeders/Data/AssetsModule.js +37 -0
- package/dist/db/psql/seeders/Data/AttendanceModule.js +57 -0
- package/dist/db/psql/seeders/Data/BannerModule.js +24 -0
- package/dist/db/psql/seeders/Data/BatchModule.js +34 -0
- package/dist/db/psql/seeders/Data/BoardModule .js +18 -0
- package/dist/db/psql/seeders/Data/BookAssessmentsModule.js +23 -0
- package/dist/db/psql/seeders/Data/CategoriesModule.js +18 -0
- package/dist/db/psql/seeders/Data/ClassroomModule.js +37 -0
- package/dist/db/psql/seeders/Data/DivisionModule.js +25 -0
- package/dist/db/psql/seeders/Data/EventModule.js +22 -0
- package/dist/db/psql/seeders/Data/ExamsAndResultsModule.js +113 -0
- package/dist/db/psql/seeders/Data/FacilityModule.js +22 -0
- package/dist/db/psql/seeders/Data/FeeAndDiscountModule.js +239 -0
- package/dist/db/psql/seeders/Data/FeedBackModule.js +27 -0
- package/dist/db/psql/seeders/Data/FileModule.js +38 -0
- package/dist/db/psql/seeders/Data/GenerateIdModule.js +19 -0
- package/dist/db/psql/seeders/Data/HolidayModule.js +22 -0
- package/dist/db/psql/seeders/Data/HomeworkModule.js +42 -0
- package/dist/db/psql/seeders/Data/IndexModule.js +97 -0
- package/dist/db/psql/seeders/Data/InquiryModule.js +22 -0
- package/dist/db/psql/seeders/Data/InstituteModule.js +63 -0
- package/dist/db/psql/seeders/Data/InventoryModule.js +42 -0
- package/dist/db/psql/seeders/Data/JobApplyModule.js +22 -0
- package/dist/db/psql/seeders/Data/LectureModule.js +28 -0
- package/dist/db/psql/seeders/Data/ParentModule.js +38 -0
- package/dist/db/psql/seeders/Data/PayoutModule.js +18 -0
- package/dist/db/psql/seeders/Data/PdcChequesModule.js +27 -0
- package/dist/db/psql/seeders/Data/PhotosGalleryModule.js +27 -0
- package/dist/db/psql/seeders/Data/PlannerModule.js +18 -0
- package/dist/db/psql/seeders/Data/ProjectAssessmentsModule.js +23 -0
- package/dist/db/psql/seeders/Data/ReplaceTeacherModule.js +22 -0
- package/dist/db/psql/seeders/Data/RoleModule.js +53 -0
- package/dist/db/psql/seeders/Data/RollNumberModule.js +22 -0
- package/dist/db/psql/seeders/Data/SchoolFeeModule.js +38 -0
- package/dist/db/psql/seeders/Data/SchoolModule.js +63 -0
- package/dist/db/psql/seeders/Data/SchoolRegistration.js +22 -0
- package/dist/db/psql/seeders/Data/SettingsModule.js +28 -0
- package/dist/db/psql/seeders/Data/StaffTimingModule.js +22 -0
- package/dist/db/psql/seeders/Data/StudentModule.js +18 -0
- package/dist/db/psql/seeders/Data/SubjectModule.js +37 -0
- package/dist/db/psql/seeders/Data/SyllabusManagementModule.js +25 -0
- package/dist/db/psql/seeders/Data/TeacherModule.js +68 -0
- package/dist/db/psql/seeders/Data/TestimonialsModule.js +27 -0
- package/dist/db/psql/seeders/Data/TimetableModule.js +43 -0
- package/dist/db/psql/seeders/Data/To-doModule.js +27 -0
- package/dist/db/psql/seeders/Data/TypeManagementModule.js +28 -0
- package/dist/db/psql/seeders/Data/UserModule.js +266 -0
- package/dist/db/psql/seeders/Data/appType.js +8 -0
- package/dist/helpers/s3Uploader.js +61 -0
- package/dist/helpers/utils.js +682 -0
- package/dist/index.d.ts +415 -0
- package/dist/index.js +431 -0
- package/dist/interfaces/academicCalendarInterface.js +2 -0
- package/dist/interfaces/accountHasReceiptDetailsInterface.js +2 -0
- package/dist/interfaces/announcementInterface.js +2 -0
- package/dist/interfaces/approvalRequestInterface.js +2 -0
- package/dist/interfaces/areaInterface.js +2 -0
- package/dist/interfaces/attendanceInterface.js +2 -0
- package/dist/interfaces/bankAccountDetailsInterface.js +2 -0
- package/dist/interfaces/bannerInterface.js +2 -0
- package/dist/interfaces/batchInterface.js +2 -0
- package/dist/interfaces/batchSubjectBookAssessmentInterface.js +2 -0
- package/dist/interfaces/batchSubjectProjectAssessmentInterface.js +2 -0
- package/dist/interfaces/blogInterface.js +2 -0
- package/dist/interfaces/bookAssessmentDateInterface.js +2 -0
- package/dist/interfaces/careerInterface.js +2 -0
- package/dist/interfaces/categoriesInterface.js +2 -0
- package/dist/interfaces/certificatesHistoryInterface.js +2 -0
- package/dist/interfaces/certificatesManagementInterface.js +2 -0
- package/dist/interfaces/cityInterface.js +2 -0
- package/dist/interfaces/classRoomInterface.js +2 -0
- package/dist/interfaces/cloudStorageInterface.js +2 -0
- package/dist/interfaces/coinPurchaseOfferInterface.js +2 -0
- package/dist/interfaces/columnInterface.js +2 -0
- package/dist/interfaces/commanInterface.js +2 -0
- package/dist/interfaces/contactFeedBackInterface.js +2 -0
- package/dist/interfaces/countryInterface.js +2 -0
- package/dist/interfaces/courseHasVisitorsInterface.js +2 -0
- package/dist/interfaces/courseInterface.js +2 -0
- package/dist/interfaces/dailyBookInterface.js +2 -0
- package/dist/interfaces/dashboardManagementInterface.js +2 -0
- package/dist/interfaces/driverInterface.js +2 -0
- package/dist/interfaces/entityGroupInterface.js +2 -0
- package/dist/interfaces/eventInterface.js +2 -0
- package/dist/interfaces/examGroupInterface.js +2 -0
- package/dist/interfaces/examHasAnswerSheetInterface.js +2 -0
- package/dist/interfaces/examInterface.js +2 -0
- package/dist/interfaces/facilityInterface.js +2 -0
- package/dist/interfaces/featureActionInterface.js +2 -0
- package/dist/interfaces/feeHistoryDetailsInterface.js +2 -0
- package/dist/interfaces/feeHistoryInterface.js +2 -0
- package/dist/interfaces/feeReminderInterface.js +2 -0
- package/dist/interfaces/feeReminderSettingInterface.js +2 -0
- package/dist/interfaces/feeReminderTypeInterface.js +2 -0
- package/dist/interfaces/feeTypeHasTermsInterface.js +2 -0
- package/dist/interfaces/feeTypeInterface.js +2 -0
- package/dist/interfaces/feedBackInterface.js +2 -0
- package/dist/interfaces/feesCollectionInterface.js +2 -0
- package/dist/interfaces/fileStorageInterface.js +2 -0
- package/dist/interfaces/floorManagementInterface.js +2 -0
- package/dist/interfaces/generateIdCardInterface.js +2 -0
- package/dist/interfaces/greetingsInterface.js +2 -0
- package/dist/interfaces/holidayInterface.js +2 -0
- package/dist/interfaces/homeworkInterface.js +2 -0
- package/dist/interfaces/informationSupportInterface.js +2 -0
- package/dist/interfaces/inquiryInterface.js +2 -0
- package/dist/interfaces/instituteEntityInterface.js +2 -0
- package/dist/interfaces/instituteEntityTypeInterface.js +2 -0
- package/dist/interfaces/instituteInterface.js +2 -0
- package/dist/interfaces/instituteSubscriptionPlanInterface.js +2 -0
- package/dist/interfaces/inventoryHistoryInterface.js +2 -0
- package/dist/interfaces/inventoryInterface.js +2 -0
- package/dist/interfaces/invoiceInterface.js +2 -0
- package/dist/interfaces/jobApplyInterface.js +2 -0
- package/dist/interfaces/lectureHistoryInterface.js +2 -0
- package/dist/interfaces/lectureInterface.js +2 -0
- package/dist/interfaces/masterLeaveInterface.js +2 -0
- package/dist/interfaces/moduleFeatureInterface.js +2 -0
- package/dist/interfaces/moduleInterface.js +2 -0
- package/dist/interfaces/offersInterface.js +2 -0
- package/dist/interfaces/paymentTermsInterface.js +2 -0
- package/dist/interfaces/pdcChequeInterface.js +2 -0
- package/dist/interfaces/pdcHistoryInterface.js +2 -0
- package/dist/interfaces/photosGalleryInterface.js +2 -0
- package/dist/interfaces/pincodeInterface.js +2 -0
- package/dist/interfaces/plannerInterface.js +2 -0
- package/dist/interfaces/productInterface.js +2 -0
- package/dist/interfaces/projectAssessmentOptionInterface.js +2 -0
- package/dist/interfaces/replaceTeacherInterface.js +2 -0
- package/dist/interfaces/roleInterface.js +2 -0
- package/dist/interfaces/rulesRegulationInterface.js +2 -0
- package/dist/interfaces/schoolFeeCollectionInterface.js +2 -0
- package/dist/interfaces/schoolFeeInterface.js +2 -0
- package/dist/interfaces/schoolOfferInterface.js +2 -0
- package/dist/interfaces/sendNotificationInerface.js +2 -0
- package/dist/interfaces/slotInterface.js +2 -0
- package/dist/interfaces/stateInterface.js +2 -0
- package/dist/interfaces/subCategoriesInterface.js +2 -0
- package/dist/interfaces/subjectHasFeeInterface.js +2 -0
- package/dist/interfaces/subjectHasPayFeeHistoryInterface.js +2 -0
- package/dist/interfaces/subjectIndexInterface.js +2 -0
- package/dist/interfaces/subscriptionPlanInterface.js +2 -0
- package/dist/interfaces/syllabusInterface.js +2 -0
- package/dist/interfaces/taskManagementInterface.js +2 -0
- package/dist/interfaces/testimonialInterface.js +2 -0
- package/dist/interfaces/toDoInterface.js +2 -0
- package/dist/interfaces/tokenInterface.js +2 -0
- package/dist/interfaces/tripInterface.js +2 -0
- package/dist/interfaces/typeManagementInterface.js +2 -0
- package/dist/interfaces/uniqueNumberCounterInterface.js +2 -0
- package/dist/interfaces/userBookAssessmentInterface.js +2 -0
- package/dist/interfaces/userDetailsInterface.js +2 -0
- package/dist/interfaces/userFeeTypeByAccountInterface.js +2 -0
- package/dist/interfaces/userFeeTypeInterface.js +2 -0
- package/dist/interfaces/userHasAnnouncementInterface.js +2 -0
- package/dist/interfaces/userHasBatchInterface.js +2 -0
- package/dist/interfaces/userHasCourseInterface.js +2 -0
- package/dist/interfaces/userHasDeviceInterface.js +2 -0
- package/dist/interfaces/userHasFeeTermsInterface.js +2 -0
- package/dist/interfaces/userHasFileInterface.js +2 -0
- package/dist/interfaces/userHasHomeWorkInterface.js +2 -0
- package/dist/interfaces/userHasInventoryHistoryInterface.js +2 -0
- package/dist/interfaces/userHasInventoryInterface.js +2 -0
- package/dist/interfaces/userHasLeaveHistoryInterface.js +2 -0
- package/dist/interfaces/userHasLeaveInterface.js +2 -0
- package/dist/interfaces/userHasOfferInterface.js +2 -0
- package/dist/interfaces/userHasParentInterface.js +2 -0
- package/dist/interfaces/userHasRoleInterface.js +2 -0
- package/dist/interfaces/userHasRollNumberInterface.js +2 -0
- package/dist/interfaces/userHasStorageInterface.js +2 -0
- package/dist/interfaces/userHasSubjectFeeInterface.js +2 -0
- package/dist/interfaces/userInstituteMetaInterface.js +2 -0
- package/dist/interfaces/userInterface.js +2 -0
- package/dist/interfaces/userLeaveRequestInterface.js +2 -0
- package/dist/interfaces/userMetaInterface.js +2 -0
- package/dist/interfaces/userPayoutDetailsInterface.js +2 -0
- package/dist/interfaces/userPayoutHistoryInterface.js +2 -0
- package/dist/interfaces/userPayoutInterface.js +2 -0
- package/dist/interfaces/userProjectAssessmentOptionInterface.js +2 -0
- package/dist/interfaces/userRequiredStepsInterface.js +2 -0
- package/dist/interfaces/userSchoolMetaInterface.js +2 -0
- package/dist/interfaces/vehicleInterface.js +2 -0
- package/dist/interfaces/vendorManagementInterface.js +2 -0
- package/dist/interfaces/videoAnalystInterface.js +2 -0
- package/dist/interfaces/walletHistoryInterface.js +2 -0
- package/dist/interfaces/walletInterface.js +2 -0
- package/dist/interfaces/walletTransactionInterface.js +2 -0
- package/dist/interfaces/workingDayInterface.js +2 -0
- package/dist/interfaces/workingShiftInterface.js +2 -0
- package/dist/models/mongodb/approvalRequestModel.js +96 -0
- package/dist/models/mongodb/attendanceModel.js +178 -0
- package/dist/models/mongodb/blogModel.js +91 -0
- package/dist/models/mongodb/careerModel.js +83 -0
- package/dist/models/mongodb/certificatesHistoryModel.js +58 -0
- package/dist/models/mongodb/certificatesManagementModel.js +67 -0
- package/dist/models/mongodb/columnModel.js +75 -0
- package/dist/models/mongodb/dailyBookModel.js +88 -0
- package/dist/models/mongodb/dashboardManagementModel.js +111 -0
- package/dist/models/mongodb/eventModel.js +164 -0
- package/dist/models/mongodb/examGroupModel.js +293 -0
- package/dist/models/mongodb/examHasAnswerSheetModel.js +133 -0
- package/dist/models/mongodb/examModel.js +267 -0
- package/dist/models/mongodb/feeReminderTypeModel.js +73 -0
- package/dist/models/mongodb/feedBackModel.js +111 -0
- package/dist/models/mongodb/generateIdCardModel.js +55 -0
- package/dist/models/mongodb/holidayModel.js +172 -0
- package/dist/models/mongodb/index.js +24 -0
- package/dist/models/mongodb/informationSupportModel.js +96 -0
- package/dist/models/mongodb/inquiryModel.js +186 -0
- package/dist/models/mongodb/invoiceModel.js +134 -0
- package/dist/models/mongodb/jobApplyModel.js +151 -0
- package/dist/models/mongodb/photosGalleryModel.js +86 -0
- package/dist/models/mongodb/plannerModel.js +174 -0
- package/dist/models/mongodb/plugin/addDefaultAttributesPlugin.js +63 -0
- package/dist/models/mongodb/plugin/transformIdInQueryPlugin.js +61 -0
- package/dist/models/mongodb/plugin/transformIdInResponsePlugin.js +65 -0
- package/dist/models/mongodb/replaceTeacherModel.js +110 -0
- package/dist/models/mongodb/schoolFeeModel.js +178 -0
- package/dist/models/mongodb/subjectIndexModel.js +667 -0
- package/dist/models/mongodb/subscriptionPlanModel.js +133 -0
- package/dist/models/mongodb/taskManagementModel.js +167 -0
- package/dist/models/mongodb/uniqueNumberCounterModel.js +83 -0
- package/dist/models/mongodb/userDetailsModel.js +509 -0
- package/dist/models/mongodb/userDoc.js +9 -0
- package/dist/models/mongodb/userInstituteMetaModel.js +212 -0
- package/dist/models/mongodb/userSchoolMetaModel.js +552 -0
- package/dist/models/mongodb/videoAnalystModel.js +80 -0
- package/dist/models/mongodb/walletTransactionModel.js +163 -0
- package/dist/models/psql/SubCategoriesModel.js +102 -0
- package/dist/models/psql/academicCalendarModel.js +94 -0
- package/dist/models/psql/accountHasReceiptDetailsModel.js +145 -0
- package/dist/models/psql/announcementModel.js +198 -0
- package/dist/models/psql/areaModel.js +40 -0
- package/dist/models/psql/bankAccountDetailsModel.js +100 -0
- package/dist/models/psql/bannerModel.js +116 -0
- package/dist/models/psql/batchModel.js +222 -0
- package/dist/models/psql/batchSubjectBookAssessmentModel.js +156 -0
- package/dist/models/psql/batchSubjectProjectAssessmentModel.js +154 -0
- package/dist/models/psql/bookAssessmentDateModel.js +87 -0
- package/dist/models/psql/categoriesModel.js +80 -0
- package/dist/models/psql/cityModel.js +72 -0
- package/dist/models/psql/classRoomModel.js +126 -0
- package/dist/models/psql/cloudStorageModel.js +97 -0
- package/dist/models/psql/coinPurchaseOfferModel.js +103 -0
- package/dist/models/psql/contactFeedBackModel.js +120 -0
- package/dist/models/psql/countryModel.js +43 -0
- package/dist/models/psql/courseHasVisitorsModel.js +71 -0
- package/dist/models/psql/courseModel.js +136 -0
- package/dist/models/psql/driverModel.js +163 -0
- package/dist/models/psql/entityGroupModel.js +100 -0
- package/dist/models/psql/facilityModel.js +120 -0
- package/dist/models/psql/featureActionModel.js +95 -0
- package/dist/models/psql/feeHistoryDetailsModel.js +186 -0
- package/dist/models/psql/feeHistoryModel.js +334 -0
- package/dist/models/psql/feeReminderModel.js +239 -0
- package/dist/models/psql/feeReminderSettingModel.js +90 -0
- package/dist/models/psql/feeTypeHasTermsModel.js +102 -0
- package/dist/models/psql/feeTypeModel.js +125 -0
- package/dist/models/psql/feesCollectionModel.js +232 -0
- package/dist/models/psql/fileStorageModel.js +86 -0
- package/dist/models/psql/floorManagementModel.js +90 -0
- package/dist/models/psql/greetingsModel.js +118 -0
- package/dist/models/psql/homeWorkModel.js +128 -0
- package/dist/models/psql/index.js +121 -0
- package/dist/models/psql/instituteEntityModel.js +131 -0
- package/dist/models/psql/instituteEntityTypeModel.js +74 -0
- package/dist/models/psql/instituteModel.js +240 -0
- package/dist/models/psql/instituteSubscriptionPlanModel.js +186 -0
- package/dist/models/psql/inventoryHistoryModel.js +159 -0
- package/dist/models/psql/inventoryModel.js +132 -0
- package/dist/models/psql/lectureHistoryModel.js +223 -0
- package/dist/models/psql/lectureModel.js +485 -0
- package/dist/models/psql/masterLeaveModel.js +132 -0
- package/dist/models/psql/moduleFeatureModel.js +98 -0
- package/dist/models/psql/moduleModel.js +101 -0
- package/dist/models/psql/offerModel.js +144 -0
- package/dist/models/psql/paymentTermsModel.js +114 -0
- package/dist/models/psql/pdcChequeModel.js +138 -0
- package/dist/models/psql/pdcHistoryModel.js +152 -0
- package/dist/models/psql/pincodeModel.js +79 -0
- package/dist/models/psql/productModel.js +124 -0
- package/dist/models/psql/projectAssessmentOptionModel.js +90 -0
- package/dist/models/psql/roleModel.js +97 -0
- package/dist/models/psql/rulesRegulationModel.js +72 -0
- package/dist/models/psql/schoolFeeCollectionModel.js +156 -0
- package/dist/models/psql/schoolOfferModel.js +167 -0
- package/dist/models/psql/sendNotificationModel.js +117 -0
- package/dist/models/psql/slotModel.js +99 -0
- package/dist/models/psql/stateModel.js +58 -0
- package/dist/models/psql/subjectHasFeeModel.js +78 -0
- package/dist/models/psql/subjectHasPayFeeHistoryModel.js +109 -0
- package/dist/models/psql/syllabusModel.js +125 -0
- package/dist/models/psql/testimonialModel.js +162 -0
- package/dist/models/psql/toDoModel.js +116 -0
- package/dist/models/psql/tokenModel.js +37 -0
- package/dist/models/psql/tripModel.js +114 -0
- package/dist/models/psql/typeManagementModel.js +122 -0
- package/dist/models/psql/userBookAssessmentModel.js +141 -0
- package/dist/models/psql/userFeeTypeByAccountModel.js +184 -0
- package/dist/models/psql/userFeeTypeModel.js +172 -0
- package/dist/models/psql/userHasAnnouncementModel.js +108 -0
- package/dist/models/psql/userHasBatchModel.js +92 -0
- package/dist/models/psql/userHasCourseModel.js +116 -0
- package/dist/models/psql/userHasDeviceModel.js +91 -0
- package/dist/models/psql/userHasFeeTermsModel.js +202 -0
- package/dist/models/psql/userHasFileModel.js +107 -0
- package/dist/models/psql/userHasHomeWorkModel.js +119 -0
- package/dist/models/psql/userHasInventoryHistoryModel.js +146 -0
- package/dist/models/psql/userHasInventoryModel.js +148 -0
- package/dist/models/psql/userHasLeaveHistoryModel.js +106 -0
- package/dist/models/psql/userHasLeaveModel.js +121 -0
- package/dist/models/psql/userHasOfferModel.js +154 -0
- package/dist/models/psql/userHasParentModel.js +135 -0
- package/dist/models/psql/userHasRoleModel.js +97 -0
- package/dist/models/psql/userHasRollNumberModel.js +90 -0
- package/dist/models/psql/userHasStorageModel.js +86 -0
- package/dist/models/psql/userHasSubjectFeeModel.js +86 -0
- package/dist/models/psql/userLeaveRequestModel.js +104 -0
- package/dist/models/psql/userModel.js +392 -0
- package/dist/models/psql/userPayoutDetailsModel.js +162 -0
- package/dist/models/psql/userPayoutHistoryModel.js +155 -0
- package/dist/models/psql/userPayoutModel.js +316 -0
- package/dist/models/psql/userProjectAssessmentOptionModel.js +126 -0
- package/dist/models/psql/userRequiredStepsModel.js +78 -0
- package/dist/models/psql/vehicleModel.js +110 -0
- package/dist/models/psql/vendorManagementModel.js +179 -0
- package/dist/models/psql/walletHistoryModel.js +103 -0
- package/dist/models/psql/walletModel.js +93 -0
- package/dist/models/psql/workingDayModel.js +79 -0
- package/dist/models/psql/workingShiftModel.js +92 -0
- package/dist/services/Concrete/mongooseCommonService.js +108 -0
- package/dist/services/Concrete/sequelizeCommanService.js +123 -0
- package/dist/services/Contracts/IMongooseCommonService.js +2 -0
- package/dist/services/Contracts/ISequelizeCommonService.js +2 -0
- package/dist/types/academicCalendarType.js +2 -0
- package/dist/types/accountHasReceiptDetailsType.js +2 -0
- package/dist/types/announcementType.js +2 -0
- package/dist/types/approveRequestType.js +2 -0
- package/dist/types/areaType.js +2 -0
- package/dist/types/attendanceType.js +2 -0
- package/dist/types/bankAccountDetailsType.js +2 -0
- package/dist/types/bannerType.js +2 -0
- package/dist/types/batchSubjectBookAssessmentType.js +2 -0
- package/dist/types/batchSubjectProjectAssessmentType.js +2 -0
- package/dist/types/batchType.js +2 -0
- package/dist/types/blogType.js +2 -0
- package/dist/types/bookAssessmentDateType.js +2 -0
- package/dist/types/careerType.js +2 -0
- package/dist/types/categoriesType.js +2 -0
- package/dist/types/certificatesHistoryType.js +2 -0
- package/dist/types/certificatesManagementType.js +2 -0
- package/dist/types/classRoomType.js +2 -0
- package/dist/types/cloudStorageType.js +2 -0
- package/dist/types/coinPurchaseOfferType.js +2 -0
- package/dist/types/commonType.js +2 -0
- package/dist/types/contactFeedBackType.js +2 -0
- package/dist/types/courseHasVisitorsType.js +2 -0
- package/dist/types/courseType.js +2 -0
- package/dist/types/dailyBookType.js +2 -0
- package/dist/types/dashboardManagementType.js +2 -0
- package/dist/types/driverType.js +2 -0
- package/dist/types/entityGroupType.js +2 -0
- package/dist/types/eventType.js +2 -0
- package/dist/types/examGroupType.js +2 -0
- package/dist/types/examHasAnswerSheetType.js +2 -0
- package/dist/types/examType.js +2 -0
- package/dist/types/facilityType.js +2 -0
- package/dist/types/featureActionType.js +2 -0
- package/dist/types/feeHistoryDetailsType.js +2 -0
- package/dist/types/feeHistoryType.js +2 -0
- package/dist/types/feeReminderSettingType.js +2 -0
- package/dist/types/feeReminderType.js +2 -0
- package/dist/types/feeReminderTypeType.js +2 -0
- package/dist/types/feeTypeHasTermsType.js +2 -0
- package/dist/types/feeTypeType.js +2 -0
- package/dist/types/feedBackType.js +2 -0
- package/dist/types/feesCollectionType.js +2 -0
- package/dist/types/fileStorageType.js +2 -0
- package/dist/types/floormanagementType.js +2 -0
- package/dist/types/generateIdCardType.js +2 -0
- package/dist/types/greetingsType.js +2 -0
- package/dist/types/holidayType.js +3 -0
- package/dist/types/homeWorkType.js +2 -0
- package/dist/types/informationSupportType.js +2 -0
- package/dist/types/inquiryType.js +2 -0
- package/dist/types/instituteEntityType.js +2 -0
- package/dist/types/instituteEntityTypeType.js +2 -0
- package/dist/types/instituteSubscriptionPlanType.js +2 -0
- package/dist/types/instituteType.js +2 -0
- package/dist/types/inventoryHistoryType.js +2 -0
- package/dist/types/inventoryType.js +2 -0
- package/dist/types/jobApply.js +2 -0
- package/dist/types/lectureHistoryType.js +2 -0
- package/dist/types/lectureType.js +2 -0
- package/dist/types/masterLeaveType.js +2 -0
- package/dist/types/moduleFeatureType.js +2 -0
- package/dist/types/moduleType.js +2 -0
- package/dist/types/offerType.js +2 -0
- package/dist/types/paymentTermsType.js +3 -0
- package/dist/types/pdcChequeType.js +2 -0
- package/dist/types/pdcHistoryType.js +2 -0
- package/dist/types/photosGalleryType.js +2 -0
- package/dist/types/plannerType.js +2 -0
- package/dist/types/productType.js +2 -0
- package/dist/types/projectAssessmentOptionType.js +2 -0
- package/dist/types/roleType.js +2 -0
- package/dist/types/rulesRegulationType.js +2 -0
- package/dist/types/schoolFeeCollectionType.js +2 -0
- package/dist/types/schoolFeeType.js +2 -0
- package/dist/types/schoolOfferType.js +2 -0
- package/dist/types/sendNotificationType.js +2 -0
- package/dist/types/slotType.js +2 -0
- package/dist/types/subCategoryType.js +2 -0
- package/dist/types/subjectHasFeeType.js +2 -0
- package/dist/types/subjectHasPayFeeHistoryType.js +2 -0
- package/dist/types/subjectIndexType.js +2 -0
- package/dist/types/subscriptionPlanType.js +2 -0
- package/dist/types/syllabusType.js +2 -0
- package/dist/types/taskManagementType.js +2 -0
- package/dist/types/testimonialType.js +2 -0
- package/dist/types/toDoType.js +2 -0
- package/dist/types/tripType.js +2 -0
- package/dist/types/typeManagementType.js +2 -0
- package/dist/types/uniqueNumberCounterType.js +2 -0
- package/dist/types/userBookAssessmentType.js +2 -0
- package/dist/types/userDetailsType.js +2 -0
- package/dist/types/userFeeTypeByAccountType.js +2 -0
- package/dist/types/userFeeTypeType.js +2 -0
- package/dist/types/userHasAnnouncementType.js +2 -0
- package/dist/types/userHasBatchType.js +2 -0
- package/dist/types/userHasCourseType.js +2 -0
- package/dist/types/userHasDeviceType.js +2 -0
- package/dist/types/userHasFeeTermsType.js +2 -0
- package/dist/types/userHasFileType.js +2 -0
- package/dist/types/userHasHomeWorkType.js +2 -0
- package/dist/types/userHasInventoryHistoryType.js +2 -0
- package/dist/types/userHasInventoryType.js +2 -0
- package/dist/types/userHasLeaveHistoryType.js +2 -0
- package/dist/types/userHasLeaveType.js +2 -0
- package/dist/types/userHasOffer.js +2 -0
- package/dist/types/userHasParentType.js +2 -0
- package/dist/types/userHasRoleType.js +2 -0
- package/dist/types/userHasRollNumberType.js +2 -0
- package/dist/types/userHasStorageType.js +2 -0
- package/dist/types/userHasSubjectFeeType.js +2 -0
- package/dist/types/userInstituteMetaType.js +2 -0
- package/dist/types/userLeaveRequestType.js +2 -0
- package/dist/types/userMetaType.js +2 -0
- package/dist/types/userPayoutDetailsType.js +2 -0
- package/dist/types/userPayoutHistoryType.js +2 -0
- package/dist/types/userPayoutType.js +2 -0
- package/dist/types/userProjectAssessmentOptionType.js +2 -0
- package/dist/types/userRequiredStepsType.js +2 -0
- package/dist/types/userSchoolMetaType.js +2 -0
- package/dist/types/userType.js +2 -0
- package/dist/types/vehicleType.js +2 -0
- package/dist/types/vendorType.js +2 -0
- package/dist/types/videoAnalystType.js +2 -0
- package/dist/types/walletHistoryType.js +2 -0
- package/dist/types/walletTransactionType.js +2 -0
- package/dist/types/walletType.js +2 -0
- package/dist/types/workingDayType.js +2 -0
- package/dist/types/workingShiftType.js +2 -0
- package/package.json +2 -2
- package/dist/scripts/fix-import-extensions.d.ts +0 -1
- package/dist/scripts/fix-import-extensions.js +0 -28
- package/dist/scripts/generate-index.d.ts +0 -1
- package/dist/scripts/generate-index.js +0 -38
- package/dist/src/configs/aws.js +0 -9
- package/dist/src/configs/env.js +0 -44
- package/dist/src/configs/postgresConfig.js +0 -32
- package/dist/src/constants/app.js +0 -1067
- package/dist/src/constants/defaultModelAttributes.js +0 -18
- package/dist/src/constants/errorMessages.js +0 -1161
- package/dist/src/constants/httpStatusCode.js +0 -27
- package/dist/src/constants/successMessages.js +0 -807
- package/dist/src/db/mongodb.js +0 -17
- package/dist/src/db/postgres.js +0 -14
- package/dist/src/db/psql/index.js +0 -105
- package/dist/src/db/psql/migrations/20241225101052-add-deleted-by-and-deleted-at-fields.js +0 -72
- package/dist/src/db/psql/migrations/20250106070945-add-user-fields-and-deleted-user-fields.js +0 -34
- package/dist/src/db/psql/migrations/20250106080059-add-fields-and-deleted-fields.js +0 -95
- package/dist/src/db/psql/migrations/20250108092439-update-batch-model-fields.js +0 -39
- package/dist/src/db/psql/migrations/20250210102846-add-profileImage-coverImage-to-users.js +0 -103
- package/dist/src/db/psql/migrations/20250211071743-add-action-user-has-histroy.js +0 -77
- package/dist/src/db/psql/migrations/20250213140815-add-assignQuantity-user-has-histroy.js +0 -81
- package/dist/src/db/psql/migrations/20250214072626-add-middlename-user.js +0 -81
- package/dist/src/db/psql/migrations/20250224085333-add-apptype-in-user.js +0 -79
- package/dist/src/db/psql/migrations/20250226053006-add-brouchure-in-institute.js +0 -81
- package/dist/src/db/psql/migrations/20250227123530-add-defult-in-fee-reminder.js +0 -79
- package/dist/src/db/psql/migrations/20250304052831-add-institued-in-school-data-clm.js +0 -113
- package/dist/src/db/psql/migrations/20250306053557-add-shifyId-in-batch.js +0 -87
- package/dist/src/db/psql/migrations/20250311044606-add-institued-in-school-data-clm-subtype.js +0 -44
- package/dist/src/db/psql/migrations/20250402090653-add-user-area.js +0 -95
- package/dist/src/db/psql/migrations/20250407094125-update-type-in-typeManagement.js +0 -65
- package/dist/src/db/psql/migrations/20250409105229-add-user-type-in-role.js +0 -56
- package/dist/src/db/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.js +0 -17
- package/dist/src/db/psql/migrations/20250419071236-fee_histroy_add_school_clm.js +0 -135
- package/dist/src/db/psql/migrations/20250419085334-fee_histroy_add_school_clm.js +0 -87
- package/dist/src/db/psql/migrations/20250421085618-add-entityIds-field-in-announcements.js +0 -82
- package/dist/src/db/psql/migrations/20250422114032-add-account.js +0 -87
- package/dist/src/db/psql/migrations/20250423051841-add-master-leave-clm.js +0 -72
- package/dist/src/db/psql/migrations/20250423064522-update-calender-enum.js +0 -35
- package/dist/src/db/psql/migrations/20250423093827-update-institued-district.js +0 -79
- package/dist/src/db/psql/migrations/20250424044755-update-fee-history-feeTyps-clm.js +0 -35
- package/dist/src/db/psql/migrations/20250424053841-update-fee-history-key.js +0 -35
- package/dist/src/db/psql/migrations/20250426070309-update-banner-clm-userType.js +0 -56
- package/dist/src/db/psql/migrations/20250505035157-update-fee-collection-clm-add.js +0 -87
- package/dist/src/db/psql/migrations/20250505082924-update-banner-clm.js +0 -19
- package/dist/src/db/psql/migrations/20250505094616-about-as-clm-in-institued.js +0 -17
- package/dist/src/db/psql/migrations/20250506070110-add-dayOfWeek-clm-in-working-model.js +0 -81
- package/dist/src/db/psql/migrations/20250509055920-add-feecollection-isleft-clm.js +0 -81
- package/dist/src/db/psql/migrations/20250513061037-add-techer-clm-batch.js +0 -89
- package/dist/src/db/psql/migrations/20250514101801-add-slotId-workingShif.js +0 -87
- package/dist/src/db/psql/migrations/20250516062917-add-globalId-clm-user-model.js +0 -81
- package/dist/src/db/psql/migrations/20250516063542-add-globalId-clm-institute-model.js +0 -81
- package/dist/src/db/psql/migrations/20250520061231-add-institued_mobile_person_data.js +0 -117
- package/dist/src/db/psql/migrations/20250522044729-add-institued_update_add_2.js +0 -17
- package/dist/src/db/psql/migrations/20250526035543-add-totalQuantity_add_remainingQuantiy_clm_userHasInventoryHistory.js +0 -99
- package/dist/src/db/psql/migrations/20250526093322-add-appType_clm_in_module.js +0 -81
- package/dist/src/db/psql/migrations/20250526094030-add-appType_clm_in_action.js +0 -81
- package/dist/src/db/psql/migrations/20250526094233-add-appType_clm_in_module_features.js +0 -81
- package/dist/src/db/psql/migrations/20250527065001-add-app-type-in-role-model.js +0 -58
- package/dist/src/db/psql/migrations/20250528045906-add-module-type-to-notifications.js +0 -14
- package/dist/src/db/psql/migrations/20250602090331-add-or-update-user-model-medicalHistory.js +0 -108
- package/dist/src/db/psql/migrations/20250602100550-add-planner-sync-status-to-institute.js +0 -114
- package/dist/src/db/psql/migrations/20250603054900-add-clm-for-defult-data-add-or-not-in-ins-model.js +0 -81
- package/dist/src/db/psql/migrations/20250604103905-add-is-institute-default-field-in-role.js +0 -58
- package/dist/src/db/psql/migrations/20250604121051-update-mobile-number-opstion.js +0 -16
- package/dist/src/db/psql/migrations/20250617064159-update-type-management-jun-17.js +0 -12
- package/dist/src/db/psql/migrations/20250627065013-is-institute-default-added-type-managemente.js +0 -13
- package/dist/src/db/psql/migrations/20250701095321-add-clm-institute-pdfId.js +0 -58
- package/dist/src/db/psql/migrations/20250704102117-add-clm-isDefult-in-typeManagemet.js +0 -13
- package/dist/src/db/psql/migrations/20250715103324-add-academic-calendar-id-to-batches.js +0 -14
- package/dist/src/db/psql/migrations/20250715121047-remove-batch-id-from-academic-calendars.js +0 -13
- package/dist/src/db/psql/migrations/20250716131731-rename-user-id-to-primary-user-id.js +0 -10
- package/dist/src/db/psql/migrations/20250717092933-add-floor-id-to-class-rooms.js +0 -87
- package/dist/src/db/psql/migrations/20250718121251-add-clm-classroom-typeid.js +0 -87
- package/dist/src/db/psql/migrations/20250721065317-add-instituteId-fileSize-to-fileStorage.js +0 -23
- package/dist/src/db/psql/migrations/20250721100004-add-shift-slot-id-to-lectures.js +0 -18
- package/dist/src/db/psql/migrations/20250721105455-add-clm-classroom-add-classroomnumber.js +0 -79
- package/dist/src/db/psql/migrations/20250722071836-add-title-to-floor-management.js +0 -15
- package/dist/src/db/psql/migrations/20250723150111-add-clm-batch-slotId.js +0 -87
- package/dist/src/db/psql/migrations/20250724062458-update_classRoom_number_clm_to_string.js +0 -16
- package/dist/src/db/psql/migrations/20250725132424-add-unique-index-on-instituteId-name-type.js +0 -25
- package/dist/src/db/psql/migrations/20250730104844-update-unique-key-assessment-type.js +0 -31
- package/dist/src/db/psql/migrations/20250804090437-update_ins_in_pdf_id_string_to_uuid.js +0 -63
- package/dist/src/db/psql/migrations/20250805062440-remove_unique_key_into_batch_subject_project_assessments.js +0 -22
- package/dist/src/db/psql/migrations/20250805115805-add-descriptions-to-lectures.js +0 -13
- package/dist/src/db/psql/migrations/20250808100700-add_clm_contectFeed_in_ins_givenId.js +0 -87
- package/dist/src/db/psql/migrations/20250808101515-add-sequence-to-institute_entities.js +0 -13
- package/dist/src/db/psql/migrations/20250812080521-add-title-and-descriptions-to-batch-subject-project-assessments.js +0 -18
- package/dist/src/db/psql/migrations/20250820092836-add-sequence-number-to-institute-entities.js +0 -16
- package/dist/src/db/psql/migrations/20250829103203-remove-syllabus-composit-index.js +0 -16
- package/dist/src/db/psql/migrations/20250905132024-add-uuid-to-users.js +0 -13
- package/dist/src/db/psql/migrations/20250908054025-userHasOffer_model_update.js +0 -113
- package/dist/src/db/psql/migrations/20250908054754-offer_in_add_offertype_clm.js +0 -71
- package/dist/src/db/psql/migrations/20250909061117-add-instituteId-isDefault-to-entityGroup.js +0 -18
- package/dist/src/db/psql/migrations/20250911060106-change-wallet-history-columns-to-float.js +0 -40
- package/dist/src/db/psql/migrations/20250911060245-change-coin-to-float-in-wallets.js +0 -18
- package/dist/src/db/psql/migrations/20250917135646-change-storageInBytes-to-float.js +0 -18
- package/dist/src/db/psql/seeders/20240809100759-add-countries-states-cities.js +0 -64
- package/dist/src/db/psql/seeders/20250101122757-add-default-permissions-modules.js +0 -160
- package/dist/src/db/psql/seeders/Data/AcademicCalendarModule.js +0 -24
- package/dist/src/db/psql/seeders/Data/AdministrativeStaffModule.js +0 -38
- package/dist/src/db/psql/seeders/Data/AnnouncementsModule.js +0 -50
- package/dist/src/db/psql/seeders/Data/AssetsModule.js +0 -37
- package/dist/src/db/psql/seeders/Data/AttendanceModule.js +0 -57
- package/dist/src/db/psql/seeders/Data/BannerModule.js +0 -24
- package/dist/src/db/psql/seeders/Data/BatchModule.js +0 -34
- package/dist/src/db/psql/seeders/Data/BoardModule .js +0 -18
- package/dist/src/db/psql/seeders/Data/BookAssessmentsModule.js +0 -23
- package/dist/src/db/psql/seeders/Data/CategoriesModule.js +0 -18
- package/dist/src/db/psql/seeders/Data/ClassroomModule.js +0 -37
- package/dist/src/db/psql/seeders/Data/DivisionModule.js +0 -25
- package/dist/src/db/psql/seeders/Data/EventModule.js +0 -22
- package/dist/src/db/psql/seeders/Data/ExamsAndResultsModule.js +0 -113
- package/dist/src/db/psql/seeders/Data/FacilityModule.js +0 -22
- package/dist/src/db/psql/seeders/Data/FeeAndDiscountModule.js +0 -239
- package/dist/src/db/psql/seeders/Data/FeedBackModule.js +0 -27
- package/dist/src/db/psql/seeders/Data/FileModule.js +0 -38
- package/dist/src/db/psql/seeders/Data/GenerateIdModule.js +0 -19
- package/dist/src/db/psql/seeders/Data/HolidayModule.js +0 -22
- package/dist/src/db/psql/seeders/Data/HomeworkModule.js +0 -42
- package/dist/src/db/psql/seeders/Data/IndexModule.js +0 -97
- package/dist/src/db/psql/seeders/Data/InquiryModule.js +0 -22
- package/dist/src/db/psql/seeders/Data/InstituteModule.js +0 -63
- package/dist/src/db/psql/seeders/Data/InventoryModule.js +0 -42
- package/dist/src/db/psql/seeders/Data/JobApplyModule.js +0 -22
- package/dist/src/db/psql/seeders/Data/LectureModule.js +0 -28
- package/dist/src/db/psql/seeders/Data/ParentModule.js +0 -38
- package/dist/src/db/psql/seeders/Data/PayoutModule.js +0 -18
- package/dist/src/db/psql/seeders/Data/PdcChequesModule.js +0 -27
- package/dist/src/db/psql/seeders/Data/PhotosGalleryModule.js +0 -27
- package/dist/src/db/psql/seeders/Data/PlannerModule.js +0 -18
- package/dist/src/db/psql/seeders/Data/ProjectAssessmentsModule.js +0 -23
- package/dist/src/db/psql/seeders/Data/ReplaceTeacherModule.js +0 -22
- package/dist/src/db/psql/seeders/Data/RoleModule.js +0 -53
- package/dist/src/db/psql/seeders/Data/RollNumberModule.js +0 -22
- package/dist/src/db/psql/seeders/Data/SchoolFeeModule.js +0 -38
- package/dist/src/db/psql/seeders/Data/SchoolModule.js +0 -63
- package/dist/src/db/psql/seeders/Data/SchoolRegistration.js +0 -22
- package/dist/src/db/psql/seeders/Data/SettingsModule.js +0 -28
- package/dist/src/db/psql/seeders/Data/StaffTimingModule.js +0 -22
- package/dist/src/db/psql/seeders/Data/StudentModule.js +0 -18
- package/dist/src/db/psql/seeders/Data/SubjectModule.js +0 -37
- package/dist/src/db/psql/seeders/Data/SyllabusManagementModule.js +0 -25
- package/dist/src/db/psql/seeders/Data/TeacherModule.js +0 -68
- package/dist/src/db/psql/seeders/Data/TestimonialsModule.js +0 -27
- package/dist/src/db/psql/seeders/Data/TimetableModule.js +0 -43
- package/dist/src/db/psql/seeders/Data/To-doModule.js +0 -27
- package/dist/src/db/psql/seeders/Data/TypeManagementModule.js +0 -28
- package/dist/src/db/psql/seeders/Data/UserModule.js +0 -266
- package/dist/src/db/psql/seeders/Data/appType.js +0 -8
- package/dist/src/helpers/s3Uploader.js +0 -53
- package/dist/src/helpers/utils.js +0 -603
- package/dist/src/index.d.ts +0 -415
- package/dist/src/index.js +0 -415
- package/dist/src/interfaces/academicCalendarInterface.js +0 -1
- package/dist/src/interfaces/accountHasReceiptDetailsInterface.js +0 -1
- package/dist/src/interfaces/announcementInterface.js +0 -1
- package/dist/src/interfaces/approvalRequestInterface.js +0 -1
- package/dist/src/interfaces/areaInterface.js +0 -1
- package/dist/src/interfaces/attendanceInterface.js +0 -1
- package/dist/src/interfaces/bankAccountDetailsInterface.js +0 -1
- package/dist/src/interfaces/bannerInterface.js +0 -1
- package/dist/src/interfaces/batchInterface.js +0 -1
- package/dist/src/interfaces/batchSubjectBookAssessmentInterface.js +0 -1
- package/dist/src/interfaces/batchSubjectProjectAssessmentInterface.js +0 -1
- package/dist/src/interfaces/blogInterface.js +0 -1
- package/dist/src/interfaces/bookAssessmentDateInterface.js +0 -1
- package/dist/src/interfaces/careerInterface.js +0 -1
- package/dist/src/interfaces/categoriesInterface.js +0 -1
- package/dist/src/interfaces/certificatesHistoryInterface.js +0 -1
- package/dist/src/interfaces/certificatesManagementInterface.js +0 -1
- package/dist/src/interfaces/cityInterface.js +0 -1
- package/dist/src/interfaces/classRoomInterface.js +0 -1
- package/dist/src/interfaces/cloudStorageInterface.js +0 -1
- package/dist/src/interfaces/coinPurchaseOfferInterface.js +0 -1
- package/dist/src/interfaces/columnInterface.js +0 -1
- package/dist/src/interfaces/commanInterface.js +0 -1
- package/dist/src/interfaces/contactFeedBackInterface.js +0 -1
- package/dist/src/interfaces/countryInterface.js +0 -1
- package/dist/src/interfaces/courseHasVisitorsInterface.js +0 -1
- package/dist/src/interfaces/courseInterface.js +0 -1
- package/dist/src/interfaces/dailyBookInterface.js +0 -1
- package/dist/src/interfaces/dashboardManagementInterface.js +0 -1
- package/dist/src/interfaces/driverInterface.js +0 -1
- package/dist/src/interfaces/entityGroupInterface.js +0 -1
- package/dist/src/interfaces/eventInterface.js +0 -1
- package/dist/src/interfaces/examGroupInterface.js +0 -1
- package/dist/src/interfaces/examHasAnswerSheetInterface.js +0 -1
- package/dist/src/interfaces/examInterface.js +0 -1
- package/dist/src/interfaces/facilityInterface.js +0 -1
- package/dist/src/interfaces/featureActionInterface.js +0 -1
- package/dist/src/interfaces/feeHistoryDetailsInterface.js +0 -1
- package/dist/src/interfaces/feeHistoryInterface.js +0 -1
- package/dist/src/interfaces/feeReminderInterface.js +0 -1
- package/dist/src/interfaces/feeReminderSettingInterface.js +0 -1
- package/dist/src/interfaces/feeReminderTypeInterface.js +0 -1
- package/dist/src/interfaces/feeTypeHasTermsInterface.js +0 -1
- package/dist/src/interfaces/feeTypeInterface.js +0 -1
- package/dist/src/interfaces/feedBackInterface.js +0 -1
- package/dist/src/interfaces/feesCollectionInterface.js +0 -1
- package/dist/src/interfaces/fileStorageInterface.js +0 -1
- package/dist/src/interfaces/floorManagementInterface.js +0 -1
- package/dist/src/interfaces/generateIdCardInterface.js +0 -1
- package/dist/src/interfaces/greetingsInterface.js +0 -1
- package/dist/src/interfaces/holidayInterface.js +0 -1
- package/dist/src/interfaces/homeworkInterface.js +0 -1
- package/dist/src/interfaces/informationSupportInterface.js +0 -1
- package/dist/src/interfaces/inquiryInterface.js +0 -1
- package/dist/src/interfaces/instituteEntityInterface.js +0 -1
- package/dist/src/interfaces/instituteEntityTypeInterface.js +0 -1
- package/dist/src/interfaces/instituteInterface.js +0 -1
- package/dist/src/interfaces/instituteSubscriptionPlanInterface.js +0 -1
- package/dist/src/interfaces/inventoryHistoryInterface.js +0 -1
- package/dist/src/interfaces/inventoryInterface.js +0 -1
- package/dist/src/interfaces/invoiceInterface.js +0 -1
- package/dist/src/interfaces/jobApplyInterface.js +0 -1
- package/dist/src/interfaces/lectureHistoryInterface.js +0 -1
- package/dist/src/interfaces/lectureInterface.js +0 -1
- package/dist/src/interfaces/masterLeaveInterface.js +0 -1
- package/dist/src/interfaces/moduleFeatureInterface.js +0 -1
- package/dist/src/interfaces/moduleInterface.js +0 -1
- package/dist/src/interfaces/offersInterface.js +0 -1
- package/dist/src/interfaces/paymentTermsInterface.js +0 -1
- package/dist/src/interfaces/pdcChequeInterface.js +0 -1
- package/dist/src/interfaces/pdcHistoryInterface.js +0 -1
- package/dist/src/interfaces/photosGalleryInterface.js +0 -1
- package/dist/src/interfaces/pincodeInterface.js +0 -1
- package/dist/src/interfaces/plannerInterface.js +0 -1
- package/dist/src/interfaces/productInterface.js +0 -1
- package/dist/src/interfaces/projectAssessmentOptionInterface.js +0 -1
- package/dist/src/interfaces/replaceTeacherInterface.js +0 -1
- package/dist/src/interfaces/roleInterface.js +0 -1
- package/dist/src/interfaces/rulesRegulationInterface.js +0 -1
- package/dist/src/interfaces/schoolFeeCollectionInterface.js +0 -1
- package/dist/src/interfaces/schoolFeeInterface.js +0 -1
- package/dist/src/interfaces/schoolOfferInterface.js +0 -1
- package/dist/src/interfaces/sendNotificationInerface.js +0 -1
- package/dist/src/interfaces/slotInterface.js +0 -1
- package/dist/src/interfaces/stateInterface.js +0 -1
- package/dist/src/interfaces/subCategoriesInterface.js +0 -1
- package/dist/src/interfaces/subjectHasFeeInterface.js +0 -1
- package/dist/src/interfaces/subjectHasPayFeeHistoryInterface.js +0 -1
- package/dist/src/interfaces/subjectIndexInterface.js +0 -1
- package/dist/src/interfaces/subscriptionPlanInterface.js +0 -1
- package/dist/src/interfaces/syllabusInterface.js +0 -1
- package/dist/src/interfaces/taskManagementInterface.js +0 -1
- package/dist/src/interfaces/testimonialInterface.js +0 -1
- package/dist/src/interfaces/toDoInterface.js +0 -1
- package/dist/src/interfaces/tokenInterface.js +0 -1
- package/dist/src/interfaces/tripInterface.js +0 -1
- package/dist/src/interfaces/typeManagementInterface.js +0 -1
- package/dist/src/interfaces/uniqueNumberCounterInterface.js +0 -1
- package/dist/src/interfaces/userBookAssessmentInterface.js +0 -1
- package/dist/src/interfaces/userDetailsInterface.js +0 -1
- package/dist/src/interfaces/userFeeTypeByAccountInterface.js +0 -1
- package/dist/src/interfaces/userFeeTypeInterface.js +0 -1
- package/dist/src/interfaces/userHasAnnouncementInterface.js +0 -1
- package/dist/src/interfaces/userHasBatchInterface.js +0 -1
- package/dist/src/interfaces/userHasCourseInterface.js +0 -1
- package/dist/src/interfaces/userHasDeviceInterface.js +0 -1
- package/dist/src/interfaces/userHasFeeTermsInterface.js +0 -1
- package/dist/src/interfaces/userHasFileInterface.js +0 -1
- package/dist/src/interfaces/userHasHomeWorkInterface.js +0 -1
- package/dist/src/interfaces/userHasInventoryHistoryInterface.js +0 -1
- package/dist/src/interfaces/userHasInventoryInterface.js +0 -1
- package/dist/src/interfaces/userHasLeaveHistoryInterface.js +0 -1
- package/dist/src/interfaces/userHasLeaveInterface.js +0 -1
- package/dist/src/interfaces/userHasOfferInterface.js +0 -1
- package/dist/src/interfaces/userHasParentInterface.js +0 -1
- package/dist/src/interfaces/userHasRoleInterface.js +0 -1
- package/dist/src/interfaces/userHasRollNumberInterface.js +0 -1
- package/dist/src/interfaces/userHasStorageInterface.js +0 -1
- package/dist/src/interfaces/userHasSubjectFeeInterface.js +0 -1
- package/dist/src/interfaces/userInstituteMetaInterface.js +0 -1
- package/dist/src/interfaces/userInterface.js +0 -1
- package/dist/src/interfaces/userLeaveRequestInterface.js +0 -1
- package/dist/src/interfaces/userMetaInterface.js +0 -1
- package/dist/src/interfaces/userPayoutDetailsInterface.js +0 -1
- package/dist/src/interfaces/userPayoutHistoryInterface.js +0 -1
- package/dist/src/interfaces/userPayoutInterface.js +0 -1
- package/dist/src/interfaces/userProjectAssessmentOptionInterface.js +0 -1
- package/dist/src/interfaces/userRequiredStepsInterface.js +0 -1
- package/dist/src/interfaces/userSchoolMetaInterface.js +0 -1
- package/dist/src/interfaces/vehicleInterface.js +0 -1
- package/dist/src/interfaces/vendorManagementInterface.js +0 -1
- package/dist/src/interfaces/videoAnalystInterface.js +0 -1
- package/dist/src/interfaces/walletHistoryInterface.js +0 -1
- package/dist/src/interfaces/walletInterface.js +0 -1
- package/dist/src/interfaces/walletTransactionInterface.js +0 -1
- package/dist/src/interfaces/workingDayInterface.js +0 -1
- package/dist/src/interfaces/workingShiftInterface.js +0 -1
- package/dist/src/models/mongodb/approvalRequestModel.js +0 -61
- package/dist/src/models/mongodb/attendanceModel.js +0 -140
- package/dist/src/models/mongodb/blogModel.js +0 -56
- package/dist/src/models/mongodb/careerModel.js +0 -48
- package/dist/src/models/mongodb/certificatesHistoryModel.js +0 -23
- package/dist/src/models/mongodb/certificatesManagementModel.js +0 -32
- package/dist/src/models/mongodb/columnModel.js +0 -40
- package/dist/src/models/mongodb/dailyBookModel.js +0 -53
- package/dist/src/models/mongodb/dashboardManagementModel.js +0 -76
- package/dist/src/models/mongodb/eventModel.js +0 -126
- package/dist/src/models/mongodb/examGroupModel.js +0 -255
- package/dist/src/models/mongodb/examHasAnswerSheetModel.js +0 -95
- package/dist/src/models/mongodb/examModel.js +0 -229
- package/dist/src/models/mongodb/feeReminderTypeModel.js +0 -38
- package/dist/src/models/mongodb/feedBackModel.js +0 -76
- package/dist/src/models/mongodb/generateIdCardModel.js +0 -20
- package/dist/src/models/mongodb/holidayModel.js +0 -134
- package/dist/src/models/mongodb/index.js +0 -19
- package/dist/src/models/mongodb/informationSupportModel.js +0 -61
- package/dist/src/models/mongodb/inquiryModel.js +0 -148
- package/dist/src/models/mongodb/invoiceModel.js +0 -99
- package/dist/src/models/mongodb/jobApplyModel.js +0 -116
- package/dist/src/models/mongodb/photosGalleryModel.js +0 -51
- package/dist/src/models/mongodb/plannerModel.js +0 -139
- package/dist/src/models/mongodb/plugin/addDefaultAttributesPlugin.js +0 -60
- package/dist/src/models/mongodb/plugin/transformIdInQueryPlugin.js +0 -59
- package/dist/src/models/mongodb/plugin/transformIdInResponsePlugin.js +0 -60
- package/dist/src/models/mongodb/replaceTeacherModel.js +0 -75
- package/dist/src/models/mongodb/schoolFeeModel.js +0 -140
- package/dist/src/models/mongodb/subjectIndexModel.js +0 -629
- package/dist/src/models/mongodb/subscriptionPlanModel.js +0 -98
- package/dist/src/models/mongodb/taskManagementModel.js +0 -129
- package/dist/src/models/mongodb/uniqueNumberCounterModel.js +0 -48
- package/dist/src/models/mongodb/userDetailsModel.js +0 -473
- package/dist/src/models/mongodb/userDoc.js +0 -6
- package/dist/src/models/mongodb/userInstituteMetaModel.js +0 -177
- package/dist/src/models/mongodb/userSchoolMetaModel.js +0 -547
- package/dist/src/models/mongodb/videoAnalystModel.js +0 -45
- package/dist/src/models/mongodb/walletTransactionModel.js +0 -128
- package/dist/src/models/psql/SubCategoriesModel.js +0 -97
- package/dist/src/models/psql/academicCalendarModel.js +0 -89
- package/dist/src/models/psql/accountHasReceiptDetailsModel.js +0 -140
- package/dist/src/models/psql/announcementModel.js +0 -193
- package/dist/src/models/psql/areaModel.js +0 -35
- package/dist/src/models/psql/bankAccountDetailsModel.js +0 -95
- package/dist/src/models/psql/bannerModel.js +0 -111
- package/dist/src/models/psql/batchModel.js +0 -217
- package/dist/src/models/psql/batchSubjectBookAssessmentModel.js +0 -151
- package/dist/src/models/psql/batchSubjectProjectAssessmentModel.js +0 -149
- package/dist/src/models/psql/bookAssessmentDateModel.js +0 -82
- package/dist/src/models/psql/categoriesModel.js +0 -75
- package/dist/src/models/psql/cityModel.js +0 -67
- package/dist/src/models/psql/classRoomModel.js +0 -121
- package/dist/src/models/psql/cloudStorageModel.js +0 -92
- package/dist/src/models/psql/coinPurchaseOfferModel.js +0 -98
- package/dist/src/models/psql/contactFeedBackModel.js +0 -115
- package/dist/src/models/psql/countryModel.js +0 -41
- package/dist/src/models/psql/courseHasVisitorsModel.js +0 -66
- package/dist/src/models/psql/courseModel.js +0 -131
- package/dist/src/models/psql/driverModel.js +0 -158
- package/dist/src/models/psql/entityGroupModel.js +0 -95
- package/dist/src/models/psql/facilityModel.js +0 -115
- package/dist/src/models/psql/featureActionModel.js +0 -90
- package/dist/src/models/psql/feeHistoryDetailsModel.js +0 -181
- package/dist/src/models/psql/feeHistoryModel.js +0 -329
- package/dist/src/models/psql/feeReminderModel.js +0 -234
- package/dist/src/models/psql/feeReminderSettingModel.js +0 -85
- package/dist/src/models/psql/feeTypeHasTermsModel.js +0 -97
- package/dist/src/models/psql/feeTypeModel.js +0 -120
- package/dist/src/models/psql/feesCollectionModel.js +0 -227
- package/dist/src/models/psql/fileStorageModel.js +0 -81
- package/dist/src/models/psql/floorManagementModel.js +0 -85
- package/dist/src/models/psql/greetingsModel.js +0 -113
- package/dist/src/models/psql/homeWorkModel.js +0 -123
- package/dist/src/models/psql/index.js +0 -80
- package/dist/src/models/psql/instituteEntityModel.js +0 -126
- package/dist/src/models/psql/instituteEntityTypeModel.js +0 -69
- package/dist/src/models/psql/instituteModel.js +0 -235
- package/dist/src/models/psql/instituteSubscriptionPlanModel.js +0 -181
- package/dist/src/models/psql/inventoryHistoryModel.js +0 -154
- package/dist/src/models/psql/inventoryModel.js +0 -127
- package/dist/src/models/psql/lectureHistoryModel.js +0 -218
- package/dist/src/models/psql/lectureModel.js +0 -480
- package/dist/src/models/psql/masterLeaveModel.js +0 -127
- package/dist/src/models/psql/moduleFeatureModel.js +0 -93
- package/dist/src/models/psql/moduleModel.js +0 -96
- package/dist/src/models/psql/offerModel.js +0 -139
- package/dist/src/models/psql/paymentTermsModel.js +0 -109
- package/dist/src/models/psql/pdcChequeModel.js +0 -133
- package/dist/src/models/psql/pdcHistoryModel.js +0 -147
- package/dist/src/models/psql/pincodeModel.js +0 -74
- package/dist/src/models/psql/productModel.js +0 -119
- package/dist/src/models/psql/projectAssessmentOptionModel.js +0 -85
- package/dist/src/models/psql/roleModel.js +0 -92
- package/dist/src/models/psql/rulesRegulationModel.js +0 -67
- package/dist/src/models/psql/schoolFeeCollectionModel.js +0 -151
- package/dist/src/models/psql/schoolOfferModel.js +0 -162
- package/dist/src/models/psql/sendNotificationModel.js +0 -112
- package/dist/src/models/psql/slotModel.js +0 -94
- package/dist/src/models/psql/stateModel.js +0 -53
- package/dist/src/models/psql/subjectHasFeeModel.js +0 -73
- package/dist/src/models/psql/subjectHasPayFeeHistoryModel.js +0 -104
- package/dist/src/models/psql/syllabusModel.js +0 -120
- package/dist/src/models/psql/testimonialModel.js +0 -157
- package/dist/src/models/psql/toDoModel.js +0 -111
- package/dist/src/models/psql/tokenModel.js +0 -35
- package/dist/src/models/psql/tripModel.js +0 -109
- package/dist/src/models/psql/typeManagementModel.js +0 -117
- package/dist/src/models/psql/userBookAssessmentModel.js +0 -136
- package/dist/src/models/psql/userFeeTypeByAccountModel.js +0 -179
- package/dist/src/models/psql/userFeeTypeModel.js +0 -167
- package/dist/src/models/psql/userHasAnnouncementModel.js +0 -103
- package/dist/src/models/psql/userHasBatchModel.js +0 -87
- package/dist/src/models/psql/userHasCourseModel.js +0 -111
- package/dist/src/models/psql/userHasDeviceModel.js +0 -86
- package/dist/src/models/psql/userHasFeeTermsModel.js +0 -197
- package/dist/src/models/psql/userHasFileModel.js +0 -102
- package/dist/src/models/psql/userHasHomeWorkModel.js +0 -114
- package/dist/src/models/psql/userHasInventoryHistoryModel.js +0 -141
- package/dist/src/models/psql/userHasInventoryModel.js +0 -143
- package/dist/src/models/psql/userHasLeaveHistoryModel.js +0 -101
- package/dist/src/models/psql/userHasLeaveModel.js +0 -116
- package/dist/src/models/psql/userHasOfferModel.js +0 -149
- package/dist/src/models/psql/userHasParentModel.js +0 -130
- package/dist/src/models/psql/userHasRoleModel.js +0 -92
- package/dist/src/models/psql/userHasRollNumberModel.js +0 -85
- package/dist/src/models/psql/userHasStorageModel.js +0 -81
- package/dist/src/models/psql/userHasSubjectFeeModel.js +0 -81
- package/dist/src/models/psql/userLeaveRequestModel.js +0 -99
- package/dist/src/models/psql/userModel.js +0 -387
- package/dist/src/models/psql/userPayoutDetailsModel.js +0 -157
- package/dist/src/models/psql/userPayoutHistoryModel.js +0 -150
- package/dist/src/models/psql/userPayoutModel.js +0 -311
- package/dist/src/models/psql/userProjectAssessmentOptionModel.js +0 -121
- package/dist/src/models/psql/userRequiredStepsModel.js +0 -73
- package/dist/src/models/psql/vehicleModel.js +0 -105
- package/dist/src/models/psql/vendorManagementModel.js +0 -174
- package/dist/src/models/psql/walletHistoryModel.js +0 -97
- package/dist/src/models/psql/walletModel.js +0 -88
- package/dist/src/models/psql/workingDayModel.js +0 -74
- package/dist/src/models/psql/workingShiftModel.js +0 -87
- package/dist/src/services/Concrete/mongooseCommonService.js +0 -104
- package/dist/src/services/Concrete/sequelizeCommanService.js +0 -120
- package/dist/src/services/Contracts/IMongooseCommonService.js +0 -1
- package/dist/src/services/Contracts/ISequelizeCommonService.js +0 -1
- package/dist/src/types/academicCalendarType.js +0 -1
- package/dist/src/types/accountHasReceiptDetailsType.js +0 -1
- package/dist/src/types/announcementType.js +0 -1
- package/dist/src/types/approveRequestType.js +0 -1
- package/dist/src/types/areaType.js +0 -1
- package/dist/src/types/attendanceType.js +0 -1
- package/dist/src/types/bankAccountDetailsType.js +0 -1
- package/dist/src/types/bannerType.js +0 -1
- package/dist/src/types/batchSubjectBookAssessmentType.js +0 -1
- package/dist/src/types/batchSubjectProjectAssessmentType.js +0 -1
- package/dist/src/types/batchType.js +0 -1
- package/dist/src/types/blogType.js +0 -1
- package/dist/src/types/bookAssessmentDateType.js +0 -1
- package/dist/src/types/careerType.js +0 -1
- package/dist/src/types/categoriesType.js +0 -1
- package/dist/src/types/certificatesHistoryType.js +0 -1
- package/dist/src/types/certificatesManagementType.js +0 -1
- package/dist/src/types/classRoomType.js +0 -1
- package/dist/src/types/cloudStorageType.js +0 -1
- package/dist/src/types/coinPurchaseOfferType.js +0 -1
- package/dist/src/types/commonType.js +0 -1
- package/dist/src/types/contactFeedBackType.js +0 -1
- package/dist/src/types/courseHasVisitorsType.js +0 -1
- package/dist/src/types/courseType.js +0 -1
- package/dist/src/types/dailyBookType.js +0 -1
- package/dist/src/types/dashboardManagementType.js +0 -1
- package/dist/src/types/driverType.js +0 -1
- package/dist/src/types/entityGroupType.js +0 -1
- package/dist/src/types/eventType.js +0 -1
- package/dist/src/types/examGroupType.js +0 -1
- package/dist/src/types/examHasAnswerSheetType.js +0 -1
- package/dist/src/types/examType.js +0 -1
- package/dist/src/types/facilityType.js +0 -1
- package/dist/src/types/featureActionType.js +0 -1
- package/dist/src/types/feeHistoryDetailsType.js +0 -1
- package/dist/src/types/feeHistoryType.js +0 -1
- package/dist/src/types/feeReminderSettingType.js +0 -1
- package/dist/src/types/feeReminderType.js +0 -1
- package/dist/src/types/feeReminderTypeType.js +0 -1
- package/dist/src/types/feeTypeHasTermsType.js +0 -1
- package/dist/src/types/feeTypeType.js +0 -1
- package/dist/src/types/feedBackType.js +0 -1
- package/dist/src/types/feesCollectionType.js +0 -1
- package/dist/src/types/fileStorageType.js +0 -1
- package/dist/src/types/floormanagementType.js +0 -1
- package/dist/src/types/generateIdCardType.js +0 -1
- package/dist/src/types/greetingsType.js +0 -1
- package/dist/src/types/holidayType.js +0 -2
- package/dist/src/types/homeWorkType.js +0 -1
- package/dist/src/types/informationSupportType.js +0 -1
- package/dist/src/types/inquiryType.js +0 -1
- package/dist/src/types/instituteEntityType.js +0 -1
- package/dist/src/types/instituteEntityTypeType.js +0 -1
- package/dist/src/types/instituteSubscriptionPlanType.js +0 -1
- package/dist/src/types/instituteType.js +0 -1
- package/dist/src/types/inventoryHistoryType.js +0 -1
- package/dist/src/types/inventoryType.js +0 -1
- package/dist/src/types/jobApply.js +0 -1
- package/dist/src/types/lectureHistoryType.js +0 -1
- package/dist/src/types/lectureType.js +0 -1
- package/dist/src/types/masterLeaveType.js +0 -1
- package/dist/src/types/moduleFeatureType.js +0 -1
- package/dist/src/types/moduleType.js +0 -1
- package/dist/src/types/offerType.js +0 -1
- package/dist/src/types/paymentTermsType.js +0 -2
- package/dist/src/types/pdcChequeType.js +0 -1
- package/dist/src/types/pdcHistoryType.js +0 -1
- package/dist/src/types/photosGalleryType.js +0 -1
- package/dist/src/types/plannerType.js +0 -1
- package/dist/src/types/productType.js +0 -1
- package/dist/src/types/projectAssessmentOptionType.js +0 -1
- package/dist/src/types/roleType.js +0 -1
- package/dist/src/types/rulesRegulationType.js +0 -1
- package/dist/src/types/schoolFeeCollectionType.js +0 -1
- package/dist/src/types/schoolFeeType.js +0 -1
- package/dist/src/types/schoolOfferType.js +0 -1
- package/dist/src/types/sendNotificationType.js +0 -1
- package/dist/src/types/slotType.js +0 -1
- package/dist/src/types/subCategoryType.js +0 -1
- package/dist/src/types/subjectHasFeeType.js +0 -1
- package/dist/src/types/subjectHasPayFeeHistoryType.js +0 -1
- package/dist/src/types/subjectIndexType.js +0 -1
- package/dist/src/types/subscriptionPlanType.js +0 -1
- package/dist/src/types/syllabusType.js +0 -1
- package/dist/src/types/taskManagementType.js +0 -1
- package/dist/src/types/testimonialType.js +0 -1
- package/dist/src/types/toDoType.js +0 -1
- package/dist/src/types/tripType.js +0 -1
- package/dist/src/types/typeManagementType.js +0 -1
- package/dist/src/types/uniqueNumberCounterType.js +0 -1
- package/dist/src/types/userBookAssessmentType.js +0 -1
- package/dist/src/types/userDetailsType.js +0 -1
- package/dist/src/types/userFeeTypeByAccountType.js +0 -1
- package/dist/src/types/userFeeTypeType.js +0 -1
- package/dist/src/types/userHasAnnouncementType.js +0 -1
- package/dist/src/types/userHasBatchType.js +0 -1
- package/dist/src/types/userHasCourseType.js +0 -1
- package/dist/src/types/userHasDeviceType.js +0 -1
- package/dist/src/types/userHasFeeTermsType.js +0 -1
- package/dist/src/types/userHasFileType.js +0 -1
- package/dist/src/types/userHasHomeWorkType.js +0 -1
- package/dist/src/types/userHasInventoryHistoryType.js +0 -1
- package/dist/src/types/userHasInventoryType.js +0 -1
- package/dist/src/types/userHasLeaveHistoryType.js +0 -1
- package/dist/src/types/userHasLeaveType.js +0 -1
- package/dist/src/types/userHasOffer.js +0 -1
- package/dist/src/types/userHasParentType.js +0 -1
- package/dist/src/types/userHasRoleType.js +0 -1
- package/dist/src/types/userHasRollNumberType.js +0 -1
- package/dist/src/types/userHasStorageType.js +0 -1
- package/dist/src/types/userHasSubjectFeeType.js +0 -1
- package/dist/src/types/userInstituteMetaType.js +0 -1
- package/dist/src/types/userLeaveRequestType.js +0 -1
- package/dist/src/types/userMetaType.js +0 -1
- package/dist/src/types/userPayoutDetailsType.js +0 -1
- package/dist/src/types/userPayoutHistoryType.js +0 -1
- package/dist/src/types/userPayoutType.js +0 -1
- package/dist/src/types/userProjectAssessmentOptionType.js +0 -1
- package/dist/src/types/userRequiredStepsType.js +0 -1
- package/dist/src/types/userSchoolMetaType.js +0 -1
- package/dist/src/types/userType.js +0 -1
- package/dist/src/types/vehicleType.js +0 -1
- package/dist/src/types/vendorType.js +0 -1
- package/dist/src/types/videoAnalystType.js +0 -1
- package/dist/src/types/walletHistoryType.js +0 -1
- package/dist/src/types/walletTransactionType.js +0 -1
- package/dist/src/types/walletType.js +0 -1
- package/dist/src/types/workingDayType.js +0 -1
- package/dist/src/types/workingShiftType.js +0 -1
- /package/dist/{src/configs → configs}/aws.d.ts +0 -0
- /package/dist/{src/configs → configs}/env.d.ts +0 -0
- /package/dist/{src/configs → configs}/postgresConfig.d.ts +0 -0
- /package/dist/{src/constants → constants}/app.d.ts +0 -0
- /package/dist/{src/constants → constants}/defaultModelAttributes.d.ts +0 -0
- /package/dist/{src/constants → constants}/errorMessages.d.ts +0 -0
- /package/dist/{src/constants → constants}/httpStatusCode.d.ts +0 -0
- /package/dist/{src/constants → constants}/successMessages.d.ts +0 -0
- /package/dist/{src/db → db}/mongodb.d.ts +0 -0
- /package/dist/{src/db → db}/postgres.d.ts +0 -0
- /package/dist/{src/db → db}/psql/index.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20241225101052-add-deleted-by-and-deleted-at-fields.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250106070945-add-user-fields-and-deleted-user-fields.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250106080059-add-fields-and-deleted-fields.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250108092439-update-batch-model-fields.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250210102846-add-profileImage-coverImage-to-users.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250211071743-add-action-user-has-histroy.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250213140815-add-assignQuantity-user-has-histroy.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250214072626-add-middlename-user.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250224085333-add-apptype-in-user.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250226053006-add-brouchure-in-institute.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250227123530-add-defult-in-fee-reminder.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250304052831-add-institued-in-school-data-clm.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250306053557-add-shifyId-in-batch.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250311044606-add-institued-in-school-data-clm-subtype.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250402090653-add-user-area.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250407094125-update-type-in-typeManagement.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250409105229-add-user-type-in-role.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250419071236-fee_histroy_add_school_clm.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250419085334-fee_histroy_add_school_clm.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250421085618-add-entityIds-field-in-announcements.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250422114032-add-account.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250423051841-add-master-leave-clm.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250423064522-update-calender-enum.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250423093827-update-institued-district.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250424044755-update-fee-history-feeTyps-clm.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250424053841-update-fee-history-key.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250426070309-update-banner-clm-userType.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250505035157-update-fee-collection-clm-add.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250505082924-update-banner-clm.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250505094616-about-as-clm-in-institued.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250506070110-add-dayOfWeek-clm-in-working-model.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250509055920-add-feecollection-isleft-clm.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250513061037-add-techer-clm-batch.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250514101801-add-slotId-workingShif.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250516062917-add-globalId-clm-user-model.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250516063542-add-globalId-clm-institute-model.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250520061231-add-institued_mobile_person_data.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250522044729-add-institued_update_add_2.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250526035543-add-totalQuantity_add_remainingQuantiy_clm_userHasInventoryHistory.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250526093322-add-appType_clm_in_module.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250526094030-add-appType_clm_in_action.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250526094233-add-appType_clm_in_module_features.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250527065001-add-app-type-in-role-model.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250528045906-add-module-type-to-notifications.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250602090331-add-or-update-user-model-medicalHistory.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250602100550-add-planner-sync-status-to-institute.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250603054900-add-clm-for-defult-data-add-or-not-in-ins-model.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250604103905-add-is-institute-default-field-in-role.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250604121051-update-mobile-number-opstion.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250617064159-update-type-management-jun-17.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250627065013-is-institute-default-added-type-managemente.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250701095321-add-clm-institute-pdfId.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250704102117-add-clm-isDefult-in-typeManagemet.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250715103324-add-academic-calendar-id-to-batches.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250715121047-remove-batch-id-from-academic-calendars.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250716131731-rename-user-id-to-primary-user-id.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250717092933-add-floor-id-to-class-rooms.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250718121251-add-clm-classroom-typeid.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250721065317-add-instituteId-fileSize-to-fileStorage.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250721100004-add-shift-slot-id-to-lectures.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250721105455-add-clm-classroom-add-classroomnumber.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250722071836-add-title-to-floor-management.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250723150111-add-clm-batch-slotId.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250724062458-update_classRoom_number_clm_to_string.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250725132424-add-unique-index-on-instituteId-name-type.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250730104844-update-unique-key-assessment-type.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250804090437-update_ins_in_pdf_id_string_to_uuid.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250805062440-remove_unique_key_into_batch_subject_project_assessments.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250805115805-add-descriptions-to-lectures.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250808100700-add_clm_contectFeed_in_ins_givenId.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250808101515-add-sequence-to-institute_entities.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250812080521-add-title-and-descriptions-to-batch-subject-project-assessments.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250820092836-add-sequence-number-to-institute-entities.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250829103203-remove-syllabus-composit-index.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250905132024-add-uuid-to-users.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250908054025-userHasOffer_model_update.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250908054754-offer_in_add_offertype_clm.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250909061117-add-instituteId-isDefault-to-entityGroup.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250911060106-change-wallet-history-columns-to-float.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250911060245-change-coin-to-float-in-wallets.d.ts +0 -0
- /package/dist/{src/db → db}/psql/migrations/20250917135646-change-storageInBytes-to-float.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/20240809100759-add-countries-states-cities.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/20250101122757-add-default-permissions-modules.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/AcademicCalendarModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/AdministrativeStaffModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/AnnouncementsModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/AssetsModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/AttendanceModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/BannerModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/BatchModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/BoardModule .d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/BookAssessmentsModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/CategoriesModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/ClassroomModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/DivisionModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/EventModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/ExamsAndResultsModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/FacilityModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/FeeAndDiscountModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/FeedBackModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/FileModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/GenerateIdModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/HolidayModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/HomeworkModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/IndexModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/InquiryModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/InstituteModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/InventoryModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/JobApplyModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/LectureModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/ParentModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/PayoutModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/PdcChequesModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/PhotosGalleryModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/PlannerModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/ProjectAssessmentsModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/ReplaceTeacherModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/RoleModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/RollNumberModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/SchoolFeeModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/SchoolModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/SchoolRegistration.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/SettingsModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/StaffTimingModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/StudentModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/SubjectModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/SyllabusManagementModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/TeacherModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/TestimonialsModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/TimetableModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/To-doModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/TypeManagementModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/UserModule.d.ts +0 -0
- /package/dist/{src/db → db}/psql/seeders/Data/appType.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/s3Uploader.d.ts +0 -0
- /package/dist/{src/helpers → helpers}/utils.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/academicCalendarInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/accountHasReceiptDetailsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/announcementInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/approvalRequestInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/areaInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/attendanceInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/bankAccountDetailsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/bannerInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/batchInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/batchSubjectBookAssessmentInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/batchSubjectProjectAssessmentInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/blogInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/bookAssessmentDateInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/careerInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/categoriesInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/certificatesHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/certificatesManagementInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/cityInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/classRoomInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/cloudStorageInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/coinPurchaseOfferInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/columnInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/commanInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/contactFeedBackInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/countryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/courseHasVisitorsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/courseInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/dailyBookInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/dashboardManagementInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/driverInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/entityGroupInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/eventInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/examGroupInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/examHasAnswerSheetInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/examInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/facilityInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/featureActionInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/feeHistoryDetailsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/feeHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/feeReminderInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/feeReminderSettingInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/feeReminderTypeInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/feeTypeHasTermsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/feeTypeInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/feedBackInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/feesCollectionInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/fileStorageInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/floorManagementInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/generateIdCardInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/greetingsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/holidayInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/homeworkInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/informationSupportInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/inquiryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/instituteEntityInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/instituteEntityTypeInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/instituteInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/instituteSubscriptionPlanInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/inventoryHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/inventoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/invoiceInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/jobApplyInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/lectureHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/lectureInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/masterLeaveInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/moduleFeatureInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/moduleInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/offersInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/paymentTermsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/pdcChequeInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/pdcHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/photosGalleryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/pincodeInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/plannerInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/productInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/projectAssessmentOptionInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/replaceTeacherInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/roleInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/rulesRegulationInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/schoolFeeCollectionInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/schoolFeeInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/schoolOfferInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/sendNotificationInerface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/slotInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/stateInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/subCategoriesInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/subjectHasFeeInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/subjectHasPayFeeHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/subjectIndexInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/subscriptionPlanInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/syllabusInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/taskManagementInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/testimonialInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/toDoInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/tokenInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/tripInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/typeManagementInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/uniqueNumberCounterInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userBookAssessmentInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userDetailsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userFeeTypeByAccountInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userFeeTypeInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasAnnouncementInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasBatchInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasCourseInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasDeviceInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasFeeTermsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasFileInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasHomeWorkInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasInventoryHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasInventoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasLeaveHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasLeaveInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasOfferInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasParentInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasRoleInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasRollNumberInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasStorageInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userHasSubjectFeeInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userInstituteMetaInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userLeaveRequestInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userMetaInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userPayoutDetailsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userPayoutHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userPayoutInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userProjectAssessmentOptionInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userRequiredStepsInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/userSchoolMetaInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/vehicleInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/vendorManagementInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/videoAnalystInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/walletHistoryInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/walletInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/walletTransactionInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/workingDayInterface.d.ts +0 -0
- /package/dist/{src/interfaces → interfaces}/workingShiftInterface.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/approvalRequestModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/attendanceModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/blogModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/careerModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/certificatesHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/certificatesManagementModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/columnModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/dailyBookModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/dashboardManagementModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/eventModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/examGroupModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/examHasAnswerSheetModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/examModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/feeReminderTypeModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/feedBackModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/generateIdCardModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/holidayModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/index.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/informationSupportModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/inquiryModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/invoiceModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/jobApplyModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/photosGalleryModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/plannerModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/plugin/addDefaultAttributesPlugin.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/plugin/transformIdInQueryPlugin.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/plugin/transformIdInResponsePlugin.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/replaceTeacherModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/schoolFeeModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/subjectIndexModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/subscriptionPlanModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/taskManagementModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/uniqueNumberCounterModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/userDetailsModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/userDoc.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/userInstituteMetaModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/userSchoolMetaModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/videoAnalystModel.d.ts +0 -0
- /package/dist/{src/models → models}/mongodb/walletTransactionModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/SubCategoriesModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/academicCalendarModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/accountHasReceiptDetailsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/announcementModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/areaModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/bankAccountDetailsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/bannerModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/batchModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/batchSubjectBookAssessmentModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/batchSubjectProjectAssessmentModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/bookAssessmentDateModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/categoriesModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/cityModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/classRoomModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/cloudStorageModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/coinPurchaseOfferModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/contactFeedBackModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/countryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/courseHasVisitorsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/courseModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/driverModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/entityGroupModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/facilityModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/featureActionModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/feeHistoryDetailsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/feeHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/feeReminderModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/feeReminderSettingModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/feeTypeHasTermsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/feeTypeModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/feesCollectionModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/fileStorageModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/floorManagementModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/greetingsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/homeWorkModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/index.d.ts +0 -0
- /package/dist/{src/models → models}/psql/instituteEntityModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/instituteEntityTypeModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/instituteModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/instituteSubscriptionPlanModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/inventoryHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/inventoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/lectureHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/lectureModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/masterLeaveModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/moduleFeatureModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/moduleModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/offerModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/paymentTermsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/pdcChequeModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/pdcHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/pincodeModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/productModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/projectAssessmentOptionModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/roleModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/rulesRegulationModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/schoolFeeCollectionModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/schoolOfferModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/sendNotificationModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/slotModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/stateModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/subjectHasFeeModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/subjectHasPayFeeHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/syllabusModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/testimonialModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/toDoModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/tokenModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/tripModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/typeManagementModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userBookAssessmentModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userFeeTypeByAccountModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userFeeTypeModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasAnnouncementModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasBatchModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasCourseModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasDeviceModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasFeeTermsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasFileModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasHomeWorkModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasInventoryHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasInventoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasLeaveHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasLeaveModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasOfferModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasParentModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasRoleModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasRollNumberModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasStorageModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userHasSubjectFeeModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userLeaveRequestModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userPayoutDetailsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userPayoutHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userPayoutModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userProjectAssessmentOptionModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/userRequiredStepsModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/vehicleModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/vendorManagementModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/walletHistoryModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/walletModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/workingDayModel.d.ts +0 -0
- /package/dist/{src/models → models}/psql/workingShiftModel.d.ts +0 -0
- /package/dist/{src/services → services}/Concrete/mongooseCommonService.d.ts +0 -0
- /package/dist/{src/services → services}/Concrete/sequelizeCommanService.d.ts +0 -0
- /package/dist/{src/services → services}/Contracts/IMongooseCommonService.d.ts +0 -0
- /package/dist/{src/services → services}/Contracts/ISequelizeCommonService.d.ts +0 -0
- /package/dist/{src/types → types}/academicCalendarType.d.ts +0 -0
- /package/dist/{src/types → types}/accountHasReceiptDetailsType.d.ts +0 -0
- /package/dist/{src/types → types}/announcementType.d.ts +0 -0
- /package/dist/{src/types → types}/approveRequestType.d.ts +0 -0
- /package/dist/{src/types → types}/areaType.d.ts +0 -0
- /package/dist/{src/types → types}/attendanceType.d.ts +0 -0
- /package/dist/{src/types → types}/bankAccountDetailsType.d.ts +0 -0
- /package/dist/{src/types → types}/bannerType.d.ts +0 -0
- /package/dist/{src/types → types}/batchSubjectBookAssessmentType.d.ts +0 -0
- /package/dist/{src/types → types}/batchSubjectProjectAssessmentType.d.ts +0 -0
- /package/dist/{src/types → types}/batchType.d.ts +0 -0
- /package/dist/{src/types → types}/blogType.d.ts +0 -0
- /package/dist/{src/types → types}/bookAssessmentDateType.d.ts +0 -0
- /package/dist/{src/types → types}/careerType.d.ts +0 -0
- /package/dist/{src/types → types}/categoriesType.d.ts +0 -0
- /package/dist/{src/types → types}/certificatesHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/certificatesManagementType.d.ts +0 -0
- /package/dist/{src/types → types}/classRoomType.d.ts +0 -0
- /package/dist/{src/types → types}/cloudStorageType.d.ts +0 -0
- /package/dist/{src/types → types}/coinPurchaseOfferType.d.ts +0 -0
- /package/dist/{src/types → types}/commonType.d.ts +0 -0
- /package/dist/{src/types → types}/contactFeedBackType.d.ts +0 -0
- /package/dist/{src/types → types}/courseHasVisitorsType.d.ts +0 -0
- /package/dist/{src/types → types}/courseType.d.ts +0 -0
- /package/dist/{src/types → types}/dailyBookType.d.ts +0 -0
- /package/dist/{src/types → types}/dashboardManagementType.d.ts +0 -0
- /package/dist/{src/types → types}/driverType.d.ts +0 -0
- /package/dist/{src/types → types}/entityGroupType.d.ts +0 -0
- /package/dist/{src/types → types}/eventType.d.ts +0 -0
- /package/dist/{src/types → types}/examGroupType.d.ts +0 -0
- /package/dist/{src/types → types}/examHasAnswerSheetType.d.ts +0 -0
- /package/dist/{src/types → types}/examType.d.ts +0 -0
- /package/dist/{src/types → types}/facilityType.d.ts +0 -0
- /package/dist/{src/types → types}/featureActionType.d.ts +0 -0
- /package/dist/{src/types → types}/feeHistoryDetailsType.d.ts +0 -0
- /package/dist/{src/types → types}/feeHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/feeReminderSettingType.d.ts +0 -0
- /package/dist/{src/types → types}/feeReminderType.d.ts +0 -0
- /package/dist/{src/types → types}/feeReminderTypeType.d.ts +0 -0
- /package/dist/{src/types → types}/feeTypeHasTermsType.d.ts +0 -0
- /package/dist/{src/types → types}/feeTypeType.d.ts +0 -0
- /package/dist/{src/types → types}/feedBackType.d.ts +0 -0
- /package/dist/{src/types → types}/feesCollectionType.d.ts +0 -0
- /package/dist/{src/types → types}/fileStorageType.d.ts +0 -0
- /package/dist/{src/types → types}/floormanagementType.d.ts +0 -0
- /package/dist/{src/types → types}/generateIdCardType.d.ts +0 -0
- /package/dist/{src/types → types}/greetingsType.d.ts +0 -0
- /package/dist/{src/types → types}/holidayType.d.ts +0 -0
- /package/dist/{src/types → types}/homeWorkType.d.ts +0 -0
- /package/dist/{src/types → types}/informationSupportType.d.ts +0 -0
- /package/dist/{src/types → types}/inquiryType.d.ts +0 -0
- /package/dist/{src/types → types}/instituteEntityType.d.ts +0 -0
- /package/dist/{src/types → types}/instituteEntityTypeType.d.ts +0 -0
- /package/dist/{src/types → types}/instituteSubscriptionPlanType.d.ts +0 -0
- /package/dist/{src/types → types}/instituteType.d.ts +0 -0
- /package/dist/{src/types → types}/inventoryHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/inventoryType.d.ts +0 -0
- /package/dist/{src/types → types}/jobApply.d.ts +0 -0
- /package/dist/{src/types → types}/lectureHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/lectureType.d.ts +0 -0
- /package/dist/{src/types → types}/masterLeaveType.d.ts +0 -0
- /package/dist/{src/types → types}/moduleFeatureType.d.ts +0 -0
- /package/dist/{src/types → types}/moduleType.d.ts +0 -0
- /package/dist/{src/types → types}/offerType.d.ts +0 -0
- /package/dist/{src/types → types}/paymentTermsType.d.ts +0 -0
- /package/dist/{src/types → types}/pdcChequeType.d.ts +0 -0
- /package/dist/{src/types → types}/pdcHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/photosGalleryType.d.ts +0 -0
- /package/dist/{src/types → types}/plannerType.d.ts +0 -0
- /package/dist/{src/types → types}/productType.d.ts +0 -0
- /package/dist/{src/types → types}/projectAssessmentOptionType.d.ts +0 -0
- /package/dist/{src/types → types}/roleType.d.ts +0 -0
- /package/dist/{src/types → types}/rulesRegulationType.d.ts +0 -0
- /package/dist/{src/types → types}/schoolFeeCollectionType.d.ts +0 -0
- /package/dist/{src/types → types}/schoolFeeType.d.ts +0 -0
- /package/dist/{src/types → types}/schoolOfferType.d.ts +0 -0
- /package/dist/{src/types → types}/sendNotificationType.d.ts +0 -0
- /package/dist/{src/types → types}/slotType.d.ts +0 -0
- /package/dist/{src/types → types}/subCategoryType.d.ts +0 -0
- /package/dist/{src/types → types}/subjectHasFeeType.d.ts +0 -0
- /package/dist/{src/types → types}/subjectHasPayFeeHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/subjectIndexType.d.ts +0 -0
- /package/dist/{src/types → types}/subscriptionPlanType.d.ts +0 -0
- /package/dist/{src/types → types}/syllabusType.d.ts +0 -0
- /package/dist/{src/types → types}/taskManagementType.d.ts +0 -0
- /package/dist/{src/types → types}/testimonialType.d.ts +0 -0
- /package/dist/{src/types → types}/toDoType.d.ts +0 -0
- /package/dist/{src/types → types}/tripType.d.ts +0 -0
- /package/dist/{src/types → types}/typeManagementType.d.ts +0 -0
- /package/dist/{src/types → types}/uniqueNumberCounterType.d.ts +0 -0
- /package/dist/{src/types → types}/userBookAssessmentType.d.ts +0 -0
- /package/dist/{src/types → types}/userDetailsType.d.ts +0 -0
- /package/dist/{src/types → types}/userFeeTypeByAccountType.d.ts +0 -0
- /package/dist/{src/types → types}/userFeeTypeType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasAnnouncementType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasBatchType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasCourseType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasDeviceType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasFeeTermsType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasFileType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasHomeWorkType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasInventoryHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasInventoryType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasLeaveHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasLeaveType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasOffer.d.ts +0 -0
- /package/dist/{src/types → types}/userHasParentType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasRoleType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasRollNumberType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasStorageType.d.ts +0 -0
- /package/dist/{src/types → types}/userHasSubjectFeeType.d.ts +0 -0
- /package/dist/{src/types → types}/userInstituteMetaType.d.ts +0 -0
- /package/dist/{src/types → types}/userLeaveRequestType.d.ts +0 -0
- /package/dist/{src/types → types}/userMetaType.d.ts +0 -0
- /package/dist/{src/types → types}/userPayoutDetailsType.d.ts +0 -0
- /package/dist/{src/types → types}/userPayoutHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/userPayoutType.d.ts +0 -0
- /package/dist/{src/types → types}/userProjectAssessmentOptionType.d.ts +0 -0
- /package/dist/{src/types → types}/userRequiredStepsType.d.ts +0 -0
- /package/dist/{src/types → types}/userSchoolMetaType.d.ts +0 -0
- /package/dist/{src/types → types}/userType.d.ts +0 -0
- /package/dist/{src/types → types}/vehicleType.d.ts +0 -0
- /package/dist/{src/types → types}/vendorType.d.ts +0 -0
- /package/dist/{src/types → types}/videoAnalystType.d.ts +0 -0
- /package/dist/{src/types → types}/walletHistoryType.d.ts +0 -0
- /package/dist/{src/types → types}/walletTransactionType.d.ts +0 -0
- /package/dist/{src/types → types}/walletType.d.ts +0 -0
- /package/dist/{src/types → types}/workingDayType.d.ts +0 -0
- /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
|
-
};
|