@kipicore/dbcore 1.1.569 → 1.1.571
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/constants/app.d.ts +4 -0
- package/dist/constants/app.js +8 -3
- package/dist/types/academicCalendarType.d.ts +8 -0
- package/dist/types/accountHasReceiptDetailsType.d.ts +9 -0
- package/dist/types/additionalPayoutType.d.ts +12 -0
- package/dist/types/additionalPayoutTypeType.d.ts +6 -0
- package/dist/types/announcementType.d.ts +9 -0
- package/dist/types/appointmentHistoryType.d.ts +5 -0
- package/dist/types/appointmentType.d.ts +5 -0
- package/dist/types/bankAccountDetailsType.d.ts +9 -0
- package/dist/types/bannerType.d.ts +6 -0
- package/dist/types/batchSubjectBookAssessmentType.d.ts +10 -0
- package/dist/types/batchSubjectProjectAssessmentType.d.ts +9 -0
- package/dist/types/batchType.d.ts +10 -0
- package/dist/types/bookAssessmentDateType.d.ts +6 -1
- package/dist/types/categoriesType.d.ts +7 -0
- package/dist/types/classRoomCollectionType.d.ts +11 -0
- package/dist/types/classRoomEventType.d.ts +8 -0
- package/dist/types/classRoomType.d.ts +11 -0
- package/dist/types/cloneListType.d.ts +7 -0
- package/dist/types/cloudStorageType.d.ts +6 -0
- package/dist/types/coinPurchaseOfferType.d.ts +6 -0
- package/dist/types/contactFeedBackType.d.ts +10 -0
- package/dist/types/courseHasVisitorsType.d.ts +7 -0
- package/dist/types/courseType.d.ts +11 -0
- package/dist/types/designationType.d.ts +7 -0
- package/dist/types/driverType.d.ts +13 -0
- package/dist/types/entityGroupType.d.ts +8 -0
- package/dist/types/entityWiseCalendarType.d.ts +7 -0
- package/dist/types/facilityType.d.ts +8 -0
- package/dist/types/featureActionType.d.ts +7 -0
- package/dist/types/feeReminderSettingType.d.ts +9 -0
- package/dist/types/feeReminderType.d.ts +9 -0
- package/dist/types/feeSubmissionTrackType.d.ts +10 -0
- package/dist/types/feeType1Type.d.ts +10 -0
- package/dist/types/floormanagementType.d.ts +9 -0
- package/dist/types/grantAndDonationType.d.ts +1 -2
- package/dist/types/greetingsType.d.ts +4 -1
- package/dist/types/holidayType.js +0 -1
- package/dist/types/homeWorkType.d.ts +10 -0
- package/dist/types/incomeExpenseType.d.ts +8 -0
- package/dist/types/instituteEntityType.d.ts +6 -0
- package/dist/types/instituteOwnershipHistoryType.d.ts +9 -0
- package/dist/types/institutePartnersType.d.ts +8 -0
- package/dist/types/instituteSubscriptionPlanType.d.ts +9 -0
- package/dist/types/instituteType.d.ts +15 -0
- package/dist/types/inventoryType.d.ts +8 -0
- package/package.json +1 -1
package/dist/constants/app.d.ts
CHANGED
|
@@ -827,6 +827,10 @@ export declare enum NOTIFICATION_MODULE_TYPE {
|
|
|
827
827
|
STUDENT_JOIN = "STUDENT_JOIN",
|
|
828
828
|
CHEQUE_CLEAR = "CHEQUE_CLEAR"
|
|
829
829
|
}
|
|
830
|
+
export declare enum ONLINE_EXAM_NOTIFICATION_TYPE {
|
|
831
|
+
EXAM_STARTED = "EXAM_STARTED",
|
|
832
|
+
EXAM_SCHEDULED = "EXAM_SCHEDULED"
|
|
833
|
+
}
|
|
830
834
|
export declare enum NOTIFICATION_ACTION {
|
|
831
835
|
PUSH = "PUSH",
|
|
832
836
|
SOCKET = "SOCKET"
|
package/dist/constants/app.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WORKIN_DAY_STATUS = exports.LEAVE_STATUS = exports.LEAVE = exports.LEAVE_TYPE = exports.OFFER_STATUS = exports.OFFER_CONDITION_TYPE = exports.OFFER_CATEGORY = exports.OFFER_APPLICABLE_TO = exports.OFFER_NAME = exports.OFFER_TYPE = exports.INSTITUTE_STATUS = exports.FEE_PAYMENT_STATUS = exports.STUDENT_FEE_COLLECTION_STATUS = exports.PAYMENT_TYPE = exports.FEE_TYPE_FREQUENCY = exports.FEE_REMINDER_SETTING_FREQUENCY = exports.FEE_REMINDER_SETTING_TYPE = exports.TERM_DURATION = exports.FEE_REMINDER_SETTING_STATUS = exports.GREETING_TYPE = exports.TRIP_TYPE = exports.USER_COURSE_STATUS = exports.OFFER_COMMAND_STATUS = exports.COMMAN_STATUS = exports.TOKEN_TYPES = exports.SUB_USER_TYPES = exports.USER_TYPES = exports.ACADEMIC_CALENDARS_TYPE = exports.RETURN_STATUS = exports.ASSIGN_TYPE = exports.GENDER = exports.SCHOOL_SUB_TYPE = exports.SCHOOL_TYPE = exports.ATTENDANCE_TYPE = exports.ATTENDANCE_STATUS = exports.USER_INVENTORY_ACTION = exports.INVENTORY_TYPE = exports.USER_STATUS = exports.PDF_MICRO_SERVICE_END_POINT = exports.MOBILE_VERIFICATION = exports.EMAIL_VERIFICATION = exports.PAGINATION_UPDATE_ORDER = exports.PAGINATION_ORDER = exports.DEFAULT_BATCH_TITLE = exports.DEFAULT_CLASS_ROOM_TITLE = exports.PAGINATION = exports.USER_INSTITUTE_META_STATUS_REJECTED_COUNT = exports.ONE_THOUSAND = exports.ONE_HUNDRED = exports.SIXTY = void 0;
|
|
4
4
|
exports.CHAPTER_INDEX_TYPE = exports.IMAGE__NAME = exports.INQUIRY_STATUS = exports.INQUIRY_REFERRED_BY = exports.EXAM_GROUP_STANDARD_RESULT = exports.EXAM_GROUP_STATUS = exports.SUBJECT_INDEX_TYPE = exports.LECTURE_SLOT_DURATION = exports.EXAM_ANSWER_SHEET_QUESTION_RESULT = exports.PAYMENT_TERMS_TYPE = exports.PAYMENT_TERMS_STATUS = exports.EXAM_ANSWER_SHEET_RESULT_TYPE = exports.EXAM_ANSWER_SHEET_RESULT_STATUS = exports.EXAM_ANSWER_SHEET_STATUS = exports.EXAM_VALID_ANSWER_TYPE = exports.EXAM_ANSWER_SELECTION_TYPE = exports.EXAM_STATUS = exports.COURSE_STATUS = exports.EXAM_MODE = exports.GREETING_STATUS = exports.USER_HAS_ANNOUCEMENT_STATUS = exports.ANNOUCEMENT_STATUS = exports.TYPE_OF_USER = exports.ANNOUCEMENT_SCHEDULE_TYPE = exports.APPROVE_REQUEST_STATUS = exports.APPROVE_REQUEST_ACTION = exports.TYPE_MANAGEMENT_STATUS = exports.TYPE_MANAGEMENT_TYPE = exports.FILE_TYPE = exports.ACADEMIC_CALENDARS_STATUS = exports.BANNER_TYPE = exports.APP_TYPE = exports.FEED_BACK_STATUS = exports.FEED_BACK_TYPE = exports.FACILITY_TYPE = exports.EMPLOYMENT_TYPE = exports.USER_INSTITUTE_META_STATUS = exports.USER_HAS_PARENT_STATUS = exports.GUARDIANS_USER_META_MODEL_STATUS = exports.DISABILITY_TYPE = exports.WORK_CATEGORY = exports.BLOG_STATUS = exports.WORK_TYPE = exports.USER_DETAILS = exports.NO_TYPE = exports.ADMISSION_TYPE = exports.INSTITUTE_ENTITY_TYPE_SEQUENCE = exports.INSTITUTE_ENTITY_TYPE_STATUS = exports.INSTITUTE_ENTITY_STATUS = exports.SCHOOL_SHIFT = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.CERTIFICATE_REQUEST_TYPE = exports.CERTIFICATE_REQUEST_STATUS = exports.FEE_SUBMISSION_STATUS = exports.VIDEO_DIRECTION_TYPE = exports.VIDEO_EVENT_TYPE = exports.USER_HAS_PENALTY_TITLE = exports.USER_HAS_PENALTY_TYPE = exports.PAYOUT_STATUS = exports.NOTICEBOARD_STATUS = exports.NOTICEBOARD_TYPE = exports.PERMISSION_TYPE = exports.NOTIFICATION_SEND_STATUS = exports.MEMBERSHIP_STATUS = exports.COMMUNITY_TYPE = exports.DESIGNATION_TYPE = exports.ADDITIONAL_PAYOUT_TYPE = exports.POSTAL_DISPATCH_STATUS = exports.CALL_TYPE = exports.SEARCH_TYPE = exports.REPORT_TYPE = exports.DEVICE_TYPE_APP_ANALYTICS = exports.APP_ANALYTICS_EVENT_TYPE = exports.EXPORT_SHEET_TYPE = exports.GRANT_AND_DONATION_TYPE = exports.TICKET_RAISE_PRIORITY = exports.TICKET_RAISE_STATUS = exports.TERM_AND_CONDITION_STATUS = exports.EDUCATION_OFFICER_TYPE = exports.HOME_WORK_TYPE = exports.STUDENT_FEE_PROCESS_STATUS = exports.FEE_COLLECTION_TYPE = exports.BANK_ACCOUNT_TYPE = exports.STUDENT_LEAVE_TYPE = exports.STUDENT_LEAVE_STATUS = void 0;
|
|
5
|
+
exports.DISCOUNT_TYPE = exports.CONTACT_FEED_BACK_TYPE = exports.PLANNER_SYNC_STATUS = exports.NOTIFICATION_ACTION = exports.ONLINE_EXAM_NOTIFICATION_TYPE = exports.NOTIFICATION_MODULE_TYPE = exports.NOTIFICATION_STATUS = exports.NOTIFICATION_TYPE = exports.PROJECT_ASSESSMENT_OPTION_STATUS = exports.USER_BOOK_ASSESSMENT_STATUS = exports.BOOK_ASSESSMENT_DATE_STATUS = exports.TASK_MANAGEMENT_STATUS = exports.USER_DETAILS_FILED = exports.DEVICE_TYPE = exports.templateKeyWord = exports.bankAccountRegexMap = exports.EMAIL_SUBJECTS = exports.PDF_TEMPLATES = exports.EMAIL_TEMPLATES = exports.PINCODE_API_URL = exports.APPLE_AUTH = exports.META_AUTH = exports.GOOGLE_AUTH = exports.API_URL = exports.DEFAULT_USER_LOGO = exports.DEFAULT_INSTITUTED_LOGO = exports.UPLOAD_PATH = exports.SVG_URL_PATH = exports.TO_DO_STATUS = exports.LECTURE_TITLE = exports.LECTURE_STATUS = exports.SCHOOL_INFORMATION_STEP = exports.CASTE = exports.RELIGION_CASTE = exports.NATIONALITY = exports.CATEGORY = exports.IS_PRINCIPAL = exports.FEE_TYPE = exports.BOOLEAN_STATUS = exports.PROPERTY_STATUS = exports.DESIGNATION_OF_PERSON = exports.TRUST_REGISTERED_UNDER = exports.TRUST_TYPE = exports.SVA_NAME = exports.QDC_NAME = exports.USER_PAYOUT_TYPE = exports.PARENTS_CHILDREN_CURRENT = exports.CHAPTER_INDEX_FILE_TYPE = exports.FEE_HISTORY_STATUS = exports.USER_CHAPTER_INDEX_STATUS = void 0;
|
|
6
|
+
exports.CERTIFICATE_FOR = exports.SHEET_TYPE = exports.COMPETITION_USER_ROLE = exports.RESULT_STATUS = exports.COMPETITION_STATUS = exports.STATUS_BY_PARENTS = exports.COMPETITION_TYPE = exports.CAMPUS_CARNIVAL_STATUS = exports.COMPETITION_TYPE_CATEGORY = exports.COMPETITION_EVENTS = exports.PAYMENT_STATUS = exports.INCOME_EXPENSE_SOURCE = exports.INCOME_EXPENSE_TYPE = exports.APPOINTMENT_STATUS = exports.MAINTENANCE_MODULE_NAME = exports.MAINTENANCE_TYPE = exports.MAINTENANCE_MODE = exports.ASSIGN_FILE_TYPE = exports.LOST_FOUND_ITEM_STATUS = exports.PAYMENT_PROCESSING_CALLBACK_URL = exports.PAYMENT_PROCESSING_PAGE_URL = exports.PAYMENT_PROCESSING_STATUS_URL = exports.WALLET_TRANSACTION_VALID_DATE_FOR_OTP_IN_MINUTES = exports.WALLET_TRANSACTION_VALID_DATE_IN_MINUTES = exports.PAYMENT_METHODS = exports.PAYMENT_GATEWAY_TYPES = exports.JOB_ACTION = exports.ONE_GB_BYTES = exports.CHARGE_PER_TRANSACTION_ITEM_UNIT = exports.INSTITUTE_SUBSCRIPTION_PLAN_STATUS = exports.WALLET_TRANSACTION_USERS_TYPE = exports.WALLET_HISTORY_STATUS = exports.WALLET_HISTORY_ACTION = exports.WALLET_HISTORY_ITEM_TYPE = exports.WALLET_HISTORY_TYPE = exports.REPLACE_TEACHER_STATUS = exports.TEACHER_TYPE = exports.INVOICE_TYPE = exports.PURCHASE_STATUS = exports.COLUMN_LIST_TITLE = exports.INVOICE_PAYMENT_TYPE = exports.PDF_CHEQUE_FREQUENCY = exports.PDF_CHEQUE_STATUS = exports.LANGUAGES = exports.HOME_WORK_STATUS = exports.SOCKET_EVENTS = exports.SUBSCRIPTION_PLAN_FILES_TYPE = exports.VALID_CURRENCY = exports.SUBSCRIPTION_PLAN_TYPE = exports.SUBSCRIPTION_PLAN_CHARGE_INTERVAL = void 0;
|
|
7
|
+
exports.CERTIFICATE_REQUEST_TYPE = exports.CERTIFICATE_REQUEST_STATUS = exports.FEE_SUBMISSION_STATUS = exports.VIDEO_DIRECTION_TYPE = exports.VIDEO_EVENT_TYPE = exports.USER_HAS_PENALTY_TITLE = exports.USER_HAS_PENALTY_TYPE = exports.PAYOUT_STATUS = exports.NOTICEBOARD_STATUS = exports.NOTICEBOARD_TYPE = exports.PERMISSION_TYPE = exports.NOTIFICATION_SEND_STATUS = exports.MEMBERSHIP_STATUS = exports.COMMUNITY_TYPE = exports.DESIGNATION_TYPE = exports.ADDITIONAL_PAYOUT_TYPE = exports.POSTAL_DISPATCH_STATUS = exports.CALL_TYPE = exports.SEARCH_TYPE = exports.REPORT_TYPE = exports.DEVICE_TYPE_APP_ANALYTICS = exports.APP_ANALYTICS_EVENT_TYPE = exports.EXPORT_SHEET_TYPE = exports.GRANT_AND_DONATION_TYPE = exports.TICKET_RAISE_PRIORITY = exports.TICKET_RAISE_STATUS = exports.TERM_AND_CONDITION_STATUS = exports.EDUCATION_OFFICER_TYPE = exports.HOME_WORK_TYPE = exports.STUDENT_FEE_PROCESS_STATUS = exports.FEE_COLLECTION_TYPE = exports.BANK_ACCOUNT_TYPE = exports.STUDENT_LEAVE_TYPE = exports.STUDENT_LEAVE_STATUS = exports.CERTIFICATE_TYPE = void 0;
|
|
8
8
|
const env_1 = require("../configs/env");
|
|
9
9
|
exports.SIXTY = 60;
|
|
10
10
|
exports.ONE_HUNDRED = 100;
|
|
@@ -1037,6 +1037,11 @@ var NOTIFICATION_MODULE_TYPE;
|
|
|
1037
1037
|
NOTIFICATION_MODULE_TYPE["STUDENT_JOIN"] = "STUDENT_JOIN";
|
|
1038
1038
|
NOTIFICATION_MODULE_TYPE["CHEQUE_CLEAR"] = "CHEQUE_CLEAR";
|
|
1039
1039
|
})(NOTIFICATION_MODULE_TYPE || (exports.NOTIFICATION_MODULE_TYPE = NOTIFICATION_MODULE_TYPE = {}));
|
|
1040
|
+
var ONLINE_EXAM_NOTIFICATION_TYPE;
|
|
1041
|
+
(function (ONLINE_EXAM_NOTIFICATION_TYPE) {
|
|
1042
|
+
ONLINE_EXAM_NOTIFICATION_TYPE["EXAM_STARTED"] = "EXAM_STARTED";
|
|
1043
|
+
ONLINE_EXAM_NOTIFICATION_TYPE["EXAM_SCHEDULED"] = "EXAM_SCHEDULED";
|
|
1044
|
+
})(ONLINE_EXAM_NOTIFICATION_TYPE || (exports.ONLINE_EXAM_NOTIFICATION_TYPE = ONLINE_EXAM_NOTIFICATION_TYPE = {}));
|
|
1040
1045
|
var NOTIFICATION_ACTION;
|
|
1041
1046
|
(function (NOTIFICATION_ACTION) {
|
|
1042
1047
|
NOTIFICATION_ACTION["PUSH"] = "PUSH";
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAcademicCalendarModelAttributes } from '../interfaces/academicCalendarInterface';
|
|
3
|
+
import { IInstituteAttributes, IInstituteEntityAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TAcademicCalendarModelCreationAttributes = Optional<IAcademicCalendarModelAttributes, 'id'>;
|
|
4
5
|
export interface TUpdateAcademicCalenderStatusParams {
|
|
5
6
|
instituteId?: string | null;
|
|
6
7
|
}
|
|
8
|
+
export type TAcademicCalendarModelWithAssociations = IAcademicCalendarModelAttributes & {
|
|
9
|
+
academicCalendarInstitute?: IInstituteAttributes;
|
|
10
|
+
createdByUser?: IUserAttributes;
|
|
11
|
+
updatedByUser?: IUserAttributes;
|
|
12
|
+
deletedByUser?: IUserAttributes;
|
|
13
|
+
academicCalendarEntity?: IInstituteEntityAttributes;
|
|
14
|
+
};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAccountHasReceiptDetailsInterfaceModelAttributes } from '../interfaces/accountHasReceiptDetailsInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IBankAccountDetailsInterfaceModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TAccountHasReceiptDetailsModelCreationAttributes = Optional<IAccountHasReceiptDetailsInterfaceModelAttributes, 'id'>;
|
|
5
6
|
export type TAccountHasReceiptDetailAttributesWithassociate = IAccountHasReceiptDetailsInterfaceModelAttributes & {
|
|
6
7
|
accountHasReceiptDetailsProfileImage?: IFileStorageAttributes;
|
|
7
8
|
};
|
|
9
|
+
export type TAccountHasReceiptDetailsModelWithAssociations = IAccountHasReceiptDetailsInterfaceModelAttributes & {
|
|
10
|
+
receiptInstitute?: IInstituteAttributes;
|
|
11
|
+
receiptProfileImage?: IFileStorageAttributes;
|
|
12
|
+
accountHasReceiptBank?: IBankAccountDetailsInterfaceModelAttributes;
|
|
13
|
+
createdByUser?: IUserAttributes;
|
|
14
|
+
updatedByUser?: IUserAttributes;
|
|
15
|
+
deletedByUser?: IUserAttributes;
|
|
16
|
+
};
|
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAdditionalPayoutModelAttributes } from '../interfaces/additionalPayoutInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IAdditionalPayoutTypeModelAttributes, IInstituteAttributes, ILoanEmiModelAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TAdditionalPayoutModelCreationAttributes = Optional<IAdditionalPayoutModelAttributes, 'id'>;
|
|
5
|
+
export type TAdditionalPayoutModelWithAssociations = IAdditionalPayoutModelAttributes & {
|
|
6
|
+
payoutAccountDetails?: IAdditionalPayoutModelAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
user?: IUserAttributes;
|
|
11
|
+
institute?: IInstituteAttributes;
|
|
12
|
+
additionalPayoutType?: IAdditionalPayoutTypeModelAttributes;
|
|
13
|
+
academicCalendar?: IAcademicCalendarModelAttributes;
|
|
14
|
+
loanEmi?: ILoanEmiModelAttributes;
|
|
15
|
+
};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAdditionalPayoutTypeModelAttributes } from '../interfaces/additionalPayoutTypeInterface';
|
|
3
|
+
import { IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TAdditionalPayoutTypeModelCreationAttributes = Optional<IAdditionalPayoutTypeModelAttributes, 'id'>;
|
|
5
|
+
export type TAdditionalPayoutTypeModelWithAssociations = IAdditionalPayoutTypeModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IAnnouncementModelAttributes } from '../interfaces/announcementInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IFileStorageAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TAnnouncementModelCreationAttributes = Optional<IAnnouncementModelAttributes, 'id'>;
|
|
4
5
|
export type TAnnouncementCreateParams = {
|
|
5
6
|
announcementId?: string;
|
|
6
7
|
academicCalendarId?: string;
|
|
7
8
|
};
|
|
9
|
+
export type TAnnouncementModelWithAssociations = IAnnouncementModelAttributes & {
|
|
10
|
+
createdByUser?: IUserAttributes;
|
|
11
|
+
updatedByUser?: IUserAttributes;
|
|
12
|
+
deletedByUser?: IUserAttributes;
|
|
13
|
+
institute?: IInstituteAttributes;
|
|
14
|
+
announcementFileStorage?: IFileStorageAttributes;
|
|
15
|
+
announcementAcademicCal?: IAcademicCalendarModelAttributes;
|
|
16
|
+
};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
import { IUserAttributes } from "../interfaces";
|
|
1
2
|
import { IAppointmentHistoryModelAttributes } from "../interfaces/appointmentHistoryInterface";
|
|
2
3
|
export type TAppointmentHistoryAttributes = Omit<IAppointmentHistoryModelAttributes, 'id'>;
|
|
4
|
+
export type TAppointmentHistoryWithRefJoin = TAppointmentHistoryAttributes & {
|
|
5
|
+
appointor?: IUserAttributes;
|
|
6
|
+
appointee?: IUserAttributes;
|
|
7
|
+
};
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
import { IUserAttributes } from "../interfaces";
|
|
1
2
|
import { IAppointmentModelAttributes } from "../interfaces/appointmentInterface";
|
|
2
3
|
export type TAppointmentAttributes = Omit<IAppointmentModelAttributes, 'id'>;
|
|
4
|
+
export type TAppointmentWithRefJoin = TAppointmentAttributes & {
|
|
5
|
+
appointor?: IUserAttributes;
|
|
6
|
+
appointee?: IUserAttributes;
|
|
7
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBankAccountDetailsInterfaceModelAttributes } from '../interfaces/bankAccountDetailsInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TBankAccountDetailsModelCreationAttributes = Optional<IBankAccountDetailsInterfaceModelAttributes, 'id'>;
|
|
5
|
+
export type TBankAccountDetailsWithAssociation = IBankAccountDetailsInterfaceModelAttributes & {
|
|
6
|
+
bankAccountDetailsInstitute?: IInstituteAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
bankAccDAcademicCal?: IAcademicCalendarModelAttributes;
|
|
11
|
+
parentBankAccDetails?: IBankAccountDetailsInterfaceModelAttributes;
|
|
12
|
+
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBannerModelAttributes } from '../interfaces/bannerInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TBannerModelCreationAttributes = Optional<IBannerModelAttributes, 'id'>;
|
|
5
6
|
export type TBannerAttributesWithassociate = IBannerModelAttributes & {
|
|
6
7
|
bannerFileStorage?: IFileStorageAttributes;
|
|
8
|
+
bannerInstitute?: IInstituteAttributes;
|
|
9
|
+
bannerAcaCal?: IAcademicCalendarModelAttributes;
|
|
10
|
+
createdByUser?: IUserAttributes;
|
|
11
|
+
updatedByUser?: IUserAttributes;
|
|
12
|
+
deletedByUser?: IUserAttributes;
|
|
7
13
|
};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBatchSubjectBookAssessmentModelAttributes } from '../interfaces/batchSubjectBookAssessmentInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IAcademicCalendarModelAttributes, IBatchModelAttributes, IInstituteAttributes, IInstituteEntityAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TBatchSubjectBookAssessmentModelCreationAttributes = Optional<IBatchSubjectBookAssessmentModelAttributes, 'id'>;
|
|
5
6
|
export type TBatchSubjectBookAssessmentAttributesWithassociate = IBatchSubjectBookAssessmentModelAttributes & {
|
|
6
7
|
batchSubjectBookAssessmentFileStorage?: IFileStorageAttributes;
|
|
8
|
+
subjectBookAssessmentInstitute?: IInstituteAttributes;
|
|
9
|
+
subjectBookAssessmentBatch?: IBatchModelAttributes;
|
|
10
|
+
subjectBookAssessmentType?: ITypeManagementModelAttributes;
|
|
11
|
+
bookAssessmentSubject?: IInstituteEntityAttributes;
|
|
12
|
+
bookAssessmentStandard?: IInstituteEntityAttributes;
|
|
13
|
+
createdByUser?: IUserAttributes;
|
|
14
|
+
updatedByUser?: IUserAttributes;
|
|
15
|
+
deletedByUser?: IUserAttributes;
|
|
16
|
+
batchSubBAAcaCal?: IAcademicCalendarModelAttributes;
|
|
7
17
|
};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBatchSubjectProjectAssessmentModelAttributes } from '../interfaces/batchSubjectProjectAssessmentInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IAcademicCalendarModelAttributes, IBatchModelAttributes, IInstituteAttributes, IInstituteEntityAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TBatchSubjectProjectAssessmentModelCreationAttributes = Optional<IBatchSubjectProjectAssessmentModelAttributes, 'id'>;
|
|
5
6
|
export type TBatchSubjectProjectAssessmentAttributesWithassociate = IBatchSubjectProjectAssessmentModelAttributes & {
|
|
6
7
|
batchSubjectProjectAssessmentFileStorage?: IFileStorageAttributes;
|
|
8
|
+
subjectProjectAssessmentInstitute?: IInstituteAttributes;
|
|
9
|
+
subjectProjectAssessmentBatch?: IBatchModelAttributes;
|
|
10
|
+
projectAssessmentSubject?: IInstituteEntityAttributes;
|
|
11
|
+
projectAssessmentStandard?: IInstituteEntityAttributes;
|
|
12
|
+
batchSubProAssesAcaCal?: IAcademicCalendarModelAttributes;
|
|
13
|
+
createdByUser?: IUserAttributes;
|
|
14
|
+
updatedByUser?: IUserAttributes;
|
|
15
|
+
deletedByUser?: IUserAttributes;
|
|
7
16
|
};
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBatchModelAttributes } from '../interfaces/batchInterface';
|
|
3
3
|
import { ILectureModelAttributes } from '../interfaces/lectureInterface';
|
|
4
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, ISlotModelAttributes, IUserAttributes, IWorkingShiftAttributes } from '../interfaces';
|
|
4
5
|
export type TBatchModelCreationAttributes = Optional<IBatchModelAttributes, 'id'>;
|
|
5
6
|
export type TBatchWithassociateAttributes = IBatchModelAttributes & {
|
|
6
7
|
batchHasLectures?: ILectureModelAttributes[];
|
|
8
|
+
createdByUser?: IUserAttributes;
|
|
9
|
+
updatedByUser?: IUserAttributes;
|
|
10
|
+
deletedByUser?: IUserAttributes;
|
|
11
|
+
batchType?: IBatchModelAttributes;
|
|
12
|
+
institute?: IInstituteAttributes;
|
|
13
|
+
batchTeacher?: IUserAttributes;
|
|
14
|
+
shiftBatch?: IWorkingShiftAttributes;
|
|
15
|
+
slotBatch?: ISlotModelAttributes;
|
|
16
|
+
batchAcademicCalendar?: IAcademicCalendarModelAttributes;
|
|
7
17
|
};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IBookAssessmentDateModelAttributes } from '../interfaces/bookAssessmentDateInterface';
|
|
3
3
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
4
|
+
import { IBatchSubjectBookAssessmentModelAttributes, IUserAttributes } from '../interfaces';
|
|
4
5
|
export type TBookAssessmentDateModelCreationAttributes = Optional<IBookAssessmentDateModelAttributes, 'id'>;
|
|
5
|
-
export type
|
|
6
|
+
export type TBookAssessmentDateAttributesWithAssociate = IBookAssessmentDateModelAttributes & {
|
|
6
7
|
bookAssessmentDateFileStorage?: IFileStorageAttributes;
|
|
8
|
+
assessmentBook?: IBatchSubjectBookAssessmentModelAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
7
12
|
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { ICategoriesModelAttributes } from '../interfaces/categoriesInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TCategoriesModelCreationAttributes = Optional<ICategoriesModelAttributes, 'id'>;
|
|
5
|
+
export type TCategoriesModelAttributesWithAssociates = ICategoriesModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
institute?: IInstituteAttributes;
|
|
10
|
+
};
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IClassRoomCollectionModelAttributes } from '../interfaces/classRoomCollectionInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IClassRoomEventModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TClassRoomCollectionModelCreationAttributes = Optional<IClassRoomCollectionModelAttributes, 'id'>;
|
|
5
|
+
export type TClassRoomCollectionModelWithAssociates = IClassRoomCollectionModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
classRCollectionInst?: IInstituteAttributes;
|
|
10
|
+
classRColAcaCal?: IAcademicCalendarModelAttributes;
|
|
11
|
+
collectorClassRCol?: IUserAttributes;
|
|
12
|
+
ClassRColUser?: IUserAttributes;
|
|
13
|
+
ClassRColClassEvent?: IClassRoomEventModelAttributes;
|
|
14
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IClassRoomEventModelAttributes } from "../interfaces/classRoomEventInterface";
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TClassRoomEventModelCreationAttributes = Optional<IClassRoomEventModelAttributes, 'id'>;
|
|
5
|
+
export type TClassRoomEventModelAttributesWithAssociates = IClassRoomEventModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
classRoomEventInstitute?: IInstituteAttributes;
|
|
10
|
+
classRoomEventAcaCal?: IAcademicCalendarModelAttributes;
|
|
11
|
+
};
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IClassRoomModelAttributes } from '../interfaces/classRoomInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IFloorManagementModelAttributes, IInstituteAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TClassRoomModelCreationAttributes = Optional<IClassRoomModelAttributes, 'id'>;
|
|
5
|
+
export type TClassRoomModelUpdateAttributesWithAssociates = IClassRoomModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
classType?: ITypeManagementModelAttributes;
|
|
10
|
+
institute?: IInstituteAttributes;
|
|
11
|
+
floordetails?: IFloorManagementModelAttributes;
|
|
12
|
+
classroomAcademicCal?: IAcademicCalendarModelAttributes;
|
|
13
|
+
classRoomParent?: IClassRoomModelAttributes;
|
|
14
|
+
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { ICloneListModelAttributes } from '../interfaces/cloneListInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TCloneListModelCreationAttributes = Optional<ICloneListModelAttributes, 'id'>;
|
|
5
|
+
export type TCloneListModelAttributesWithAssociation = ICloneListModelAttributes & {
|
|
6
|
+
instituteCloneList?: IInstituteAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { ICloudStorageModelAttributes } from '../interfaces/cloudStorageInterface';
|
|
3
|
+
import { IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TCloudStorageModelCreationAttributes = Optional<ICloudStorageModelAttributes, 'id'>;
|
|
5
|
+
export type TCloudStorageModelAttributesWithAssociation = ICloudStorageModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
};
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { ICoinPurchaseOfferModelAttributes } from '../interfaces/coinPurchaseOfferInterface';
|
|
3
|
+
import { IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TCoinPurchaseOfferModelCreationAttributes = Optional<ICoinPurchaseOfferModelAttributes, 'id'>;
|
|
5
|
+
export type TCoinPurchaseOfferModelAttributes = ICoinPurchaseOfferModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IContactFeedBackAttributes } from '../interfaces/contactFeedBackInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TContactFeedBackModelCreationAttributes = Optional<IContactFeedBackAttributes, 'id'>;
|
|
5
|
+
export type TContactFeedBackModelAttributesWithAssociation = IContactFeedBackAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
contactFeedBackInstitute?: IInstituteAttributes;
|
|
10
|
+
contactFeedBackGivenInstitute?: IInstituteAttributes;
|
|
11
|
+
contactFeedBackUser?: IUserAttributes;
|
|
12
|
+
contactFeedBackAcCalendar?: IAcademicCalendarModelAttributes;
|
|
13
|
+
};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import { ICourseModelAttributes, IUserAttributes } from '../interfaces';
|
|
1
2
|
import { ICourseHasVisitorsModelAttributes } from '../interfaces/courseHasVisitorsInterface';
|
|
2
3
|
export type TCourseHasVisitorsModelCreationAttributes = Partial<ICourseHasVisitorsModelAttributes>;
|
|
4
|
+
export type TCourseHasVisitorsModelAttributesWithAssociation = ICourseHasVisitorsModelAttributes & {
|
|
5
|
+
createdByUser?: IUserAttributes;
|
|
6
|
+
updatedByUser?: IUserAttributes;
|
|
7
|
+
deletedByUser?: IUserAttributes;
|
|
8
|
+
visitorCourse?: ICourseModelAttributes;
|
|
9
|
+
};
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
+
import { IFileStorageAttributes, IInstituteAttributes, IInstituteEntityAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
1
2
|
import { ICourseModelAttributes } from '../interfaces/courseInterface';
|
|
2
3
|
export type TCourseModelCreationAttributes = Partial<ICourseModelAttributes>;
|
|
4
|
+
export type TCourseModelAttributesWithAssociation = ICourseModelAttributes & {
|
|
5
|
+
createdByUser?: IUserAttributes;
|
|
6
|
+
updatedByUser?: IUserAttributes;
|
|
7
|
+
deletedByUser?: IUserAttributes;
|
|
8
|
+
courseInstitute?: IInstituteAttributes;
|
|
9
|
+
courseSubject?: IInstituteEntityAttributes;
|
|
10
|
+
courseMaterialType?: ITypeManagementModelAttributes;
|
|
11
|
+
courseThumbNail?: IFileStorageAttributes;
|
|
12
|
+
courseIntroVideo?: IFileStorageAttributes;
|
|
13
|
+
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IDesignationAttributes } from '../interfaces/designationInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TDesignationCreationAttributes = Optional<IDesignationAttributes, 'id'>;
|
|
5
|
+
export type TDesignationAttributesWithAssociation = IDesignationAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
designationInstitute?: IInstituteAttributes;
|
|
10
|
+
};
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
import { IAcademicCalendarModelAttributes, ICampusAttributes, ICountryAttributes, IFileStorageAttributes, IInstituteAttributes, IStateAttributes, IUserAttributes } from '../interfaces';
|
|
1
2
|
import { IDriverModelAttributes } from '../interfaces/driverInterface';
|
|
2
3
|
import { IWorkingDayAttributes } from '../interfaces/workingDayInterface';
|
|
3
4
|
export type TDriverModelCreationAttributes = Partial<IDriverModelAttributes>;
|
|
4
5
|
export type TDriverWithAssociation = IDriverModelAttributes & {
|
|
5
6
|
workingDay: IWorkingDayAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
countryDetails?: ICountryAttributes;
|
|
11
|
+
stateDetails?: IStateAttributes;
|
|
12
|
+
cityDetails?: IStateAttributes;
|
|
13
|
+
drivingLicenseDetails?: IFileStorageAttributes;
|
|
14
|
+
aadharCardDetails?: IFileStorageAttributes;
|
|
15
|
+
drivingProfileImage?: IFileStorageAttributes;
|
|
16
|
+
driverInstitute?: IInstituteAttributes;
|
|
17
|
+
driverCampus?: ICampusAttributes;
|
|
18
|
+
driverAcademic?: IAcademicCalendarModelAttributes;
|
|
6
19
|
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IEntityGroupModelAttributes } from '../interfaces/entityGroupInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteEntityAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TEntityGroupModelCreationAttributes = Optional<IEntityGroupModelAttributes, 'id'>;
|
|
5
|
+
export type TEntityGroupWithAssociation = IEntityGroupModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
standardEntityGroup?: IInstituteEntityAttributes;
|
|
10
|
+
academicEntityGroup?: IAcademicCalendarModelAttributes;
|
|
11
|
+
};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import { IAcademicCalendarModelAttributes, IUserAttributes } from '../interfaces';
|
|
1
2
|
import { IEntityWiseCalendarModelAttributes } from '../interfaces/entityWiseCalendarInterface';
|
|
2
3
|
export type TEntityWiseCalendarModelCreationAttributes = Partial<IEntityWiseCalendarModelAttributes>;
|
|
4
|
+
export type TEntityGroupModelCreationAttributesWithAssociation = IEntityWiseCalendarModelAttributes & {
|
|
5
|
+
createdByUser?: IUserAttributes;
|
|
6
|
+
updatedByUser?: IUserAttributes;
|
|
7
|
+
deletedByUser?: IUserAttributes;
|
|
8
|
+
entityWiseCalendarEntity?: IAcademicCalendarModelAttributes;
|
|
9
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFacilityAttributes } from '../interfaces/facilityInterface';
|
|
3
|
+
import { IInstituteAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFacilityCreationAttributes = Optional<IFacilityAttributes, 'id'>;
|
|
5
|
+
export type TFacilityCreationAttributesWithAssociation = IFacilityAttributes & {
|
|
6
|
+
facilityInstitute?: IInstituteAttributes;
|
|
7
|
+
facilityType?: ITypeManagementModelAttributes;
|
|
8
|
+
createdByUser?: IUserAttributes;
|
|
9
|
+
updatedByUser?: IUserAttributes;
|
|
10
|
+
deletedByUser?: IUserAttributes;
|
|
11
|
+
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeatureActionAttributes } from '../interfaces/featureActionInterface';
|
|
3
|
+
import { IRoleAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeatureActionCreationAttributes = Optional<IFeatureActionAttributes, 'id'>;
|
|
5
|
+
export type TFeatureActionCreationAttributesWithAssociation = IFeatureActionAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
role?: IRoleAttributes;
|
|
10
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeeReminderSettingModelAttributes } from '../interfaces/feeReminderSettingInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeeReminderSettingModelCreationAttributes = Optional<IFeeReminderSettingModelAttributes, 'id'>;
|
|
5
|
+
export type TFeeReminderSettingModelCreationAttributesWithAssociation = IFeeReminderSettingModelAttributes & {
|
|
6
|
+
settingInstitute?: IInstituteAttributes;
|
|
7
|
+
settingAcademic?: IAcademicCalendarModelAttributes;
|
|
8
|
+
createdByUser?: IUserAttributes;
|
|
9
|
+
updatedByUser?: IUserAttributes;
|
|
10
|
+
deletedByUser?: IUserAttributes;
|
|
11
|
+
reminderSettingParent?: IFeeReminderSettingModelAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeeReminderModelAttributes } from '../interfaces/feeReminderInterface';
|
|
3
|
+
import { IFeeReminderSettingModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeeReminderModelCreationAttributes = Optional<IFeeReminderModelAttributes, 'id'>;
|
|
5
|
+
export type TFeeReminderModelCreationAttributesWithAssociation = IFeeReminderModelAttributes & {
|
|
6
|
+
reminderUser?: IUserAttributes;
|
|
7
|
+
reminderTemplate?: IFeeReminderSettingModelAttributes;
|
|
8
|
+
reminderInstitute?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeeSubmissionTrackModelAttributes } from '../interfaces/feeSubmissionTrackInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeeSubmissionTrackModelCreationAttributes = Optional<IFeeSubmissionTrackModelAttributes, 'id'>;
|
|
5
|
+
export type TFeeSubmissionTrackModelCreationAttributesWithAssociation = IFeeSubmissionTrackModelAttributes & {
|
|
6
|
+
feeSubmissionTrackCollector?: IUserAttributes;
|
|
7
|
+
submittedByUser?: IUserAttributes;
|
|
8
|
+
feeSubmissionTrackInstitute?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
acaCalFeeSubmissionTrack?: IAcademicCalendarModelAttributes;
|
|
13
|
+
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFeeType1ModelAttributes } from '../interfaces/feeType1Interface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IBankAccountDetailsInterfaceModelAttributes, IInstituteAttributes, ITypeManagementModelAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFeeType1ModelCreationAttributes = Optional<IFeeType1ModelAttributes, 'id'>;
|
|
5
|
+
export type TFeeType1ModelCreationAttributesWithAssociation = IFeeType1ModelAttributes & {
|
|
6
|
+
accountFeeType1?: IBankAccountDetailsInterfaceModelAttributes;
|
|
7
|
+
typeManagementFeeType?: ITypeManagementModelAttributes;
|
|
8
|
+
instituteFeeType1?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
feeType1AcademicCalendar?: IAcademicCalendarModelAttributes;
|
|
13
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IFloorManagementModelAttributes } from '../interfaces/floorManagementInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TFloorManagementCreationAttributs = Optional<IFloorManagementModelAttributes, 'id'>;
|
|
5
|
+
export type TFloorManagementCreationAttributesWithAssociation = IFloorManagementModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
floorInstitute?: IInstituteAttributes;
|
|
10
|
+
floorAcaCal?: IAcademicCalendarModelAttributes;
|
|
11
|
+
parentFloorList?: IFloorManagementModelAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { Optional } from 'sequelize';
|
|
2
1
|
import { IGrantAndDonationAttributes } from '../interfaces/grantAndDonationInterface';
|
|
3
|
-
export type TGrantAndDonationCreationAttributes =
|
|
2
|
+
export type TGrantAndDonationCreationAttributes = Omit<IGrantAndDonationAttributes, 'id'>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes } from '../interfaces';
|
|
1
2
|
import { IFileStorageAttributes } from '../interfaces/fileStorageInterface';
|
|
2
3
|
import { IGreetingsModelAttributes } from '../interfaces/greetingsInterface';
|
|
3
4
|
export type TGreetingsModelCreationAttributes = Partial<IGreetingsModelAttributes>;
|
|
4
|
-
export type
|
|
5
|
+
export type TGreetingAttributesWithAssociation = IGreetingsModelAttributes & {
|
|
5
6
|
greetingsImage?: IFileStorageAttributes;
|
|
7
|
+
greetingsInstitute?: IInstituteAttributes;
|
|
8
|
+
GreetingsAcademicCalendar?: IAcademicCalendarModelAttributes;
|
|
6
9
|
};
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IHomeWorkModelAttributes } from '../interfaces/homeworkInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IBatchModelAttributes, IInstituteAttributes, IInstituteEntityAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type THomeWorkModelCreationAttributes = Optional<IHomeWorkModelAttributes, 'id'>;
|
|
5
|
+
export type THomeWorkModelCreationAttributesWithAssociation = IHomeWorkModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
batch?: IBatchModelAttributes;
|
|
10
|
+
institute?: IInstituteAttributes;
|
|
11
|
+
homeWorkSubject?: IInstituteEntityAttributes;
|
|
12
|
+
homeWorkAcademicCalendar?: IAcademicCalendarModelAttributes;
|
|
13
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IIncomeExpenseModelAttributes } from '../interfaces/incomeExpenseInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TIncomeExpenseModelCreationAttributes = Optional<IIncomeExpenseModelAttributes, 'id'>;
|
|
5
|
+
export type TIncomeExpenseModelCreationAttributesWithAssociation = IIncomeExpenseModelAttributes & {
|
|
6
|
+
incomeExpenseInstitute?: IInstituteAttributes;
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
incomeExpenseAcademicCalender?: IAcademicCalendarModelAttributes;
|
|
11
|
+
};
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstituteEntityAttributes } from '../interfaces/instituteEntityInterface';
|
|
3
|
+
import { IInstituteAttributes, IInstituteEntityTypeAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInstituteEntityCreationAttributes = Optional<IInstituteEntityAttributes, 'id'>;
|
|
4
5
|
export type TInstituteEntityWithAssociation = IInstituteEntityAttributes & {
|
|
5
6
|
entities?: IInstituteEntityAttributes[];
|
|
7
|
+
createdByUser?: IUserAttributes;
|
|
8
|
+
updatedByUser?: IUserAttributes;
|
|
9
|
+
deletedByUser?: IUserAttributes;
|
|
10
|
+
entityType?: IInstituteEntityTypeAttributes;
|
|
11
|
+
instituteEntities?: IInstituteAttributes;
|
|
6
12
|
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstituteOwnershipHistoryAttributes } from '../interfaces/instituteOwnershipHistoryInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInstituteOwnershipHistoryCreationAttributes = Optional<IInstituteOwnershipHistoryAttributes, 'id'>;
|
|
5
|
+
export type TInstituteOwnershipHistoryCreationAttributesWithAssociation = IInstituteOwnershipHistoryAttributes & {
|
|
6
|
+
oldOwnerUser?: IUserAttributes;
|
|
7
|
+
newOwnerUser?: IUserAttributes;
|
|
8
|
+
institute?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstitutePartnersAttributes } from '../interfaces/institutePartnersInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInstitutePartnersCreationAttributes = Optional<IInstitutePartnersAttributes, 'id'>;
|
|
5
|
+
export type TInstitutePartnersWithAssociation = IInstitutePartnersAttributes & {
|
|
6
|
+
partnerUser?: IUserAttributes;
|
|
7
|
+
institute?: IInstituteAttributes;
|
|
8
|
+
createdByUser?: IUserAttributes;
|
|
9
|
+
updatedByUser?: IUserAttributes;
|
|
10
|
+
deletedByUser?: IUserAttributes;
|
|
11
|
+
};
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstituteSubscriptionPlanModelAttributes } from '../interfaces/instituteSubscriptionPlanInterface';
|
|
3
|
+
import { IInstituteAttributes, IUserAttributes, IWalletModelAttributes } from '../interfaces';
|
|
3
4
|
export type TInstituteSubscriptionPlanModelCreationAttributes = Optional<IInstituteSubscriptionPlanModelAttributes, 'id'>;
|
|
5
|
+
export type TInstituteSubscriptionPlanWithAssociation = IInstituteSubscriptionPlanModelAttributes & {
|
|
6
|
+
user?: IUserAttributes;
|
|
7
|
+
wallet?: IWalletModelAttributes;
|
|
8
|
+
institute?: IInstituteAttributes;
|
|
9
|
+
createdByUser?: IUserAttributes;
|
|
10
|
+
updatedByUser?: IUserAttributes;
|
|
11
|
+
deletedByUser?: IUserAttributes;
|
|
12
|
+
};
|
|
@@ -1,3 +1,18 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInstituteAttributes } from '../interfaces/instituteInterface';
|
|
3
|
+
import { ICityAttributes, ICountryAttributes, IFileStorageAttributes, IStateAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInstituteCreationAttributes = Optional<IInstituteAttributes, 'id'>;
|
|
5
|
+
export type TInstituteCreationWithAssociation = IInstituteAttributes & {
|
|
6
|
+
countryDetails?: ICountryAttributes;
|
|
7
|
+
stateDetails?: IStateAttributes;
|
|
8
|
+
cityDetails?: ICityAttributes;
|
|
9
|
+
coverImageDetails?: IFileStorageAttributes;
|
|
10
|
+
brochureDetails?: IFileStorageAttributes;
|
|
11
|
+
profileImageDetails?: IFileStorageAttributes;
|
|
12
|
+
pdfDetails?: IFileStorageAttributes;
|
|
13
|
+
institute?: IInstituteAttributes;
|
|
14
|
+
createdByUser?: IUserAttributes;
|
|
15
|
+
updatedByUser?: IUserAttributes;
|
|
16
|
+
deletedByUser?: IUserAttributes;
|
|
17
|
+
campusDetails?: IUserAttributes;
|
|
18
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IInventoryModelAttributes } from '../interfaces/inventoryInterface';
|
|
3
|
+
import { ICategoriesModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TInventoryModelCreationAttributes = Optional<IInventoryModelAttributes, 'id'>;
|
|
5
|
+
export type TInventoryModelWithAssociation = IInventoryModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
institute?: IInstituteAttributes;
|
|
10
|
+
category?: ICategoriesModelAttributes;
|
|
11
|
+
};
|
package/package.json
CHANGED