@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
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const up = async (queryInterface, Sequelize) => {
|
|
4
|
-
await queryInterface.addColumn('entity_group', 'institute_id', {
|
|
5
|
-
type: Sequelize.UUID,
|
|
6
|
-
allowNull: true,
|
|
7
|
-
});
|
|
8
|
-
|
|
9
|
-
await queryInterface.addColumn('entity_group', 'is_default', {
|
|
10
|
-
type: Sequelize.BOOLEAN,
|
|
11
|
-
allowNull: false,
|
|
12
|
-
defaultValue: false,
|
|
13
|
-
});
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const down = async queryInterface => {
|
|
17
|
-
await queryInterface.removeColumn('entity_group', 'institute_id');
|
|
18
|
-
await queryInterface.removeColumn('entity_group', 'is_default');
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
module.exports = { up, down };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
up: async (queryInterface, Sequelize) => {
|
|
5
|
-
await queryInterface.changeColumn('wallet_history', 'total_coin', {
|
|
6
|
-
type: Sequelize.FLOAT,
|
|
7
|
-
allowNull: false,
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
await queryInterface.changeColumn('wallet_history', 'coin', {
|
|
11
|
-
type: Sequelize.FLOAT,
|
|
12
|
-
allowNull: false,
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
await queryInterface.changeColumn('wallet_history', 'storage', {
|
|
16
|
-
type: Sequelize.FLOAT,
|
|
17
|
-
allowNull: false,
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
await queryInterface.changeColumn('wallet_history', 'total_storage', {
|
|
21
|
-
type: Sequelize.FLOAT,
|
|
22
|
-
allowNull: false,
|
|
23
|
-
});
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
down: async (queryInterface, Sequelize) => {
|
|
27
|
-
await queryInterface.changeColumn('wallet_history', 'total_coin', {
|
|
28
|
-
type: Sequelize.INTEGER,
|
|
29
|
-
allowNull: false,
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
await queryInterface.changeColumn('wallet_history', 'coin', {
|
|
33
|
-
type: Sequelize.INTEGER,
|
|
34
|
-
allowNull: false,
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
await queryInterface.changeColumn('wallet_history', 'storage', {
|
|
38
|
-
type: Sequelize.INTEGER,
|
|
39
|
-
allowNull: false,
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
await queryInterface.changeColumn('wallet_history', 'total_storage', {
|
|
43
|
-
type: Sequelize.INTEGER,
|
|
44
|
-
allowNull: false,
|
|
45
|
-
});
|
|
46
|
-
},
|
|
47
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
up: async (queryInterface, Sequelize) => {
|
|
5
|
-
await queryInterface.changeColumn('wallets', 'coin', {
|
|
6
|
-
type: Sequelize.FLOAT,
|
|
7
|
-
allowNull: false,
|
|
8
|
-
defaultValue: 0,
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
down: async (queryInterface, Sequelize) => {
|
|
13
|
-
await queryInterface.changeColumn('wallets', 'coin', {
|
|
14
|
-
type: Sequelize.INTEGER,
|
|
15
|
-
allowNull: false,
|
|
16
|
-
defaultValue: 0,
|
|
17
|
-
});
|
|
18
|
-
},
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
up: async (queryInterface, Sequelize) => {
|
|
5
|
-
await queryInterface.changeColumn('wallets', 'storage_in_bytes', {
|
|
6
|
-
type: Sequelize.FLOAT,
|
|
7
|
-
allowNull: false,
|
|
8
|
-
defaultValue: 0,
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
down: async (queryInterface, Sequelize) => {
|
|
13
|
-
await queryInterface.changeColumn('wallets', 'storage_in_bytes', {
|
|
14
|
-
type: Sequelize.BIGINT,
|
|
15
|
-
allowNull: false,
|
|
16
|
-
defaultValue: 0,
|
|
17
|
-
});
|
|
18
|
-
},
|
|
19
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* eslint-disable camelcase */
|
|
2
|
-
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
3
|
-
const country = require('country-state-city').Country.getCountryByCode('IN');
|
|
4
|
-
const state = require('country-state-city').State.getStatesOfCountry('IN');
|
|
5
|
-
const city = require('country-state-city').City.getCitiesOfCountry('IN');
|
|
6
|
-
|
|
7
|
-
module.exports = {
|
|
8
|
-
up: async queryInterface => {
|
|
9
|
-
try {
|
|
10
|
-
let countryList = await queryInterface.sequelize.query(`SELECT * FROM countries WHERE country_code IN ('IN');`);
|
|
11
|
-
|
|
12
|
-
if (!countryList[0].length) {
|
|
13
|
-
await queryInterface.bulkInsert('countries', [
|
|
14
|
-
{
|
|
15
|
-
country_code: country.isoCode,
|
|
16
|
-
name: country.name,
|
|
17
|
-
phone_code: country.phonecode,
|
|
18
|
-
currency: country.currency,
|
|
19
|
-
created_at: new Date(),
|
|
20
|
-
updated_at: new Date(),
|
|
21
|
-
},
|
|
22
|
-
]);
|
|
23
|
-
}
|
|
24
|
-
countryList = await queryInterface.sequelize.query(`SELECT * FROM countries WHERE country_code IN ('IN');`);
|
|
25
|
-
countryList = countryList[0];
|
|
26
|
-
|
|
27
|
-
let stateList = await queryInterface.sequelize.query(`SELECT * FROM states WHERE country_code IN ('IN');`);
|
|
28
|
-
if (!stateList[0].length) {
|
|
29
|
-
await queryInterface.bulkInsert(
|
|
30
|
-
'states',
|
|
31
|
-
state.map(s => {
|
|
32
|
-
return {
|
|
33
|
-
country_code: s.countryCode,
|
|
34
|
-
name: s.name,
|
|
35
|
-
state_code: s.isoCode,
|
|
36
|
-
country_id: countryList.find(c => c.country_code == s.countryCode).id,
|
|
37
|
-
created_at: new Date(),
|
|
38
|
-
updated_at: new Date(),
|
|
39
|
-
};
|
|
40
|
-
}),
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
stateList = await queryInterface.sequelize.query(`SELECT * FROM states WHERE country_code IN ('IN');`);
|
|
44
|
-
stateList = stateList[0];
|
|
45
|
-
|
|
46
|
-
const cityList = await queryInterface.sequelize.query(`SELECT * FROM cities WHERE country_code IN ('IN');`);
|
|
47
|
-
if (!cityList[0].length) {
|
|
48
|
-
await queryInterface.bulkInsert(
|
|
49
|
-
'cities',
|
|
50
|
-
city.map(c => {
|
|
51
|
-
return {
|
|
52
|
-
country_code: c.countryCode,
|
|
53
|
-
name: c.name,
|
|
54
|
-
state_code: c.stateCode,
|
|
55
|
-
country_id: countryList.find(cs => cs.country_code == c.countryCode).id,
|
|
56
|
-
state_id: stateList.find(s => s.state_code == c.stateCode).id,
|
|
57
|
-
created_at: new Date(),
|
|
58
|
-
updated_at: new Date(),
|
|
59
|
-
};
|
|
60
|
-
}),
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
} catch (err) {
|
|
64
|
-
console.log('error while seeding data', err);
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
down: async queryInterface => {
|
|
69
|
-
await queryInterface.bulkDelete('cities', null, {});
|
|
70
|
-
await queryInterface.bulkDelete('states', null, {});
|
|
71
|
-
await queryInterface.bulkDelete('countries', null, {});
|
|
72
|
-
},
|
|
73
|
-
};
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
2
|
-
/* eslint-disable camelcase */
|
|
3
|
-
'use strict';
|
|
4
|
-
|
|
5
|
-
const uuidv4 = require('uuid').v4;
|
|
6
|
-
const allModules = require('./../index');
|
|
7
|
-
|
|
8
|
-
module.exports = {
|
|
9
|
-
async up(queryInterface) {
|
|
10
|
-
const transaction = await queryInterface.sequelize.transaction();
|
|
11
|
-
try {
|
|
12
|
-
const existingModules = (
|
|
13
|
-
await queryInterface.sequelize.query(`SELECT * FROM modules WHERE is_default=true;`, { raw: true, transaction })
|
|
14
|
-
)[0];
|
|
15
|
-
const existingFeatures = (
|
|
16
|
-
await queryInterface.sequelize.query(`SELECT * FROM module_features WHERE is_default=true;`, { raw: true, transaction })
|
|
17
|
-
)[0];
|
|
18
|
-
const existingActions = (
|
|
19
|
-
await queryInterface.sequelize.query(`SELECT * FROM feature_actions WHERE is_default=true;`, { raw: true, transaction })
|
|
20
|
-
)[0];
|
|
21
|
-
|
|
22
|
-
const newModules = [];
|
|
23
|
-
const newFeatures = [];
|
|
24
|
-
const newActions = [];
|
|
25
|
-
const allModulesListCode = {
|
|
26
|
-
modules: new Set(),
|
|
27
|
-
features: new Set(),
|
|
28
|
-
actions: new Set(),
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
for (const module of allModules) {
|
|
32
|
-
if (!module.name || !module.code) {
|
|
33
|
-
console.error(`Invalid module detected:`, module.name);
|
|
34
|
-
continue;
|
|
35
|
-
}
|
|
36
|
-
allModulesListCode.modules.add(module.code);
|
|
37
|
-
const moduleAppTypes = module.appType && Array.isArray(module.appType) ? module.appType : [null];
|
|
38
|
-
|
|
39
|
-
for (const appType of moduleAppTypes) {
|
|
40
|
-
// const moduleUniqueKey = `${module.code}-${appType}`;
|
|
41
|
-
let moduleId = existingModules.find(m => m.code === module.code && m.app_type === appType)?.id;
|
|
42
|
-
|
|
43
|
-
if (!moduleId) {
|
|
44
|
-
const newModule = {
|
|
45
|
-
id: uuidv4(),
|
|
46
|
-
name: module.name,
|
|
47
|
-
code: module.code,
|
|
48
|
-
app_type: appType,
|
|
49
|
-
status: 'ACTIVE',
|
|
50
|
-
is_default: true,
|
|
51
|
-
created_at: new Date(),
|
|
52
|
-
updated_at: new Date(),
|
|
53
|
-
};
|
|
54
|
-
await queryInterface.bulkInsert('modules', [newModule], { transaction });
|
|
55
|
-
newModules.push(newModule);
|
|
56
|
-
moduleId = newModule.id;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
const features = Array.isArray(module.features) ? module.features : [];
|
|
60
|
-
for (const feature of features) {
|
|
61
|
-
if (!feature.name || !feature.code) {
|
|
62
|
-
console.error(`Invalid feature detected in module ${module.name}:`, feature.name);
|
|
63
|
-
continue;
|
|
64
|
-
}
|
|
65
|
-
allModulesListCode.features.add(feature.code);
|
|
66
|
-
|
|
67
|
-
const featureAppTypes = feature.appType && Array.isArray(feature.appType) ? feature.appType : [appType];
|
|
68
|
-
|
|
69
|
-
for (const fAppType of featureAppTypes) {
|
|
70
|
-
const featureId = existingFeatures.find(
|
|
71
|
-
f => f.code === feature.code && f.module_id === moduleId && f.app_type === fAppType,
|
|
72
|
-
)?.id;
|
|
73
|
-
let currentFeatureId = featureId;
|
|
74
|
-
|
|
75
|
-
if (!featureId) {
|
|
76
|
-
const newFeature = {
|
|
77
|
-
id: uuidv4(),
|
|
78
|
-
name: feature.name,
|
|
79
|
-
code: feature.code,
|
|
80
|
-
app_type: fAppType,
|
|
81
|
-
status: 'ACTIVE',
|
|
82
|
-
is_default: true,
|
|
83
|
-
module_id: moduleId,
|
|
84
|
-
created_at: new Date(),
|
|
85
|
-
updated_at: new Date(),
|
|
86
|
-
};
|
|
87
|
-
await queryInterface.bulkInsert('module_features', [newFeature], { transaction });
|
|
88
|
-
newFeatures.push(newFeature);
|
|
89
|
-
currentFeatureId = newFeature.id;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
const actions = Array.isArray(feature.actions) ? feature.actions : [];
|
|
93
|
-
for (const action of actions) {
|
|
94
|
-
if (!action.name || !action.code) {
|
|
95
|
-
console.error(`Invalid action in feature ${feature.name}:`, action);
|
|
96
|
-
continue;
|
|
97
|
-
}
|
|
98
|
-
allModulesListCode.actions.add(action.code);
|
|
99
|
-
const actionAppTypes = action.appType && Array.isArray(action.appType) ? action.appType : [fAppType];
|
|
100
|
-
|
|
101
|
-
for (const aAppType of actionAppTypes) {
|
|
102
|
-
const alreadyExists = existingActions.some(
|
|
103
|
-
a => a.code === action.code && a.feature_id === currentFeatureId && a.app_type === aAppType,
|
|
104
|
-
);
|
|
105
|
-
|
|
106
|
-
if (!alreadyExists) {
|
|
107
|
-
const newAction = {
|
|
108
|
-
id: uuidv4(),
|
|
109
|
-
name: action.name,
|
|
110
|
-
code: action.code,
|
|
111
|
-
app_type: aAppType,
|
|
112
|
-
status: 'ACTIVE',
|
|
113
|
-
is_default: true,
|
|
114
|
-
module_id: moduleId,
|
|
115
|
-
feature_id: currentFeatureId,
|
|
116
|
-
created_at: new Date(),
|
|
117
|
-
updated_at: new Date(),
|
|
118
|
-
};
|
|
119
|
-
newActions.push(newAction);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
if (newActions.length > 0) {
|
|
129
|
-
await queryInterface.bulkInsert('feature_actions', newActions, { transaction });
|
|
130
|
-
}
|
|
131
|
-
// async function findOldCodes(queryInterface, table, validCodes) {
|
|
132
|
-
// if (validCodes.length === 0) {
|
|
133
|
-
// // If no codes in the new list, return all old ones
|
|
134
|
-
// return (await queryInterface.sequelize.query(`SELECT code FROM ${table} WHERE is_default=true`, { raw: true ,transaction }))[0];
|
|
135
|
-
// }
|
|
136
|
-
|
|
137
|
-
// return (
|
|
138
|
-
// await queryInterface.sequelize.query(`SELECT code FROM ${table} WHERE is_default=true AND code NOT IN (:codes)`, {
|
|
139
|
-
// replacements: { codes: validCodes },
|
|
140
|
-
// raw: true,
|
|
141
|
-
// })
|
|
142
|
-
// )[0];
|
|
143
|
-
// }
|
|
144
|
-
|
|
145
|
-
// ✅ Delete old entries not in allModulesListCode
|
|
146
|
-
await queryInterface.sequelize.query(`DELETE FROM feature_actions WHERE code NOT IN (:codes)`, {
|
|
147
|
-
replacements: { codes: [...allModulesListCode.actions] },
|
|
148
|
-
transaction,
|
|
149
|
-
});
|
|
150
|
-
|
|
151
|
-
await queryInterface.sequelize.query(`DELETE FROM module_features WHERE code NOT IN (:codes)`, {
|
|
152
|
-
replacements: { codes: [...allModulesListCode.features] },
|
|
153
|
-
transaction,
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
await queryInterface.sequelize.query(`DELETE FROM modules WHERE code NOT IN (:codes)`, {
|
|
157
|
-
replacements: { codes: [...allModulesListCode.modules] },
|
|
158
|
-
transaction,
|
|
159
|
-
});
|
|
160
|
-
|
|
161
|
-
// const oldActionsNotInNew = await findOldCodes(queryInterface, 'feature_actions', [...allModulesListCode.actions]);
|
|
162
|
-
// const oldFeaturesNotInNew = await findOldCodes(queryInterface, 'module_features', [...allModulesListCode.features]);
|
|
163
|
-
// const oldModulesNotInNew = await findOldCodes(queryInterface, 'modules', [...allModulesListCode.modules]);
|
|
164
|
-
|
|
165
|
-
// 2️⃣ Log them (or handle however you want)
|
|
166
|
-
// console.log('🚨 Old Actions not in new list:', oldActionsNotInNew);
|
|
167
|
-
// console.log('🚨 Old Features not in new list:', oldFeaturesNotInNew);
|
|
168
|
-
// console.log('🚨 Old Modules not in new list:', oldModulesNotInNew);
|
|
169
|
-
await transaction.commit();
|
|
170
|
-
} catch (error) {
|
|
171
|
-
await transaction.rollback();
|
|
172
|
-
throw error;
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
|
|
176
|
-
async down(queryInterface) {
|
|
177
|
-
const transaction = await queryInterface.sequelize.transaction();
|
|
178
|
-
try {
|
|
179
|
-
await queryInterface.bulkDelete('feature_actions', { is_default: true }, { transaction });
|
|
180
|
-
await queryInterface.bulkDelete('module_features', { is_default: true }, { transaction });
|
|
181
|
-
await queryInterface.bulkDelete('modules', { is_default: true }, { transaction });
|
|
182
|
-
await transaction.commit();
|
|
183
|
-
} catch (error) {
|
|
184
|
-
await transaction.rollback();
|
|
185
|
-
throw error;
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
2
|
-
const appTypeEnum = require('./appType');
|
|
3
|
-
|
|
4
|
-
const AcademicCalendarModule = {
|
|
5
|
-
name: 'Academic Calendar',
|
|
6
|
-
code: 'ACADEMICCALENDAR',
|
|
7
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
8
|
-
features: [
|
|
9
|
-
{
|
|
10
|
-
name: 'Academic Year Management',
|
|
11
|
-
code: 'ACADEMICCALENDAR.ACADEMICYEAR',
|
|
12
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
13
|
-
actions: [
|
|
14
|
-
{ name: 'Add', code: 'ACADEMICCALENDAR.ACADEMICYEAR.ADD', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
15
|
-
{ name: 'Update', code: 'ACADEMICCALENDAR.ACADEMICYEAR.UPDATE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
16
|
-
{ name: 'View', code: 'ACADEMICCALENDAR.ACADEMICYEAR.VIEW', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
17
|
-
{ name: 'Delete', code: 'ACADEMICCALENDAR.ACADEMICYEAR.DELETE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
18
|
-
{ name: 'Print', code: 'ACADEMICCALENDAR.ACADEMICYEAR.PRINT', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
19
|
-
{ name: 'Approval', code: 'ACADEMICCALENDAR.ACADEMICYEAR.APPROVAL', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
module.exports = AcademicCalendarModule;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
const AdministrativeStaffModule = {
|
|
2
|
-
name: 'AdministrativeStaff',
|
|
3
|
-
code: 'ADMINISTRATIVESTAFF',
|
|
4
|
-
features: [
|
|
5
|
-
{
|
|
6
|
-
name: 'Staff Registration',
|
|
7
|
-
code: 'ADMINISTRATIVESTAFF.REGISTRATION',
|
|
8
|
-
actions: [
|
|
9
|
-
{ name: 'Add', code: 'ADMINISTRATIVESTAFF.REGISTRATION.ADD' },
|
|
10
|
-
{ name: 'Update', code: 'ADMINISTRATIVESTAFF.REGISTRATION.UPDATE' },
|
|
11
|
-
{ name: 'View', code: 'ADMINISTRATIVESTAFF.REGISTRATION.VIEW' },
|
|
12
|
-
{ name: 'Delete', code: 'ADMINISTRATIVESTAFF.REGISTRATION.DELETE' },
|
|
13
|
-
],
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
name: 'Staff Details',
|
|
17
|
-
code: 'ADMINISTRATIVESTAFF.DETAILS',
|
|
18
|
-
actions: [
|
|
19
|
-
{ name: 'Add', code: 'ADMINISTRATIVESTAFF.DETAILS.ADD' },
|
|
20
|
-
{ name: 'Update', code: 'ADMINISTRATIVESTAFF.DETAILS.UPDATE' },
|
|
21
|
-
{ name: 'View', code: 'ADMINISTRATIVESTAFF.DETAILS.VIEW' },
|
|
22
|
-
{ name: 'Delete', code: 'ADMINISTRATIVESTAFF.DETAILS.DELETE' },
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: 'assign inventory',
|
|
27
|
-
code: 'ADMINISTRATIVESTAFF.ASSIGNINVENTORY',
|
|
28
|
-
actions: [
|
|
29
|
-
{ name: 'Add', code: 'ADMINISTRATIVESTAFF.ASSIGNINVENTORY.ADD' },
|
|
30
|
-
{ name: 'Update', code: 'ADMINISTRATIVESTAFF.ASSIGNINVENTORY.UPDATE' },
|
|
31
|
-
{ name: 'View', code: 'ADMINISTRATIVESTAFF.ASSIGNINVENTORY.VIEW' },
|
|
32
|
-
{ name: 'Delete', code: 'ADMINISTRATIVESTAFF.ASSIGNINVENTORY.DELETE' },
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
};
|
|
37
|
-
module.exports = AdministrativeStaffModule;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
2
|
-
const appTypeEnum = require('./appType');
|
|
3
|
-
|
|
4
|
-
const AnnouncementsModule = {
|
|
5
|
-
name: 'Announcements',
|
|
6
|
-
code: 'ANNOUNCEMENTS',
|
|
7
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
8
|
-
features: [
|
|
9
|
-
// {
|
|
10
|
-
// name: 'Create Announcement',
|
|
11
|
-
// code: 'ANNOUNCEMENTS.CREATE',
|
|
12
|
-
// actions: [
|
|
13
|
-
// { name: 'Add', code: 'ANNOUNCEMENTS.CREATE.ADD' },
|
|
14
|
-
// { name: 'Update', code: 'ANNOUNCEMENTS.CREATE.UPDATE' },
|
|
15
|
-
// { name: 'View', code: 'ANNOUNCEMENTS.CREATE.VIEW' },
|
|
16
|
-
// { name: 'Delete', code: 'ANNOUNCEMENTS.CREATE.DELETE' },
|
|
17
|
-
// ],
|
|
18
|
-
// },
|
|
19
|
-
{
|
|
20
|
-
name: 'Announcements management',
|
|
21
|
-
code: 'ANNOUNCEMENTS.MANAGEMENT',
|
|
22
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
23
|
-
actions: [
|
|
24
|
-
{ name: 'Add', code: 'ANNOUNCEMENTS.MANAGEMENT.ADD', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
25
|
-
{ name: 'Update', code: 'ANNOUNCEMENTS.MANAGEMENT.UPDATE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
26
|
-
{ name: 'View', code: 'ANNOUNCEMENTS.MANAGEMENT.VIEW', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
27
|
-
{ name: 'Delete', code: 'ANNOUNCEMENTS.MANAGEMENT.DELETE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
28
|
-
{ name: 'Approval', code: 'ANNOUNCEMENTS.MANAGEMENT.APPROVAL', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: 'Announcement log History',
|
|
33
|
-
code: 'ANNOUNCEMENTS.LOGHISTORY',
|
|
34
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
35
|
-
actions: [{ name: 'View', code: 'ANNOUNCEMENTS.LOGHISTORY.VIEW', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] }],
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
name: 'General announcement',
|
|
39
|
-
code: 'ANNOUNCEMENTS.GENERAL',
|
|
40
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
41
|
-
actions: [
|
|
42
|
-
{ name: 'Add', code: 'ANNOUNCEMENTS.GENERAL.ADD', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
43
|
-
{ name: 'Update', code: 'ANNOUNCEMENTS.GENERAL.UPDATE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
44
|
-
{ name: 'View', code: 'ANNOUNCEMENTS.GENERAL.VIEW', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
45
|
-
{ name: 'Delete', code: 'ANNOUNCEMENTS.GENERAL.DELETE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
46
|
-
],
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
module.exports = AnnouncementsModule;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
const AssetsModule = {
|
|
2
|
-
name: 'Assets',
|
|
3
|
-
code: 'ASSETS',
|
|
4
|
-
features: [
|
|
5
|
-
{
|
|
6
|
-
name: 'Asset Management',
|
|
7
|
-
code: 'ASSETS.MANAGEMENT',
|
|
8
|
-
actions: [
|
|
9
|
-
{ name: 'Add', code: 'ASSETS.MANAGEMENT.ADD' },
|
|
10
|
-
{ name: 'Update', code: 'ASSETS.MANAGEMENT.UPDATE' },
|
|
11
|
-
{ name: 'View', code: 'ASSETS.MANAGEMENT.VIEW' },
|
|
12
|
-
{ name: 'Delete', code: 'ASSETS.MANAGEMENT.DELETE' },
|
|
13
|
-
],
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
name: 'Asset Allocation',
|
|
17
|
-
code: 'ASSETS.ALLOCATION',
|
|
18
|
-
actions: [
|
|
19
|
-
{ name: 'Add', code: 'ASSETS.ALLOCATION.ADD' },
|
|
20
|
-
{ name: 'Update', code: 'ASSETS.ALLOCATION.UPDATE' },
|
|
21
|
-
{ name: 'View', code: 'ASSETS.ALLOCATION.VIEW' },
|
|
22
|
-
{ name: 'Delete', code: 'ASSETS.ALLOCATION.DELETE' },
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: 'Asset Summary',
|
|
27
|
-
code: 'ASSETS.SUMMARY',
|
|
28
|
-
actions: [
|
|
29
|
-
{ name: 'View', code: 'ASSETS.SUMMARY.VIEW' },
|
|
30
|
-
{ name: 'Update', code: 'ASSETS.SUMMARY.UPDATE' },
|
|
31
|
-
{ name: 'Delete', code: 'ASSETS.SUMMARY.DELETE' },
|
|
32
|
-
],
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
module.exports = AssetsModule;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-require-imports */
|
|
2
|
-
const appTypeEnum = require('./appType');
|
|
3
|
-
|
|
4
|
-
const AttendanceModule = {
|
|
5
|
-
name: 'Attendance',
|
|
6
|
-
code: 'ATTENDANCE',
|
|
7
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
8
|
-
features: [
|
|
9
|
-
// {
|
|
10
|
-
// name: 'Mark Attendance',
|
|
11
|
-
// code: 'ATTENDANCE.MARKATTENDANCE',
|
|
12
|
-
// actions: [
|
|
13
|
-
// { name: 'Add', code: 'ATTENDANCE.MARKATTENDANCE.ADD' },
|
|
14
|
-
// { name: 'Update', code: 'ATTENDANCE.MARKATTENDANCE.UPDATE' },
|
|
15
|
-
// { name: 'View', code: 'ATTENDANCE.MARKATTENDANCE.VIEW' },
|
|
16
|
-
// { name: 'Delete', code: 'ATTENDANCE.MARKATTENDANCE.DELETE' },
|
|
17
|
-
// ],
|
|
18
|
-
// },
|
|
19
|
-
{
|
|
20
|
-
name: 'Attendance Management',
|
|
21
|
-
code: 'ATTENDANCE.MANAGEMENT',
|
|
22
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
23
|
-
actions: [
|
|
24
|
-
{ name: 'Add', code: 'ATTENDANCE.MANAGEMENT.ADD', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
25
|
-
{ name: 'Update', code: 'ATTENDANCE.MANAGEMENT.UPDATE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
26
|
-
{ name: 'View', code: 'ATTENDANCE.MANAGEMENT.VIEW', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
27
|
-
{ name: 'Delete', code: 'ATTENDANCE.MANAGEMENT.DELETE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
28
|
-
{ name: 'Print', code: 'ATTENDANCE.MANAGEMENT.PRINT', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: 'Teacher Attendance Management',
|
|
33
|
-
code: 'ATTENDANCE.TEACHERATTENDANCEMANAGEMENT',
|
|
34
|
-
appType: [appTypeEnum.SCHOOL_APP],
|
|
35
|
-
actions: [
|
|
36
|
-
{ name: 'Add', code: 'ATTENDANCE.TEACHERATTENDANCEMANAGEMENT.ADD', appType: [appTypeEnum.SCHOOL_APP] },
|
|
37
|
-
{ name: 'Update', code: 'ATTENDANCE.TEACHERATTENDANCEMANAGEMENT.UPDATE', appType: [appTypeEnum.SCHOOL_APP] },
|
|
38
|
-
{ name: 'View', code: 'ATTENDANCE.TEACHERATTENDANCEMANAGEMENT.VIEW', appType: [appTypeEnum.SCHOOL_APP] },
|
|
39
|
-
{ name: 'Delete', code: 'ATTENDANCE.TEACHERATTENDANCEMANAGEMENT.DELETE', appType: [appTypeEnum.SCHOOL_APP] },
|
|
40
|
-
{ name: 'Print', code: 'ATTENDANCE.TEACHERATTENDANCEMANAGEMENT.PRINT', appType: [appTypeEnum.SCHOOL_APP] },
|
|
41
|
-
],
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
name: 'Staff Attendance Management',
|
|
45
|
-
code: 'ATTENDANCE.STAFFATTENDANCEMANAGEMENT',
|
|
46
|
-
appType: [appTypeEnum.SCHOOL_APP],
|
|
47
|
-
actions: [
|
|
48
|
-
{ name: 'Add', code: 'ATTENDANCE.STAFFATTENDANCEMANAGEMENT.ADD', appType: [appTypeEnum.SCHOOL_APP] },
|
|
49
|
-
{ name: 'Update', code: 'ATTENDANCE.STAFFATTENDANCEMANAGEMENT.UPDATE', appType: [appTypeEnum.SCHOOL_APP] },
|
|
50
|
-
{ name: 'View', code: 'ATTENDANCE.STAFFATTENDANCEMANAGEMENT.VIEW', appType: [appTypeEnum.SCHOOL_APP] },
|
|
51
|
-
{ name: 'Delete', code: 'ATTENDANCE.STAFFATTENDANCEMANAGEMENT.DELETE', appType: [appTypeEnum.SCHOOL_APP] },
|
|
52
|
-
{ name: 'Print', code: 'ATTENDANCE.STAFFATTENDANCEMANAGEMENT.PRINT', appType: [appTypeEnum.SCHOOL_APP] },
|
|
53
|
-
],
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
module.exports = AttendanceModule;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
2
|
-
const appTypeEnum = require('./appType');
|
|
3
|
-
|
|
4
|
-
const BannerModule = {
|
|
5
|
-
name: 'Banner',
|
|
6
|
-
code: 'BANNER',
|
|
7
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
8
|
-
features: [
|
|
9
|
-
{
|
|
10
|
-
name: 'Banner Management',
|
|
11
|
-
code: 'BANNER.BANNER',
|
|
12
|
-
appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP],
|
|
13
|
-
actions: [
|
|
14
|
-
{ name: 'Add', code: 'BANNER.BANNER.ADD', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
15
|
-
{ name: 'Update', code: 'BANNER.BANNER.UPDATE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
16
|
-
{ name: 'View', code: 'BANNER.BANNER.VIEW', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
17
|
-
{ name: 'Delete', code: 'BANNER.BANNER.DELETE', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
18
|
-
{ name: 'Active/InActive', code: 'BANNER.BANNER.ACTION', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
19
|
-
{ name: 'Approval', code: 'BANNER.BANNER.APPROVAL', appType: [appTypeEnum.INSTITUTE_APP, appTypeEnum.SCHOOL_APP] },
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
module.exports = BannerModule;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
2
|
-
const appTypeEnum = require('./appType');
|
|
3
|
-
|
|
4
|
-
const BatchModule = {
|
|
5
|
-
name: 'Batch',
|
|
6
|
-
code: 'BATCH',
|
|
7
|
-
appType: [appTypeEnum.INSTITUTE_APP],
|
|
8
|
-
features: [
|
|
9
|
-
{
|
|
10
|
-
name: 'Batch Management',
|
|
11
|
-
code: 'BATCH.MANAGEMENT',
|
|
12
|
-
appType: [appTypeEnum.INSTITUTE_APP],
|
|
13
|
-
actions: [
|
|
14
|
-
{ name: 'Add', code: 'BATCH.MANAGEMENT.ADD', appType: [appTypeEnum.INSTITUTE_APP] },
|
|
15
|
-
{ name: 'Update', code: 'BATCH.MANAGEMENT.UPDATE', appType: [appTypeEnum.INSTITUTE_APP] },
|
|
16
|
-
{ name: 'View', code: 'BATCH.MANAGEMENT.VIEW', appType: [appTypeEnum.INSTITUTE_APP] },
|
|
17
|
-
{ name: 'Delete', code: 'BATCH.MANAGEMENT.DELETE', appType: [appTypeEnum.INSTITUTE_APP] },
|
|
18
|
-
{ name: 'Print', code: 'BATCH.MANAGEMENT.PRINT', appType: [appTypeEnum.INSTITUTE_APP] },
|
|
19
|
-
{ name: 'Approval', code: 'BATCH.MANAGEMENT.APPROVAL', appType: [appTypeEnum.INSTITUTE_APP] },
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
// {
|
|
23
|
-
// name: 'Batch Assignment',
|
|
24
|
-
// code: 'BATCH.ASSIGNMENT',
|
|
25
|
-
// actions: [
|
|
26
|
-
// { name: 'Add', code: 'BATCH.ASSIGNMENT.ADD' },
|
|
27
|
-
// { name: 'Update', code: 'BATCH.ASSIGNMENT.UPDATE' },
|
|
28
|
-
// { name: 'View', code: 'BATCH.ASSIGNMENT.VIEW' },
|
|
29
|
-
// { name: 'Delete', code: 'BATCH.ASSIGNMENT.DELETE' },
|
|
30
|
-
// ],
|
|
31
|
-
// },
|
|
32
|
-
],
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
module.exports = BatchModule;
|