gst-common 1.2.19 → 1.2.21
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 +44 -0
- package/dist/index.d.cts +62 -1
- package/dist/index.d.ts +62 -1
- package/dist/index.mjs +42 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22,12 +22,14 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
CLASS_STATUS: () => CLASS_STATUS,
|
|
24
24
|
CUSTOMER_TYPE: () => CUSTOMER_TYPE,
|
|
25
|
+
DAY_OF_WEEK: () => DAY_OF_WEEK,
|
|
25
26
|
GENDER: () => GENDER,
|
|
26
27
|
LESSON_ACTIVITY_STATUS: () => LESSON_ACTIVITY_STATUS,
|
|
27
28
|
NOTIFICATION_STATUS: () => NOTIFICATION_STATUS,
|
|
28
29
|
NOTIFICATION_TYPE: () => NOTIFICATION_TYPE,
|
|
29
30
|
OBJECT_CLASS_STATUS: () => OBJECT_CLASS_STATUS,
|
|
30
31
|
OBJECT_CUSTOMER_TYPE: () => OBJECT_CUSTOMER_TYPE,
|
|
32
|
+
OBJECT_DAY_OF_WEEK: () => OBJECT_DAY_OF_WEEK,
|
|
31
33
|
OBJECT_GENDER: () => OBJECT_GENDER,
|
|
32
34
|
OBJECT_PROGRAM_METHOD: () => OBJECT_PROGRAM_METHOD,
|
|
33
35
|
OBJECT_PROGRAM_SUITABLE_LEARNER: () => OBJECT_PROGRAM_SUITABLE_LEARNER,
|
|
@@ -133,6 +135,16 @@ var LESSON_ACTIVITY_STATUS = /* @__PURE__ */ ((LESSON_ACTIVITY_STATUS2) => {
|
|
|
133
135
|
LESSON_ACTIVITY_STATUS2["COMPLETED"] = "COMPLETED";
|
|
134
136
|
return LESSON_ACTIVITY_STATUS2;
|
|
135
137
|
})(LESSON_ACTIVITY_STATUS || {});
|
|
138
|
+
var DAY_OF_WEEK = /* @__PURE__ */ ((DAY_OF_WEEK2) => {
|
|
139
|
+
DAY_OF_WEEK2["MONDAY"] = "MONDAY";
|
|
140
|
+
DAY_OF_WEEK2["TUESDAY"] = "TUESDAY";
|
|
141
|
+
DAY_OF_WEEK2["WEDNESDAY"] = "WEDNESDAY";
|
|
142
|
+
DAY_OF_WEEK2["THURSDAY"] = "THURSDAY";
|
|
143
|
+
DAY_OF_WEEK2["FRIDAY"] = "FRIDAY";
|
|
144
|
+
DAY_OF_WEEK2["SATURDAY"] = "SATURDAY";
|
|
145
|
+
DAY_OF_WEEK2["SUNDAY"] = "SUNDAY";
|
|
146
|
+
return DAY_OF_WEEK2;
|
|
147
|
+
})(DAY_OF_WEEK || {});
|
|
136
148
|
|
|
137
149
|
// src/object-enum.ts
|
|
138
150
|
var OBJECT_REGISTER_METHOD = {
|
|
@@ -299,16 +311,48 @@ var OBJECT_CLASS_STATUS = {
|
|
|
299
311
|
label: "Ho\xE0n th\xE0nh"
|
|
300
312
|
}
|
|
301
313
|
};
|
|
314
|
+
var OBJECT_DAY_OF_WEEK = {
|
|
315
|
+
["MONDAY" /* MONDAY */]: {
|
|
316
|
+
value: "MONDAY" /* MONDAY */,
|
|
317
|
+
label: "Th\u1EE9 hai"
|
|
318
|
+
},
|
|
319
|
+
["TUESDAY" /* TUESDAY */]: {
|
|
320
|
+
value: "TUESDAY" /* TUESDAY */,
|
|
321
|
+
label: "Th\u1EE9 ba"
|
|
322
|
+
},
|
|
323
|
+
["WEDNESDAY" /* WEDNESDAY */]: {
|
|
324
|
+
value: "WEDNESDAY" /* WEDNESDAY */,
|
|
325
|
+
label: "Th\u1EE9 t\u01B0"
|
|
326
|
+
},
|
|
327
|
+
["THURSDAY" /* THURSDAY */]: {
|
|
328
|
+
value: "THURSDAY" /* THURSDAY */,
|
|
329
|
+
label: "Th\u1EE9 n\u0103m"
|
|
330
|
+
},
|
|
331
|
+
["FRIDAY" /* FRIDAY */]: {
|
|
332
|
+
value: "FRIDAY" /* FRIDAY */,
|
|
333
|
+
label: "Th\u1EE9 s\xE1u"
|
|
334
|
+
},
|
|
335
|
+
["SATURDAY" /* SATURDAY */]: {
|
|
336
|
+
value: "SATURDAY" /* SATURDAY */,
|
|
337
|
+
label: "Th\u1EE9 b\u1EA3y"
|
|
338
|
+
},
|
|
339
|
+
["SUNDAY" /* SUNDAY */]: {
|
|
340
|
+
value: "SUNDAY" /* SUNDAY */,
|
|
341
|
+
label: "Ch\u1EE7 nh\u1EADt"
|
|
342
|
+
}
|
|
343
|
+
};
|
|
302
344
|
// Annotate the CommonJS export names for ESM import in node:
|
|
303
345
|
0 && (module.exports = {
|
|
304
346
|
CLASS_STATUS,
|
|
305
347
|
CUSTOMER_TYPE,
|
|
348
|
+
DAY_OF_WEEK,
|
|
306
349
|
GENDER,
|
|
307
350
|
LESSON_ACTIVITY_STATUS,
|
|
308
351
|
NOTIFICATION_STATUS,
|
|
309
352
|
NOTIFICATION_TYPE,
|
|
310
353
|
OBJECT_CLASS_STATUS,
|
|
311
354
|
OBJECT_CUSTOMER_TYPE,
|
|
355
|
+
OBJECT_DAY_OF_WEEK,
|
|
312
356
|
OBJECT_GENDER,
|
|
313
357
|
OBJECT_PROGRAM_METHOD,
|
|
314
358
|
OBJECT_PROGRAM_SUITABLE_LEARNER,
|
package/dist/index.d.cts
CHANGED
|
@@ -90,6 +90,15 @@ declare enum LESSON_ACTIVITY_STATUS {
|
|
|
90
90
|
CANCELED = "CANCELED",
|
|
91
91
|
COMPLETED = "COMPLETED"
|
|
92
92
|
}
|
|
93
|
+
declare enum DAY_OF_WEEK {
|
|
94
|
+
MONDAY = "MONDAY",
|
|
95
|
+
TUESDAY = "TUESDAY",
|
|
96
|
+
WEDNESDAY = "WEDNESDAY",
|
|
97
|
+
THURSDAY = "THURSDAY",
|
|
98
|
+
FRIDAY = "FRIDAY",
|
|
99
|
+
SATURDAY = "SATURDAY",
|
|
100
|
+
SUNDAY = "SUNDAY"
|
|
101
|
+
}
|
|
93
102
|
|
|
94
103
|
type TProgramSuitableLearnerEntity = {
|
|
95
104
|
suitableLeanerCode: PROGRAM_SUITABLE_LEARNER;
|
|
@@ -227,6 +236,7 @@ type TClassEntity = {
|
|
|
227
236
|
registeredProgram: TRegisteredProgramEntity | null;
|
|
228
237
|
student: TAccountEntity | null;
|
|
229
238
|
tutor: TAccountEntity;
|
|
239
|
+
learningTimes: TClassLearningTimeEntity;
|
|
230
240
|
} & BaseEntity;
|
|
231
241
|
type TLessonEntity = {
|
|
232
242
|
startTime: string;
|
|
@@ -238,6 +248,12 @@ type TLessonEntity = {
|
|
|
238
248
|
fee: number;
|
|
239
249
|
class: TClassEntity;
|
|
240
250
|
} & BaseEntity;
|
|
251
|
+
type TClassLearningTimeEntity = {
|
|
252
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
253
|
+
startTime: string;
|
|
254
|
+
endTime: string;
|
|
255
|
+
class: TClassEntity;
|
|
256
|
+
} & BaseEntity;
|
|
241
257
|
|
|
242
258
|
declare const OBJECT_REGISTER_METHOD: {
|
|
243
259
|
email: {
|
|
@@ -403,6 +419,36 @@ declare const OBJECT_CLASS_STATUS: {
|
|
|
403
419
|
label: string;
|
|
404
420
|
};
|
|
405
421
|
};
|
|
422
|
+
declare const OBJECT_DAY_OF_WEEK: {
|
|
423
|
+
MONDAY: {
|
|
424
|
+
value: DAY_OF_WEEK;
|
|
425
|
+
label: string;
|
|
426
|
+
};
|
|
427
|
+
TUESDAY: {
|
|
428
|
+
value: DAY_OF_WEEK;
|
|
429
|
+
label: string;
|
|
430
|
+
};
|
|
431
|
+
WEDNESDAY: {
|
|
432
|
+
value: DAY_OF_WEEK;
|
|
433
|
+
label: string;
|
|
434
|
+
};
|
|
435
|
+
THURSDAY: {
|
|
436
|
+
value: DAY_OF_WEEK;
|
|
437
|
+
label: string;
|
|
438
|
+
};
|
|
439
|
+
FRIDAY: {
|
|
440
|
+
value: DAY_OF_WEEK;
|
|
441
|
+
label: string;
|
|
442
|
+
};
|
|
443
|
+
SATURDAY: {
|
|
444
|
+
value: DAY_OF_WEEK;
|
|
445
|
+
label: string;
|
|
446
|
+
};
|
|
447
|
+
SUNDAY: {
|
|
448
|
+
value: DAY_OF_WEEK;
|
|
449
|
+
label: string;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
406
452
|
|
|
407
453
|
type TRegisteredProgramCreatePost = {
|
|
408
454
|
studentNote?: string;
|
|
@@ -421,10 +467,16 @@ type TRegisteredProgramListSentMeDTO = {
|
|
|
421
467
|
} & BasePaginationParams;
|
|
422
468
|
type TClassMeCreate = {
|
|
423
469
|
name: string;
|
|
470
|
+
fee?: number;
|
|
424
471
|
programId: string;
|
|
425
472
|
registeredProgramId: string;
|
|
426
473
|
studentId: string;
|
|
427
474
|
note?: string;
|
|
475
|
+
classLearningTime?: {
|
|
476
|
+
startTime: string;
|
|
477
|
+
endTime: string;
|
|
478
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
479
|
+
}[];
|
|
428
480
|
};
|
|
429
481
|
type TProgramOptionsMe = {} & BasePaginationParams;
|
|
430
482
|
type TClassMeList = {
|
|
@@ -441,6 +493,11 @@ type TLessonRequest = {
|
|
|
441
493
|
fee: number;
|
|
442
494
|
}[];
|
|
443
495
|
};
|
|
496
|
+
type TLessonListMeTutor = {
|
|
497
|
+
fromDate: string;
|
|
498
|
+
toDate: string;
|
|
499
|
+
classId?: string;
|
|
500
|
+
} & BasePaginationParams;
|
|
444
501
|
|
|
445
502
|
type TProgramRegisteredMeTutorEdit = {
|
|
446
503
|
id: string;
|
|
@@ -505,5 +562,9 @@ type TLessonRequestFailedOverlappedData = {
|
|
|
505
562
|
declare enum TLessonRequestResFailType {
|
|
506
563
|
OVERLAPPED = "OVERLAPPED"
|
|
507
564
|
}
|
|
565
|
+
type TLessonListMeTutorRes = {
|
|
566
|
+
lessons: TLessonEntity[];
|
|
567
|
+
total: number;
|
|
568
|
+
};
|
|
508
569
|
|
|
509
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, 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 TClassMeCreate, type TClassMeCreateRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonEntity, type TLessonRequest, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, 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 };
|
|
570
|
+
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 TClassMeList, type TDistrictEntity, type TLesson, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonRequest, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, 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
|
@@ -90,6 +90,15 @@ declare enum LESSON_ACTIVITY_STATUS {
|
|
|
90
90
|
CANCELED = "CANCELED",
|
|
91
91
|
COMPLETED = "COMPLETED"
|
|
92
92
|
}
|
|
93
|
+
declare enum DAY_OF_WEEK {
|
|
94
|
+
MONDAY = "MONDAY",
|
|
95
|
+
TUESDAY = "TUESDAY",
|
|
96
|
+
WEDNESDAY = "WEDNESDAY",
|
|
97
|
+
THURSDAY = "THURSDAY",
|
|
98
|
+
FRIDAY = "FRIDAY",
|
|
99
|
+
SATURDAY = "SATURDAY",
|
|
100
|
+
SUNDAY = "SUNDAY"
|
|
101
|
+
}
|
|
93
102
|
|
|
94
103
|
type TProgramSuitableLearnerEntity = {
|
|
95
104
|
suitableLeanerCode: PROGRAM_SUITABLE_LEARNER;
|
|
@@ -227,6 +236,7 @@ type TClassEntity = {
|
|
|
227
236
|
registeredProgram: TRegisteredProgramEntity | null;
|
|
228
237
|
student: TAccountEntity | null;
|
|
229
238
|
tutor: TAccountEntity;
|
|
239
|
+
learningTimes: TClassLearningTimeEntity;
|
|
230
240
|
} & BaseEntity;
|
|
231
241
|
type TLessonEntity = {
|
|
232
242
|
startTime: string;
|
|
@@ -238,6 +248,12 @@ type TLessonEntity = {
|
|
|
238
248
|
fee: number;
|
|
239
249
|
class: TClassEntity;
|
|
240
250
|
} & BaseEntity;
|
|
251
|
+
type TClassLearningTimeEntity = {
|
|
252
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
253
|
+
startTime: string;
|
|
254
|
+
endTime: string;
|
|
255
|
+
class: TClassEntity;
|
|
256
|
+
} & BaseEntity;
|
|
241
257
|
|
|
242
258
|
declare const OBJECT_REGISTER_METHOD: {
|
|
243
259
|
email: {
|
|
@@ -403,6 +419,36 @@ declare const OBJECT_CLASS_STATUS: {
|
|
|
403
419
|
label: string;
|
|
404
420
|
};
|
|
405
421
|
};
|
|
422
|
+
declare const OBJECT_DAY_OF_WEEK: {
|
|
423
|
+
MONDAY: {
|
|
424
|
+
value: DAY_OF_WEEK;
|
|
425
|
+
label: string;
|
|
426
|
+
};
|
|
427
|
+
TUESDAY: {
|
|
428
|
+
value: DAY_OF_WEEK;
|
|
429
|
+
label: string;
|
|
430
|
+
};
|
|
431
|
+
WEDNESDAY: {
|
|
432
|
+
value: DAY_OF_WEEK;
|
|
433
|
+
label: string;
|
|
434
|
+
};
|
|
435
|
+
THURSDAY: {
|
|
436
|
+
value: DAY_OF_WEEK;
|
|
437
|
+
label: string;
|
|
438
|
+
};
|
|
439
|
+
FRIDAY: {
|
|
440
|
+
value: DAY_OF_WEEK;
|
|
441
|
+
label: string;
|
|
442
|
+
};
|
|
443
|
+
SATURDAY: {
|
|
444
|
+
value: DAY_OF_WEEK;
|
|
445
|
+
label: string;
|
|
446
|
+
};
|
|
447
|
+
SUNDAY: {
|
|
448
|
+
value: DAY_OF_WEEK;
|
|
449
|
+
label: string;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
406
452
|
|
|
407
453
|
type TRegisteredProgramCreatePost = {
|
|
408
454
|
studentNote?: string;
|
|
@@ -421,10 +467,16 @@ type TRegisteredProgramListSentMeDTO = {
|
|
|
421
467
|
} & BasePaginationParams;
|
|
422
468
|
type TClassMeCreate = {
|
|
423
469
|
name: string;
|
|
470
|
+
fee?: number;
|
|
424
471
|
programId: string;
|
|
425
472
|
registeredProgramId: string;
|
|
426
473
|
studentId: string;
|
|
427
474
|
note?: string;
|
|
475
|
+
classLearningTime?: {
|
|
476
|
+
startTime: string;
|
|
477
|
+
endTime: string;
|
|
478
|
+
dayOfWeek: DAY_OF_WEEK;
|
|
479
|
+
}[];
|
|
428
480
|
};
|
|
429
481
|
type TProgramOptionsMe = {} & BasePaginationParams;
|
|
430
482
|
type TClassMeList = {
|
|
@@ -441,6 +493,11 @@ type TLessonRequest = {
|
|
|
441
493
|
fee: number;
|
|
442
494
|
}[];
|
|
443
495
|
};
|
|
496
|
+
type TLessonListMeTutor = {
|
|
497
|
+
fromDate: string;
|
|
498
|
+
toDate: string;
|
|
499
|
+
classId?: string;
|
|
500
|
+
} & BasePaginationParams;
|
|
444
501
|
|
|
445
502
|
type TProgramRegisteredMeTutorEdit = {
|
|
446
503
|
id: string;
|
|
@@ -505,5 +562,9 @@ type TLessonRequestFailedOverlappedData = {
|
|
|
505
562
|
declare enum TLessonRequestResFailType {
|
|
506
563
|
OVERLAPPED = "OVERLAPPED"
|
|
507
564
|
}
|
|
565
|
+
type TLessonListMeTutorRes = {
|
|
566
|
+
lessons: TLessonEntity[];
|
|
567
|
+
total: number;
|
|
568
|
+
};
|
|
508
569
|
|
|
509
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CLASS_STATUS, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, LESSON_ACTIVITY_STATUS, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CLASS_STATUS, OBJECT_CUSTOMER_TYPE, 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 TClassMeCreate, type TClassMeCreateRes, type TClassMeList, type TDistrictEntity, type TLesson, type TLessonEntity, type TLessonRequest, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, 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 };
|
|
570
|
+
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 TClassMeList, type TDistrictEntity, type TLesson, type TLessonEntity, type TLessonListMeTutor, type TLessonListMeTutorRes, type TLessonRequest, type TLessonRequestFailedOverlappedData, type TLessonRequestRes, 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
|
@@ -83,6 +83,16 @@ var LESSON_ACTIVITY_STATUS = /* @__PURE__ */ ((LESSON_ACTIVITY_STATUS2) => {
|
|
|
83
83
|
LESSON_ACTIVITY_STATUS2["COMPLETED"] = "COMPLETED";
|
|
84
84
|
return LESSON_ACTIVITY_STATUS2;
|
|
85
85
|
})(LESSON_ACTIVITY_STATUS || {});
|
|
86
|
+
var DAY_OF_WEEK = /* @__PURE__ */ ((DAY_OF_WEEK2) => {
|
|
87
|
+
DAY_OF_WEEK2["MONDAY"] = "MONDAY";
|
|
88
|
+
DAY_OF_WEEK2["TUESDAY"] = "TUESDAY";
|
|
89
|
+
DAY_OF_WEEK2["WEDNESDAY"] = "WEDNESDAY";
|
|
90
|
+
DAY_OF_WEEK2["THURSDAY"] = "THURSDAY";
|
|
91
|
+
DAY_OF_WEEK2["FRIDAY"] = "FRIDAY";
|
|
92
|
+
DAY_OF_WEEK2["SATURDAY"] = "SATURDAY";
|
|
93
|
+
DAY_OF_WEEK2["SUNDAY"] = "SUNDAY";
|
|
94
|
+
return DAY_OF_WEEK2;
|
|
95
|
+
})(DAY_OF_WEEK || {});
|
|
86
96
|
|
|
87
97
|
// src/object-enum.ts
|
|
88
98
|
var OBJECT_REGISTER_METHOD = {
|
|
@@ -249,15 +259,47 @@ var OBJECT_CLASS_STATUS = {
|
|
|
249
259
|
label: "Ho\xE0n th\xE0nh"
|
|
250
260
|
}
|
|
251
261
|
};
|
|
262
|
+
var OBJECT_DAY_OF_WEEK = {
|
|
263
|
+
["MONDAY" /* MONDAY */]: {
|
|
264
|
+
value: "MONDAY" /* MONDAY */,
|
|
265
|
+
label: "Th\u1EE9 hai"
|
|
266
|
+
},
|
|
267
|
+
["TUESDAY" /* TUESDAY */]: {
|
|
268
|
+
value: "TUESDAY" /* TUESDAY */,
|
|
269
|
+
label: "Th\u1EE9 ba"
|
|
270
|
+
},
|
|
271
|
+
["WEDNESDAY" /* WEDNESDAY */]: {
|
|
272
|
+
value: "WEDNESDAY" /* WEDNESDAY */,
|
|
273
|
+
label: "Th\u1EE9 t\u01B0"
|
|
274
|
+
},
|
|
275
|
+
["THURSDAY" /* THURSDAY */]: {
|
|
276
|
+
value: "THURSDAY" /* THURSDAY */,
|
|
277
|
+
label: "Th\u1EE9 n\u0103m"
|
|
278
|
+
},
|
|
279
|
+
["FRIDAY" /* FRIDAY */]: {
|
|
280
|
+
value: "FRIDAY" /* FRIDAY */,
|
|
281
|
+
label: "Th\u1EE9 s\xE1u"
|
|
282
|
+
},
|
|
283
|
+
["SATURDAY" /* SATURDAY */]: {
|
|
284
|
+
value: "SATURDAY" /* SATURDAY */,
|
|
285
|
+
label: "Th\u1EE9 b\u1EA3y"
|
|
286
|
+
},
|
|
287
|
+
["SUNDAY" /* SUNDAY */]: {
|
|
288
|
+
value: "SUNDAY" /* SUNDAY */,
|
|
289
|
+
label: "Ch\u1EE7 nh\u1EADt"
|
|
290
|
+
}
|
|
291
|
+
};
|
|
252
292
|
export {
|
|
253
293
|
CLASS_STATUS,
|
|
254
294
|
CUSTOMER_TYPE,
|
|
295
|
+
DAY_OF_WEEK,
|
|
255
296
|
GENDER,
|
|
256
297
|
LESSON_ACTIVITY_STATUS,
|
|
257
298
|
NOTIFICATION_STATUS,
|
|
258
299
|
NOTIFICATION_TYPE,
|
|
259
300
|
OBJECT_CLASS_STATUS,
|
|
260
301
|
OBJECT_CUSTOMER_TYPE,
|
|
302
|
+
OBJECT_DAY_OF_WEEK,
|
|
261
303
|
OBJECT_GENDER,
|
|
262
304
|
OBJECT_PROGRAM_METHOD,
|
|
263
305
|
OBJECT_PROGRAM_SUITABLE_LEARNER,
|