gst-common 1.4.86 → 1.4.88

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
@@ -53,6 +53,9 @@ __export(index_exports, {
53
53
  OBJECT_REGISTER_METHOD: () => OBJECT_REGISTER_METHOD,
54
54
  OBJECT_SCHOOL_STATUS: () => OBJECT_SCHOOL_STATUS,
55
55
  OBJECT_SORT_TYPE: () => OBJECT_SORT_TYPE,
56
+ OBJECT_TRANSACTION_STATUS: () => OBJECT_TRANSACTION_STATUS,
57
+ OBJECT_TRANSACTION_TYPE: () => OBJECT_TRANSACTION_TYPE,
58
+ OBJECT_WITHDRAW_REQUEST_STATUS: () => OBJECT_WITHDRAW_REQUEST_STATUS,
56
59
  OBJ_SESSION_PER_WEEK: () => OBJ_SESSION_PER_WEEK,
57
60
  OTP_RESEND_TIME: () => OTP_RESEND_TIME,
58
61
  POST_TYPE: () => POST_TYPE,
@@ -251,10 +254,7 @@ var COMMON_ROUTES = {
251
254
  registeredProgram: "/registered-program",
252
255
  studentClassList: "/student-class",
253
256
  classDetail: (id) => {
254
- return `/class-detail/${id}`;
255
- },
256
- studentClassDetail: (id) => {
257
- return `/student-class-detail/${id}`;
257
+ return `${URL_CLASS_DETAIL}/${id}`;
258
258
  },
259
259
  programDetail: (id, tab) => {
260
260
  if (tab) return `/program-detail/${id}?tab=${tab}`;
@@ -579,6 +579,48 @@ var OBJECT_ANSWER_QUESTION_TYPE = {
579
579
  label: "Ch\u1EDD ch\u1EA5m"
580
580
  }
581
581
  };
582
+ var OBJECT_TRANSACTION_TYPE = {
583
+ ["DEPOSIT" /* DEPOSIT */]: {
584
+ value: "DEPOSIT" /* DEPOSIT */,
585
+ label: "N\u1ED9p ti\u1EC1n"
586
+ },
587
+ ["WITHDRAW" /* WITHDRAW */]: {
588
+ value: "WITHDRAW" /* WITHDRAW */,
589
+ label: "R\xFAt ti\u1EC1n"
590
+ },
591
+ ["LESSON_FEE" /* LESSON_FEE */]: {
592
+ value: "LESSON_FEE" /* LESSON_FEE */,
593
+ label: "H\u1ECDc ph\xED"
594
+ }
595
+ };
596
+ var OBJECT_TRANSACTION_STATUS = {
597
+ ["PENDING" /* PENDING */]: {
598
+ value: "PENDING" /* PENDING */,
599
+ label: "Ch\u1EDD thanh to\xE1n"
600
+ },
601
+ ["SUCCESS" /* SUCCESS */]: {
602
+ value: "SUCCESS" /* SUCCESS */,
603
+ label: "Th\xE0nh c\xF4ng"
604
+ },
605
+ ["FAILED" /* FAILED */]: {
606
+ value: "FAILED" /* FAILED */,
607
+ label: "Th\u1EA5t b\u1EA1i"
608
+ }
609
+ };
610
+ var OBJECT_WITHDRAW_REQUEST_STATUS = {
611
+ ["PENDING" /* PENDING */]: {
612
+ value: "PENDING" /* PENDING */,
613
+ label: "\u0110\u1EE3i x\u1EED l\xFD"
614
+ },
615
+ ["APPROVED" /* APPROVED */]: {
616
+ value: "APPROVED" /* APPROVED */,
617
+ label: "\u0110\xE3 x\u1EED l\xFD"
618
+ },
619
+ ["REJECTED" /* REJECTED */]: {
620
+ value: "REJECTED" /* REJECTED */,
621
+ label: "T\u1EEB ch\u1ED1i"
622
+ }
623
+ };
582
624
  // Annotate the CommonJS export names for ESM import in node:
583
625
  0 && (module.exports = {
584
626
  ACCEPTED_IMAGE_TYPES,
@@ -614,6 +656,9 @@ var OBJECT_ANSWER_QUESTION_TYPE = {
614
656
  OBJECT_REGISTER_METHOD,
615
657
  OBJECT_SCHOOL_STATUS,
616
658
  OBJECT_SORT_TYPE,
659
+ OBJECT_TRANSACTION_STATUS,
660
+ OBJECT_TRANSACTION_TYPE,
661
+ OBJECT_WITHDRAW_REQUEST_STATUS,
617
662
  OBJ_SESSION_PER_WEEK,
618
663
  OTP_RESEND_TIME,
619
664
  POST_TYPE,
package/dist/index.d.cts CHANGED
@@ -445,7 +445,6 @@ declare const COMMON_ROUTES: {
445
445
  registeredProgram: string;
446
446
  studentClassList: string;
447
447
  classDetail: (id: string) => string;
448
- studentClassDetail: (id: string) => string;
449
448
  programDetail: (id: string, tab: PROGRAM_DETAIL_TABS) => string;
450
449
  classDetailReport: (classId: string, reportId: string) => string;
451
450
  };
@@ -739,6 +738,48 @@ declare const OBJECT_ANSWER_QUESTION_TYPE: {
739
738
  label: string;
740
739
  };
741
740
  };
741
+ declare const OBJECT_TRANSACTION_TYPE: {
742
+ DEPOSIT: {
743
+ value: TRANSACTION_TYPE;
744
+ label: string;
745
+ };
746
+ WITHDRAW: {
747
+ value: TRANSACTION_TYPE;
748
+ label: string;
749
+ };
750
+ LESSON_FEE: {
751
+ value: TRANSACTION_TYPE;
752
+ label: string;
753
+ };
754
+ };
755
+ declare const OBJECT_TRANSACTION_STATUS: {
756
+ PENDING: {
757
+ value: TRANSACTION_STATUS;
758
+ label: string;
759
+ };
760
+ SUCCESS: {
761
+ value: TRANSACTION_STATUS;
762
+ label: string;
763
+ };
764
+ FAILED: {
765
+ value: TRANSACTION_STATUS;
766
+ label: string;
767
+ };
768
+ };
769
+ declare const OBJECT_WITHDRAW_REQUEST_STATUS: {
770
+ PENDING: {
771
+ value: WITHDRAW_REQUEST_STATUS;
772
+ label: string;
773
+ };
774
+ APPROVED: {
775
+ value: WITHDRAW_REQUEST_STATUS;
776
+ label: string;
777
+ };
778
+ REJECTED: {
779
+ value: WITHDRAW_REQUEST_STATUS;
780
+ label: string;
781
+ };
782
+ };
742
783
 
743
784
  type TRegisteredProgramCreatePost = {
744
785
  studentNote?: string;
@@ -1860,4 +1901,4 @@ type TTransactionAllListRes = {
1860
1901
  total: number;
1861
1902
  };
1862
1903
 
1863
- export { 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 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, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, 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, 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 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 TDocumentList, type TDocumentListRes, 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 TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, 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 TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, 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 TStudentEntity, type TSubmitGroupQuestion, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes, type TWalletEntity, type TWalletInfoRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
1904
+ export { 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 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, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, 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 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 TDocumentList, type TDocumentListRes, 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 TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, 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 TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, 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 TStudentEntity, type TSubmitGroupQuestion, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes, type TWalletEntity, type TWalletInfoRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
package/dist/index.d.ts CHANGED
@@ -445,7 +445,6 @@ declare const COMMON_ROUTES: {
445
445
  registeredProgram: string;
446
446
  studentClassList: string;
447
447
  classDetail: (id: string) => string;
448
- studentClassDetail: (id: string) => string;
449
448
  programDetail: (id: string, tab: PROGRAM_DETAIL_TABS) => string;
450
449
  classDetailReport: (classId: string, reportId: string) => string;
451
450
  };
@@ -739,6 +738,48 @@ declare const OBJECT_ANSWER_QUESTION_TYPE: {
739
738
  label: string;
740
739
  };
741
740
  };
741
+ declare const OBJECT_TRANSACTION_TYPE: {
742
+ DEPOSIT: {
743
+ value: TRANSACTION_TYPE;
744
+ label: string;
745
+ };
746
+ WITHDRAW: {
747
+ value: TRANSACTION_TYPE;
748
+ label: string;
749
+ };
750
+ LESSON_FEE: {
751
+ value: TRANSACTION_TYPE;
752
+ label: string;
753
+ };
754
+ };
755
+ declare const OBJECT_TRANSACTION_STATUS: {
756
+ PENDING: {
757
+ value: TRANSACTION_STATUS;
758
+ label: string;
759
+ };
760
+ SUCCESS: {
761
+ value: TRANSACTION_STATUS;
762
+ label: string;
763
+ };
764
+ FAILED: {
765
+ value: TRANSACTION_STATUS;
766
+ label: string;
767
+ };
768
+ };
769
+ declare const OBJECT_WITHDRAW_REQUEST_STATUS: {
770
+ PENDING: {
771
+ value: WITHDRAW_REQUEST_STATUS;
772
+ label: string;
773
+ };
774
+ APPROVED: {
775
+ value: WITHDRAW_REQUEST_STATUS;
776
+ label: string;
777
+ };
778
+ REJECTED: {
779
+ value: WITHDRAW_REQUEST_STATUS;
780
+ label: string;
781
+ };
782
+ };
742
783
 
743
784
  type TRegisteredProgramCreatePost = {
744
785
  studentNote?: string;
@@ -1860,4 +1901,4 @@ type TTransactionAllListRes = {
1860
1901
  total: number;
1861
1902
  };
1862
1903
 
1863
- export { 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 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, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, 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, 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 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 TDocumentList, type TDocumentListRes, 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 TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, 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 TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, 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 TStudentEntity, type TSubmitGroupQuestion, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes, type TWalletEntity, type TWalletInfoRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
1904
+ export { 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 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, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, 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 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 TDocumentList, type TDocumentListRes, 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 TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, 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 TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, 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 TStudentEntity, type TSubmitGroupQuestion, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes, type TWalletEntity, type TWalletInfoRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
package/dist/index.mjs CHANGED
@@ -171,10 +171,7 @@ var COMMON_ROUTES = {
171
171
  registeredProgram: "/registered-program",
172
172
  studentClassList: "/student-class",
173
173
  classDetail: (id) => {
174
- return `/class-detail/${id}`;
175
- },
176
- studentClassDetail: (id) => {
177
- return `/student-class-detail/${id}`;
174
+ return `${URL_CLASS_DETAIL}/${id}`;
178
175
  },
179
176
  programDetail: (id, tab) => {
180
177
  if (tab) return `/program-detail/${id}?tab=${tab}`;
@@ -499,6 +496,48 @@ var OBJECT_ANSWER_QUESTION_TYPE = {
499
496
  label: "Ch\u1EDD ch\u1EA5m"
500
497
  }
501
498
  };
499
+ var OBJECT_TRANSACTION_TYPE = {
500
+ ["DEPOSIT" /* DEPOSIT */]: {
501
+ value: "DEPOSIT" /* DEPOSIT */,
502
+ label: "N\u1ED9p ti\u1EC1n"
503
+ },
504
+ ["WITHDRAW" /* WITHDRAW */]: {
505
+ value: "WITHDRAW" /* WITHDRAW */,
506
+ label: "R\xFAt ti\u1EC1n"
507
+ },
508
+ ["LESSON_FEE" /* LESSON_FEE */]: {
509
+ value: "LESSON_FEE" /* LESSON_FEE */,
510
+ label: "H\u1ECDc ph\xED"
511
+ }
512
+ };
513
+ var OBJECT_TRANSACTION_STATUS = {
514
+ ["PENDING" /* PENDING */]: {
515
+ value: "PENDING" /* PENDING */,
516
+ label: "Ch\u1EDD thanh to\xE1n"
517
+ },
518
+ ["SUCCESS" /* SUCCESS */]: {
519
+ value: "SUCCESS" /* SUCCESS */,
520
+ label: "Th\xE0nh c\xF4ng"
521
+ },
522
+ ["FAILED" /* FAILED */]: {
523
+ value: "FAILED" /* FAILED */,
524
+ label: "Th\u1EA5t b\u1EA1i"
525
+ }
526
+ };
527
+ var OBJECT_WITHDRAW_REQUEST_STATUS = {
528
+ ["PENDING" /* PENDING */]: {
529
+ value: "PENDING" /* PENDING */,
530
+ label: "\u0110\u1EE3i x\u1EED l\xFD"
531
+ },
532
+ ["APPROVED" /* APPROVED */]: {
533
+ value: "APPROVED" /* APPROVED */,
534
+ label: "\u0110\xE3 x\u1EED l\xFD"
535
+ },
536
+ ["REJECTED" /* REJECTED */]: {
537
+ value: "REJECTED" /* REJECTED */,
538
+ label: "T\u1EEB ch\u1ED1i"
539
+ }
540
+ };
502
541
  export {
503
542
  ACCEPTED_IMAGE_TYPES,
504
543
  ACCEPTED_VIDEO_TYPES,
@@ -533,6 +572,9 @@ export {
533
572
  OBJECT_REGISTER_METHOD,
534
573
  OBJECT_SCHOOL_STATUS,
535
574
  OBJECT_SORT_TYPE,
575
+ OBJECT_TRANSACTION_STATUS,
576
+ OBJECT_TRANSACTION_TYPE,
577
+ OBJECT_WITHDRAW_REQUEST_STATUS,
536
578
  OBJ_SESSION_PER_WEEK,
537
579
  OTP_RESEND_TIME,
538
580
  POST_TYPE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.4.86",
3
+ "version": "1.4.88",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",