gst-common 1.5.99 → 1.6.2
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 +10 -1
- package/dist/index.d.cts +41 -1
- package/dist/index.d.ts +41 -1
- package/dist/index.mjs +9 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -74,6 +74,7 @@ __export(index_exports, {
|
|
|
74
74
|
REGISTERED_PROGRAM_STATUS: () => REGISTERED_PROGRAM_STATUS,
|
|
75
75
|
REGISTER_METHOD: () => REGISTER_METHOD,
|
|
76
76
|
REGISTER_PROGRAM_TIME: () => REGISTER_PROGRAM_TIME,
|
|
77
|
+
REQUEST_TUTOR_FORM_STATUS: () => REQUEST_TUTOR_FORM_STATUS,
|
|
77
78
|
ResponseStatus: () => ResponseStatus,
|
|
78
79
|
SCHOOL_STATUS: () => SCHOOL_STATUS,
|
|
79
80
|
SESSION_GROUP_QUESTION: () => SESSION_GROUP_QUESTION,
|
|
@@ -275,6 +276,13 @@ var MISSING_TRANSACTION_TYPE = /* @__PURE__ */ ((MISSING_TRANSACTION_TYPE2) => {
|
|
|
275
276
|
MISSING_TRANSACTION_TYPE2["OUT"] = "OUT";
|
|
276
277
|
return MISSING_TRANSACTION_TYPE2;
|
|
277
278
|
})(MISSING_TRANSACTION_TYPE || {});
|
|
279
|
+
var REQUEST_TUTOR_FORM_STATUS = /* @__PURE__ */ ((REQUEST_TUTOR_FORM_STATUS2) => {
|
|
280
|
+
REQUEST_TUTOR_FORM_STATUS2["PENDING"] = "PENDING";
|
|
281
|
+
REQUEST_TUTOR_FORM_STATUS2["PROCESS"] = "PROCESS";
|
|
282
|
+
REQUEST_TUTOR_FORM_STATUS2["FINISHED"] = "FINISHED";
|
|
283
|
+
REQUEST_TUTOR_FORM_STATUS2["CANCELED"] = "CANCELED";
|
|
284
|
+
return REQUEST_TUTOR_FORM_STATUS2;
|
|
285
|
+
})(REQUEST_TUTOR_FORM_STATUS || {});
|
|
278
286
|
|
|
279
287
|
// src/constant.ts
|
|
280
288
|
var OTP_RESEND_TIME = 20;
|
|
@@ -453,7 +461,7 @@ var OBJECT_PROGRAM_METHOD = {
|
|
|
453
461
|
},
|
|
454
462
|
["Online/Offline" /* ONLINE_OFFLINE */]: {
|
|
455
463
|
value: "Online/Offline" /* ONLINE_OFFLINE */,
|
|
456
|
-
label: "
|
|
464
|
+
label: "Onl/Off(linh ho\u1EA1t)"
|
|
457
465
|
}
|
|
458
466
|
};
|
|
459
467
|
var OBJECT_REGISTERED_PROGRAM_STATUS = {
|
|
@@ -758,6 +766,7 @@ var OBJECT_WITHDRAW_REQUEST_STATUS = {
|
|
|
758
766
|
REGISTERED_PROGRAM_STATUS,
|
|
759
767
|
REGISTER_METHOD,
|
|
760
768
|
REGISTER_PROGRAM_TIME,
|
|
769
|
+
REQUEST_TUTOR_FORM_STATUS,
|
|
761
770
|
ResponseStatus,
|
|
762
771
|
SCHOOL_STATUS,
|
|
763
772
|
SESSION_GROUP_QUESTION,
|
package/dist/index.d.cts
CHANGED
|
@@ -308,6 +308,25 @@ type TStudentDocumentEntity = {
|
|
|
308
308
|
type TStudentDocumentFolderEntity = {
|
|
309
309
|
name: string;
|
|
310
310
|
} & BaseEntity;
|
|
311
|
+
type TDayOfWeekEntity = {
|
|
312
|
+
id: string;
|
|
313
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
314
|
+
};
|
|
315
|
+
type TTeachingTimeRangeEntity = {
|
|
316
|
+
id: string;
|
|
317
|
+
time: TEACHING_TIME_RANGE;
|
|
318
|
+
};
|
|
319
|
+
type TRequestTutorFormEntity = {
|
|
320
|
+
phoneNumber: string;
|
|
321
|
+
isZaloPhoneNumber: boolean;
|
|
322
|
+
jobDescription: string;
|
|
323
|
+
expectedFee: number;
|
|
324
|
+
method: PROGRAM_METHOD;
|
|
325
|
+
status: REQUEST_TUTOR_FORM_STATUS;
|
|
326
|
+
note: string;
|
|
327
|
+
learningDayOfWeeks: TDayOfWeekEntity[];
|
|
328
|
+
studyTimeRange: TTeachingTimeRangeEntity[];
|
|
329
|
+
};
|
|
311
330
|
|
|
312
331
|
declare enum CUSTOMER_TYPE {
|
|
313
332
|
TUTOR = "tutor",
|
|
@@ -497,6 +516,12 @@ declare enum MISSING_TRANSACTION_TYPE {
|
|
|
497
516
|
IN = "IN",
|
|
498
517
|
OUT = "OUT"
|
|
499
518
|
}
|
|
519
|
+
declare enum REQUEST_TUTOR_FORM_STATUS {
|
|
520
|
+
PENDING = "PENDING",
|
|
521
|
+
PROCESS = "PROCESS",
|
|
522
|
+
FINISHED = "FINISHED",
|
|
523
|
+
CANCELED = "CANCELED"
|
|
524
|
+
}
|
|
500
525
|
type TSessionGroupQuestionStatistic = {
|
|
501
526
|
sessionGroupQuestionId: string;
|
|
502
527
|
totalCorrectQuestion: number;
|
|
@@ -1424,6 +1449,19 @@ type TGroupQuestionStudentResultHistories = {
|
|
|
1424
1449
|
type TGroupQuestionResultHistories = {
|
|
1425
1450
|
groupQuestionId: string;
|
|
1426
1451
|
} & BasePaginationParams;
|
|
1452
|
+
type TRequestTutorFormCreate = {
|
|
1453
|
+
phoneNumber: string;
|
|
1454
|
+
isZaloPhoneNumber: boolean;
|
|
1455
|
+
jobDescription: string;
|
|
1456
|
+
expectedFee: number;
|
|
1457
|
+
method: PROGRAM_METHOD;
|
|
1458
|
+
learningDayOfWeeks: {
|
|
1459
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
1460
|
+
}[];
|
|
1461
|
+
studyTimeRange: {
|
|
1462
|
+
time: TEACHING_TIME_RANGE;
|
|
1463
|
+
}[];
|
|
1464
|
+
};
|
|
1427
1465
|
|
|
1428
1466
|
type TProgramRegisteredMeTutorEdit = {
|
|
1429
1467
|
id: string;
|
|
@@ -2316,5 +2354,7 @@ type TGroupQuestionResultHistoriesRes = {
|
|
|
2316
2354
|
})[];
|
|
2317
2355
|
total: number;
|
|
2318
2356
|
};
|
|
2357
|
+
type TRequestTutorFormCreateRes = TRequestTutorFormEntity;
|
|
2358
|
+
type TRequestTutorFormListRes = TRequestTutorFormEntity[];
|
|
2319
2359
|
|
|
2320
|
-
export { ACCEPTED_AUDIO_TYPES, ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BaseInternalEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_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, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCountStatus, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type 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 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 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 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 TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
|
|
2360
|
+
export { ACCEPTED_AUDIO_TYPES, ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BaseInternalEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_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 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 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 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 TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, 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 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
|
@@ -308,6 +308,25 @@ type TStudentDocumentEntity = {
|
|
|
308
308
|
type TStudentDocumentFolderEntity = {
|
|
309
309
|
name: string;
|
|
310
310
|
} & BaseEntity;
|
|
311
|
+
type TDayOfWeekEntity = {
|
|
312
|
+
id: string;
|
|
313
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
314
|
+
};
|
|
315
|
+
type TTeachingTimeRangeEntity = {
|
|
316
|
+
id: string;
|
|
317
|
+
time: TEACHING_TIME_RANGE;
|
|
318
|
+
};
|
|
319
|
+
type TRequestTutorFormEntity = {
|
|
320
|
+
phoneNumber: string;
|
|
321
|
+
isZaloPhoneNumber: boolean;
|
|
322
|
+
jobDescription: string;
|
|
323
|
+
expectedFee: number;
|
|
324
|
+
method: PROGRAM_METHOD;
|
|
325
|
+
status: REQUEST_TUTOR_FORM_STATUS;
|
|
326
|
+
note: string;
|
|
327
|
+
learningDayOfWeeks: TDayOfWeekEntity[];
|
|
328
|
+
studyTimeRange: TTeachingTimeRangeEntity[];
|
|
329
|
+
};
|
|
311
330
|
|
|
312
331
|
declare enum CUSTOMER_TYPE {
|
|
313
332
|
TUTOR = "tutor",
|
|
@@ -497,6 +516,12 @@ declare enum MISSING_TRANSACTION_TYPE {
|
|
|
497
516
|
IN = "IN",
|
|
498
517
|
OUT = "OUT"
|
|
499
518
|
}
|
|
519
|
+
declare enum REQUEST_TUTOR_FORM_STATUS {
|
|
520
|
+
PENDING = "PENDING",
|
|
521
|
+
PROCESS = "PROCESS",
|
|
522
|
+
FINISHED = "FINISHED",
|
|
523
|
+
CANCELED = "CANCELED"
|
|
524
|
+
}
|
|
500
525
|
type TSessionGroupQuestionStatistic = {
|
|
501
526
|
sessionGroupQuestionId: string;
|
|
502
527
|
totalCorrectQuestion: number;
|
|
@@ -1424,6 +1449,19 @@ type TGroupQuestionStudentResultHistories = {
|
|
|
1424
1449
|
type TGroupQuestionResultHistories = {
|
|
1425
1450
|
groupQuestionId: string;
|
|
1426
1451
|
} & BasePaginationParams;
|
|
1452
|
+
type TRequestTutorFormCreate = {
|
|
1453
|
+
phoneNumber: string;
|
|
1454
|
+
isZaloPhoneNumber: boolean;
|
|
1455
|
+
jobDescription: string;
|
|
1456
|
+
expectedFee: number;
|
|
1457
|
+
method: PROGRAM_METHOD;
|
|
1458
|
+
learningDayOfWeeks: {
|
|
1459
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
1460
|
+
}[];
|
|
1461
|
+
studyTimeRange: {
|
|
1462
|
+
time: TEACHING_TIME_RANGE;
|
|
1463
|
+
}[];
|
|
1464
|
+
};
|
|
1427
1465
|
|
|
1428
1466
|
type TProgramRegisteredMeTutorEdit = {
|
|
1429
1467
|
id: string;
|
|
@@ -2316,5 +2354,7 @@ type TGroupQuestionResultHistoriesRes = {
|
|
|
2316
2354
|
})[];
|
|
2317
2355
|
total: number;
|
|
2318
2356
|
};
|
|
2357
|
+
type TRequestTutorFormCreateRes = TRequestTutorFormEntity;
|
|
2358
|
+
type TRequestTutorFormListRes = TRequestTutorFormEntity[];
|
|
2319
2359
|
|
|
2320
|
-
export { ACCEPTED_AUDIO_TYPES, ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BaseInternalEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_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, ResponseStatus, SCHOOL_STATUS, SESSION_GROUP_QUESTION, SORT_TYPE, type TAccountBankInfoCreate, type TAccountBankInfoCreateRes, type TAccountBankInfoCurrentRes, type TAccountBankInfoEntity, type TAccountBankInfoUpdate, type TAccountBankInfoUpdateRes, type TAccountChangeHashedPin, type TAccountChangePassword, type TAccountEnterOTPForgotHashedPin, type TAccountEnterOTPForgotHashedPinRes, type TAccountEntity, type TAccountFollow, type TAccountForgotHashedPinRes, type TAccountHashedPin, type TAccountPublicDetailRes, type TAccountPublicListFollowerRes, type TAccountPublicListFollowingRes, type TAccountPublicPreviewRes, type TAccountVerifyPin, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TAnswerChoiceEntity, type TAnswerQuestionEntity, type TAnswerWordArrangementEntity, type TBankEntity, type TBankPublicList, type TBankPublicListRes, type TCLassStatistic, type TCLassStatisticRes, type TCLassStudentStatistic, type TCLassStudentStatisticRes, type TChangeForgotHashedPin, type TClassCountStatus, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationAddGroupQuestion, type TClassNotificationAddGroupQuestionRes, type TClassNotificationCreate, type TClassNotificationCreateEditor, type TClassNotificationCreateEditorRes, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationImport, type TClassNotificationImportRes, type TClassNotificationList, type TClassNotificationListRes, type 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 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 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 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 TTransactionAllList, type TTransactionAllListRes, type TTransactionEntity, type TTutorEntity, type TTutorListStudents, type TTutorListStudentsRes, type TTutorPublicList, type TTutorPublicListRes, type TWalletEntity, type TWalletInfoRes, type TWithDrawRequestInternalGetOrCreateTransaction, type TWithDrawRequestInternalGetOrCreateTransactionRes, type TWithDrawRequestInternalList, type TWithDrawRequestInternalListRes, type TWithdrawRequestAdd, type TWithdrawRequestAddRes, type TWithdrawRequestCancel, type TWithdrawRequestCancelRes, type TWithdrawRequestCurrentWithdrawRes, type TWithdrawRequestEntity, type TWithdrawRequestList, type TWithdrawRequestListRes, URL_CLASS_DETAIL, WITHDRAW_REQUEST_STATUS };
|
|
2360
|
+
export { ACCEPTED_AUDIO_TYPES, ACCEPTED_IMAGE_TYPES, ACCEPTED_VIDEO_TYPES, ANSWER_QUESTION_TYPE, AT_LEAST_ALLOW_RATING_PROGRAM_HOUR, AT_LEAST_ALLOW_RATING_PROGRAM_LESSONS, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BaseInternalEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_ORDER, CLASS_STATUS_STUDENT_EDIT, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, HASHED_PIN_LENGTH, INTERNAL_ROLE, LESSON_ACTIVITY_STATUS, LESSON_FEE_RATE, MAX_DOCUMENT_FOLDER, MAX_STUDENT_DOCUMENT_FOLDER, MISSING_TRANSACTION_TYPE, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_ANSWER_QUESTION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_POST_TYPE, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_QUESTION_TYPES, OBJECT_RATING, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJECT_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 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 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 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 TRequestTutorFormCreate, type TRequestTutorFormCreateRes, type TRequestTutorFormEntity, 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 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
|
@@ -185,6 +185,13 @@ var MISSING_TRANSACTION_TYPE = /* @__PURE__ */ ((MISSING_TRANSACTION_TYPE2) => {
|
|
|
185
185
|
MISSING_TRANSACTION_TYPE2["OUT"] = "OUT";
|
|
186
186
|
return MISSING_TRANSACTION_TYPE2;
|
|
187
187
|
})(MISSING_TRANSACTION_TYPE || {});
|
|
188
|
+
var REQUEST_TUTOR_FORM_STATUS = /* @__PURE__ */ ((REQUEST_TUTOR_FORM_STATUS2) => {
|
|
189
|
+
REQUEST_TUTOR_FORM_STATUS2["PENDING"] = "PENDING";
|
|
190
|
+
REQUEST_TUTOR_FORM_STATUS2["PROCESS"] = "PROCESS";
|
|
191
|
+
REQUEST_TUTOR_FORM_STATUS2["FINISHED"] = "FINISHED";
|
|
192
|
+
REQUEST_TUTOR_FORM_STATUS2["CANCELED"] = "CANCELED";
|
|
193
|
+
return REQUEST_TUTOR_FORM_STATUS2;
|
|
194
|
+
})(REQUEST_TUTOR_FORM_STATUS || {});
|
|
188
195
|
|
|
189
196
|
// src/constant.ts
|
|
190
197
|
var OTP_RESEND_TIME = 20;
|
|
@@ -363,7 +370,7 @@ var OBJECT_PROGRAM_METHOD = {
|
|
|
363
370
|
},
|
|
364
371
|
["Online/Offline" /* ONLINE_OFFLINE */]: {
|
|
365
372
|
value: "Online/Offline" /* ONLINE_OFFLINE */,
|
|
366
|
-
label: "
|
|
373
|
+
label: "Onl/Off(linh ho\u1EA1t)"
|
|
367
374
|
}
|
|
368
375
|
};
|
|
369
376
|
var OBJECT_REGISTERED_PROGRAM_STATUS = {
|
|
@@ -667,6 +674,7 @@ export {
|
|
|
667
674
|
REGISTERED_PROGRAM_STATUS,
|
|
668
675
|
REGISTER_METHOD,
|
|
669
676
|
REGISTER_PROGRAM_TIME,
|
|
677
|
+
REQUEST_TUTOR_FORM_STATUS,
|
|
670
678
|
ResponseStatus,
|
|
671
679
|
SCHOOL_STATUS,
|
|
672
680
|
SESSION_GROUP_QUESTION,
|