@nyig/models 0.2.37 → 0.2.38
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/index.d.mts +561 -269
- package/index.d.ts +561 -269
- package/index.js +61 -57
- package/index.mjs +60 -57
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -412,8 +412,8 @@ declare const zBCourse: z.ZodObject<{
|
|
|
412
412
|
*/
|
|
413
413
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
414
414
|
}, "strip", z.ZodTypeAny, {
|
|
415
|
-
price: number;
|
|
416
415
|
name: string;
|
|
416
|
+
price: number;
|
|
417
417
|
category: CourseCategory;
|
|
418
418
|
duration: number;
|
|
419
419
|
nyigSchool: NYIGSchool;
|
|
@@ -422,8 +422,8 @@ declare const zBCourse: z.ZodObject<{
|
|
|
422
422
|
halfCampTuition?: number | undefined;
|
|
423
423
|
fullCampTuition?: number | undefined;
|
|
424
424
|
}, {
|
|
425
|
-
price: number;
|
|
426
425
|
name: string;
|
|
426
|
+
price: number;
|
|
427
427
|
category: CourseCategory;
|
|
428
428
|
duration: number;
|
|
429
429
|
nyigSchool: NYIGSchool;
|
|
@@ -433,8 +433,8 @@ declare const zBCourse: z.ZodObject<{
|
|
|
433
433
|
fullCampTuition?: number | undefined;
|
|
434
434
|
}>;
|
|
435
435
|
declare const zCourse: z.ZodObject<{
|
|
436
|
-
price: z.ZodNumber;
|
|
437
436
|
name: z.ZodString;
|
|
437
|
+
price: z.ZodNumber;
|
|
438
438
|
category: z.ZodNativeEnum<typeof CourseCategory>;
|
|
439
439
|
duration: z.ZodNumber;
|
|
440
440
|
description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -448,8 +448,8 @@ declare const zCourse: z.ZodObject<{
|
|
|
448
448
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
449
449
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
450
450
|
_id: string;
|
|
451
|
-
price: number;
|
|
452
451
|
name: string;
|
|
452
|
+
price: number;
|
|
453
453
|
category: CourseCategory;
|
|
454
454
|
duration: number;
|
|
455
455
|
nyigSchool: NYIGSchool;
|
|
@@ -462,8 +462,8 @@ declare const zCourse: z.ZodObject<{
|
|
|
462
462
|
updatedAt?: Date | undefined;
|
|
463
463
|
}, {
|
|
464
464
|
_id: string;
|
|
465
|
-
price: number;
|
|
466
465
|
name: string;
|
|
466
|
+
price: number;
|
|
467
467
|
category: CourseCategory;
|
|
468
468
|
duration: number;
|
|
469
469
|
nyigSchool: NYIGSchool;
|
|
@@ -963,6 +963,251 @@ declare const zPrivateBooking: z.ZodObject<{
|
|
|
963
963
|
type BPrivateBooking = z.infer<typeof zBPrivateBooking>;
|
|
964
964
|
type PrivateBooking = z.infer<typeof zPrivateBooking>;
|
|
965
965
|
|
|
966
|
+
declare enum GoRank {
|
|
967
|
+
KYU1 = "1k",
|
|
968
|
+
KYU2 = "2k",
|
|
969
|
+
KYU3 = "3k",
|
|
970
|
+
KYU4 = "4k",
|
|
971
|
+
KYU5 = "5k",
|
|
972
|
+
KYU6 = "6k",
|
|
973
|
+
KYU7 = "7k",
|
|
974
|
+
KYU8 = "8k",
|
|
975
|
+
KYU9 = "9k",
|
|
976
|
+
KYU10 = "10k",
|
|
977
|
+
KYU11 = "11k",
|
|
978
|
+
KYU12 = "12k",
|
|
979
|
+
KYU13 = "13k",
|
|
980
|
+
KYU14 = "14k",
|
|
981
|
+
KYU15 = "15k",
|
|
982
|
+
KYU16 = "16k",
|
|
983
|
+
KYU17 = "17k",
|
|
984
|
+
KYU18 = "18k",
|
|
985
|
+
KYU19 = "19k",
|
|
986
|
+
KYU20 = "20k",
|
|
987
|
+
KYU21 = "21k",
|
|
988
|
+
KYU22 = "22k",
|
|
989
|
+
KYU23 = "23k",
|
|
990
|
+
KYU24 = "24k",
|
|
991
|
+
KYU25 = "25k",
|
|
992
|
+
DAN1 = "1d",
|
|
993
|
+
DAN2 = "2d",
|
|
994
|
+
DAN3 = "3d",
|
|
995
|
+
DAN4 = "4d",
|
|
996
|
+
DAN5 = "5d",
|
|
997
|
+
DAN6 = "6d",
|
|
998
|
+
DAN7 = "7d",
|
|
999
|
+
PRO1 = "1p",
|
|
1000
|
+
PRO2 = "2p",
|
|
1001
|
+
PRO3 = "3p",
|
|
1002
|
+
PRO4 = "4p",
|
|
1003
|
+
PRO5 = "5p",
|
|
1004
|
+
PRO6 = "6p",
|
|
1005
|
+
PRO7 = "7p",
|
|
1006
|
+
PRO8 = "8p",
|
|
1007
|
+
PRO9 = "9p"
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
declare const zBUser: z.ZodObject<{
|
|
1011
|
+
name: z.ZodString;
|
|
1012
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1013
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1014
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1015
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1016
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1017
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1018
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1019
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1020
|
+
}, "strip", z.ZodTypeAny, {
|
|
1021
|
+
name: string;
|
|
1022
|
+
username?: string | undefined;
|
|
1023
|
+
password?: string | undefined;
|
|
1024
|
+
roles?: number[] | undefined;
|
|
1025
|
+
email?: string | undefined;
|
|
1026
|
+
address?: string | undefined;
|
|
1027
|
+
country?: string | undefined;
|
|
1028
|
+
phoneNumber?: string | undefined;
|
|
1029
|
+
birthDate?: string | undefined;
|
|
1030
|
+
}, {
|
|
1031
|
+
name: string;
|
|
1032
|
+
username?: string | undefined;
|
|
1033
|
+
password?: string | undefined;
|
|
1034
|
+
roles?: number[] | undefined;
|
|
1035
|
+
email?: string | undefined;
|
|
1036
|
+
address?: string | undefined;
|
|
1037
|
+
country?: string | undefined;
|
|
1038
|
+
phoneNumber?: string | undefined;
|
|
1039
|
+
birthDate?: string | undefined;
|
|
1040
|
+
}>;
|
|
1041
|
+
declare const zUser: z.ZodObject<{
|
|
1042
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1043
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1044
|
+
name: z.ZodString;
|
|
1045
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1046
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1047
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1048
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1049
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1050
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1051
|
+
_id: z.ZodString;
|
|
1052
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1053
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1054
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1055
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1056
|
+
_id: string;
|
|
1057
|
+
name: string;
|
|
1058
|
+
email?: string | undefined;
|
|
1059
|
+
address?: string | undefined;
|
|
1060
|
+
username?: string | undefined;
|
|
1061
|
+
password?: string | undefined;
|
|
1062
|
+
roles?: number[] | undefined;
|
|
1063
|
+
country?: string | undefined;
|
|
1064
|
+
phoneNumber?: string | undefined;
|
|
1065
|
+
birthDate?: string | undefined;
|
|
1066
|
+
editedBy?: string | undefined;
|
|
1067
|
+
createdAt?: Date | undefined;
|
|
1068
|
+
updatedAt?: Date | undefined;
|
|
1069
|
+
}, {
|
|
1070
|
+
_id: string;
|
|
1071
|
+
name: string;
|
|
1072
|
+
email?: string | undefined;
|
|
1073
|
+
address?: string | undefined;
|
|
1074
|
+
username?: string | undefined;
|
|
1075
|
+
password?: string | undefined;
|
|
1076
|
+
roles?: number[] | undefined;
|
|
1077
|
+
country?: string | undefined;
|
|
1078
|
+
phoneNumber?: string | undefined;
|
|
1079
|
+
birthDate?: string | undefined;
|
|
1080
|
+
editedBy?: string | undefined;
|
|
1081
|
+
createdAt?: Date | undefined;
|
|
1082
|
+
updatedAt?: Date | undefined;
|
|
1083
|
+
}>;
|
|
1084
|
+
declare const zStudent: z.ZodObject<{
|
|
1085
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1086
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1087
|
+
_id: z.ZodString;
|
|
1088
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1090
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1091
|
+
name: z.ZodString;
|
|
1092
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1093
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1095
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1096
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1097
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1098
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1099
|
+
guardian: z.ZodOptional<z.ZodString>;
|
|
1100
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1101
|
+
rank: GoRank;
|
|
1102
|
+
_id: string;
|
|
1103
|
+
name: string;
|
|
1104
|
+
email?: string | undefined;
|
|
1105
|
+
address?: string | undefined;
|
|
1106
|
+
editedBy?: string | undefined;
|
|
1107
|
+
createdAt?: Date | undefined;
|
|
1108
|
+
updatedAt?: Date | undefined;
|
|
1109
|
+
username?: string | undefined;
|
|
1110
|
+
password?: string | undefined;
|
|
1111
|
+
roles?: number[] | undefined;
|
|
1112
|
+
country?: string | undefined;
|
|
1113
|
+
phoneNumber?: string | undefined;
|
|
1114
|
+
birthDate?: string | undefined;
|
|
1115
|
+
guardian?: string | undefined;
|
|
1116
|
+
}, {
|
|
1117
|
+
rank: GoRank;
|
|
1118
|
+
_id: string;
|
|
1119
|
+
name: string;
|
|
1120
|
+
email?: string | undefined;
|
|
1121
|
+
address?: string | undefined;
|
|
1122
|
+
editedBy?: string | undefined;
|
|
1123
|
+
createdAt?: Date | undefined;
|
|
1124
|
+
updatedAt?: Date | undefined;
|
|
1125
|
+
username?: string | undefined;
|
|
1126
|
+
password?: string | undefined;
|
|
1127
|
+
roles?: number[] | undefined;
|
|
1128
|
+
country?: string | undefined;
|
|
1129
|
+
phoneNumber?: string | undefined;
|
|
1130
|
+
birthDate?: string | undefined;
|
|
1131
|
+
guardian?: string | undefined;
|
|
1132
|
+
}>;
|
|
1133
|
+
declare const zTeacher: z.ZodObject<{
|
|
1134
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1135
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1136
|
+
_id: z.ZodString;
|
|
1137
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1139
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1140
|
+
name: z.ZodString;
|
|
1141
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1144
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1145
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1146
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1147
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1148
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1149
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1152
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1153
|
+
rank: GoRank;
|
|
1154
|
+
_id: string;
|
|
1155
|
+
name: string;
|
|
1156
|
+
email?: string | undefined;
|
|
1157
|
+
address?: string | undefined;
|
|
1158
|
+
editedBy?: string | undefined;
|
|
1159
|
+
createdAt?: Date | undefined;
|
|
1160
|
+
updatedAt?: Date | undefined;
|
|
1161
|
+
username?: string | undefined;
|
|
1162
|
+
password?: string | undefined;
|
|
1163
|
+
roles?: number[] | undefined;
|
|
1164
|
+
country?: string | undefined;
|
|
1165
|
+
phoneNumber?: string | undefined;
|
|
1166
|
+
birthDate?: string | undefined;
|
|
1167
|
+
isInactive?: boolean | undefined;
|
|
1168
|
+
title?: string | undefined;
|
|
1169
|
+
bio?: string | undefined;
|
|
1170
|
+
available?: number[][][] | undefined;
|
|
1171
|
+
}, {
|
|
1172
|
+
rank: GoRank;
|
|
1173
|
+
_id: string;
|
|
1174
|
+
name: string;
|
|
1175
|
+
email?: string | undefined;
|
|
1176
|
+
address?: string | undefined;
|
|
1177
|
+
editedBy?: string | undefined;
|
|
1178
|
+
createdAt?: Date | undefined;
|
|
1179
|
+
updatedAt?: Date | undefined;
|
|
1180
|
+
username?: string | undefined;
|
|
1181
|
+
password?: string | undefined;
|
|
1182
|
+
roles?: number[] | undefined;
|
|
1183
|
+
country?: string | undefined;
|
|
1184
|
+
phoneNumber?: string | undefined;
|
|
1185
|
+
birthDate?: string | undefined;
|
|
1186
|
+
isInactive?: boolean | undefined;
|
|
1187
|
+
title?: string | undefined;
|
|
1188
|
+
bio?: string | undefined;
|
|
1189
|
+
available?: number[][][] | undefined;
|
|
1190
|
+
}>;
|
|
1191
|
+
type BUser = z.infer<typeof zBUser>;
|
|
1192
|
+
type User = z.infer<typeof zUser>;
|
|
1193
|
+
type Student = z.infer<typeof zStudent>;
|
|
1194
|
+
type Teacher = z.infer<typeof zTeacher>;
|
|
1195
|
+
|
|
1196
|
+
declare const zUserRoles: z.ZodObject<{
|
|
1197
|
+
user: z.ZodNumber;
|
|
1198
|
+
admin: z.ZodNumber;
|
|
1199
|
+
superadmin: z.ZodNumber;
|
|
1200
|
+
}, "strip", z.ZodTypeAny, {
|
|
1201
|
+
user: number;
|
|
1202
|
+
admin: number;
|
|
1203
|
+
superadmin: number;
|
|
1204
|
+
}, {
|
|
1205
|
+
user: number;
|
|
1206
|
+
admin: number;
|
|
1207
|
+
superadmin: number;
|
|
1208
|
+
}>;
|
|
1209
|
+
type UserRoles = z.infer<typeof zUserRoles>;
|
|
1210
|
+
|
|
966
1211
|
declare enum PaymentMethod {
|
|
967
1212
|
CASH = "Cash",
|
|
968
1213
|
CHECK = "Check",
|
|
@@ -1068,7 +1313,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1068
1313
|
textbook: z.ZodOptional<z.ZodNumber>;
|
|
1069
1314
|
shipping: z.ZodOptional<z.ZodNumber>;
|
|
1070
1315
|
paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
|
|
1071
|
-
notes: z.ZodOptional<z.ZodString
|
|
1316
|
+
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1072
1317
|
createdBy: z.ZodString;
|
|
1073
1318
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
1074
1319
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1113,7 +1358,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1113
1358
|
lastEditBy?: string | undefined;
|
|
1114
1359
|
}>;
|
|
1115
1360
|
declare const zInvoice: z.ZodObject<{
|
|
1116
|
-
notes: z.ZodOptional<z.ZodString
|
|
1361
|
+
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1117
1362
|
textbook: z.ZodOptional<z.ZodNumber>;
|
|
1118
1363
|
shipping: z.ZodOptional<z.ZodNumber>;
|
|
1119
1364
|
paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
|
|
@@ -1213,261 +1458,308 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1213
1458
|
createdAt?: Date | undefined;
|
|
1214
1459
|
updatedAt?: Date | undefined;
|
|
1215
1460
|
}>;
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
type Invoice = z.infer<typeof zInvoice>;
|
|
1221
|
-
|
|
1222
|
-
interface PaymentIntent {
|
|
1223
|
-
id: string;
|
|
1224
|
-
type: BookingType;
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
declare enum GoRank {
|
|
1228
|
-
KYU1 = "1k",
|
|
1229
|
-
KYU2 = "2k",
|
|
1230
|
-
KYU3 = "3k",
|
|
1231
|
-
KYU4 = "4k",
|
|
1232
|
-
KYU5 = "5k",
|
|
1233
|
-
KYU6 = "6k",
|
|
1234
|
-
KYU7 = "7k",
|
|
1235
|
-
KYU8 = "8k",
|
|
1236
|
-
KYU9 = "9k",
|
|
1237
|
-
KYU10 = "10k",
|
|
1238
|
-
KYU11 = "11k",
|
|
1239
|
-
KYU12 = "12k",
|
|
1240
|
-
KYU13 = "13k",
|
|
1241
|
-
KYU14 = "14k",
|
|
1242
|
-
KYU15 = "15k",
|
|
1243
|
-
KYU16 = "16k",
|
|
1244
|
-
KYU17 = "17k",
|
|
1245
|
-
KYU18 = "18k",
|
|
1246
|
-
KYU19 = "19k",
|
|
1247
|
-
KYU20 = "20k",
|
|
1248
|
-
KYU21 = "21k",
|
|
1249
|
-
KYU22 = "22k",
|
|
1250
|
-
KYU23 = "23k",
|
|
1251
|
-
KYU24 = "24k",
|
|
1252
|
-
KYU25 = "25k",
|
|
1253
|
-
DAN1 = "1d",
|
|
1254
|
-
DAN2 = "2d",
|
|
1255
|
-
DAN3 = "3d",
|
|
1256
|
-
DAN4 = "4d",
|
|
1257
|
-
DAN5 = "5d",
|
|
1258
|
-
DAN6 = "6d",
|
|
1259
|
-
DAN7 = "7d",
|
|
1260
|
-
PRO1 = "1p",
|
|
1261
|
-
PRO2 = "2p",
|
|
1262
|
-
PRO3 = "3p",
|
|
1263
|
-
PRO4 = "4p",
|
|
1264
|
-
PRO5 = "5p",
|
|
1265
|
-
PRO6 = "6p",
|
|
1266
|
-
PRO7 = "7p",
|
|
1267
|
-
PRO8 = "8p",
|
|
1268
|
-
PRO9 = "9p"
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
declare const zBUser: z.ZodObject<{
|
|
1272
|
-
name: z.ZodString;
|
|
1273
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1274
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1275
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1276
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1277
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1278
|
-
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1279
|
-
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1280
|
-
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1281
|
-
}, "strip", z.ZodTypeAny, {
|
|
1282
|
-
name: string;
|
|
1283
|
-
username?: string | undefined;
|
|
1284
|
-
password?: string | undefined;
|
|
1285
|
-
roles?: number[] | undefined;
|
|
1286
|
-
email?: string | undefined;
|
|
1287
|
-
address?: string | undefined;
|
|
1288
|
-
country?: string | undefined;
|
|
1289
|
-
phoneNumber?: string | undefined;
|
|
1290
|
-
birthDate?: string | undefined;
|
|
1291
|
-
}, {
|
|
1292
|
-
name: string;
|
|
1293
|
-
username?: string | undefined;
|
|
1294
|
-
password?: string | undefined;
|
|
1295
|
-
roles?: number[] | undefined;
|
|
1296
|
-
email?: string | undefined;
|
|
1297
|
-
address?: string | undefined;
|
|
1298
|
-
country?: string | undefined;
|
|
1299
|
-
phoneNumber?: string | undefined;
|
|
1300
|
-
birthDate?: string | undefined;
|
|
1301
|
-
}>;
|
|
1302
|
-
declare const zUser: z.ZodObject<{
|
|
1303
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1304
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1305
|
-
name: z.ZodString;
|
|
1306
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1307
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1308
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1309
|
-
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1310
|
-
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1311
|
-
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1312
|
-
_id: z.ZodString;
|
|
1313
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1314
|
-
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1315
|
-
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1316
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1317
|
-
_id: string;
|
|
1318
|
-
name: string;
|
|
1319
|
-
email?: string | undefined;
|
|
1320
|
-
address?: string | undefined;
|
|
1321
|
-
username?: string | undefined;
|
|
1322
|
-
password?: string | undefined;
|
|
1323
|
-
roles?: number[] | undefined;
|
|
1324
|
-
country?: string | undefined;
|
|
1325
|
-
phoneNumber?: string | undefined;
|
|
1326
|
-
birthDate?: string | undefined;
|
|
1327
|
-
editedBy?: string | undefined;
|
|
1328
|
-
createdAt?: Date | undefined;
|
|
1329
|
-
updatedAt?: Date | undefined;
|
|
1330
|
-
}, {
|
|
1331
|
-
_id: string;
|
|
1332
|
-
name: string;
|
|
1333
|
-
email?: string | undefined;
|
|
1334
|
-
address?: string | undefined;
|
|
1335
|
-
username?: string | undefined;
|
|
1336
|
-
password?: string | undefined;
|
|
1337
|
-
roles?: number[] | undefined;
|
|
1338
|
-
country?: string | undefined;
|
|
1339
|
-
phoneNumber?: string | undefined;
|
|
1340
|
-
birthDate?: string | undefined;
|
|
1341
|
-
editedBy?: string | undefined;
|
|
1342
|
-
createdAt?: Date | undefined;
|
|
1343
|
-
updatedAt?: Date | undefined;
|
|
1344
|
-
}>;
|
|
1345
|
-
declare const zStudent: z.ZodObject<{
|
|
1346
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1347
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1348
|
-
_id: z.ZodString;
|
|
1349
|
-
editedBy: z.ZodOptional<z.ZodString>;
|
|
1350
|
-
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1351
|
-
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1352
|
-
name: z.ZodString;
|
|
1353
|
-
username: z.ZodOptional<z.ZodString>;
|
|
1354
|
-
password: z.ZodOptional<z.ZodString>;
|
|
1355
|
-
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1356
|
-
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1357
|
-
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1358
|
-
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1359
|
-
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1360
|
-
guardian: z.ZodOptional<z.ZodString>;
|
|
1361
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1362
|
-
rank: GoRank;
|
|
1363
|
-
_id: string;
|
|
1364
|
-
name: string;
|
|
1365
|
-
email?: string | undefined;
|
|
1366
|
-
address?: string | undefined;
|
|
1367
|
-
editedBy?: string | undefined;
|
|
1368
|
-
createdAt?: Date | undefined;
|
|
1369
|
-
updatedAt?: Date | undefined;
|
|
1370
|
-
username?: string | undefined;
|
|
1371
|
-
password?: string | undefined;
|
|
1372
|
-
roles?: number[] | undefined;
|
|
1373
|
-
country?: string | undefined;
|
|
1374
|
-
phoneNumber?: string | undefined;
|
|
1375
|
-
birthDate?: string | undefined;
|
|
1376
|
-
guardian?: string | undefined;
|
|
1377
|
-
}, {
|
|
1378
|
-
rank: GoRank;
|
|
1379
|
-
_id: string;
|
|
1380
|
-
name: string;
|
|
1381
|
-
email?: string | undefined;
|
|
1382
|
-
address?: string | undefined;
|
|
1383
|
-
editedBy?: string | undefined;
|
|
1384
|
-
createdAt?: Date | undefined;
|
|
1385
|
-
updatedAt?: Date | undefined;
|
|
1386
|
-
username?: string | undefined;
|
|
1387
|
-
password?: string | undefined;
|
|
1388
|
-
roles?: number[] | undefined;
|
|
1389
|
-
country?: string | undefined;
|
|
1390
|
-
phoneNumber?: string | undefined;
|
|
1391
|
-
birthDate?: string | undefined;
|
|
1392
|
-
guardian?: string | undefined;
|
|
1393
|
-
}>;
|
|
1394
|
-
declare const zTeacher: z.ZodObject<{
|
|
1395
|
-
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1396
|
-
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1461
|
+
declare const zInvoiceResponse: z.ZodObject<{
|
|
1462
|
+
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1463
|
+
textbook: z.ZodOptional<z.ZodNumber>;
|
|
1464
|
+
shipping: z.ZodOptional<z.ZodNumber>;
|
|
1397
1465
|
_id: z.ZodString;
|
|
1398
1466
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
1399
1467
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1400
1468
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1469
|
+
paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
|
|
1470
|
+
billTo: z.ZodString;
|
|
1471
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
1472
|
+
student: z.ZodString;
|
|
1473
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1474
|
+
course: z.ZodString;
|
|
1475
|
+
price: z.ZodNumber;
|
|
1476
|
+
units: z.ZodNumber;
|
|
1477
|
+
}, "strip", z.ZodTypeAny, {
|
|
1478
|
+
course: string;
|
|
1479
|
+
price: number;
|
|
1480
|
+
units: number;
|
|
1481
|
+
}, {
|
|
1482
|
+
course: string;
|
|
1483
|
+
price: number;
|
|
1484
|
+
units: number;
|
|
1485
|
+
}>, "many">;
|
|
1486
|
+
}, "strip", z.ZodTypeAny, {
|
|
1487
|
+
student: string;
|
|
1488
|
+
items: {
|
|
1489
|
+
course: string;
|
|
1490
|
+
price: number;
|
|
1491
|
+
units: number;
|
|
1492
|
+
}[];
|
|
1493
|
+
}, {
|
|
1494
|
+
student: string;
|
|
1495
|
+
items: {
|
|
1496
|
+
course: string;
|
|
1497
|
+
price: number;
|
|
1498
|
+
units: number;
|
|
1499
|
+
}[];
|
|
1500
|
+
}>, "many">;
|
|
1501
|
+
discounts: z.ZodArray<z.ZodObject<{
|
|
1502
|
+
desc: z.ZodString;
|
|
1503
|
+
amount: z.ZodNumber;
|
|
1504
|
+
}, "strip", z.ZodTypeAny, {
|
|
1505
|
+
desc: string;
|
|
1506
|
+
amount: number;
|
|
1507
|
+
}, {
|
|
1508
|
+
desc: string;
|
|
1509
|
+
amount: number;
|
|
1510
|
+
}>, "many">;
|
|
1511
|
+
createdBy: z.ZodObject<{
|
|
1512
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1513
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1514
|
+
_id: z.ZodString;
|
|
1515
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1516
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1517
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1518
|
+
name: z.ZodString;
|
|
1519
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1522
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1523
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1524
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1525
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1526
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1527
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1528
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
1529
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1530
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1531
|
+
rank: GoRank;
|
|
1532
|
+
_id: string;
|
|
1533
|
+
name: string;
|
|
1534
|
+
email?: string | undefined;
|
|
1535
|
+
address?: string | undefined;
|
|
1536
|
+
editedBy?: string | undefined;
|
|
1537
|
+
createdAt?: Date | undefined;
|
|
1538
|
+
updatedAt?: Date | undefined;
|
|
1539
|
+
username?: string | undefined;
|
|
1540
|
+
password?: string | undefined;
|
|
1541
|
+
roles?: number[] | undefined;
|
|
1542
|
+
country?: string | undefined;
|
|
1543
|
+
phoneNumber?: string | undefined;
|
|
1544
|
+
birthDate?: string | undefined;
|
|
1545
|
+
isInactive?: boolean | undefined;
|
|
1546
|
+
title?: string | undefined;
|
|
1547
|
+
bio?: string | undefined;
|
|
1548
|
+
available?: number[][][] | undefined;
|
|
1549
|
+
}, {
|
|
1550
|
+
rank: GoRank;
|
|
1551
|
+
_id: string;
|
|
1552
|
+
name: string;
|
|
1553
|
+
email?: string | undefined;
|
|
1554
|
+
address?: string | undefined;
|
|
1555
|
+
editedBy?: string | undefined;
|
|
1556
|
+
createdAt?: Date | undefined;
|
|
1557
|
+
updatedAt?: Date | undefined;
|
|
1558
|
+
username?: string | undefined;
|
|
1559
|
+
password?: string | undefined;
|
|
1560
|
+
roles?: number[] | undefined;
|
|
1561
|
+
country?: string | undefined;
|
|
1562
|
+
phoneNumber?: string | undefined;
|
|
1563
|
+
birthDate?: string | undefined;
|
|
1564
|
+
isInactive?: boolean | undefined;
|
|
1565
|
+
title?: string | undefined;
|
|
1566
|
+
bio?: string | undefined;
|
|
1567
|
+
available?: number[][][] | undefined;
|
|
1568
|
+
}>;
|
|
1569
|
+
lastEditBy: z.ZodOptional<z.ZodObject<{
|
|
1570
|
+
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1571
|
+
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1572
|
+
_id: z.ZodString;
|
|
1573
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1575
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1576
|
+
name: z.ZodString;
|
|
1577
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1578
|
+
password: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1580
|
+
country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1581
|
+
phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1582
|
+
birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1583
|
+
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1584
|
+
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
1585
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1586
|
+
bio: z.ZodOptional<z.ZodString>;
|
|
1587
|
+
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
1588
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1589
|
+
rank: GoRank;
|
|
1590
|
+
_id: string;
|
|
1591
|
+
name: string;
|
|
1592
|
+
email?: string | undefined;
|
|
1593
|
+
address?: string | undefined;
|
|
1594
|
+
editedBy?: string | undefined;
|
|
1595
|
+
createdAt?: Date | undefined;
|
|
1596
|
+
updatedAt?: Date | undefined;
|
|
1597
|
+
username?: string | undefined;
|
|
1598
|
+
password?: string | undefined;
|
|
1599
|
+
roles?: number[] | undefined;
|
|
1600
|
+
country?: string | undefined;
|
|
1601
|
+
phoneNumber?: string | undefined;
|
|
1602
|
+
birthDate?: string | undefined;
|
|
1603
|
+
isInactive?: boolean | undefined;
|
|
1604
|
+
title?: string | undefined;
|
|
1605
|
+
bio?: string | undefined;
|
|
1606
|
+
available?: number[][][] | undefined;
|
|
1607
|
+
}, {
|
|
1608
|
+
rank: GoRank;
|
|
1609
|
+
_id: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
email?: string | undefined;
|
|
1612
|
+
address?: string | undefined;
|
|
1613
|
+
editedBy?: string | undefined;
|
|
1614
|
+
createdAt?: Date | undefined;
|
|
1615
|
+
updatedAt?: Date | undefined;
|
|
1616
|
+
username?: string | undefined;
|
|
1617
|
+
password?: string | undefined;
|
|
1618
|
+
roles?: number[] | undefined;
|
|
1619
|
+
country?: string | undefined;
|
|
1620
|
+
phoneNumber?: string | undefined;
|
|
1621
|
+
birthDate?: string | undefined;
|
|
1622
|
+
isInactive?: boolean | undefined;
|
|
1623
|
+
title?: string | undefined;
|
|
1624
|
+
bio?: string | undefined;
|
|
1625
|
+
available?: number[][][] | undefined;
|
|
1626
|
+
}>>;
|
|
1413
1627
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1414
|
-
rank: GoRank;
|
|
1415
1628
|
_id: string;
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1629
|
+
billTo: string;
|
|
1630
|
+
packages: {
|
|
1631
|
+
student: string;
|
|
1632
|
+
items: {
|
|
1633
|
+
course: string;
|
|
1634
|
+
price: number;
|
|
1635
|
+
units: number;
|
|
1636
|
+
}[];
|
|
1637
|
+
}[];
|
|
1638
|
+
discounts: {
|
|
1639
|
+
desc: string;
|
|
1640
|
+
amount: number;
|
|
1641
|
+
}[];
|
|
1642
|
+
createdBy: {
|
|
1643
|
+
rank: GoRank;
|
|
1644
|
+
_id: string;
|
|
1645
|
+
name: string;
|
|
1646
|
+
email?: string | undefined;
|
|
1647
|
+
address?: string | undefined;
|
|
1648
|
+
editedBy?: string | undefined;
|
|
1649
|
+
createdAt?: Date | undefined;
|
|
1650
|
+
updatedAt?: Date | undefined;
|
|
1651
|
+
username?: string | undefined;
|
|
1652
|
+
password?: string | undefined;
|
|
1653
|
+
roles?: number[] | undefined;
|
|
1654
|
+
country?: string | undefined;
|
|
1655
|
+
phoneNumber?: string | undefined;
|
|
1656
|
+
birthDate?: string | undefined;
|
|
1657
|
+
isInactive?: boolean | undefined;
|
|
1658
|
+
title?: string | undefined;
|
|
1659
|
+
bio?: string | undefined;
|
|
1660
|
+
available?: number[][][] | undefined;
|
|
1661
|
+
};
|
|
1662
|
+
notes?: string | undefined;
|
|
1663
|
+
textbook?: number | undefined;
|
|
1664
|
+
shipping?: number | undefined;
|
|
1419
1665
|
editedBy?: string | undefined;
|
|
1420
1666
|
createdAt?: Date | undefined;
|
|
1421
1667
|
updatedAt?: Date | undefined;
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1668
|
+
paid?: PaymentMethod | undefined;
|
|
1669
|
+
lastEditBy?: {
|
|
1670
|
+
rank: GoRank;
|
|
1671
|
+
_id: string;
|
|
1672
|
+
name: string;
|
|
1673
|
+
email?: string | undefined;
|
|
1674
|
+
address?: string | undefined;
|
|
1675
|
+
editedBy?: string | undefined;
|
|
1676
|
+
createdAt?: Date | undefined;
|
|
1677
|
+
updatedAt?: Date | undefined;
|
|
1678
|
+
username?: string | undefined;
|
|
1679
|
+
password?: string | undefined;
|
|
1680
|
+
roles?: number[] | undefined;
|
|
1681
|
+
country?: string | undefined;
|
|
1682
|
+
phoneNumber?: string | undefined;
|
|
1683
|
+
birthDate?: string | undefined;
|
|
1684
|
+
isInactive?: boolean | undefined;
|
|
1685
|
+
title?: string | undefined;
|
|
1686
|
+
bio?: string | undefined;
|
|
1687
|
+
available?: number[][][] | undefined;
|
|
1688
|
+
} | undefined;
|
|
1432
1689
|
}, {
|
|
1433
|
-
rank: GoRank;
|
|
1434
1690
|
_id: string;
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1691
|
+
billTo: string;
|
|
1692
|
+
packages: {
|
|
1693
|
+
student: string;
|
|
1694
|
+
items: {
|
|
1695
|
+
course: string;
|
|
1696
|
+
price: number;
|
|
1697
|
+
units: number;
|
|
1698
|
+
}[];
|
|
1699
|
+
}[];
|
|
1700
|
+
discounts: {
|
|
1701
|
+
desc: string;
|
|
1702
|
+
amount: number;
|
|
1703
|
+
}[];
|
|
1704
|
+
createdBy: {
|
|
1705
|
+
rank: GoRank;
|
|
1706
|
+
_id: string;
|
|
1707
|
+
name: string;
|
|
1708
|
+
email?: string | undefined;
|
|
1709
|
+
address?: string | undefined;
|
|
1710
|
+
editedBy?: string | undefined;
|
|
1711
|
+
createdAt?: Date | undefined;
|
|
1712
|
+
updatedAt?: Date | undefined;
|
|
1713
|
+
username?: string | undefined;
|
|
1714
|
+
password?: string | undefined;
|
|
1715
|
+
roles?: number[] | undefined;
|
|
1716
|
+
country?: string | undefined;
|
|
1717
|
+
phoneNumber?: string | undefined;
|
|
1718
|
+
birthDate?: string | undefined;
|
|
1719
|
+
isInactive?: boolean | undefined;
|
|
1720
|
+
title?: string | undefined;
|
|
1721
|
+
bio?: string | undefined;
|
|
1722
|
+
available?: number[][][] | undefined;
|
|
1723
|
+
};
|
|
1724
|
+
notes?: string | undefined;
|
|
1725
|
+
textbook?: number | undefined;
|
|
1726
|
+
shipping?: number | undefined;
|
|
1438
1727
|
editedBy?: string | undefined;
|
|
1439
1728
|
createdAt?: Date | undefined;
|
|
1440
1729
|
updatedAt?: Date | undefined;
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1730
|
+
paid?: PaymentMethod | undefined;
|
|
1731
|
+
lastEditBy?: {
|
|
1732
|
+
rank: GoRank;
|
|
1733
|
+
_id: string;
|
|
1734
|
+
name: string;
|
|
1735
|
+
email?: string | undefined;
|
|
1736
|
+
address?: string | undefined;
|
|
1737
|
+
editedBy?: string | undefined;
|
|
1738
|
+
createdAt?: Date | undefined;
|
|
1739
|
+
updatedAt?: Date | undefined;
|
|
1740
|
+
username?: string | undefined;
|
|
1741
|
+
password?: string | undefined;
|
|
1742
|
+
roles?: number[] | undefined;
|
|
1743
|
+
country?: string | undefined;
|
|
1744
|
+
phoneNumber?: string | undefined;
|
|
1745
|
+
birthDate?: string | undefined;
|
|
1746
|
+
isInactive?: boolean | undefined;
|
|
1747
|
+
title?: string | undefined;
|
|
1748
|
+
bio?: string | undefined;
|
|
1749
|
+
available?: number[][][] | undefined;
|
|
1750
|
+
} | undefined;
|
|
1451
1751
|
}>;
|
|
1452
|
-
type
|
|
1453
|
-
type
|
|
1454
|
-
type
|
|
1455
|
-
type
|
|
1752
|
+
type Discount = z.infer<typeof zDiscount>;
|
|
1753
|
+
type InvoiceItem = z.infer<typeof zInvoiceItem>;
|
|
1754
|
+
type InvoicePackage = z.infer<typeof zInvoicePackage>;
|
|
1755
|
+
type BInvoice = z.infer<typeof zBInvoice>;
|
|
1756
|
+
type Invoice = z.infer<typeof zInvoice>;
|
|
1757
|
+
type InvoiceResponse = z.infer<typeof zInvoiceResponse>;
|
|
1456
1758
|
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
}, "strip", z.ZodTypeAny, {
|
|
1462
|
-
user: number;
|
|
1463
|
-
admin: number;
|
|
1464
|
-
superadmin: number;
|
|
1465
|
-
}, {
|
|
1466
|
-
user: number;
|
|
1467
|
-
admin: number;
|
|
1468
|
-
superadmin: number;
|
|
1469
|
-
}>;
|
|
1470
|
-
type UserRoles = z.infer<typeof zUserRoles>;
|
|
1759
|
+
interface PaymentIntent {
|
|
1760
|
+
id: string;
|
|
1761
|
+
type: BookingType;
|
|
1762
|
+
}
|
|
1471
1763
|
|
|
1472
1764
|
declare const zTeacherPaymentRow: z.ZodObject<{
|
|
1473
1765
|
course: z.ZodString;
|
|
@@ -2244,8 +2536,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2244
2536
|
width: number;
|
|
2245
2537
|
}>>;
|
|
2246
2538
|
tickets: z.ZodArray<z.ZodObject<{
|
|
2247
|
-
price: z.ZodNumber;
|
|
2248
2539
|
name: z.ZodString;
|
|
2540
|
+
price: z.ZodNumber;
|
|
2249
2541
|
description: z.ZodOptional<z.ZodString>;
|
|
2250
2542
|
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2251
2543
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
@@ -2255,8 +2547,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2255
2547
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2256
2548
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2257
2549
|
_id: string;
|
|
2258
|
-
price: number;
|
|
2259
2550
|
name: string;
|
|
2551
|
+
price: number;
|
|
2260
2552
|
description?: string | undefined;
|
|
2261
2553
|
isNotBuyable?: boolean | undefined;
|
|
2262
2554
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2265,8 +2557,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2265
2557
|
updatedAt?: Date | undefined;
|
|
2266
2558
|
}, {
|
|
2267
2559
|
_id: string;
|
|
2268
|
-
price: number;
|
|
2269
2560
|
name: string;
|
|
2561
|
+
price: number;
|
|
2270
2562
|
description?: string | undefined;
|
|
2271
2563
|
isNotBuyable?: boolean | undefined;
|
|
2272
2564
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2293,8 +2585,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2293
2585
|
};
|
|
2294
2586
|
tickets: {
|
|
2295
2587
|
_id: string;
|
|
2296
|
-
price: number;
|
|
2297
2588
|
name: string;
|
|
2589
|
+
price: number;
|
|
2298
2590
|
description?: string | undefined;
|
|
2299
2591
|
isNotBuyable?: boolean | undefined;
|
|
2300
2592
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2332,8 +2624,8 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
2332
2624
|
};
|
|
2333
2625
|
tickets: {
|
|
2334
2626
|
_id: string;
|
|
2335
|
-
price: number;
|
|
2336
2627
|
name: string;
|
|
2628
|
+
price: number;
|
|
2337
2629
|
description?: string | undefined;
|
|
2338
2630
|
isNotBuyable?: boolean | undefined;
|
|
2339
2631
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2549,8 +2841,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2549
2841
|
tickets: z.ZodArray<z.ZodObject<{
|
|
2550
2842
|
amount: z.ZodNumber;
|
|
2551
2843
|
ticket: z.ZodObject<{
|
|
2552
|
-
price: z.ZodNumber;
|
|
2553
2844
|
name: z.ZodString;
|
|
2845
|
+
price: z.ZodNumber;
|
|
2554
2846
|
description: z.ZodOptional<z.ZodString>;
|
|
2555
2847
|
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2556
2848
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
@@ -2560,8 +2852,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2560
2852
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2561
2853
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2562
2854
|
_id: string;
|
|
2563
|
-
price: number;
|
|
2564
2855
|
name: string;
|
|
2856
|
+
price: number;
|
|
2565
2857
|
description?: string | undefined;
|
|
2566
2858
|
isNotBuyable?: boolean | undefined;
|
|
2567
2859
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2570,8 +2862,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2570
2862
|
updatedAt?: Date | undefined;
|
|
2571
2863
|
}, {
|
|
2572
2864
|
_id: string;
|
|
2573
|
-
price: number;
|
|
2574
2865
|
name: string;
|
|
2866
|
+
price: number;
|
|
2575
2867
|
description?: string | undefined;
|
|
2576
2868
|
isNotBuyable?: boolean | undefined;
|
|
2577
2869
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2583,8 +2875,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2583
2875
|
amount: number;
|
|
2584
2876
|
ticket: {
|
|
2585
2877
|
_id: string;
|
|
2586
|
-
price: number;
|
|
2587
2878
|
name: string;
|
|
2879
|
+
price: number;
|
|
2588
2880
|
description?: string | undefined;
|
|
2589
2881
|
isNotBuyable?: boolean | undefined;
|
|
2590
2882
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2596,8 +2888,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2596
2888
|
amount: number;
|
|
2597
2889
|
ticket: {
|
|
2598
2890
|
_id: string;
|
|
2599
|
-
price: number;
|
|
2600
2891
|
name: string;
|
|
2892
|
+
price: number;
|
|
2601
2893
|
description?: string | undefined;
|
|
2602
2894
|
isNotBuyable?: boolean | undefined;
|
|
2603
2895
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2617,8 +2909,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2617
2909
|
amount: number;
|
|
2618
2910
|
ticket: {
|
|
2619
2911
|
_id: string;
|
|
2620
|
-
price: number;
|
|
2621
2912
|
name: string;
|
|
2913
|
+
price: number;
|
|
2622
2914
|
description?: string | undefined;
|
|
2623
2915
|
isNotBuyable?: boolean | undefined;
|
|
2624
2916
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2651,8 +2943,8 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2651
2943
|
amount: number;
|
|
2652
2944
|
ticket: {
|
|
2653
2945
|
_id: string;
|
|
2654
|
-
price: number;
|
|
2655
2946
|
name: string;
|
|
2947
|
+
price: number;
|
|
2656
2948
|
description?: string | undefined;
|
|
2657
2949
|
isNotBuyable?: boolean | undefined;
|
|
2658
2950
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2695,8 +2987,8 @@ declare const zEventTicketReg: z.ZodObject<{
|
|
|
2695
2987
|
declare const zEventTicketRegResponse: z.ZodObject<{
|
|
2696
2988
|
amount: z.ZodNumber;
|
|
2697
2989
|
ticket: z.ZodObject<{
|
|
2698
|
-
price: z.ZodNumber;
|
|
2699
2990
|
name: z.ZodString;
|
|
2991
|
+
price: z.ZodNumber;
|
|
2700
2992
|
description: z.ZodOptional<z.ZodString>;
|
|
2701
2993
|
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2702
2994
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
@@ -2706,8 +2998,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
2706
2998
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2707
2999
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2708
3000
|
_id: string;
|
|
2709
|
-
price: number;
|
|
2710
3001
|
name: string;
|
|
3002
|
+
price: number;
|
|
2711
3003
|
description?: string | undefined;
|
|
2712
3004
|
isNotBuyable?: boolean | undefined;
|
|
2713
3005
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2716,8 +3008,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
2716
3008
|
updatedAt?: Date | undefined;
|
|
2717
3009
|
}, {
|
|
2718
3010
|
_id: string;
|
|
2719
|
-
price: number;
|
|
2720
3011
|
name: string;
|
|
3012
|
+
price: number;
|
|
2721
3013
|
description?: string | undefined;
|
|
2722
3014
|
isNotBuyable?: boolean | undefined;
|
|
2723
3015
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2729,8 +3021,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
2729
3021
|
amount: number;
|
|
2730
3022
|
ticket: {
|
|
2731
3023
|
_id: string;
|
|
2732
|
-
price: number;
|
|
2733
3024
|
name: string;
|
|
3025
|
+
price: number;
|
|
2734
3026
|
description?: string | undefined;
|
|
2735
3027
|
isNotBuyable?: boolean | undefined;
|
|
2736
3028
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2742,8 +3034,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
2742
3034
|
amount: number;
|
|
2743
3035
|
ticket: {
|
|
2744
3036
|
_id: string;
|
|
2745
|
-
price: number;
|
|
2746
3037
|
name: string;
|
|
3038
|
+
price: number;
|
|
2747
3039
|
description?: string | undefined;
|
|
2748
3040
|
isNotBuyable?: boolean | undefined;
|
|
2749
3041
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2774,21 +3066,21 @@ declare const zBEventTicket: z.ZodObject<{
|
|
|
2774
3066
|
*/
|
|
2775
3067
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2776
3068
|
}, "strip", z.ZodTypeAny, {
|
|
2777
|
-
price: number;
|
|
2778
3069
|
name: string;
|
|
3070
|
+
price: number;
|
|
2779
3071
|
description?: string | undefined;
|
|
2780
3072
|
isNotBuyable?: boolean | undefined;
|
|
2781
3073
|
lastBuyableDate?: Date | undefined;
|
|
2782
3074
|
}, {
|
|
2783
|
-
price: number;
|
|
2784
3075
|
name: string;
|
|
3076
|
+
price: number;
|
|
2785
3077
|
description?: string | undefined;
|
|
2786
3078
|
isNotBuyable?: boolean | undefined;
|
|
2787
3079
|
lastBuyableDate?: Date | undefined;
|
|
2788
3080
|
}>;
|
|
2789
3081
|
declare const zEventTicket: z.ZodObject<{
|
|
2790
|
-
price: z.ZodNumber;
|
|
2791
3082
|
name: z.ZodString;
|
|
3083
|
+
price: z.ZodNumber;
|
|
2792
3084
|
description: z.ZodOptional<z.ZodString>;
|
|
2793
3085
|
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2794
3086
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
@@ -2798,8 +3090,8 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
2798
3090
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2799
3091
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2800
3092
|
_id: string;
|
|
2801
|
-
price: number;
|
|
2802
3093
|
name: string;
|
|
3094
|
+
price: number;
|
|
2803
3095
|
description?: string | undefined;
|
|
2804
3096
|
isNotBuyable?: boolean | undefined;
|
|
2805
3097
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2808,8 +3100,8 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
2808
3100
|
updatedAt?: Date | undefined;
|
|
2809
3101
|
}, {
|
|
2810
3102
|
_id: string;
|
|
2811
|
-
price: number;
|
|
2812
3103
|
name: string;
|
|
3104
|
+
price: number;
|
|
2813
3105
|
description?: string | undefined;
|
|
2814
3106
|
isNotBuyable?: boolean | undefined;
|
|
2815
3107
|
lastBuyableDate?: Date | undefined;
|
|
@@ -2820,4 +3112,4 @@ declare const zEventTicket: z.ZodObject<{
|
|
|
2820
3112
|
type BEventTicket = z.infer<typeof zBEventTicket>;
|
|
2821
3113
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
2822
3114
|
|
|
2823
|
-
export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|
|
3115
|
+
export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BAttendance, type BCampBooking, type BCampTracker, type BClassTracker, type BCourse, type BEventConfig, type BEventReg, type BEventTicket, type BGroupBooking, type BGroupTracker, type BInvoice, type BPaymentInfo, type BPrivateBooking, type BReportTicket, type BSemester, type BTeacherPayment, type BUser, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, type EventConfig, type EventConfigResponse, type EventReg, type EventRegResponse, type EventTicket, type EventTicketReg, type EventTicketRegResponse, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type InvoiceResponse, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentResponse, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBAttendance, zBCampBooking, zBCampTracker, zBClassTracker, zBCourse, zBEventConfig, zBEventReg, zBEventTicket, zBGroupBooking, zBGroupTracker, zBInvoice, zBPaymentInfo, zBPrivateBooking, zBReportTicket, zBSemester, zBTeacherPayment, zBUser, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zInvoiceResponse, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|