gst-common 1.1.25 → 1.1.27

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
@@ -81,6 +81,54 @@ type AccountEntity = {
81
81
  createdAt: Date;
82
82
  deletedAt?: Date | null;
83
83
  };
84
+ type AdministrativeRegionEntity = {
85
+ id: number;
86
+ name: string;
87
+ nameEn: string;
88
+ codeName?: string;
89
+ codeNameEn?: string;
90
+ };
91
+ type AdministrativeUnitEntity = {
92
+ id: number;
93
+ fullName?: string;
94
+ fullNameEn?: string;
95
+ shortName?: string;
96
+ shortNameEn?: string;
97
+ codeName?: string;
98
+ codeNameEn?: string;
99
+ };
100
+ type ProvinceEntity = {
101
+ code: string;
102
+ name: string;
103
+ nameEn?: string;
104
+ fullName: string;
105
+ fullNameEn?: string;
106
+ codeName?: string;
107
+ administrativeRegion: AdministrativeRegionEntity;
108
+ administrativeUnit: AdministrativeUnitEntity;
109
+ };
110
+ type DistrictEntity = {
111
+ code: string;
112
+ name: string;
113
+ nameEn?: string;
114
+ fullName?: string;
115
+ fullNameEn?: string;
116
+ codeName?: string;
117
+ province: ProvinceEntity;
118
+ administrativeUnit: AdministrativeUnitEntity;
119
+ };
120
+ type TutorEntity = {
121
+ introduction?: string;
122
+ shortVideoUrl?: string;
123
+ schoolName?: string;
124
+ schoolStatus?: SCHOOL_STATUS;
125
+ hiddenSchool: boolean;
126
+ district?: DistrictEntity;
127
+ province?: ProvinceEntity;
128
+ workAt?: string;
129
+ hiddenWorkAt: boolean;
130
+ account: AccountEntity;
131
+ } & BaseEntity;
84
132
 
85
133
  declare function sayHello(): void;
86
134
 
@@ -167,4 +215,4 @@ type AccountPostMeResponse = {
167
215
  providerId: string;
168
216
  };
169
217
 
170
- export { type AccountEntity, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, OBJECT_CUSTOMER_TYPE, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OTP_RESEND_TIME, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, sayHello };
218
+ 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, OBJECT_CUSTOMER_TYPE, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OTP_RESEND_TIME, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, type ProvinceEntity, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TutorEntity, sayHello };
package/dist/index.d.ts CHANGED
@@ -81,6 +81,54 @@ type AccountEntity = {
81
81
  createdAt: Date;
82
82
  deletedAt?: Date | null;
83
83
  };
84
+ type AdministrativeRegionEntity = {
85
+ id: number;
86
+ name: string;
87
+ nameEn: string;
88
+ codeName?: string;
89
+ codeNameEn?: string;
90
+ };
91
+ type AdministrativeUnitEntity = {
92
+ id: number;
93
+ fullName?: string;
94
+ fullNameEn?: string;
95
+ shortName?: string;
96
+ shortNameEn?: string;
97
+ codeName?: string;
98
+ codeNameEn?: string;
99
+ };
100
+ type ProvinceEntity = {
101
+ code: string;
102
+ name: string;
103
+ nameEn?: string;
104
+ fullName: string;
105
+ fullNameEn?: string;
106
+ codeName?: string;
107
+ administrativeRegion: AdministrativeRegionEntity;
108
+ administrativeUnit: AdministrativeUnitEntity;
109
+ };
110
+ type DistrictEntity = {
111
+ code: string;
112
+ name: string;
113
+ nameEn?: string;
114
+ fullName?: string;
115
+ fullNameEn?: string;
116
+ codeName?: string;
117
+ province: ProvinceEntity;
118
+ administrativeUnit: AdministrativeUnitEntity;
119
+ };
120
+ type TutorEntity = {
121
+ introduction?: string;
122
+ shortVideoUrl?: string;
123
+ schoolName?: string;
124
+ schoolStatus?: SCHOOL_STATUS;
125
+ hiddenSchool: boolean;
126
+ district?: DistrictEntity;
127
+ province?: ProvinceEntity;
128
+ workAt?: string;
129
+ hiddenWorkAt: boolean;
130
+ account: AccountEntity;
131
+ } & BaseEntity;
84
132
 
85
133
  declare function sayHello(): void;
86
134
 
@@ -167,4 +215,4 @@ type AccountPostMeResponse = {
167
215
  providerId: string;
168
216
  };
169
217
 
170
- export { type AccountEntity, type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, OBJECT_CUSTOMER_TYPE, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OTP_RESEND_TIME, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, sayHello };
218
+ 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, OBJECT_CUSTOMER_TYPE, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OTP_RESEND_TIME, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, type ProvinceEntity, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TutorEntity, sayHello };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.1.25",
3
+ "version": "1.1.27",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",