gst-common 1.1.43 → 1.2.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 +9 -9
- package/dist/index.d.cts +68 -43
- package/dist/index.d.ts +68 -43
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22,6 +22,7 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
CUSTOMER_TYPE: () => CUSTOMER_TYPE,
|
|
24
24
|
GENDER: () => GENDER,
|
|
25
|
+
NOTIFICATION_STATUS: () => NOTIFICATION_STATUS,
|
|
25
26
|
NOTIFICATION_TYPE: () => NOTIFICATION_TYPE,
|
|
26
27
|
OBJECT_CUSTOMER_TYPE: () => OBJECT_CUSTOMER_TYPE,
|
|
27
28
|
OBJECT_GENDER: () => OBJECT_GENDER,
|
|
@@ -38,19 +39,13 @@ __export(index_exports, {
|
|
|
38
39
|
REGISTERED_PROGRAM_STATUS: () => REGISTERED_PROGRAM_STATUS,
|
|
39
40
|
REGISTER_METHOD: () => REGISTER_METHOD,
|
|
40
41
|
ResponseStatus: () => ResponseStatus,
|
|
41
|
-
SCHOOL_STATUS: () => SCHOOL_STATUS
|
|
42
|
-
sayHello: () => sayHello
|
|
42
|
+
SCHOOL_STATUS: () => SCHOOL_STATUS
|
|
43
43
|
});
|
|
44
44
|
module.exports = __toCommonJS(index_exports);
|
|
45
45
|
|
|
46
46
|
// src/constant.ts
|
|
47
47
|
var OTP_RESEND_TIME = 20;
|
|
48
48
|
|
|
49
|
-
// src/functions.ts
|
|
50
|
-
function sayHello() {
|
|
51
|
-
console.log("HELLO WORLD");
|
|
52
|
-
}
|
|
53
|
-
|
|
54
49
|
// src/type.ts
|
|
55
50
|
var CUSTOMER_TYPE = /* @__PURE__ */ ((CUSTOMER_TYPE2) => {
|
|
56
51
|
CUSTOMER_TYPE2["TUTOR"] = "tutor";
|
|
@@ -100,6 +95,11 @@ var NOTIFICATION_TYPE = /* @__PURE__ */ ((NOTIFICATION_TYPE2) => {
|
|
|
100
95
|
NOTIFICATION_TYPE2["STANDARD"] = "STANDARD";
|
|
101
96
|
return NOTIFICATION_TYPE2;
|
|
102
97
|
})(NOTIFICATION_TYPE || {});
|
|
98
|
+
var NOTIFICATION_STATUS = /* @__PURE__ */ ((NOTIFICATION_STATUS2) => {
|
|
99
|
+
NOTIFICATION_STATUS2["UNREAD"] = "UNREAD";
|
|
100
|
+
NOTIFICATION_STATUS2["READ"] = "READ";
|
|
101
|
+
return NOTIFICATION_STATUS2;
|
|
102
|
+
})(NOTIFICATION_STATUS || {});
|
|
103
103
|
var REGISTERED_PROGRAM_STATUS = /* @__PURE__ */ ((REGISTERED_PROGRAM_STATUS2) => {
|
|
104
104
|
REGISTERED_PROGRAM_STATUS2["NEW"] = "NEW";
|
|
105
105
|
REGISTERED_PROGRAM_STATUS2["TESTED"] = "TESTED";
|
|
@@ -253,6 +253,7 @@ var OBJECT_REGISTERED_PROGRAM_STATUS = {
|
|
|
253
253
|
0 && (module.exports = {
|
|
254
254
|
CUSTOMER_TYPE,
|
|
255
255
|
GENDER,
|
|
256
|
+
NOTIFICATION_STATUS,
|
|
256
257
|
NOTIFICATION_TYPE,
|
|
257
258
|
OBJECT_CUSTOMER_TYPE,
|
|
258
259
|
OBJECT_GENDER,
|
|
@@ -269,6 +270,5 @@ var OBJECT_REGISTERED_PROGRAM_STATUS = {
|
|
|
269
270
|
REGISTERED_PROGRAM_STATUS,
|
|
270
271
|
REGISTER_METHOD,
|
|
271
272
|
ResponseStatus,
|
|
272
|
-
SCHOOL_STATUS
|
|
273
|
-
sayHello
|
|
273
|
+
SCHOOL_STATUS
|
|
274
274
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -63,6 +63,10 @@ declare enum NOTIFICATION_TYPE {
|
|
|
63
63
|
PROGRAM_REGISTER = "program_register",
|
|
64
64
|
STANDARD = "STANDARD"
|
|
65
65
|
}
|
|
66
|
+
declare enum NOTIFICATION_STATUS {
|
|
67
|
+
UNREAD = "UNREAD",
|
|
68
|
+
READ = "READ"
|
|
69
|
+
}
|
|
66
70
|
declare enum REGISTERED_PROGRAM_STATUS {
|
|
67
71
|
NEW = "NEW",
|
|
68
72
|
TESTED = "TESTED",
|
|
@@ -91,11 +95,11 @@ type TProgramEntity = {
|
|
|
91
95
|
durationPerSession: number;
|
|
92
96
|
} & BaseEntity;
|
|
93
97
|
type TStudentEntity = {
|
|
94
|
-
district
|
|
95
|
-
province
|
|
96
|
-
birthDay
|
|
98
|
+
district: TDistrictEntity | null | null;
|
|
99
|
+
province: TProvinceEntity | null | null;
|
|
100
|
+
birthDay: Date | null | null;
|
|
97
101
|
hiddenBirthDay: boolean;
|
|
98
|
-
phoneNumber
|
|
102
|
+
phoneNumber: string | null | null;
|
|
99
103
|
hiddenPhoneNumber: boolean;
|
|
100
104
|
account: TAccountEntity;
|
|
101
105
|
} & BaseEntity;
|
|
@@ -112,8 +116,8 @@ type TAccountEntity = {
|
|
|
112
116
|
updatedAt: Date;
|
|
113
117
|
createdAt: Date;
|
|
114
118
|
deletedAt: Date | null;
|
|
115
|
-
tutor
|
|
116
|
-
student
|
|
119
|
+
tutor: TTutorEntity | null | null;
|
|
120
|
+
student: TStudentEntity | null | null;
|
|
117
121
|
birthDay: string | null;
|
|
118
122
|
hiddenBirthDay: boolean;
|
|
119
123
|
phoneNumber: string | null;
|
|
@@ -123,72 +127,82 @@ type TAdministrativeRegionEntity = {
|
|
|
123
127
|
id: number;
|
|
124
128
|
name: string;
|
|
125
129
|
nameEn: string;
|
|
126
|
-
codeName
|
|
127
|
-
codeNameEn
|
|
130
|
+
codeName: string | null;
|
|
131
|
+
codeNameEn: string | null;
|
|
128
132
|
};
|
|
129
133
|
type TAdministrativeUnitEntity = {
|
|
130
134
|
id: number;
|
|
131
|
-
fullName
|
|
132
|
-
fullNameEn
|
|
133
|
-
shortName
|
|
134
|
-
shortNameEn
|
|
135
|
-
codeName
|
|
136
|
-
codeNameEn
|
|
135
|
+
fullName: string | null;
|
|
136
|
+
fullNameEn: string | null;
|
|
137
|
+
shortName: string | null;
|
|
138
|
+
shortNameEn: string | null;
|
|
139
|
+
codeName: string | null;
|
|
140
|
+
codeNameEn: string | null;
|
|
137
141
|
};
|
|
138
142
|
type TProvinceEntity = {
|
|
139
143
|
code: string;
|
|
140
144
|
name: string;
|
|
141
|
-
nameEn
|
|
145
|
+
nameEn: string | null;
|
|
142
146
|
fullName: string;
|
|
143
|
-
fullNameEn
|
|
144
|
-
codeName
|
|
147
|
+
fullNameEn: string | null;
|
|
148
|
+
codeName: string | null;
|
|
145
149
|
administrativeRegion: TAdministrativeRegionEntity;
|
|
146
150
|
administrativeUnit: TAdministrativeUnitEntity;
|
|
147
151
|
};
|
|
148
152
|
type TDistrictEntity = {
|
|
149
153
|
code: string;
|
|
150
154
|
name: string;
|
|
151
|
-
nameEn
|
|
152
|
-
fullName
|
|
153
|
-
fullNameEn
|
|
154
|
-
codeName
|
|
155
|
+
nameEn: string | null;
|
|
156
|
+
fullName: string | null;
|
|
157
|
+
fullNameEn: string | null;
|
|
158
|
+
codeName: string | null;
|
|
155
159
|
province: TProvinceEntity;
|
|
156
160
|
administrativeUnit: TAdministrativeUnitEntity;
|
|
157
161
|
};
|
|
158
162
|
type TTutorEntity = {
|
|
159
|
-
introduction
|
|
160
|
-
shortVideoUrl
|
|
161
|
-
schoolName
|
|
162
|
-
schoolStatus
|
|
163
|
+
introduction: string | null;
|
|
164
|
+
shortVideoUrl: string | null;
|
|
165
|
+
schoolName: string | null;
|
|
166
|
+
schoolStatus: SCHOOL_STATUS | null;
|
|
163
167
|
hiddenSchool: boolean;
|
|
164
|
-
district
|
|
165
|
-
province
|
|
166
|
-
workAt
|
|
167
|
-
birthDay
|
|
168
|
-
hiddenBirthDay
|
|
169
|
-
phoneNumber
|
|
170
|
-
hiddenPhoneNumber
|
|
168
|
+
district: TDistrictEntity | null;
|
|
169
|
+
province: TProvinceEntity | null;
|
|
170
|
+
workAt: string | null;
|
|
171
|
+
birthDay: string | null;
|
|
172
|
+
hiddenBirthDay: boolean | null;
|
|
173
|
+
phoneNumber: string | null;
|
|
174
|
+
hiddenPhoneNumber: boolean | null;
|
|
171
175
|
hiddenWorkAt: boolean;
|
|
172
176
|
account: TAccountEntity;
|
|
173
177
|
} & BaseEntity;
|
|
174
178
|
type TStudent = {
|
|
175
179
|
account: TAccountEntity;
|
|
176
|
-
district
|
|
177
|
-
province
|
|
178
|
-
birthDay
|
|
180
|
+
district: TDistrictEntity | null | null;
|
|
181
|
+
province: TProvinceEntity | null | null;
|
|
182
|
+
birthDay: string | null | null;
|
|
179
183
|
hiddenBirthDay: boolean;
|
|
180
|
-
phoneNumber
|
|
184
|
+
phoneNumber: string | null | null;
|
|
181
185
|
hiddenPhoneNumber: boolean;
|
|
182
186
|
} & BaseEntity;
|
|
183
187
|
type TNotificationEntity = {
|
|
184
|
-
title
|
|
185
|
-
content
|
|
188
|
+
title: string | null;
|
|
189
|
+
content: string | null;
|
|
186
190
|
type: NOTIFICATION_TYPE;
|
|
187
|
-
sender
|
|
188
|
-
receiver
|
|
191
|
+
sender: TAccountEntity | null;
|
|
192
|
+
receiver: TAccountEntity | null;
|
|
189
193
|
} & BaseEntity;
|
|
190
|
-
|
|
191
|
-
|
|
194
|
+
type TRegisteredProgramEntity = {
|
|
195
|
+
status: REGISTERED_PROGRAM_STATUS;
|
|
196
|
+
note: string | null;
|
|
197
|
+
studentNote: string | null;
|
|
198
|
+
studentPhoneNumber: string;
|
|
199
|
+
studentProgramMethodDesired: PROGRAM_METHOD | null;
|
|
200
|
+
studentProvince: TProvinceEntity | null;
|
|
201
|
+
studentDistrict: TDistrictEntity | null;
|
|
202
|
+
addressStudent: string | null;
|
|
203
|
+
studentInterestedProgram: TProgramEntity;
|
|
204
|
+
registeredStudent: TAccountEntity;
|
|
205
|
+
};
|
|
192
206
|
|
|
193
207
|
declare const OBJECT_REGISTER_METHOD: {
|
|
194
208
|
email: {
|
|
@@ -327,6 +341,16 @@ declare const OBJECT_REGISTERED_PROGRAM_STATUS: {
|
|
|
327
341
|
};
|
|
328
342
|
};
|
|
329
343
|
|
|
344
|
+
type TRegisteredProgramCreatePost = {
|
|
345
|
+
studentNote?: string;
|
|
346
|
+
studentPhoneNumber?: string;
|
|
347
|
+
studentProgramMethodDesired?: PROGRAM_METHOD;
|
|
348
|
+
studentProvinceCode?: string;
|
|
349
|
+
studentDistrictCode?: string;
|
|
350
|
+
addressStudent?: string;
|
|
351
|
+
studentInterestedProgramId: string;
|
|
352
|
+
};
|
|
353
|
+
|
|
330
354
|
type AccountSignInResponse = {
|
|
331
355
|
accessToken: string;
|
|
332
356
|
account: {
|
|
@@ -356,5 +380,6 @@ type AccountPostMeResponse = {
|
|
|
356
380
|
avatar: string | null;
|
|
357
381
|
providerId: string;
|
|
358
382
|
};
|
|
383
|
+
type TRegisteredProgramCreateRes = TRegisteredProgramEntity;
|
|
359
384
|
|
|
360
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, NOTIFICATION_TYPE, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TDistrictEntity, type TNotificationEntity, type TProgramEntity, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TStudent, type TStudentEntity, type TTutorEntity
|
|
385
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TDistrictEntity, type TNotificationEntity, type TProgramEntity, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TStudent, type TStudentEntity, type TTutorEntity };
|
package/dist/index.d.ts
CHANGED
|
@@ -63,6 +63,10 @@ declare enum NOTIFICATION_TYPE {
|
|
|
63
63
|
PROGRAM_REGISTER = "program_register",
|
|
64
64
|
STANDARD = "STANDARD"
|
|
65
65
|
}
|
|
66
|
+
declare enum NOTIFICATION_STATUS {
|
|
67
|
+
UNREAD = "UNREAD",
|
|
68
|
+
READ = "READ"
|
|
69
|
+
}
|
|
66
70
|
declare enum REGISTERED_PROGRAM_STATUS {
|
|
67
71
|
NEW = "NEW",
|
|
68
72
|
TESTED = "TESTED",
|
|
@@ -91,11 +95,11 @@ type TProgramEntity = {
|
|
|
91
95
|
durationPerSession: number;
|
|
92
96
|
} & BaseEntity;
|
|
93
97
|
type TStudentEntity = {
|
|
94
|
-
district
|
|
95
|
-
province
|
|
96
|
-
birthDay
|
|
98
|
+
district: TDistrictEntity | null | null;
|
|
99
|
+
province: TProvinceEntity | null | null;
|
|
100
|
+
birthDay: Date | null | null;
|
|
97
101
|
hiddenBirthDay: boolean;
|
|
98
|
-
phoneNumber
|
|
102
|
+
phoneNumber: string | null | null;
|
|
99
103
|
hiddenPhoneNumber: boolean;
|
|
100
104
|
account: TAccountEntity;
|
|
101
105
|
} & BaseEntity;
|
|
@@ -112,8 +116,8 @@ type TAccountEntity = {
|
|
|
112
116
|
updatedAt: Date;
|
|
113
117
|
createdAt: Date;
|
|
114
118
|
deletedAt: Date | null;
|
|
115
|
-
tutor
|
|
116
|
-
student
|
|
119
|
+
tutor: TTutorEntity | null | null;
|
|
120
|
+
student: TStudentEntity | null | null;
|
|
117
121
|
birthDay: string | null;
|
|
118
122
|
hiddenBirthDay: boolean;
|
|
119
123
|
phoneNumber: string | null;
|
|
@@ -123,72 +127,82 @@ type TAdministrativeRegionEntity = {
|
|
|
123
127
|
id: number;
|
|
124
128
|
name: string;
|
|
125
129
|
nameEn: string;
|
|
126
|
-
codeName
|
|
127
|
-
codeNameEn
|
|
130
|
+
codeName: string | null;
|
|
131
|
+
codeNameEn: string | null;
|
|
128
132
|
};
|
|
129
133
|
type TAdministrativeUnitEntity = {
|
|
130
134
|
id: number;
|
|
131
|
-
fullName
|
|
132
|
-
fullNameEn
|
|
133
|
-
shortName
|
|
134
|
-
shortNameEn
|
|
135
|
-
codeName
|
|
136
|
-
codeNameEn
|
|
135
|
+
fullName: string | null;
|
|
136
|
+
fullNameEn: string | null;
|
|
137
|
+
shortName: string | null;
|
|
138
|
+
shortNameEn: string | null;
|
|
139
|
+
codeName: string | null;
|
|
140
|
+
codeNameEn: string | null;
|
|
137
141
|
};
|
|
138
142
|
type TProvinceEntity = {
|
|
139
143
|
code: string;
|
|
140
144
|
name: string;
|
|
141
|
-
nameEn
|
|
145
|
+
nameEn: string | null;
|
|
142
146
|
fullName: string;
|
|
143
|
-
fullNameEn
|
|
144
|
-
codeName
|
|
147
|
+
fullNameEn: string | null;
|
|
148
|
+
codeName: string | null;
|
|
145
149
|
administrativeRegion: TAdministrativeRegionEntity;
|
|
146
150
|
administrativeUnit: TAdministrativeUnitEntity;
|
|
147
151
|
};
|
|
148
152
|
type TDistrictEntity = {
|
|
149
153
|
code: string;
|
|
150
154
|
name: string;
|
|
151
|
-
nameEn
|
|
152
|
-
fullName
|
|
153
|
-
fullNameEn
|
|
154
|
-
codeName
|
|
155
|
+
nameEn: string | null;
|
|
156
|
+
fullName: string | null;
|
|
157
|
+
fullNameEn: string | null;
|
|
158
|
+
codeName: string | null;
|
|
155
159
|
province: TProvinceEntity;
|
|
156
160
|
administrativeUnit: TAdministrativeUnitEntity;
|
|
157
161
|
};
|
|
158
162
|
type TTutorEntity = {
|
|
159
|
-
introduction
|
|
160
|
-
shortVideoUrl
|
|
161
|
-
schoolName
|
|
162
|
-
schoolStatus
|
|
163
|
+
introduction: string | null;
|
|
164
|
+
shortVideoUrl: string | null;
|
|
165
|
+
schoolName: string | null;
|
|
166
|
+
schoolStatus: SCHOOL_STATUS | null;
|
|
163
167
|
hiddenSchool: boolean;
|
|
164
|
-
district
|
|
165
|
-
province
|
|
166
|
-
workAt
|
|
167
|
-
birthDay
|
|
168
|
-
hiddenBirthDay
|
|
169
|
-
phoneNumber
|
|
170
|
-
hiddenPhoneNumber
|
|
168
|
+
district: TDistrictEntity | null;
|
|
169
|
+
province: TProvinceEntity | null;
|
|
170
|
+
workAt: string | null;
|
|
171
|
+
birthDay: string | null;
|
|
172
|
+
hiddenBirthDay: boolean | null;
|
|
173
|
+
phoneNumber: string | null;
|
|
174
|
+
hiddenPhoneNumber: boolean | null;
|
|
171
175
|
hiddenWorkAt: boolean;
|
|
172
176
|
account: TAccountEntity;
|
|
173
177
|
} & BaseEntity;
|
|
174
178
|
type TStudent = {
|
|
175
179
|
account: TAccountEntity;
|
|
176
|
-
district
|
|
177
|
-
province
|
|
178
|
-
birthDay
|
|
180
|
+
district: TDistrictEntity | null | null;
|
|
181
|
+
province: TProvinceEntity | null | null;
|
|
182
|
+
birthDay: string | null | null;
|
|
179
183
|
hiddenBirthDay: boolean;
|
|
180
|
-
phoneNumber
|
|
184
|
+
phoneNumber: string | null | null;
|
|
181
185
|
hiddenPhoneNumber: boolean;
|
|
182
186
|
} & BaseEntity;
|
|
183
187
|
type TNotificationEntity = {
|
|
184
|
-
title
|
|
185
|
-
content
|
|
188
|
+
title: string | null;
|
|
189
|
+
content: string | null;
|
|
186
190
|
type: NOTIFICATION_TYPE;
|
|
187
|
-
sender
|
|
188
|
-
receiver
|
|
191
|
+
sender: TAccountEntity | null;
|
|
192
|
+
receiver: TAccountEntity | null;
|
|
189
193
|
} & BaseEntity;
|
|
190
|
-
|
|
191
|
-
|
|
194
|
+
type TRegisteredProgramEntity = {
|
|
195
|
+
status: REGISTERED_PROGRAM_STATUS;
|
|
196
|
+
note: string | null;
|
|
197
|
+
studentNote: string | null;
|
|
198
|
+
studentPhoneNumber: string;
|
|
199
|
+
studentProgramMethodDesired: PROGRAM_METHOD | null;
|
|
200
|
+
studentProvince: TProvinceEntity | null;
|
|
201
|
+
studentDistrict: TDistrictEntity | null;
|
|
202
|
+
addressStudent: string | null;
|
|
203
|
+
studentInterestedProgram: TProgramEntity;
|
|
204
|
+
registeredStudent: TAccountEntity;
|
|
205
|
+
};
|
|
192
206
|
|
|
193
207
|
declare const OBJECT_REGISTER_METHOD: {
|
|
194
208
|
email: {
|
|
@@ -327,6 +341,16 @@ declare const OBJECT_REGISTERED_PROGRAM_STATUS: {
|
|
|
327
341
|
};
|
|
328
342
|
};
|
|
329
343
|
|
|
344
|
+
type TRegisteredProgramCreatePost = {
|
|
345
|
+
studentNote?: string;
|
|
346
|
+
studentPhoneNumber?: string;
|
|
347
|
+
studentProgramMethodDesired?: PROGRAM_METHOD;
|
|
348
|
+
studentProvinceCode?: string;
|
|
349
|
+
studentDistrictCode?: string;
|
|
350
|
+
addressStudent?: string;
|
|
351
|
+
studentInterestedProgramId: string;
|
|
352
|
+
};
|
|
353
|
+
|
|
330
354
|
type AccountSignInResponse = {
|
|
331
355
|
accessToken: string;
|
|
332
356
|
account: {
|
|
@@ -356,5 +380,6 @@ type AccountPostMeResponse = {
|
|
|
356
380
|
avatar: string | null;
|
|
357
381
|
providerId: string;
|
|
358
382
|
};
|
|
383
|
+
type TRegisteredProgramCreateRes = TRegisteredProgramEntity;
|
|
359
384
|
|
|
360
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, NOTIFICATION_TYPE, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TDistrictEntity, type TNotificationEntity, type TProgramEntity, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TStudent, type TStudentEntity, type TTutorEntity
|
|
385
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, NOTIFICATION_STATUS, NOTIFICATION_TYPE, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REFRESH_TYPE, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TDistrictEntity, type TNotificationEntity, type TProgramEntity, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TRegisteredProgramCreatePost, type TRegisteredProgramCreateRes, type TRegisteredProgramEntity, type TStudent, type TStudentEntity, type TTutorEntity };
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
// src/constant.ts
|
|
2
2
|
var OTP_RESEND_TIME = 20;
|
|
3
3
|
|
|
4
|
-
// src/functions.ts
|
|
5
|
-
function sayHello() {
|
|
6
|
-
console.log("HELLO WORLD");
|
|
7
|
-
}
|
|
8
|
-
|
|
9
4
|
// src/type.ts
|
|
10
5
|
var CUSTOMER_TYPE = /* @__PURE__ */ ((CUSTOMER_TYPE2) => {
|
|
11
6
|
CUSTOMER_TYPE2["TUTOR"] = "tutor";
|
|
@@ -55,6 +50,11 @@ var NOTIFICATION_TYPE = /* @__PURE__ */ ((NOTIFICATION_TYPE2) => {
|
|
|
55
50
|
NOTIFICATION_TYPE2["STANDARD"] = "STANDARD";
|
|
56
51
|
return NOTIFICATION_TYPE2;
|
|
57
52
|
})(NOTIFICATION_TYPE || {});
|
|
53
|
+
var NOTIFICATION_STATUS = /* @__PURE__ */ ((NOTIFICATION_STATUS2) => {
|
|
54
|
+
NOTIFICATION_STATUS2["UNREAD"] = "UNREAD";
|
|
55
|
+
NOTIFICATION_STATUS2["READ"] = "READ";
|
|
56
|
+
return NOTIFICATION_STATUS2;
|
|
57
|
+
})(NOTIFICATION_STATUS || {});
|
|
58
58
|
var REGISTERED_PROGRAM_STATUS = /* @__PURE__ */ ((REGISTERED_PROGRAM_STATUS2) => {
|
|
59
59
|
REGISTERED_PROGRAM_STATUS2["NEW"] = "NEW";
|
|
60
60
|
REGISTERED_PROGRAM_STATUS2["TESTED"] = "TESTED";
|
|
@@ -207,6 +207,7 @@ var OBJECT_REGISTERED_PROGRAM_STATUS = {
|
|
|
207
207
|
export {
|
|
208
208
|
CUSTOMER_TYPE,
|
|
209
209
|
GENDER,
|
|
210
|
+
NOTIFICATION_STATUS,
|
|
210
211
|
NOTIFICATION_TYPE,
|
|
211
212
|
OBJECT_CUSTOMER_TYPE,
|
|
212
213
|
OBJECT_GENDER,
|
|
@@ -223,6 +224,5 @@ export {
|
|
|
223
224
|
REGISTERED_PROGRAM_STATUS,
|
|
224
225
|
REGISTER_METHOD,
|
|
225
226
|
ResponseStatus,
|
|
226
|
-
SCHOOL_STATUS
|
|
227
|
-
sayHello
|
|
227
|
+
SCHOOL_STATUS
|
|
228
228
|
};
|