gst-common 1.2.49 → 1.2.51
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 +9 -1
- package/dist/index.d.cts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
CLASS_STATUS: () => CLASS_STATUS,
|
|
24
|
+
CLASS_STATUS_TUTOR_EDIT: () => CLASS_STATUS_TUTOR_EDIT,
|
|
24
25
|
CUSTOMER_TYPE: () => CUSTOMER_TYPE,
|
|
25
26
|
DAY_OF_WEEK: () => DAY_OF_WEEK,
|
|
26
27
|
GENDER: () => GENDER,
|
|
@@ -131,6 +132,12 @@ var CLASS_STATUS = /* @__PURE__ */ ((CLASS_STATUS2) => {
|
|
|
131
132
|
CLASS_STATUS2["FINISHED"] = "FINISHED";
|
|
132
133
|
return CLASS_STATUS2;
|
|
133
134
|
})(CLASS_STATUS || {});
|
|
135
|
+
var CLASS_STATUS_TUTOR_EDIT = /* @__PURE__ */ ((CLASS_STATUS_TUTOR_EDIT2) => {
|
|
136
|
+
CLASS_STATUS_TUTOR_EDIT2["HAPPENING"] = "HAPPENING" /* HAPPENING */;
|
|
137
|
+
CLASS_STATUS_TUTOR_EDIT2["PENDING"] = "PENDING" /* PENDING */;
|
|
138
|
+
CLASS_STATUS_TUTOR_EDIT2["FINISHED"] = "FINISHED" /* FINISHED */;
|
|
139
|
+
return CLASS_STATUS_TUTOR_EDIT2;
|
|
140
|
+
})(CLASS_STATUS_TUTOR_EDIT || {});
|
|
134
141
|
var LESSON_ACTIVITY_STATUS = /* @__PURE__ */ ((LESSON_ACTIVITY_STATUS2) => {
|
|
135
142
|
LESSON_ACTIVITY_STATUS2["NEW"] = "NEW";
|
|
136
143
|
LESSON_ACTIVITY_STATUS2["CANCELED"] = "CANCELED";
|
|
@@ -282,7 +289,7 @@ var OBJECT_REGISTERED_PROGRAM_STATUS = {
|
|
|
282
289
|
},
|
|
283
290
|
["REJECTED" /* REJECTED */]: {
|
|
284
291
|
value: "REJECTED" /* REJECTED */,
|
|
285
|
-
label: "
|
|
292
|
+
label: "\u0110\xE3 hu\u1EF7"
|
|
286
293
|
}
|
|
287
294
|
};
|
|
288
295
|
var OBJECT_SORT_TYPE = {
|
|
@@ -360,6 +367,7 @@ var OBJECT_LESSON_ACTIVITY_STATUS = {
|
|
|
360
367
|
// Annotate the CommonJS export names for ESM import in node:
|
|
361
368
|
0 && (module.exports = {
|
|
362
369
|
CLASS_STATUS,
|
|
370
|
+
CLASS_STATUS_TUTOR_EDIT,
|
|
363
371
|
CUSTOMER_TYPE,
|
|
364
372
|
DAY_OF_WEEK,
|
|
365
373
|
GENDER,
|
package/dist/index.d.cts
CHANGED
|
@@ -86,6 +86,11 @@ declare enum CLASS_STATUS {
|
|
|
86
86
|
PENDING = "PENDING",
|
|
87
87
|
FINISHED = "FINISHED"
|
|
88
88
|
}
|
|
89
|
+
declare enum CLASS_STATUS_TUTOR_EDIT {
|
|
90
|
+
HAPPENING = "HAPPENING",
|
|
91
|
+
PENDING = "PENDING",
|
|
92
|
+
FINISHED = "FINISHED"
|
|
93
|
+
}
|
|
89
94
|
declare enum LESSON_ACTIVITY_STATUS {
|
|
90
95
|
NEW = "NEW",
|
|
91
96
|
CANCELED = "CANCELED",
|
|
@@ -706,5 +711,14 @@ type TRegisteredProgramCountStatusRes = {
|
|
|
706
711
|
totalNew: number;
|
|
707
712
|
totalTested: number;
|
|
708
713
|
};
|
|
714
|
+
type TClassSelectOptionsRes = {
|
|
715
|
+
id: string;
|
|
716
|
+
name: string;
|
|
717
|
+
student: {
|
|
718
|
+
id: string;
|
|
719
|
+
fullname: string;
|
|
720
|
+
avatar: string;
|
|
721
|
+
};
|
|
722
|
+
}[];
|
|
709
723
|
|
|
710
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TCLassStatistic, type TCLassStatisticRes, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationCreate, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TExtendLessonTimesDTO, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
|
|
724
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TCLassStatistic, type TCLassStatisticRes, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationCreate, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassSelectOptionsRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TExtendLessonTimesDTO, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
|
package/dist/index.d.ts
CHANGED
|
@@ -86,6 +86,11 @@ declare enum CLASS_STATUS {
|
|
|
86
86
|
PENDING = "PENDING",
|
|
87
87
|
FINISHED = "FINISHED"
|
|
88
88
|
}
|
|
89
|
+
declare enum CLASS_STATUS_TUTOR_EDIT {
|
|
90
|
+
HAPPENING = "HAPPENING",
|
|
91
|
+
PENDING = "PENDING",
|
|
92
|
+
FINISHED = "FINISHED"
|
|
93
|
+
}
|
|
89
94
|
declare enum LESSON_ACTIVITY_STATUS {
|
|
90
95
|
NEW = "NEW",
|
|
91
96
|
CANCELED = "CANCELED",
|
|
@@ -706,5 +711,14 @@ type TRegisteredProgramCountStatusRes = {
|
|
|
706
711
|
totalNew: number;
|
|
707
712
|
totalTested: number;
|
|
708
713
|
};
|
|
714
|
+
type TClassSelectOptionsRes = {
|
|
715
|
+
id: string;
|
|
716
|
+
name: string;
|
|
717
|
+
student: {
|
|
718
|
+
id: string;
|
|
719
|
+
fullname: string;
|
|
720
|
+
avatar: string;
|
|
721
|
+
};
|
|
722
|
+
}[];
|
|
709
723
|
|
|
710
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TCLassStatistic, type TCLassStatisticRes, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationCreate, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TExtendLessonTimesDTO, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
|
|
724
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, DAY_OF_WEEK, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, OBJECT_DAY_OF_WEEK, OBJECT_GENDER, OBJECT_LESSON_ACTIVITY_STATUS, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJECT_SORT_TYPE, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, SORT_TYPE, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TCLassStatistic, type TCLassStatisticRes, type TClassCountStatusRes, type TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TClassMeListRes, type TClassNotificationCreate, type TClassNotificationCreateRes, type TClassNotificationEntity, type TClassNotificationList, type TClassNotificationListRes, type TClassNotificationUpdate, type TClassNotificationUpdateRes, type TClassSelectOptionsRes, type TDeletableLessonsRes, type TDeleteDeletableLessonsRes, type TDistrictEntity, type TExtendLessonTimesDTO, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, type TLessonEdit, type TLessonEditRes, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonPrepare, type TLessonPrepareRes, type TLessonRequest, type TLessonRequestDTO, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, type TLessonRequestSingle, type TLessonRequestSingleRes, type TNotificationEntity, type TProgramEntity, type TProgramOptionsMe, type TProgramOptionsMeRes, type TProgramRegisteredMeTutorEdit, type TProgramRegisteredMeTutorEditRes, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCountStatusRes, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
|
package/dist/index.mjs
CHANGED
|
@@ -78,6 +78,12 @@ var CLASS_STATUS = /* @__PURE__ */ ((CLASS_STATUS2) => {
|
|
|
78
78
|
CLASS_STATUS2["FINISHED"] = "FINISHED";
|
|
79
79
|
return CLASS_STATUS2;
|
|
80
80
|
})(CLASS_STATUS || {});
|
|
81
|
+
var CLASS_STATUS_TUTOR_EDIT = /* @__PURE__ */ ((CLASS_STATUS_TUTOR_EDIT2) => {
|
|
82
|
+
CLASS_STATUS_TUTOR_EDIT2["HAPPENING"] = "HAPPENING" /* HAPPENING */;
|
|
83
|
+
CLASS_STATUS_TUTOR_EDIT2["PENDING"] = "PENDING" /* PENDING */;
|
|
84
|
+
CLASS_STATUS_TUTOR_EDIT2["FINISHED"] = "FINISHED" /* FINISHED */;
|
|
85
|
+
return CLASS_STATUS_TUTOR_EDIT2;
|
|
86
|
+
})(CLASS_STATUS_TUTOR_EDIT || {});
|
|
81
87
|
var LESSON_ACTIVITY_STATUS = /* @__PURE__ */ ((LESSON_ACTIVITY_STATUS2) => {
|
|
82
88
|
LESSON_ACTIVITY_STATUS2["NEW"] = "NEW";
|
|
83
89
|
LESSON_ACTIVITY_STATUS2["CANCELED"] = "CANCELED";
|
|
@@ -229,7 +235,7 @@ var OBJECT_REGISTERED_PROGRAM_STATUS = {
|
|
|
229
235
|
},
|
|
230
236
|
["REJECTED" /* REJECTED */]: {
|
|
231
237
|
value: "REJECTED" /* REJECTED */,
|
|
232
|
-
label: "
|
|
238
|
+
label: "\u0110\xE3 hu\u1EF7"
|
|
233
239
|
}
|
|
234
240
|
};
|
|
235
241
|
var OBJECT_SORT_TYPE = {
|
|
@@ -306,6 +312,7 @@ var OBJECT_LESSON_ACTIVITY_STATUS = {
|
|
|
306
312
|
};
|
|
307
313
|
export {
|
|
308
314
|
CLASS_STATUS,
|
|
315
|
+
CLASS_STATUS_TUTOR_EDIT,
|
|
309
316
|
CUSTOMER_TYPE,
|
|
310
317
|
DAY_OF_WEEK,
|
|
311
318
|
GENDER,
|