gst-common 1.1.39 → 1.1.40
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 +29 -0
- package/dist/index.d.cts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.mjs +27 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -27,12 +27,14 @@ __export(index_exports, {
|
|
|
27
27
|
OBJECT_GENDER: () => OBJECT_GENDER,
|
|
28
28
|
OBJECT_PROGRAM_METHOD: () => OBJECT_PROGRAM_METHOD,
|
|
29
29
|
OBJECT_PROGRAM_SUITABLE_LEARNER: () => OBJECT_PROGRAM_SUITABLE_LEARNER,
|
|
30
|
+
OBJECT_REGISTERED_PROGRAM_STATUS: () => OBJECT_REGISTERED_PROGRAM_STATUS,
|
|
30
31
|
OBJECT_REGISTER_METHOD: () => OBJECT_REGISTER_METHOD,
|
|
31
32
|
OBJECT_SCHOOL_STATUS: () => OBJECT_SCHOOL_STATUS,
|
|
32
33
|
OBJ_SESSION_PER_WEEK: () => OBJ_SESSION_PER_WEEK,
|
|
33
34
|
OTP_RESEND_TIME: () => OTP_RESEND_TIME,
|
|
34
35
|
PROGRAM_METHOD: () => PROGRAM_METHOD,
|
|
35
36
|
PROGRAM_SUITABLE_LEARNER: () => PROGRAM_SUITABLE_LEARNER,
|
|
37
|
+
REGISTERED_PROGRAM_STATUS: () => REGISTERED_PROGRAM_STATUS,
|
|
36
38
|
REGISTER_METHOD: () => REGISTER_METHOD,
|
|
37
39
|
ResponseStatus: () => ResponseStatus,
|
|
38
40
|
SCHOOL_STATUS: () => SCHOOL_STATUS,
|
|
@@ -97,6 +99,13 @@ var NOTIFICATION_TYPE = /* @__PURE__ */ ((NOTIFICATION_TYPE2) => {
|
|
|
97
99
|
NOTIFICATION_TYPE2["STANDARD"] = "STANDARD";
|
|
98
100
|
return NOTIFICATION_TYPE2;
|
|
99
101
|
})(NOTIFICATION_TYPE || {});
|
|
102
|
+
var REGISTERED_PROGRAM_STATUS = /* @__PURE__ */ ((REGISTERED_PROGRAM_STATUS2) => {
|
|
103
|
+
REGISTERED_PROGRAM_STATUS2["NEW"] = "NEW";
|
|
104
|
+
REGISTERED_PROGRAM_STATUS2["TESTED"] = "TESTED";
|
|
105
|
+
REGISTERED_PROGRAM_STATUS2["ACCEPTED"] = "ACCEPTED";
|
|
106
|
+
REGISTERED_PROGRAM_STATUS2["REJECTED"] = "REJECTED";
|
|
107
|
+
return REGISTERED_PROGRAM_STATUS2;
|
|
108
|
+
})(REGISTERED_PROGRAM_STATUS || {});
|
|
100
109
|
|
|
101
110
|
// src/object-enum.ts
|
|
102
111
|
var OBJECT_REGISTER_METHOD = {
|
|
@@ -217,6 +226,24 @@ var OBJECT_PROGRAM_METHOD = {
|
|
|
217
226
|
label: "Online/Offline"
|
|
218
227
|
}
|
|
219
228
|
};
|
|
229
|
+
var OBJECT_REGISTERED_PROGRAM_STATUS = {
|
|
230
|
+
["NEW" /* NEW */]: {
|
|
231
|
+
value: "NEW" /* NEW */,
|
|
232
|
+
label: "M\u1EDBi"
|
|
233
|
+
},
|
|
234
|
+
["TESTED" /* TESTED */]: {
|
|
235
|
+
value: "TESTED" /* TESTED */,
|
|
236
|
+
label: "\u0110\xE3 ki\u1EC3m tra"
|
|
237
|
+
},
|
|
238
|
+
["ACCEPTED" /* ACCEPTED */]: {
|
|
239
|
+
value: "ACCEPTED" /* ACCEPTED */,
|
|
240
|
+
label: "\u0110\xE3 tham gia"
|
|
241
|
+
},
|
|
242
|
+
["REJECTED" /* REJECTED */]: {
|
|
243
|
+
value: "REJECTED" /* REJECTED */,
|
|
244
|
+
label: "T\u1EEB ch\u1ED1i"
|
|
245
|
+
}
|
|
246
|
+
};
|
|
220
247
|
// Annotate the CommonJS export names for ESM import in node:
|
|
221
248
|
0 && (module.exports = {
|
|
222
249
|
CUSTOMER_TYPE,
|
|
@@ -226,12 +253,14 @@ var OBJECT_PROGRAM_METHOD = {
|
|
|
226
253
|
OBJECT_GENDER,
|
|
227
254
|
OBJECT_PROGRAM_METHOD,
|
|
228
255
|
OBJECT_PROGRAM_SUITABLE_LEARNER,
|
|
256
|
+
OBJECT_REGISTERED_PROGRAM_STATUS,
|
|
229
257
|
OBJECT_REGISTER_METHOD,
|
|
230
258
|
OBJECT_SCHOOL_STATUS,
|
|
231
259
|
OBJ_SESSION_PER_WEEK,
|
|
232
260
|
OTP_RESEND_TIME,
|
|
233
261
|
PROGRAM_METHOD,
|
|
234
262
|
PROGRAM_SUITABLE_LEARNER,
|
|
263
|
+
REGISTERED_PROGRAM_STATUS,
|
|
235
264
|
REGISTER_METHOD,
|
|
236
265
|
ResponseStatus,
|
|
237
266
|
SCHOOL_STATUS,
|
package/dist/index.d.cts
CHANGED
|
@@ -63,6 +63,12 @@ declare enum NOTIFICATION_TYPE {
|
|
|
63
63
|
PROGRAM_REGISTER = "program_register",
|
|
64
64
|
STANDARD = "STANDARD"
|
|
65
65
|
}
|
|
66
|
+
declare enum REGISTERED_PROGRAM_STATUS {
|
|
67
|
+
NEW = "NEW",
|
|
68
|
+
TESTED = "TESTED",
|
|
69
|
+
ACCEPTED = "ACCEPTED",
|
|
70
|
+
REJECTED = "REJECTED"
|
|
71
|
+
}
|
|
66
72
|
|
|
67
73
|
type TProgramSuitableLearnerEntity = {
|
|
68
74
|
suitableLeanerCode: PROGRAM_SUITABLE_LEARNER;
|
|
@@ -292,6 +298,24 @@ declare const OBJECT_PROGRAM_METHOD: {
|
|
|
292
298
|
label: string;
|
|
293
299
|
};
|
|
294
300
|
};
|
|
301
|
+
declare const OBJECT_REGISTERED_PROGRAM_STATUS: {
|
|
302
|
+
NEW: {
|
|
303
|
+
value: REGISTERED_PROGRAM_STATUS;
|
|
304
|
+
label: string;
|
|
305
|
+
};
|
|
306
|
+
TESTED: {
|
|
307
|
+
value: REGISTERED_PROGRAM_STATUS;
|
|
308
|
+
label: string;
|
|
309
|
+
};
|
|
310
|
+
ACCEPTED: {
|
|
311
|
+
value: REGISTERED_PROGRAM_STATUS;
|
|
312
|
+
label: string;
|
|
313
|
+
};
|
|
314
|
+
REJECTED: {
|
|
315
|
+
value: REGISTERED_PROGRAM_STATUS;
|
|
316
|
+
label: string;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
295
319
|
|
|
296
320
|
type AccountSignInResponse = {
|
|
297
321
|
accessToken: string;
|
|
@@ -323,4 +347,4 @@ type AccountPostMeResponse = {
|
|
|
323
347
|
providerId: string;
|
|
324
348
|
};
|
|
325
349
|
|
|
326
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, NOTIFICATION_TYPE, 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, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TDistrictEntity, type TProgramEntity, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TStudent, type TStudentEntity, type TTutorEntity, sayHello };
|
|
350
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, NOTIFICATION_TYPE, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TDistrictEntity, type TProgramEntity, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TStudent, type TStudentEntity, type TTutorEntity, sayHello };
|
package/dist/index.d.ts
CHANGED
|
@@ -63,6 +63,12 @@ declare enum NOTIFICATION_TYPE {
|
|
|
63
63
|
PROGRAM_REGISTER = "program_register",
|
|
64
64
|
STANDARD = "STANDARD"
|
|
65
65
|
}
|
|
66
|
+
declare enum REGISTERED_PROGRAM_STATUS {
|
|
67
|
+
NEW = "NEW",
|
|
68
|
+
TESTED = "TESTED",
|
|
69
|
+
ACCEPTED = "ACCEPTED",
|
|
70
|
+
REJECTED = "REJECTED"
|
|
71
|
+
}
|
|
66
72
|
|
|
67
73
|
type TProgramSuitableLearnerEntity = {
|
|
68
74
|
suitableLeanerCode: PROGRAM_SUITABLE_LEARNER;
|
|
@@ -292,6 +298,24 @@ declare const OBJECT_PROGRAM_METHOD: {
|
|
|
292
298
|
label: string;
|
|
293
299
|
};
|
|
294
300
|
};
|
|
301
|
+
declare const OBJECT_REGISTERED_PROGRAM_STATUS: {
|
|
302
|
+
NEW: {
|
|
303
|
+
value: REGISTERED_PROGRAM_STATUS;
|
|
304
|
+
label: string;
|
|
305
|
+
};
|
|
306
|
+
TESTED: {
|
|
307
|
+
value: REGISTERED_PROGRAM_STATUS;
|
|
308
|
+
label: string;
|
|
309
|
+
};
|
|
310
|
+
ACCEPTED: {
|
|
311
|
+
value: REGISTERED_PROGRAM_STATUS;
|
|
312
|
+
label: string;
|
|
313
|
+
};
|
|
314
|
+
REJECTED: {
|
|
315
|
+
value: REGISTERED_PROGRAM_STATUS;
|
|
316
|
+
label: string;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
295
319
|
|
|
296
320
|
type AccountSignInResponse = {
|
|
297
321
|
accessToken: string;
|
|
@@ -323,4 +347,4 @@ type AccountPostMeResponse = {
|
|
|
323
347
|
providerId: string;
|
|
324
348
|
};
|
|
325
349
|
|
|
326
|
-
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, NOTIFICATION_TYPE, 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, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TDistrictEntity, type TProgramEntity, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TStudent, type TStudentEntity, type TTutorEntity, sayHello };
|
|
350
|
+
export { type AccountPostMeResponse, type AccountSignInResponse, type BaseEntity, type BasePaginationParams, type BaseResponse, CUSTOMER_TYPE, type DATA_THIRD_PARTY_LOGIN, GENDER, NOTIFICATION_TYPE, OBJECT_CUSTOMER_TYPE, OBJECT_GENDER, OBJECT_PROGRAM_METHOD, OBJECT_PROGRAM_SUITABLE_LEARNER, OBJECT_REGISTERED_PROGRAM_STATUS, OBJECT_REGISTER_METHOD, OBJECT_SCHOOL_STATUS, OBJ_SESSION_PER_WEEK, OTP_RESEND_TIME, PROGRAM_METHOD, PROGRAM_SUITABLE_LEARNER, REGISTERED_PROGRAM_STATUS, REGISTER_METHOD, ResponseStatus, SCHOOL_STATUS, type TAccountEntity, type TAdministrativeRegionEntity, type TAdministrativeUnitEntity, type TDistrictEntity, type TProgramEntity, type TProgramSuitableLearnerEntity, type TProvinceEntity, type TStudent, type TStudentEntity, type TTutorEntity, sayHello };
|
package/dist/index.mjs
CHANGED
|
@@ -55,6 +55,13 @@ var NOTIFICATION_TYPE = /* @__PURE__ */ ((NOTIFICATION_TYPE2) => {
|
|
|
55
55
|
NOTIFICATION_TYPE2["STANDARD"] = "STANDARD";
|
|
56
56
|
return NOTIFICATION_TYPE2;
|
|
57
57
|
})(NOTIFICATION_TYPE || {});
|
|
58
|
+
var REGISTERED_PROGRAM_STATUS = /* @__PURE__ */ ((REGISTERED_PROGRAM_STATUS2) => {
|
|
59
|
+
REGISTERED_PROGRAM_STATUS2["NEW"] = "NEW";
|
|
60
|
+
REGISTERED_PROGRAM_STATUS2["TESTED"] = "TESTED";
|
|
61
|
+
REGISTERED_PROGRAM_STATUS2["ACCEPTED"] = "ACCEPTED";
|
|
62
|
+
REGISTERED_PROGRAM_STATUS2["REJECTED"] = "REJECTED";
|
|
63
|
+
return REGISTERED_PROGRAM_STATUS2;
|
|
64
|
+
})(REGISTERED_PROGRAM_STATUS || {});
|
|
58
65
|
|
|
59
66
|
// src/object-enum.ts
|
|
60
67
|
var OBJECT_REGISTER_METHOD = {
|
|
@@ -175,6 +182,24 @@ var OBJECT_PROGRAM_METHOD = {
|
|
|
175
182
|
label: "Online/Offline"
|
|
176
183
|
}
|
|
177
184
|
};
|
|
185
|
+
var OBJECT_REGISTERED_PROGRAM_STATUS = {
|
|
186
|
+
["NEW" /* NEW */]: {
|
|
187
|
+
value: "NEW" /* NEW */,
|
|
188
|
+
label: "M\u1EDBi"
|
|
189
|
+
},
|
|
190
|
+
["TESTED" /* TESTED */]: {
|
|
191
|
+
value: "TESTED" /* TESTED */,
|
|
192
|
+
label: "\u0110\xE3 ki\u1EC3m tra"
|
|
193
|
+
},
|
|
194
|
+
["ACCEPTED" /* ACCEPTED */]: {
|
|
195
|
+
value: "ACCEPTED" /* ACCEPTED */,
|
|
196
|
+
label: "\u0110\xE3 tham gia"
|
|
197
|
+
},
|
|
198
|
+
["REJECTED" /* REJECTED */]: {
|
|
199
|
+
value: "REJECTED" /* REJECTED */,
|
|
200
|
+
label: "T\u1EEB ch\u1ED1i"
|
|
201
|
+
}
|
|
202
|
+
};
|
|
178
203
|
export {
|
|
179
204
|
CUSTOMER_TYPE,
|
|
180
205
|
GENDER,
|
|
@@ -183,12 +208,14 @@ export {
|
|
|
183
208
|
OBJECT_GENDER,
|
|
184
209
|
OBJECT_PROGRAM_METHOD,
|
|
185
210
|
OBJECT_PROGRAM_SUITABLE_LEARNER,
|
|
211
|
+
OBJECT_REGISTERED_PROGRAM_STATUS,
|
|
186
212
|
OBJECT_REGISTER_METHOD,
|
|
187
213
|
OBJECT_SCHOOL_STATUS,
|
|
188
214
|
OBJ_SESSION_PER_WEEK,
|
|
189
215
|
OTP_RESEND_TIME,
|
|
190
216
|
PROGRAM_METHOD,
|
|
191
217
|
PROGRAM_SUITABLE_LEARNER,
|
|
218
|
+
REGISTERED_PROGRAM_STATUS,
|
|
192
219
|
REGISTER_METHOD,
|
|
193
220
|
ResponseStatus,
|
|
194
221
|
SCHOOL_STATUS,
|