gst-common 1.6.34 → 1.6.37
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 +21 -1
- package/dist/index.d.cts +44 -6
- package/dist/index.d.ts +44 -6
- package/dist/index.mjs +19 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -26,6 +26,7 @@ __export(index_exports, {
|
|
|
26
26
|
ANSWER_QUESTION_TYPE: () => ANSWER_QUESTION_TYPE,
|
|
27
27
|
AT_LEAST_ALLOW_RATING_PROGRAM_HOUR: () => AT_LEAST_ALLOW_RATING_PROGRAM_HOUR,
|
|
28
28
|
AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS: () => AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS,
|
|
29
|
+
CLASS_INHERITANCE_TYPE: () => CLASS_INHERITANCE_TYPE,
|
|
29
30
|
CLASS_ROOM_STATUS: () => CLASS_ROOM_STATUS,
|
|
30
31
|
CLASS_STATUS: () => CLASS_STATUS,
|
|
31
32
|
CLASS_STATUS_CANCELED_REASON: () => CLASS_STATUS_CANCELED_REASON,
|
|
@@ -44,6 +45,7 @@ __export(index_exports, {
|
|
|
44
45
|
LESSON_ATTENDANCE_STATUS: () => LESSON_ATTENDANCE_STATUS,
|
|
45
46
|
LESSON_FEE_RATE: () => LESSON_FEE_RATE,
|
|
46
47
|
MAX_DOCUMENT_FOLDER: () => MAX_DOCUMENT_FOLDER,
|
|
48
|
+
MAX_STUDENT_CLASS_ROOM: () => MAX_STUDENT_CLASS_ROOM,
|
|
47
49
|
MAX_STUDENT_DOCUMENT_FOLDER: () => MAX_STUDENT_DOCUMENT_FOLDER,
|
|
48
50
|
MISSING_TRANSACTION_TYPE: () => MISSING_TRANSACTION_TYPE,
|
|
49
51
|
NOTIFICATION_STATUS: () => NOTIFICATION_STATUS,
|
|
@@ -325,6 +327,8 @@ var CLASS_ROOM_STATUS = /* @__PURE__ */ ((CLASS_ROOM_STATUS2) => {
|
|
|
325
327
|
return CLASS_ROOM_STATUS2;
|
|
326
328
|
})(CLASS_ROOM_STATUS || {});
|
|
327
329
|
var STUDENT_IN_CLASS_ROOM_STATUS = /* @__PURE__ */ ((STUDENT_IN_CLASS_ROOM_STATUS2) => {
|
|
330
|
+
STUDENT_IN_CLASS_ROOM_STATUS2["PENDING"] = "PENDING";
|
|
331
|
+
STUDENT_IN_CLASS_ROOM_STATUS2["REJECTED"] = "REJECTED";
|
|
328
332
|
STUDENT_IN_CLASS_ROOM_STATUS2["ACTIVE"] = "ACTIVE";
|
|
329
333
|
STUDENT_IN_CLASS_ROOM_STATUS2["INACTIVE"] = "INACTIVE";
|
|
330
334
|
STUDENT_IN_CLASS_ROOM_STATUS2["SUSPENDED"] = "SUSPENDED";
|
|
@@ -341,9 +345,14 @@ var PROGRAM_TYPE = /* @__PURE__ */ ((PROGRAM_TYPE2) => {
|
|
|
341
345
|
PROGRAM_TYPE2["GROUP"] = "GROUP";
|
|
342
346
|
return PROGRAM_TYPE2;
|
|
343
347
|
})(PROGRAM_TYPE || {});
|
|
348
|
+
var CLASS_INHERITANCE_TYPE = /* @__PURE__ */ ((CLASS_INHERITANCE_TYPE2) => {
|
|
349
|
+
CLASS_INHERITANCE_TYPE2["ONE_TO_ONE"] = "ONE_TO_ONE";
|
|
350
|
+
CLASS_INHERITANCE_TYPE2["ROOM"] = "ROOM";
|
|
351
|
+
return CLASS_INHERITANCE_TYPE2;
|
|
352
|
+
})(CLASS_INHERITANCE_TYPE || {});
|
|
344
353
|
|
|
345
354
|
// src/constant.ts
|
|
346
|
-
var OTP_RESEND_TIME =
|
|
355
|
+
var OTP_RESEND_TIME = 60;
|
|
347
356
|
var URL_CLASS_DETAIL = "/class-detail";
|
|
348
357
|
var COMMON_ROUTES = {
|
|
349
358
|
classList: "/class",
|
|
@@ -403,6 +412,7 @@ var LESSON_FEE_RATE = 3 / 100;
|
|
|
403
412
|
var HASHED_PIN_LENGTH = 5;
|
|
404
413
|
var MAX_DOCUMENT_FOLDER = 20;
|
|
405
414
|
var MAX_STUDENT_DOCUMENT_FOLDER = 20;
|
|
415
|
+
var MAX_STUDENT_CLASS_ROOM = 7;
|
|
406
416
|
|
|
407
417
|
// src/object-enum.ts
|
|
408
418
|
var OBJECT_REGISTER_METHOD = {
|
|
@@ -837,6 +847,14 @@ var OBJECT_CLASS_ROOM_STATUS = {
|
|
|
837
847
|
}
|
|
838
848
|
};
|
|
839
849
|
var OBJECT_STUDENT_IN_CLASS_ROOM_STATUS = {
|
|
850
|
+
["REJECTED" /* REJECTED */]: {
|
|
851
|
+
value: "REJECTED" /* REJECTED */,
|
|
852
|
+
label: "T\u1EEB ch\u1ED1i tham gia"
|
|
853
|
+
},
|
|
854
|
+
["PENDING" /* PENDING */]: {
|
|
855
|
+
value: "PENDING" /* PENDING */,
|
|
856
|
+
label: "Ch\u1EDD ph\u1EA3n h\u1ED3i"
|
|
857
|
+
},
|
|
840
858
|
["ACTIVE" /* ACTIVE */]: {
|
|
841
859
|
value: "ACTIVE" /* ACTIVE */,
|
|
842
860
|
label: "Hoa\u0323t \u0111o\u0323\u0302ng"
|
|
@@ -882,6 +900,7 @@ var OBJECT_PROGRAM_TYPE = {
|
|
|
882
900
|
ANSWER_QUESTION_TYPE,
|
|
883
901
|
AT_LEAST_ALLOW_RATING_PROGRAM_HOUR,
|
|
884
902
|
AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS,
|
|
903
|
+
CLASS_INHERITANCE_TYPE,
|
|
885
904
|
CLASS_ROOM_STATUS,
|
|
886
905
|
CLASS_STATUS,
|
|
887
906
|
CLASS_STATUS_CANCELED_REASON,
|
|
@@ -900,6 +919,7 @@ var OBJECT_PROGRAM_TYPE = {
|
|
|
900
919
|
LESSON_ATTENDANCE_STATUS,
|
|
901
920
|
LESSON_FEE_RATE,
|
|
902
921
|
MAX_DOCUMENT_FOLDER,
|
|
922
|
+
MAX_STUDENT_CLASS_ROOM,
|
|
903
923
|
MAX_STUDENT_DOCUMENT_FOLDER,
|
|
904
924
|
MISSING_TRANSACTION_TYPE,
|
|
905
925
|
NOTIFICATION_STATUS,
|
package/dist/index.d.cts
CHANGED
|
@@ -343,10 +343,18 @@ type TRequestTutorFormEntity = {
|
|
|
343
343
|
completedAt: string | null;
|
|
344
344
|
processAt: string | null;
|
|
345
345
|
} & BaseEntity;
|
|
346
|
-
type
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
346
|
+
type TLessonClassRoomEntity = {
|
|
347
|
+
startTime: string;
|
|
348
|
+
endTime: string;
|
|
349
|
+
status: LESSON_ACTIVITY_STATUS;
|
|
350
|
+
note: string;
|
|
351
|
+
} & BaseEntity;
|
|
352
|
+
type TClassRoomEntity = {
|
|
353
|
+
name: string;
|
|
354
|
+
feePerLesson: number;
|
|
355
|
+
status: CLASS_ROOM_STATUS;
|
|
356
|
+
program: TProgramEntity;
|
|
357
|
+
} & BaseEntity;
|
|
350
358
|
|
|
351
359
|
declare enum CUSTOMER_TYPE {
|
|
352
360
|
TUTOR = "tutor",
|
|
@@ -585,6 +593,8 @@ declare enum CLASS_ROOM_STATUS {
|
|
|
585
593
|
CANCELED = "canceled"
|
|
586
594
|
}
|
|
587
595
|
declare enum STUDENT_IN_CLASS_ROOM_STATUS {
|
|
596
|
+
PENDING = "PENDING",// Chưa chấp nhập lời mời tham gia
|
|
597
|
+
REJECTED = "REJECTED",// từ chối lời mời tham gia
|
|
588
598
|
ACTIVE = "ACTIVE",// Hoạt động
|
|
589
599
|
INACTIVE = "INACTIVE",// Không hoạt động
|
|
590
600
|
SUSPENDED = "SUSPENDED"
|
|
@@ -598,8 +608,12 @@ declare enum PROGRAM_TYPE {
|
|
|
598
608
|
ONE_TO_ONE = "ONE_TO_ONE",// dạy 1-1
|
|
599
609
|
GROUP = "GROUP"
|
|
600
610
|
}
|
|
611
|
+
declare enum CLASS_INHERITANCE_TYPE {
|
|
612
|
+
ONE_TO_ONE = "ONE_TO_ONE",// lớp học 1-1
|
|
613
|
+
ROOM = "ROOM"
|
|
614
|
+
}
|
|
601
615
|
|
|
602
|
-
declare const OTP_RESEND_TIME =
|
|
616
|
+
declare const OTP_RESEND_TIME = 60;
|
|
603
617
|
declare const URL_CLASS_DETAIL = "/class-detail";
|
|
604
618
|
declare const COMMON_ROUTES: {
|
|
605
619
|
classList: string;
|
|
@@ -623,6 +637,7 @@ declare const LESSON_FEE_RATE: number;
|
|
|
623
637
|
declare const HASHED_PIN_LENGTH = 5;
|
|
624
638
|
declare const MAX_DOCUMENT_FOLDER = 20;
|
|
625
639
|
declare const MAX_STUDENT_DOCUMENT_FOLDER = 20;
|
|
640
|
+
declare const MAX_STUDENT_CLASS_ROOM = 7;
|
|
626
641
|
|
|
627
642
|
declare const OBJECT_REGISTER_METHOD: {
|
|
628
643
|
email: {
|
|
@@ -1030,6 +1045,14 @@ declare const OBJECT_CLASS_ROOM_STATUS: {
|
|
|
1030
1045
|
};
|
|
1031
1046
|
};
|
|
1032
1047
|
declare const OBJECT_STUDENT_IN_CLASS_ROOM_STATUS: {
|
|
1048
|
+
REJECTED: {
|
|
1049
|
+
value: STUDENT_IN_CLASS_ROOM_STATUS;
|
|
1050
|
+
label: string;
|
|
1051
|
+
};
|
|
1052
|
+
PENDING: {
|
|
1053
|
+
value: STUDENT_IN_CLASS_ROOM_STATUS;
|
|
1054
|
+
label: string;
|
|
1055
|
+
};
|
|
1033
1056
|
ACTIVE: {
|
|
1034
1057
|
value: STUDENT_IN_CLASS_ROOM_STATUS;
|
|
1035
1058
|
label: string;
|
|
@@ -1672,6 +1695,16 @@ type TClassCreateByRequestTutor = {
|
|
|
1672
1695
|
type TProgramPublicListSitemap = {} & BasePaginationParams;
|
|
1673
1696
|
type TPostPublicListSiteMap = {} & BasePaginationParams;
|
|
1674
1697
|
type TAccountPublicListSitemap = {} & BasePaginationParams;
|
|
1698
|
+
type TClassRoomCreate = {
|
|
1699
|
+
name: string;
|
|
1700
|
+
tuitionFee: number;
|
|
1701
|
+
note?: string;
|
|
1702
|
+
classLearningTime?: {
|
|
1703
|
+
startTime: string;
|
|
1704
|
+
endTime: string;
|
|
1705
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
1706
|
+
}[];
|
|
1707
|
+
};
|
|
1675
1708
|
|
|
1676
1709
|
type TProgramRegisteredMeTutorEdit = {
|
|
1677
1710
|
id: string;
|
|
@@ -2634,5 +2667,10 @@ type TPostPublicDetailRes = (TPostEntity & TPostStatistic & {
|
|
|
2634
2667
|
})[];
|
|
2635
2668
|
}) | null;
|
|
2636
2669
|
type TClassCancelRes = TClassEntity;
|
|
2670
|
+
type TTutorInternalOptionsRes = {
|
|
2671
|
+
accounts: TAccountEntity[];
|
|
2672
|
+
total: number;
|
|
2673
|
+
};
|
|
2674
|
+
type TClassRoomCreateRes = TClassRoomEntity;
|
|
2637
2675
|
|
|
2638
|
-
export { ACCEPTED_AUDIO_TYPES, ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BaseInternalEntity, type BasePaginationParams, type BaseResponse, CLASS_ROOM_STATUS, CLASS_STATUS, CLASS_STATUS_CANCELED_REASON, CLASS_STATUS_CANCELED_REASON_STUDENT, CLASS_STATUS_CANCELED_REASON_TUTOR, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_ATTENDANCE_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_ROOM_STATUS, OBJECT_CLASS_STATUS, OBJECT_CLASS_STATUS_CANCELED_REASON, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_LESSON_ATTENDANCE_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_PROGRAM_TYPE, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_REQUEST_TUTOR_FORM_STATUS, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_STUDENT_IN_CLASS_ROOM_STATUS, OBJECT_TEACHING_TIME_RANGE, OBJECT_TRANSACTION_STATUS, OBJECT_TRANSACTION_TYPE, OBJECT_WITHDRAW_REQUEST_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, PROGRAM_TYPE, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, REQUEST_TUTOR_FORM_STATUS, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, STUDENT_IN_CLASS_ROOM_STATUS, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicListSitemap, type TAccountPublicListSitemapRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCancel, type TClassCancelRes, type TClassCountStatus, type TClassCountStatusRes, type TClassCreateByRequestTutor, type TClassCreateByRequestTutorRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStatistic, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDayOfWeekEntity, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteMultiple, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, type TDocumentFolderImport, type TDocumentFolderImportRes, type TDocumentFolderListRes, type TDocumentFolderTreeListRes, type TDocumentFolderUpdate, type TDocumentFolderUpdateRes, type TDocumentGetByDocuments, type TDocumentGetByDocumentsRes, type TDocumentImport, type TDocumentList, type TDocumentListRes, type TDocumentMove, type TDocumentMoveRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, TEACHING_TIME_RANGE, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultHistories, type TGroupQuestionResultHistoriesRes, type TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultHistories, type TGroupQuestionStudentResultHistoriesRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type THistoryLoginEntity, type TInternalAccountEntity, type TInternalAccountList, type TInternalAccountListRes, type TInternalAccountLogin, type TInternalAccountLoginRes, type TInternalAccountNew, type TInternalAccountNewRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllShareDocument, type TPostAllShareDocumentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpdateShareDocument, type TPostAllUpdateShareDocumentRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostDocumentEntity, type TPostDocumentPublicEditorDetailRes, type TPostDocumentPublicGroupQuestionDetailRes, type TPostEntity, type TPostPublicDetailRes, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicListSiteMap, type TPostPublicListSiteMapRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TPostStatistic, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramPublicListSitemap, type TProgramPublicListSitemapRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, TRANSACTION_FEE, TRANSACTION_GATEWAY, TRANSACTION_STATUS, TRANSACTION_TYPE, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, type TRequestTutorFormGetByCodeRes, type TRequestTutorFormInternalAssignTutor, type TRequestTutorFormInternalAssignTutorRes, type TRequestTutorFormInternalCancel, type TRequestTutorFormInternalCancelRes, type TRequestTutorFormInternalCountStatusRes, type TRequestTutorFormInternalList, type TRequestTutorFormInternalListRes, type TRequestTutorFormList, type TRequestTutorFormListRes, type TSessionGroupQuestionEntity, type TSessionGroupQuestionStatistic, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteMultiple, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderImport, type TStudentDocumentFolderImportRes, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentImport, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTeachingTimeRangeEntity, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorInternalOptions, type TTutorInternalOptionsRes, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
|
|
2676
|
+
export { ACCEPTED_AUDIO_TYPES, ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BaseInternalEntity, type BasePaginationParams, type BaseResponse, CLASS_INHERITANCE_TYPE, CLASS_ROOM_STATUS, CLASS_STATUS, CLASS_STATUS_CANCELED_REASON, CLASS_STATUS_CANCELED_REASON_STUDENT, CLASS_STATUS_CANCELED_REASON_TUTOR, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_ATTENDANCE_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_CLASS_ROOM, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_ROOM_STATUS, OBJECT_CLASS_STATUS, OBJECT_CLASS_STATUS_CANCELED_REASON, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_LESSON_ATTENDANCE_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_PROGRAM_TYPE, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_REQUEST_TUTOR_FORM_STATUS, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_STUDENT_IN_CLASS_ROOM_STATUS, OBJECT_TEACHING_TIME_RANGE, OBJECT_TRANSACTION_STATUS, OBJECT_TRANSACTION_TYPE, OBJECT_WITHDRAW_REQUEST_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, PROGRAM_TYPE, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, REQUEST_TUTOR_FORM_STATUS, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, STUDENT_IN_CLASS_ROOM_STATUS, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicListSitemap, type TAccountPublicListSitemapRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCancel, type TClassCancelRes, type TClassCountStatus, type TClassCountStatusRes, type TClassCreateByRequestTutor, type TClassCreateByRequestTutorRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStatistic, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassRoomCreate, type TClassRoomCreateRes, type TClassRoomEntity, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDayOfWeekEntity, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteMultiple, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, type TDocumentFolderImport, type TDocumentFolderImportRes, type TDocumentFolderListRes, type TDocumentFolderTreeListRes, type TDocumentFolderUpdate, type TDocumentFolderUpdateRes, type TDocumentGetByDocuments, type TDocumentGetByDocumentsRes, type TDocumentImport, type TDocumentList, type TDocumentListRes, type TDocumentMove, type TDocumentMoveRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, TEACHING_TIME_RANGE, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultHistories, type TGroupQuestionResultHistoriesRes, type TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultHistories, type TGroupQuestionStudentResultHistoriesRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type THistoryLoginEntity, type TInternalAccountEntity, type TInternalAccountList, type TInternalAccountListRes, type TInternalAccountLogin, type TInternalAccountLoginRes, type TInternalAccountNew, type TInternalAccountNewRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonClassRoomEntity, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllShareDocument, type TPostAllShareDocumentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpdateShareDocument, type TPostAllUpdateShareDocumentRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostDocumentEntity, type TPostDocumentPublicEditorDetailRes, type TPostDocumentPublicGroupQuestionDetailRes, type TPostEntity, type TPostPublicDetailRes, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicListSiteMap, type TPostPublicListSiteMapRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TPostStatistic, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramPublicListSitemap, type TProgramPublicListSitemapRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, TRANSACTION_FEE, TRANSACTION_GATEWAY, TRANSACTION_STATUS, TRANSACTION_TYPE, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, type TRequestTutorFormGetByCodeRes, type TRequestTutorFormInternalAssignTutor, type TRequestTutorFormInternalAssignTutorRes, type TRequestTutorFormInternalCancel, type TRequestTutorFormInternalCancelRes, type TRequestTutorFormInternalCountStatusRes, type TRequestTutorFormInternalList, type TRequestTutorFormInternalListRes, type TRequestTutorFormList, type TRequestTutorFormListRes, type TSessionGroupQuestionEntity, type TSessionGroupQuestionStatistic, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteMultiple, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderImport, type TStudentDocumentFolderImportRes, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentImport, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTeachingTimeRangeEntity, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorInternalOptions, type TTutorInternalOptionsRes, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
|
package/dist/index.d.ts
CHANGED
|
@@ -343,10 +343,18 @@ type TRequestTutorFormEntity = {
|
|
|
343
343
|
completedAt: string | null;
|
|
344
344
|
processAt: string | null;
|
|
345
345
|
} & BaseEntity;
|
|
346
|
-
type
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
346
|
+
type TLessonClassRoomEntity = {
|
|
347
|
+
startTime: string;
|
|
348
|
+
endTime: string;
|
|
349
|
+
status: LESSON_ACTIVITY_STATUS;
|
|
350
|
+
note: string;
|
|
351
|
+
} & BaseEntity;
|
|
352
|
+
type TClassRoomEntity = {
|
|
353
|
+
name: string;
|
|
354
|
+
feePerLesson: number;
|
|
355
|
+
status: CLASS_ROOM_STATUS;
|
|
356
|
+
program: TProgramEntity;
|
|
357
|
+
} & BaseEntity;
|
|
350
358
|
|
|
351
359
|
declare enum CUSTOMER_TYPE {
|
|
352
360
|
TUTOR = "tutor",
|
|
@@ -585,6 +593,8 @@ declare enum CLASS_ROOM_STATUS {
|
|
|
585
593
|
CANCELED = "canceled"
|
|
586
594
|
}
|
|
587
595
|
declare enum STUDENT_IN_CLASS_ROOM_STATUS {
|
|
596
|
+
PENDING = "PENDING",// Chưa chấp nhập lời mời tham gia
|
|
597
|
+
REJECTED = "REJECTED",// từ chối lời mời tham gia
|
|
588
598
|
ACTIVE = "ACTIVE",// Hoạt động
|
|
589
599
|
INACTIVE = "INACTIVE",// Không hoạt động
|
|
590
600
|
SUSPENDED = "SUSPENDED"
|
|
@@ -598,8 +608,12 @@ declare enum PROGRAM_TYPE {
|
|
|
598
608
|
ONE_TO_ONE = "ONE_TO_ONE",// dạy 1-1
|
|
599
609
|
GROUP = "GROUP"
|
|
600
610
|
}
|
|
611
|
+
declare enum CLASS_INHERITANCE_TYPE {
|
|
612
|
+
ONE_TO_ONE = "ONE_TO_ONE",// lớp học 1-1
|
|
613
|
+
ROOM = "ROOM"
|
|
614
|
+
}
|
|
601
615
|
|
|
602
|
-
declare const OTP_RESEND_TIME =
|
|
616
|
+
declare const OTP_RESEND_TIME = 60;
|
|
603
617
|
declare const URL_CLASS_DETAIL = "/class-detail";
|
|
604
618
|
declare const COMMON_ROUTES: {
|
|
605
619
|
classList: string;
|
|
@@ -623,6 +637,7 @@ declare const LESSON_FEE_RATE: number;
|
|
|
623
637
|
declare const HASHED_PIN_LENGTH = 5;
|
|
624
638
|
declare const MAX_DOCUMENT_FOLDER = 20;
|
|
625
639
|
declare const MAX_STUDENT_DOCUMENT_FOLDER = 20;
|
|
640
|
+
declare const MAX_STUDENT_CLASS_ROOM = 7;
|
|
626
641
|
|
|
627
642
|
declare const OBJECT_REGISTER_METHOD: {
|
|
628
643
|
email: {
|
|
@@ -1030,6 +1045,14 @@ declare const OBJECT_CLASS_ROOM_STATUS: {
|
|
|
1030
1045
|
};
|
|
1031
1046
|
};
|
|
1032
1047
|
declare const OBJECT_STUDENT_IN_CLASS_ROOM_STATUS: {
|
|
1048
|
+
REJECTED: {
|
|
1049
|
+
value: STUDENT_IN_CLASS_ROOM_STATUS;
|
|
1050
|
+
label: string;
|
|
1051
|
+
};
|
|
1052
|
+
PENDING: {
|
|
1053
|
+
value: STUDENT_IN_CLASS_ROOM_STATUS;
|
|
1054
|
+
label: string;
|
|
1055
|
+
};
|
|
1033
1056
|
ACTIVE: {
|
|
1034
1057
|
value: STUDENT_IN_CLASS_ROOM_STATUS;
|
|
1035
1058
|
label: string;
|
|
@@ -1672,6 +1695,16 @@ type TClassCreateByRequestTutor = {
|
|
|
1672
1695
|
type TProgramPublicListSitemap = {} & BasePaginationParams;
|
|
1673
1696
|
type TPostPublicListSiteMap = {} & BasePaginationParams;
|
|
1674
1697
|
type TAccountPublicListSitemap = {} & BasePaginationParams;
|
|
1698
|
+
type TClassRoomCreate = {
|
|
1699
|
+
name: string;
|
|
1700
|
+
tuitionFee: number;
|
|
1701
|
+
note?: string;
|
|
1702
|
+
classLearningTime?: {
|
|
1703
|
+
startTime: string;
|
|
1704
|
+
endTime: string;
|
|
1705
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
1706
|
+
}[];
|
|
1707
|
+
};
|
|
1675
1708
|
|
|
1676
1709
|
type TProgramRegisteredMeTutorEdit = {
|
|
1677
1710
|
id: string;
|
|
@@ -2634,5 +2667,10 @@ type TPostPublicDetailRes = (TPostEntity & TPostStatistic & {
|
|
|
2634
2667
|
})[];
|
|
2635
2668
|
}) | null;
|
|
2636
2669
|
type TClassCancelRes = TClassEntity;
|
|
2670
|
+
type TTutorInternalOptionsRes = {
|
|
2671
|
+
accounts: TAccountEntity[];
|
|
2672
|
+
total: number;
|
|
2673
|
+
};
|
|
2674
|
+
type TClassRoomCreateRes = TClassRoomEntity;
|
|
2637
2675
|
|
|
2638
|
-
export { ACCEPTED_AUDIO_TYPES, ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BaseInternalEntity, type BasePaginationParams, type BaseResponse, CLASS_ROOM_STATUS, CLASS_STATUS, CLASS_STATUS_CANCELED_REASON, CLASS_STATUS_CANCELED_REASON_STUDENT, CLASS_STATUS_CANCELED_REASON_TUTOR, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_ATTENDANCE_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_ROOM_STATUS, OBJECT_CLASS_STATUS, OBJECT_CLASS_STATUS_CANCELED_REASON, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_LESSON_ATTENDANCE_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_PROGRAM_TYPE, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_REQUEST_TUTOR_FORM_STATUS, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_STUDENT_IN_CLASS_ROOM_STATUS, OBJECT_TEACHING_TIME_RANGE, OBJECT_TRANSACTION_STATUS, OBJECT_TRANSACTION_TYPE, OBJECT_WITHDRAW_REQUEST_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, PROGRAM_TYPE, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, REQUEST_TUTOR_FORM_STATUS, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, STUDENT_IN_CLASS_ROOM_STATUS, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicListSitemap, type TAccountPublicListSitemapRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCancel, type TClassCancelRes, type TClassCountStatus, type TClassCountStatusRes, type TClassCreateByRequestTutor, type TClassCreateByRequestTutorRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStatistic, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDayOfWeekEntity, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteMultiple, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, type TDocumentFolderImport, type TDocumentFolderImportRes, type TDocumentFolderListRes, type TDocumentFolderTreeListRes, type TDocumentFolderUpdate, type TDocumentFolderUpdateRes, type TDocumentGetByDocuments, type TDocumentGetByDocumentsRes, type TDocumentImport, type TDocumentList, type TDocumentListRes, type TDocumentMove, type TDocumentMoveRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, TEACHING_TIME_RANGE, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultHistories, type TGroupQuestionResultHistoriesRes, type TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultHistories, type TGroupQuestionStudentResultHistoriesRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type THistoryLoginEntity, type TInternalAccountEntity, type TInternalAccountList, type TInternalAccountListRes, type TInternalAccountLogin, type TInternalAccountLoginRes, type TInternalAccountNew, type TInternalAccountNewRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllShareDocument, type TPostAllShareDocumentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpdateShareDocument, type TPostAllUpdateShareDocumentRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostDocumentEntity, type TPostDocumentPublicEditorDetailRes, type TPostDocumentPublicGroupQuestionDetailRes, type TPostEntity, type TPostPublicDetailRes, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicListSiteMap, type TPostPublicListSiteMapRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TPostStatistic, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramPublicListSitemap, type TProgramPublicListSitemapRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, TRANSACTION_FEE, TRANSACTION_GATEWAY, TRANSACTION_STATUS, TRANSACTION_TYPE, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, type TRequestTutorFormGetByCodeRes, type TRequestTutorFormInternalAssignTutor, type TRequestTutorFormInternalAssignTutorRes, type TRequestTutorFormInternalCancel, type TRequestTutorFormInternalCancelRes, type TRequestTutorFormInternalCountStatusRes, type TRequestTutorFormInternalList, type TRequestTutorFormInternalListRes, type TRequestTutorFormList, type TRequestTutorFormListRes, type TSessionGroupQuestionEntity, type TSessionGroupQuestionStatistic, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteMultiple, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderImport, type TStudentDocumentFolderImportRes, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentImport, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTeachingTimeRangeEntity, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorInternalOptions, type TTutorInternalOptionsRes, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
|
|
2676
|
+
export { ACCEPTED_AUDIO_TYPES, ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BaseInternalEntity, type BasePaginationParams, type BaseResponse, CLASS_INHERITANCE_TYPE, CLASS_ROOM_STATUS, CLASS_STATUS, CLASS_STATUS_CANCELED_REASON, CLASS_STATUS_CANCELED_REASON_STUDENT, CLASS_STATUS_CANCELED_REASON_TUTOR, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_ATTENDANCE_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_CLASS_ROOM, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_ROOM_STATUS, OBJECT_CLASS_STATUS, OBJECT_CLASS_STATUS_CANCELED_REASON, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_LESSON_ATTENDANCE_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_PROGRAM_TYPE, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_REQUEST_TUTOR_FORM_STATUS, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_STUDENT_IN_CLASS_ROOM_STATUS, OBJECT_TEACHING_TIME_RANGE, OBJECT_TRANSACTION_STATUS, OBJECT_TRANSACTION_TYPE, OBJECT_WITHDRAW_REQUEST_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, PROGRAM_TYPE, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, REQUEST_TUTOR_FORM_STATUS, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, STUDENT_IN_CLASS_ROOM_STATUS, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicListSitemap, type TAccountPublicListSitemapRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCancel, type TClassCancelRes, type TClassCountStatus, type TClassCountStatusRes, type TClassCreateByRequestTutor, type TClassCreateByRequestTutorRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStatistic, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassRoomCreate, type TClassRoomCreateRes, type TClassRoomEntity, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDayOfWeekEntity, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteMultiple, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, type TDocumentFolderImport, type TDocumentFolderImportRes, type TDocumentFolderListRes, type TDocumentFolderTreeListRes, type TDocumentFolderUpdate, type TDocumentFolderUpdateRes, type TDocumentGetByDocuments, type TDocumentGetByDocumentsRes, type TDocumentImport, type TDocumentList, type TDocumentListRes, type TDocumentMove, type TDocumentMoveRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, TEACHING_TIME_RANGE, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultHistories, type TGroupQuestionResultHistoriesRes, type TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultHistories, type TGroupQuestionStudentResultHistoriesRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type THistoryLoginEntity, type TInternalAccountEntity, type TInternalAccountList, type TInternalAccountListRes, type TInternalAccountLogin, type TInternalAccountLoginRes, type TInternalAccountNew, type TInternalAccountNewRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonClassRoomEntity, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllShareDocument, type TPostAllShareDocumentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpdateShareDocument, type TPostAllUpdateShareDocumentRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostDocumentEntity, type TPostDocumentPublicEditorDetailRes, type TPostDocumentPublicGroupQuestionDetailRes, type TPostEntity, type TPostPublicDetailRes, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicListSiteMap, type TPostPublicListSiteMapRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TPostStatistic, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramPublicListSitemap, type TProgramPublicListSitemapRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, TRANSACTION_FEE, TRANSACTION_GATEWAY, TRANSACTION_STATUS, TRANSACTION_TYPE, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, type TRequestTutorFormGetByCodeRes, type TRequestTutorFormInternalAssignTutor, type TRequestTutorFormInternalAssignTutorRes, type TRequestTutorFormInternalCancel, type TRequestTutorFormInternalCancelRes, type TRequestTutorFormInternalCountStatusRes, type TRequestTutorFormInternalList, type TRequestTutorFormInternalListRes, type TRequestTutorFormList, type TRequestTutorFormListRes, type TSessionGroupQuestionEntity, type TSessionGroupQuestionStatistic, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteMultiple, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderImport, type TStudentDocumentFolderImportRes, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentImport, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTeachingTimeRangeEntity, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorInternalOptions, type TTutorInternalOptionsRes, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
|
package/dist/index.mjs
CHANGED
|
@@ -221,6 +221,8 @@ var CLASS_ROOM_STATUS = /* @__PURE__ */ ((CLASS_ROOM_STATUS2) => {
|
|
|
221
221
|
return CLASS_ROOM_STATUS2;
|
|
222
222
|
})(CLASS_ROOM_STATUS || {});
|
|
223
223
|
var STUDENT_IN_CLASS_ROOM_STATUS = /* @__PURE__ */ ((STUDENT_IN_CLASS_ROOM_STATUS2) => {
|
|
224
|
+
STUDENT_IN_CLASS_ROOM_STATUS2["PENDING"] = "PENDING";
|
|
225
|
+
STUDENT_IN_CLASS_ROOM_STATUS2["REJECTED"] = "REJECTED";
|
|
224
226
|
STUDENT_IN_CLASS_ROOM_STATUS2["ACTIVE"] = "ACTIVE";
|
|
225
227
|
STUDENT_IN_CLASS_ROOM_STATUS2["INACTIVE"] = "INACTIVE";
|
|
226
228
|
STUDENT_IN_CLASS_ROOM_STATUS2["SUSPENDED"] = "SUSPENDED";
|
|
@@ -237,9 +239,14 @@ var PROGRAM_TYPE = /* @__PURE__ */ ((PROGRAM_TYPE2) => {
|
|
|
237
239
|
PROGRAM_TYPE2["GROUP"] = "GROUP";
|
|
238
240
|
return PROGRAM_TYPE2;
|
|
239
241
|
})(PROGRAM_TYPE || {});
|
|
242
|
+
var CLASS_INHERITANCE_TYPE = /* @__PURE__ */ ((CLASS_INHERITANCE_TYPE2) => {
|
|
243
|
+
CLASS_INHERITANCE_TYPE2["ONE_TO_ONE"] = "ONE_TO_ONE";
|
|
244
|
+
CLASS_INHERITANCE_TYPE2["ROOM"] = "ROOM";
|
|
245
|
+
return CLASS_INHERITANCE_TYPE2;
|
|
246
|
+
})(CLASS_INHERITANCE_TYPE || {});
|
|
240
247
|
|
|
241
248
|
// src/constant.ts
|
|
242
|
-
var OTP_RESEND_TIME =
|
|
249
|
+
var OTP_RESEND_TIME = 60;
|
|
243
250
|
var URL_CLASS_DETAIL = "/class-detail";
|
|
244
251
|
var COMMON_ROUTES = {
|
|
245
252
|
classList: "/class",
|
|
@@ -299,6 +306,7 @@ var LESSON_FEE_RATE = 3 / 100;
|
|
|
299
306
|
var HASHED_PIN_LENGTH = 5;
|
|
300
307
|
var MAX_DOCUMENT_FOLDER = 20;
|
|
301
308
|
var MAX_STUDENT_DOCUMENT_FOLDER = 20;
|
|
309
|
+
var MAX_STUDENT_CLASS_ROOM = 7;
|
|
302
310
|
|
|
303
311
|
// src/object-enum.ts
|
|
304
312
|
var OBJECT_REGISTER_METHOD = {
|
|
@@ -733,6 +741,14 @@ var OBJECT_CLASS_ROOM_STATUS = {
|
|
|
733
741
|
}
|
|
734
742
|
};
|
|
735
743
|
var OBJECT_STUDENT_IN_CLASS_ROOM_STATUS = {
|
|
744
|
+
["REJECTED" /* REJECTED */]: {
|
|
745
|
+
value: "REJECTED" /* REJECTED */,
|
|
746
|
+
label: "T\u1EEB ch\u1ED1i tham gia"
|
|
747
|
+
},
|
|
748
|
+
["PENDING" /* PENDING */]: {
|
|
749
|
+
value: "PENDING" /* PENDING */,
|
|
750
|
+
label: "Ch\u1EDD ph\u1EA3n h\u1ED3i"
|
|
751
|
+
},
|
|
736
752
|
["ACTIVE" /* ACTIVE */]: {
|
|
737
753
|
value: "ACTIVE" /* ACTIVE */,
|
|
738
754
|
label: "Hoa\u0323t \u0111o\u0323\u0302ng"
|
|
@@ -777,6 +793,7 @@ export {
|
|
|
777
793
|
ANSWER_QUESTION_TYPE,
|
|
778
794
|
AT_LEAST_ALLOW_RATING_PROGRAM_HOUR,
|
|
779
795
|
AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS,
|
|
796
|
+
CLASS_INHERITANCE_TYPE,
|
|
780
797
|
CLASS_ROOM_STATUS,
|
|
781
798
|
CLASS_STATUS,
|
|
782
799
|
CLASS_STATUS_CANCELED_REASON,
|
|
@@ -795,6 +812,7 @@ export {
|
|
|
795
812
|
LESSON_ATTENDANCE_STATUS,
|
|
796
813
|
LESSON_FEE_RATE,
|
|
797
814
|
MAX_DOCUMENT_FOLDER,
|
|
815
|
+
MAX_STUDENT_CLASS_ROOM,
|
|
798
816
|
MAX_STUDENT_DOCUMENT_FOLDER,
|
|
799
817
|
MISSING_TRANSACTION_TYPE,
|
|
800
818
|
NOTIFICATION_STATUS,
|