gst-common 1.6.29 → 1.6.30

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
@@ -184,8 +184,8 @@ var CLASS_STATUS_CANCELED_REASON = /* @__PURE__ */ ((CLASS_STATUS_CANCELED_REASO
184
184
  })(CLASS_STATUS_CANCELED_REASON || {});
185
185
  var CLASS_STATUS_CANCELED_REASON_STUDENT = /* @__PURE__ */ ((CLASS_STATUS_CANCELED_REASON_STUDENT2) => {
186
186
  CLASS_STATUS_CANCELED_REASON_STUDENT2["TUTOR_SPAM"] = "TUTOR_SPAM" /* TUTOR_SPAM */;
187
- CLASS_STATUS_CANCELED_REASON_STUDENT2["OTHER"] = "OTHER" /* OTHER */;
188
187
  CLASS_STATUS_CANCELED_REASON_STUDENT2["CHANGE_MIND"] = "CHANGE_MIND" /* CHANGE_MIND */;
188
+ CLASS_STATUS_CANCELED_REASON_STUDENT2["OTHER"] = "OTHER" /* OTHER */;
189
189
  return CLASS_STATUS_CANCELED_REASON_STUDENT2;
190
190
  })(CLASS_STATUS_CANCELED_REASON_STUDENT || {});
191
191
  var CLASS_STATUS_CANCELED_REASON_TUTOR = /* @__PURE__ */ ((CLASS_STATUS_CANCELED_REASON_TUTOR2) => {
package/dist/index.d.cts CHANGED
@@ -455,8 +455,8 @@ declare enum CLASS_STATUS_CANCELED_REASON {
455
455
  }
456
456
  declare enum CLASS_STATUS_CANCELED_REASON_STUDENT {
457
457
  TUTOR_SPAM = "TUTOR_SPAM",
458
- OTHER = "OTHER",
459
- CHANGE_MIND = "CHANGE_MIND"
458
+ CHANGE_MIND = "CHANGE_MIND",
459
+ OTHER = "OTHER"
460
460
  }
461
461
  declare enum CLASS_STATUS_CANCELED_REASON_TUTOR {
462
462
  STUDENT_HAS_NOT_RESPONSE = "STUDENT_HAS_NOT_RESPONSE",
@@ -1633,6 +1633,10 @@ type TEditorUpdate = {
1633
1633
  title?: string;
1634
1634
  content?: string;
1635
1635
  };
1636
+ type TClassCancel = {
1637
+ cancelStatusReason: CLASS_STATUS_CANCELED_REASON_TUTOR;
1638
+ note?: string;
1639
+ };
1636
1640
 
1637
1641
  type AccountSignInResponse = {
1638
1642
  accessToken: string;
@@ -2548,5 +2552,6 @@ type TPostPublicDetailRes = (TPostEntity & TPostStatistic & {
2548
2552
  referencedDocument: TDocumentsEntity;
2549
2553
  })[];
2550
2554
  }) | null;
2555
+ type TClassCancelRes = TClassEntity;
2551
2556
 
2552
- 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_CANCELED_REASON, CLASS_STATUS_CANCELED_REASON_STUDENT, CLASS_STATUS_CANCELED_REASON_TUTOR, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CLASS_STATUS_CANCELED_REASON, 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_REQUEST_TUTOR_FORM_STATUS, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_TEACHING_TIME_RANGE, OBJECT_TRANSACTION_STATUS, OBJECT_TRANSACTION_TYPE, OBJECT_WITHDRAW_REQUEST_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, REQUEST_TUTOR_FORM_STATUS, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicListSitemap, type TAccountPublicListSitemapRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCountStatus, type TClassCountStatusRes, type TClassCreateByRequestTutor, type TClassCreateByRequestTutorRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStatistic, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDayOfWeekEntity, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteMultiple, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, type TDocumentFolderImport, type TDocumentFolderImportRes, type TDocumentFolderListRes, type TDocumentFolderTreeListRes, type TDocumentFolderUpdate, type TDocumentFolderUpdateRes, type TDocumentGetByDocuments, type TDocumentGetByDocumentsRes, type TDocumentImport, type TDocumentList, type TDocumentListRes, type TDocumentMove, type TDocumentMoveRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, TEACHING_TIME_RANGE, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultHistories, type TGroupQuestionResultHistoriesRes, type TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultHistories, type TGroupQuestionStudentResultHistoriesRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type THistoryLoginEntity, type TInternalAccountEntity, type TInternalAccountList, type TInternalAccountListRes, type TInternalAccountLogin, type TInternalAccountLoginRes, type TInternalAccountNew, type TInternalAccountNewRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllShareDocument, type TPostAllShareDocumentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpdateShareDocument, type TPostAllUpdateShareDocumentRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostDocumentEntity, type TPostDocumentPublicEditorDetailRes, type TPostDocumentPublicGroupQuestionDetailRes, type TPostEntity, type TPostPublicDetailRes, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicListSiteMap, type TPostPublicListSiteMapRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TPostStatistic, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramPublicListSitemap, type TProgramPublicListSitemapRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, TRANSACTION_FEE, TRANSACTION_GATEWAY, TRANSACTION_STATUS, TRANSACTION_TYPE, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, type TRequestTutorFormGetByCodeRes, type TRequestTutorFormInternalAssignTutor, type TRequestTutorFormInternalAssignTutorRes, type TRequestTutorFormInternalCancel, type TRequestTutorFormInternalCancelRes, type TRequestTutorFormInternalCountStatusRes, type TRequestTutorFormInternalList, type TRequestTutorFormInternalListRes, type TRequestTutorFormList, type TRequestTutorFormListRes, type TSessionGroupQuestionEntity, type TSessionGroupQuestionStatistic, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteMultiple, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderImport, type TStudentDocumentFolderImportRes, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentImport, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTeachingTimeRangeEntity, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorInternalOptions, type TTutorInternalOptionsRes, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
2557
+ 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_CANCELED_REASON, CLASS_STATUS_CANCELED_REASON_STUDENT, CLASS_STATUS_CANCELED_REASON_TUTOR, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CLASS_STATUS_CANCELED_REASON, 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_REQUEST_TUTOR_FORM_STATUS, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_TEACHING_TIME_RANGE, OBJECT_TRANSACTION_STATUS, OBJECT_TRANSACTION_TYPE, OBJECT_WITHDRAW_REQUEST_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, REQUEST_TUTOR_FORM_STATUS, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicListSitemap, type TAccountPublicListSitemapRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCancel, type TClassCancelRes, type TClassCountStatus, type TClassCountStatusRes, type TClassCreateByRequestTutor, type TClassCreateByRequestTutorRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStatistic, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDayOfWeekEntity, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteMultiple, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, type TDocumentFolderImport, type TDocumentFolderImportRes, type TDocumentFolderListRes, type TDocumentFolderTreeListRes, type TDocumentFolderUpdate, type TDocumentFolderUpdateRes, type TDocumentGetByDocuments, type TDocumentGetByDocumentsRes, type TDocumentImport, type TDocumentList, type TDocumentListRes, type TDocumentMove, type TDocumentMoveRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, TEACHING_TIME_RANGE, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultHistories, type TGroupQuestionResultHistoriesRes, type TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultHistories, type TGroupQuestionStudentResultHistoriesRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type THistoryLoginEntity, type TInternalAccountEntity, type TInternalAccountList, type TInternalAccountListRes, type TInternalAccountLogin, type TInternalAccountLoginRes, type TInternalAccountNew, type TInternalAccountNewRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllShareDocument, type TPostAllShareDocumentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpdateShareDocument, type TPostAllUpdateShareDocumentRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostDocumentEntity, type TPostDocumentPublicEditorDetailRes, type TPostDocumentPublicGroupQuestionDetailRes, type TPostEntity, type TPostPublicDetailRes, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicListSiteMap, type TPostPublicListSiteMapRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TPostStatistic, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramPublicListSitemap, type TProgramPublicListSitemapRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, TRANSACTION_FEE, TRANSACTION_GATEWAY, TRANSACTION_STATUS, TRANSACTION_TYPE, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, type TRequestTutorFormGetByCodeRes, type TRequestTutorFormInternalAssignTutor, type TRequestTutorFormInternalAssignTutorRes, type TRequestTutorFormInternalCancel, type TRequestTutorFormInternalCancelRes, type TRequestTutorFormInternalCountStatusRes, type TRequestTutorFormInternalList, type TRequestTutorFormInternalListRes, type TRequestTutorFormList, type TRequestTutorFormListRes, type TSessionGroupQuestionEntity, type TSessionGroupQuestionStatistic, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteMultiple, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderImport, type TStudentDocumentFolderImportRes, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentImport, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTeachingTimeRangeEntity, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorInternalOptions, type TTutorInternalOptionsRes, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
package/dist/index.d.ts CHANGED
@@ -455,8 +455,8 @@ declare enum CLASS_STATUS_CANCELED_REASON {
455
455
  }
456
456
  declare enum CLASS_STATUS_CANCELED_REASON_STUDENT {
457
457
  TUTOR_SPAM = "TUTOR_SPAM",
458
- OTHER = "OTHER",
459
- CHANGE_MIND = "CHANGE_MIND"
458
+ CHANGE_MIND = "CHANGE_MIND",
459
+ OTHER = "OTHER"
460
460
  }
461
461
  declare enum CLASS_STATUS_CANCELED_REASON_TUTOR {
462
462
  STUDENT_HAS_NOT_RESPONSE = "STUDENT_HAS_NOT_RESPONSE",
@@ -1633,6 +1633,10 @@ type TEditorUpdate = {
1633
1633
  title?: string;
1634
1634
  content?: string;
1635
1635
  };
1636
+ type TClassCancel = {
1637
+ cancelStatusReason: CLASS_STATUS_CANCELED_REASON_TUTOR;
1638
+ note?: string;
1639
+ };
1636
1640
 
1637
1641
  type AccountSignInResponse = {
1638
1642
  accessToken: string;
@@ -2548,5 +2552,6 @@ type TPostPublicDetailRes = (TPostEntity & TPostStatistic & {
2548
2552
  referencedDocument: TDocumentsEntity;
2549
2553
  })[];
2550
2554
  }) | null;
2555
+ type TClassCancelRes = TClassEntity;
2551
2556
 
2552
- 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_CANCELED_REASON, CLASS_STATUS_CANCELED_REASON_STUDENT, CLASS_STATUS_CANCELED_REASON_TUTOR, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CLASS_STATUS_CANCELED_REASON, 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_REQUEST_TUTOR_FORM_STATUS, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_TEACHING_TIME_RANGE, OBJECT_TRANSACTION_STATUS, OBJECT_TRANSACTION_TYPE, OBJECT_WITHDRAW_REQUEST_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, REQUEST_TUTOR_FORM_STATUS, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicListSitemap, type TAccountPublicListSitemapRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCountStatus, type TClassCountStatusRes, type TClassCreateByRequestTutor, type TClassCreateByRequestTutorRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStatistic, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDayOfWeekEntity, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteMultiple, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, type TDocumentFolderImport, type TDocumentFolderImportRes, type TDocumentFolderListRes, type TDocumentFolderTreeListRes, type TDocumentFolderUpdate, type TDocumentFolderUpdateRes, type TDocumentGetByDocuments, type TDocumentGetByDocumentsRes, type TDocumentImport, type TDocumentList, type TDocumentListRes, type TDocumentMove, type TDocumentMoveRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, TEACHING_TIME_RANGE, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultHistories, type TGroupQuestionResultHistoriesRes, type TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultHistories, type TGroupQuestionStudentResultHistoriesRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type THistoryLoginEntity, type TInternalAccountEntity, type TInternalAccountList, type TInternalAccountListRes, type TInternalAccountLogin, type TInternalAccountLoginRes, type TInternalAccountNew, type TInternalAccountNewRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllShareDocument, type TPostAllShareDocumentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpdateShareDocument, type TPostAllUpdateShareDocumentRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostDocumentEntity, type TPostDocumentPublicEditorDetailRes, type TPostDocumentPublicGroupQuestionDetailRes, type TPostEntity, type TPostPublicDetailRes, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicListSiteMap, type TPostPublicListSiteMapRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TPostStatistic, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramPublicListSitemap, type TProgramPublicListSitemapRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, TRANSACTION_FEE, TRANSACTION_GATEWAY, TRANSACTION_STATUS, TRANSACTION_TYPE, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, type TRequestTutorFormGetByCodeRes, type TRequestTutorFormInternalAssignTutor, type TRequestTutorFormInternalAssignTutorRes, type TRequestTutorFormInternalCancel, type TRequestTutorFormInternalCancelRes, type TRequestTutorFormInternalCountStatusRes, type TRequestTutorFormInternalList, type TRequestTutorFormInternalListRes, type TRequestTutorFormList, type TRequestTutorFormListRes, type TSessionGroupQuestionEntity, type TSessionGroupQuestionStatistic, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteMultiple, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderImport, type TStudentDocumentFolderImportRes, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentImport, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTeachingTimeRangeEntity, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorInternalOptions, type TTutorInternalOptionsRes, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
2557
+ 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_CANCELED_REASON, CLASS_STATUS_CANCELED_REASON_STUDENT, CLASS_STATUS_CANCELED_REASON_TUTOR, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CLASS_STATUS_CANCELED_REASON, 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_REQUEST_TUTOR_FORM_STATUS, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_TEACHING_TIME_RANGE, OBJECT_TRANSACTION_STATUS, OBJECT_TRANSACTION_TYPE, OBJECT_WITHDRAW_REQUEST_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, POST_TYPE, PROGRAM_DETAIL_TABS, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, PROPOSED_LEARNING_PAYMENT_STATUS, QUESTION_TYPES, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, REGISTER_PROGRAM_TIME, REQUEST_TUTOR_FORM_STATUS, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicListSitemap, type TAccountPublicListSitemapRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCancel, type TClassCancelRes, type TClassCountStatus, type TClassCountStatusRes, type TClassCreateByRequestTutor, type TClassCreateByRequestTutorRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationStatistic, type TClassNotificationStudentList, type TClassNotificationStudentListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassNotificationUpload, type TClassNotificationUploadRes, type TClassSelectOptions, type TClassSelectOptionsRes, type TClassStatisticGroupByClass, type TClassStatisticGroupByClassRes, type TClassStatisticGroupByMonth, type TClassStatisticGroupByMonthRes, type TClassStudentChangeStatus, type TClassStudentChangeStatusRes, type TClassStudentCountStatus, type TClassStudentCountStatusRes, type TClassStudentDetailRes, type TClassStudentList, type TClassStudentListRes, type TClassStudentSelectOptionsRes, type TClassStudentStatisticGroupByClass, type TClassStudentStatisticGroupByClassRes, type TClassStudentStatisticGroupByMonth, type TClassStudentStatisticGroupByMonthRes, type TClassUpdate, type TClassUpdateRes, type TCompletedAndNotPaidLessonsRes, type TDayOfWeekEntity, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TDocumentChangeOrder, type TDocumentChangeOrderRes, type TDocumentCreateEditor, type TDocumentCreateEditorRes, type TDocumentCreateGroupQuestion, type TDocumentCreateGroupQuestionRes, type TDocumentDeleteMultiple, type TDocumentFolderCreate, type TDocumentFolderCreateRes, type TDocumentFolderEntity, type TDocumentFolderImport, type TDocumentFolderImportRes, type TDocumentFolderListRes, type TDocumentFolderTreeListRes, type TDocumentFolderUpdate, type TDocumentFolderUpdateRes, type TDocumentGetByDocuments, type TDocumentGetByDocumentsRes, type TDocumentImport, type TDocumentList, type TDocumentListRes, type TDocumentMove, type TDocumentMoveRes, type TDocumentProgramListRes, type TDocumentUpload, type TDocumentUploadRes, type TDocumentsEntity, TEACHING_TIME_RANGE, type TEditorDeleteRes, type TEditorDetailRes, type TEditorEntity, type TEditorStudentDetailRes, type TEditorUpdate, type TEditorUpdateRes, type TExtendLessonTimesDTO, type TFileDeleteRes, type TFileEntity, type TFileLessonEntity, type TFileLessonListRes, type TFileLessonStudentListRes, type TFileLessonUpdate, type TFileLessonUpdateRes, type TFileLessonUpload, type TFileLessonUploadRes, type TFileUpdate, type TFileUpdateRes, type TFileUploadCommonRes, type TGroupQuestionChangeAnswerQuestionType, type TGroupQuestionChangeAnswerQuestionTypeRes, type TGroupQuestionCreate, type TGroupQuestionCreateRes, type TGroupQuestionDeleteGroupQuestion, type TGroupQuestionDetailRes, type TGroupQuestionEntity, type TGroupQuestionResultHistories, type TGroupQuestionResultHistoriesRes, type TGroupQuestionResultRes, type TGroupQuestionSendComment, type TGroupQuestionSendCommentRes, type TGroupQuestionSendFeedback, type TGroupQuestionSendFeedbackRes, type TGroupQuestionStudentDraft, type TGroupQuestionStudentDraftRes, type TGroupQuestionStudentFinishDoing, type TGroupQuestionStudentLessonFinishDoingRes, type TGroupQuestionStudentResultHistories, type TGroupQuestionStudentResultHistoriesRes, type TGroupQuestionStudentResultRes, type TGroupQuestionStudentStartDoingRes, type TGroupQuestionUpdate, type TGroupQuestionUpdateRes, type THistoryLoginEntity, type TInternalAccountEntity, type TInternalAccountList, type TInternalAccountListRes, type TInternalAccountLogin, type TInternalAccountLoginRes, type TInternalAccountNew, type TInternalAccountNewRes, type TLesson, type TLessonAllDocuments, type TLessonAllDocumentsRes, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonConfirm, type TLessonConfirmRes, type TLessonCreateEditor, type TLessonCreateEditorRes, type TLessonCreateGroupQuestion, type TLessonCreateGroupQuestionRes, type TLessonDetailRes, type TLessonDocumentsRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonImport, type TLessonImportRes, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonListUnconfirmedRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TLessonStudentAllDocuments, type TLessonStudentAllDocumentsRes, type TLessonStudentCompletedAndNotPaidLessonsRes, type TLessonStudentDetailRes, type TLessonStudentDocumentsRes, type TLessonStudentList, type TLessonStudentListRes, type TNotificationEntity, type TPostAllComment, type TPostAllCommentDeleteRes, type TPostAllCommentRes, type TPostAllCommentUpdate, type TPostAllCommentUpdateRes, type TPostAllCreateDiscussion, type TPostAllCreateDiscussionRes, type TPostAllListPostByAccount, type TPostAllListPostByAccountRes, type TPostAllMyPost, type TPostAllMyPostRes, type TPostAllRemoveUpvote, type TPostAllReplyComment, type TPostAllReplyCommentRes, type TPostAllShareDocument, type TPostAllShareDocumentRes, type TPostAllUpdateDiscussion, type TPostAllUpdateDiscussionRes, type TPostAllUpdateShareDocument, type TPostAllUpdateShareDocumentRes, type TPostAllUpload, type TPostAllUploadRes, type TPostCommentEntity, type TPostDocumentEntity, type TPostDocumentPublicEditorDetailRes, type TPostDocumentPublicGroupQuestionDetailRes, type TPostEntity, type TPostPublicDetailRes, type TPostPublicListComment, type TPostPublicListCommentRes, type TPostPublicListSiteMap, type TPostPublicListSiteMapRes, type TPostPublicNewFeeds, type TPostPublicNewFeedsRes, type TPostStatistic, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramPublicLearnedProgram, type TProgramPublicLearnedProgramRes, type TProgramPublicList, type TProgramPublicListRes, type TProgramPublicListSitemap, type TProgramPublicListSitemapRes, type TProgramRatingEntity, type TProgramRatingPublicCountByScore, type TProgramRatingPublicCountByScoreRes, type TProgramRatingPublicList, type TProgramRatingPublicListRes, type TProgramRatingStudentCanRate, type TProgramRatingStudentCanRateRes, type TProgramRatingStudentCreateRating, type TProgramRatingStudentCreateRatingRes, type TProgramRatingStudentDeleteRatingRes, type TProgramRatingStudentHasRated, type TProgramRatingStudentHasRatedRes, type TProgramRatingStudentUpdateRating, type TProgramRatingStudentUpdateRatingRes, type TProgramRatingUpload, type TProgramRatingUploadRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramStudentCheckAllowRegister, type TProgramSuitableLearnerEntity, type TProposedLearningCreate, type TProposedLearningCreateRes, type TProposedLearningDetail, type TProposedLearningDetailRes, type TProposedLearningEdit, type TProposedLearningEditRes, type TProposedLearningEntity, type TProposedLearningLessonEntity, type TProposedLearningList, type TProposedLearningListRes, type TProposedLearningStudentDetail, type TProposedLearningStudentDetailRes, type TProposedLearningStudentList, type TProposedLearningStudentListRes, type TProvinceEntity, type TQuestionEntity, type TQuestionTypeChoiceEntity, type TQuestionTypeEssayEntity, type TQuestionTypeWordArrangementEntity, TRANSACTION_FEE, TRANSACTION_GATEWAY, TRANSACTION_STATUS, TRANSACTION_TYPE, type TRegisteredProgramCountStatus, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, type TRequestTutorFormGetByCodeRes, type TRequestTutorFormInternalAssignTutor, type TRequestTutorFormInternalAssignTutorRes, type TRequestTutorFormInternalCancel, type TRequestTutorFormInternalCancelRes, type TRequestTutorFormInternalCountStatusRes, type TRequestTutorFormInternalList, type TRequestTutorFormInternalListRes, type TRequestTutorFormList, type TRequestTutorFormListRes, type TSessionGroupQuestionEntity, type TSessionGroupQuestionStatistic, type TStudent, type TStudentDocumentChangeOrder, type TStudentDocumentChangeOrderRes, type TStudentDocumentCreateEditor, type TStudentDocumentCreateEditorRes, type TStudentDocumentCreateGroupQuestion, type TStudentDocumentCreateGroupQuestionRes, type TStudentDocumentDeleteMultiple, type TStudentDocumentEntity, type TStudentDocumentEntityRes, type TStudentDocumentFolderCreate, type TStudentDocumentFolderCreateRes, type TStudentDocumentFolderDeleteRes, type TStudentDocumentFolderEntity, type TStudentDocumentFolderImport, type TStudentDocumentFolderImportRes, type TStudentDocumentFolderListRes, type TStudentDocumentFolderUpdate, type TStudentDocumentFolderUpdateRes, type TStudentDocumentGetByDocuments, type TStudentDocumentGetByDocumentsRes, type TStudentDocumentImport, type TStudentDocumentList, type TStudentDocumentListRes, type TStudentDocumentMove, type TStudentDocumentMoveRes, type TStudentDocumentUpload, type TStudentDocumentUploadRes, type TStudentEntity, type TSubmitGroupQuestion, type TTeachingTimeRangeEntity, type TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorInternalOptions, type TTutorInternalOptionsRes, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
package/dist/index.mjs CHANGED
@@ -88,8 +88,8 @@ var CLASS_STATUS_CANCELED_REASON = /* @__PURE__ */ ((CLASS_STATUS_CANCELED_REASO
88
88
  })(CLASS_STATUS_CANCELED_REASON || {});
89
89
  var CLASS_STATUS_CANCELED_REASON_STUDENT = /* @__PURE__ */ ((CLASS_STATUS_CANCELED_REASON_STUDENT2) => {
90
90
  CLASS_STATUS_CANCELED_REASON_STUDENT2["TUTOR_SPAM"] = "TUTOR_SPAM" /* TUTOR_SPAM */;
91
- CLASS_STATUS_CANCELED_REASON_STUDENT2["OTHER"] = "OTHER" /* OTHER */;
92
91
  CLASS_STATUS_CANCELED_REASON_STUDENT2["CHANGE_MIND"] = "CHANGE_MIND" /* CHANGE_MIND */;
92
+ CLASS_STATUS_CANCELED_REASON_STUDENT2["OTHER"] = "OTHER" /* OTHER */;
93
93
  return CLASS_STATUS_CANCELED_REASON_STUDENT2;
94
94
  })(CLASS_STATUS_CANCELED_REASON_STUDENT || {});
95
95
  var CLASS_STATUS_CANCELED_REASON_TUTOR = /* @__PURE__ */ ((CLASS_STATUS_CANCELED_REASON_TUTOR2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.6.29",
3
+ "version": "1.6.30",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",