@kipicore/dbcore 1.1.694 → 1.1.696
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/commonValidator/commandValidator.d.ts +27 -0
- package/dist/commonValidator/commandValidator.js +225 -0
- package/dist/commonValidator/index.d.ts +3 -0
- package/dist/commonValidator/index.js +24 -0
- package/dist/commonValidator/joiCommonValidator.d.ts +12 -0
- package/dist/commonValidator/joiCommonValidator.js +47 -0
- package/dist/commonValidator/joiSchemaBuilder.d.ts +6 -0
- package/dist/commonValidator/joiSchemaBuilder.js +70 -0
- package/dist/configs/env.d.ts +2 -0
- package/dist/configs/env.js +4 -0
- package/dist/configs/index.d.ts +2 -0
- package/dist/configs/index.js +2 -0
- package/dist/configs/logger.d.ts +2 -0
- package/dist/configs/logger.js +44 -0
- package/dist/configs/redisConfig.d.ts +4 -0
- package/dist/configs/redisConfig.js +32 -0
- package/dist/constants/app.d.ts +30 -58
- package/dist/constants/app.js +37 -70
- package/dist/constants/defaultModelAttributes.js +2 -1
- package/dist/constants/errorMessages.d.ts +20 -1
- package/dist/constants/errorMessages.js +22 -1
- package/dist/constants/successMessages.d.ts +14 -0
- package/dist/constants/successMessages.js +17 -1
- package/dist/db/psql/migrations/20260714111425-change_status_enum_to_string_in_institutes.js +46 -0
- package/dist/db/psql/migrations/20260714131500-add_note_to_institutes.js +20 -0
- package/dist/db/psql/migrations/20260715150000-create-ai-model-keys.js +156 -0
- package/dist/db/psql/migrations/20260717071354-add_type_to_categories.d.ts +2 -0
- package/dist/db/psql/migrations/20260717071354-add_type_to_categories.js +19 -0
- package/dist/db/psql/migrations/20260717072745-add_type_to_sub_categories.d.ts +2 -0
- package/dist/db/psql/migrations/20260717072745-add_type_to_sub_categories.js +19 -0
- package/dist/db/psql/migrations/20260717095051-add_status_to_users.d.ts +2 -0
- package/dist/db/psql/migrations/20260717095051-add_status_to_users.js +19 -0
- package/dist/db/psql/migrations/20260721000001-add-deleted-at-to-rms-maintenance-activities.d.ts +2 -0
- package/dist/db/psql/migrations/20260721000001-add-deleted-at-to-rms-maintenance-activities.js +12 -0
- package/dist/db/psql/migrations/20260721000002-change-uploaded-from-enum-to-string-in-file-storage.d.ts +2 -0
- package/dist/db/psql/migrations/20260721000002-change-uploaded-from-enum-to-string-in-file-storage.js +42 -0
- package/dist/db/psql/migrations/20260722130134-add_portfolio_theme_to_users.d.ts +2 -0
- package/dist/db/psql/migrations/20260722130134-add_portfolio_theme_to_users.js +22 -0
- package/dist/db/psql/migrations/20260727123149-add_vendorCompanyId_to_institute_ownership_histories.js +23 -0
- package/dist/db/psql/migrations/20260727130802-add_vendorCompanyId_to_institute_partners.d.ts +2 -0
- package/dist/db/psql/migrations/20260727130802-add_vendorCompanyId_to_institute_partners.js +23 -0
- package/dist/db/psql/migrations/20260727132312-make_instituteId_and_vendorCompanyId_optional_in_institute_partners.d.ts +2 -0
- package/dist/db/psql/migrations/20260727132312-make_instituteId_and_vendorCompanyId_optional_in_institute_partners.js +28 -0
- package/dist/db/psql/migrations/20260727132747-make_instituteId_and_vendorCompanyId_optional_in_institute_ownership_histories.d.ts +2 -0
- package/dist/db/psql/migrations/20260727132747-make_instituteId_and_vendorCompanyId_optional_in_institute_ownership_histories.js +25 -0
- package/dist/db/psql/migrations/20260729055118-institutePartners.d.ts +2 -0
- package/dist/db/psql/migrations/20260729055118-institutePartners.js +28 -0
- package/dist/db/psql/migrations/20260729055121-instituteOwnershipHistory.d.ts +2 -0
- package/dist/db/psql/migrations/20260729055121-instituteOwnershipHistory.js +25 -0
- package/dist/helpers/index.d.ts +3 -0
- package/dist/helpers/index.js +3 -0
- package/dist/helpers/sendEmail.d.ts +3 -0
- package/dist/helpers/sendEmail.js +117 -0
- package/dist/helpers/sendNotification.d.ts +4 -0
- package/dist/helpers/sendNotification.js +34 -0
- package/dist/helpers/sendSMS.d.ts +5 -0
- package/dist/helpers/sendSMS.js +34 -0
- package/dist/helpers/utils.d.ts +5 -3
- package/dist/helpers/utils.js +58 -31
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/interfaces/aiModelKeysInterface.d.ts +15 -0
- package/dist/interfaces/categoriesInterface.d.ts +2 -1
- package/dist/interfaces/index.d.ts +1 -18
- package/dist/interfaces/index.js +1 -19
- package/dist/interfaces/instituteInterface.d.ts +1 -0
- package/dist/interfaces/instituteOwnershipHistoryInterface.d.ts +2 -1
- package/dist/interfaces/institutePartnersInterface.d.ts +2 -1
- package/dist/interfaces/photosGalleryInterface.d.ts +1 -3
- package/dist/interfaces/sendNotificationInerface.d.ts +0 -2
- package/dist/interfaces/subCategoriesInterface.d.ts +2 -1
- package/dist/interfaces/subscriptionPlanInterface.d.ts +2 -1
- package/dist/interfaces/testimonialInterface.d.ts +0 -1
- package/dist/interfaces/userInstituteMetaInterface.d.ts +1 -1
- package/dist/interfaces/userInterface.d.ts +3 -1
- package/dist/interfaces/vendorCompanyMetaInterface.d.ts +5 -2
- package/dist/models/mongodb/additionalDetailsModel.js +1 -1
- package/dist/models/mongodb/advertisementModel.js +1 -1
- package/dist/models/mongodb/appAnalyticsEventModel.js +1 -1
- package/dist/models/mongodb/appointmentHistoryModel.js +1 -1
- package/dist/models/mongodb/appointmentModel.js +1 -1
- package/dist/models/mongodb/approvalRequestModel.js +1 -1
- package/dist/models/mongodb/assignFileModel.js +1 -1
- package/dist/models/mongodb/attendanceModel.js +1 -1
- package/dist/models/mongodb/bDayWishModel.js +1 -1
- package/dist/models/mongodb/blogModel.js +1 -1
- package/dist/models/mongodb/campusCarnivalModel.js +1 -1
- package/dist/models/mongodb/canteenModel.js +1 -1
- package/dist/models/mongodb/careerModel.js +1 -1
- package/dist/models/mongodb/certificatesHistoryModel.js +1 -1
- package/dist/models/mongodb/certificatesManagementModel.js +1 -1
- package/dist/models/mongodb/columnModel.js +1 -1
- package/dist/models/mongodb/communityGroupMemberModel.js +1 -1
- package/dist/models/mongodb/communityGroupModel.js +1 -1
- package/dist/models/mongodb/communityMessageModel.js +1 -1
- package/dist/models/mongodb/competitionGroupModel.js +1 -1
- package/dist/models/mongodb/competitionModel.js +1 -1
- package/dist/models/mongodb/competitionUsersModel.js +1 -1
- package/dist/models/mongodb/createPollModel.js +1 -1
- package/dist/models/mongodb/dailyBookModel.js +1 -1
- package/dist/models/mongodb/dashboardManagementModel.js +1 -1
- package/dist/models/mongodb/educationOfficerModel.js +1 -1
- package/dist/models/mongodb/eventModel.js +1 -1
- package/dist/models/mongodb/eventTemplatesModel.js +1 -1
- package/dist/models/mongodb/examGroupModel.js +1 -1
- package/dist/models/mongodb/examHasAnswerSheetModel.js +1 -1
- package/dist/models/mongodb/examModel.js +1 -1
- package/dist/models/mongodb/feeConfigModel.js +1 -1
- package/dist/models/mongodb/feeReminderTypeModel.js +1 -1
- package/dist/models/mongodb/feeSubmissionModel.js +1 -1
- package/dist/models/mongodb/feedBackModel.js +1 -1
- package/dist/models/mongodb/fileUploadUserDetailsModel.js +1 -1
- package/dist/models/mongodb/finalMarkSheetModel.js +1 -1
- package/dist/models/mongodb/generateIdCardModel.js +1 -1
- package/dist/models/mongodb/grantAndDonationModel.js +1 -1
- package/dist/models/mongodb/holidayModel.js +1 -1
- package/dist/models/mongodb/index.d.ts +0 -7
- package/dist/models/mongodb/index.js +1 -16
- package/dist/models/mongodb/informationSupportModel.js +1 -1
- package/dist/models/mongodb/inquiryModel.js +1 -1
- package/dist/models/mongodb/instituteFeeModel.js +1 -1
- package/dist/models/mongodb/invoiceModel.js +1 -1
- package/dist/models/mongodb/jobApplyModel.js +1 -1
- package/dist/models/mongodb/kipiverseContactFormModel.js +1 -1
- package/dist/models/mongodb/markSheetConfigurationModel.js +1 -1
- package/dist/models/mongodb/modulePriceModel.js +1 -1
- package/dist/models/mongodb/offerAndDiscountModel.js +1 -1
- package/dist/models/mongodb/onlineLectureModel.js +1 -1
- package/dist/models/mongodb/pastYearRecordTopperModel.js +1 -1
- package/dist/models/mongodb/pdcChequeConfigurationModel.js +1 -1
- package/dist/models/mongodb/photosGalleryModel.js +2 -6
- package/dist/models/mongodb/plannerModel.js +1 -1
- package/dist/models/mongodb/pollSelectionModel.js +1 -1
- package/dist/models/mongodb/productMetaModel.js +10 -2
- package/dist/models/mongodb/replaceTeacherModel.js +1 -1
- package/dist/models/mongodb/rmsAmcContractModel.js +1 -1
- package/dist/models/mongodb/rmsAuditLogModel.js +1 -1
- package/dist/models/mongodb/rmsDigitalResourceAccessModel.js +1 -1
- package/dist/models/mongodb/rmsDigitalResourceModel.js +1 -1
- package/dist/models/mongodb/rmsResourceDetailsModel.d.ts +1 -7
- package/dist/models/mongodb/rmsResourceDetailsModel.js +1 -1
- package/dist/models/mongodb/roleHasPermissionModel.js +1 -1
- package/dist/models/mongodb/schoolFee1Model.js +1 -1
- package/dist/models/mongodb/seatingArrangementModel.js +1 -1
- package/dist/models/mongodb/sheetFieldModel.js +1 -1
- package/dist/models/mongodb/subjectIndexModel.js +1 -1
- package/dist/models/mongodb/subscriptionConfigurationModel.js +1 -1
- package/dist/models/mongodb/subscriptionPlanModel.js +6 -1
- package/dist/models/mongodb/taskManagementModel.js +1 -1
- package/dist/models/mongodb/themeModel.js +1 -1
- package/dist/models/mongodb/ticketRaiseModel.js +1 -1
- package/dist/models/mongodb/uniqueNumberCounterModel.js +1 -1
- package/dist/models/mongodb/userDetailsModel.js +1 -1
- package/dist/models/mongodb/userFinalResultModel.js +1 -1
- package/dist/models/mongodb/userInstituteMetaModel.js +1 -5
- package/dist/models/mongodb/userSchoolMetaModel.d.ts +1 -6
- package/dist/models/mongodb/userSchoolMetaModel.js +36 -3
- package/dist/models/mongodb/vendorCompanyMetaModel.js +16 -2
- package/dist/models/mongodb/videoAnalystModel.js +1 -1
- package/dist/models/mongodb/walletTransactionModel.js +1 -1
- package/dist/models/psql/SubCategoriesModel.d.ts +2 -1
- package/dist/models/psql/SubCategoriesModel.js +5 -0
- package/dist/models/psql/aiModelKeysModel.d.ts +20 -0
- package/dist/models/psql/aiModelKeysModel.js +70 -0
- package/dist/models/psql/categoriesModel.d.ts +2 -1
- package/dist/models/psql/categoriesModel.js +5 -0
- package/dist/models/psql/fileStorageModel.js +3 -4
- package/dist/models/psql/index.d.ts +1 -11
- package/dist/models/psql/index.js +4 -25
- package/dist/models/psql/instituteModel.d.ts +1 -0
- package/dist/models/psql/instituteModel.js +5 -2
- package/dist/models/psql/instituteOwnershipHistoryModel.d.ts +2 -1
- package/dist/models/psql/instituteOwnershipHistoryModel.js +8 -3
- package/dist/models/psql/institutePartnersModel.d.ts +2 -1
- package/dist/models/psql/institutePartnersModel.js +8 -3
- package/dist/models/psql/sendNotificationModel.d.ts +0 -1
- package/dist/models/psql/sendNotificationModel.js +0 -5
- package/dist/models/psql/testimonialModel.d.ts +0 -1
- package/dist/models/psql/testimonialModel.js +7 -8
- package/dist/models/psql/userModel.d.ts +3 -1
- package/dist/models/psql/userModel.js +2 -2
- package/dist/queues/emailQueue.d.ts +3 -0
- package/dist/queues/emailQueue.js +22 -0
- package/dist/queues/emailWorker.d.ts +3 -0
- package/dist/queues/emailWorker.js +33 -0
- package/dist/queues/index.d.ts +2 -0
- package/dist/queues/index.js +18 -0
- package/dist/types/aiModelKeysType.d.ts +3 -0
- package/dist/types/commonType.d.ts +29 -1
- package/dist/types/index.d.ts +1 -18
- package/dist/types/index.js +1 -19
- package/package.json +10 -2
- package/dist/db/psql/migrations/20260714095754-create-arena-models.js +0 -642
- package/dist/db/psql/migrations/20260720092201-replace-facility-sports-with-sport-group-data.d.ts +0 -2
- package/dist/db/psql/migrations/20260720092201-replace-facility-sports-with-sport-group-data.js +0 -138
- package/dist/db/psql/migrations/20260722143500-create-school_has_sports.js +0 -71
- package/dist/db/psql/migrations/20260728170500-add_sports_academy_id_to_testimonials.js +0 -21
- package/dist/db/psql/migrations/20260729150700-add_sports_academy_id_to_notifications.js +0 -21
- package/dist/interfaces/ageGroupInterface.d.ts +0 -12
- package/dist/interfaces/assessmentTestInterface.d.ts +0 -23
- package/dist/interfaces/equipmentInterface.d.ts +0 -10
- package/dist/interfaces/equipmentInterface.js +0 -2
- package/dist/interfaces/facilityMasterInterface.d.ts +0 -9
- package/dist/interfaces/facilityMasterInterface.js +0 -2
- package/dist/interfaces/schoolHasSportInterface.d.ts +0 -7
- package/dist/interfaces/schoolHasSportInterface.js +0 -2
- package/dist/interfaces/skillInterface.d.ts +0 -19
- package/dist/interfaces/skillInterface.js +0 -2
- package/dist/interfaces/sportCategoryInterface.d.ts +0 -9
- package/dist/interfaces/sportCategoryInterface.js +0 -2
- package/dist/interfaces/sportDataApproveInterface.d.ts +0 -19
- package/dist/interfaces/sportDataApproveInterface.js +0 -2
- package/dist/interfaces/sportGroupDataInterface.d.ts +0 -7
- package/dist/interfaces/sportGroupDataInterface.js +0 -2
- package/dist/interfaces/sportInfoInterface.d.ts +0 -24
- package/dist/interfaces/sportInfoInterface.js +0 -2
- package/dist/interfaces/sportInterface.d.ts +0 -10
- package/dist/interfaces/sportInterface.js +0 -2
- package/dist/interfaces/sportRoleInterface.d.ts +0 -11
- package/dist/interfaces/sportRoleInterface.js +0 -2
- package/dist/interfaces/sportSubCategoryInterface.d.ts +0 -10
- package/dist/interfaces/sportSubCategoryInterface.js +0 -2
- package/dist/interfaces/sportsAcademyInterface.d.ts +0 -39
- package/dist/interfaces/sportsAcademyInterface.js +0 -2
- package/dist/interfaces/studentSportTestInterface.d.ts +0 -20
- package/dist/interfaces/studentSportTestInterface.js +0 -2
- package/dist/interfaces/unitInterface.d.ts +0 -10
- package/dist/interfaces/unitInterface.js +0 -2
- package/dist/interfaces/userAcademyMetaInterface.d.ts +0 -17
- package/dist/interfaces/userAcademyMetaInterface.js +0 -2
- package/dist/interfaces/userAmenityInterface.d.ts +0 -24
- package/dist/interfaces/userAmenityInterface.js +0 -2
- package/dist/models/mongodb/assessmentTestModel.d.ts +0 -4
- package/dist/models/mongodb/assessmentTestModel.js +0 -72
- package/dist/models/mongodb/sportDataApproveModel.d.ts +0 -4
- package/dist/models/mongodb/sportDataApproveModel.js +0 -117
- package/dist/models/mongodb/sportInfoModel.d.ts +0 -4
- package/dist/models/mongodb/sportInfoModel.js +0 -72
- package/dist/models/mongodb/sportsAcademyModel.d.ts +0 -4
- package/dist/models/mongodb/sportsAcademyModel.js +0 -89
- package/dist/models/mongodb/studentSportTestModel.d.ts +0 -4
- package/dist/models/mongodb/studentSportTestModel.js +0 -68
- package/dist/models/mongodb/userAcademyMetaModel.d.ts +0 -4
- package/dist/models/mongodb/userAcademyMetaModel.js +0 -109
- package/dist/models/mongodb/userAmenityModel.d.ts +0 -4
- package/dist/models/mongodb/userAmenityModel.js +0 -73
- package/dist/models/psql/ageGroupModel.d.ts +0 -22
- package/dist/models/psql/ageGroupModel.js +0 -76
- package/dist/models/psql/equipmentModel.d.ts +0 -20
- package/dist/models/psql/equipmentModel.js +0 -57
- package/dist/models/psql/facilityMasterModel.d.ts +0 -18
- package/dist/models/psql/facilityMasterModel.js +0 -64
- package/dist/models/psql/schoolHasSportModel.d.ts +0 -17
- package/dist/models/psql/schoolHasSportModel.js +0 -76
- package/dist/models/psql/skillModel.d.ts +0 -25
- package/dist/models/psql/skillModel.js +0 -99
- package/dist/models/psql/sportCategoryModel.d.ts +0 -19
- package/dist/models/psql/sportCategoryModel.js +0 -53
- package/dist/models/psql/sportGroupDataModel.d.ts +0 -13
- package/dist/models/psql/sportGroupDataModel.js +0 -64
- package/dist/models/psql/sportModel.d.ts +0 -20
- package/dist/models/psql/sportModel.js +0 -58
- package/dist/models/psql/sportRoleModel.d.ts +0 -21
- package/dist/models/psql/sportRoleModel.js +0 -71
- package/dist/models/psql/sportSubCategoryModel.d.ts +0 -20
- package/dist/models/psql/sportSubCategoryModel.js +0 -75
- package/dist/models/psql/unitModel.d.ts +0 -20
- package/dist/models/psql/unitModel.js +0 -57
- package/dist/types/ageGroupType.d.ts +0 -2
- package/dist/types/ageGroupType.js +0 -2
- package/dist/types/assessmentTestType.d.ts +0 -2
- package/dist/types/assessmentTestType.js +0 -2
- package/dist/types/equipmentType.d.ts +0 -2
- package/dist/types/equipmentType.js +0 -2
- package/dist/types/facilityMasterType.d.ts +0 -3
- package/dist/types/facilityMasterType.js +0 -2
- package/dist/types/schoolHasSportType.d.ts +0 -2
- package/dist/types/schoolHasSportType.js +0 -2
- package/dist/types/skillType.d.ts +0 -2
- package/dist/types/skillType.js +0 -2
- package/dist/types/sportCategoryType.d.ts +0 -2
- package/dist/types/sportCategoryType.js +0 -2
- package/dist/types/sportDataApproveType.d.ts +0 -2
- package/dist/types/sportDataApproveType.js +0 -2
- package/dist/types/sportGroupDataType.d.ts +0 -3
- package/dist/types/sportGroupDataType.js +0 -2
- package/dist/types/sportInfoType.d.ts +0 -2
- package/dist/types/sportInfoType.js +0 -2
- package/dist/types/sportRoleType.d.ts +0 -2
- package/dist/types/sportRoleType.js +0 -2
- package/dist/types/sportSubCategoryType.d.ts +0 -2
- package/dist/types/sportSubCategoryType.js +0 -2
- package/dist/types/sportType.d.ts +0 -2
- package/dist/types/sportType.js +0 -2
- package/dist/types/sportsAcademyType.d.ts +0 -2
- package/dist/types/sportsAcademyType.js +0 -2
- package/dist/types/studentSportTestType.d.ts +0 -2
- package/dist/types/studentSportTestType.js +0 -2
- package/dist/types/unitType.d.ts +0 -2
- package/dist/types/unitType.js +0 -2
- package/dist/types/userAcademyMetaType.d.ts +0 -2
- package/dist/types/userAcademyMetaType.js +0 -2
- package/dist/types/userAmenityType.d.ts +0 -2
- package/dist/types/userAmenityType.js +0 -2
- /package/dist/db/psql/migrations/{20260714095754-create-arena-models.d.ts → 20260714111425-change_status_enum_to_string_in_institutes.d.ts} +0 -0
- /package/dist/db/psql/migrations/{20260722143500-create-school_has_sports.d.ts → 20260714131500-add_note_to_institutes.d.ts} +0 -0
- /package/dist/db/psql/migrations/{20260728170500-add_sports_academy_id_to_testimonials.d.ts → 20260715150000-create-ai-model-keys.d.ts} +0 -0
- /package/dist/db/psql/migrations/{20260729150700-add_sports_academy_id_to_notifications.d.ts → 20260727123149-add_vendorCompanyId_to_institute_ownership_histories.d.ts} +0 -0
- /package/dist/interfaces/{ageGroupInterface.js → aiModelKeysInterface.js} +0 -0
- /package/dist/{interfaces/assessmentTestInterface.js → types/aiModelKeysType.js} +0 -0
package/dist/db/psql/migrations/20260720092201-replace-facility-sports-with-sport-group-data.js
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/** @type {import('sequelize-cli').Migration} */
|
|
3
|
-
module.exports = {
|
|
4
|
-
async up(queryInterface, Sequelize) {
|
|
5
|
-
await queryInterface.dropTable('facility_sports');
|
|
6
|
-
await queryInterface.createTable('sport_group_data', {
|
|
7
|
-
id: {
|
|
8
|
-
allowNull: false,
|
|
9
|
-
primaryKey: true,
|
|
10
|
-
type: Sequelize.UUID,
|
|
11
|
-
defaultValue: Sequelize.UUIDV4
|
|
12
|
-
},
|
|
13
|
-
sport_id: {
|
|
14
|
-
type: Sequelize.UUID,
|
|
15
|
-
allowNull: false,
|
|
16
|
-
references: {
|
|
17
|
-
model: 'sports',
|
|
18
|
-
key: 'id'
|
|
19
|
-
},
|
|
20
|
-
onUpdate: 'CASCADE',
|
|
21
|
-
onDelete: 'CASCADE'
|
|
22
|
-
},
|
|
23
|
-
facility_id: {
|
|
24
|
-
type: Sequelize.UUID,
|
|
25
|
-
allowNull: true,
|
|
26
|
-
references: {
|
|
27
|
-
model: 'facility_masters',
|
|
28
|
-
key: 'id'
|
|
29
|
-
},
|
|
30
|
-
onUpdate: 'CASCADE',
|
|
31
|
-
onDelete: 'CASCADE'
|
|
32
|
-
},
|
|
33
|
-
equipment_id: {
|
|
34
|
-
type: Sequelize.UUID,
|
|
35
|
-
allowNull: true,
|
|
36
|
-
references: {
|
|
37
|
-
model: 'equipments',
|
|
38
|
-
key: 'id'
|
|
39
|
-
},
|
|
40
|
-
onUpdate: 'CASCADE',
|
|
41
|
-
onDelete: 'CASCADE'
|
|
42
|
-
},
|
|
43
|
-
createdAt: {
|
|
44
|
-
allowNull: false,
|
|
45
|
-
type: Sequelize.DATE,
|
|
46
|
-
defaultValue: Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
47
|
-
field: 'created_at',
|
|
48
|
-
},
|
|
49
|
-
updatedAt: {
|
|
50
|
-
allowNull: false,
|
|
51
|
-
type: Sequelize.DATE,
|
|
52
|
-
defaultValue: Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
53
|
-
field: 'updated_at',
|
|
54
|
-
},
|
|
55
|
-
deletedAt: {
|
|
56
|
-
type: Sequelize.DATE,
|
|
57
|
-
field: 'deleted_at',
|
|
58
|
-
},
|
|
59
|
-
createdBy: {
|
|
60
|
-
type: Sequelize.UUID,
|
|
61
|
-
allowNull: true,
|
|
62
|
-
field: 'created_by',
|
|
63
|
-
},
|
|
64
|
-
updatedBy: {
|
|
65
|
-
type: Sequelize.UUID,
|
|
66
|
-
allowNull: true,
|
|
67
|
-
field: 'updated_by',
|
|
68
|
-
},
|
|
69
|
-
deletedBy: {
|
|
70
|
-
type: Sequelize.UUID,
|
|
71
|
-
allowNull: true,
|
|
72
|
-
field: 'deleted_by',
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
},
|
|
76
|
-
async down(queryInterface, Sequelize) {
|
|
77
|
-
await queryInterface.dropTable('sport_group_data');
|
|
78
|
-
await queryInterface.createTable('facility_sports', {
|
|
79
|
-
id: {
|
|
80
|
-
allowNull: false,
|
|
81
|
-
primaryKey: true,
|
|
82
|
-
type: Sequelize.UUID,
|
|
83
|
-
defaultValue: Sequelize.UUIDV4
|
|
84
|
-
},
|
|
85
|
-
facility_id: {
|
|
86
|
-
type: Sequelize.UUID,
|
|
87
|
-
allowNull: false,
|
|
88
|
-
references: {
|
|
89
|
-
model: 'facility_masters',
|
|
90
|
-
key: 'id'
|
|
91
|
-
},
|
|
92
|
-
onUpdate: 'CASCADE',
|
|
93
|
-
onDelete: 'CASCADE'
|
|
94
|
-
},
|
|
95
|
-
sport_id: {
|
|
96
|
-
type: Sequelize.UUID,
|
|
97
|
-
allowNull: false,
|
|
98
|
-
references: {
|
|
99
|
-
model: 'sports',
|
|
100
|
-
key: 'id'
|
|
101
|
-
},
|
|
102
|
-
onUpdate: 'CASCADE',
|
|
103
|
-
onDelete: 'CASCADE'
|
|
104
|
-
},
|
|
105
|
-
createdAt: {
|
|
106
|
-
allowNull: false,
|
|
107
|
-
type: Sequelize.DATE,
|
|
108
|
-
defaultValue: Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
109
|
-
field: 'created_at',
|
|
110
|
-
},
|
|
111
|
-
updatedAt: {
|
|
112
|
-
allowNull: false,
|
|
113
|
-
type: Sequelize.DATE,
|
|
114
|
-
defaultValue: Sequelize.literal('CURRENT_TIMESTAMP'),
|
|
115
|
-
field: 'updated_at',
|
|
116
|
-
},
|
|
117
|
-
deletedAt: {
|
|
118
|
-
type: Sequelize.DATE,
|
|
119
|
-
field: 'deleted_at',
|
|
120
|
-
},
|
|
121
|
-
createdBy: {
|
|
122
|
-
type: Sequelize.UUID,
|
|
123
|
-
allowNull: true,
|
|
124
|
-
field: 'created_by',
|
|
125
|
-
},
|
|
126
|
-
updatedBy: {
|
|
127
|
-
type: Sequelize.UUID,
|
|
128
|
-
allowNull: true,
|
|
129
|
-
field: 'updated_by',
|
|
130
|
-
},
|
|
131
|
-
deletedBy: {
|
|
132
|
-
type: Sequelize.UUID,
|
|
133
|
-
allowNull: true,
|
|
134
|
-
field: 'deleted_by',
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const up = async (queryInterface, Sequelize) => {
|
|
3
|
-
const tableExists = await queryInterface
|
|
4
|
-
.describeTable('school_has_sports')
|
|
5
|
-
.then(() => true)
|
|
6
|
-
.catch(() => false);
|
|
7
|
-
if (!tableExists) {
|
|
8
|
-
await queryInterface.createTable('school_has_sports', {
|
|
9
|
-
id: {
|
|
10
|
-
type: Sequelize.UUID,
|
|
11
|
-
primaryKey: true,
|
|
12
|
-
allowNull: false,
|
|
13
|
-
defaultValue: Sequelize.UUIDV4,
|
|
14
|
-
},
|
|
15
|
-
instituteId: {
|
|
16
|
-
type: Sequelize.UUID,
|
|
17
|
-
allowNull: true,
|
|
18
|
-
field: 'institute_id',
|
|
19
|
-
},
|
|
20
|
-
academicCalendarId: {
|
|
21
|
-
type: Sequelize.UUID,
|
|
22
|
-
allowNull: true,
|
|
23
|
-
field: 'academic_calendar_id',
|
|
24
|
-
},
|
|
25
|
-
sportId: {
|
|
26
|
-
type: Sequelize.UUID,
|
|
27
|
-
allowNull: true,
|
|
28
|
-
field: 'sport_id',
|
|
29
|
-
},
|
|
30
|
-
createdAt: {
|
|
31
|
-
type: Sequelize.DATE,
|
|
32
|
-
allowNull: false,
|
|
33
|
-
field: 'created_at',
|
|
34
|
-
},
|
|
35
|
-
updatedAt: {
|
|
36
|
-
type: Sequelize.DATE,
|
|
37
|
-
allowNull: false,
|
|
38
|
-
field: 'updated_at',
|
|
39
|
-
},
|
|
40
|
-
deletedAt: {
|
|
41
|
-
type: Sequelize.DATE,
|
|
42
|
-
field: 'deleted_at',
|
|
43
|
-
},
|
|
44
|
-
createdBy: {
|
|
45
|
-
type: Sequelize.UUID,
|
|
46
|
-
allowNull: true,
|
|
47
|
-
field: 'created_by',
|
|
48
|
-
},
|
|
49
|
-
updatedBy: {
|
|
50
|
-
type: Sequelize.UUID,
|
|
51
|
-
allowNull: true,
|
|
52
|
-
field: 'updated_by',
|
|
53
|
-
},
|
|
54
|
-
deletedBy: {
|
|
55
|
-
type: Sequelize.UUID,
|
|
56
|
-
allowNull: true,
|
|
57
|
-
field: 'deleted_by',
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
const down = async (queryInterface) => {
|
|
63
|
-
const tableExists = await queryInterface
|
|
64
|
-
.describeTable('school_has_sports')
|
|
65
|
-
.then(() => true)
|
|
66
|
-
.catch(() => false);
|
|
67
|
-
if (tableExists) {
|
|
68
|
-
await queryInterface.dropTable('school_has_sports');
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
module.exports = { up, down };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const up = async (queryInterface, Sequelize) => {
|
|
3
|
-
const table = await queryInterface.describeTable('testimonials');
|
|
4
|
-
if (!table.sports_academy_id) {
|
|
5
|
-
await queryInterface.addColumn('testimonials', 'sports_academy_id', {
|
|
6
|
-
type: Sequelize.STRING,
|
|
7
|
-
allowNull: true,
|
|
8
|
-
field: 'sports_academy_id',
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
const down = async (queryInterface) => {
|
|
13
|
-
const table = await queryInterface.describeTable('testimonials');
|
|
14
|
-
if (table.sports_academy_id) {
|
|
15
|
-
await queryInterface.removeColumn('testimonials', 'sports_academy_id');
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
module.exports = {
|
|
19
|
-
up,
|
|
20
|
-
down,
|
|
21
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const up = async (queryInterface, Sequelize) => {
|
|
3
|
-
const table = await queryInterface.describeTable('notifications');
|
|
4
|
-
if (!table.sports_academy_id) {
|
|
5
|
-
await queryInterface.addColumn('notifications', 'sports_academy_id', {
|
|
6
|
-
type: Sequelize.STRING,
|
|
7
|
-
allowNull: true,
|
|
8
|
-
field: 'sports_academy_id',
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
const down = async (queryInterface) => {
|
|
13
|
-
const table = await queryInterface.describeTable('notifications');
|
|
14
|
-
if (table.sports_academy_id) {
|
|
15
|
-
await queryInterface.removeColumn('notifications', 'sports_academy_id');
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
module.exports = {
|
|
19
|
-
up,
|
|
20
|
-
down,
|
|
21
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { COMMAN_STATUS } from '../constants/app';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
export interface IAgeGroupModelAttributes extends IDefaultAttributes {
|
|
4
|
-
id: string;
|
|
5
|
-
sportId?: string;
|
|
6
|
-
name: string;
|
|
7
|
-
code: string;
|
|
8
|
-
minAge?: number;
|
|
9
|
-
maxAge?: number;
|
|
10
|
-
description?: string;
|
|
11
|
-
status: COMMAN_STATUS;
|
|
12
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Document } from 'mongoose';
|
|
2
|
-
import { ASSESSMENT_TEST_STATUS } from '../constants/app';
|
|
3
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
4
|
-
export interface IAssessmentTestTargetSkill {
|
|
5
|
-
skillId: string;
|
|
6
|
-
ageGroupId?: string;
|
|
7
|
-
minValue?: number;
|
|
8
|
-
}
|
|
9
|
-
export interface IAssessmentTestModelAttributes extends IDefaultAttributes, Document {
|
|
10
|
-
id: string;
|
|
11
|
-
sportId?: string;
|
|
12
|
-
sportRoleId?: string;
|
|
13
|
-
name: string;
|
|
14
|
-
code: string;
|
|
15
|
-
description?: string;
|
|
16
|
-
passingRules?: string;
|
|
17
|
-
scoreFormula?: string;
|
|
18
|
-
documents?: string[];
|
|
19
|
-
videos?: string[];
|
|
20
|
-
targetSkills?: IAssessmentTestTargetSkill[];
|
|
21
|
-
requiredEquipment?: string[];
|
|
22
|
-
status: ASSESSMENT_TEST_STATUS;
|
|
23
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { COMMAN_STATUS } from '../constants/app';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
export interface IEquipmentModelAttributes extends IDefaultAttributes {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
code: string;
|
|
7
|
-
category?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
status: COMMAN_STATUS;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { COMMAN_STATUS, FACILITY_PLACE_TYPE } from '../constants/app';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
export interface IFacilityMasterModelAttributes extends IDefaultAttributes {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
code: string;
|
|
7
|
-
type: FACILITY_PLACE_TYPE;
|
|
8
|
-
status: COMMAN_STATUS;
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BETTER_VALUE_TYPE, COMMAN_STATUS } from '../constants/app';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
import { IUnitModelAttributes } from './unitInterface';
|
|
4
|
-
import { ISportModelAttributes } from './sportInterface';
|
|
5
|
-
export interface ISkillModelAttributes extends IDefaultAttributes {
|
|
6
|
-
id: string;
|
|
7
|
-
sportId?: string;
|
|
8
|
-
unitId?: string;
|
|
9
|
-
name: string;
|
|
10
|
-
code: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
minValue?: number;
|
|
13
|
-
maxValue?: number;
|
|
14
|
-
betterValueType?: BETTER_VALUE_TYPE;
|
|
15
|
-
valueSide?: string[];
|
|
16
|
-
status: COMMAN_STATUS;
|
|
17
|
-
unit?: IUnitModelAttributes | null;
|
|
18
|
-
sport?: ISportModelAttributes | null;
|
|
19
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { COMMAN_STATUS } from '../constants/app';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
export interface ISportCategoryModelAttributes extends IDefaultAttributes {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
code: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
status: COMMAN_STATUS;
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Document } from 'mongoose';
|
|
2
|
-
import { SPORT_DATA_APPROVAL_STATUS, SPORT_DATA_MODULE, SPORT_DATA_ACTION } from '../constants/app';
|
|
3
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
4
|
-
export interface ISportDataApproveModelAttributes extends IDefaultAttributes, Document {
|
|
5
|
-
moduleType: SPORT_DATA_MODULE;
|
|
6
|
-
action: SPORT_DATA_ACTION;
|
|
7
|
-
status: SPORT_DATA_APPROVAL_STATUS;
|
|
8
|
-
payload: any;
|
|
9
|
-
acceptedData?: any;
|
|
10
|
-
referenceId?: string;
|
|
11
|
-
reason?: string;
|
|
12
|
-
createdBy?: string;
|
|
13
|
-
reviewedBy?: string;
|
|
14
|
-
reviewTime?: Date;
|
|
15
|
-
acceptedBy?: string;
|
|
16
|
-
acceptedTime?: Date;
|
|
17
|
-
rejectedBy?: string;
|
|
18
|
-
rejectedTime?: Date;
|
|
19
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Document } from 'mongoose';
|
|
2
|
-
import { COMMAN_STATUS } from '../constants/app';
|
|
3
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
4
|
-
export interface ISportInfoSkill {
|
|
5
|
-
ageGroupId: string;
|
|
6
|
-
skillId: string;
|
|
7
|
-
minValue?: number;
|
|
8
|
-
maxValue?: number;
|
|
9
|
-
value?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ISportInfoModelAttributes extends IDefaultAttributes, Document {
|
|
12
|
-
sportId: string;
|
|
13
|
-
setupGuide?: string;
|
|
14
|
-
images?: string[];
|
|
15
|
-
documents?: string[];
|
|
16
|
-
categories?: string[];
|
|
17
|
-
subCategories?: string[];
|
|
18
|
-
equipments?: string[];
|
|
19
|
-
amenitiesNeeded?: string[];
|
|
20
|
-
infrastructure?: string[];
|
|
21
|
-
specificTests?: string[];
|
|
22
|
-
skills?: ISportInfoSkill[];
|
|
23
|
-
status: COMMAN_STATUS;
|
|
24
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { COMMAN_STATUS } from '../constants/app';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
export interface ISportModelAttributes extends IDefaultAttributes {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
code: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
icon?: string;
|
|
9
|
-
status: COMMAN_STATUS;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { COMMAN_STATUS } from '../constants/app';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
export interface ISportRoleModelAttributes extends IDefaultAttributes {
|
|
4
|
-
id: string;
|
|
5
|
-
sportId: string;
|
|
6
|
-
name: string;
|
|
7
|
-
code: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
icon?: string;
|
|
10
|
-
status: COMMAN_STATUS;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { COMMAN_STATUS } from '../constants/app';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
export interface ISportSubCategoryModelAttributes extends IDefaultAttributes {
|
|
4
|
-
id: string;
|
|
5
|
-
sportId: string;
|
|
6
|
-
categoryId: string;
|
|
7
|
-
name: string;
|
|
8
|
-
code: string;
|
|
9
|
-
status: COMMAN_STATUS;
|
|
10
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Document } from 'mongoose';
|
|
2
|
-
import { COMMAN_STATUS } from '../constants/app';
|
|
3
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
4
|
-
export interface IMobileDetail {
|
|
5
|
-
name: string;
|
|
6
|
-
mobile: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ISportsHistroy {
|
|
9
|
-
sportId: number;
|
|
10
|
-
startDate: Date;
|
|
11
|
-
endDate?: Date;
|
|
12
|
-
}
|
|
13
|
-
export interface ISportsAcademyModelAttributes extends IDefaultAttributes, Document {
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
|
-
globalId: string;
|
|
17
|
-
email: string;
|
|
18
|
-
websiteUrl?: string;
|
|
19
|
-
description?: string;
|
|
20
|
-
addressLine1?: string;
|
|
21
|
-
addressLine2?: string;
|
|
22
|
-
pinCode?: string;
|
|
23
|
-
city?: number;
|
|
24
|
-
state?: number;
|
|
25
|
-
country?: number;
|
|
26
|
-
contactPerson?: string;
|
|
27
|
-
mobiles?: IMobileDetail[];
|
|
28
|
-
youtube?: string;
|
|
29
|
-
instagram?: string;
|
|
30
|
-
facebook?: string;
|
|
31
|
-
whatsapp?: string;
|
|
32
|
-
ownerId?: string;
|
|
33
|
-
img?: string;
|
|
34
|
-
bannerImg?: string;
|
|
35
|
-
status: COMMAN_STATUS;
|
|
36
|
-
sportsIds?: string[];
|
|
37
|
-
sportsHistroy?: ISportsHistroy[];
|
|
38
|
-
amenitiesIds?: string[];
|
|
39
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Document } from 'mongoose';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
import { STUDENT_SPORT_TEST_STATUS } from '../constants/app';
|
|
4
|
-
export interface IStudentSportTestResultItem {
|
|
5
|
-
skillId?: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
value: string;
|
|
8
|
-
unit?: string;
|
|
9
|
-
remarks?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IStudentSportTestModelAttributes extends IDefaultAttributes, Document {
|
|
12
|
-
id: string;
|
|
13
|
-
userId: string;
|
|
14
|
-
instituteId: string;
|
|
15
|
-
academicCalendarId: string;
|
|
16
|
-
userMetaId: string;
|
|
17
|
-
status: STUDENT_SPORT_TEST_STATUS;
|
|
18
|
-
testId: string | null;
|
|
19
|
-
results: IStudentSportTestResultItem[];
|
|
20
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { COMMAN_STATUS } from '../constants/app';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
export interface IUnitModelAttributes extends IDefaultAttributes {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
code: string;
|
|
7
|
-
symbol: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
status: COMMAN_STATUS;
|
|
10
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Document } from 'mongoose';
|
|
2
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
3
|
-
import { COMMAN_STATUS, USER_ACADEMY_META_STATUS, USER_TYPES } from '../constants/app';
|
|
4
|
-
export interface IUserAcademyMetaAttributes extends IDefaultAttributes, Document {
|
|
5
|
-
id: string;
|
|
6
|
-
userId: string;
|
|
7
|
-
sportsAcademyId: string;
|
|
8
|
-
userType: USER_TYPES;
|
|
9
|
-
status?: USER_ACADEMY_META_STATUS;
|
|
10
|
-
sportsIds?: string[];
|
|
11
|
-
joiningDate?: Date;
|
|
12
|
-
endTime?: Date;
|
|
13
|
-
rollNumber?: string;
|
|
14
|
-
designation?: string;
|
|
15
|
-
additionalField?: object;
|
|
16
|
-
isActive: COMMAN_STATUS;
|
|
17
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Document } from 'mongoose';
|
|
2
|
-
import { AMENITY_STATUS } from '../constants/app';
|
|
3
|
-
import { IDefaultAttributes } from './commonInterface';
|
|
4
|
-
export interface IUserAmenityFacilityDetail {
|
|
5
|
-
facilityMasterId: string;
|
|
6
|
-
count: number;
|
|
7
|
-
description?: string;
|
|
8
|
-
sportsIds?: string[];
|
|
9
|
-
}
|
|
10
|
-
export interface IUserAmenityModelAttributes extends IDefaultAttributes, Document {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
addressLine1?: string;
|
|
15
|
-
addressLine2?: string;
|
|
16
|
-
pinCode?: string;
|
|
17
|
-
city?: number;
|
|
18
|
-
state?: number;
|
|
19
|
-
country?: number;
|
|
20
|
-
images?: string[];
|
|
21
|
-
ownerId?: string;
|
|
22
|
-
status: AMENITY_STATUS;
|
|
23
|
-
facilities?: IUserAmenityFacilityDetail[];
|
|
24
|
-
}
|