gst-common 1.2.24 → 1.2.26
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 +1 -0
- package/dist/index.d.cts +26 -1
- package/dist/index.d.ts +26 -1
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -131,6 +131,7 @@ var CLASS_STATUS = /* @__PURE__ */ ((CLASS_STATUS2) => {
|
|
|
131
131
|
return CLASS_STATUS2;
|
|
132
132
|
})(CLASS_STATUS || {});
|
|
133
133
|
var LESSON_ACTIVITY_STATUS = /* @__PURE__ */ ((LESSON_ACTIVITY_STATUS2) => {
|
|
134
|
+
LESSON_ACTIVITY_STATUS2["NEW"] = "NEW";
|
|
134
135
|
LESSON_ACTIVITY_STATUS2["CANCELED"] = "CANCELED";
|
|
135
136
|
LESSON_ACTIVITY_STATUS2["COMPLETED"] = "COMPLETED";
|
|
136
137
|
return LESSON_ACTIVITY_STATUS2;
|
package/dist/index.d.cts
CHANGED
|
@@ -87,6 +87,7 @@ declare enum CLASS_STATUS {
|
|
|
87
87
|
FINISHED = "FINISHED"
|
|
88
88
|
}
|
|
89
89
|
declare enum LESSON_ACTIVITY_STATUS {
|
|
90
|
+
NEW = "NEW",
|
|
90
91
|
CANCELED = "CANCELED",
|
|
91
92
|
COMPLETED = "COMPLETED"
|
|
92
93
|
}
|
|
@@ -501,6 +502,19 @@ type TLessonListMeTutor = {
|
|
|
501
502
|
type TClassMeDetail = {
|
|
502
503
|
id: string;
|
|
503
504
|
};
|
|
505
|
+
type TLessonPrepare = {
|
|
506
|
+
rangeDate?: {
|
|
507
|
+
startTime: string;
|
|
508
|
+
endTime: string;
|
|
509
|
+
};
|
|
510
|
+
numberOfLesson?: number;
|
|
511
|
+
startDate?: string;
|
|
512
|
+
classLearningTimes?: {
|
|
513
|
+
startTime: string;
|
|
514
|
+
endTime: string;
|
|
515
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
516
|
+
}[];
|
|
517
|
+
};
|
|
504
518
|
|
|
505
519
|
type TProgramRegisteredMeTutorEdit = {
|
|
506
520
|
id: string;
|
|
@@ -570,5 +584,16 @@ type TLessonListMeTutorRes = {
|
|
|
570
584
|
total: number;
|
|
571
585
|
};
|
|
572
586
|
type TClassMeDetailRes = Omit<TClassEntity, "tutor">;
|
|
587
|
+
type TLessonPrepareRes = {
|
|
588
|
+
startTime: string;
|
|
589
|
+
endTime: string;
|
|
590
|
+
overlapItems: {
|
|
591
|
+
id: string;
|
|
592
|
+
startTime: string;
|
|
593
|
+
endTime: string;
|
|
594
|
+
classId: string;
|
|
595
|
+
className: string;
|
|
596
|
+
}[];
|
|
597
|
+
};
|
|
573
598
|
|
|
574
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CUSTOMER_TYPE, 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_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, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonRequest, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
|
|
599
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CUSTOMER_TYPE, 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_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, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
|
package/dist/index.d.ts
CHANGED
|
@@ -87,6 +87,7 @@ declare enum CLASS_STATUS {
|
|
|
87
87
|
FINISHED = "FINISHED"
|
|
88
88
|
}
|
|
89
89
|
declare enum LESSON_ACTIVITY_STATUS {
|
|
90
|
+
NEW = "NEW",
|
|
90
91
|
CANCELED = "CANCELED",
|
|
91
92
|
COMPLETED = "COMPLETED"
|
|
92
93
|
}
|
|
@@ -501,6 +502,19 @@ type TLessonListMeTutor = {
|
|
|
501
502
|
type TClassMeDetail = {
|
|
502
503
|
id: string;
|
|
503
504
|
};
|
|
505
|
+
type TLessonPrepare = {
|
|
506
|
+
rangeDate?: {
|
|
507
|
+
startTime: string;
|
|
508
|
+
endTime: string;
|
|
509
|
+
};
|
|
510
|
+
numberOfLesson?: number;
|
|
511
|
+
startDate?: string;
|
|
512
|
+
classLearningTimes?: {
|
|
513
|
+
startTime: string;
|
|
514
|
+
endTime: string;
|
|
515
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
516
|
+
}[];
|
|
517
|
+
};
|
|
504
518
|
|
|
505
519
|
type TProgramRegisteredMeTutorEdit = {
|
|
506
520
|
id: string;
|
|
@@ -570,5 +584,16 @@ type TLessonListMeTutorRes = {
|
|
|
570
584
|
total: number;
|
|
571
585
|
};
|
|
572
586
|
type TClassMeDetailRes = Omit<TClassEntity, "tutor">;
|
|
587
|
+
type TLessonPrepareRes = {
|
|
588
|
+
startTime: string;
|
|
589
|
+
endTime: string;
|
|
590
|
+
overlapItems: {
|
|
591
|
+
id: string;
|
|
592
|
+
startTime: string;
|
|
593
|
+
endTime: string;
|
|
594
|
+
classId: string;
|
|
595
|
+
className: string;
|
|
596
|
+
}[];
|
|
597
|
+
};
|
|
573
598
|
|
|
574
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CUSTOMER_TYPE, 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_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, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonRequest, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
|
|
599
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CUSTOMER_TYPE, 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_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, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
|
package/dist/index.mjs
CHANGED
|
@@ -79,6 +79,7 @@ var CLASS_STATUS = /* @__PURE__ */ ((CLASS_STATUS2) => {
|
|
|
79
79
|
return CLASS_STATUS2;
|
|
80
80
|
})(CLASS_STATUS || {});
|
|
81
81
|
var LESSON_ACTIVITY_STATUS = /* @__PURE__ */ ((LESSON_ACTIVITY_STATUS2) => {
|
|
82
|
+
LESSON_ACTIVITY_STATUS2["NEW"] = "NEW";
|
|
82
83
|
LESSON_ACTIVITY_STATUS2["CANCELED"] = "CANCELED";
|
|
83
84
|
LESSON_ACTIVITY_STATUS2["COMPLETED"] = "COMPLETED";
|
|
84
85
|
return LESSON_ACTIVITY_STATUS2;
|