gst-common 1.5.70 → 1.5.72

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 CHANGED
@@ -322,8 +322,8 @@ var CLASS_STATUS_ORDER = [
322
322
  var TRANSACTION_FEE = 175;
323
323
  var LESSON_FEE_RATE = 4.5 / 100;
324
324
  var HASHED_PIN_LENGTH = 5;
325
- var MAX_DOCUMENT_FOLDER = 5;
326
- var MAX_STUDENT_DOCUMENT_FOLDER = 8;
325
+ var MAX_DOCUMENT_FOLDER = 20;
326
+ var MAX_STUDENT_DOCUMENT_FOLDER = 20;
327
327
 
328
328
  // src/object-enum.ts
329
329
  var OBJECT_REGISTER_METHOD = {
package/dist/index.d.cts CHANGED
@@ -510,8 +510,8 @@ declare const CLASS_STATUS_ORDER: CLASS_STATUS[];
510
510
  declare const TRANSACTION_FEE = 175;
511
511
  declare const LESSON_FEE_RATE: number;
512
512
  declare const HASHED_PIN_LENGTH = 5;
513
- declare const MAX_DOCUMENT_FOLDER = 5;
514
- declare const MAX_STUDENT_DOCUMENT_FOLDER = 8;
513
+ declare const MAX_DOCUMENT_FOLDER = 20;
514
+ declare const MAX_STUDENT_DOCUMENT_FOLDER = 20;
515
515
 
516
516
  declare const OBJECT_REGISTER_METHOD: {
517
517
  email: {
@@ -1361,6 +1361,13 @@ type TStudentDocumentGetByDocuments = {
1361
1361
  type TPostAllUpdateShareDocument = {
1362
1362
  postId: string;
1363
1363
  } & Partial<TPostAllShareDocument>;
1364
+ type TStudentDocumentFolderImport = {
1365
+ documentFolderName: string;
1366
+ documentOrders: {
1367
+ documentId: string;
1368
+ order: number;
1369
+ }[];
1370
+ };
1364
1371
 
1365
1372
  type TProgramRegisteredMeTutorEdit = {
1366
1373
  id: string;
@@ -1988,10 +1995,11 @@ type TPostAllMyPostRes = {
1988
1995
  totalComments: number;
1989
1996
  totalUpvote: number;
1990
1997
  hasUpvoted: boolean;
1991
- documents: (TPostDocumentEntity & {
1998
+ documents: (TDocumentsEntity & {
1992
1999
  file: TFileEntity;
1993
2000
  groupQuestion: TGroupQuestionEntity;
1994
2001
  editor: TEditorEntity;
2002
+ referencedDocument: TDocumentsEntity;
1995
2003
  })[];
1996
2004
  })[];
1997
2005
  };
@@ -2021,10 +2029,11 @@ type TPostPublicNewFeedsRes = {
2021
2029
  files: TFileEntity[];
2022
2030
  createdBy: TAccountEntity;
2023
2031
  updatedBy: TAccountEntity;
2024
- documents: (TPostDocumentEntity & {
2032
+ documents: (TDocumentsEntity & {
2025
2033
  file: TFileEntity;
2026
2034
  groupQuestion: TGroupQuestionEntity;
2027
2035
  editor: TEditorEntity;
2036
+ referencedDocument: TDocumentsEntity;
2028
2037
  })[];
2029
2038
  })[];
2030
2039
  total: number;
@@ -2059,10 +2068,11 @@ type TPostAllListPostByAccountRes = {
2059
2068
  posts: (TPostEntity & {
2060
2069
  createdBy: TAccountEntity;
2061
2070
  files: TFileEntity[];
2062
- documents: (TPostDocumentEntity & {
2071
+ documents: (TDocumentsEntity & {
2063
2072
  file: TFileEntity;
2064
2073
  groupQuestion: TGroupQuestionEntity;
2065
2074
  editor: TEditorEntity;
2075
+ referencedDocument: TDocumentsEntity;
2066
2076
  })[];
2067
2077
  hasUpvoted: boolean;
2068
2078
  totalUpvote: number;
@@ -2218,5 +2228,6 @@ type TStudentDocumentGetByDocumentsRes = (TDocumentsEntity & {
2218
2228
  type TPostAllUpdateShareDocumentRes = TPostEntity & {
2219
2229
  documents: TDocumentsEntity[];
2220
2230
  };
2231
+ type TStudentDocumentFolderImportRes = TStudentDocumentFolderEntity;
2221
2232
 
2222
- 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_STATUS, 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_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, 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, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, 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 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 TClassCountStatus, type TClassCountStatusRes, 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 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 TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteEditorRes, type TDocumentDeleteFileRes, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, 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, 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 TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, 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 TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, 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 TSessionGroupQuestionEntity, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteEditorRes, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, 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 };
2233
+ 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_STATUS, 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_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, 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, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, 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 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 TClassCountStatus, type TClassCountStatusRes, 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 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 TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteEditorRes, type TDocumentDeleteFileRes, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, 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, 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 TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, 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 TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, 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 TSessionGroupQuestionEntity, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteEditorRes, 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 TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, 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
@@ -510,8 +510,8 @@ declare const CLASS_STATUS_ORDER: CLASS_STATUS[];
510
510
  declare const TRANSACTION_FEE = 175;
511
511
  declare const LESSON_FEE_RATE: number;
512
512
  declare const HASHED_PIN_LENGTH = 5;
513
- declare const MAX_DOCUMENT_FOLDER = 5;
514
- declare const MAX_STUDENT_DOCUMENT_FOLDER = 8;
513
+ declare const MAX_DOCUMENT_FOLDER = 20;
514
+ declare const MAX_STUDENT_DOCUMENT_FOLDER = 20;
515
515
 
516
516
  declare const OBJECT_REGISTER_METHOD: {
517
517
  email: {
@@ -1361,6 +1361,13 @@ type TStudentDocumentGetByDocuments = {
1361
1361
  type TPostAllUpdateShareDocument = {
1362
1362
  postId: string;
1363
1363
  } & Partial<TPostAllShareDocument>;
1364
+ type TStudentDocumentFolderImport = {
1365
+ documentFolderName: string;
1366
+ documentOrders: {
1367
+ documentId: string;
1368
+ order: number;
1369
+ }[];
1370
+ };
1364
1371
 
1365
1372
  type TProgramRegisteredMeTutorEdit = {
1366
1373
  id: string;
@@ -1988,10 +1995,11 @@ type TPostAllMyPostRes = {
1988
1995
  totalComments: number;
1989
1996
  totalUpvote: number;
1990
1997
  hasUpvoted: boolean;
1991
- documents: (TPostDocumentEntity & {
1998
+ documents: (TDocumentsEntity & {
1992
1999
  file: TFileEntity;
1993
2000
  groupQuestion: TGroupQuestionEntity;
1994
2001
  editor: TEditorEntity;
2002
+ referencedDocument: TDocumentsEntity;
1995
2003
  })[];
1996
2004
  })[];
1997
2005
  };
@@ -2021,10 +2029,11 @@ type TPostPublicNewFeedsRes = {
2021
2029
  files: TFileEntity[];
2022
2030
  createdBy: TAccountEntity;
2023
2031
  updatedBy: TAccountEntity;
2024
- documents: (TPostDocumentEntity & {
2032
+ documents: (TDocumentsEntity & {
2025
2033
  file: TFileEntity;
2026
2034
  groupQuestion: TGroupQuestionEntity;
2027
2035
  editor: TEditorEntity;
2036
+ referencedDocument: TDocumentsEntity;
2028
2037
  })[];
2029
2038
  })[];
2030
2039
  total: number;
@@ -2059,10 +2068,11 @@ type TPostAllListPostByAccountRes = {
2059
2068
  posts: (TPostEntity & {
2060
2069
  createdBy: TAccountEntity;
2061
2070
  files: TFileEntity[];
2062
- documents: (TPostDocumentEntity & {
2071
+ documents: (TDocumentsEntity & {
2063
2072
  file: TFileEntity;
2064
2073
  groupQuestion: TGroupQuestionEntity;
2065
2074
  editor: TEditorEntity;
2075
+ referencedDocument: TDocumentsEntity;
2066
2076
  })[];
2067
2077
  hasUpvoted: boolean;
2068
2078
  totalUpvote: number;
@@ -2218,5 +2228,6 @@ type TStudentDocumentGetByDocumentsRes = (TDocumentsEntity & {
2218
2228
  type TPostAllUpdateShareDocumentRes = TPostEntity & {
2219
2229
  documents: TDocumentsEntity[];
2220
2230
  };
2231
+ type TStudentDocumentFolderImportRes = TStudentDocumentFolderEntity;
2221
2232
 
2222
- 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_STATUS, 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_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, 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, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, 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 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 TClassCountStatus, type TClassCountStatusRes, 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 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 TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteEditorRes, type TDocumentDeleteFileRes, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, 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, 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 TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, 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 TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, 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 TSessionGroupQuestionEntity, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteEditorRes, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, 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 };
2233
+ 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_STATUS, 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_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, 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, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, 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 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 TClassCountStatus, type TClassCountStatusRes, 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 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 TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteEditorRes, type TDocumentDeleteFileRes, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, 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, 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 TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, 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 TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, 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 TSessionGroupQuestionEntity, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteEditorRes, 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 TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, 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
@@ -234,8 +234,8 @@ var CLASS_STATUS_ORDER = [
234
234
  var TRANSACTION_FEE = 175;
235
235
  var LESSON_FEE_RATE = 4.5 / 100;
236
236
  var HASHED_PIN_LENGTH = 5;
237
- var MAX_DOCUMENT_FOLDER = 5;
238
- var MAX_STUDENT_DOCUMENT_FOLDER = 8;
237
+ var MAX_DOCUMENT_FOLDER = 20;
238
+ var MAX_STUDENT_DOCUMENT_FOLDER = 20;
239
239
 
240
240
  // src/object-enum.ts
241
241
  var OBJECT_REGISTER_METHOD = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.5.70",
3
+ "version": "1.5.72",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",