gst-common 1.2.57 → 1.2.59

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
@@ -47,6 +47,7 @@ __export(index_exports, {
47
47
  REFRESH_TYPE: () => REFRESH_TYPE,
48
48
  REGISTERED_PROGRAM_STATUS: () => REGISTERED_PROGRAM_STATUS,
49
49
  REGISTER_METHOD: () => REGISTER_METHOD,
50
+ REGISTER_PROGRAM_TIME: () => REGISTER_PROGRAM_TIME,
50
51
  ResponseStatus: () => ResponseStatus,
51
52
  SCHOOL_STATUS: () => SCHOOL_STATUS,
52
53
  SORT_TYPE: () => SORT_TYPE
@@ -58,6 +59,7 @@ var OTP_RESEND_TIME = 20;
58
59
  var COMMON_ROUTES = {
59
60
  registeredProgram: "/registered-program"
60
61
  };
62
+ var REGISTER_PROGRAM_TIME = 12 * 60 * 60;
61
63
 
62
64
  // src/type.ts
63
65
  var CUSTOMER_TYPE = /* @__PURE__ */ ((CUSTOMER_TYPE2) => {
@@ -397,6 +399,7 @@ var OBJECT_LESSON_ACTIVITY_STATUS = {
397
399
  REFRESH_TYPE,
398
400
  REGISTERED_PROGRAM_STATUS,
399
401
  REGISTER_METHOD,
402
+ REGISTER_PROGRAM_TIME,
400
403
  ResponseStatus,
401
404
  SCHOOL_STATUS,
402
405
  SORT_TYPE
package/dist/index.d.cts CHANGED
@@ -2,6 +2,7 @@ declare const OTP_RESEND_TIME = 20;
2
2
  declare const COMMON_ROUTES: {
3
3
  registeredProgram: string;
4
4
  };
5
+ declare const REGISTER_PROGRAM_TIME: number;
5
6
 
6
7
  declare enum CUSTOMER_TYPE {
7
8
  TUTOR = "tutor",
@@ -218,6 +219,7 @@ type TStudent = {
218
219
  } & BaseEntity;
219
220
  type TNotificationEntity = {
220
221
  title: string | null;
222
+ link: string | null;
221
223
  content: string | null;
222
224
  type: NOTIFICATION_TYPE;
223
225
  sender: TAccountEntity | null;
@@ -753,4 +755,4 @@ type TTutorListStudentsRes = {
753
755
  total: number;
754
756
  };
755
757
 
756
- export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, 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 TClassUpdate, type TClassUpdateRes, 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, type TTutorListStudents, type TTutorListStudentsRes };
758
+ export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, 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, REGISTER_PROGRAM_TIME, 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 TClassUpdate, type TClassUpdateRes, 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, type TTutorListStudents, type TTutorListStudentsRes };
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ declare const OTP_RESEND_TIME = 20;
2
2
  declare const COMMON_ROUTES: {
3
3
  registeredProgram: string;
4
4
  };
5
+ declare const REGISTER_PROGRAM_TIME: number;
5
6
 
6
7
  declare enum CUSTOMER_TYPE {
7
8
  TUTOR = "tutor",
@@ -218,6 +219,7 @@ type TStudent = {
218
219
  } & BaseEntity;
219
220
  type TNotificationEntity = {
220
221
  title: string | null;
222
+ link: string | null;
221
223
  content: string | null;
222
224
  type: NOTIFICATION_TYPE;
223
225
  sender: TAccountEntity | null;
@@ -753,4 +755,4 @@ type TTutorListStudentsRes = {
753
755
  total: number;
754
756
  };
755
757
 
756
- export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, 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 TClassUpdate, type TClassUpdateRes, 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, type TTutorListStudents, type TTutorListStudentsRes };
758
+ export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CLASS_STATUS_TUTOR_EDIT, COMMON_ROUTES, CUSTOMER_TYPE, type ClassLearningTimeDTO, 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, REGISTER_PROGRAM_TIME, 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 TClassUpdate, type TClassUpdateRes, 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, type TTutorListStudents, type TTutorListStudentsRes };
package/dist/index.mjs CHANGED
@@ -3,6 +3,7 @@ var OTP_RESEND_TIME = 20;
3
3
  var COMMON_ROUTES = {
4
4
  registeredProgram: "/registered-program"
5
5
  };
6
+ var REGISTER_PROGRAM_TIME = 12 * 60 * 60;
6
7
 
7
8
  // src/type.ts
8
9
  var CUSTOMER_TYPE = /* @__PURE__ */ ((CUSTOMER_TYPE2) => {
@@ -341,6 +342,7 @@ export {
341
342
  REFRESH_TYPE,
342
343
  REGISTERED_PROGRAM_STATUS,
343
344
  REGISTER_METHOD,
345
+ REGISTER_PROGRAM_TIME,
344
346
  ResponseStatus,
345
347
  SCHOOL_STATUS,
346
348
  SORT_TYPE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.2.57",
3
+ "version": "1.2.59",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",