@kipicore/dbcore 1.0.9 → 1.1.0
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/scripts/fix-import-extensions.d.ts +1 -0
- package/dist/scripts/fix-import-extensions.js +28 -0
- package/dist/scripts/generate-index.d.ts +1 -0
- package/dist/scripts/generate-index.js +38 -0
- package/dist/src/configs/aws.d.ts +2 -0
- package/dist/src/configs/aws.js +9 -0
- package/dist/src/configs/env.d.ts +15 -0
- package/dist/src/configs/env.js +44 -0
- package/dist/src/configs/postgresConfig.d.ts +8 -0
- package/dist/src/configs/postgresConfig.js +32 -0
- package/dist/src/constants/app.d.ts +848 -0
- package/dist/src/constants/app.js +1067 -0
- package/dist/src/constants/defaultModelAttributes.d.ts +17 -0
- package/dist/src/constants/defaultModelAttributes.js +18 -0
- package/dist/src/constants/errorMessages.d.ts +1055 -0
- package/dist/src/constants/errorMessages.js +1161 -0
- package/dist/src/constants/httpStatusCode.d.ts +26 -0
- package/dist/src/constants/httpStatusCode.js +27 -0
- package/dist/src/constants/successMessages.d.ts +699 -0
- package/dist/src/constants/successMessages.js +807 -0
- package/dist/src/db/mongodb.d.ts +1 -0
- package/dist/src/db/mongodb.js +17 -0
- package/dist/src/db/postgres.d.ts +2 -0
- package/dist/src/db/postgres.js +14 -0
- package/dist/src/db/psql/index.d.ts +16 -0
- package/dist/src/db/psql/index.js +105 -0
- package/dist/src/db/psql/migrations/20241225101052-add-deleted-by-and-deleted-at-fields.d.ts +2 -0
- package/dist/src/db/psql/migrations/20241225101052-add-deleted-by-and-deleted-at-fields.js +72 -0
- package/dist/src/db/psql/migrations/20250106070945-add-user-fields-and-deleted-user-fields.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250106070945-add-user-fields-and-deleted-user-fields.js +34 -0
- package/dist/src/db/psql/migrations/20250106080059-add-fields-and-deleted-fields.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250106080059-add-fields-and-deleted-fields.js +95 -0
- package/dist/src/db/psql/migrations/20250108092439-update-batch-model-fields.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250108092439-update-batch-model-fields.js +39 -0
- package/dist/src/db/psql/migrations/20250210102846-add-profileImage-coverImage-to-users.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250210102846-add-profileImage-coverImage-to-users.js +103 -0
- package/dist/src/db/psql/migrations/20250211071743-add-action-user-has-histroy.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250211071743-add-action-user-has-histroy.js +77 -0
- package/dist/src/db/psql/migrations/20250213140815-add-assignQuantity-user-has-histroy.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250213140815-add-assignQuantity-user-has-histroy.js +81 -0
- package/dist/src/db/psql/migrations/20250214072626-add-middlename-user.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250214072626-add-middlename-user.js +81 -0
- package/dist/src/db/psql/migrations/20250224085333-add-apptype-in-user.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250224085333-add-apptype-in-user.js +79 -0
- package/dist/src/db/psql/migrations/20250226053006-add-brouchure-in-institute.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250226053006-add-brouchure-in-institute.js +81 -0
- package/dist/src/db/psql/migrations/20250227123530-add-defult-in-fee-reminder.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250227123530-add-defult-in-fee-reminder.js +79 -0
- package/dist/src/db/psql/migrations/20250304052831-add-institued-in-school-data-clm.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250304052831-add-institued-in-school-data-clm.js +113 -0
- package/dist/src/db/psql/migrations/20250306053557-add-shifyId-in-batch.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250306053557-add-shifyId-in-batch.js +87 -0
- package/dist/src/db/psql/migrations/20250311044606-add-institued-in-school-data-clm-subtype.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250311044606-add-institued-in-school-data-clm-subtype.js +44 -0
- package/dist/src/db/psql/migrations/20250402090653-add-user-area.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250402090653-add-user-area.js +95 -0
- package/dist/src/db/psql/migrations/20250407094125-update-type-in-typeManagement.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250407094125-update-type-in-typeManagement.js +65 -0
- package/dist/src/db/psql/migrations/20250409105229-add-user-type-in-role.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250409105229-add-user-type-in-role.js +56 -0
- package/dist/src/db/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.js +17 -0
- package/dist/src/db/psql/migrations/20250419071236-fee_histroy_add_school_clm.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250419071236-fee_histroy_add_school_clm.js +135 -0
- package/dist/src/db/psql/migrations/20250419085334-fee_histroy_add_school_clm.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250419085334-fee_histroy_add_school_clm.js +87 -0
- package/dist/src/db/psql/migrations/20250421085618-add-entityIds-field-in-announcements.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250421085618-add-entityIds-field-in-announcements.js +82 -0
- package/dist/src/db/psql/migrations/20250422114032-add-account.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250422114032-add-account.js +87 -0
- package/dist/src/db/psql/migrations/20250423051841-add-master-leave-clm.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250423051841-add-master-leave-clm.js +72 -0
- package/dist/src/db/psql/migrations/20250423064522-update-calender-enum.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250423064522-update-calender-enum.js +35 -0
- package/dist/src/db/psql/migrations/20250423093827-update-institued-district.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250423093827-update-institued-district.js +79 -0
- package/dist/src/db/psql/migrations/20250424044755-update-fee-history-feeTyps-clm.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250424044755-update-fee-history-feeTyps-clm.js +35 -0
- package/dist/src/db/psql/migrations/20250424053841-update-fee-history-key.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250424053841-update-fee-history-key.js +35 -0
- package/dist/src/db/psql/migrations/20250426070309-update-banner-clm-userType.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250426070309-update-banner-clm-userType.js +56 -0
- package/dist/src/db/psql/migrations/20250505035157-update-fee-collection-clm-add.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250505035157-update-fee-collection-clm-add.js +87 -0
- package/dist/src/db/psql/migrations/20250505082924-update-banner-clm.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250505082924-update-banner-clm.js +19 -0
- package/dist/src/db/psql/migrations/20250505094616-about-as-clm-in-institued.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250505094616-about-as-clm-in-institued.js +17 -0
- package/dist/src/db/psql/migrations/20250506070110-add-dayOfWeek-clm-in-working-model.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250506070110-add-dayOfWeek-clm-in-working-model.js +81 -0
- package/dist/src/db/psql/migrations/20250509055920-add-feecollection-isleft-clm.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250509055920-add-feecollection-isleft-clm.js +81 -0
- package/dist/src/db/psql/migrations/20250513061037-add-techer-clm-batch.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250513061037-add-techer-clm-batch.js +89 -0
- package/dist/src/db/psql/migrations/20250514101801-add-slotId-workingShif.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250514101801-add-slotId-workingShif.js +87 -0
- package/dist/src/db/psql/migrations/20250516062917-add-globalId-clm-user-model.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250516062917-add-globalId-clm-user-model.js +81 -0
- package/dist/src/db/psql/migrations/20250516063542-add-globalId-clm-institute-model.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250516063542-add-globalId-clm-institute-model.js +81 -0
- package/dist/src/db/psql/migrations/20250520061231-add-institued_mobile_person_data.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250520061231-add-institued_mobile_person_data.js +117 -0
- package/dist/src/db/psql/migrations/20250522044729-add-institued_update_add_2.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250522044729-add-institued_update_add_2.js +17 -0
- package/dist/src/db/psql/migrations/20250526035543-add-totalQuantity_add_remainingQuantiy_clm_userHasInventoryHistory.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250526035543-add-totalQuantity_add_remainingQuantiy_clm_userHasInventoryHistory.js +99 -0
- package/dist/src/db/psql/migrations/20250526093322-add-appType_clm_in_module.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250526093322-add-appType_clm_in_module.js +81 -0
- package/dist/src/db/psql/migrations/20250526094030-add-appType_clm_in_action.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250526094030-add-appType_clm_in_action.js +81 -0
- package/dist/src/db/psql/migrations/20250526094233-add-appType_clm_in_module_features.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250526094233-add-appType_clm_in_module_features.js +81 -0
- package/dist/src/db/psql/migrations/20250527065001-add-app-type-in-role-model.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250527065001-add-app-type-in-role-model.js +58 -0
- package/dist/src/db/psql/migrations/20250528045906-add-module-type-to-notifications.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250528045906-add-module-type-to-notifications.js +14 -0
- package/dist/src/db/psql/migrations/20250602090331-add-or-update-user-model-medicalHistory.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250602090331-add-or-update-user-model-medicalHistory.js +108 -0
- package/dist/src/db/psql/migrations/20250602100550-add-planner-sync-status-to-institute.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250602100550-add-planner-sync-status-to-institute.js +114 -0
- package/dist/src/db/psql/migrations/20250603054900-add-clm-for-defult-data-add-or-not-in-ins-model.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250603054900-add-clm-for-defult-data-add-or-not-in-ins-model.js +81 -0
- package/dist/src/db/psql/migrations/20250604103905-add-is-institute-default-field-in-role.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250604103905-add-is-institute-default-field-in-role.js +58 -0
- package/dist/src/db/psql/migrations/20250604121051-update-mobile-number-opstion.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250604121051-update-mobile-number-opstion.js +16 -0
- package/dist/src/db/psql/migrations/20250617064159-update-type-management-jun-17.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250617064159-update-type-management-jun-17.js +12 -0
- package/dist/src/db/psql/migrations/20250627065013-is-institute-default-added-type-managemente.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250627065013-is-institute-default-added-type-managemente.js +13 -0
- package/dist/src/db/psql/migrations/20250701095321-add-clm-institute-pdfId.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250701095321-add-clm-institute-pdfId.js +58 -0
- package/dist/src/db/psql/migrations/20250704102117-add-clm-isDefult-in-typeManagemet.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250704102117-add-clm-isDefult-in-typeManagemet.js +13 -0
- package/dist/src/db/psql/migrations/20250715103324-add-academic-calendar-id-to-batches.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250715103324-add-academic-calendar-id-to-batches.js +14 -0
- package/dist/src/db/psql/migrations/20250715121047-remove-batch-id-from-academic-calendars.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250715121047-remove-batch-id-from-academic-calendars.js +13 -0
- package/dist/src/db/psql/migrations/20250716131731-rename-user-id-to-primary-user-id.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250716131731-rename-user-id-to-primary-user-id.js +10 -0
- package/dist/src/db/psql/migrations/20250717092933-add-floor-id-to-class-rooms.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250717092933-add-floor-id-to-class-rooms.js +87 -0
- package/dist/src/db/psql/migrations/20250718121251-add-clm-classroom-typeid.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250718121251-add-clm-classroom-typeid.js +87 -0
- package/dist/src/db/psql/migrations/20250721065317-add-instituteId-fileSize-to-fileStorage.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250721065317-add-instituteId-fileSize-to-fileStorage.js +23 -0
- package/dist/src/db/psql/migrations/20250721100004-add-shift-slot-id-to-lectures.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250721100004-add-shift-slot-id-to-lectures.js +18 -0
- package/dist/src/db/psql/migrations/20250721105455-add-clm-classroom-add-classroomnumber.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250721105455-add-clm-classroom-add-classroomnumber.js +79 -0
- package/dist/src/db/psql/migrations/20250722071836-add-title-to-floor-management.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250722071836-add-title-to-floor-management.js +15 -0
- package/dist/src/db/psql/migrations/20250723150111-add-clm-batch-slotId.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250723150111-add-clm-batch-slotId.js +87 -0
- package/dist/src/db/psql/migrations/20250724062458-update_classRoom_number_clm_to_string.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250724062458-update_classRoom_number_clm_to_string.js +16 -0
- package/dist/src/db/psql/migrations/20250725132424-add-unique-index-on-instituteId-name-type.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250725132424-add-unique-index-on-instituteId-name-type.js +25 -0
- package/dist/src/db/psql/migrations/20250730104844-update-unique-key-assessment-type.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250730104844-update-unique-key-assessment-type.js +31 -0
- package/dist/src/db/psql/migrations/20250804090437-update_ins_in_pdf_id_string_to_uuid.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250804090437-update_ins_in_pdf_id_string_to_uuid.js +63 -0
- package/dist/src/db/psql/migrations/20250805062440-remove_unique_key_into_batch_subject_project_assessments.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250805062440-remove_unique_key_into_batch_subject_project_assessments.js +22 -0
- package/dist/src/db/psql/migrations/20250805115805-add-descriptions-to-lectures.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250805115805-add-descriptions-to-lectures.js +13 -0
- package/dist/src/db/psql/migrations/20250808100700-add_clm_contectFeed_in_ins_givenId.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250808100700-add_clm_contectFeed_in_ins_givenId.js +87 -0
- package/dist/src/db/psql/migrations/20250808101515-add-sequence-to-institute_entities.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250808101515-add-sequence-to-institute_entities.js +13 -0
- package/dist/src/db/psql/migrations/20250812080521-add-title-and-descriptions-to-batch-subject-project-assessments.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250812080521-add-title-and-descriptions-to-batch-subject-project-assessments.js +18 -0
- package/dist/src/db/psql/migrations/20250820092836-add-sequence-number-to-institute-entities.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250820092836-add-sequence-number-to-institute-entities.js +16 -0
- package/dist/src/db/psql/migrations/20250829103203-remove-syllabus-composit-index.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250829103203-remove-syllabus-composit-index.js +16 -0
- package/dist/src/db/psql/migrations/20250905132024-add-uuid-to-users.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250905132024-add-uuid-to-users.js +13 -0
- package/dist/src/db/psql/migrations/20250908054025-userHasOffer_model_update.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250908054025-userHasOffer_model_update.js +113 -0
- package/dist/src/db/psql/migrations/20250908054754-offer_in_add_offertype_clm.d.ts +3 -0
- package/dist/src/db/psql/migrations/20250908054754-offer_in_add_offertype_clm.js +71 -0
- package/dist/src/db/psql/migrations/20250909061117-add-instituteId-isDefault-to-entityGroup.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250909061117-add-instituteId-isDefault-to-entityGroup.js +18 -0
- package/dist/src/db/psql/migrations/20250911060106-change-wallet-history-columns-to-float.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250911060106-change-wallet-history-columns-to-float.js +40 -0
- package/dist/src/db/psql/migrations/20250911060245-change-coin-to-float-in-wallets.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250911060245-change-coin-to-float-in-wallets.js +18 -0
- package/dist/src/db/psql/migrations/20250917135646-change-storageInBytes-to-float.d.ts +2 -0
- package/dist/src/db/psql/migrations/20250917135646-change-storageInBytes-to-float.js +18 -0
- package/dist/src/db/psql/seeders/20240809100759-add-countries-states-cities.d.ts +2 -0
- package/dist/src/db/psql/seeders/20240809100759-add-countries-states-cities.js +64 -0
- package/dist/src/db/psql/seeders/20250101122757-add-default-permissions-modules.d.ts +2 -0
- package/dist/src/db/psql/seeders/20250101122757-add-default-permissions-modules.js +160 -0
- package/dist/src/db/psql/seeders/Data/AcademicCalendarModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/AcademicCalendarModule.js +24 -0
- package/dist/src/db/psql/seeders/Data/AdministrativeStaffModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/AdministrativeStaffModule.js +38 -0
- package/dist/src/db/psql/seeders/Data/AnnouncementsModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/AnnouncementsModule.js +50 -0
- package/dist/src/db/psql/seeders/Data/AssetsModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/AssetsModule.js +37 -0
- package/dist/src/db/psql/seeders/Data/AttendanceModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/AttendanceModule.js +57 -0
- package/dist/src/db/psql/seeders/Data/BannerModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/BannerModule.js +24 -0
- package/dist/src/db/psql/seeders/Data/BatchModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/BatchModule.js +34 -0
- package/dist/src/db/psql/seeders/Data/BoardModule .d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/BoardModule .js +18 -0
- package/dist/src/db/psql/seeders/Data/BookAssessmentsModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/BookAssessmentsModule.js +23 -0
- package/dist/src/db/psql/seeders/Data/CategoriesModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/CategoriesModule.js +18 -0
- package/dist/src/db/psql/seeders/Data/ClassroomModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/ClassroomModule.js +37 -0
- package/dist/src/db/psql/seeders/Data/DivisionModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/DivisionModule.js +25 -0
- package/dist/src/db/psql/seeders/Data/EventModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/EventModule.js +22 -0
- package/dist/src/db/psql/seeders/Data/ExamsAndResultsModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/ExamsAndResultsModule.js +113 -0
- package/dist/src/db/psql/seeders/Data/FacilityModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/FacilityModule.js +22 -0
- package/dist/src/db/psql/seeders/Data/FeeAndDiscountModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/FeeAndDiscountModule.js +239 -0
- package/dist/src/db/psql/seeders/Data/FeedBackModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/FeedBackModule.js +27 -0
- package/dist/src/db/psql/seeders/Data/FileModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/FileModule.js +38 -0
- package/dist/src/db/psql/seeders/Data/GenerateIdModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/GenerateIdModule.js +19 -0
- package/dist/src/db/psql/seeders/Data/HolidayModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/HolidayModule.js +22 -0
- package/dist/src/db/psql/seeders/Data/HomeworkModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/HomeworkModule.js +42 -0
- package/dist/src/db/psql/seeders/Data/IndexModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/IndexModule.js +97 -0
- package/dist/src/db/psql/seeders/Data/InquiryModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/InquiryModule.js +22 -0
- package/dist/src/db/psql/seeders/Data/InstituteModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/InstituteModule.js +63 -0
- package/dist/src/db/psql/seeders/Data/InventoryModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/InventoryModule.js +42 -0
- package/dist/src/db/psql/seeders/Data/JobApplyModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/JobApplyModule.js +22 -0
- package/dist/src/db/psql/seeders/Data/LectureModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/LectureModule.js +28 -0
- package/dist/src/db/psql/seeders/Data/ParentModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/ParentModule.js +38 -0
- package/dist/src/db/psql/seeders/Data/PayoutModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/PayoutModule.js +18 -0
- package/dist/src/db/psql/seeders/Data/PdcChequesModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/PdcChequesModule.js +27 -0
- package/dist/src/db/psql/seeders/Data/PhotosGalleryModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/PhotosGalleryModule.js +27 -0
- package/dist/src/db/psql/seeders/Data/PlannerModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/PlannerModule.js +18 -0
- package/dist/src/db/psql/seeders/Data/ProjectAssessmentsModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/ProjectAssessmentsModule.js +23 -0
- package/dist/src/db/psql/seeders/Data/ReplaceTeacherModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/ReplaceTeacherModule.js +22 -0
- package/dist/src/db/psql/seeders/Data/RoleModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/RoleModule.js +53 -0
- package/dist/src/db/psql/seeders/Data/RollNumberModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/RollNumberModule.js +22 -0
- package/dist/src/db/psql/seeders/Data/SchoolFeeModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/SchoolFeeModule.js +38 -0
- package/dist/src/db/psql/seeders/Data/SchoolModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/SchoolModule.js +63 -0
- package/dist/src/db/psql/seeders/Data/SchoolRegistration.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/SchoolRegistration.js +22 -0
- package/dist/src/db/psql/seeders/Data/SettingsModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/SettingsModule.js +28 -0
- package/dist/src/db/psql/seeders/Data/StaffTimingModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/StaffTimingModule.js +22 -0
- package/dist/src/db/psql/seeders/Data/StudentModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/StudentModule.js +18 -0
- package/dist/src/db/psql/seeders/Data/SubjectModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/SubjectModule.js +37 -0
- package/dist/src/db/psql/seeders/Data/SyllabusManagementModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/SyllabusManagementModule.js +25 -0
- package/dist/src/db/psql/seeders/Data/TeacherModule.d.ts +10 -0
- package/dist/src/db/psql/seeders/Data/TeacherModule.js +68 -0
- package/dist/src/db/psql/seeders/Data/TestimonialsModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/TestimonialsModule.js +27 -0
- package/dist/src/db/psql/seeders/Data/TimetableModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/TimetableModule.js +43 -0
- package/dist/src/db/psql/seeders/Data/To-doModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/To-doModule.js +27 -0
- package/dist/src/db/psql/seeders/Data/TypeManagementModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/TypeManagementModule.js +28 -0
- package/dist/src/db/psql/seeders/Data/UserModule.d.ts +13 -0
- package/dist/src/db/psql/seeders/Data/UserModule.js +266 -0
- package/dist/src/db/psql/seeders/Data/appType.d.ts +4 -0
- package/dist/src/db/psql/seeders/Data/appType.js +8 -0
- package/dist/src/helpers/s3Uploader.d.ts +3 -0
- package/dist/src/helpers/s3Uploader.js +53 -0
- package/dist/src/helpers/utils.d.ts +173 -0
- package/dist/src/helpers/utils.js +603 -0
- package/dist/src/index.d.ts +415 -0
- package/dist/src/index.js +415 -0
- package/dist/src/interfaces/academicCalendarInterface.d.ts +9 -0
- package/dist/src/interfaces/academicCalendarInterface.js +1 -0
- package/dist/src/interfaces/accountHasReceiptDetailsInterface.d.ts +17 -0
- package/dist/src/interfaces/accountHasReceiptDetailsInterface.js +1 -0
- package/dist/src/interfaces/announcementInterface.d.ts +19 -0
- package/dist/src/interfaces/announcementInterface.js +1 -0
- package/dist/src/interfaces/approvalRequestInterface.d.ts +14 -0
- package/dist/src/interfaces/approvalRequestInterface.js +1 -0
- package/dist/src/interfaces/areaInterface.js +1 -0
- package/dist/src/interfaces/attendanceInterface.d.ts +21 -0
- package/dist/src/interfaces/attendanceInterface.js +1 -0
- package/dist/src/interfaces/bankAccountDetailsInterface.d.ts +14 -0
- package/dist/src/interfaces/bankAccountDetailsInterface.js +1 -0
- package/dist/src/interfaces/bannerInterface.d.ts +15 -0
- package/dist/src/interfaces/bannerInterface.js +1 -0
- package/dist/src/interfaces/batchInterface.d.ts +18 -0
- package/dist/src/interfaces/batchInterface.js +1 -0
- package/dist/src/interfaces/batchSubjectBookAssessmentInterface.d.ts +9 -0
- package/dist/src/interfaces/batchSubjectBookAssessmentInterface.js +1 -0
- package/dist/src/interfaces/batchSubjectProjectAssessmentInterface.d.ts +12 -0
- package/dist/src/interfaces/batchSubjectProjectAssessmentInterface.js +1 -0
- package/dist/src/interfaces/blogInterface.d.ts +46 -0
- package/dist/src/interfaces/blogInterface.js +1 -0
- package/dist/src/interfaces/bookAssessmentDateInterface.d.ts +8 -0
- package/dist/src/interfaces/bookAssessmentDateInterface.js +1 -0
- package/dist/src/interfaces/careerInterface.d.ts +12 -0
- package/dist/src/interfaces/careerInterface.js +1 -0
- package/dist/src/interfaces/categoriesInterface.d.ts +8 -0
- package/dist/src/interfaces/categoriesInterface.js +1 -0
- package/dist/src/interfaces/certificatesHistoryInterface.d.ts +9 -0
- package/dist/src/interfaces/certificatesHistoryInterface.js +1 -0
- package/dist/src/interfaces/certificatesManagementInterface.d.ts +11 -0
- package/dist/src/interfaces/certificatesManagementInterface.js +1 -0
- package/dist/src/interfaces/cityInterface.d.ts +12 -0
- package/dist/src/interfaces/cityInterface.js +1 -0
- package/dist/src/interfaces/classRoomInterface.d.ts +13 -0
- package/dist/src/interfaces/classRoomInterface.js +1 -0
- package/dist/src/interfaces/cloudStorageInterface.d.ts +15 -0
- package/dist/src/interfaces/cloudStorageInterface.js +1 -0
- package/dist/src/interfaces/coinPurchaseOfferInterface.d.ts +16 -0
- package/dist/src/interfaces/coinPurchaseOfferInterface.js +1 -0
- package/dist/src/interfaces/columnInterface.d.ts +15 -0
- package/dist/src/interfaces/columnInterface.js +1 -0
- package/dist/src/interfaces/commanInterface.d.ts +52 -0
- package/dist/src/interfaces/commanInterface.js +1 -0
- package/dist/src/interfaces/contactFeedBackInterface.d.ts +13 -0
- package/dist/src/interfaces/contactFeedBackInterface.js +1 -0
- package/dist/src/interfaces/countryInterface.d.ts +11 -0
- package/dist/src/interfaces/countryInterface.js +1 -0
- package/dist/src/interfaces/courseHasVisitorsInterface.d.ts +7 -0
- package/dist/src/interfaces/courseHasVisitorsInterface.js +1 -0
- package/dist/src/interfaces/courseInterface.d.ts +18 -0
- package/dist/src/interfaces/courseInterface.js +1 -0
- package/dist/src/interfaces/dailyBookInterface.d.ts +14 -0
- package/dist/src/interfaces/dailyBookInterface.js +1 -0
- package/dist/src/interfaces/dashboardManagementInterface.d.ts +19 -0
- package/dist/src/interfaces/dashboardManagementInterface.js +1 -0
- package/dist/src/interfaces/driverInterface.d.ts +21 -0
- package/dist/src/interfaces/driverInterface.js +1 -0
- package/dist/src/interfaces/entityGroupInterface.d.ts +12 -0
- package/dist/src/interfaces/entityGroupInterface.js +1 -0
- package/dist/src/interfaces/eventInterface.d.ts +21 -0
- package/dist/src/interfaces/eventInterface.js +1 -0
- package/dist/src/interfaces/examGroupInterface.d.ts +30 -0
- package/dist/src/interfaces/examGroupInterface.js +1 -0
- package/dist/src/interfaces/examHasAnswerSheetInterface.d.ts +23 -0
- package/dist/src/interfaces/examHasAnswerSheetInterface.js +1 -0
- package/dist/src/interfaces/examInterface.d.ts +38 -0
- package/dist/src/interfaces/examInterface.js +1 -0
- package/dist/src/interfaces/facilityInterface.d.ts +9 -0
- package/dist/src/interfaces/facilityInterface.js +1 -0
- package/dist/src/interfaces/featureActionInterface.d.ts +17 -0
- package/dist/src/interfaces/featureActionInterface.js +1 -0
- package/dist/src/interfaces/feeHistoryDetailsInterface.d.ts +17 -0
- package/dist/src/interfaces/feeHistoryDetailsInterface.js +1 -0
- package/dist/src/interfaces/feeHistoryInterface.d.ts +21 -0
- package/dist/src/interfaces/feeHistoryInterface.js +1 -0
- package/dist/src/interfaces/feeReminderInterface.d.ts +13 -0
- package/dist/src/interfaces/feeReminderInterface.js +1 -0
- package/dist/src/interfaces/feeReminderSettingInterface.d.ts +10 -0
- package/dist/src/interfaces/feeReminderSettingInterface.js +1 -0
- package/dist/src/interfaces/feeReminderTypeInterface.d.ts +10 -0
- package/dist/src/interfaces/feeReminderTypeInterface.js +1 -0
- package/dist/src/interfaces/feeTypeHasTermsInterface.d.ts +12 -0
- package/dist/src/interfaces/feeTypeHasTermsInterface.js +1 -0
- package/dist/src/interfaces/feeTypeInterface.d.ts +13 -0
- package/dist/src/interfaces/feeTypeInterface.js +1 -0
- package/dist/src/interfaces/feedBackInterface.d.ts +19 -0
- package/dist/src/interfaces/feedBackInterface.js +1 -0
- package/dist/src/interfaces/feesCollectionInterface.d.ts +19 -0
- package/dist/src/interfaces/feesCollectionInterface.js +1 -0
- package/dist/src/interfaces/fileStorageInterface.d.ts +14 -0
- package/dist/src/interfaces/fileStorageInterface.js +1 -0
- package/dist/src/interfaces/floorManagementInterface.d.ts +9 -0
- package/dist/src/interfaces/floorManagementInterface.js +1 -0
- package/dist/src/interfaces/generateIdCardInterface.d.ts +8 -0
- package/dist/src/interfaces/generateIdCardInterface.js +1 -0
- package/dist/src/interfaces/greetingsInterface.d.ts +12 -0
- package/dist/src/interfaces/greetingsInterface.js +1 -0
- package/dist/src/interfaces/holidayInterface.d.ts +22 -0
- package/dist/src/interfaces/holidayInterface.js +1 -0
- package/dist/src/interfaces/homeworkInterface.d.ts +13 -0
- package/dist/src/interfaces/homeworkInterface.js +1 -0
- package/dist/src/interfaces/informationSupportInterface.d.ts +15 -0
- package/dist/src/interfaces/informationSupportInterface.js +1 -0
- package/dist/src/interfaces/inquiryInterface.d.ts +54 -0
- package/dist/src/interfaces/inquiryInterface.js +1 -0
- package/dist/src/interfaces/instituteEntityInterface.d.ts +16 -0
- package/dist/src/interfaces/instituteEntityInterface.js +1 -0
- package/dist/src/interfaces/instituteEntityTypeInterface.d.ts +10 -0
- package/dist/src/interfaces/instituteEntityTypeInterface.js +1 -0
- package/dist/src/interfaces/instituteInterface.d.ts +35 -0
- package/dist/src/interfaces/instituteInterface.js +1 -0
- package/dist/src/interfaces/instituteSubscriptionPlanInterface.d.ts +21 -0
- package/dist/src/interfaces/instituteSubscriptionPlanInterface.js +1 -0
- package/dist/src/interfaces/inventoryHistoryInterface.d.ts +17 -0
- package/dist/src/interfaces/inventoryHistoryInterface.js +1 -0
- package/dist/src/interfaces/inventoryInterface.d.ts +15 -0
- package/dist/src/interfaces/inventoryInterface.js +1 -0
- package/dist/src/interfaces/invoiceInterface.d.ts +31 -0
- package/dist/src/interfaces/invoiceInterface.js +1 -0
- package/dist/src/interfaces/jobApplyInterface.d.ts +35 -0
- package/dist/src/interfaces/jobApplyInterface.js +1 -0
- package/dist/src/interfaces/lectureHistoryInterface.d.ts +24 -0
- package/dist/src/interfaces/lectureHistoryInterface.js +1 -0
- package/dist/src/interfaces/lectureInterface.d.ts +26 -0
- package/dist/src/interfaces/lectureInterface.js +1 -0
- package/dist/src/interfaces/masterLeaveInterface.d.ts +13 -0
- package/dist/src/interfaces/masterLeaveInterface.js +1 -0
- package/dist/src/interfaces/moduleFeatureInterface.d.ts +16 -0
- package/dist/src/interfaces/moduleFeatureInterface.js +1 -0
- package/dist/src/interfaces/moduleInterface.d.ts +15 -0
- package/dist/src/interfaces/moduleInterface.js +1 -0
- package/dist/src/interfaces/offersInterface.d.ts +18 -0
- package/dist/src/interfaces/offersInterface.js +1 -0
- package/dist/src/interfaces/paymentTermsInterface.d.ts +15 -0
- package/dist/src/interfaces/paymentTermsInterface.js +1 -0
- package/dist/src/interfaces/pdcChequeInterface.d.ts +16 -0
- package/dist/src/interfaces/pdcChequeInterface.js +1 -0
- package/dist/src/interfaces/pdcHistoryInterface.d.ts +17 -0
- package/dist/src/interfaces/pdcHistoryInterface.js +1 -0
- package/dist/src/interfaces/photosGalleryInterface.d.ts +17 -0
- package/dist/src/interfaces/photosGalleryInterface.js +1 -0
- package/dist/src/interfaces/pincodeInterface.d.ts +15 -0
- package/dist/src/interfaces/pincodeInterface.js +1 -0
- package/dist/src/interfaces/plannerInterface.d.ts +32 -0
- package/dist/src/interfaces/plannerInterface.js +1 -0
- package/dist/src/interfaces/productInterface.d.ts +10 -0
- package/dist/src/interfaces/productInterface.js +1 -0
- package/dist/src/interfaces/projectAssessmentOptionInterface.d.ts +8 -0
- package/dist/src/interfaces/projectAssessmentOptionInterface.js +1 -0
- package/dist/src/interfaces/replaceTeacherInterface.d.ts +22 -0
- package/dist/src/interfaces/replaceTeacherInterface.js +1 -0
- package/dist/src/interfaces/roleInterface.d.ts +26 -0
- package/dist/src/interfaces/roleInterface.js +1 -0
- package/dist/src/interfaces/rulesRegulationInterface.d.ts +10 -0
- package/dist/src/interfaces/rulesRegulationInterface.js +1 -0
- package/dist/src/interfaces/schoolFeeCollectionInterface.d.ts +13 -0
- package/dist/src/interfaces/schoolFeeCollectionInterface.js +1 -0
- package/dist/src/interfaces/schoolFeeInterface.d.ts +21 -0
- package/dist/src/interfaces/schoolFeeInterface.js +1 -0
- package/dist/src/interfaces/schoolOfferInterface.d.ts +20 -0
- package/dist/src/interfaces/schoolOfferInterface.js +1 -0
- package/dist/src/interfaces/sendNotificationInerface.d.ts +20 -0
- package/dist/src/interfaces/sendNotificationInerface.js +1 -0
- package/dist/src/interfaces/slotInterface.d.ts +8 -0
- package/dist/src/interfaces/slotInterface.js +1 -0
- package/dist/src/interfaces/stateInterface.d.ts +11 -0
- package/dist/src/interfaces/stateInterface.js +1 -0
- package/dist/src/interfaces/subCategoriesInterface.d.ts +9 -0
- package/dist/src/interfaces/subCategoriesInterface.js +1 -0
- package/dist/src/interfaces/subjectHasFeeInterface.d.ts +7 -0
- package/dist/src/interfaces/subjectHasFeeInterface.js +1 -0
- package/dist/src/interfaces/subjectHasPayFeeHistoryInterface.d.ts +9 -0
- package/dist/src/interfaces/subjectHasPayFeeHistoryInterface.js +1 -0
- package/dist/src/interfaces/subjectIndexInterface.d.ts +48 -0
- package/dist/src/interfaces/subjectIndexInterface.js +1 -0
- package/dist/src/interfaces/subscriptionPlanInterface.d.ts +29 -0
- package/dist/src/interfaces/subscriptionPlanInterface.js +1 -0
- package/dist/src/interfaces/syllabusInterface.d.ts +9 -0
- package/dist/src/interfaces/syllabusInterface.js +1 -0
- package/dist/src/interfaces/taskManagementInterface.d.ts +24 -0
- package/dist/src/interfaces/taskManagementInterface.js +1 -0
- package/dist/src/interfaces/testimonialInterface.d.ts +12 -0
- package/dist/src/interfaces/testimonialInterface.js +1 -0
- package/dist/src/interfaces/toDoInterface.d.ts +11 -0
- package/dist/src/interfaces/toDoInterface.js +1 -0
- package/dist/src/interfaces/tokenInterface.d.ts +27 -0
- package/dist/src/interfaces/tokenInterface.js +1 -0
- package/dist/src/interfaces/tripInterface.d.ts +13 -0
- package/dist/src/interfaces/tripInterface.js +1 -0
- package/dist/src/interfaces/typeManagementInterface.d.ts +11 -0
- package/dist/src/interfaces/typeManagementInterface.js +1 -0
- package/dist/src/interfaces/uniqueNumberCounterInterface.d.ts +11 -0
- package/dist/src/interfaces/uniqueNumberCounterInterface.js +1 -0
- package/dist/src/interfaces/userBookAssessmentInterface.d.ts +10 -0
- package/dist/src/interfaces/userBookAssessmentInterface.js +1 -0
- package/dist/src/interfaces/userDetailsInterface.d.ts +122 -0
- package/dist/src/interfaces/userDetailsInterface.js +1 -0
- package/dist/src/interfaces/userFeeTypeByAccountInterface.d.ts +19 -0
- package/dist/src/interfaces/userFeeTypeByAccountInterface.js +1 -0
- package/dist/src/interfaces/userFeeTypeInterface.d.ts +16 -0
- package/dist/src/interfaces/userFeeTypeInterface.js +1 -0
- package/dist/src/interfaces/userHasAnnouncementInterface.d.ts +9 -0
- package/dist/src/interfaces/userHasAnnouncementInterface.js +1 -0
- package/dist/src/interfaces/userHasBatchInterface.d.ts +7 -0
- package/dist/src/interfaces/userHasBatchInterface.js +1 -0
- package/dist/src/interfaces/userHasCourseInterface.d.ts +13 -0
- package/dist/src/interfaces/userHasCourseInterface.js +1 -0
- package/dist/src/interfaces/userHasDeviceInterface.d.ts +10 -0
- package/dist/src/interfaces/userHasDeviceInterface.js +1 -0
- package/dist/src/interfaces/userHasFeeTermsInterface.d.ts +37 -0
- package/dist/src/interfaces/userHasFeeTermsInterface.js +1 -0
- package/dist/src/interfaces/userHasFileInterface.d.ts +11 -0
- package/dist/src/interfaces/userHasFileInterface.js +1 -0
- package/dist/src/interfaces/userHasHomeWorkInterface.d.ts +11 -0
- package/dist/src/interfaces/userHasHomeWorkInterface.js +1 -0
- package/dist/src/interfaces/userHasInventoryHistoryInterface.d.ts +20 -0
- package/dist/src/interfaces/userHasInventoryHistoryInterface.js +1 -0
- package/dist/src/interfaces/userHasInventoryInterface.d.ts +21 -0
- package/dist/src/interfaces/userHasInventoryInterface.js +1 -0
- package/dist/src/interfaces/userHasLeaveHistoryInterface.d.ts +16 -0
- package/dist/src/interfaces/userHasLeaveHistoryInterface.js +1 -0
- package/dist/src/interfaces/userHasLeaveInterface.d.ts +12 -0
- package/dist/src/interfaces/userHasLeaveInterface.js +1 -0
- package/dist/src/interfaces/userHasOfferInterface.d.ts +10 -0
- package/dist/src/interfaces/userHasOfferInterface.js +1 -0
- package/dist/src/interfaces/userHasParentInterface.d.ts +14 -0
- package/dist/src/interfaces/userHasParentInterface.js +1 -0
- package/dist/src/interfaces/userHasRoleInterface.d.ts +13 -0
- package/dist/src/interfaces/userHasRoleInterface.js +1 -0
- package/dist/src/interfaces/userHasRollNumberInterface.d.ts +8 -0
- package/dist/src/interfaces/userHasRollNumberInterface.js +1 -0
- package/dist/src/interfaces/userHasStorageInterface.d.ts +11 -0
- package/dist/src/interfaces/userHasStorageInterface.js +1 -0
- package/dist/src/interfaces/userHasSubjectFeeInterface.d.ts +9 -0
- package/dist/src/interfaces/userHasSubjectFeeInterface.js +1 -0
- package/dist/src/interfaces/userInstituteMetaInterface.d.ts +39 -0
- package/dist/src/interfaces/userInstituteMetaInterface.js +1 -0
- package/dist/src/interfaces/userInterface.d.ts +44 -0
- package/dist/src/interfaces/userInterface.js +1 -0
- package/dist/src/interfaces/userLeaveRequestInterface.d.ts +15 -0
- package/dist/src/interfaces/userLeaveRequestInterface.js +1 -0
- package/dist/src/interfaces/userMetaInterface.d.ts +13 -0
- package/dist/src/interfaces/userMetaInterface.js +1 -0
- package/dist/src/interfaces/userPayoutDetailsInterface.d.ts +14 -0
- package/dist/src/interfaces/userPayoutDetailsInterface.js +1 -0
- package/dist/src/interfaces/userPayoutHistoryInterface.d.ts +18 -0
- package/dist/src/interfaces/userPayoutHistoryInterface.js +1 -0
- package/dist/src/interfaces/userPayoutInterface.d.ts +12 -0
- package/dist/src/interfaces/userPayoutInterface.js +1 -0
- package/dist/src/interfaces/userProjectAssessmentOptionInterface.d.ts +10 -0
- package/dist/src/interfaces/userProjectAssessmentOptionInterface.js +1 -0
- package/dist/src/interfaces/userRequiredStepsInterface.d.ts +9 -0
- package/dist/src/interfaces/userRequiredStepsInterface.js +1 -0
- package/dist/src/interfaces/userSchoolMetaInterface.d.ts +115 -0
- package/dist/src/interfaces/userSchoolMetaInterface.js +1 -0
- package/dist/src/interfaces/vehicleInterface.d.ts +11 -0
- package/dist/src/interfaces/vehicleInterface.js +1 -0
- package/dist/src/interfaces/vendorManagementInterface.d.ts +19 -0
- package/dist/src/interfaces/vendorManagementInterface.js +1 -0
- package/dist/src/interfaces/videoAnalystInterface.d.ts +37 -0
- package/dist/src/interfaces/videoAnalystInterface.js +1 -0
- package/dist/src/interfaces/walletHistoryInterface.d.ts +15 -0
- package/dist/src/interfaces/walletHistoryInterface.js +1 -0
- package/dist/src/interfaces/walletInterface.d.ts +10 -0
- package/dist/src/interfaces/walletInterface.js +1 -0
- package/dist/src/interfaces/walletTransactionInterface.d.ts +34 -0
- package/dist/src/interfaces/walletTransactionInterface.js +1 -0
- package/dist/src/interfaces/workingDayInterface.d.ts +11 -0
- package/dist/src/interfaces/workingDayInterface.js +1 -0
- package/dist/src/interfaces/workingShiftInterface.d.ts +12 -0
- package/dist/src/interfaces/workingShiftInterface.js +1 -0
- package/dist/src/models/mongodb/approvalRequestModel.d.ts +4 -0
- package/dist/src/models/mongodb/approvalRequestModel.js +61 -0
- package/dist/src/models/mongodb/attendanceModel.d.ts +4 -0
- package/dist/src/models/mongodb/attendanceModel.js +140 -0
- package/dist/src/models/mongodb/blogModel.d.ts +4 -0
- package/dist/src/models/mongodb/blogModel.js +56 -0
- package/dist/src/models/mongodb/careerModel.d.ts +4 -0
- package/dist/src/models/mongodb/careerModel.js +48 -0
- package/dist/src/models/mongodb/certificatesHistoryModel.d.ts +4 -0
- package/dist/src/models/mongodb/certificatesHistoryModel.js +23 -0
- package/dist/src/models/mongodb/certificatesManagementModel.d.ts +4 -0
- package/dist/src/models/mongodb/certificatesManagementModel.js +32 -0
- package/dist/src/models/mongodb/columnModel.d.ts +4 -0
- package/dist/src/models/mongodb/columnModel.js +40 -0
- package/dist/src/models/mongodb/dailyBookModel.d.ts +4 -0
- package/dist/src/models/mongodb/dailyBookModel.js +53 -0
- package/dist/src/models/mongodb/dashboardManagementModel.d.ts +4 -0
- package/dist/src/models/mongodb/dashboardManagementModel.js +76 -0
- package/dist/src/models/mongodb/eventModel.d.ts +4 -0
- package/dist/src/models/mongodb/eventModel.js +126 -0
- package/dist/src/models/mongodb/examGroupModel.d.ts +4 -0
- package/dist/src/models/mongodb/examGroupModel.js +255 -0
- package/dist/src/models/mongodb/examHasAnswerSheetModel.d.ts +4 -0
- package/dist/src/models/mongodb/examHasAnswerSheetModel.js +95 -0
- package/dist/src/models/mongodb/examModel.d.ts +4 -0
- package/dist/src/models/mongodb/examModel.js +229 -0
- package/dist/src/models/mongodb/feeReminderTypeModel.d.ts +4 -0
- package/dist/src/models/mongodb/feeReminderTypeModel.js +38 -0
- package/dist/src/models/mongodb/feedBackModel.d.ts +4 -0
- package/dist/src/models/mongodb/feedBackModel.js +76 -0
- package/dist/src/models/mongodb/generateIdCardModel.d.ts +4 -0
- package/dist/src/models/mongodb/generateIdCardModel.js +20 -0
- package/dist/src/models/mongodb/holidayModel.d.ts +4 -0
- package/dist/src/models/mongodb/holidayModel.js +134 -0
- package/dist/src/models/mongodb/index.d.ts +2 -0
- package/dist/src/models/mongodb/index.js +19 -0
- package/dist/src/models/mongodb/informationSupportModel.d.ts +4 -0
- package/dist/src/models/mongodb/informationSupportModel.js +61 -0
- package/dist/src/models/mongodb/inquiryModel.d.ts +4 -0
- package/dist/src/models/mongodb/inquiryModel.js +148 -0
- package/dist/src/models/mongodb/invoiceModel.d.ts +4 -0
- package/dist/src/models/mongodb/invoiceModel.js +99 -0
- package/dist/src/models/mongodb/jobApplyModel.d.ts +4 -0
- package/dist/src/models/mongodb/jobApplyModel.js +116 -0
- package/dist/src/models/mongodb/photosGalleryModel.d.ts +4 -0
- package/dist/src/models/mongodb/photosGalleryModel.js +51 -0
- package/dist/src/models/mongodb/plannerModel.d.ts +4 -0
- package/dist/src/models/mongodb/plannerModel.js +139 -0
- package/dist/src/models/mongodb/plugin/addDefaultAttributesPlugin.d.ts +2 -0
- package/dist/src/models/mongodb/plugin/addDefaultAttributesPlugin.js +60 -0
- package/dist/src/models/mongodb/plugin/transformIdInQueryPlugin.d.ts +3 -0
- package/dist/src/models/mongodb/plugin/transformIdInQueryPlugin.js +59 -0
- package/dist/src/models/mongodb/plugin/transformIdInResponsePlugin.d.ts +3 -0
- package/dist/src/models/mongodb/plugin/transformIdInResponsePlugin.js +60 -0
- package/dist/src/models/mongodb/replaceTeacherModel.d.ts +4 -0
- package/dist/src/models/mongodb/replaceTeacherModel.js +75 -0
- package/dist/src/models/mongodb/schoolFeeModel.d.ts +4 -0
- package/dist/src/models/mongodb/schoolFeeModel.js +140 -0
- package/dist/src/models/mongodb/subjectIndexModel.d.ts +4 -0
- package/dist/src/models/mongodb/subjectIndexModel.js +629 -0
- package/dist/src/models/mongodb/subscriptionPlanModel.d.ts +4 -0
- package/dist/src/models/mongodb/subscriptionPlanModel.js +98 -0
- package/dist/src/models/mongodb/taskManagementModel.d.ts +4 -0
- package/dist/src/models/mongodb/taskManagementModel.js +129 -0
- package/dist/src/models/mongodb/uniqueNumberCounterModel.d.ts +4 -0
- package/dist/src/models/mongodb/uniqueNumberCounterModel.js +48 -0
- package/dist/src/models/mongodb/userDetailsModel.d.ts +5 -0
- package/dist/src/models/mongodb/userDetailsModel.js +473 -0
- package/dist/src/models/mongodb/userDoc.d.ts +10 -0
- package/dist/src/models/mongodb/userDoc.js +6 -0
- package/dist/src/models/mongodb/userInstituteMetaModel.d.ts +4 -0
- package/dist/src/models/mongodb/userInstituteMetaModel.js +177 -0
- package/dist/src/models/mongodb/userSchoolMetaModel.d.ts +7 -0
- package/dist/src/models/mongodb/userSchoolMetaModel.js +547 -0
- package/dist/src/models/mongodb/videoAnalystModel.d.ts +4 -0
- package/dist/src/models/mongodb/videoAnalystModel.js +45 -0
- package/dist/src/models/mongodb/walletTransactionModel.d.ts +4 -0
- package/dist/src/models/mongodb/walletTransactionModel.js +128 -0
- package/dist/src/models/psql/SubCategoriesModel.d.ts +17 -0
- package/dist/src/models/psql/SubCategoriesModel.js +97 -0
- package/dist/src/models/psql/academicCalendarModel.d.ts +18 -0
- package/dist/src/models/psql/academicCalendarModel.js +89 -0
- package/dist/src/models/psql/accountHasReceiptDetailsModel.d.ts +26 -0
- package/dist/src/models/psql/accountHasReceiptDetailsModel.js +140 -0
- package/dist/src/models/psql/announcementModel.d.ts +28 -0
- package/dist/src/models/psql/announcementModel.js +193 -0
- package/dist/src/models/psql/areaModel.d.ts +9 -0
- package/dist/src/models/psql/areaModel.js +35 -0
- package/dist/src/models/psql/bankAccountDetailsModel.d.ts +23 -0
- package/dist/src/models/psql/bankAccountDetailsModel.js +95 -0
- package/dist/src/models/psql/bannerModel.d.ts +24 -0
- package/dist/src/models/psql/bannerModel.js +111 -0
- package/dist/src/models/psql/batchModel.d.ts +27 -0
- package/dist/src/models/psql/batchModel.js +217 -0
- package/dist/src/models/psql/batchSubjectBookAssessmentModel.d.ts +18 -0
- package/dist/src/models/psql/batchSubjectBookAssessmentModel.js +151 -0
- package/dist/src/models/psql/batchSubjectProjectAssessmentModel.d.ts +21 -0
- package/dist/src/models/psql/batchSubjectProjectAssessmentModel.js +149 -0
- package/dist/src/models/psql/bookAssessmentDateModel.d.ts +17 -0
- package/dist/src/models/psql/bookAssessmentDateModel.js +82 -0
- package/dist/src/models/psql/categoriesModel.d.ts +17 -0
- package/dist/src/models/psql/categoriesModel.js +75 -0
- package/dist/src/models/psql/cityModel.d.ts +13 -0
- package/dist/src/models/psql/cityModel.js +67 -0
- package/dist/src/models/psql/classRoomModel.d.ts +22 -0
- package/dist/src/models/psql/classRoomModel.js +121 -0
- package/dist/src/models/psql/cloudStorageModel.d.ts +24 -0
- package/dist/src/models/psql/cloudStorageModel.js +92 -0
- package/dist/src/models/psql/coinPurchaseOfferModel.d.ts +25 -0
- package/dist/src/models/psql/coinPurchaseOfferModel.js +98 -0
- package/dist/src/models/psql/contactFeedBackModel.d.ts +22 -0
- package/dist/src/models/psql/contactFeedBackModel.js +115 -0
- package/dist/src/models/psql/countryModel.d.ts +14 -0
- package/dist/src/models/psql/countryModel.js +41 -0
- package/dist/src/models/psql/courseHasVisitorsModel.d.ts +16 -0
- package/dist/src/models/psql/courseHasVisitorsModel.js +66 -0
- package/dist/src/models/psql/courseModel.d.ts +27 -0
- package/dist/src/models/psql/courseModel.js +131 -0
- package/dist/src/models/psql/driverModel.d.ts +30 -0
- package/dist/src/models/psql/driverModel.js +158 -0
- package/dist/src/models/psql/entityGroupModel.d.ts +21 -0
- package/dist/src/models/psql/entityGroupModel.js +95 -0
- package/dist/src/models/psql/facilityModel.d.ts +18 -0
- package/dist/src/models/psql/facilityModel.js +115 -0
- package/dist/src/models/psql/featureActionModel.d.ts +22 -0
- package/dist/src/models/psql/featureActionModel.js +90 -0
- package/dist/src/models/psql/feeHistoryDetailsModel.d.ts +26 -0
- package/dist/src/models/psql/feeHistoryDetailsModel.js +181 -0
- package/dist/src/models/psql/feeHistoryModel.d.ts +30 -0
- package/dist/src/models/psql/feeHistoryModel.js +329 -0
- package/dist/src/models/psql/feeReminderModel.d.ts +22 -0
- package/dist/src/models/psql/feeReminderModel.js +234 -0
- package/dist/src/models/psql/feeReminderSettingModel.d.ts +19 -0
- package/dist/src/models/psql/feeReminderSettingModel.js +85 -0
- package/dist/src/models/psql/feeTypeHasTermsModel.d.ts +21 -0
- package/dist/src/models/psql/feeTypeHasTermsModel.js +97 -0
- package/dist/src/models/psql/feeTypeModel.d.ts +22 -0
- package/dist/src/models/psql/feeTypeModel.js +120 -0
- package/dist/src/models/psql/feesCollectionModel.d.ts +28 -0
- package/dist/src/models/psql/feesCollectionModel.js +227 -0
- package/dist/src/models/psql/fileStorageModel.d.ts +6 -0
- package/dist/src/models/psql/fileStorageModel.js +81 -0
- package/dist/src/models/psql/floorManagementModel.d.ts +18 -0
- package/dist/src/models/psql/floorManagementModel.js +85 -0
- package/dist/src/models/psql/greetingsModel.d.ts +21 -0
- package/dist/src/models/psql/greetingsModel.js +113 -0
- package/dist/src/models/psql/homeWorkModel.d.ts +22 -0
- package/dist/src/models/psql/homeWorkModel.js +123 -0
- package/dist/src/models/psql/index.d.ts +4 -0
- package/dist/src/models/psql/index.js +80 -0
- package/dist/src/models/psql/instituteEntityModel.d.ts +25 -0
- package/dist/src/models/psql/instituteEntityModel.js +126 -0
- package/dist/src/models/psql/instituteEntityTypeModel.d.ts +19 -0
- package/dist/src/models/psql/instituteEntityTypeModel.js +69 -0
- package/dist/src/models/psql/instituteModel.d.ts +44 -0
- package/dist/src/models/psql/instituteModel.js +235 -0
- package/dist/src/models/psql/instituteSubscriptionPlanModel.d.ts +33 -0
- package/dist/src/models/psql/instituteSubscriptionPlanModel.js +181 -0
- package/dist/src/models/psql/inventoryHistoryModel.d.ts +26 -0
- package/dist/src/models/psql/inventoryHistoryModel.js +154 -0
- package/dist/src/models/psql/inventoryModel.d.ts +24 -0
- package/dist/src/models/psql/inventoryModel.js +127 -0
- package/dist/src/models/psql/lectureHistoryModel.d.ts +32 -0
- package/dist/src/models/psql/lectureHistoryModel.js +218 -0
- package/dist/src/models/psql/lectureModel.d.ts +34 -0
- package/dist/src/models/psql/lectureModel.js +480 -0
- package/dist/src/models/psql/masterLeaveModel.d.ts +22 -0
- package/dist/src/models/psql/masterLeaveModel.js +127 -0
- package/dist/src/models/psql/moduleFeatureModel.d.ts +21 -0
- package/dist/src/models/psql/moduleFeatureModel.js +93 -0
- package/dist/src/models/psql/moduleModel.d.ts +20 -0
- package/dist/src/models/psql/moduleModel.js +96 -0
- package/dist/src/models/psql/offerModel.d.ts +27 -0
- package/dist/src/models/psql/offerModel.js +139 -0
- package/dist/src/models/psql/paymentTermsModel.d.ts +17 -0
- package/dist/src/models/psql/paymentTermsModel.js +109 -0
- package/dist/src/models/psql/pdcChequeModel.d.ts +25 -0
- package/dist/src/models/psql/pdcChequeModel.js +133 -0
- package/dist/src/models/psql/pdcHistoryModel.d.ts +26 -0
- package/dist/src/models/psql/pdcHistoryModel.js +147 -0
- package/dist/src/models/psql/pincodeModel.d.ts +23 -0
- package/dist/src/models/psql/pincodeModel.js +74 -0
- package/dist/src/models/psql/productModel.d.ts +19 -0
- package/dist/src/models/psql/productModel.js +119 -0
- package/dist/src/models/psql/projectAssessmentOptionModel.d.ts +17 -0
- package/dist/src/models/psql/projectAssessmentOptionModel.js +85 -0
- package/dist/src/models/psql/roleModel.d.ts +22 -0
- package/dist/src/models/psql/roleModel.js +92 -0
- package/dist/src/models/psql/rulesRegulationModel.d.ts +19 -0
- package/dist/src/models/psql/rulesRegulationModel.js +67 -0
- package/dist/src/models/psql/schoolFeeCollectionModel.d.ts +22 -0
- package/dist/src/models/psql/schoolFeeCollectionModel.js +151 -0
- package/dist/src/models/psql/schoolOfferModel.d.ts +29 -0
- package/dist/src/models/psql/schoolOfferModel.js +162 -0
- package/dist/src/models/psql/sendNotificationModel.d.ts +22 -0
- package/dist/src/models/psql/sendNotificationModel.js +112 -0
- package/dist/src/models/psql/slotModel.d.ts +17 -0
- package/dist/src/models/psql/slotModel.js +94 -0
- package/dist/src/models/psql/stateModel.d.ts +13 -0
- package/dist/src/models/psql/stateModel.js +53 -0
- package/dist/src/models/psql/subjectHasFeeModel.d.ts +16 -0
- package/dist/src/models/psql/subjectHasFeeModel.js +73 -0
- package/dist/src/models/psql/subjectHasPayFeeHistoryModel.d.ts +18 -0
- package/dist/src/models/psql/subjectHasPayFeeHistoryModel.js +104 -0
- package/dist/src/models/psql/syllabusModel.d.ts +18 -0
- package/dist/src/models/psql/syllabusModel.js +120 -0
- package/dist/src/models/psql/testimonialModel.d.ts +21 -0
- package/dist/src/models/psql/testimonialModel.js +157 -0
- package/dist/src/models/psql/toDoModel.d.ts +20 -0
- package/dist/src/models/psql/toDoModel.js +111 -0
- package/dist/src/models/psql/tokenModel.d.ts +15 -0
- package/dist/src/models/psql/tokenModel.js +35 -0
- package/dist/src/models/psql/tripModel.d.ts +22 -0
- package/dist/src/models/psql/tripModel.js +109 -0
- package/dist/src/models/psql/typeManagementModel.d.ts +20 -0
- package/dist/src/models/psql/typeManagementModel.js +117 -0
- package/dist/src/models/psql/userBookAssessmentModel.d.ts +19 -0
- package/dist/src/models/psql/userBookAssessmentModel.js +136 -0
- package/dist/src/models/psql/userFeeTypeByAccountModel.d.ts +22 -0
- package/dist/src/models/psql/userFeeTypeByAccountModel.js +179 -0
- package/dist/src/models/psql/userFeeTypeModel.d.ts +25 -0
- package/dist/src/models/psql/userFeeTypeModel.js +167 -0
- package/dist/src/models/psql/userHasAnnouncementModel.d.ts +18 -0
- package/dist/src/models/psql/userHasAnnouncementModel.js +103 -0
- package/dist/src/models/psql/userHasBatchModel.d.ts +16 -0
- package/dist/src/models/psql/userHasBatchModel.js +87 -0
- package/dist/src/models/psql/userHasCourseModel.d.ts +22 -0
- package/dist/src/models/psql/userHasCourseModel.js +111 -0
- package/dist/src/models/psql/userHasDeviceModel.d.ts +19 -0
- package/dist/src/models/psql/userHasDeviceModel.js +86 -0
- package/dist/src/models/psql/userHasFeeTermsModel.d.ts +27 -0
- package/dist/src/models/psql/userHasFeeTermsModel.js +197 -0
- package/dist/src/models/psql/userHasFileModel.d.ts +16 -0
- package/dist/src/models/psql/userHasFileModel.js +102 -0
- package/dist/src/models/psql/userHasHomeWorkModel.d.ts +19 -0
- package/dist/src/models/psql/userHasHomeWorkModel.js +114 -0
- package/dist/src/models/psql/userHasInventoryHistoryModel.d.ts +29 -0
- package/dist/src/models/psql/userHasInventoryHistoryModel.js +141 -0
- package/dist/src/models/psql/userHasInventoryModel.d.ts +30 -0
- package/dist/src/models/psql/userHasInventoryModel.js +143 -0
- package/dist/src/models/psql/userHasLeaveHistoryModel.d.ts +25 -0
- package/dist/src/models/psql/userHasLeaveHistoryModel.js +101 -0
- package/dist/src/models/psql/userHasLeaveModel.d.ts +21 -0
- package/dist/src/models/psql/userHasLeaveModel.js +116 -0
- package/dist/src/models/psql/userHasOfferModel.d.ts +19 -0
- package/dist/src/models/psql/userHasOfferModel.js +149 -0
- package/dist/src/models/psql/userHasParentModel.d.ts +23 -0
- package/dist/src/models/psql/userHasParentModel.js +130 -0
- package/dist/src/models/psql/userHasRoleModel.d.ts +18 -0
- package/dist/src/models/psql/userHasRoleModel.js +92 -0
- package/dist/src/models/psql/userHasRollNumberModel.d.ts +17 -0
- package/dist/src/models/psql/userHasRollNumberModel.js +85 -0
- package/dist/src/models/psql/userHasStorageModel.d.ts +20 -0
- package/dist/src/models/psql/userHasStorageModel.js +81 -0
- package/dist/src/models/psql/userHasSubjectFeeModel.d.ts +18 -0
- package/dist/src/models/psql/userHasSubjectFeeModel.js +81 -0
- package/dist/src/models/psql/userLeaveRequestModel.d.ts +24 -0
- package/dist/src/models/psql/userLeaveRequestModel.js +99 -0
- package/dist/src/models/psql/userModel.d.ts +55 -0
- package/dist/src/models/psql/userModel.js +387 -0
- package/dist/src/models/psql/userPayoutDetailsModel.d.ts +21 -0
- package/dist/src/models/psql/userPayoutDetailsModel.js +157 -0
- package/dist/src/models/psql/userPayoutHistoryModel.d.ts +27 -0
- package/dist/src/models/psql/userPayoutHistoryModel.js +150 -0
- package/dist/src/models/psql/userPayoutModel.d.ts +20 -0
- package/dist/src/models/psql/userPayoutModel.js +311 -0
- package/dist/src/models/psql/userProjectAssessmentOptionModel.d.ts +19 -0
- package/dist/src/models/psql/userProjectAssessmentOptionModel.js +121 -0
- package/dist/src/models/psql/userRequiredStepsModel.d.ts +17 -0
- package/dist/src/models/psql/userRequiredStepsModel.js +73 -0
- package/dist/src/models/psql/vehicleModel.d.ts +20 -0
- package/dist/src/models/psql/vehicleModel.js +105 -0
- package/dist/src/models/psql/vendorManagementModel.d.ts +28 -0
- package/dist/src/models/psql/vendorManagementModel.js +174 -0
- package/dist/src/models/psql/walletHistoryModel.d.ts +24 -0
- package/dist/src/models/psql/walletHistoryModel.js +97 -0
- package/dist/src/models/psql/walletModel.d.ts +19 -0
- package/dist/src/models/psql/walletModel.js +88 -0
- package/dist/src/models/psql/workingDayModel.d.ts +20 -0
- package/dist/src/models/psql/workingDayModel.js +74 -0
- package/dist/src/models/psql/workingShiftModel.d.ts +21 -0
- package/dist/src/models/psql/workingShiftModel.js +87 -0
- package/dist/src/services/Concrete/mongooseCommonService.d.ts +36 -0
- package/dist/src/services/Concrete/mongooseCommonService.js +104 -0
- package/dist/src/services/Concrete/sequelizeCommanService.d.ts +17 -0
- package/dist/src/services/Concrete/sequelizeCommanService.js +120 -0
- package/dist/src/services/Contracts/IMongooseCommonService.d.ts +36 -0
- package/dist/src/services/Contracts/IMongooseCommonService.js +1 -0
- package/dist/src/services/Contracts/ISequelizeCommonService.d.ts +21 -0
- package/dist/src/services/Contracts/ISequelizeCommonService.js +1 -0
- package/dist/src/types/academicCalendarType.d.ts +6 -0
- package/dist/src/types/academicCalendarType.js +1 -0
- package/dist/src/types/accountHasReceiptDetailsType.d.ts +7 -0
- package/dist/src/types/accountHasReceiptDetailsType.js +1 -0
- package/dist/src/types/announcementType.d.ts +6 -0
- package/dist/src/types/announcementType.js +1 -0
- package/dist/src/types/approveRequestType.d.ts +2 -0
- package/dist/src/types/approveRequestType.js +1 -0
- package/dist/src/types/areaType.d.ts +3 -0
- package/dist/src/types/areaType.js +1 -0
- package/dist/src/types/attendanceType.d.ts +2 -0
- package/dist/src/types/attendanceType.js +1 -0
- package/dist/src/types/bankAccountDetailsType.d.ts +3 -0
- package/dist/src/types/bankAccountDetailsType.js +1 -0
- package/dist/src/types/bannerType.d.ts +7 -0
- package/dist/src/types/bannerType.js +1 -0
- package/dist/src/types/batchSubjectBookAssessmentType.d.ts +7 -0
- package/dist/src/types/batchSubjectBookAssessmentType.js +1 -0
- package/dist/src/types/batchSubjectProjectAssessmentType.d.ts +7 -0
- package/dist/src/types/batchSubjectProjectAssessmentType.js +1 -0
- package/dist/src/types/batchType.d.ts +7 -0
- package/dist/src/types/batchType.js +1 -0
- package/dist/src/types/blogType.d.ts +2 -0
- package/dist/src/types/blogType.js +1 -0
- package/dist/src/types/bookAssessmentDateType.d.ts +7 -0
- package/dist/src/types/bookAssessmentDateType.js +1 -0
- package/dist/src/types/careerType.d.ts +2 -0
- package/dist/src/types/careerType.js +1 -0
- package/dist/src/types/categoriesType.d.ts +3 -0
- package/dist/src/types/categoriesType.js +1 -0
- package/dist/src/types/certificatesHistoryType.d.ts +2 -0
- package/dist/src/types/certificatesHistoryType.js +1 -0
- package/dist/src/types/certificatesManagementType.d.ts +2 -0
- package/dist/src/types/certificatesManagementType.js +1 -0
- package/dist/src/types/classRoomType.d.ts +3 -0
- package/dist/src/types/classRoomType.js +1 -0
- package/dist/src/types/cloudStorageType.d.ts +3 -0
- package/dist/src/types/cloudStorageType.js +1 -0
- package/dist/src/types/coinPurchaseOfferType.d.ts +3 -0
- package/dist/src/types/coinPurchaseOfferType.js +1 -0
- package/dist/src/types/commonType.d.ts +9 -0
- package/dist/src/types/commonType.js +1 -0
- package/dist/src/types/contactFeedBackType.d.ts +3 -0
- package/dist/src/types/contactFeedBackType.js +1 -0
- package/dist/src/types/courseHasVisitorsType.d.ts +2 -0
- package/dist/src/types/courseHasVisitorsType.js +1 -0
- package/dist/src/types/courseType.d.ts +2 -0
- package/dist/src/types/courseType.js +1 -0
- package/dist/src/types/dailyBookType.d.ts +2 -0
- package/dist/src/types/dailyBookType.js +1 -0
- package/dist/src/types/dashboardManagementType.d.ts +2 -0
- package/dist/src/types/dashboardManagementType.js +1 -0
- package/dist/src/types/driverType.d.ts +6 -0
- package/dist/src/types/driverType.js +1 -0
- package/dist/src/types/entityGroupType.d.ts +3 -0
- package/dist/src/types/entityGroupType.js +1 -0
- package/dist/src/types/eventType.d.ts +2 -0
- package/dist/src/types/eventType.js +1 -0
- package/dist/src/types/examGroupType.d.ts +6 -0
- package/dist/src/types/examGroupType.js +1 -0
- package/dist/src/types/examHasAnswerSheetType.d.ts +2 -0
- package/dist/src/types/examHasAnswerSheetType.js +1 -0
- package/dist/src/types/examType.d.ts +6 -0
- package/dist/src/types/examType.js +1 -0
- package/dist/src/types/facilityType.d.ts +3 -0
- package/dist/src/types/facilityType.js +1 -0
- package/dist/src/types/featureActionType.d.ts +3 -0
- package/dist/src/types/featureActionType.js +1 -0
- package/dist/src/types/feeHistoryDetailsType.d.ts +6 -0
- package/dist/src/types/feeHistoryDetailsType.js +1 -0
- package/dist/src/types/feeHistoryType.d.ts +18 -0
- package/dist/src/types/feeHistoryType.js +1 -0
- package/dist/src/types/feeReminderSettingType.d.ts +3 -0
- package/dist/src/types/feeReminderSettingType.js +1 -0
- package/dist/src/types/feeReminderType.d.ts +3 -0
- package/dist/src/types/feeReminderType.js +1 -0
- package/dist/src/types/feeReminderTypeType.d.ts +2 -0
- package/dist/src/types/feeReminderTypeType.js +1 -0
- package/dist/src/types/feeTypeHasTermsType.d.ts +3 -0
- package/dist/src/types/feeTypeHasTermsType.js +1 -0
- package/dist/src/types/feeTypeType.d.ts +3 -0
- package/dist/src/types/feeTypeType.js +1 -0
- package/dist/src/types/feedBackType.d.ts +2 -0
- package/dist/src/types/feedBackType.js +1 -0
- package/dist/src/types/feesCollectionType.d.ts +3 -0
- package/dist/src/types/feesCollectionType.js +1 -0
- package/dist/src/types/fileStorageType.d.ts +3 -0
- package/dist/src/types/fileStorageType.js +1 -0
- package/dist/src/types/floormanagementType.d.ts +3 -0
- package/dist/src/types/floormanagementType.js +1 -0
- package/dist/src/types/generateIdCardType.d.ts +2 -0
- package/dist/src/types/generateIdCardType.js +1 -0
- package/dist/src/types/greetingsType.d.ts +6 -0
- package/dist/src/types/greetingsType.js +1 -0
- package/dist/src/types/holidayType.d.ts +2 -0
- package/dist/src/types/holidayType.js +2 -0
- package/dist/src/types/homeWorkType.d.ts +3 -0
- package/dist/src/types/homeWorkType.js +1 -0
- package/dist/src/types/informationSupportType.d.ts +2 -0
- package/dist/src/types/informationSupportType.js +1 -0
- package/dist/src/types/inquiryType.d.ts +2 -0
- package/dist/src/types/inquiryType.js +1 -0
- package/dist/src/types/instituteEntityType.d.ts +6 -0
- package/dist/src/types/instituteEntityType.js +1 -0
- package/dist/src/types/instituteEntityTypeType.d.ts +3 -0
- package/dist/src/types/instituteEntityTypeType.js +1 -0
- package/dist/src/types/instituteSubscriptionPlanType.d.ts +3 -0
- package/dist/src/types/instituteSubscriptionPlanType.js +1 -0
- package/dist/src/types/instituteType.d.ts +3 -0
- package/dist/src/types/instituteType.js +1 -0
- package/dist/src/types/inventoryHistoryType.d.ts +3 -0
- package/dist/src/types/inventoryHistoryType.js +1 -0
- package/dist/src/types/inventoryType.d.ts +3 -0
- package/dist/src/types/inventoryType.js +1 -0
- package/dist/src/types/jobApply.d.ts +2 -0
- package/dist/src/types/jobApply.js +1 -0
- package/dist/src/types/lectureHistoryType.d.ts +6 -0
- package/dist/src/types/lectureHistoryType.js +1 -0
- package/dist/src/types/lectureType.d.ts +6 -0
- package/dist/src/types/lectureType.js +1 -0
- package/dist/src/types/masterLeaveType.d.ts +3 -0
- package/dist/src/types/masterLeaveType.js +1 -0
- package/dist/src/types/moduleFeatureType.d.ts +3 -0
- package/dist/src/types/moduleFeatureType.js +1 -0
- package/dist/src/types/moduleType.d.ts +3 -0
- package/dist/src/types/moduleType.js +1 -0
- package/dist/src/types/offerType.d.ts +3 -0
- package/dist/src/types/offerType.js +1 -0
- package/dist/src/types/paymentTermsType.d.ts +3 -0
- package/dist/src/types/paymentTermsType.js +2 -0
- package/dist/src/types/pdcChequeType.d.ts +6 -0
- package/dist/src/types/pdcChequeType.js +1 -0
- package/dist/src/types/pdcHistoryType.d.ts +2 -0
- package/dist/src/types/pdcHistoryType.js +1 -0
- package/dist/src/types/photosGalleryType.d.ts +2 -0
- package/dist/src/types/photosGalleryType.js +1 -0
- package/dist/src/types/plannerType.d.ts +7 -0
- package/dist/src/types/plannerType.js +1 -0
- package/dist/src/types/productType.d.ts +3 -0
- package/dist/src/types/productType.js +1 -0
- package/dist/src/types/projectAssessmentOptionType.d.ts +7 -0
- package/dist/src/types/projectAssessmentOptionType.js +1 -0
- package/dist/src/types/roleType.d.ts +11 -0
- package/dist/src/types/roleType.js +1 -0
- package/dist/src/types/rulesRegulationType.d.ts +3 -0
- package/dist/src/types/rulesRegulationType.js +1 -0
- package/dist/src/types/schoolFeeCollectionType.d.ts +3 -0
- package/dist/src/types/schoolFeeCollectionType.js +1 -0
- package/dist/src/types/schoolFeeType.d.ts +3 -0
- package/dist/src/types/schoolFeeType.js +1 -0
- package/dist/src/types/schoolOfferType.d.ts +3 -0
- package/dist/src/types/schoolOfferType.js +1 -0
- package/dist/src/types/sendNotificationType.d.ts +3 -0
- package/dist/src/types/sendNotificationType.js +1 -0
- package/dist/src/types/slotType.d.ts +2 -0
- package/dist/src/types/slotType.js +1 -0
- package/dist/src/types/subCategoryType.d.ts +3 -0
- package/dist/src/types/subCategoryType.js +1 -0
- package/dist/src/types/subjectHasFeeType.d.ts +3 -0
- package/dist/src/types/subjectHasFeeType.js +1 -0
- package/dist/src/types/subjectHasPayFeeHistoryType.d.ts +3 -0
- package/dist/src/types/subjectHasPayFeeHistoryType.js +1 -0
- package/dist/src/types/subjectIndexType.d.ts +7 -0
- package/dist/src/types/subjectIndexType.js +1 -0
- package/dist/src/types/subscriptionPlanType.d.ts +2 -0
- package/dist/src/types/subscriptionPlanType.js +1 -0
- package/dist/src/types/syllabusType.d.ts +7 -0
- package/dist/src/types/syllabusType.js +1 -0
- package/dist/src/types/taskManagementType.d.ts +2 -0
- package/dist/src/types/taskManagementType.js +1 -0
- package/dist/src/types/testimonialType.d.ts +13 -0
- package/dist/src/types/testimonialType.js +1 -0
- package/dist/src/types/toDoType.d.ts +6 -0
- package/dist/src/types/toDoType.js +1 -0
- package/dist/src/types/tripType.d.ts +2 -0
- package/dist/src/types/tripType.js +1 -0
- package/dist/src/types/typeManagementType.d.ts +3 -0
- package/dist/src/types/typeManagementType.js +1 -0
- package/dist/src/types/uniqueNumberCounterType.d.ts +2 -0
- package/dist/src/types/uniqueNumberCounterType.js +1 -0
- package/dist/src/types/userBookAssessmentType.d.ts +7 -0
- package/dist/src/types/userBookAssessmentType.js +1 -0
- package/dist/src/types/userDetailsType.d.ts +2 -0
- package/dist/src/types/userDetailsType.js +1 -0
- package/dist/src/types/userFeeTypeByAccountType.d.ts +3 -0
- package/dist/src/types/userFeeTypeByAccountType.js +1 -0
- package/dist/src/types/userFeeTypeType.d.ts +6 -0
- package/dist/src/types/userFeeTypeType.js +1 -0
- package/dist/src/types/userHasAnnouncementType.d.ts +3 -0
- package/dist/src/types/userHasAnnouncementType.js +1 -0
- package/dist/src/types/userHasBatchType.d.ts +9 -0
- package/dist/src/types/userHasBatchType.js +1 -0
- package/dist/src/types/userHasCourseType.d.ts +3 -0
- package/dist/src/types/userHasCourseType.js +1 -0
- package/dist/src/types/userHasDeviceType.d.ts +3 -0
- package/dist/src/types/userHasDeviceType.js +1 -0
- package/dist/src/types/userHasFeeTermsType.d.ts +3 -0
- package/dist/src/types/userHasFeeTermsType.js +1 -0
- package/dist/src/types/userHasFileType.d.ts +3 -0
- package/dist/src/types/userHasFileType.js +1 -0
- package/dist/src/types/userHasHomeWorkType.d.ts +3 -0
- package/dist/src/types/userHasHomeWorkType.js +1 -0
- package/dist/src/types/userHasInventoryHistoryType.d.ts +3 -0
- package/dist/src/types/userHasInventoryHistoryType.js +1 -0
- package/dist/src/types/userHasInventoryType.d.ts +3 -0
- package/dist/src/types/userHasInventoryType.js +1 -0
- package/dist/src/types/userHasLeaveHistoryType.d.ts +3 -0
- package/dist/src/types/userHasLeaveHistoryType.js +1 -0
- package/dist/src/types/userHasLeaveType.d.ts +3 -0
- package/dist/src/types/userHasLeaveType.js +1 -0
- package/dist/src/types/userHasOffer.d.ts +3 -0
- package/dist/src/types/userHasOffer.js +1 -0
- package/dist/src/types/userHasParentType.d.ts +10 -0
- package/dist/src/types/userHasParentType.js +1 -0
- package/dist/src/types/userHasRoleType.d.ts +3 -0
- package/dist/src/types/userHasRoleType.js +1 -0
- package/dist/src/types/userHasRollNumberType.d.ts +3 -0
- package/dist/src/types/userHasRollNumberType.js +1 -0
- package/dist/src/types/userHasStorageType.d.ts +3 -0
- package/dist/src/types/userHasStorageType.js +1 -0
- package/dist/src/types/userHasSubjectFeeType.d.ts +3 -0
- package/dist/src/types/userHasSubjectFeeType.js +1 -0
- package/dist/src/types/userInstituteMetaType.d.ts +2 -0
- package/dist/src/types/userInstituteMetaType.js +1 -0
- package/dist/src/types/userLeaveRequestType.d.ts +3 -0
- package/dist/src/types/userLeaveRequestType.js +1 -0
- package/dist/src/types/userMetaType.d.ts +13 -0
- package/dist/src/types/userMetaType.js +1 -0
- package/dist/src/types/userPayoutDetailsType.d.ts +3 -0
- package/dist/src/types/userPayoutDetailsType.js +1 -0
- package/dist/src/types/userPayoutHistoryType.d.ts +3 -0
- package/dist/src/types/userPayoutHistoryType.js +1 -0
- package/dist/src/types/userPayoutType.d.ts +7 -0
- package/dist/src/types/userPayoutType.js +1 -0
- package/dist/src/types/userProjectAssessmentOptionType.d.ts +7 -0
- package/dist/src/types/userProjectAssessmentOptionType.js +1 -0
- package/dist/src/types/userRequiredStepsType.d.ts +3 -0
- package/dist/src/types/userRequiredStepsType.js +1 -0
- package/dist/src/types/userSchoolMetaType.d.ts +3 -0
- package/dist/src/types/userSchoolMetaType.js +1 -0
- package/dist/src/types/userType.d.ts +12 -0
- package/dist/src/types/userType.js +1 -0
- package/dist/src/types/vehicleType.d.ts +3 -0
- package/dist/src/types/vehicleType.js +1 -0
- package/dist/src/types/vendorType.d.ts +3 -0
- package/dist/src/types/vendorType.js +1 -0
- package/dist/src/types/videoAnalystType.d.ts +2 -0
- package/dist/src/types/videoAnalystType.js +1 -0
- package/dist/src/types/walletHistoryType.d.ts +3 -0
- package/dist/src/types/walletHistoryType.js +1 -0
- package/dist/src/types/walletTransactionType.d.ts +3 -0
- package/dist/src/types/walletTransactionType.js +1 -0
- package/dist/src/types/walletType.d.ts +3 -0
- package/dist/src/types/walletType.js +1 -0
- package/dist/src/types/workingDayType.d.ts +3 -0
- package/dist/src/types/workingDayType.js +1 -0
- package/dist/src/types/workingShiftType.d.ts +3 -0
- package/dist/src/types/workingShiftType.js +1 -0
- package/package.json +5 -4
- package/dist/configs/aws.ts +0 -10
- package/dist/configs/env.ts +0 -48
- package/dist/configs/postgresConfig.js +0 -32
- package/dist/constants/app.ts +0 -1046
- package/dist/constants/defaultModelAttributes.ts +0 -26
- package/dist/constants/errorMessages.ts +0 -1109
- package/dist/constants/httpStatusCode.ts +0 -26
- package/dist/constants/successMessages.ts +0 -758
- package/dist/db/mongodb.ts +0 -19
- package/dist/db/postgres.ts +0 -24
- package/dist/db/psql/index.js +0 -108
- package/dist/db/psql/migrations/20241225101052-add-deleted-by-and-deleted-at-fields.js +0 -84
- package/dist/db/psql/migrations/20250106070945-add-user-fields-and-deleted-user-fields.js +0 -41
- package/dist/db/psql/migrations/20250106080059-add-fields-and-deleted-fields.js +0 -105
- package/dist/db/psql/migrations/20250108092439-update-batch-model-fields.js +0 -41
- package/dist/db/psql/migrations/20250210102846-add-profileImage-coverImage-to-users.js +0 -113
- package/dist/db/psql/migrations/20250211071743-add-action-user-has-histroy.js +0 -87
- package/dist/db/psql/migrations/20250213140815-add-assignQuantity-user-has-histroy.js +0 -91
- package/dist/db/psql/migrations/20250214072626-add-middlename-user.js +0 -91
- package/dist/db/psql/migrations/20250224085333-add-apptype-in-user.js +0 -89
- package/dist/db/psql/migrations/20250226053006-add-brouchure-in-institute.js +0 -91
- package/dist/db/psql/migrations/20250227123530-add-defult-in-fee-reminder.js +0 -89
- package/dist/db/psql/migrations/20250304052831-add-institued-in-school-data-clm.js +0 -159
- package/dist/db/psql/migrations/20250306053557-add-shifyId-in-batch.js +0 -97
- package/dist/db/psql/migrations/20250311044606-add-institued-in-school-data-clm-subtype.js +0 -51
- package/dist/db/psql/migrations/20250402090653-add-user-area.js +0 -104
- package/dist/db/psql/migrations/20250407094125-update-type-in-typeManagement.js +0 -88
- package/dist/db/psql/migrations/20250409105229-add-user-type-in-role.js +0 -63
- package/dist/db/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.js +0 -18
- package/dist/db/psql/migrations/20250419071236-fee_histroy_add_school_clm.js +0 -145
- package/dist/db/psql/migrations/20250419085334-fee_histroy_add_school_clm.js +0 -97
- package/dist/db/psql/migrations/20250421085618-add-entityIds-field-in-announcements.js +0 -89
- package/dist/db/psql/migrations/20250422114032-add-account.js +0 -97
- package/dist/db/psql/migrations/20250423051841-add-master-leave-clm.js +0 -78
- package/dist/db/psql/migrations/20250423064522-update-calender-enum.js +0 -42
- package/dist/db/psql/migrations/20250423093827-update-institued-district.js +0 -88
- package/dist/db/psql/migrations/20250424044755-update-fee-history-feeTyps-clm.js +0 -44
- package/dist/db/psql/migrations/20250424053841-update-fee-history-key.js +0 -40
- package/dist/db/psql/migrations/20250426070309-update-banner-clm-userType.js +0 -63
- package/dist/db/psql/migrations/20250505035157-update-fee-collection-clm-add.js +0 -97
- package/dist/db/psql/migrations/20250505082924-update-banner-clm.js +0 -22
- package/dist/db/psql/migrations/20250505094616-about-as-clm-in-institued.js +0 -19
- package/dist/db/psql/migrations/20250506070110-add-dayOfWeek-clm-in-working-model.js +0 -90
- package/dist/db/psql/migrations/20250509055920-add-feecollection-isleft-clm.js +0 -90
- package/dist/db/psql/migrations/20250513061037-add-techer-clm-batch.js +0 -99
- package/dist/db/psql/migrations/20250514101801-add-slotId-workingShif.js +0 -97
- package/dist/db/psql/migrations/20250516062917-add-globalId-clm-user-model.js +0 -90
- package/dist/db/psql/migrations/20250516063542-add-globalId-clm-institute-model.js +0 -90
- package/dist/db/psql/migrations/20250520061231-add-institued_mobile_person_data.js +0 -126
- package/dist/db/psql/migrations/20250522044729-add-institued_update_add_2.js +0 -19
- package/dist/db/psql/migrations/20250526035543-add-totalQuantity_add_remainingQuantiy_clm_userHasInventoryHistory.js +0 -108
- package/dist/db/psql/migrations/20250526093322-add-appType_clm_in_module.js +0 -90
- package/dist/db/psql/migrations/20250526094030-add-appType_clm_in_action.js +0 -90
- package/dist/db/psql/migrations/20250526094233-add-appType_clm_in_module_features.js +0 -90
- package/dist/db/psql/migrations/20250527065001-add-app-type-in-role-model.js +0 -64
- package/dist/db/psql/migrations/20250528045906-add-module-type-to-notifications.js +0 -16
- package/dist/db/psql/migrations/20250602090331-add-or-update-user-model-medicalHistory.js +0 -119
- package/dist/db/psql/migrations/20250602100550-add-planner-sync-status-to-institute.js +0 -119
- package/dist/db/psql/migrations/20250603054900-add-clm-for-defult-data-add-or-not-in-ins-model.js +0 -90
- package/dist/db/psql/migrations/20250604103905-add-is-institute-default-field-in-role.js +0 -63
- package/dist/db/psql/migrations/20250604121051-update-mobile-number-opstion.js +0 -19
- package/dist/db/psql/migrations/20250617064159-update-type-management-jun-17.js +0 -14
- package/dist/db/psql/migrations/20250627065013-is-institute-default-added-type-managemente.js +0 -15
- package/dist/db/psql/migrations/20250701095321-add-clm-institute-pdfId.js +0 -63
- package/dist/db/psql/migrations/20250704102117-add-clm-isDefult-in-typeManagemet.js +0 -15
- package/dist/db/psql/migrations/20250715103324-add-academic-calendar-id-to-batches.js +0 -15
- package/dist/db/psql/migrations/20250715121047-remove-batch-id-from-academic-calendars.js +0 -14
- package/dist/db/psql/migrations/20250716131731-rename-user-id-to-primary-user-id.js +0 -11
- package/dist/db/psql/migrations/20250717092933-add-floor-id-to-class-rooms.js +0 -97
- package/dist/db/psql/migrations/20250718121251-add-clm-classroom-typeid.js +0 -97
- package/dist/db/psql/migrations/20250721065317-add-instituteId-fileSize-to-fileStorage.js +0 -26
- package/dist/db/psql/migrations/20250721100004-add-shift-slot-id-to-lectures.js +0 -20
- package/dist/db/psql/migrations/20250721105455-add-clm-classroom-add-classroomnumber.js +0 -89
- package/dist/db/psql/migrations/20250722071836-add-title-to-floor-management.js +0 -16
- package/dist/db/psql/migrations/20250723150111-add-clm-batch-slotId.js +0 -97
- package/dist/db/psql/migrations/20250724062458-update_classRoom_number_clm_to_string.js +0 -18
- package/dist/db/psql/migrations/20250725132424-add-unique-index-on-instituteId-name-type.js +0 -27
- package/dist/db/psql/migrations/20250730104844-update-unique-key-assessment-type.js +0 -34
- package/dist/db/psql/migrations/20250804090437-update_ins_in_pdf_id_string_to_uuid.js +0 -73
- package/dist/db/psql/migrations/20250805062440-remove_unique_key_into_batch_subject_project_assessments.js +0 -25
- package/dist/db/psql/migrations/20250805115805-add-descriptions-to-lectures.js +0 -14
- package/dist/db/psql/migrations/20250808100700-add_clm_contectFeed_in_ins_givenId.js +0 -97
- package/dist/db/psql/migrations/20250808101515-add-sequence-to-institute_entities.js +0 -14
- package/dist/db/psql/migrations/20250812080521-add-title-and-descriptions-to-batch-subject-project-assessments.js +0 -20
- package/dist/db/psql/migrations/20250820092836-add-sequence-number-to-institute-entities.js +0 -18
- package/dist/db/psql/migrations/20250829103203-remove-syllabus-composit-index.js +0 -18
- package/dist/db/psql/migrations/20250905132024-add-uuid-to-users.js +0 -14
- package/dist/db/psql/migrations/20250908054025-userHasOffer_model_update.js +0 -123
- package/dist/db/psql/migrations/20250908054754-offer_in_add_offertype_clm.js +0 -81
- package/dist/db/psql/migrations/20250909061117-add-instituteId-isDefault-to-entityGroup.js +0 -21
- package/dist/db/psql/migrations/20250911060106-change-wallet-history-columns-to-float.js +0 -47
- package/dist/db/psql/migrations/20250911060245-change-coin-to-float-in-wallets.js +0 -19
- package/dist/db/psql/migrations/20250917135646-change-storageInBytes-to-float.js +0 -19
- package/dist/db/psql/seeders/20240809100759-add-countries-states-cities.js +0 -73
- package/dist/db/psql/seeders/20250101122757-add-default-permissions-modules.js +0 -188
- package/dist/db/psql/seeders/Data/AcademicCalendarModule.js +0 -25
- package/dist/db/psql/seeders/Data/AdministrativeStaffModule.js +0 -37
- package/dist/db/psql/seeders/Data/AnnouncementsModule.js +0 -51
- package/dist/db/psql/seeders/Data/AssetsModule.js +0 -37
- package/dist/db/psql/seeders/Data/AttendanceModule.js +0 -58
- package/dist/db/psql/seeders/Data/BannerModule.js +0 -25
- package/dist/db/psql/seeders/Data/BatchModule.js +0 -35
- package/dist/db/psql/seeders/Data/BoardModule .js +0 -18
- package/dist/db/psql/seeders/Data/BookAssessmentsModule.js +0 -24
- package/dist/db/psql/seeders/Data/CategoriesModule.js +0 -18
- package/dist/db/psql/seeders/Data/ClassroomModule.js +0 -38
- package/dist/db/psql/seeders/Data/DivisionModule.js +0 -26
- package/dist/db/psql/seeders/Data/EventModule.js +0 -23
- package/dist/db/psql/seeders/Data/ExamsAndResultsModule.js +0 -114
- package/dist/db/psql/seeders/Data/FacilityModule.js +0 -23
- package/dist/db/psql/seeders/Data/FeeAndDiscountModule.js +0 -241
- package/dist/db/psql/seeders/Data/FeedBackModule.js +0 -28
- package/dist/db/psql/seeders/Data/FileModule.js +0 -38
- package/dist/db/psql/seeders/Data/GenerateIdModule.js +0 -20
- package/dist/db/psql/seeders/Data/HolidayModule.js +0 -23
- package/dist/db/psql/seeders/Data/HomeworkModule.js +0 -43
- package/dist/db/psql/seeders/Data/IndexModule.js +0 -98
- package/dist/db/psql/seeders/Data/InquiryModule.js +0 -23
- package/dist/db/psql/seeders/Data/InstituteModule.js +0 -64
- package/dist/db/psql/seeders/Data/InventoryModule.js +0 -43
- package/dist/db/psql/seeders/Data/JobApplyModule.js +0 -23
- package/dist/db/psql/seeders/Data/LectureModule.js +0 -28
- package/dist/db/psql/seeders/Data/ParentModule.js +0 -38
- package/dist/db/psql/seeders/Data/PayoutModule.js +0 -18
- package/dist/db/psql/seeders/Data/PdcChequesModule.js +0 -28
- package/dist/db/psql/seeders/Data/PhotosGalleryModule.js +0 -28
- package/dist/db/psql/seeders/Data/PlannerModule.js +0 -18
- package/dist/db/psql/seeders/Data/ProjectAssessmentsModule.js +0 -24
- package/dist/db/psql/seeders/Data/ReplaceTeacherModule.js +0 -23
- package/dist/db/psql/seeders/Data/RoleModule.js +0 -54
- package/dist/db/psql/seeders/Data/RollNumberModule.js +0 -23
- package/dist/db/psql/seeders/Data/SchoolFeeModule.js +0 -38
- package/dist/db/psql/seeders/Data/SchoolModule.js +0 -64
- package/dist/db/psql/seeders/Data/SchoolRegistration.js +0 -23
- package/dist/db/psql/seeders/Data/SettingsModule.js +0 -28
- package/dist/db/psql/seeders/Data/StaffTimingModule.js +0 -23
- package/dist/db/psql/seeders/Data/StudentModule.js +0 -18
- package/dist/db/psql/seeders/Data/SubjectModule.js +0 -37
- package/dist/db/psql/seeders/Data/SyllabusManagementModule.js +0 -26
- package/dist/db/psql/seeders/Data/TeacherModule.js +0 -68
- package/dist/db/psql/seeders/Data/TestimonialsModule.js +0 -28
- package/dist/db/psql/seeders/Data/TimetableModule.js +0 -44
- package/dist/db/psql/seeders/Data/To-doModule.js +0 -28
- package/dist/db/psql/seeders/Data/TypeManagementModule.js +0 -29
- package/dist/db/psql/seeders/Data/UserModule.js +0 -268
- package/dist/db/psql/seeders/Data/appType.js +0 -7
- package/dist/helpers/s3Uploader.ts +0 -61
- package/dist/helpers/utils.ts +0 -738
- package/dist/index.ts +0 -415
- package/dist/interfaces/academicCalendarInterface.ts +0 -11
- package/dist/interfaces/accountHasReceiptDetailsInterface.ts +0 -18
- package/dist/interfaces/announcementInterface.ts +0 -20
- package/dist/interfaces/approvalRequestInterface.ts +0 -15
- package/dist/interfaces/attendanceInterface.ts +0 -23
- package/dist/interfaces/bankAccountDetailsInterface.ts +0 -15
- package/dist/interfaces/bannerInterface.ts +0 -16
- package/dist/interfaces/batchInterface.ts +0 -19
- package/dist/interfaces/batchSubjectBookAssessmentInterface.ts +0 -10
- package/dist/interfaces/batchSubjectProjectAssessmentInterface.ts +0 -13
- package/dist/interfaces/blogInterface.ts +0 -48
- package/dist/interfaces/bookAssessmentDateInterface.ts +0 -9
- package/dist/interfaces/careerInterface.ts +0 -13
- package/dist/interfaces/categoriesInterface.ts +0 -9
- package/dist/interfaces/certificatesHistoryInterface.ts +0 -10
- package/dist/interfaces/certificatesManagementInterface.ts +0 -13
- package/dist/interfaces/cityInterface.ts +0 -13
- package/dist/interfaces/classRoomInterface.ts +0 -14
- package/dist/interfaces/cloudStorageInterface.ts +0 -16
- package/dist/interfaces/coinPurchaseOfferInterface.ts +0 -17
- package/dist/interfaces/columnInterface.ts +0 -17
- package/dist/interfaces/commanInterface.ts +0 -71
- package/dist/interfaces/contactFeedBackInterface.ts +0 -13
- package/dist/interfaces/countryInterface.ts +0 -11
- package/dist/interfaces/courseHasVisitorsInterface.ts +0 -8
- package/dist/interfaces/courseInterface.ts +0 -19
- package/dist/interfaces/dailyBookInterface.ts +0 -15
- package/dist/interfaces/dashboardManagementInterface.ts +0 -21
- package/dist/interfaces/driverInterface.ts +0 -22
- package/dist/interfaces/entityGroupInterface.ts +0 -13
- package/dist/interfaces/eventInterface.ts +0 -24
- package/dist/interfaces/examGroupInterface.ts +0 -35
- package/dist/interfaces/examHasAnswerSheetInterface.ts +0 -31
- package/dist/interfaces/examInterface.ts +0 -44
- package/dist/interfaces/facilityInterface.ts +0 -10
- package/dist/interfaces/featureActionInterface.ts +0 -19
- package/dist/interfaces/feeHistoryDetailsInterface.ts +0 -18
- package/dist/interfaces/feeHistoryInterface.ts +0 -23
- package/dist/interfaces/feeReminderInterface.ts +0 -14
- package/dist/interfaces/feeReminderSettingInterface.ts +0 -13
- package/dist/interfaces/feeReminderTypeInterface.ts +0 -11
- package/dist/interfaces/feeTypeHasTermsInterface.ts +0 -13
- package/dist/interfaces/feeTypeInterface.ts +0 -14
- package/dist/interfaces/feedBackInterface.ts +0 -21
- package/dist/interfaces/feesCollectionInterface.ts +0 -20
- package/dist/interfaces/fileStorageInterface.ts +0 -15
- package/dist/interfaces/floorManagementInterface.ts +0 -10
- package/dist/interfaces/generateIdCardInterface.ts +0 -9
- package/dist/interfaces/greetingsInterface.ts +0 -13
- package/dist/interfaces/holidayInterface.ts +0 -25
- package/dist/interfaces/homeworkInterface.ts +0 -14
- package/dist/interfaces/informationSupportInterface.ts +0 -17
- package/dist/interfaces/inquiryInterface.ts +0 -56
- package/dist/interfaces/instituteEntityInterface.ts +0 -17
- package/dist/interfaces/instituteEntityTypeInterface.ts +0 -12
- package/dist/interfaces/instituteInterface.ts +0 -36
- package/dist/interfaces/instituteSubscriptionPlanInterface.ts +0 -25
- package/dist/interfaces/inventoryHistoryInterface.ts +0 -18
- package/dist/interfaces/inventoryInterface.ts +0 -16
- package/dist/interfaces/invoiceInterface.ts +0 -35
- package/dist/interfaces/jobApplyInterface.ts +0 -39
- package/dist/interfaces/lectureHistoryInterface.ts +0 -25
- package/dist/interfaces/lectureInterface.ts +0 -27
- package/dist/interfaces/masterLeaveInterface.ts +0 -14
- package/dist/interfaces/moduleFeatureInterface.ts +0 -18
- package/dist/interfaces/moduleInterface.ts +0 -16
- package/dist/interfaces/offersInterface.ts +0 -19
- package/dist/interfaces/paymentTermsInterface.ts +0 -16
- package/dist/interfaces/pdcChequeInterface.ts +0 -17
- package/dist/interfaces/pdcHistoryInterface.ts +0 -18
- package/dist/interfaces/photosGalleryInterface.ts +0 -19
- package/dist/interfaces/pincodeInterface.ts +0 -16
- package/dist/interfaces/plannerInterface.ts +0 -35
- package/dist/interfaces/productInterface.ts +0 -11
- package/dist/interfaces/projectAssessmentOptionInterface.ts +0 -9
- package/dist/interfaces/replaceTeacherInterface.ts +0 -25
- package/dist/interfaces/roleInterface.ts +0 -27
- package/dist/interfaces/rulesRegulationInterface.ts +0 -11
- package/dist/interfaces/schoolFeeCollectionInterface.ts +0 -14
- package/dist/interfaces/schoolFeeInterface.ts +0 -26
- package/dist/interfaces/schoolOfferInterface.ts +0 -21
- package/dist/interfaces/sendNotificationInerface.ts +0 -24
- package/dist/interfaces/slotInterface.ts +0 -9
- package/dist/interfaces/stateInterface.ts +0 -12
- package/dist/interfaces/subCategoriesInterface.ts +0 -10
- package/dist/interfaces/subjectHasFeeInterface.ts +0 -8
- package/dist/interfaces/subjectHasPayFeeHistoryInterface.ts +0 -10
- package/dist/interfaces/subjectIndexInterface.ts +0 -51
- package/dist/interfaces/subscriptionPlanInterface.ts +0 -39
- package/dist/interfaces/syllabusInterface.ts +0 -11
- package/dist/interfaces/taskManagementInterface.ts +0 -26
- package/dist/interfaces/testimonialInterface.ts +0 -13
- package/dist/interfaces/toDoInterface.ts +0 -12
- package/dist/interfaces/tokenInterface.ts +0 -30
- package/dist/interfaces/tripInterface.ts +0 -14
- package/dist/interfaces/typeManagementInterface.ts +0 -12
- package/dist/interfaces/uniqueNumberCounterInterface.ts +0 -12
- package/dist/interfaces/userBookAssessmentInterface.ts +0 -11
- package/dist/interfaces/userDetailsInterface.ts +0 -138
- package/dist/interfaces/userFeeTypeByAccountInterface.ts +0 -20
- package/dist/interfaces/userFeeTypeInterface.ts +0 -17
- package/dist/interfaces/userHasAnnouncementInterface.ts +0 -10
- package/dist/interfaces/userHasBatchInterface.ts +0 -8
- package/dist/interfaces/userHasCourseInterface.ts +0 -14
- package/dist/interfaces/userHasDeviceInterface.ts +0 -11
- package/dist/interfaces/userHasFeeTermsInterface.ts +0 -39
- package/dist/interfaces/userHasFileInterface.ts +0 -12
- package/dist/interfaces/userHasHomeWorkInterface.ts +0 -12
- package/dist/interfaces/userHasInventoryHistoryInterface.ts +0 -21
- package/dist/interfaces/userHasInventoryInterface.ts +0 -22
- package/dist/interfaces/userHasLeaveHistoryInterface.ts +0 -17
- package/dist/interfaces/userHasLeaveInterface.ts +0 -13
- package/dist/interfaces/userHasOfferInterface.ts +0 -11
- package/dist/interfaces/userHasParentInterface.ts +0 -15
- package/dist/interfaces/userHasRoleInterface.ts +0 -14
- package/dist/interfaces/userHasRollNumberInterface.ts +0 -9
- package/dist/interfaces/userHasStorageInterface.ts +0 -12
- package/dist/interfaces/userHasSubjectFeeInterface.ts +0 -10
- package/dist/interfaces/userInstituteMetaInterface.ts +0 -49
- package/dist/interfaces/userInterface.ts +0 -46
- package/dist/interfaces/userLeaveRequestInterface.ts +0 -16
- package/dist/interfaces/userMetaInterface.ts +0 -14
- package/dist/interfaces/userPayoutDetailsInterface.ts +0 -15
- package/dist/interfaces/userPayoutHistoryInterface.ts +0 -19
- package/dist/interfaces/userPayoutInterface.ts +0 -13
- package/dist/interfaces/userProjectAssessmentOptionInterface.ts +0 -11
- package/dist/interfaces/userRequiredStepsInterface.ts +0 -10
- package/dist/interfaces/userSchoolMetaInterface.ts +0 -123
- package/dist/interfaces/vehicleInterface.ts +0 -12
- package/dist/interfaces/vendorManagementInterface.ts +0 -20
- package/dist/interfaces/videoAnalystInterface.ts +0 -38
- package/dist/interfaces/walletHistoryInterface.ts +0 -16
- package/dist/interfaces/walletInterface.ts +0 -11
- package/dist/interfaces/walletTransactionInterface.ts +0 -47
- package/dist/interfaces/workingDayInterface.ts +0 -12
- package/dist/interfaces/workingShiftInterface.ts +0 -13
- package/dist/models/mongodb/approvalRequestModel.ts +0 -71
- package/dist/models/mongodb/attendanceModel.ts +0 -189
- package/dist/models/mongodb/blogModel.ts +0 -78
- package/dist/models/mongodb/careerModel.ts +0 -55
- package/dist/models/mongodb/certificatesHistoryModel.ts +0 -33
- package/dist/models/mongodb/certificatesManagementModel.ts +0 -42
- package/dist/models/mongodb/columnModel.ts +0 -53
- package/dist/models/mongodb/dailyBookModel.ts +0 -60
- package/dist/models/mongodb/dashboardManagementModel.ts +0 -91
- package/dist/models/mongodb/eventModel.ts +0 -153
- package/dist/models/mongodb/examGroupModel.ts +0 -320
- package/dist/models/mongodb/examHasAnswerSheetModel.ts +0 -121
- package/dist/models/mongodb/examModel.ts +0 -268
- package/dist/models/mongodb/feeReminderTypeModel.ts +0 -48
- package/dist/models/mongodb/feedBackModel.ts +0 -87
- package/dist/models/mongodb/generateIdCardModel.ts +0 -29
- package/dist/models/mongodb/holidayModel.ts +0 -164
- package/dist/models/mongodb/index.ts +0 -21
- package/dist/models/mongodb/informationSupportModel.ts +0 -76
- package/dist/models/mongodb/inquiryModel.ts +0 -196
- package/dist/models/mongodb/invoiceModel.ts +0 -115
- package/dist/models/mongodb/jobApplyModel.ts +0 -135
- package/dist/models/mongodb/photosGalleryModel.ts +0 -63
- package/dist/models/mongodb/plannerModel.ts +0 -169
- package/dist/models/mongodb/plugin/addDefaultAttributesPlugin.ts +0 -70
- package/dist/models/mongodb/plugin/transformIdInQueryPlugin.ts +0 -67
- package/dist/models/mongodb/plugin/transformIdInResponsePlugin.ts +0 -72
- package/dist/models/mongodb/replaceTeacherModel.ts +0 -90
- package/dist/models/mongodb/schoolFeeModel.ts +0 -175
- package/dist/models/mongodb/subjectIndexModel.ts +0 -875
- package/dist/models/mongodb/subscriptionPlanModel.ts +0 -113
- package/dist/models/mongodb/taskManagementModel.ts +0 -152
- package/dist/models/mongodb/uniqueNumberCounterModel.ts +0 -57
- package/dist/models/mongodb/userDetailsModel.ts +0 -532
- package/dist/models/mongodb/userDoc.ts +0 -16
- package/dist/models/mongodb/userInstituteMetaModel.ts +0 -202
- package/dist/models/mongodb/userSchoolMetaModel.ts +0 -617
- package/dist/models/mongodb/videoAnalystModel.ts +0 -56
- package/dist/models/mongodb/walletTransactionModel.ts +0 -150
- package/dist/models/psql/SubCategoriesModel.ts +0 -122
- package/dist/models/psql/academicCalendarModel.ts +0 -117
- package/dist/models/psql/accountHasReceiptDetailsModel.ts +0 -179
- package/dist/models/psql/announcementModel.ts +0 -248
- package/dist/models/psql/areaModel.ts +0 -47
- package/dist/models/psql/bankAccountDetailsModel.ts +0 -123
- package/dist/models/psql/bannerModel.ts +0 -141
- package/dist/models/psql/batchModel.ts +0 -268
- package/dist/models/psql/batchSubjectBookAssessmentModel.ts +0 -185
- package/dist/models/psql/batchSubjectProjectAssessmentModel.ts +0 -187
- package/dist/models/psql/bookAssessmentDateModel.ts +0 -106
- package/dist/models/psql/categoriesModel.ts +0 -98
- package/dist/models/psql/cityModel.ts +0 -86
- package/dist/models/psql/classRoomModel.ts +0 -153
- package/dist/models/psql/cloudStorageModel.ts +0 -121
- package/dist/models/psql/coinPurchaseOfferModel.ts +0 -128
- package/dist/models/psql/contactFeedBackModel.ts +0 -146
- package/dist/models/psql/countryModel.ts +0 -58
- package/dist/models/psql/courseHasVisitorsModel.ts +0 -89
- package/dist/models/psql/courseModel.ts +0 -166
- package/dist/models/psql/driverModel.ts +0 -204
- package/dist/models/psql/entityGroupModel.ts +0 -124
- package/dist/models/psql/facilityModel.ts +0 -149
- package/dist/models/psql/featureActionModel.ts +0 -118
- package/dist/models/psql/feeHistoryDetailsModel.ts +0 -218
- package/dist/models/psql/feeHistoryModel.ts +0 -402
- package/dist/models/psql/feeReminderModel.ts +0 -295
- package/dist/models/psql/feeReminderSettingModel.ts +0 -115
- package/dist/models/psql/feeTypeHasTermsModel.ts +0 -127
- package/dist/models/psql/feeTypeModel.ts +0 -151
- package/dist/models/psql/feesCollectionModel.ts +0 -275
- package/dist/models/psql/fileStorageModel.ts +0 -90
- package/dist/models/psql/floorManagementModel.ts +0 -109
- package/dist/models/psql/greetingsModel.ts +0 -147
- package/dist/models/psql/homeWorkModel.ts +0 -155
- package/dist/models/psql/index.ts +0 -108
- package/dist/models/psql/instituteEntityModel.ts +0 -160
- package/dist/models/psql/instituteEntityTypeModel.ts +0 -93
- package/dist/models/psql/instituteModel.ts +0 -290
- package/dist/models/psql/instituteSubscriptionPlanModel.ts +0 -227
- package/dist/models/psql/inventoryHistoryModel.ts +0 -189
- package/dist/models/psql/inventoryModel.ts +0 -160
- package/dist/models/psql/lectureHistoryModel.ts +0 -272
- package/dist/models/psql/lectureModel.ts +0 -602
- package/dist/models/psql/masterLeaveModel.ts +0 -173
- package/dist/models/psql/moduleFeatureModel.ts +0 -121
- package/dist/models/psql/moduleModel.ts +0 -124
- package/dist/models/psql/offerModel.ts +0 -175
- package/dist/models/psql/paymentTermsModel.ts +0 -133
- package/dist/models/psql/pdcChequeModel.ts +0 -169
- package/dist/models/psql/pdcHistoryModel.ts +0 -185
- package/dist/models/psql/pincodeModel.ts +0 -103
- package/dist/models/psql/productModel.ts +0 -148
- package/dist/models/psql/projectAssessmentOptionModel.ts +0 -111
- package/dist/models/psql/roleModel.ts +0 -120
- package/dist/models/psql/rulesRegulationModel.ts +0 -92
- package/dist/models/psql/schoolFeeCollectionModel.ts +0 -177
- package/dist/models/psql/schoolOfferModel.ts +0 -202
- package/dist/models/psql/sendNotificationModel.ts +0 -146
- package/dist/models/psql/slotModel.ts +0 -122
- package/dist/models/psql/stateModel.ts +0 -70
- package/dist/models/psql/subjectHasFeeModel.ts +0 -97
- package/dist/models/psql/subjectHasPayFeeHistoryModel.ts +0 -132
- package/dist/models/psql/syllabusModel.ts +0 -149
- package/dist/models/psql/testimonialModel.ts +0 -215
- package/dist/models/psql/toDoModel.ts +0 -147
- package/dist/models/psql/tokenModel.ts +0 -53
- package/dist/models/psql/tripModel.ts +0 -141
- package/dist/models/psql/typeManagementModel.ts +0 -155
- package/dist/models/psql/userBookAssessmentModel.ts +0 -168
- package/dist/models/psql/userFeeTypeByAccountModel.ts +0 -205
- package/dist/models/psql/userFeeTypeModel.ts +0 -195
- package/dist/models/psql/userHasAnnouncementModel.ts +0 -132
- package/dist/models/psql/userHasBatchModel.ts +0 -112
- package/dist/models/psql/userHasCourseModel.ts +0 -142
- package/dist/models/psql/userHasDeviceModel.ts +0 -112
- package/dist/models/psql/userHasFeeTermsModel.ts +0 -232
- package/dist/models/psql/userHasFileModel.ts +0 -126
- package/dist/models/psql/userHasHomeWorkModel.ts +0 -145
- package/dist/models/psql/userHasInventoryHistoryModel.ts +0 -179
- package/dist/models/psql/userHasInventoryModel.ts +0 -181
- package/dist/models/psql/userHasLeaveHistoryModel.ts +0 -132
- package/dist/models/psql/userHasLeaveModel.ts +0 -147
- package/dist/models/psql/userHasOfferModel.ts +0 -190
- package/dist/models/psql/userHasParentModel.ts +0 -164
- package/dist/models/psql/userHasRoleModel.ts +0 -119
- package/dist/models/psql/userHasRollNumberModel.ts +0 -115
- package/dist/models/psql/userHasStorageModel.ts +0 -111
- package/dist/models/psql/userHasSubjectFeeModel.ts +0 -106
- package/dist/models/psql/userLeaveRequestModel.ts +0 -129
- package/dist/models/psql/userModel.ts +0 -491
- package/dist/models/psql/userPayoutDetailsModel.ts +0 -193
- package/dist/models/psql/userPayoutHistoryModel.ts +0 -188
- package/dist/models/psql/userPayoutModel.ts +0 -442
- package/dist/models/psql/userProjectAssessmentOptionModel.ts +0 -155
- package/dist/models/psql/userRequiredStepsModel.ts +0 -97
- package/dist/models/psql/vehicleModel.ts +0 -133
- package/dist/models/psql/vendorManagementModel.ts +0 -215
- package/dist/models/psql/walletHistoryModel.ts +0 -130
- package/dist/models/psql/walletModel.ts +0 -114
- package/dist/models/psql/workingDayModel.ts +0 -99
- package/dist/models/psql/workingShiftModel.ts +0 -115
- package/dist/services/Concrete/mongooseCommonService.ts +0 -194
- package/dist/services/Concrete/sequelizeCommanService.ts +0 -149
- package/dist/services/Contracts/IMongooseCommonService.ts +0 -75
- package/dist/services/Contracts/ISequelizeCommonService.ts +0 -68
- package/dist/types/academicCalendarType.ts +0 -7
- package/dist/types/accountHasReceiptDetailsType.ts +0 -9
- package/dist/types/announcementType.ts +0 -9
- package/dist/types/approveRequestType.ts +0 -3
- package/dist/types/areaType.ts +0 -4
- package/dist/types/attendanceType.ts +0 -3
- package/dist/types/bankAccountDetailsType.ts +0 -4
- package/dist/types/bannerType.ts +0 -7
- package/dist/types/batchSubjectBookAssessmentType.ts +0 -9
- package/dist/types/batchSubjectProjectAssessmentType.ts +0 -9
- package/dist/types/batchType.ts +0 -7
- package/dist/types/blogType.ts +0 -3
- package/dist/types/bookAssessmentDateType.ts +0 -9
- package/dist/types/careerType.ts +0 -3
- package/dist/types/categoriesType.ts +0 -4
- package/dist/types/certificatesHistoryType.ts +0 -2
- package/dist/types/certificatesManagementType.ts +0 -2
- package/dist/types/classRoomType.ts +0 -4
- package/dist/types/cloudStorageType.ts +0 -4
- package/dist/types/coinPurchaseOfferType.ts +0 -4
- package/dist/types/commonType.ts +0 -10
- package/dist/types/contactFeedBackType.ts +0 -4
- package/dist/types/courseHasVisitorsType.ts +0 -3
- package/dist/types/courseType.ts +0 -3
- package/dist/types/dailyBookType.ts +0 -3
- package/dist/types/dashboardManagementType.ts +0 -3
- package/dist/types/driverType.ts +0 -8
- package/dist/types/entityGroupType.ts +0 -4
- package/dist/types/eventType.ts +0 -3
- package/dist/types/examGroupType.ts +0 -7
- package/dist/types/examHasAnswerSheetType.ts +0 -3
- package/dist/types/examType.ts +0 -6
- package/dist/types/facilityType.ts +0 -4
- package/dist/types/featureActionType.ts +0 -4
- package/dist/types/feeHistoryDetailsType.ts +0 -8
- package/dist/types/feeHistoryType.ts +0 -12
- package/dist/types/feeReminderSettingType.ts +0 -4
- package/dist/types/feeReminderType.ts +0 -4
- package/dist/types/feeReminderTypeType.ts +0 -3
- package/dist/types/feeTypeHasTermsType.ts +0 -4
- package/dist/types/feeTypeType.ts +0 -4
- package/dist/types/feedBackType.ts +0 -3
- package/dist/types/feesCollectionType.ts +0 -4
- package/dist/types/fileStorageType.ts +0 -4
- package/dist/types/floormanagementType.ts +0 -5
- package/dist/types/generateIdCardType.ts +0 -6
- package/dist/types/greetingsType.ts +0 -6
- package/dist/types/holidayType.ts +0 -6
- package/dist/types/homeWorkType.ts +0 -4
- package/dist/types/ifsc.d.ts +0 -17
- package/dist/types/informationSupportType.ts +0 -3
- package/dist/types/inquiryType.ts +0 -3
- package/dist/types/instituteEntityType.ts +0 -8
- package/dist/types/instituteEntityTypeType.ts +0 -4
- package/dist/types/instituteSubscriptionPlanType.ts +0 -4
- package/dist/types/instituteType.ts +0 -4
- package/dist/types/inventoryHistoryType.ts +0 -4
- package/dist/types/inventoryType.ts +0 -4
- package/dist/types/jobApply.ts +0 -2
- package/dist/types/lectureHistoryType.ts +0 -8
- package/dist/types/lectureType.ts +0 -8
- package/dist/types/masterLeaveType.ts +0 -4
- package/dist/types/moduleFeatureType.ts +0 -4
- package/dist/types/moduleType.ts +0 -4
- package/dist/types/mongoose-sequence.d.ts +0 -21
- package/dist/types/offerType.ts +0 -4
- package/dist/types/paymentTermsType.ts +0 -6
- package/dist/types/pdcChequeType.ts +0 -8
- package/dist/types/pdcHistoryType.ts +0 -3
- package/dist/types/photosGalleryType.ts +0 -3
- package/dist/types/plannerType.ts +0 -8
- package/dist/types/productType.ts +0 -4
- package/dist/types/projectAssessmentOptionType.ts +0 -9
- package/dist/types/roleType.ts +0 -13
- package/dist/types/rulesRegulationType.ts +0 -4
- package/dist/types/schoolFeeCollectionType.ts +0 -4
- package/dist/types/schoolFeeType.ts +0 -4
- package/dist/types/schoolOfferType.ts +0 -4
- package/dist/types/sendNotificationType.ts +0 -4
- package/dist/types/sequelize-extensions.d.ts +0 -24
- package/dist/types/slotType.ts +0 -3
- package/dist/types/subCategoryType.ts +0 -4
- package/dist/types/subjectHasFeeType.ts +0 -4
- package/dist/types/subjectHasPayFeeHistoryType.ts +0 -4
- package/dist/types/subjectIndexType.ts +0 -7
- package/dist/types/subscriptionPlanType.ts +0 -3
- package/dist/types/syllabusType.ts +0 -8
- package/dist/types/taskManagementType.ts +0 -3
- package/dist/types/testimonialType.ts +0 -11
- package/dist/types/toDoType.ts +0 -8
- package/dist/types/tripType.ts +0 -3
- package/dist/types/typeManagementType.ts +0 -4
- package/dist/types/uniqueNumberCounterType.ts +0 -3
- package/dist/types/userBookAssessmentType.ts +0 -9
- package/dist/types/userDetailsType.ts +0 -3
- package/dist/types/userFeeTypeByAccountType.ts +0 -4
- package/dist/types/userFeeTypeType.ts +0 -6
- package/dist/types/userHasAnnouncementType.ts +0 -4
- package/dist/types/userHasBatchType.ts +0 -11
- package/dist/types/userHasCourseType.ts +0 -5
- package/dist/types/userHasDeviceType.ts +0 -4
- package/dist/types/userHasFeeTermsType.ts +0 -4
- package/dist/types/userHasFileType.ts +0 -4
- package/dist/types/userHasHomeWorkType.ts +0 -4
- package/dist/types/userHasInventoryHistoryType.ts +0 -4
- package/dist/types/userHasInventoryType.ts +0 -4
- package/dist/types/userHasLeaveHistoryType.ts +0 -4
- package/dist/types/userHasLeaveType.ts +0 -4
- package/dist/types/userHasOffer.ts +0 -4
- package/dist/types/userHasParentType.ts +0 -10
- package/dist/types/userHasRoleType.ts +0 -4
- package/dist/types/userHasRollNumberType.ts +0 -4
- package/dist/types/userHasStorageType.ts +0 -4
- package/dist/types/userHasSubjectFeeType.ts +0 -4
- package/dist/types/userInstituteMetaType.ts +0 -3
- package/dist/types/userLeaveRequestType.ts +0 -4
- package/dist/types/userMetaType.ts +0 -16
- package/dist/types/userPayoutDetailsType.ts +0 -4
- package/dist/types/userPayoutHistoryType.ts +0 -4
- package/dist/types/userPayoutType.ts +0 -9
- package/dist/types/userProjectAssessmentOptionType.ts +0 -9
- package/dist/types/userRequiredStepsType.ts +0 -4
- package/dist/types/userSchoolMetaType.ts +0 -4
- package/dist/types/userType.ts +0 -12
- package/dist/types/vehicleType.ts +0 -4
- package/dist/types/vendorType.ts +0 -5
- package/dist/types/videoAnalystType.ts +0 -3
- package/dist/types/walletHistoryType.ts +0 -4
- package/dist/types/walletTransactionType.ts +0 -4
- package/dist/types/walletType.ts +0 -4
- package/dist/types/workingDayType.ts +0 -4
- package/dist/types/workingShiftType.ts +0 -4
- /package/dist/{interfaces/areaInterface.ts → src/interfaces/areaInterface.d.ts} +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Model } from 'sequelize';
|
|
2
|
+
import { ISchoolFeesCollectionModelAttributes } from '../../interfaces/schoolFeeCollectionInterface.js';
|
|
3
|
+
import { TSchoolFeeCollectionModelCreationAttributes } from '../../types/schoolFeeCollectionType.js';
|
|
4
|
+
declare class SchoolFeeCollectionModel extends Model<ISchoolFeesCollectionModelAttributes, TSchoolFeeCollectionModelCreationAttributes> {
|
|
5
|
+
id: string;
|
|
6
|
+
date?: Date;
|
|
7
|
+
totalFeeAmount: number;
|
|
8
|
+
userId: string;
|
|
9
|
+
instituteId: string;
|
|
10
|
+
discount: number;
|
|
11
|
+
paidFee: number;
|
|
12
|
+
dueDate?: Date;
|
|
13
|
+
academicCalendarId: string;
|
|
14
|
+
perviousFeeCollectionId: string;
|
|
15
|
+
createdBy: string;
|
|
16
|
+
updatedBy: string;
|
|
17
|
+
deletedBy: string;
|
|
18
|
+
readonly createdAt: Date;
|
|
19
|
+
readonly updatedAt: Date;
|
|
20
|
+
readonly deletedAt: Date;
|
|
21
|
+
}
|
|
22
|
+
export default SchoolFeeCollectionModel;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { DataTypes, Model } from 'sequelize';
|
|
2
|
+
import { sequelize } from './index.js';
|
|
3
|
+
import InstituteModel from './instituteModel.js';
|
|
4
|
+
import UserModel from './userModel.js';
|
|
5
|
+
import AcademicCalendarModel from './academicCalendarModel.js';
|
|
6
|
+
class SchoolFeeCollectionModel extends Model {
|
|
7
|
+
}
|
|
8
|
+
SchoolFeeCollectionModel.init({
|
|
9
|
+
id: {
|
|
10
|
+
type: DataTypes.UUID,
|
|
11
|
+
primaryKey: true,
|
|
12
|
+
defaultValue: DataTypes.UUIDV4,
|
|
13
|
+
},
|
|
14
|
+
date: {
|
|
15
|
+
type: DataTypes.DATE,
|
|
16
|
+
defaultValue: DataTypes.NOW,
|
|
17
|
+
allowNull: false,
|
|
18
|
+
},
|
|
19
|
+
totalFeeAmount: {
|
|
20
|
+
type: DataTypes.INTEGER,
|
|
21
|
+
field: 'total_fee_amount',
|
|
22
|
+
defaultValue: 0,
|
|
23
|
+
allowNull: false,
|
|
24
|
+
},
|
|
25
|
+
userId: {
|
|
26
|
+
type: DataTypes.UUID,
|
|
27
|
+
allowNull: false,
|
|
28
|
+
},
|
|
29
|
+
instituteId: {
|
|
30
|
+
type: DataTypes.UUID,
|
|
31
|
+
allowNull: false,
|
|
32
|
+
},
|
|
33
|
+
discount: {
|
|
34
|
+
type: DataTypes.INTEGER,
|
|
35
|
+
defaultValue: 0,
|
|
36
|
+
allowNull: false,
|
|
37
|
+
},
|
|
38
|
+
paidFee: {
|
|
39
|
+
type: DataTypes.INTEGER,
|
|
40
|
+
defaultValue: 0,
|
|
41
|
+
allowNull: false,
|
|
42
|
+
},
|
|
43
|
+
dueDate: {
|
|
44
|
+
type: DataTypes.DATE,
|
|
45
|
+
allowNull: true,
|
|
46
|
+
},
|
|
47
|
+
academicCalendarId: {
|
|
48
|
+
type: DataTypes.UUID,
|
|
49
|
+
field: 'academic_calendar_id',
|
|
50
|
+
allowNull: false,
|
|
51
|
+
},
|
|
52
|
+
perviousFeeCollectionId: {
|
|
53
|
+
type: DataTypes.UUID,
|
|
54
|
+
field: 'previous_fee_collection_id',
|
|
55
|
+
allowNull: true,
|
|
56
|
+
},
|
|
57
|
+
}, {
|
|
58
|
+
modelName: 'SchoolFeeCollectionModel',
|
|
59
|
+
tableName: 'school_fee_collection',
|
|
60
|
+
timestamps: true,
|
|
61
|
+
sequelize,
|
|
62
|
+
});
|
|
63
|
+
SchoolFeeCollectionModel.belongsTo(UserModel, {
|
|
64
|
+
foreignKey: {
|
|
65
|
+
name: 'createdBy',
|
|
66
|
+
allowNull: true,
|
|
67
|
+
field: 'created_by',
|
|
68
|
+
},
|
|
69
|
+
as: 'createdByUser',
|
|
70
|
+
});
|
|
71
|
+
SchoolFeeCollectionModel.belongsTo(UserModel, {
|
|
72
|
+
foreignKey: {
|
|
73
|
+
name: 'updatedBy',
|
|
74
|
+
allowNull: true,
|
|
75
|
+
field: 'updated_by',
|
|
76
|
+
},
|
|
77
|
+
as: 'updatedByUser',
|
|
78
|
+
});
|
|
79
|
+
SchoolFeeCollectionModel.belongsTo(UserModel, {
|
|
80
|
+
foreignKey: {
|
|
81
|
+
name: 'deletedBy',
|
|
82
|
+
allowNull: true,
|
|
83
|
+
field: 'deleted_by',
|
|
84
|
+
},
|
|
85
|
+
as: 'deletedByUser',
|
|
86
|
+
});
|
|
87
|
+
SchoolFeeCollectionModel.belongsTo(InstituteModel, {
|
|
88
|
+
foreignKey: {
|
|
89
|
+
name: 'instituteId',
|
|
90
|
+
field: 'institute_id',
|
|
91
|
+
allowNull: true,
|
|
92
|
+
},
|
|
93
|
+
as: 'schoolCollectionInstitute',
|
|
94
|
+
});
|
|
95
|
+
InstituteModel.hasMany(SchoolFeeCollectionModel, {
|
|
96
|
+
foreignKey: {
|
|
97
|
+
name: 'instituteId',
|
|
98
|
+
field: 'institute_id',
|
|
99
|
+
allowNull: true,
|
|
100
|
+
},
|
|
101
|
+
as: 'instituteSchoolCollection',
|
|
102
|
+
});
|
|
103
|
+
SchoolFeeCollectionModel.belongsTo(UserModel, {
|
|
104
|
+
foreignKey: {
|
|
105
|
+
name: 'userId',
|
|
106
|
+
field: 'user_id',
|
|
107
|
+
allowNull: true,
|
|
108
|
+
},
|
|
109
|
+
as: 'schoolCollectionUser',
|
|
110
|
+
});
|
|
111
|
+
UserModel.hasMany(SchoolFeeCollectionModel, {
|
|
112
|
+
foreignKey: {
|
|
113
|
+
name: 'userId',
|
|
114
|
+
field: 'user_id',
|
|
115
|
+
allowNull: true,
|
|
116
|
+
},
|
|
117
|
+
as: 'schoolCollectionHasUser',
|
|
118
|
+
});
|
|
119
|
+
SchoolFeeCollectionModel.belongsTo(SchoolFeeCollectionModel, {
|
|
120
|
+
foreignKey: {
|
|
121
|
+
name: 'perviousFeeCollectionId',
|
|
122
|
+
field: 'previous_fee_collection_id',
|
|
123
|
+
allowNull: true,
|
|
124
|
+
},
|
|
125
|
+
as: 'previousFeeCollection',
|
|
126
|
+
});
|
|
127
|
+
SchoolFeeCollectionModel.hasMany(SchoolFeeCollectionModel, {
|
|
128
|
+
foreignKey: {
|
|
129
|
+
name: 'perviousFeeCollectionId',
|
|
130
|
+
field: 'previous_fee_collection_id',
|
|
131
|
+
allowNull: true,
|
|
132
|
+
},
|
|
133
|
+
as: 'collectionPreviousCollection',
|
|
134
|
+
});
|
|
135
|
+
SchoolFeeCollectionModel.belongsTo(AcademicCalendarModel, {
|
|
136
|
+
foreignKey: {
|
|
137
|
+
name: 'academicCalendarId',
|
|
138
|
+
field: 'academic_calendar_id',
|
|
139
|
+
allowNull: true,
|
|
140
|
+
},
|
|
141
|
+
as: 'schoolCollectionCalendar',
|
|
142
|
+
});
|
|
143
|
+
AcademicCalendarModel.hasMany(SchoolFeeCollectionModel, {
|
|
144
|
+
foreignKey: {
|
|
145
|
+
name: 'academicCalendarId',
|
|
146
|
+
field: 'academic_calendar_id',
|
|
147
|
+
allowNull: true,
|
|
148
|
+
},
|
|
149
|
+
as: 'schoolCollectionHasCalendar',
|
|
150
|
+
});
|
|
151
|
+
export default SchoolFeeCollectionModel;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Model } from 'sequelize';
|
|
2
|
+
import { ISchoolOffersModelAttributes } from '../../interfaces/schoolOfferInterface.js';
|
|
3
|
+
import { TSchoolOfferModelCreationAttributes } from '../../types/schoolOfferType.js';
|
|
4
|
+
import { COMMAN_STATUS, OFFER_TYPE } from '../../constants/app.js';
|
|
5
|
+
declare class SchoolOfferModel extends Model<ISchoolOffersModelAttributes, TSchoolOfferModelCreationAttributes> {
|
|
6
|
+
id: string;
|
|
7
|
+
type: OFFER_TYPE;
|
|
8
|
+
status?: COMMAN_STATUS;
|
|
9
|
+
userId?: string;
|
|
10
|
+
instituteId: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
discount: number;
|
|
14
|
+
maximumDiscount?: number;
|
|
15
|
+
minimumFee?: number;
|
|
16
|
+
startTime?: Date;
|
|
17
|
+
endTime?: Date;
|
|
18
|
+
userLimit?: number;
|
|
19
|
+
noLimit: boolean;
|
|
20
|
+
account?: string;
|
|
21
|
+
applicableOn?: string[];
|
|
22
|
+
createdBy: string;
|
|
23
|
+
updatedBy: string;
|
|
24
|
+
deletedBy: string;
|
|
25
|
+
readonly createdAt: Date;
|
|
26
|
+
readonly deletedAt: string;
|
|
27
|
+
readonly updatedAt: Date;
|
|
28
|
+
}
|
|
29
|
+
export default SchoolOfferModel;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { DataTypes, Model } from 'sequelize';
|
|
2
|
+
import { sequelize } from './index.js';
|
|
3
|
+
import { COMMAN_STATUS, OFFER_TYPE } from '../../constants/app.js';
|
|
4
|
+
import InstituteModel from './instituteModel.js';
|
|
5
|
+
import UserModel from './userModel.js';
|
|
6
|
+
import BankAccountDetailsModel from './bankAccountDetailsModel.js';
|
|
7
|
+
class SchoolOfferModel extends Model {
|
|
8
|
+
}
|
|
9
|
+
SchoolOfferModel.init({
|
|
10
|
+
id: {
|
|
11
|
+
type: DataTypes.UUID,
|
|
12
|
+
defaultValue: DataTypes.UUIDV4,
|
|
13
|
+
allowNull: false,
|
|
14
|
+
primaryKey: true,
|
|
15
|
+
},
|
|
16
|
+
type: {
|
|
17
|
+
type: DataTypes.ENUM,
|
|
18
|
+
values: Object.values(OFFER_TYPE),
|
|
19
|
+
allowNull: false,
|
|
20
|
+
},
|
|
21
|
+
status: {
|
|
22
|
+
type: DataTypes.ENUM,
|
|
23
|
+
values: Object.values(COMMAN_STATUS),
|
|
24
|
+
allowNull: true,
|
|
25
|
+
defaultValue: COMMAN_STATUS.ACTIVE,
|
|
26
|
+
},
|
|
27
|
+
userId: {
|
|
28
|
+
type: DataTypes.UUID,
|
|
29
|
+
allowNull: true,
|
|
30
|
+
},
|
|
31
|
+
instituteId: {
|
|
32
|
+
type: DataTypes.UUID,
|
|
33
|
+
allowNull: false,
|
|
34
|
+
},
|
|
35
|
+
name: {
|
|
36
|
+
type: DataTypes.STRING,
|
|
37
|
+
allowNull: true,
|
|
38
|
+
},
|
|
39
|
+
description: {
|
|
40
|
+
type: DataTypes.STRING,
|
|
41
|
+
allowNull: true,
|
|
42
|
+
},
|
|
43
|
+
discount: {
|
|
44
|
+
type: DataTypes.INTEGER,
|
|
45
|
+
allowNull: false,
|
|
46
|
+
defaultValue: 0,
|
|
47
|
+
},
|
|
48
|
+
maximumDiscount: {
|
|
49
|
+
type: DataTypes.INTEGER,
|
|
50
|
+
allowNull: true,
|
|
51
|
+
defaultValue: 0,
|
|
52
|
+
},
|
|
53
|
+
minimumFee: {
|
|
54
|
+
type: DataTypes.INTEGER,
|
|
55
|
+
allowNull: true,
|
|
56
|
+
defaultValue: 0,
|
|
57
|
+
},
|
|
58
|
+
startTime: {
|
|
59
|
+
type: DataTypes.DATE,
|
|
60
|
+
allowNull: true,
|
|
61
|
+
},
|
|
62
|
+
endTime: {
|
|
63
|
+
type: DataTypes.DATE,
|
|
64
|
+
allowNull: true,
|
|
65
|
+
},
|
|
66
|
+
userLimit: {
|
|
67
|
+
type: DataTypes.INTEGER,
|
|
68
|
+
allowNull: true,
|
|
69
|
+
defaultValue: 1,
|
|
70
|
+
},
|
|
71
|
+
noLimit: {
|
|
72
|
+
type: DataTypes.BOOLEAN,
|
|
73
|
+
allowNull: false,
|
|
74
|
+
defaultValue: false,
|
|
75
|
+
},
|
|
76
|
+
account: {
|
|
77
|
+
type: DataTypes.UUID,
|
|
78
|
+
allowNull: true,
|
|
79
|
+
},
|
|
80
|
+
applicableOn: {
|
|
81
|
+
type: DataTypes.ARRAY(DataTypes.UUID),
|
|
82
|
+
allowNull: true,
|
|
83
|
+
},
|
|
84
|
+
}, {
|
|
85
|
+
modelName: 'SchoolOfferModel',
|
|
86
|
+
tableName: 'school_offers',
|
|
87
|
+
timestamps: true,
|
|
88
|
+
sequelize,
|
|
89
|
+
});
|
|
90
|
+
SchoolOfferModel.belongsTo(UserModel, {
|
|
91
|
+
foreignKey: {
|
|
92
|
+
name: 'userId',
|
|
93
|
+
field: 'user_id',
|
|
94
|
+
},
|
|
95
|
+
as: 'schoolOfferUser',
|
|
96
|
+
});
|
|
97
|
+
UserModel.hasMany(SchoolOfferModel, { foreignKey: 'userId', as: 'userHasSchoolOffers' });
|
|
98
|
+
SchoolOfferModel.belongsTo(BankAccountDetailsModel, {
|
|
99
|
+
foreignKey: {
|
|
100
|
+
name: 'account',
|
|
101
|
+
allowNull: true,
|
|
102
|
+
field: 'account',
|
|
103
|
+
},
|
|
104
|
+
as: 'schoolOfferAccount',
|
|
105
|
+
});
|
|
106
|
+
BankAccountDetailsModel.hasMany(SchoolOfferModel, {
|
|
107
|
+
foreignKey: {
|
|
108
|
+
name: 'account',
|
|
109
|
+
allowNull: true,
|
|
110
|
+
field: 'account',
|
|
111
|
+
},
|
|
112
|
+
as: 'accountHasSchoolOffers',
|
|
113
|
+
});
|
|
114
|
+
SchoolOfferModel.belongsTo(InstituteModel, {
|
|
115
|
+
foreignKey: {
|
|
116
|
+
name: 'instituteId',
|
|
117
|
+
field: 'institute_id',
|
|
118
|
+
},
|
|
119
|
+
as: 'schoolOfferInstitute',
|
|
120
|
+
});
|
|
121
|
+
InstituteModel.hasMany(SchoolOfferModel, { foreignKey: 'instituteId', as: 'instituteHasSchoolOffers' });
|
|
122
|
+
SchoolOfferModel.belongsTo(UserModel, {
|
|
123
|
+
foreignKey: {
|
|
124
|
+
name: 'createdBy',
|
|
125
|
+
allowNull: true,
|
|
126
|
+
field: 'created_by',
|
|
127
|
+
},
|
|
128
|
+
as: 'createdByUser',
|
|
129
|
+
});
|
|
130
|
+
SchoolOfferModel.belongsTo(UserModel, {
|
|
131
|
+
foreignKey: {
|
|
132
|
+
name: 'updatedBy',
|
|
133
|
+
allowNull: true,
|
|
134
|
+
field: 'updated_by',
|
|
135
|
+
},
|
|
136
|
+
as: 'updatedByUser',
|
|
137
|
+
});
|
|
138
|
+
SchoolOfferModel.belongsTo(UserModel, {
|
|
139
|
+
foreignKey: {
|
|
140
|
+
name: 'deletedBy',
|
|
141
|
+
allowNull: true,
|
|
142
|
+
field: 'deleted_by',
|
|
143
|
+
},
|
|
144
|
+
as: 'deletedByUser',
|
|
145
|
+
});
|
|
146
|
+
// const beforeCreateOrUpdateHook = async (offer: OfferModel) => {
|
|
147
|
+
// if (offer.instituteId) {
|
|
148
|
+
// const institute = await instituteService.findByPk(offer.instituteId);
|
|
149
|
+
// if (!institute) {
|
|
150
|
+
// throw new Error(INSTITUTE_ERROR_MESSAGES.NOT_FOUND);
|
|
151
|
+
// }
|
|
152
|
+
// }
|
|
153
|
+
// if (offer.userId) {
|
|
154
|
+
// const user = await userService.findByPk(offer.userId);
|
|
155
|
+
// if (!user) {
|
|
156
|
+
// throw new Error(USER_ERROR_MESSAGES.NOT_FOUND);
|
|
157
|
+
// }
|
|
158
|
+
// }
|
|
159
|
+
// };
|
|
160
|
+
// OfferModel.beforeCreate(beforeCreateOrUpdateHook);
|
|
161
|
+
// OfferModel.beforeUpdate(beforeCreateOrUpdateHook);
|
|
162
|
+
export default SchoolOfferModel;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Model } from 'sequelize';
|
|
2
|
+
import { NOTIFICATION_MODULE_TYPE, NOTIFICATION_STATUS } from '../../constants/app.js';
|
|
3
|
+
import { INotificationModelAttributes } from '../../interfaces/sendNotificationInerface.js';
|
|
4
|
+
import { TNotificationModelCreationAttributes } from '../../types/sendNotificationType.js';
|
|
5
|
+
declare class SendNotificationModel extends Model<INotificationModelAttributes, TNotificationModelCreationAttributes> {
|
|
6
|
+
id: string;
|
|
7
|
+
senderId: string;
|
|
8
|
+
receiverId: string;
|
|
9
|
+
viewDate: Date;
|
|
10
|
+
status: NOTIFICATION_STATUS;
|
|
11
|
+
title: string;
|
|
12
|
+
message: string;
|
|
13
|
+
instituteId: string;
|
|
14
|
+
moduleType: NOTIFICATION_MODULE_TYPE;
|
|
15
|
+
createdBy: string;
|
|
16
|
+
updatedBy: string;
|
|
17
|
+
deletedBy: string;
|
|
18
|
+
readonly createdAt: Date;
|
|
19
|
+
readonly deletedAt: string;
|
|
20
|
+
readonly updatedAt: Date;
|
|
21
|
+
}
|
|
22
|
+
export default SendNotificationModel;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { DataTypes, Model } from 'sequelize';
|
|
2
|
+
import { NOTIFICATION_STATUS } from '../../constants/app.js';
|
|
3
|
+
import { sequelize } from './index.js';
|
|
4
|
+
import UserModel from './userModel.js';
|
|
5
|
+
import InstituteModel from './instituteModel.js';
|
|
6
|
+
class SendNotificationModel extends Model {
|
|
7
|
+
}
|
|
8
|
+
SendNotificationModel.init({
|
|
9
|
+
id: {
|
|
10
|
+
type: DataTypes.UUID,
|
|
11
|
+
defaultValue: DataTypes.UUIDV4,
|
|
12
|
+
allowNull: false,
|
|
13
|
+
primaryKey: true,
|
|
14
|
+
},
|
|
15
|
+
title: {
|
|
16
|
+
type: DataTypes.STRING,
|
|
17
|
+
allowNull: true,
|
|
18
|
+
},
|
|
19
|
+
message: {
|
|
20
|
+
type: DataTypes.TEXT,
|
|
21
|
+
allowNull: true,
|
|
22
|
+
},
|
|
23
|
+
// type: {
|
|
24
|
+
// type: DataTypes.STRING,
|
|
25
|
+
// allowNull: true,
|
|
26
|
+
// },
|
|
27
|
+
senderId: {
|
|
28
|
+
type: DataTypes.UUID,
|
|
29
|
+
allowNull: true,
|
|
30
|
+
field: 'sender_id',
|
|
31
|
+
},
|
|
32
|
+
receiverId: {
|
|
33
|
+
type: DataTypes.UUID,
|
|
34
|
+
allowNull: true,
|
|
35
|
+
field: 'receiver_id',
|
|
36
|
+
},
|
|
37
|
+
instituteId: {
|
|
38
|
+
type: DataTypes.UUID,
|
|
39
|
+
allowNull: true,
|
|
40
|
+
field: 'institute_Id',
|
|
41
|
+
},
|
|
42
|
+
// deviceToken: {
|
|
43
|
+
// type: DataTypes.STRING,
|
|
44
|
+
// allowNull: true,
|
|
45
|
+
// field: 'device_token',
|
|
46
|
+
// },
|
|
47
|
+
viewDate: {
|
|
48
|
+
type: DataTypes.DATE,
|
|
49
|
+
allowNull: true,
|
|
50
|
+
field: 'view_date',
|
|
51
|
+
},
|
|
52
|
+
status: {
|
|
53
|
+
type: DataTypes.STRING,
|
|
54
|
+
defaultValue: NOTIFICATION_STATUS.PENDING,
|
|
55
|
+
},
|
|
56
|
+
moduleType: {
|
|
57
|
+
type: DataTypes.STRING,
|
|
58
|
+
allowNull: true,
|
|
59
|
+
field: 'module_type',
|
|
60
|
+
},
|
|
61
|
+
}, {
|
|
62
|
+
modelName: 'SendnNotificationModel',
|
|
63
|
+
tableName: 'notifications',
|
|
64
|
+
sequelize,
|
|
65
|
+
timestamps: true,
|
|
66
|
+
});
|
|
67
|
+
// Associations
|
|
68
|
+
SendNotificationModel.belongsTo(UserModel, {
|
|
69
|
+
foreignKey: 'senderId',
|
|
70
|
+
as: 'notificationSender',
|
|
71
|
+
});
|
|
72
|
+
SendNotificationModel.belongsTo(UserModel, {
|
|
73
|
+
foreignKey: 'receiverId',
|
|
74
|
+
as: 'notificationReceiver',
|
|
75
|
+
});
|
|
76
|
+
UserModel.hasMany(SendNotificationModel, {
|
|
77
|
+
foreignKey: 'senderId',
|
|
78
|
+
as: 'sentHasNotifications',
|
|
79
|
+
});
|
|
80
|
+
UserModel.hasMany(SendNotificationModel, {
|
|
81
|
+
foreignKey: 'receiverId',
|
|
82
|
+
as: 'receivedHasNotifications',
|
|
83
|
+
});
|
|
84
|
+
SendNotificationModel.belongsTo(InstituteModel, {
|
|
85
|
+
foreignKey: 'instituteId',
|
|
86
|
+
as: 'institute',
|
|
87
|
+
});
|
|
88
|
+
SendNotificationModel.belongsTo(UserModel, {
|
|
89
|
+
foreignKey: {
|
|
90
|
+
name: 'createdBy',
|
|
91
|
+
allowNull: true,
|
|
92
|
+
field: 'created_by',
|
|
93
|
+
},
|
|
94
|
+
as: 'createdByUser',
|
|
95
|
+
});
|
|
96
|
+
SendNotificationModel.belongsTo(UserModel, {
|
|
97
|
+
foreignKey: {
|
|
98
|
+
name: 'updatedBy',
|
|
99
|
+
allowNull: true,
|
|
100
|
+
field: 'updated_by',
|
|
101
|
+
},
|
|
102
|
+
as: 'updatedByUser',
|
|
103
|
+
});
|
|
104
|
+
SendNotificationModel.belongsTo(UserModel, {
|
|
105
|
+
foreignKey: {
|
|
106
|
+
name: 'deletedBy',
|
|
107
|
+
allowNull: true,
|
|
108
|
+
field: 'deleted_by',
|
|
109
|
+
},
|
|
110
|
+
as: 'deletedByUser',
|
|
111
|
+
});
|
|
112
|
+
export default SendNotificationModel;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Model } from 'sequelize';
|
|
2
|
+
import { ISlotModelAttributes } from '../../interfaces/slotInterface.js';
|
|
3
|
+
import { TSlotModelCreationAttributes } from '../../types/slotType.js';
|
|
4
|
+
import { SCHOOL_SHIFT } from '../../constants/app.js';
|
|
5
|
+
declare class SlotModel extends Model<ISlotModelAttributes, TSlotModelCreationAttributes> {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
instituteId: string;
|
|
9
|
+
type: SCHOOL_SHIFT;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
updatedBy: string;
|
|
12
|
+
deletedBy: string;
|
|
13
|
+
readonly createdAt: Date;
|
|
14
|
+
readonly updatedAt: Date;
|
|
15
|
+
readonly deletedAt?: Date;
|
|
16
|
+
}
|
|
17
|
+
export default SlotModel;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { DataTypes, Model } from 'sequelize';
|
|
2
|
+
import { sequelize } from './index.js';
|
|
3
|
+
import { SCHOOL_SHIFT } from '../../constants/app.js';
|
|
4
|
+
import UserModel from './userModel.js';
|
|
5
|
+
import InstituteModel from './instituteModel.js';
|
|
6
|
+
import { INSTITUTE_ERROR_MESSAGES } from '../../constants/errorMessages.js';
|
|
7
|
+
class SlotModel extends Model {
|
|
8
|
+
}
|
|
9
|
+
SlotModel.init({
|
|
10
|
+
id: {
|
|
11
|
+
type: DataTypes.UUID,
|
|
12
|
+
defaultValue: DataTypes.UUIDV4,
|
|
13
|
+
allowNull: false,
|
|
14
|
+
primaryKey: true,
|
|
15
|
+
},
|
|
16
|
+
name: {
|
|
17
|
+
type: DataTypes.STRING,
|
|
18
|
+
allowNull: true,
|
|
19
|
+
},
|
|
20
|
+
instituteId: {
|
|
21
|
+
type: DataTypes.UUID,
|
|
22
|
+
allowNull: true,
|
|
23
|
+
},
|
|
24
|
+
type: {
|
|
25
|
+
type: DataTypes.ENUM,
|
|
26
|
+
allowNull: false,
|
|
27
|
+
values: Object.values(SCHOOL_SHIFT),
|
|
28
|
+
},
|
|
29
|
+
}, {
|
|
30
|
+
modelName: 'SlotModel',
|
|
31
|
+
tableName: 'slots',
|
|
32
|
+
indexes: [
|
|
33
|
+
{
|
|
34
|
+
name: 'institute_id_name',
|
|
35
|
+
unique: true,
|
|
36
|
+
fields: ['institute_id', 'name', 'type'],
|
|
37
|
+
// eslint-disable-next-line camelcase
|
|
38
|
+
where: { deleted_at: null },
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
timestamps: true,
|
|
42
|
+
sequelize,
|
|
43
|
+
});
|
|
44
|
+
// Associations
|
|
45
|
+
SlotModel.belongsTo(UserModel, {
|
|
46
|
+
foreignKey: {
|
|
47
|
+
name: 'createdBy',
|
|
48
|
+
allowNull: true,
|
|
49
|
+
field: 'created_by',
|
|
50
|
+
},
|
|
51
|
+
as: 'createdByUser',
|
|
52
|
+
});
|
|
53
|
+
SlotModel.belongsTo(UserModel, {
|
|
54
|
+
foreignKey: {
|
|
55
|
+
name: 'updatedBy',
|
|
56
|
+
allowNull: true,
|
|
57
|
+
field: 'updated_by',
|
|
58
|
+
},
|
|
59
|
+
as: 'updatedByUser',
|
|
60
|
+
});
|
|
61
|
+
SlotModel.belongsTo(UserModel, {
|
|
62
|
+
foreignKey: {
|
|
63
|
+
name: 'deletedBy',
|
|
64
|
+
allowNull: true,
|
|
65
|
+
field: 'deleted_by',
|
|
66
|
+
},
|
|
67
|
+
as: 'deletedByUser',
|
|
68
|
+
});
|
|
69
|
+
SlotModel.belongsTo(InstituteModel, {
|
|
70
|
+
foreignKey: 'instituteId',
|
|
71
|
+
as: 'slotInstitute',
|
|
72
|
+
});
|
|
73
|
+
InstituteModel.hasMany(SlotModel, {
|
|
74
|
+
foreignKey: 'instituteId',
|
|
75
|
+
as: 'instituteHasSlots',
|
|
76
|
+
});
|
|
77
|
+
const beforeCreateOrUpdateHook = async (slot) => {
|
|
78
|
+
if (slot.instituteId) {
|
|
79
|
+
const institute = await InstituteModel.findByPk(slot.instituteId);
|
|
80
|
+
if (!institute) {
|
|
81
|
+
throw new Error(INSTITUTE_ERROR_MESSAGES.NOT_FOUND);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
SlotModel.beforeCreate(beforeCreateOrUpdateHook);
|
|
86
|
+
SlotModel.beforeBulkUpdate(async (options) => {
|
|
87
|
+
await beforeCreateOrUpdateHook(options.attributes);
|
|
88
|
+
});
|
|
89
|
+
SlotModel.beforeBulkCreate(async (instances) => {
|
|
90
|
+
for (const instance of instances) {
|
|
91
|
+
await beforeCreateOrUpdateHook(instance);
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
export default SlotModel;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Model } from 'sequelize';
|
|
2
|
+
import { IStateAttributes } from '../../interfaces/stateInterface.js';
|
|
3
|
+
declare class StateModel extends Model<IStateAttributes> implements IStateAttributes {
|
|
4
|
+
id: number;
|
|
5
|
+
countryCode: string;
|
|
6
|
+
name: string;
|
|
7
|
+
stateCode: string;
|
|
8
|
+
isActive: boolean;
|
|
9
|
+
readonly createdAt: Date;
|
|
10
|
+
readonly deletedAt: string;
|
|
11
|
+
readonly updatedAt: Date;
|
|
12
|
+
}
|
|
13
|
+
export default StateModel;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { DataTypes, Model } from 'sequelize';
|
|
2
|
+
import { sequelize } from './index.js';
|
|
3
|
+
import CountryModel from './countryModel.js';
|
|
4
|
+
class StateModel extends Model {
|
|
5
|
+
}
|
|
6
|
+
StateModel.init({
|
|
7
|
+
id: {
|
|
8
|
+
type: DataTypes.INTEGER,
|
|
9
|
+
allowNull: false,
|
|
10
|
+
autoIncrement: true,
|
|
11
|
+
primaryKey: true,
|
|
12
|
+
},
|
|
13
|
+
countryCode: {
|
|
14
|
+
type: DataTypes.STRING(10),
|
|
15
|
+
allowNull: false,
|
|
16
|
+
field: 'country_code',
|
|
17
|
+
},
|
|
18
|
+
name: {
|
|
19
|
+
type: DataTypes.STRING(50),
|
|
20
|
+
allowNull: false,
|
|
21
|
+
},
|
|
22
|
+
stateCode: {
|
|
23
|
+
type: DataTypes.STRING(20),
|
|
24
|
+
allowNull: false,
|
|
25
|
+
unique: true,
|
|
26
|
+
field: 'state_code',
|
|
27
|
+
},
|
|
28
|
+
isActive: {
|
|
29
|
+
type: DataTypes.BOOLEAN,
|
|
30
|
+
defaultValue: true,
|
|
31
|
+
field: 'is_active',
|
|
32
|
+
},
|
|
33
|
+
}, {
|
|
34
|
+
sequelize,
|
|
35
|
+
modelName: 'StateModel',
|
|
36
|
+
tableName: 'states',
|
|
37
|
+
timestamps: true,
|
|
38
|
+
});
|
|
39
|
+
StateModel.belongsTo(CountryModel, {
|
|
40
|
+
foreignKey: {
|
|
41
|
+
name: 'countryId',
|
|
42
|
+
field: 'country_id',
|
|
43
|
+
},
|
|
44
|
+
as: 'country',
|
|
45
|
+
});
|
|
46
|
+
CountryModel.hasMany(StateModel, {
|
|
47
|
+
foreignKey: {
|
|
48
|
+
name: 'countryId',
|
|
49
|
+
field: 'country_id',
|
|
50
|
+
},
|
|
51
|
+
as: 'states',
|
|
52
|
+
});
|
|
53
|
+
export default StateModel;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Model } from 'sequelize';
|
|
2
|
+
import { ISubjectHasFeeModelAttributes } from '../../interfaces/subjectHasFeeInterface.js';
|
|
3
|
+
import { TSubjectHasFeeModelCreationAttributes } from '../../types/subjectHasFeeType.js';
|
|
4
|
+
declare class SubjectHasFeeModel extends Model<ISubjectHasFeeModelAttributes, TSubjectHasFeeModelCreationAttributes> {
|
|
5
|
+
id: string;
|
|
6
|
+
instituteId: string;
|
|
7
|
+
subjectId: string;
|
|
8
|
+
fee: number;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
updatedBy: string;
|
|
11
|
+
deletedBy: string;
|
|
12
|
+
readonly createdAt: Date;
|
|
13
|
+
readonly deletedAt: string;
|
|
14
|
+
readonly updatedAt: Date;
|
|
15
|
+
}
|
|
16
|
+
export default SubjectHasFeeModel;
|