gst-common 1.1.29 → 1.1.31

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
@@ -25,6 +25,7 @@ __export(index_exports, {
25
25
  OBJECT_PROGRAM_SUITABLE_LEARNER: () => OBJECT_PROGRAM_SUITABLE_LEARNER,
26
26
  OBJECT_REGISTER_METHOD: () => OBJECT_REGISTER_METHOD,
27
27
  OBJECT_SCHOOL_STATUS: () => OBJECT_SCHOOL_STATUS,
28
+ OBJ_SESSION_PER_WEEK: () => OBJ_SESSION_PER_WEEK,
28
29
  OTP_RESEND_TIME: () => OTP_RESEND_TIME,
29
30
  PROGRAM_SUITABLE_LEARNER: () => PROGRAM_SUITABLE_LEARNER,
30
31
  REGISTER_METHOD: () => REGISTER_METHOD,
@@ -129,6 +130,48 @@ var OBJECT_SCHOOL_STATUS = {
129
130
  label: "\u0110\xE3 t\u1ED1t nghi\u1EC7p"
130
131
  }
131
132
  };
133
+ var OBJ_SESSION_PER_WEEK = {
134
+ [1]: {
135
+ label: "1 bu\u1ED5i/tu\u1EA7n",
136
+ value: 1
137
+ },
138
+ [2]: {
139
+ label: "2 bu\u1ED5i/tu\u1EA7n",
140
+ value: 2
141
+ },
142
+ [3]: {
143
+ label: "3 bu\u1ED5i/tu\u1EA7n",
144
+ value: 3
145
+ },
146
+ [4]: {
147
+ label: "4 bu\u1ED5i/tu\u1EA7n",
148
+ value: 4
149
+ },
150
+ [5]: {
151
+ label: "5 bu\u1ED5i/tu\u1EA7n",
152
+ value: 5
153
+ },
154
+ [6]: {
155
+ label: "6 bu\u1ED5i/tu\u1EA7n",
156
+ value: 6
157
+ },
158
+ [7]: {
159
+ label: "7 bu\u1ED5i/tu\u1EA7n",
160
+ value: 7
161
+ },
162
+ [8]: {
163
+ label: "8 bu\u1ED5i/tu\u1EA7n",
164
+ value: 8
165
+ },
166
+ [9]: {
167
+ label: "9 bu\u1ED5i/tu\u1EA7n",
168
+ value: 9
169
+ },
170
+ [10]: {
171
+ label: "8 bu\u1ED5i/tu\u1EA7n",
172
+ value: 10
173
+ }
174
+ };
132
175
  // Annotate the CommonJS export names for ESM import in node:
133
176
  0 && (module.exports = {
134
177
  CUSTOMER_TYPE,
@@ -136,6 +179,7 @@ var OBJECT_SCHOOL_STATUS = {
136
179
  OBJECT_PROGRAM_SUITABLE_LEARNER,
137
180
  OBJECT_REGISTER_METHOD,
138
181
  OBJECT_SCHOOL_STATUS,
182
+ OBJ_SESSION_PER_WEEK,
139
183
  OTP_RESEND_TIME,
140
184
  PROGRAM_SUITABLE_LEARNER,
141
185
  REGISTER_METHOD,
package/dist/index.d.cts CHANGED
@@ -64,8 +64,8 @@ type ProgramEntity = {
64
64
  fromPrice: number;
65
65
  toPrice: number;
66
66
  account: AccountEntity;
67
- fromTeachingHour: number;
68
- toTeachingHour: number;
67
+ sessionPerWeek: number;
68
+ durationPerSession: number;
69
69
  } & BaseEntity;
70
70
  type AccountEntity = {
71
71
  id: string;
@@ -185,6 +185,48 @@ declare const OBJECT_SCHOOL_STATUS: {
185
185
  label: string;
186
186
  };
187
187
  };
188
+ declare const OBJ_SESSION_PER_WEEK: {
189
+ 1: {
190
+ label: string;
191
+ value: number;
192
+ };
193
+ 2: {
194
+ label: string;
195
+ value: number;
196
+ };
197
+ 3: {
198
+ label: string;
199
+ value: number;
200
+ };
201
+ 4: {
202
+ label: string;
203
+ value: number;
204
+ };
205
+ 5: {
206
+ label: string;
207
+ value: number;
208
+ };
209
+ 6: {
210
+ label: string;
211
+ value: number;
212
+ };
213
+ 7: {
214
+ label: string;
215
+ value: number;
216
+ };
217
+ 8: {
218
+ label: string;
219
+ value: number;
220
+ };
221
+ 9: {
222
+ label: string;
223
+ value: number;
224
+ };
225
+ 10: {
226
+ label: string;
227
+ value: number;
228
+ };
229
+ };
188
230
 
189
231
  type AccountSignInResponse = {
190
232
  accessToken: string;
@@ -216,4 +258,4 @@ type AccountPostMeResponse = {
216
258
  providerId: string;
217
259
  };
218
260
 
219
- 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 };
261
+ 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, OBJ_SESSION_PER_WEEK, 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
@@ -64,8 +64,8 @@ type ProgramEntity = {
64
64
  fromPrice: number;
65
65
  toPrice: number;
66
66
  account: AccountEntity;
67
- fromTeachingHour: number;
68
- toTeachingHour: number;
67
+ sessionPerWeek: number;
68
+ durationPerSession: number;
69
69
  } & BaseEntity;
70
70
  type AccountEntity = {
71
71
  id: string;
@@ -185,6 +185,48 @@ declare const OBJECT_SCHOOL_STATUS: {
185
185
  label: string;
186
186
  };
187
187
  };
188
+ declare const OBJ_SESSION_PER_WEEK: {
189
+ 1: {
190
+ label: string;
191
+ value: number;
192
+ };
193
+ 2: {
194
+ label: string;
195
+ value: number;
196
+ };
197
+ 3: {
198
+ label: string;
199
+ value: number;
200
+ };
201
+ 4: {
202
+ label: string;
203
+ value: number;
204
+ };
205
+ 5: {
206
+ label: string;
207
+ value: number;
208
+ };
209
+ 6: {
210
+ label: string;
211
+ value: number;
212
+ };
213
+ 7: {
214
+ label: string;
215
+ value: number;
216
+ };
217
+ 8: {
218
+ label: string;
219
+ value: number;
220
+ };
221
+ 9: {
222
+ label: string;
223
+ value: number;
224
+ };
225
+ 10: {
226
+ label: string;
227
+ value: number;
228
+ };
229
+ };
188
230
 
189
231
  type AccountSignInResponse = {
190
232
  accessToken: string;
@@ -216,4 +258,4 @@ type AccountPostMeResponse = {
216
258
  providerId: string;
217
259
  };
218
260
 
219
- 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 };
261
+ 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, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_SUITABLE_LEARNER, type ProgramEntity, type ProgramSuitableLearnerEntity, type ProvinceEntity, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TutorEntity, sayHello };
package/dist/index.mjs CHANGED
@@ -93,12 +93,55 @@ var OBJECT_SCHOOL_STATUS = {
93
93
  label: "\u0110\xE3 t\u1ED1t nghi\u1EC7p"
94
94
  }
95
95
  };
96
+ var OBJ_SESSION_PER_WEEK = {
97
+ [1]: {
98
+ label: "1 bu\u1ED5i/tu\u1EA7n",
99
+ value: 1
100
+ },
101
+ [2]: {
102
+ label: "2 bu\u1ED5i/tu\u1EA7n",
103
+ value: 2
104
+ },
105
+ [3]: {
106
+ label: "3 bu\u1ED5i/tu\u1EA7n",
107
+ value: 3
108
+ },
109
+ [4]: {
110
+ label: "4 bu\u1ED5i/tu\u1EA7n",
111
+ value: 4
112
+ },
113
+ [5]: {
114
+ label: "5 bu\u1ED5i/tu\u1EA7n",
115
+ value: 5
116
+ },
117
+ [6]: {
118
+ label: "6 bu\u1ED5i/tu\u1EA7n",
119
+ value: 6
120
+ },
121
+ [7]: {
122
+ label: "7 bu\u1ED5i/tu\u1EA7n",
123
+ value: 7
124
+ },
125
+ [8]: {
126
+ label: "8 bu\u1ED5i/tu\u1EA7n",
127
+ value: 8
128
+ },
129
+ [9]: {
130
+ label: "9 bu\u1ED5i/tu\u1EA7n",
131
+ value: 9
132
+ },
133
+ [10]: {
134
+ label: "8 bu\u1ED5i/tu\u1EA7n",
135
+ value: 10
136
+ }
137
+ };
96
138
  export {
97
139
  CUSTOMER_TYPE,
98
140
  OBJECT_CUSTOMER_TYPE,
99
141
  OBJECT_PROGRAM_SUITABLE_LEARNER,
100
142
  OBJECT_REGISTER_METHOD,
101
143
  OBJECT_SCHOOL_STATUS,
144
+ OBJ_SESSION_PER_WEEK,
102
145
  OTP_RESEND_TIME,
103
146
  PROGRAM_SUITABLE_LEARNER,
104
147
  REGISTER_METHOD,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gst-common",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "description": "store all common variables that we need",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",