gst-common 1.2.62 → 1.2.64
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/index.cjs +5 -0
- package/dist/index.d.cts +16 -2
- package/dist/index.d.ts +16 -2
- package/dist/index.mjs +5 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -136,6 +136,7 @@ var CLASS_STATUS = /* @__PURE__ */ ((CLASS_STATUS2) => {
|
|
|
136
136
|
CLASS_STATUS2["HAPPENING"] = "HAPPENING";
|
|
137
137
|
CLASS_STATUS2["PENDING"] = "PENDING";
|
|
138
138
|
CLASS_STATUS2["FINISHED"] = "FINISHED";
|
|
139
|
+
CLASS_STATUS2["CANCELED"] = "CANCELED";
|
|
139
140
|
return CLASS_STATUS2;
|
|
140
141
|
})(CLASS_STATUS || {});
|
|
141
142
|
var CLASS_STATUS_TUTOR_EDIT = /* @__PURE__ */ ((CLASS_STATUS_TUTOR_EDIT2) => {
|
|
@@ -324,6 +325,10 @@ var OBJECT_CLASS_STATUS = {
|
|
|
324
325
|
["FINISHED" /* FINISHED */]: {
|
|
325
326
|
value: "FINISHED" /* FINISHED */,
|
|
326
327
|
label: "Ho\xE0n th\xE0nh"
|
|
328
|
+
},
|
|
329
|
+
["CANCELED" /* CANCELED */]: {
|
|
330
|
+
value: "CANCELED" /* CANCELED */,
|
|
331
|
+
label: "\u0110\xE3 hu\u1EF7"
|
|
327
332
|
}
|
|
328
333
|
};
|
|
329
334
|
var OBJECT_DAY_OF_WEEK = {
|
package/dist/index.d.cts
CHANGED
|
@@ -88,7 +88,8 @@ declare enum CLASS_STATUS {
|
|
|
88
88
|
WAIT_FOR_ACCEPTING = "WAIT_FOR_ACCEPTING",
|
|
89
89
|
HAPPENING = "HAPPENING",
|
|
90
90
|
PENDING = "PENDING",
|
|
91
|
-
FINISHED = "FINISHED"
|
|
91
|
+
FINISHED = "FINISHED",
|
|
92
|
+
CANCELED = "CANCELED"
|
|
92
93
|
}
|
|
93
94
|
declare enum CLASS_STATUS_TUTOR_EDIT {
|
|
94
95
|
HAPPENING = "HAPPENING",
|
|
@@ -433,6 +434,10 @@ declare const OBJECT_CLASS_STATUS: {
|
|
|
433
434
|
value: CLASS_STATUS;
|
|
434
435
|
label: string;
|
|
435
436
|
};
|
|
437
|
+
CANCELED: {
|
|
438
|
+
value: CLASS_STATUS;
|
|
439
|
+
label: string;
|
|
440
|
+
};
|
|
436
441
|
};
|
|
437
442
|
declare const OBJECT_DAY_OF_WEEK: {
|
|
438
443
|
MONDAY: {
|
|
@@ -752,6 +757,15 @@ type TClassCountStatusRes = {
|
|
|
752
757
|
totalHappening: number;
|
|
753
758
|
totalPending: number;
|
|
754
759
|
totalWaitingForAccepting: number;
|
|
760
|
+
totalCancelled: number;
|
|
761
|
+
};
|
|
762
|
+
type TClassStudentCountStatusRes = {
|
|
763
|
+
total: number;
|
|
764
|
+
totalFinish: number;
|
|
765
|
+
totalHappening: number;
|
|
766
|
+
totalPending: number;
|
|
767
|
+
totalWaitingForAccepting: number;
|
|
768
|
+
totalCancelled: number;
|
|
755
769
|
};
|
|
756
770
|
type TRegisteredProgramCountStatusRes = {
|
|
757
771
|
total: number;
|
|
@@ -800,4 +814,4 @@ type TLessonStudentListRes = {
|
|
|
800
814
|
total: number;
|
|
801
815
|
};
|
|
802
816
|
|
|
803
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationCreate, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassSelectOptionsRes, type TClassStudentList, type TClassStudentListRes, type TClassUpdate, type TClassUpdateRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TExtendLessonTimesDTO, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes };
|
|
817
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationCreate, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassSelectOptionsRes, type TClassStudentCountStatusRes, type TClassStudentList, type TClassStudentListRes, type TClassUpdate, type TClassUpdateRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TExtendLessonTimesDTO, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes };
|
package/dist/index.d.ts
CHANGED
|
@@ -88,7 +88,8 @@ declare enum CLASS_STATUS {
|
|
|
88
88
|
WAIT_FOR_ACCEPTING = "WAIT_FOR_ACCEPTING",
|
|
89
89
|
HAPPENING = "HAPPENING",
|
|
90
90
|
PENDING = "PENDING",
|
|
91
|
-
FINISHED = "FINISHED"
|
|
91
|
+
FINISHED = "FINISHED",
|
|
92
|
+
CANCELED = "CANCELED"
|
|
92
93
|
}
|
|
93
94
|
declare enum CLASS_STATUS_TUTOR_EDIT {
|
|
94
95
|
HAPPENING = "HAPPENING",
|
|
@@ -433,6 +434,10 @@ declare const OBJECT_CLASS_STATUS: {
|
|
|
433
434
|
value: CLASS_STATUS;
|
|
434
435
|
label: string;
|
|
435
436
|
};
|
|
437
|
+
CANCELED: {
|
|
438
|
+
value: CLASS_STATUS;
|
|
439
|
+
label: string;
|
|
440
|
+
};
|
|
436
441
|
};
|
|
437
442
|
declare const OBJECT_DAY_OF_WEEK: {
|
|
438
443
|
MONDAY: {
|
|
@@ -752,6 +757,15 @@ type TClassCountStatusRes = {
|
|
|
752
757
|
totalHappening: number;
|
|
753
758
|
totalPending: number;
|
|
754
759
|
totalWaitingForAccepting: number;
|
|
760
|
+
totalCancelled: number;
|
|
761
|
+
};
|
|
762
|
+
type TClassStudentCountStatusRes = {
|
|
763
|
+
total: number;
|
|
764
|
+
totalFinish: number;
|
|
765
|
+
totalHappening: number;
|
|
766
|
+
totalPending: number;
|
|
767
|
+
totalWaitingForAccepting: number;
|
|
768
|
+
totalCancelled: number;
|
|
755
769
|
};
|
|
756
770
|
type TRegisteredProgramCountStatusRes = {
|
|
757
771
|
total: number;
|
|
@@ -800,4 +814,4 @@ type TLessonStudentListRes = {
|
|
|
800
814
|
total: number;
|
|
801
815
|
};
|
|
802
816
|
|
|
803
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationCreate, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassSelectOptionsRes, type TClassStudentList, type TClassStudentListRes, type TClassUpdate, type TClassUpdateRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TExtendLessonTimesDTO, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes };
|
|
817
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationCreate, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassSelectOptionsRes, type TClassStudentCountStatusRes, type TClassStudentList, type TClassStudentListRes, type TClassUpdate, type TClassUpdateRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TExtendLessonTimesDTO, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes };
|
package/dist/index.mjs
CHANGED
|
@@ -80,6 +80,7 @@ var CLASS_STATUS = /* @__PURE__ */ ((CLASS_STATUS2) => {
|
|
|
80
80
|
CLASS_STATUS2["HAPPENING"] = "HAPPENING";
|
|
81
81
|
CLASS_STATUS2["PENDING"] = "PENDING";
|
|
82
82
|
CLASS_STATUS2["FINISHED"] = "FINISHED";
|
|
83
|
+
CLASS_STATUS2["CANCELED"] = "CANCELED";
|
|
83
84
|
return CLASS_STATUS2;
|
|
84
85
|
})(CLASS_STATUS || {});
|
|
85
86
|
var CLASS_STATUS_TUTOR_EDIT = /* @__PURE__ */ ((CLASS_STATUS_TUTOR_EDIT2) => {
|
|
@@ -268,6 +269,10 @@ var OBJECT_CLASS_STATUS = {
|
|
|
268
269
|
["FINISHED" /* FINISHED */]: {
|
|
269
270
|
value: "FINISHED" /* FINISHED */,
|
|
270
271
|
label: "Ho\xE0n th\xE0nh"
|
|
272
|
+
},
|
|
273
|
+
["CANCELED" /* CANCELED */]: {
|
|
274
|
+
value: "CANCELED" /* CANCELED */,
|
|
275
|
+
label: "\u0110\xE3 hu\u1EF7"
|
|
271
276
|
}
|
|
272
277
|
};
|
|
273
278
|
var OBJECT_DAY_OF_WEEK = {
|