gst-common 1.2.33 → 1.2.36

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
@@ -31,6 +31,7 @@ __export(index_exports, {
31
31
  OBJECT_CUSTOMER_TYPE: () => OBJECT_CUSTOMER_TYPE,
32
32
  OBJECT_DAY_OF_WEEK: () => OBJECT_DAY_OF_WEEK,
33
33
  OBJECT_GENDER: () => OBJECT_GENDER,
34
+ OBJECT_LESSON_ACTIVITY_STATUS: () => OBJECT_LESSON_ACTIVITY_STATUS,
34
35
  OBJECT_PROGRAM_METHOD: () => OBJECT_PROGRAM_METHOD,
35
36
  OBJECT_PROGRAM_SUITABLE_LEARNER: () => OBJECT_PROGRAM_SUITABLE_LEARNER,
36
37
  OBJECT_REGISTERED_PROGRAM_STATUS: () => OBJECT_REGISTERED_PROGRAM_STATUS,
@@ -342,6 +343,20 @@ var OBJECT_DAY_OF_WEEK = {
342
343
  label: "Ch\u1EE7 nh\u1EADt"
343
344
  }
344
345
  };
346
+ var OBJECT_LESSON_ACTIVITY_STATUS = {
347
+ ["NEW" /* NEW */]: {
348
+ value: "NEW" /* NEW */,
349
+ label: "Ch\u01B0a h\u1ECDc"
350
+ },
351
+ ["COMPLETED" /* COMPLETED */]: {
352
+ value: "COMPLETED" /* COMPLETED */,
353
+ label: "\u0110\xE3 h\u1ECDc"
354
+ },
355
+ ["CANCELED" /* CANCELED */]: {
356
+ value: "CANCELED" /* CANCELED */,
357
+ label: "\u0110\xE3 hu\u1EF7"
358
+ }
359
+ };
345
360
  // Annotate the CommonJS export names for ESM import in node:
346
361
  0 && (module.exports = {
347
362
  CLASS_STATUS,
@@ -355,6 +370,7 @@ var OBJECT_DAY_OF_WEEK = {
355
370
  OBJECT_CUSTOMER_TYPE,
356
371
  OBJECT_DAY_OF_WEEK,
357
372
  OBJECT_GENDER,
373
+ OBJECT_LESSON_ACTIVITY_STATUS,
358
374
  OBJECT_PROGRAM_METHOD,
359
375
  OBJECT_PROGRAM_SUITABLE_LEARNER,
360
376
  OBJECT_REGISTERED_PROGRAM_STATUS,
package/dist/index.d.cts CHANGED
@@ -451,6 +451,20 @@ declare const OBJECT_DAY_OF_WEEK: {
451
451
  label: string;
452
452
  };
453
453
  };
454
+ declare const OBJECT_LESSON_ACTIVITY_STATUS: {
455
+ NEW: {
456
+ value: LESSON_ACTIVITY_STATUS;
457
+ label: string;
458
+ };
459
+ COMPLETED: {
460
+ value: LESSON_ACTIVITY_STATUS;
461
+ label: string;
462
+ };
463
+ CANCELED: {
464
+ value: LESSON_ACTIVITY_STATUS;
465
+ label: string;
466
+ };
467
+ };
454
468
 
455
469
  type TRegisteredProgramCreatePost = {
456
470
  studentNote?: string;
@@ -522,6 +536,7 @@ type TLessonRequestSingle = {
522
536
  classId: string;
523
537
  } & TLessonRequestDTO;
524
538
  type TLessonCheckOverlap = {
539
+ exceptedLessonId?: string;
525
540
  startTime: string;
526
541
  endTime: string;
527
542
  };
@@ -610,4 +625,4 @@ type TLessonPrepareRes = {
610
625
  type TLessonCheckOverlapRes = TLessonEntity[];
611
626
  type TLessonRequestSingleRes = TLessonEntity;
612
627
 
613
- 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_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 TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, 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 TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
628
+ 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 TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, 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 TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
package/dist/index.d.ts CHANGED
@@ -451,6 +451,20 @@ declare const OBJECT_DAY_OF_WEEK: {
451
451
  label: string;
452
452
  };
453
453
  };
454
+ declare const OBJECT_LESSON_ACTIVITY_STATUS: {
455
+ NEW: {
456
+ value: LESSON_ACTIVITY_STATUS;
457
+ label: string;
458
+ };
459
+ COMPLETED: {
460
+ value: LESSON_ACTIVITY_STATUS;
461
+ label: string;
462
+ };
463
+ CANCELED: {
464
+ value: LESSON_ACTIVITY_STATUS;
465
+ label: string;
466
+ };
467
+ };
454
468
 
455
469
  type TRegisteredProgramCreatePost = {
456
470
  studentNote?: string;
@@ -522,6 +536,7 @@ type TLessonRequestSingle = {
522
536
  classId: string;
523
537
  } & TLessonRequestDTO;
524
538
  type TLessonCheckOverlap = {
539
+ exceptedLessonId?: string;
525
540
  startTime: string;
526
541
  endTime: string;
527
542
  };
@@ -610,4 +625,4 @@ type TLessonPrepareRes = {
610
625
  type TLessonCheckOverlapRes = TLessonEntity[];
611
626
  type TLessonRequestSingleRes = TLessonEntity;
612
627
 
613
- 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_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 TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, 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 TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
628
+ 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 TClassEntity, type TClassLearningTimeEntity, type TClassMeCreate, type TClassMeCreateRes, type TClassMeDetail, type TClassMeDetailRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonCheckOverlap, type TLessonCheckOverlapRes, 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 TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TRegisteredProgramListSentMeDTO, type TRegisteredProgramListSentMeRes, type TStudent, type TStudentEntity, type TTutorEntity };
package/dist/index.mjs CHANGED
@@ -290,6 +290,20 @@ var OBJECT_DAY_OF_WEEK = {
290
290
  label: "Ch\u1EE7 nh\u1EADt"
291
291
  }
292
292
  };
293
+ var OBJECT_LESSON_ACTIVITY_STATUS = {
294
+ ["NEW" /* NEW */]: {
295
+ value: "NEW" /* NEW */,
296
+ label: "Ch\u01B0a h\u1ECDc"
297
+ },
298
+ ["COMPLETED" /* COMPLETED */]: {
299
+ value: "COMPLETED" /* COMPLETED */,
300
+ label: "\u0110\xE3 h\u1ECDc"
301
+ },
302
+ ["CANCELED" /* CANCELED */]: {
303
+ value: "CANCELED" /* CANCELED */,
304
+ label: "\u0110\xE3 hu\u1EF7"
305
+ }
306
+ };
293
307
  export {
294
308
  CLASS_STATUS,
295
309
  CUSTOMER_TYPE,
@@ -302,6 +316,7 @@ export {
302
316
  OBJECT_CUSTOMER_TYPE,
303
317
  OBJECT_DAY_OF_WEEK,
304
318
  OBJECT_GENDER,
319
+ OBJECT_LESSON_ACTIVITY_STATUS,
305
320
  OBJECT_PROGRAM_METHOD,
306
321
  OBJECT_PROGRAM_SUITABLE_LEARNER,
307
322
  OBJECT_REGISTERED_PROGRAM_STATUS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.2.33",
3
+ "version": "1.2.36",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",