gst-common 1.2.63 → 1.2.65
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 +7 -0
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.mjs +6 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
CLASS_STATUS: () => CLASS_STATUS,
|
|
24
|
+
CLASS_STATUS_STUDENT_EDIT: () => CLASS_STATUS_STUDENT_EDIT,
|
|
24
25
|
CLASS_STATUS_TUTOR_EDIT: () => CLASS_STATUS_TUTOR_EDIT,
|
|
25
26
|
COMMON_ROUTES: () => COMMON_ROUTES,
|
|
26
27
|
CUSTOMER_TYPE: () => CUSTOMER_TYPE,
|
|
@@ -145,6 +146,11 @@ var CLASS_STATUS_TUTOR_EDIT = /* @__PURE__ */ ((CLASS_STATUS_TUTOR_EDIT2) => {
|
|
|
145
146
|
CLASS_STATUS_TUTOR_EDIT2["FINISHED"] = "FINISHED" /* FINISHED */;
|
|
146
147
|
return CLASS_STATUS_TUTOR_EDIT2;
|
|
147
148
|
})(CLASS_STATUS_TUTOR_EDIT || {});
|
|
149
|
+
var CLASS_STATUS_STUDENT_EDIT = /* @__PURE__ */ ((CLASS_STATUS_STUDENT_EDIT2) => {
|
|
150
|
+
CLASS_STATUS_STUDENT_EDIT2["CANCELED"] = "CANCELED" /* CANCELED */;
|
|
151
|
+
CLASS_STATUS_STUDENT_EDIT2["HAPPENING"] = "HAPPENING" /* HAPPENING */;
|
|
152
|
+
return CLASS_STATUS_STUDENT_EDIT2;
|
|
153
|
+
})(CLASS_STATUS_STUDENT_EDIT || {});
|
|
148
154
|
var LESSON_ACTIVITY_STATUS = /* @__PURE__ */ ((LESSON_ACTIVITY_STATUS2) => {
|
|
149
155
|
LESSON_ACTIVITY_STATUS2["NEW"] = "NEW";
|
|
150
156
|
LESSON_ACTIVITY_STATUS2["CANCELED"] = "CANCELED";
|
|
@@ -378,6 +384,7 @@ var OBJECT_LESSON_ACTIVITY_STATUS = {
|
|
|
378
384
|
// Annotate the CommonJS export names for ESM import in node:
|
|
379
385
|
0 && (module.exports = {
|
|
380
386
|
CLASS_STATUS,
|
|
387
|
+
CLASS_STATUS_STUDENT_EDIT,
|
|
381
388
|
CLASS_STATUS_TUTOR_EDIT,
|
|
382
389
|
COMMON_ROUTES,
|
|
383
390
|
CUSTOMER_TYPE,
|
package/dist/index.d.cts
CHANGED
|
@@ -96,6 +96,10 @@ declare enum CLASS_STATUS_TUTOR_EDIT {
|
|
|
96
96
|
PENDING = "PENDING",
|
|
97
97
|
FINISHED = "FINISHED"
|
|
98
98
|
}
|
|
99
|
+
declare enum CLASS_STATUS_STUDENT_EDIT {
|
|
100
|
+
CANCELED = "CANCELED",
|
|
101
|
+
HAPPENING = "HAPPENING"
|
|
102
|
+
}
|
|
99
103
|
declare enum LESSON_ACTIVITY_STATUS {
|
|
100
104
|
NEW = "NEW",
|
|
101
105
|
CANCELED = "CANCELED",
|
|
@@ -759,7 +763,7 @@ type TClassCountStatusRes = {
|
|
|
759
763
|
totalWaitingForAccepting: number;
|
|
760
764
|
totalCancelled: number;
|
|
761
765
|
};
|
|
762
|
-
type
|
|
766
|
+
type TClassStudentCountStatusRes = {
|
|
763
767
|
total: number;
|
|
764
768
|
totalFinish: number;
|
|
765
769
|
totalHappening: number;
|
|
@@ -814,4 +818,4 @@ type TLessonStudentListRes = {
|
|
|
814
818
|
total: number;
|
|
815
819
|
};
|
|
816
820
|
|
|
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
|
|
821
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_STUDENT_EDIT, 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
|
@@ -96,6 +96,10 @@ declare enum CLASS_STATUS_TUTOR_EDIT {
|
|
|
96
96
|
PENDING = "PENDING",
|
|
97
97
|
FINISHED = "FINISHED"
|
|
98
98
|
}
|
|
99
|
+
declare enum CLASS_STATUS_STUDENT_EDIT {
|
|
100
|
+
CANCELED = "CANCELED",
|
|
101
|
+
HAPPENING = "HAPPENING"
|
|
102
|
+
}
|
|
99
103
|
declare enum LESSON_ACTIVITY_STATUS {
|
|
100
104
|
NEW = "NEW",
|
|
101
105
|
CANCELED = "CANCELED",
|
|
@@ -759,7 +763,7 @@ type TClassCountStatusRes = {
|
|
|
759
763
|
totalWaitingForAccepting: number;
|
|
760
764
|
totalCancelled: number;
|
|
761
765
|
};
|
|
762
|
-
type
|
|
766
|
+
type TClassStudentCountStatusRes = {
|
|
763
767
|
total: number;
|
|
764
768
|
totalFinish: number;
|
|
765
769
|
totalHappening: number;
|
|
@@ -814,4 +818,4 @@ type TLessonStudentListRes = {
|
|
|
814
818
|
total: number;
|
|
815
819
|
};
|
|
816
820
|
|
|
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
|
|
821
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_STUDENT_EDIT, 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
|
@@ -89,6 +89,11 @@ var CLASS_STATUS_TUTOR_EDIT = /* @__PURE__ */ ((CLASS_STATUS_TUTOR_EDIT2) => {
|
|
|
89
89
|
CLASS_STATUS_TUTOR_EDIT2["FINISHED"] = "FINISHED" /* FINISHED */;
|
|
90
90
|
return CLASS_STATUS_TUTOR_EDIT2;
|
|
91
91
|
})(CLASS_STATUS_TUTOR_EDIT || {});
|
|
92
|
+
var CLASS_STATUS_STUDENT_EDIT = /* @__PURE__ */ ((CLASS_STATUS_STUDENT_EDIT2) => {
|
|
93
|
+
CLASS_STATUS_STUDENT_EDIT2["CANCELED"] = "CANCELED" /* CANCELED */;
|
|
94
|
+
CLASS_STATUS_STUDENT_EDIT2["HAPPENING"] = "HAPPENING" /* HAPPENING */;
|
|
95
|
+
return CLASS_STATUS_STUDENT_EDIT2;
|
|
96
|
+
})(CLASS_STATUS_STUDENT_EDIT || {});
|
|
92
97
|
var LESSON_ACTIVITY_STATUS = /* @__PURE__ */ ((LESSON_ACTIVITY_STATUS2) => {
|
|
93
98
|
LESSON_ACTIVITY_STATUS2["NEW"] = "NEW";
|
|
94
99
|
LESSON_ACTIVITY_STATUS2["CANCELED"] = "CANCELED";
|
|
@@ -321,6 +326,7 @@ var OBJECT_LESSON_ACTIVITY_STATUS = {
|
|
|
321
326
|
};
|
|
322
327
|
export {
|
|
323
328
|
CLASS_STATUS,
|
|
329
|
+
CLASS_STATUS_STUDENT_EDIT,
|
|
324
330
|
CLASS_STATUS_TUTOR_EDIT,
|
|
325
331
|
COMMON_ROUTES,
|
|
326
332
|
CUSTOMER_TYPE,
|