@nyig/models 0.2.36 → 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.
Files changed (5) hide show
  1. package/index.d.mts +591 -287
  2. package/index.d.ts +591 -287
  3. package/index.js +63 -61
  4. package/index.mjs +62 -61
  5. 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
- type Discount = z.infer<typeof zDiscount>;
1217
- type InvoiceItem = z.infer<typeof zInvoiceItem>;
1218
- type InvoicePackage = z.infer<typeof zInvoicePackage>;
1219
- type BInvoice = z.infer<typeof zBInvoice>;
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
- name: z.ZodString;
1402
- username: z.ZodOptional<z.ZodString>;
1403
- password: z.ZodOptional<z.ZodString>;
1404
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1405
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1406
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1407
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1408
- rank: z.ZodNativeEnum<typeof GoRank>;
1409
- isInactive: z.ZodOptional<z.ZodBoolean>;
1410
- title: z.ZodOptional<z.ZodString>;
1411
- bio: z.ZodOptional<z.ZodString>;
1412
- available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
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
- name: string;
1417
- email?: string | undefined;
1418
- address?: string | undefined;
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
- username?: string | undefined;
1423
- password?: string | undefined;
1424
- roles?: number[] | undefined;
1425
- country?: string | undefined;
1426
- phoneNumber?: string | undefined;
1427
- birthDate?: string | undefined;
1428
- isInactive?: boolean | undefined;
1429
- title?: string | undefined;
1430
- bio?: string | undefined;
1431
- available?: number[][][] | undefined;
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
- name: string;
1436
- email?: string | undefined;
1437
- address?: string | undefined;
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
- username?: string | undefined;
1442
- password?: string | undefined;
1443
- roles?: number[] | undefined;
1444
- country?: string | undefined;
1445
- phoneNumber?: string | undefined;
1446
- birthDate?: string | undefined;
1447
- isInactive?: boolean | undefined;
1448
- title?: string | undefined;
1449
- bio?: string | undefined;
1450
- available?: number[][][] | undefined;
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 BUser = z.infer<typeof zBUser>;
1453
- type User = z.infer<typeof zUser>;
1454
- type Student = z.infer<typeof zStudent>;
1455
- type Teacher = z.infer<typeof zTeacher>;
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
- declare const zUserRoles: z.ZodObject<{
1458
- user: z.ZodNumber;
1459
- admin: z.ZodNumber;
1460
- superadmin: z.ZodNumber;
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;
@@ -1574,6 +1866,27 @@ declare const zTeacherPayment: z.ZodObject<{
1574
1866
  updatedAt?: Date | undefined;
1575
1867
  }>;
1576
1868
  declare const zTeacherPaymentResponse: z.ZodObject<{
1869
+ _id: z.ZodString;
1870
+ editedBy: z.ZodOptional<z.ZodString>;
1871
+ createdAt: z.ZodOptional<z.ZodDate>;
1872
+ updatedAt: z.ZodOptional<z.ZodDate>;
1873
+ paid: z.ZodOptional<z.ZodBoolean>;
1874
+ rows: z.ZodArray<z.ZodObject<{
1875
+ course: z.ZodString;
1876
+ length: z.ZodNumber;
1877
+ count: z.ZodNumber;
1878
+ wage: z.ZodNumber;
1879
+ }, "strip", z.ZodTypeAny, {
1880
+ length: number;
1881
+ course: string;
1882
+ count: number;
1883
+ wage: number;
1884
+ }, {
1885
+ length: number;
1886
+ course: string;
1887
+ count: number;
1888
+ wage: number;
1889
+ }>, "many">;
1577
1890
  teacher: z.ZodObject<{
1578
1891
  email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1579
1892
  address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
@@ -1632,24 +1945,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
1632
1945
  bio?: string | undefined;
1633
1946
  available?: number[][][] | undefined;
1634
1947
  }>;
1635
- rows: z.ZodArray<z.ZodObject<{
1636
- course: z.ZodString;
1637
- length: z.ZodNumber;
1638
- count: z.ZodNumber;
1639
- wage: z.ZodNumber;
1640
- }, "strip", z.ZodTypeAny, {
1641
- length: number;
1642
- course: string;
1643
- count: number;
1644
- wage: number;
1645
- }, {
1646
- length: number;
1647
- course: string;
1648
- count: number;
1649
- wage: number;
1650
- }>, "many">;
1651
- paid: z.ZodOptional<z.ZodBoolean>;
1652
- }, "strip", z.ZodTypeAny, {
1948
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1949
+ _id: string;
1653
1950
  teacher: {
1654
1951
  rank: GoRank;
1655
1952
  _id: string;
@@ -1676,8 +1973,12 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
1676
1973
  count: number;
1677
1974
  wage: number;
1678
1975
  }[];
1976
+ editedBy?: string | undefined;
1977
+ createdAt?: Date | undefined;
1978
+ updatedAt?: Date | undefined;
1679
1979
  paid?: boolean | undefined;
1680
1980
  }, {
1981
+ _id: string;
1681
1982
  teacher: {
1682
1983
  rank: GoRank;
1683
1984
  _id: string;
@@ -1704,6 +2005,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
1704
2005
  count: number;
1705
2006
  wage: number;
1706
2007
  }[];
2008
+ editedBy?: string | undefined;
2009
+ createdAt?: Date | undefined;
2010
+ updatedAt?: Date | undefined;
1707
2011
  paid?: boolean | undefined;
1708
2012
  }>;
1709
2013
  type TeacherPaymentRow = z.infer<typeof zTeacherPaymentRow>;
@@ -2232,8 +2536,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2232
2536
  width: number;
2233
2537
  }>>;
2234
2538
  tickets: z.ZodArray<z.ZodObject<{
2235
- price: z.ZodNumber;
2236
2539
  name: z.ZodString;
2540
+ price: z.ZodNumber;
2237
2541
  description: z.ZodOptional<z.ZodString>;
2238
2542
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2239
2543
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
@@ -2243,8 +2547,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2243
2547
  updatedAt: z.ZodOptional<z.ZodDate>;
2244
2548
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2245
2549
  _id: string;
2246
- price: number;
2247
2550
  name: string;
2551
+ price: number;
2248
2552
  description?: string | undefined;
2249
2553
  isNotBuyable?: boolean | undefined;
2250
2554
  lastBuyableDate?: Date | undefined;
@@ -2253,8 +2557,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2253
2557
  updatedAt?: Date | undefined;
2254
2558
  }, {
2255
2559
  _id: string;
2256
- price: number;
2257
2560
  name: string;
2561
+ price: number;
2258
2562
  description?: string | undefined;
2259
2563
  isNotBuyable?: boolean | undefined;
2260
2564
  lastBuyableDate?: Date | undefined;
@@ -2281,8 +2585,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2281
2585
  };
2282
2586
  tickets: {
2283
2587
  _id: string;
2284
- price: number;
2285
2588
  name: string;
2589
+ price: number;
2286
2590
  description?: string | undefined;
2287
2591
  isNotBuyable?: boolean | undefined;
2288
2592
  lastBuyableDate?: Date | undefined;
@@ -2320,8 +2624,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2320
2624
  };
2321
2625
  tickets: {
2322
2626
  _id: string;
2323
- price: number;
2324
2627
  name: string;
2628
+ price: number;
2325
2629
  description?: string | undefined;
2326
2630
  isNotBuyable?: boolean | undefined;
2327
2631
  lastBuyableDate?: Date | undefined;
@@ -2537,8 +2841,8 @@ declare const zEventRegResponse: z.ZodObject<{
2537
2841
  tickets: z.ZodArray<z.ZodObject<{
2538
2842
  amount: z.ZodNumber;
2539
2843
  ticket: z.ZodObject<{
2540
- price: z.ZodNumber;
2541
2844
  name: z.ZodString;
2845
+ price: z.ZodNumber;
2542
2846
  description: z.ZodOptional<z.ZodString>;
2543
2847
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2544
2848
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
@@ -2548,8 +2852,8 @@ declare const zEventRegResponse: z.ZodObject<{
2548
2852
  updatedAt: z.ZodOptional<z.ZodDate>;
2549
2853
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2550
2854
  _id: string;
2551
- price: number;
2552
2855
  name: string;
2856
+ price: number;
2553
2857
  description?: string | undefined;
2554
2858
  isNotBuyable?: boolean | undefined;
2555
2859
  lastBuyableDate?: Date | undefined;
@@ -2558,8 +2862,8 @@ declare const zEventRegResponse: z.ZodObject<{
2558
2862
  updatedAt?: Date | undefined;
2559
2863
  }, {
2560
2864
  _id: string;
2561
- price: number;
2562
2865
  name: string;
2866
+ price: number;
2563
2867
  description?: string | undefined;
2564
2868
  isNotBuyable?: boolean | undefined;
2565
2869
  lastBuyableDate?: Date | undefined;
@@ -2571,8 +2875,8 @@ declare const zEventRegResponse: z.ZodObject<{
2571
2875
  amount: number;
2572
2876
  ticket: {
2573
2877
  _id: string;
2574
- price: number;
2575
2878
  name: string;
2879
+ price: number;
2576
2880
  description?: string | undefined;
2577
2881
  isNotBuyable?: boolean | undefined;
2578
2882
  lastBuyableDate?: Date | undefined;
@@ -2584,8 +2888,8 @@ declare const zEventRegResponse: z.ZodObject<{
2584
2888
  amount: number;
2585
2889
  ticket: {
2586
2890
  _id: string;
2587
- price: number;
2588
2891
  name: string;
2892
+ price: number;
2589
2893
  description?: string | undefined;
2590
2894
  isNotBuyable?: boolean | undefined;
2591
2895
  lastBuyableDate?: Date | undefined;
@@ -2605,8 +2909,8 @@ declare const zEventRegResponse: z.ZodObject<{
2605
2909
  amount: number;
2606
2910
  ticket: {
2607
2911
  _id: string;
2608
- price: number;
2609
2912
  name: string;
2913
+ price: number;
2610
2914
  description?: string | undefined;
2611
2915
  isNotBuyable?: boolean | undefined;
2612
2916
  lastBuyableDate?: Date | undefined;
@@ -2639,8 +2943,8 @@ declare const zEventRegResponse: z.ZodObject<{
2639
2943
  amount: number;
2640
2944
  ticket: {
2641
2945
  _id: string;
2642
- price: number;
2643
2946
  name: string;
2947
+ price: number;
2644
2948
  description?: string | undefined;
2645
2949
  isNotBuyable?: boolean | undefined;
2646
2950
  lastBuyableDate?: Date | undefined;
@@ -2683,8 +2987,8 @@ declare const zEventTicketReg: z.ZodObject<{
2683
2987
  declare const zEventTicketRegResponse: z.ZodObject<{
2684
2988
  amount: z.ZodNumber;
2685
2989
  ticket: z.ZodObject<{
2686
- price: z.ZodNumber;
2687
2990
  name: z.ZodString;
2991
+ price: z.ZodNumber;
2688
2992
  description: z.ZodOptional<z.ZodString>;
2689
2993
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2690
2994
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
@@ -2694,8 +2998,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2694
2998
  updatedAt: z.ZodOptional<z.ZodDate>;
2695
2999
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2696
3000
  _id: string;
2697
- price: number;
2698
3001
  name: string;
3002
+ price: number;
2699
3003
  description?: string | undefined;
2700
3004
  isNotBuyable?: boolean | undefined;
2701
3005
  lastBuyableDate?: Date | undefined;
@@ -2704,8 +3008,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2704
3008
  updatedAt?: Date | undefined;
2705
3009
  }, {
2706
3010
  _id: string;
2707
- price: number;
2708
3011
  name: string;
3012
+ price: number;
2709
3013
  description?: string | undefined;
2710
3014
  isNotBuyable?: boolean | undefined;
2711
3015
  lastBuyableDate?: Date | undefined;
@@ -2717,8 +3021,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2717
3021
  amount: number;
2718
3022
  ticket: {
2719
3023
  _id: string;
2720
- price: number;
2721
3024
  name: string;
3025
+ price: number;
2722
3026
  description?: string | undefined;
2723
3027
  isNotBuyable?: boolean | undefined;
2724
3028
  lastBuyableDate?: Date | undefined;
@@ -2730,8 +3034,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2730
3034
  amount: number;
2731
3035
  ticket: {
2732
3036
  _id: string;
2733
- price: number;
2734
3037
  name: string;
3038
+ price: number;
2735
3039
  description?: string | undefined;
2736
3040
  isNotBuyable?: boolean | undefined;
2737
3041
  lastBuyableDate?: Date | undefined;
@@ -2762,21 +3066,21 @@ declare const zBEventTicket: z.ZodObject<{
2762
3066
  */
2763
3067
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
2764
3068
  }, "strip", z.ZodTypeAny, {
2765
- price: number;
2766
3069
  name: string;
3070
+ price: number;
2767
3071
  description?: string | undefined;
2768
3072
  isNotBuyable?: boolean | undefined;
2769
3073
  lastBuyableDate?: Date | undefined;
2770
3074
  }, {
2771
- price: number;
2772
3075
  name: string;
3076
+ price: number;
2773
3077
  description?: string | undefined;
2774
3078
  isNotBuyable?: boolean | undefined;
2775
3079
  lastBuyableDate?: Date | undefined;
2776
3080
  }>;
2777
3081
  declare const zEventTicket: z.ZodObject<{
2778
- price: z.ZodNumber;
2779
3082
  name: z.ZodString;
3083
+ price: z.ZodNumber;
2780
3084
  description: z.ZodOptional<z.ZodString>;
2781
3085
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2782
3086
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
@@ -2786,8 +3090,8 @@ declare const zEventTicket: z.ZodObject<{
2786
3090
  updatedAt: z.ZodOptional<z.ZodDate>;
2787
3091
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2788
3092
  _id: string;
2789
- price: number;
2790
3093
  name: string;
3094
+ price: number;
2791
3095
  description?: string | undefined;
2792
3096
  isNotBuyable?: boolean | undefined;
2793
3097
  lastBuyableDate?: Date | undefined;
@@ -2796,8 +3100,8 @@ declare const zEventTicket: z.ZodObject<{
2796
3100
  updatedAt?: Date | undefined;
2797
3101
  }, {
2798
3102
  _id: string;
2799
- price: number;
2800
3103
  name: string;
3104
+ price: number;
2801
3105
  description?: string | undefined;
2802
3106
  isNotBuyable?: boolean | undefined;
2803
3107
  lastBuyableDate?: Date | undefined;
@@ -2808,4 +3112,4 @@ declare const zEventTicket: z.ZodObject<{
2808
3112
  type BEventTicket = z.infer<typeof zBEventTicket>;
2809
3113
  type EventTicket = z.infer<typeof zEventTicket>;
2810
3114
 
2811
- 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 };