gst-common 1.1.34 → 1.1.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
@@ -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
@@ -141,6 +141,10 @@ type TutorEntity = {
141
141
  district?: DistrictEntity;
142
142
  province?: ProvinceEntity;
143
143
  workAt?: string;
144
+ birthDay?: string;
145
+ hiddenBirthDay?: boolean;
146
+ phoneNumber?: string;
147
+ hiddenPhoneNumber?: boolean;
144
148
  hiddenWorkAt: boolean;
145
149
  account: AccountEntity;
146
150
  } & BaseEntity;
@@ -251,6 +255,20 @@ declare const OBJECT_GENDER: {
251
255
  label: string;
252
256
  };
253
257
  };
258
+ declare const OBJECT_PROGRAM_METHOD: {
259
+ offline: {
260
+ value: PROGRAM_METHOD;
261
+ label: string;
262
+ };
263
+ online: {
264
+ value: PROGRAM_METHOD;
265
+ label: string;
266
+ };
267
+ "online/offline": {
268
+ value: PROGRAM_METHOD;
269
+ label: string;
270
+ };
271
+ };
254
272
 
255
273
  type AccountSignInResponse = {
256
274
  accessToken: string;
@@ -282,4 +300,4 @@ type AccountPostMeResponse = {
282
300
  providerId: string;
283
301
  };
284
302
 
285
- 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 };
303
+ 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
@@ -141,6 +141,10 @@ type TutorEntity = {
141
141
  district?: DistrictEntity;
142
142
  province?: ProvinceEntity;
143
143
  workAt?: string;
144
+ birthDay?: string;
145
+ hiddenBirthDay?: boolean;
146
+ phoneNumber?: string;
147
+ hiddenPhoneNumber?: boolean;
144
148
  hiddenWorkAt: boolean;
145
149
  account: AccountEntity;
146
150
  } & BaseEntity;
@@ -251,6 +255,20 @@ declare const OBJECT_GENDER: {
251
255
  label: string;
252
256
  };
253
257
  };
258
+ declare const OBJECT_PROGRAM_METHOD: {
259
+ offline: {
260
+ value: PROGRAM_METHOD;
261
+ label: string;
262
+ };
263
+ online: {
264
+ value: PROGRAM_METHOD;
265
+ label: string;
266
+ };
267
+ "online/offline": {
268
+ value: PROGRAM_METHOD;
269
+ label: string;
270
+ };
271
+ };
254
272
 
255
273
  type AccountSignInResponse = {
256
274
  accessToken: string;
@@ -282,4 +300,4 @@ type AccountPostMeResponse = {
282
300
  providerId: string;
283
301
  };
284
302
 
285
- 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 };
303
+ 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.34",
3
+ "version": "1.1.36",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",