gst-common 1.5.28 → 1.5.30

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.d.cts CHANGED
@@ -11,7 +11,6 @@ type TProgramEntity = {
11
11
  fromPrice: number;
12
12
  toPrice: number;
13
13
  account: TAccountEntity;
14
- sessionPerWeek: number;
15
14
  method: PROGRAM_METHOD;
16
15
  durationPerSession: number;
17
16
  } & BaseEntity;
@@ -352,6 +351,7 @@ type DATA_THIRD_PARTY_LOGIN = {
352
351
  providerId: string;
353
352
  provider: REGISTER_METHOD;
354
353
  avatar?: string;
354
+ email: string;
355
355
  };
356
356
  declare enum PROGRAM_SUITABLE_LEARNER {
357
357
  PRIMARY_STUDENT = "primary_student",
@@ -1183,6 +1183,11 @@ type TPostAllListPostByAccount = {
1183
1183
  type TProgramPublicList = {
1184
1184
  search?: string;
1185
1185
  accountId?: string;
1186
+ fromPrice?: number;
1187
+ toPrice?: number;
1188
+ programMethod?: PROGRAM_METHOD;
1189
+ provinceCode?: string;
1190
+ districtCode?: string;
1186
1191
  } & BasePaginationParams;
1187
1192
  type TProgramRatingPublicCountByScore = {
1188
1193
  programId?: string;
package/dist/index.d.ts CHANGED
@@ -11,7 +11,6 @@ type TProgramEntity = {
11
11
  fromPrice: number;
12
12
  toPrice: number;
13
13
  account: TAccountEntity;
14
- sessionPerWeek: number;
15
14
  method: PROGRAM_METHOD;
16
15
  durationPerSession: number;
17
16
  } & BaseEntity;
@@ -352,6 +351,7 @@ type DATA_THIRD_PARTY_LOGIN = {
352
351
  providerId: string;
353
352
  provider: REGISTER_METHOD;
354
353
  avatar?: string;
354
+ email: string;
355
355
  };
356
356
  declare enum PROGRAM_SUITABLE_LEARNER {
357
357
  PRIMARY_STUDENT = "primary_student",
@@ -1183,6 +1183,11 @@ type TPostAllListPostByAccount = {
1183
1183
  type TProgramPublicList = {
1184
1184
  search?: string;
1185
1185
  accountId?: string;
1186
+ fromPrice?: number;
1187
+ toPrice?: number;
1188
+ programMethod?: PROGRAM_METHOD;
1189
+ provinceCode?: string;
1190
+ districtCode?: string;
1186
1191
  } & BasePaginationParams;
1187
1192
  type TProgramRatingPublicCountByScore = {
1188
1193
  programId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.5.28",
3
+ "version": "1.5.30",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",