@kipicore/dbcore 1.1.168 → 1.1.170

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.
@@ -1227,3 +1227,10 @@ export declare enum POLL_SELECTION_ERROR_MESSAGES {
1227
1227
  MAX_OPTION_ERROR = "You have reached the maximum number of options allowed for this poll.",
1228
1228
  POLL_EXPIRED = "This poll has expired and is no longer accepting selections."
1229
1229
  }
1230
+ export declare enum EVENT_TEMPLATES_ERROR_MESSAGES {
1231
+ CREATE_FAIL = "Unable to save event templates",
1232
+ GET_FAIL = "Unable to retrieve event templates",
1233
+ UPDATE_FAIL = "Unable to update event templates",
1234
+ DELETE_FAIL = "Unable to delete event templates",
1235
+ NOT_FOUND = "Unable to find event templates"
1236
+ }
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FILE_STORAGE_ERROR_MESSAGES = exports.EXAM_HAS_ANSWER_SHEET_ERROR_MESSAGES = exports.EXAM_ERROR_MESSAGES = exports.ANNOUCEMENT_ERROR_MESSAGES = exports.PARENTS_ERROR_MESSAGES = exports.USER_INSTITUTE_META_ERROR_MESSAGES = exports.INSTITUTE_ENTITY_ERROR_MESSAGES = exports.INSTITUTE_ENTITY_TYPE_ERROR_MESSAGES = exports.INSTITUTE_ERROR_MESSAGES = exports.MODULE_ERROR_MESSAGES = exports.ROLE_ERROR_MESSAGES = exports.TYPE_MANAGEMENT_ERROR_MESSAGES = exports.CLASSROOM_ERROR_MESSAGES = exports.BATCH_ERROR_MESSAGES = exports.ACADEMIC_CALENDAR_ERROR_MESSAGES = exports.EVENT_ERROR_MESSAGES = exports.HOLIDAY_ERROR_MESSAGES = exports.USER_HAS_ROLL_NUMBER_ERROR_MESSAGES = exports.USER_HAS_OFFER_ERROR_MESSAGES = exports.FEE_REMINDER_ERROR_MESSAGES = exports.FEE_REMINDER_SETTING_ERROR_MESSAGES = exports.FEEREMINDER_ERROR_MESSAGES = exports.FEESCOLLECTION_ERROR_MESSAGES = exports.USER_FEE_TYPE_ERROR_MESSAGES = exports.SCHOOL_FEE_ERROR_MESSAGES = exports.FEE_TYPE_ERROR_MESSAGES = exports.FACILITY_ERROR_MESSAGES = exports.OFFER_ERROR_MESSAGES = exports.INVENTORY_HISTORY_ERROR_MESSAGES = exports.PAYMENT_TERMS_ERROR_MESSAGES = exports.INVENTORY_ERROR_MESSAGES = exports.CATEGORY_ERROR_MESSAGES = exports.USER_HAS_INVENTORY_ERROR_MESSAGES = exports.SUBJECT_HAS_FEE_ERROR_MESSAGES = exports.FEE_HISTORY_ERROR_MESSAGES = exports.MASTER_LEAVE_ERROR_MESSAGES = exports.LEAVE_ERROR_MESSAGES = exports.SUBSCRIPTION_ERROR_MESSAGES = exports.FEEDBACK_ERROR_MESSAGES = exports.SCHOOL_FEES_COLLECTION_ERROR_MESSAGES = exports.ACCOUNT_RECEIPT_ERROR_MESSAGES = exports.SCHOOL_SHIFT_ERROR_MESSAGES = exports.BANK_ACCOUNT_DETAILS_ERROR_MESSAGES = exports.INFORMATION_SUPPORT_ERROR_MESSAGES = exports.INQUIRY_ERROR_MESSAGES = exports.APPROVE_REQUEST_ERROR_MESSAGES = exports.BANNER_ERROR_MESSAGES = exports.USER_FEE_TYPE_ACCOUNT_ERROR_MESSAGES = exports.USER_ERROR_MESSAGES = exports.ERROR_MESSAGES = void 0;
4
4
  exports.WALLET_ERROR_MESSAGES = exports.REPLACE_TEACHER_ERROR_MESSAGES = exports.CERTIFICATES_HISTORY_ERROR_MESSAGES = exports.CERTIFICATES_MANAGEMENT_ERROR_MESSAGES = exports.DASHBOARD_MANAGEMENT_ERROR_MESSAGES = exports.PDC_HISTORY_ERROR_MESSAGES = exports.COLUMN_ERROR_MESSAGES = exports.INVOICE_ERROR_MESSAGES = exports.PRODUCT_ERROR_MESSAGES = exports.SUB_CATEGORY_ERROR_MESSAGES = exports.VENDOR_MANAGEMENT_ERROR_MESSAGES = exports.COIN_PURCHASE_OFFER_ERROR_MESSAGES = exports.SYLLABUS_ERROR_MESSAGES = exports.DAILY_BOOK_ERROR_MESSAGES = exports.USER_HAS_HOME_WORK_ERROR_MESSAGES = exports.HOME_WORK_ERROR_MESSAGES = exports.CLOUD_STORAGE_ERROR_MESSAGES = exports.SUBSCRIPTION_PLAN_ERROR_MESSAGES = exports.FLOOR_MANAGEMENT_ERROR_MESSAGES = exports.SIGNED_URL_ERROR_MESSAGES = exports.CAREER_ERROR_MESSAGES = exports.RULES_REGULATION_ERROR_MESSAGES = exports.NOTIFICATION_ERROR_MESSAGES = exports.PHOTO_GALLERY_ERROR_MESSAGES = exports.CONTACT_FEED_BACK_ERROR_MESSAGES = exports.GENERATE_ID_CARD_ERROR_MESSAGES = exports.VEHICLE_ERROR_MESSAGES = exports.BATCH_SUBJECT_PROJECT_ASSESSMENT_ERROR_MESSAGES = exports.USER_BOOK_ASSESSMENT_ERROR_MESSAGES = exports.BATCH_SUBJECT_BOOK_ASSESSMENT_ERROR_MESSAGES = exports.TASK_MANAGEMENT_ERROR_MESSAGES = exports.EXAM_GROUP_ERROR_MESSAGES = exports.USER_PAYOUT_HISTORY_ERROR_MESSAGES = exports.USER_PAYOUT_ERROR_MESSAGES = exports.SUBJECT_INDEX_ERROR_MESSAGES = exports.TESTIMONIAL_ERROR_MESSAGES = exports.DRIVER_ERROR_MESSAGES = exports.BLOG_ERROR_MESSAGES = exports.VIDEO_ANALYST_ERROR_MESSAGES = exports.PDC_CHEQUE_ERROR_MESSAGES = exports.GREETING_ERROR_MESSAGES = exports.USER_HAS_COURSE_ERROR_MESSAGES = exports.COURSE_ERROR_MESSAGES = exports.TO_DO_ERROR_MESSAGES = exports.SLOT_ERROR_MESSAGES = exports.TRIP_ERROR_MESSAGES = exports.LECTURE_ERROR_MESSAGES = exports.WORKING_DAYS_ERROR_MESSAGES = exports.USER_SCHOOL_METADATA_ERROR_MESSAGES = exports.ATTENDANCE_ERROR_MESSAGES = void 0;
5
- exports.POLL_SELECTION_ERROR_MESSAGES = exports.POLL_CREATE_ERROR_MESSAGES = exports.SHEET_FIELD_ERROR_MESSAGES = exports.CLONE_LIST_ERROR_MESSAGES = exports.COMPETITION_USER_ERROR_MESSAGES = exports.COMPETITION_GROUP_ERROR_MESSAGES = exports.COMPETITION_ERROR_MESSAGES = exports.CAMPUS_CARNIVAL_ERROR_MESSAGES = exports.INCOME_EXPENSE_ERROR_MESSAGES = exports.APPOINTMENT_HISTORY_ERROR_MESSAGES = exports.APPOINTMENT_ERROR_MESSAGES = exports.MAINTENANCE_ERROR_MESSAGES = exports.SEATING_ARRANGEMENT_ERROR_MESSAGES = exports.ASSIGN_FILE_ERROR_MESSAGES = exports.THEME_ERROR_MESSAGES = exports.B_DAY_WISH_ERROR_MESSAGES = exports.ADDITIONAL_DETAIL_ERROR_MESSAGES = exports.ADVERTISEMENT_ERROR_MESSAGES = exports.WORK_OFF_DAYS_ERROR_MESSAGES = exports.ENTITY_WISE_CALENDAR_ERROR_MESSAGES = exports.CAMPUS_ERROR_MESSAGES = exports.CANTEEN_ERROR_MESSAGES = exports.LOST_FOUND_ITEM_ERROR_MESSAGES = exports.PAYMENT_TRANSACTION_ERROR_MESSAGES = exports.USER_REQUIRED_STEPS_ERROR_MESSAGES = exports.JOB_APPLY_ERROR_MESSAGES = exports.ENTITY_GROUP_ERROR_MESSAGES = exports.USER_HAS_STORAGE_ERROR_MESSAGES = exports.INSTITUTE_SUBSCRIPTION_PLAN_ERROR_MESSAGES = exports.WALLET_TRANSACTION_ERROR_MESSAGES = exports.WALLET_HISTORY_ERROR_MESSAGES = void 0;
5
+ exports.EVENT_TEMPLATES_ERROR_MESSAGES = exports.POLL_SELECTION_ERROR_MESSAGES = exports.POLL_CREATE_ERROR_MESSAGES = exports.SHEET_FIELD_ERROR_MESSAGES = exports.CLONE_LIST_ERROR_MESSAGES = exports.COMPETITION_USER_ERROR_MESSAGES = exports.COMPETITION_GROUP_ERROR_MESSAGES = exports.COMPETITION_ERROR_MESSAGES = exports.CAMPUS_CARNIVAL_ERROR_MESSAGES = exports.INCOME_EXPENSE_ERROR_MESSAGES = exports.APPOINTMENT_HISTORY_ERROR_MESSAGES = exports.APPOINTMENT_ERROR_MESSAGES = exports.MAINTENANCE_ERROR_MESSAGES = exports.SEATING_ARRANGEMENT_ERROR_MESSAGES = exports.ASSIGN_FILE_ERROR_MESSAGES = exports.THEME_ERROR_MESSAGES = exports.B_DAY_WISH_ERROR_MESSAGES = exports.ADDITIONAL_DETAIL_ERROR_MESSAGES = exports.ADVERTISEMENT_ERROR_MESSAGES = exports.WORK_OFF_DAYS_ERROR_MESSAGES = exports.ENTITY_WISE_CALENDAR_ERROR_MESSAGES = exports.CAMPUS_ERROR_MESSAGES = exports.CANTEEN_ERROR_MESSAGES = exports.LOST_FOUND_ITEM_ERROR_MESSAGES = exports.PAYMENT_TRANSACTION_ERROR_MESSAGES = exports.USER_REQUIRED_STEPS_ERROR_MESSAGES = exports.JOB_APPLY_ERROR_MESSAGES = exports.ENTITY_GROUP_ERROR_MESSAGES = exports.USER_HAS_STORAGE_ERROR_MESSAGES = exports.INSTITUTE_SUBSCRIPTION_PLAN_ERROR_MESSAGES = exports.WALLET_TRANSACTION_ERROR_MESSAGES = exports.WALLET_HISTORY_ERROR_MESSAGES = void 0;
6
6
  var ERROR_MESSAGES;
7
7
  (function (ERROR_MESSAGES) {
8
8
  ERROR_MESSAGES["CREATE_FAIL"] = "Unable to save data in DB!";
@@ -1361,3 +1361,11 @@ var POLL_SELECTION_ERROR_MESSAGES;
1361
1361
  POLL_SELECTION_ERROR_MESSAGES["MAX_OPTION_ERROR"] = "You have reached the maximum number of options allowed for this poll.";
1362
1362
  POLL_SELECTION_ERROR_MESSAGES["POLL_EXPIRED"] = "This poll has expired and is no longer accepting selections.";
1363
1363
  })(POLL_SELECTION_ERROR_MESSAGES || (exports.POLL_SELECTION_ERROR_MESSAGES = POLL_SELECTION_ERROR_MESSAGES = {}));
1364
+ var EVENT_TEMPLATES_ERROR_MESSAGES;
1365
+ (function (EVENT_TEMPLATES_ERROR_MESSAGES) {
1366
+ EVENT_TEMPLATES_ERROR_MESSAGES["CREATE_FAIL"] = "Unable to save event templates";
1367
+ EVENT_TEMPLATES_ERROR_MESSAGES["GET_FAIL"] = "Unable to retrieve event templates";
1368
+ EVENT_TEMPLATES_ERROR_MESSAGES["UPDATE_FAIL"] = "Unable to update event templates";
1369
+ EVENT_TEMPLATES_ERROR_MESSAGES["DELETE_FAIL"] = "Unable to delete event templates";
1370
+ EVENT_TEMPLATES_ERROR_MESSAGES["NOT_FOUND"] = "Unable to find event templates";
1371
+ })(EVENT_TEMPLATES_ERROR_MESSAGES || (exports.EVENT_TEMPLATES_ERROR_MESSAGES = EVENT_TEMPLATES_ERROR_MESSAGES = {}));
@@ -840,3 +840,9 @@ export declare enum POLL_SELECTION_SUCCESS_MESSAGES {
840
840
  DELETE_SUCCESS = "Poll selection data deleted successfully!",
841
841
  BULK_UPSERT_SUCCESS = "Poll selection bulk upsert successfully!"
842
842
  }
843
+ export declare enum EVENT_TEMPLATES_SUCCESS_MESSAGES {
844
+ CREATE_SUCCESS = "event templates data saved successfully!",
845
+ GET_SUCCESS = "event templates data retrieved successfully!",
846
+ UPDATE_SUCCESS = "event templates data updated successfully!",
847
+ DELETE_SUCCESS = "event templates data deleted successfully!"
848
+ }
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ANNOUCEMENT_SUCCESS_MESSAGES = exports.TYPE_MANAGEMENT_SUCCESS_MESSAGES = exports.PARENTS_SUCCESS_MESSAGES = exports.USER_INSTITUTE_META_SUCCESS_MESSAGES = exports.INSTITUTE_ENTITY_TYPE_SUCCESS_MESSAGES = exports.INSTITUTE_ENTITY_SUCCESS_MESSAGES = exports.WORKING_DAYS_SUCCESS_MESSAGES = exports.INSTITUTE_SUCCESS_MESSAGES = exports.MODULE_SUCCESS_MESSAGES = exports.ROLE_SUCCESS_MESSAGES = exports.CLASSROOM_SUCCESS_MESSAGES = exports.BATCH_SUCCESS_MESSAGES = exports.ACADEMIC_CALENDAR_SUCCESS_MESSAGES = exports.EVENT_SUCCESS_MESSAGES = exports.HOLIDAY_SUCCESS_MESSAGES = exports.USER_HAS_ROLL_NUMBER_SUCCESS_MESSAGES = exports.USER_HAS_OFFER_SUCCESS_MESSAGES = exports.FEE_REMINDER_SETTING_SUCCESS_MESSAGES = exports.FEEREMINDER_SUCCESS_MESSAGES = exports.FEESCOLLECTION_SUCCESS_MESSAGES = exports.OFFER_SUCCESS_MESSAGES = exports.CATEGORY_SUCCESS_MESSAGES = exports.INVENTORY_HISTORY_SUCCESS_MESSAGES = exports.INVENTORY_SUCCESS_MESSAGES = exports.USER_HAS_INVENTORY_HISTORY_SUCCESS_MESSAGES = exports.USER_HAS_INVENTORY_SUCCESS_MESSAGES = exports.SUBJECT_HAS_FEE_SUCCESS_MESSAGES = exports.FEE_HISTORY_SUCCESS_MESSAGES = exports.MASTER_LEAVE_SUCCESS_MESSAGES = exports.LEAVE_SUCCESS_MESSAGES = exports.PAYMENT_TERMS_SUCCESS_MESSAGES = exports.FACILITY_SUCCESS_MESSAGES = exports.FEE_REMINDER_SUCCESS_MESSAGES = exports.SCHOOL_SHIFT_SUCCESS_MESSAGES = exports.SUBSCRIPTION_SUCCESS_MESSAGES = exports.BANK_ACCOUNT_DETAILS_SUCCESS_MESSAGES = exports.ACCOUNT_RECEIPT_SUCCESS_MESSAGES = exports.FEE_TYPE_SUCCESS_MESSAGES = exports.FEEDBACK_SUCCESS_MESSAGES = exports.INFORMATION_SUPPORT_SUCCESS_MESSAGES = exports.INQUIRY_SUCCESS_MESSAGES = exports.FEE_SUCCESS_MESSAGES = exports.SCHOOL_FEES_COLLECTION_SUCCESS_MESSAGES = exports.USER_FEE_TYPE_SUCCESS_MESSAGES = exports.USER_FEE_TYPE_ACCOUNT_SUCCESS_MESSAGES = exports.ADMIN_SUCCESS_MESSAGES = exports.APPROVE_REQUEST_SUCCESS_MESSAGES = exports.BANNER_SUCCESS_MESSAGES = exports.USER_SUCCESS_MESSAGES = exports.SUCCESS_MESSAGES = void 0;
4
4
  exports.CERTIFICATES_HISTORY_SUCCESS_MESSAGES = exports.CERTIFICATES_MANAGEMENT_SUCCESS_MESSAGES = exports.DASHBOARD_MANAGEMENT_SUCCESS_MESSAGES = exports.PDC_HISTORY_SUCCESS_MESSAGES = exports.COLUMN_SUCCESS_MESSAGES = exports.INVOICE_SUCCESS_MESSAGES = exports.PRODUCT_SUCCESS_MESSAGES = exports.SUB_CATEGORY_SUCCESS_MESSAGES = exports.VENDOR_MANAGEMENT_SUCCESS_MESSAGES = exports.COIN_PURCHASE_OFFER_SUCCESS_MESSAGES = exports.SYLLABUS_SUCCESS_MESSAGES = exports.DAILY_BOOK_SUCCESS_MESSAGES = exports.USER_HAS_HOME_WORK_SUCCESS_MESSAGES = exports.HOME_WORK_SUCCESS_MESSAGES = exports.CLOUD_STORAGE_SUCCESS_MESSAGES = exports.SUBSCRIPTION_PLAN_SUCCESS_MESSAGES = exports.FLOOR_MANAGEMENT_SUCCESS_MESSAGES = exports.CAREER_SUCCESS_MESSAGES = exports.RULE_REGULATION_SUCCESS_MESSAGES = exports.CUSTOME_NOTIFICATION_SUCCESS_MESSAGES = exports.NOTIFICATION_SUCCESS_MESSAGES = exports.PHOTO_GALLERY_SUCCESS_MESSAGES = exports.CONTACT_FEED_BACK_SUCCESS_MESSAGES = exports.GENERATE_ID_CARD_SUCCESS_MESSAGES = exports.VEHICLE_SUCCESS_MESSAGES = exports.BATCH_SUBJECT_PROJECT_ASSESSMENT_SUCCESS_MESSAGES = exports.USER_BOOK_ASSESSMENT_SUCCESS_MESSAGES = exports.BATCH_SUBJECT_BOOK_ASSESSMENT_SUCCESS_MESSAGES = exports.TASK_MANAGEMENT_SUCCESS_MESSAGES = exports.EXAM_GROUP_SUCCESS_MESSAGES = exports.PLANNER_SUCCESS_MESSAGES = exports.USER_PAYOUT_HISTORY_SUCCESS_MESSAGES = exports.USER_PAYOUT_SUCCESS_MESSAGES = exports.SUBJECT_INDEX_SUCCESS_MESSAGES = exports.DRIVER_SUCCESS_MESSAGES = exports.BLOG_SUCCESS_MESSAGES = exports.VIDEO_ANALYST_SUCCESS_MESSAGES = exports.TESTIMONIAL_SUCCESS_MESSAGES = exports.PDC_CHEQUE_SUCCESS_MESSAGES = exports.GREETING_SUCCESS_MESSAGES = exports.USER_HAS_COURSE_SUCCESS_MESSAGES = exports.COURSE_SUCCESS_MESSAGES = exports.TO_DO_SUCCESS_MESSAGES = exports.SLOT_SUCCESS_MESSAGES = exports.TRIP_SUCCESS_MESSAGES = exports.LECTURE_SUCCESS_MESSAGES = exports.USER_SCHOOL_METADATA_SUCCESS_MESSAGES = exports.ATTENDANCE_SUCCESS_MESSAGES = exports.EXAM_HAS_ANSWER_SHEET_SUCCESS_MESSAGES = exports.EXAM_SUCCESS_MESSAGES = void 0;
5
- exports.POLL_SELECTION_SUCCESS_MESSAGES = exports.POLL_CREATE_SUCCESS_MESSAGES = exports.SHEET_FIELD_SUCCESS_MESSAGES = exports.CLONE_LIST_SUCCESS_MESSAGES = exports.COMPETITION_USER_SUCCESS_MESSAGES = exports.COMPETITION_GROUP_SUCCESS_MESSAGES = exports.COMPETITION_SUCCESS_MESSAGES = exports.CAMPUS_CARNIVAL_SUCCESS_MESSAGES = exports.INCOME_EXPENSE_SUCCESS_MESSAGES = exports.APPOINTMENT_HISTORY_SUCCESS_MESSAGES = exports.APPOINTMENT_SUCCESS_MESSAGES = exports.MAINTENANCE_SUCCESS_MESSAGES = exports.SEATING_ARRANGEMENT_SUCCESS_MESSAGES = exports.ASSIGN_FILE_SUCCESS_MESSAGES = exports.THEME_SUCCESS_MESSAGES = exports.B_DAY_WISH_SUCCESS_MESSAGES = exports.ADDITIONAL_DETAIL_SUCCESS_MESSAGES = exports.ADVERTISEMENT_SUCCESS_MESSAGES = exports.WORK_OFF_DAYS_SUCCESS_MESSAGES = exports.ENTITY_WISE_CALENDAR_SUCCESS_MESSAGES = exports.CAMPUS_SUCCESS_MESSAGES = exports.CANTEEN_SUCCESS_MESSAGES = exports.LOST_FOUND_ITEM_SUCCESS_MESSAGES = exports.PAYMENT_TRANSACTION_SUCCESS_MESSAGES = exports.USER_REQUIRED_STEPS_SUCCESS_MESSAGES = exports.JOB_APPLY_SUCCESS_MESSAGES = exports.ENTITY_GROUP_SUCCESS_MESSAGES = exports.USER_HAS_STORAGE_SUCCESS_MESSAGES = exports.INSTITUTE_SUBSCRIPTION_PLAN_SUCCESS_MESSAGES = exports.WALLET_TRANSACTION_SUCCESS_MESSAGES = exports.WALLET_HISTORY_SUCCESS_MESSAGES = exports.WALLET_SUCCESS_MESSAGES = exports.REPLACE_TEACHER_SUCCESS_MESSAGES = void 0;
5
+ exports.EVENT_TEMPLATES_SUCCESS_MESSAGES = exports.POLL_SELECTION_SUCCESS_MESSAGES = exports.POLL_CREATE_SUCCESS_MESSAGES = exports.SHEET_FIELD_SUCCESS_MESSAGES = exports.CLONE_LIST_SUCCESS_MESSAGES = exports.COMPETITION_USER_SUCCESS_MESSAGES = exports.COMPETITION_GROUP_SUCCESS_MESSAGES = exports.COMPETITION_SUCCESS_MESSAGES = exports.CAMPUS_CARNIVAL_SUCCESS_MESSAGES = exports.INCOME_EXPENSE_SUCCESS_MESSAGES = exports.APPOINTMENT_HISTORY_SUCCESS_MESSAGES = exports.APPOINTMENT_SUCCESS_MESSAGES = exports.MAINTENANCE_SUCCESS_MESSAGES = exports.SEATING_ARRANGEMENT_SUCCESS_MESSAGES = exports.ASSIGN_FILE_SUCCESS_MESSAGES = exports.THEME_SUCCESS_MESSAGES = exports.B_DAY_WISH_SUCCESS_MESSAGES = exports.ADDITIONAL_DETAIL_SUCCESS_MESSAGES = exports.ADVERTISEMENT_SUCCESS_MESSAGES = exports.WORK_OFF_DAYS_SUCCESS_MESSAGES = exports.ENTITY_WISE_CALENDAR_SUCCESS_MESSAGES = exports.CAMPUS_SUCCESS_MESSAGES = exports.CANTEEN_SUCCESS_MESSAGES = exports.LOST_FOUND_ITEM_SUCCESS_MESSAGES = exports.PAYMENT_TRANSACTION_SUCCESS_MESSAGES = exports.USER_REQUIRED_STEPS_SUCCESS_MESSAGES = exports.JOB_APPLY_SUCCESS_MESSAGES = exports.ENTITY_GROUP_SUCCESS_MESSAGES = exports.USER_HAS_STORAGE_SUCCESS_MESSAGES = exports.INSTITUTE_SUBSCRIPTION_PLAN_SUCCESS_MESSAGES = exports.WALLET_TRANSACTION_SUCCESS_MESSAGES = exports.WALLET_HISTORY_SUCCESS_MESSAGES = exports.WALLET_SUCCESS_MESSAGES = exports.REPLACE_TEACHER_SUCCESS_MESSAGES = void 0;
6
6
  var SUCCESS_MESSAGES;
7
7
  (function (SUCCESS_MESSAGES) {
8
8
  SUCCESS_MESSAGES["CREATE_SUCCESS"] = "Resource created successfully";
@@ -977,3 +977,10 @@ var POLL_SELECTION_SUCCESS_MESSAGES;
977
977
  POLL_SELECTION_SUCCESS_MESSAGES["DELETE_SUCCESS"] = "Poll selection data deleted successfully!";
978
978
  POLL_SELECTION_SUCCESS_MESSAGES["BULK_UPSERT_SUCCESS"] = "Poll selection bulk upsert successfully!";
979
979
  })(POLL_SELECTION_SUCCESS_MESSAGES || (exports.POLL_SELECTION_SUCCESS_MESSAGES = POLL_SELECTION_SUCCESS_MESSAGES = {}));
980
+ var EVENT_TEMPLATES_SUCCESS_MESSAGES;
981
+ (function (EVENT_TEMPLATES_SUCCESS_MESSAGES) {
982
+ EVENT_TEMPLATES_SUCCESS_MESSAGES["CREATE_SUCCESS"] = "event templates data saved successfully!";
983
+ EVENT_TEMPLATES_SUCCESS_MESSAGES["GET_SUCCESS"] = "event templates data retrieved successfully!";
984
+ EVENT_TEMPLATES_SUCCESS_MESSAGES["UPDATE_SUCCESS"] = "event templates data updated successfully!";
985
+ EVENT_TEMPLATES_SUCCESS_MESSAGES["DELETE_SUCCESS"] = "event templates data deleted successfully!";
986
+ })(EVENT_TEMPLATES_SUCCESS_MESSAGES || (exports.EVENT_TEMPLATES_SUCCESS_MESSAGES = EVENT_TEMPLATES_SUCCESS_MESSAGES = {}));
@@ -0,0 +1,2 @@
1
+ export function up(queryInterface: any, Sequelize: any): Promise<void>;
2
+ export function down(queryInterface: any, Sequelize: any): Promise<void>;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ const up = async (queryInterface, Sequelize) => {
3
+ const tableName = 'trips';
4
+ const table = await queryInterface.describeTable(tableName);
5
+ /**
6
+ * 1️⃣ Remove OLD FK (users) if exists
7
+ */
8
+ if (table.driverId &&
9
+ table.driverId.references &&
10
+ table.driverId.references.model === 'users') {
11
+ await queryInterface.removeColumn(tableName, 'driverId');
12
+ }
13
+ /**
14
+ * 2️⃣ Add NEW FK (drivers) if NOT exists
15
+ */
16
+ const updatedTable = await queryInterface.describeTable(tableName);
17
+ if (!updatedTable.driverId ||
18
+ !updatedTable.driverId.references ||
19
+ updatedTable.driverId.references.model !== 'drivers') {
20
+ await queryInterface.addColumn(tableName, 'driverId', {
21
+ type: Sequelize.UUID, // 🔁 change if not UUID
22
+ allowNull: true,
23
+ references: {
24
+ model: 'drivers',
25
+ key: 'id',
26
+ },
27
+ onUpdate: 'CASCADE',
28
+ onDelete: 'SET NULL',
29
+ });
30
+ }
31
+ };
32
+ const down = async (queryInterface, Sequelize) => {
33
+ const tableName = 'trips';
34
+ const table = await queryInterface.describeTable(tableName);
35
+ /**
36
+ * 1️⃣ Remove NEW FK (drivers) if exists
37
+ */
38
+ if (table.driverId &&
39
+ table.driverId.references &&
40
+ table.driverId.references.model === 'drivers') {
41
+ await queryInterface.removeColumn(tableName, 'driverId');
42
+ }
43
+ /**
44
+ * 2️⃣ Restore OLD FK (users) if NOT exists
45
+ */
46
+ const updatedTable = await queryInterface.describeTable(tableName);
47
+ if (!updatedTable.driverId ||
48
+ !updatedTable.driverId.references ||
49
+ updatedTable.driverId.references.model !== 'users') {
50
+ await queryInterface.addColumn(tableName, 'driverId', {
51
+ type: Sequelize.UUID, // 🔁 same type as users.id
52
+ allowNull: true,
53
+ references: {
54
+ model: 'users',
55
+ key: 'id',
56
+ },
57
+ onUpdate: 'CASCADE',
58
+ onDelete: 'SET NULL',
59
+ });
60
+ }
61
+ };
62
+ module.exports = {
63
+ up,
64
+ down,
65
+ };
@@ -17,7 +17,7 @@ export interface ICompetitionUsersModelAttributes extends IDefaultAttributes, Do
17
17
  groupId: string;
18
18
  round: IRoundsAttributionSchema[];
19
19
  competitionId: string;
20
- competitionEventId: string;
20
+ campusCarnivalId: string;
21
21
  userRole: COMPETITION_USER_ROLE;
22
22
  certificate: string;
23
23
  }
@@ -0,0 +1,9 @@
1
+ import { Document } from 'mongoose';
2
+ import { IDefaultAttributes } from './commonInterface';
3
+ export interface IEventTemplatesModelAttributes extends IDefaultAttributes, Document {
4
+ id: string;
5
+ templateName: string;
6
+ content: string;
7
+ instituteId: string;
8
+ academicCalendarId: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -159,3 +159,4 @@ export * from './fileUploadUserDetailsInterface';
159
159
  export * from './sheetFieldInterface';
160
160
  export * from './createPollInterface';
161
161
  export * from './pollSelectionInterface';
162
+ export * from './eventTemplatesInterface';
@@ -175,3 +175,4 @@ __exportStar(require("./fileUploadUserDetailsInterface"), exports);
175
175
  __exportStar(require("./sheetFieldInterface"), exports);
176
176
  __exportStar(require("./createPollInterface"), exports);
177
177
  __exportStar(require("./pollSelectionInterface"), exports);
178
+ __exportStar(require("./eventTemplatesInterface"), exports);
@@ -90,7 +90,7 @@ const competitionUserSchema = new mongoose_1.Schema({
90
90
  type: String,
91
91
  required: false,
92
92
  },
93
- competitionEventId: {
93
+ campusCarnivalId: {
94
94
  type: String,
95
95
  required: false,
96
96
  },
@@ -0,0 +1,4 @@
1
+ import { Model } from 'mongoose';
2
+ import { IEventTemplatesModelAttributes } from '../../interfaces/eventTemplatesInterface';
3
+ declare const EventTemplatesModel: Model<IEventTemplatesModelAttributes>;
4
+ export default EventTemplatesModel;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ const mongoose_1 = __importStar(require("mongoose"));
37
+ const EventTemplatesSchema = new mongoose_1.Schema({
38
+ templateName: {
39
+ type: String,
40
+ required: false,
41
+ },
42
+ content: {
43
+ type: String,
44
+ required: false,
45
+ },
46
+ instituteId: {
47
+ type: String,
48
+ required: false,
49
+ },
50
+ academicCalendarId: {
51
+ type: String,
52
+ required: false,
53
+ },
54
+ }, {
55
+ timestamps: true,
56
+ versionKey: false,
57
+ });
58
+ const EventTemplatesModel = mongoose_1.default.model('event_templates', EventTemplatesSchema);
59
+ exports.default = EventTemplatesModel;
@@ -49,3 +49,4 @@ export { default as FileUploadUserDetails } from './fileUploadUserDetailsModel';
49
49
  export { default as SheetFieldMappingModel } from './sheetFieldModel';
50
50
  export { default as CreatePollModel } from './createPollModel';
51
51
  export { default as PollSelectionModel } from './pollSelectionModel';
52
+ export { default as EventTemplatesModel } from './eventTemplatesModel';
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.CreatePollModel = exports.SheetFieldMappingModel = exports.FileUploadUserDetails = exports.CompetitionUsersModel = exports.CompetitionGroupModel = exports.CompetitionModel = exports.CampusCarnivalModel = exports.AppointmentHistoryModel = exports.AppointmentModel = exports.SeatingArrangementModel = exports.AssignFileModel = exports.ThemeModel = exports.BDayWishModel = exports.AdditionalDetailModel = exports.CanteenModel = exports.WalletTransactionModel = exports.VideoAnalystModel = exports.UserSchoolMetaModel = exports.UserInstituteMetaModel = exports.UserDetailsModel = exports.UniqueNumberCounterModel = exports.TaskManagementModel = exports.SubscriptionPlanModel = exports.SubjectIndexModel = exports.SchoolFeeModel = exports.ReplaceTeacherModel = exports.PlannerModel = exports.PhotosGalleryModel = exports.JobApplyModel = exports.InvoiceModel = exports.InquiryModel = exports.InformationSupportModel = exports.HolidayModel = exports.GenerateIdCardModel = exports.FeedBackModel = exports.FeeReminderTypeModel = exports.ExamModel = exports.ExamHasAnswerSheetModel = exports.ExamGroupModel = exports.EventModel = exports.DashboardManagementModel = exports.DailyBookModel = exports.ColumnModel = exports.CertificatesManagementModel = exports.CertificatesHistoryModel = exports.CareerModel = exports.BlogModel = exports.AttendanceModel = exports.ApprovalRequestModel = exports.connectMongoDb = void 0;
7
- exports.PollSelectionModel = void 0;
7
+ exports.EventTemplatesModel = exports.PollSelectionModel = void 0;
8
8
  const mongoose_1 = __importDefault(require("mongoose"));
9
9
  const env_1 = require("../../configs/env");
10
10
  const transformIdInQueryPlugin_1 = __importDefault(require("./plugin/transformIdInQueryPlugin"));
@@ -124,3 +124,5 @@ var createPollModel_1 = require("./createPollModel");
124
124
  Object.defineProperty(exports, "CreatePollModel", { enumerable: true, get: function () { return __importDefault(createPollModel_1).default; } });
125
125
  var pollSelectionModel_1 = require("./pollSelectionModel");
126
126
  Object.defineProperty(exports, "PollSelectionModel", { enumerable: true, get: function () { return __importDefault(pollSelectionModel_1).default; } });
127
+ var eventTemplatesModel_1 = require("./eventTemplatesModel");
128
+ Object.defineProperty(exports, "EventTemplatesModel", { enumerable: true, get: function () { return __importDefault(eventTemplatesModel_1).default; } });
@@ -0,0 +1,2 @@
1
+ import { IEventTemplatesModelAttributes } from '../interfaces/eventTemplatesInterface';
2
+ export type TEventTemplatesModelCreationAttributes = Omit<IEventTemplatesModelAttributes, 'id'>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -150,3 +150,4 @@ export * from './sheetFieldType';
150
150
  export * from './pollCreateType';
151
151
  export * from './pollSelectionType';
152
152
  export * from './campusCarnivalType';
153
+ export * from './eventTemplatesType';
@@ -166,3 +166,4 @@ __exportStar(require("./sheetFieldType"), exports);
166
166
  __exportStar(require("./pollCreateType"), exports);
167
167
  __exportStar(require("./pollSelectionType"), exports);
168
168
  __exportStar(require("./campusCarnivalType"), exports);
169
+ __exportStar(require("./eventTemplatesType"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.168",
3
+ "version": "1.1.170",
4
4
  "description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",