gst-common 1.1.32 → 1.1.35

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
@@ -24,6 +24,7 @@ __export(index_exports, {
24
24
  GENDER: () => GENDER,
25
25
  OBJECT_CUSTOMER_TYPE: () => OBJECT_CUSTOMER_TYPE,
26
26
  OBJECT_GENDER: () => OBJECT_GENDER,
27
+ OBJECT_PROGRAM_METHOD: () => OBJECT_PROGRAM_METHOD,
27
28
  OBJECT_PROGRAM_SUITABLE_LEARNER: () => OBJECT_PROGRAM_SUITABLE_LEARNER,
28
29
  OBJECT_REGISTER_METHOD: () => OBJECT_REGISTER_METHOD,
29
30
  OBJECT_SCHOOL_STATUS: () => OBJECT_SCHOOL_STATUS,
@@ -196,12 +197,27 @@ var OBJECT_GENDER = {
196
197
  label: "N\u1EEF"
197
198
  }
198
199
  };
200
+ var OBJECT_PROGRAM_METHOD = {
201
+ ["offline" /* OFFLINE */]: {
202
+ value: "offline" /* OFFLINE */,
203
+ label: "Offline"
204
+ },
205
+ ["online" /* ONLINE */]: {
206
+ value: "online" /* ONLINE */,
207
+ label: "Online"
208
+ },
209
+ ["online/offline" /* ONLINE_OFFLINE */]: {
210
+ value: "online/offline" /* ONLINE_OFFLINE */,
211
+ label: "Online/Offline"
212
+ }
213
+ };
199
214
  // Annotate the CommonJS export names for ESM import in node:
200
215
  0 && (module.exports = {
201
216
  CUSTOMER_TYPE,
202
217
  GENDER,
203
218
  OBJECT_CUSTOMER_TYPE,
204
219
  OBJECT_GENDER,
220
+ OBJECT_PROGRAM_METHOD,
205
221
  OBJECT_PROGRAM_SUITABLE_LEARNER,
206
222
  OBJECT_REGISTER_METHOD,
207
223
  OBJECT_SCHOOL_STATUS,
package/dist/index.d.cts CHANGED
@@ -74,6 +74,7 @@ type ProgramEntity = {
74
74
  toPrice: number;
75
75
  account: AccountEntity;
76
76
  sessionPerWeek: number;
77
+ method: PROGRAM_METHOD;
77
78
  durationPerSession: number;
78
79
  } & BaseEntity;
79
80
  type AccountEntity = {
@@ -90,6 +91,10 @@ type AccountEntity = {
90
91
  createdAt: Date;
91
92
  deletedAt: Date | null;
92
93
  tutor: TutorEntity | null;
94
+ birthDay: string | null;
95
+ hiddenBirthDay: boolean;
96
+ phoneNumber: string | null;
97
+ hiddenPhoneNumber: boolean;
93
98
  };
94
99
  type AdministrativeRegionEntity = {
95
100
  id: number;
@@ -246,6 +251,20 @@ declare const OBJECT_GENDER: {
246
251
  label: string;
247
252
  };
248
253
  };
254
+ declare const OBJECT_PROGRAM_METHOD: {
255
+ offline: {
256
+ value: PROGRAM_METHOD;
257
+ label: string;
258
+ };
259
+ online: {
260
+ value: PROGRAM_METHOD;
261
+ label: string;
262
+ };
263
+ "online/offline": {
264
+ value: PROGRAM_METHOD;
265
+ label: string;
266
+ };
267
+ };
249
268
 
250
269
  type AccountSignInResponse = {
251
270
  accessToken: string;
@@ -277,4 +296,4 @@ type AccountPostMeResponse = {
277
296
  providerId: string;
278
297
  };
279
298
 
280
- export { type AccountEntity, type AccountPostMeResponse, type AccountSignInResponse, type AdministrativeRegionEntity, type AdministrativeUnitEntity, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, type DistrictEntity, GENDER, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, type ProvinceEntity, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TutorEntity, sayHello };
299
+ export { type AccountEntity, type AccountPostMeResponse, type AccountSignInResponse, type AdministrativeRegionEntity, type AdministrativeUnitEntity, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, type DistrictEntity, GENDER, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, type ProvinceEntity, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TutorEntity, sayHello };
package/dist/index.d.ts CHANGED
@@ -74,6 +74,7 @@ type ProgramEntity = {
74
74
  toPrice: number;
75
75
  account: AccountEntity;
76
76
  sessionPerWeek: number;
77
+ method: PROGRAM_METHOD;
77
78
  durationPerSession: number;
78
79
  } & BaseEntity;
79
80
  type AccountEntity = {
@@ -90,6 +91,10 @@ type AccountEntity = {
90
91
  createdAt: Date;
91
92
  deletedAt: Date | null;
92
93
  tutor: TutorEntity | null;
94
+ birthDay: string | null;
95
+ hiddenBirthDay: boolean;
96
+ phoneNumber: string | null;
97
+ hiddenPhoneNumber: boolean;
93
98
  };
94
99
  type AdministrativeRegionEntity = {
95
100
  id: number;
@@ -246,6 +251,20 @@ declare const OBJECT_GENDER: {
246
251
  label: string;
247
252
  };
248
253
  };
254
+ declare const OBJECT_PROGRAM_METHOD: {
255
+ offline: {
256
+ value: PROGRAM_METHOD;
257
+ label: string;
258
+ };
259
+ online: {
260
+ value: PROGRAM_METHOD;
261
+ label: string;
262
+ };
263
+ "online/offline": {
264
+ value: PROGRAM_METHOD;
265
+ label: string;
266
+ };
267
+ };
249
268
 
250
269
  type AccountSignInResponse = {
251
270
  accessToken: string;
@@ -277,4 +296,4 @@ type AccountPostMeResponse = {
277
296
  providerId: string;
278
297
  };
279
298
 
280
- export { type AccountEntity, type AccountPostMeResponse, type AccountSignInResponse, type AdministrativeRegionEntity, type AdministrativeUnitEntity, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, type DistrictEntity, GENDER, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, type ProvinceEntity, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TutorEntity, sayHello };
299
+ export { type AccountEntity, type AccountPostMeResponse, type AccountSignInResponse, type AdministrativeRegionEntity, type AdministrativeUnitEntity, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, type DistrictEntity, GENDER, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, type ProvinceEntity, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TutorEntity, sayHello };
package/dist/index.mjs CHANGED
@@ -156,11 +156,26 @@ var OBJECT_GENDER = {
156
156
  label: "N\u1EEF"
157
157
  }
158
158
  };
159
+ var OBJECT_PROGRAM_METHOD = {
160
+ ["offline" /* OFFLINE */]: {
161
+ value: "offline" /* OFFLINE */,
162
+ label: "Offline"
163
+ },
164
+ ["online" /* ONLINE */]: {
165
+ value: "online" /* ONLINE */,
166
+ label: "Online"
167
+ },
168
+ ["online/offline" /* ONLINE_OFFLINE */]: {
169
+ value: "online/offline" /* ONLINE_OFFLINE */,
170
+ label: "Online/Offline"
171
+ }
172
+ };
159
173
  export {
160
174
  CUSTOMER_TYPE,
161
175
  GENDER,
162
176
  OBJECT_CUSTOMER_TYPE,
163
177
  OBJECT_GENDER,
178
+ OBJECT_PROGRAM_METHOD,
164
179
  OBJECT_PROGRAM_SUITABLE_LEARNER,
165
180
  OBJECT_REGISTER_METHOD,
166
181
  OBJECT_SCHOOL_STATUS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.1.32",
3
+ "version": "1.1.35",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",