@kipicore/dbcore 1.1.598 → 1.1.600
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 -1
- package/dist/constants/app.js +3 -0
- package/dist/constants/successMessages.d.ts +6 -1
- package/dist/constants/successMessages.js +5 -0
- package/dist/interfaces/refundInterface.d.ts +8 -8
- package/dist/types/refundType.d.ts +8 -0
- package/dist/types/refundType.js +0 -10
- package/package.json +1 -1
package/dist/constants/app.d.ts
CHANGED
|
@@ -847,7 +847,10 @@ export declare enum NOTIFICATION_MODULE_TYPE {
|
|
|
847
847
|
FEE_HISTORY = "FEE_HISTORY",
|
|
848
848
|
FEE_COLLECTION = "FEE_COLLECTION",
|
|
849
849
|
STUDENT_JOIN = "STUDENT_JOIN",
|
|
850
|
-
CHEQUE_CLEAR = "CHEQUE_CLEAR"
|
|
850
|
+
CHEQUE_CLEAR = "CHEQUE_CLEAR",
|
|
851
|
+
TASK_MANAGEMENT = "TASK_MANAGEMENT",
|
|
852
|
+
SETUP_AND_CONFIGURATION = "SETUP_AND_CONFIGURATION",
|
|
853
|
+
APPROVE_REQUEST = "APPROVE_REQUEST"
|
|
851
854
|
}
|
|
852
855
|
export declare enum ONLINE_EXAM_NOTIFICATION_TYPE {
|
|
853
856
|
EXAM_STARTED = "EXAM_STARTED",
|
package/dist/constants/app.js
CHANGED
|
@@ -1063,6 +1063,9 @@ var NOTIFICATION_MODULE_TYPE;
|
|
|
1063
1063
|
NOTIFICATION_MODULE_TYPE["FEE_COLLECTION"] = "FEE_COLLECTION";
|
|
1064
1064
|
NOTIFICATION_MODULE_TYPE["STUDENT_JOIN"] = "STUDENT_JOIN";
|
|
1065
1065
|
NOTIFICATION_MODULE_TYPE["CHEQUE_CLEAR"] = "CHEQUE_CLEAR";
|
|
1066
|
+
NOTIFICATION_MODULE_TYPE["TASK_MANAGEMENT"] = "TASK_MANAGEMENT";
|
|
1067
|
+
NOTIFICATION_MODULE_TYPE["SETUP_AND_CONFIGURATION"] = "SETUP_AND_CONFIGURATION";
|
|
1068
|
+
NOTIFICATION_MODULE_TYPE["APPROVE_REQUEST"] = "APPROVE_REQUEST";
|
|
1066
1069
|
})(NOTIFICATION_MODULE_TYPE || (exports.NOTIFICATION_MODULE_TYPE = NOTIFICATION_MODULE_TYPE = {}));
|
|
1067
1070
|
var ONLINE_EXAM_NOTIFICATION_TYPE;
|
|
1068
1071
|
(function (ONLINE_EXAM_NOTIFICATION_TYPE) {
|
|
@@ -1096,5 +1096,10 @@ export declare enum RMS_SUCCESS_MESSAGES {
|
|
|
1096
1096
|
}
|
|
1097
1097
|
export declare enum REFUND_SUCCESS_MESSAGES {
|
|
1098
1098
|
REFUND_SUCCESS = "Refund has been initiated",
|
|
1099
|
-
REFUND_PENDING = "Refund is in progress"
|
|
1099
|
+
REFUND_PENDING = "Refund is in progress",
|
|
1100
|
+
CREATE_SUCCESS = "Refund created successfully",
|
|
1101
|
+
UPDATE_SUCCESS = "Refund updated successfully",
|
|
1102
|
+
DELETE_SUCCESS = "Refund deleted successfully",
|
|
1103
|
+
GET_SUCCESS = "Refund fetched successfully",
|
|
1104
|
+
GET_ALL_SUCCESS = "Refund fetched successfully"
|
|
1100
1105
|
}
|
|
@@ -1275,4 +1275,9 @@ var REFUND_SUCCESS_MESSAGES;
|
|
|
1275
1275
|
(function (REFUND_SUCCESS_MESSAGES) {
|
|
1276
1276
|
REFUND_SUCCESS_MESSAGES["REFUND_SUCCESS"] = "Refund has been initiated";
|
|
1277
1277
|
REFUND_SUCCESS_MESSAGES["REFUND_PENDING"] = "Refund is in progress";
|
|
1278
|
+
REFUND_SUCCESS_MESSAGES["CREATE_SUCCESS"] = "Refund created successfully";
|
|
1279
|
+
REFUND_SUCCESS_MESSAGES["UPDATE_SUCCESS"] = "Refund updated successfully";
|
|
1280
|
+
REFUND_SUCCESS_MESSAGES["DELETE_SUCCESS"] = "Refund deleted successfully";
|
|
1281
|
+
REFUND_SUCCESS_MESSAGES["GET_SUCCESS"] = "Refund fetched successfully";
|
|
1282
|
+
REFUND_SUCCESS_MESSAGES["GET_ALL_SUCCESS"] = "Refund fetched successfully";
|
|
1278
1283
|
})(REFUND_SUCCESS_MESSAGES || (exports.REFUND_SUCCESS_MESSAGES = REFUND_SUCCESS_MESSAGES = {}));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PAYMENT_TYPE, REFUND_ENTITY_TYPE, REFUND_STATUS } from '../constants';
|
|
2
2
|
import { IDefaultAttributes } from './commonInterface';
|
|
3
3
|
export interface IRefundCollectionModelAttributes extends IDefaultAttributes {
|
|
4
|
-
id
|
|
5
|
-
academicCalendarId
|
|
6
|
-
instituteId
|
|
7
|
-
status
|
|
4
|
+
id?: string;
|
|
5
|
+
academicCalendarId?: string;
|
|
6
|
+
instituteId?: string;
|
|
7
|
+
status?: REFUND_STATUS;
|
|
8
8
|
refundEntityType: REFUND_ENTITY_TYPE;
|
|
9
|
-
paymentType
|
|
9
|
+
paymentType?: PAYMENT_TYPE;
|
|
10
10
|
refundEntityId: string;
|
|
11
|
-
refundedBy
|
|
12
|
-
refundedAt
|
|
13
|
-
refundAmount
|
|
11
|
+
refundedBy?: string;
|
|
12
|
+
refundedAt?: Date;
|
|
13
|
+
refundAmount?: number;
|
|
14
14
|
}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import { Optional } from 'sequelize';
|
|
2
2
|
import { IRefundCollectionModelAttributes } from '../interfaces/refundInterface';
|
|
3
|
+
import { IAcademicCalendarModelAttributes, IInstituteAttributes, IUserAttributes } from '../interfaces';
|
|
3
4
|
export type TRefundCollectionModelAttributes = Optional<IRefundCollectionModelAttributes, 'id'>;
|
|
5
|
+
export type TRefundCollectionModelWithAssociates = IRefundCollectionModelAttributes & {
|
|
6
|
+
createdByUser?: IUserAttributes;
|
|
7
|
+
updatedByUser?: IUserAttributes;
|
|
8
|
+
deletedByUser?: IUserAttributes;
|
|
9
|
+
instituteRefund?: IInstituteAttributes;
|
|
10
|
+
refundAcaCal?: IAcademicCalendarModelAttributes;
|
|
11
|
+
};
|
package/dist/types/refundType.js
CHANGED
|
@@ -1,12 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// export type TRefundCollectionModelWithAssociates = IClassRoomCollectionModelAttributes & {
|
|
4
|
-
// createdByUser?: IUserAttributes;
|
|
5
|
-
// updatedByUser?: IUserAttributes;
|
|
6
|
-
// deletedByUser?: IUserAttributes;
|
|
7
|
-
// classRCollectionInst?: IInstituteAttributes;
|
|
8
|
-
// classRColAcaCal?: IAcademicCalendarModelAttributes;
|
|
9
|
-
// collectorClassRCol?: IUserAttributes;
|
|
10
|
-
// ClassRColUser?: IUserAttributes;
|
|
11
|
-
// ClassRColClassEvent?: IClassRoomEventModelAttributes;
|
|
12
|
-
// };
|
package/package.json
CHANGED