@nyig/models 0.2.37 → 0.2.39

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 +785 -270
  2. package/index.d.ts +785 -270
  3. package/index.js +67 -57
  4. package/index.mjs +65 -57
  5. package/package.json +1 -1
package/index.d.ts 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",
@@ -1023,7 +1268,117 @@ declare const zInvoicePackage: z.ZodObject<{
1023
1268
  units: number;
1024
1269
  }[];
1025
1270
  }>;
1026
- declare const zBInvoice: z.ZodObject<{
1271
+ declare const zInvoicePackageResponse: z.ZodObject<{
1272
+ items: z.ZodArray<z.ZodObject<{
1273
+ course: z.ZodString;
1274
+ price: z.ZodNumber;
1275
+ units: z.ZodNumber;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ course: string;
1278
+ price: number;
1279
+ units: number;
1280
+ }, {
1281
+ course: string;
1282
+ price: number;
1283
+ units: number;
1284
+ }>, "many">;
1285
+ student: z.ZodObject<{
1286
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1287
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1288
+ _id: z.ZodString;
1289
+ editedBy: z.ZodOptional<z.ZodString>;
1290
+ createdAt: z.ZodOptional<z.ZodDate>;
1291
+ updatedAt: z.ZodOptional<z.ZodDate>;
1292
+ name: z.ZodString;
1293
+ username: z.ZodOptional<z.ZodString>;
1294
+ password: z.ZodOptional<z.ZodString>;
1295
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1296
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1297
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1298
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1299
+ rank: z.ZodNativeEnum<typeof GoRank>;
1300
+ guardian: z.ZodOptional<z.ZodString>;
1301
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1302
+ rank: GoRank;
1303
+ _id: string;
1304
+ name: string;
1305
+ email?: string | undefined;
1306
+ address?: string | undefined;
1307
+ editedBy?: string | undefined;
1308
+ createdAt?: Date | undefined;
1309
+ updatedAt?: Date | undefined;
1310
+ username?: string | undefined;
1311
+ password?: string | undefined;
1312
+ roles?: number[] | undefined;
1313
+ country?: string | undefined;
1314
+ phoneNumber?: string | undefined;
1315
+ birthDate?: string | undefined;
1316
+ guardian?: string | undefined;
1317
+ }, {
1318
+ rank: GoRank;
1319
+ _id: string;
1320
+ name: string;
1321
+ email?: string | undefined;
1322
+ address?: string | undefined;
1323
+ editedBy?: string | undefined;
1324
+ createdAt?: Date | undefined;
1325
+ updatedAt?: Date | undefined;
1326
+ username?: string | undefined;
1327
+ password?: string | undefined;
1328
+ roles?: number[] | undefined;
1329
+ country?: string | undefined;
1330
+ phoneNumber?: string | undefined;
1331
+ birthDate?: string | undefined;
1332
+ guardian?: string | undefined;
1333
+ }>;
1334
+ }, "strip", z.ZodTypeAny, {
1335
+ student: {
1336
+ rank: GoRank;
1337
+ _id: string;
1338
+ name: string;
1339
+ email?: string | undefined;
1340
+ address?: string | undefined;
1341
+ editedBy?: string | undefined;
1342
+ createdAt?: Date | undefined;
1343
+ updatedAt?: Date | undefined;
1344
+ username?: string | undefined;
1345
+ password?: string | undefined;
1346
+ roles?: number[] | undefined;
1347
+ country?: string | undefined;
1348
+ phoneNumber?: string | undefined;
1349
+ birthDate?: string | undefined;
1350
+ guardian?: string | undefined;
1351
+ };
1352
+ items: {
1353
+ course: string;
1354
+ price: number;
1355
+ units: number;
1356
+ }[];
1357
+ }, {
1358
+ student: {
1359
+ rank: GoRank;
1360
+ _id: string;
1361
+ name: string;
1362
+ email?: string | undefined;
1363
+ address?: string | undefined;
1364
+ editedBy?: string | undefined;
1365
+ createdAt?: Date | undefined;
1366
+ updatedAt?: Date | undefined;
1367
+ username?: string | undefined;
1368
+ password?: string | undefined;
1369
+ roles?: number[] | undefined;
1370
+ country?: string | undefined;
1371
+ phoneNumber?: string | undefined;
1372
+ birthDate?: string | undefined;
1373
+ guardian?: string | undefined;
1374
+ };
1375
+ items: {
1376
+ course: string;
1377
+ price: number;
1378
+ units: number;
1379
+ }[];
1380
+ }>;
1381
+ declare const zBInvoice: z.ZodObject<{
1027
1382
  billTo: z.ZodString;
1028
1383
  packages: z.ZodArray<z.ZodObject<{
1029
1384
  student: z.ZodString;
@@ -1068,7 +1423,7 @@ declare const zBInvoice: z.ZodObject<{
1068
1423
  textbook: z.ZodOptional<z.ZodNumber>;
1069
1424
  shipping: z.ZodOptional<z.ZodNumber>;
1070
1425
  paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
1071
- notes: z.ZodOptional<z.ZodString>;
1426
+ notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1072
1427
  createdBy: z.ZodString;
1073
1428
  lastEditBy: z.ZodOptional<z.ZodString>;
1074
1429
  }, "strip", z.ZodTypeAny, {
@@ -1113,7 +1468,7 @@ declare const zBInvoice: z.ZodObject<{
1113
1468
  lastEditBy?: string | undefined;
1114
1469
  }>;
1115
1470
  declare const zInvoice: z.ZodObject<{
1116
- notes: z.ZodOptional<z.ZodString>;
1471
+ notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1117
1472
  textbook: z.ZodOptional<z.ZodNumber>;
1118
1473
  shipping: z.ZodOptional<z.ZodNumber>;
1119
1474
  paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
@@ -1213,261 +1568,421 @@ declare const zInvoice: z.ZodObject<{
1213
1568
  createdAt?: Date | undefined;
1214
1569
  updatedAt?: Date | undefined;
1215
1570
  }>;
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<"">]>>;
1571
+ declare const zInvoiceResponse: z.ZodObject<{
1572
+ notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1573
+ textbook: z.ZodOptional<z.ZodNumber>;
1574
+ shipping: z.ZodOptional<z.ZodNumber>;
1397
1575
  _id: z.ZodString;
1398
1576
  editedBy: z.ZodOptional<z.ZodString>;
1399
1577
  createdAt: z.ZodOptional<z.ZodDate>;
1400
1578
  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">>;
1579
+ paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
1580
+ billTo: z.ZodString;
1581
+ discounts: z.ZodArray<z.ZodObject<{
1582
+ desc: z.ZodString;
1583
+ amount: z.ZodNumber;
1584
+ }, "strip", z.ZodTypeAny, {
1585
+ desc: string;
1586
+ amount: number;
1587
+ }, {
1588
+ desc: string;
1589
+ amount: number;
1590
+ }>, "many">;
1591
+ createdBy: z.ZodObject<{
1592
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1593
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1594
+ _id: z.ZodString;
1595
+ editedBy: z.ZodOptional<z.ZodString>;
1596
+ createdAt: z.ZodOptional<z.ZodDate>;
1597
+ updatedAt: z.ZodOptional<z.ZodDate>;
1598
+ name: z.ZodString;
1599
+ username: z.ZodOptional<z.ZodString>;
1600
+ password: z.ZodOptional<z.ZodString>;
1601
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1602
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1603
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1604
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1605
+ rank: z.ZodNativeEnum<typeof GoRank>;
1606
+ isInactive: z.ZodOptional<z.ZodBoolean>;
1607
+ title: z.ZodOptional<z.ZodString>;
1608
+ bio: z.ZodOptional<z.ZodString>;
1609
+ available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
1610
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1611
+ rank: GoRank;
1612
+ _id: string;
1613
+ name: string;
1614
+ email?: string | undefined;
1615
+ address?: string | undefined;
1616
+ editedBy?: string | undefined;
1617
+ createdAt?: Date | undefined;
1618
+ updatedAt?: Date | undefined;
1619
+ username?: string | undefined;
1620
+ password?: string | undefined;
1621
+ roles?: number[] | undefined;
1622
+ country?: string | undefined;
1623
+ phoneNumber?: string | undefined;
1624
+ birthDate?: string | undefined;
1625
+ isInactive?: boolean | undefined;
1626
+ title?: string | undefined;
1627
+ bio?: string | undefined;
1628
+ available?: number[][][] | undefined;
1629
+ }, {
1630
+ rank: GoRank;
1631
+ _id: string;
1632
+ name: string;
1633
+ email?: string | undefined;
1634
+ address?: string | undefined;
1635
+ editedBy?: string | undefined;
1636
+ createdAt?: Date | undefined;
1637
+ updatedAt?: Date | undefined;
1638
+ username?: string | undefined;
1639
+ password?: string | undefined;
1640
+ roles?: number[] | undefined;
1641
+ country?: string | undefined;
1642
+ phoneNumber?: string | undefined;
1643
+ birthDate?: string | undefined;
1644
+ isInactive?: boolean | undefined;
1645
+ title?: string | undefined;
1646
+ bio?: string | undefined;
1647
+ available?: number[][][] | undefined;
1648
+ }>;
1649
+ lastEditBy: z.ZodOptional<z.ZodObject<{
1650
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1651
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1652
+ _id: z.ZodString;
1653
+ editedBy: z.ZodOptional<z.ZodString>;
1654
+ createdAt: z.ZodOptional<z.ZodDate>;
1655
+ updatedAt: z.ZodOptional<z.ZodDate>;
1656
+ name: z.ZodString;
1657
+ username: z.ZodOptional<z.ZodString>;
1658
+ password: z.ZodOptional<z.ZodString>;
1659
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1660
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1661
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1662
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1663
+ rank: z.ZodNativeEnum<typeof GoRank>;
1664
+ isInactive: z.ZodOptional<z.ZodBoolean>;
1665
+ title: z.ZodOptional<z.ZodString>;
1666
+ bio: z.ZodOptional<z.ZodString>;
1667
+ available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
1668
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1669
+ rank: GoRank;
1670
+ _id: string;
1671
+ name: string;
1672
+ email?: string | undefined;
1673
+ address?: string | undefined;
1674
+ editedBy?: string | undefined;
1675
+ createdAt?: Date | undefined;
1676
+ updatedAt?: Date | undefined;
1677
+ username?: string | undefined;
1678
+ password?: string | undefined;
1679
+ roles?: number[] | undefined;
1680
+ country?: string | undefined;
1681
+ phoneNumber?: string | undefined;
1682
+ birthDate?: string | undefined;
1683
+ isInactive?: boolean | undefined;
1684
+ title?: string | undefined;
1685
+ bio?: string | undefined;
1686
+ available?: number[][][] | undefined;
1687
+ }, {
1688
+ rank: GoRank;
1689
+ _id: string;
1690
+ name: string;
1691
+ email?: string | undefined;
1692
+ address?: string | undefined;
1693
+ editedBy?: string | undefined;
1694
+ createdAt?: Date | undefined;
1695
+ updatedAt?: Date | undefined;
1696
+ username?: string | undefined;
1697
+ password?: string | undefined;
1698
+ roles?: number[] | undefined;
1699
+ country?: string | undefined;
1700
+ phoneNumber?: string | undefined;
1701
+ birthDate?: string | undefined;
1702
+ isInactive?: boolean | undefined;
1703
+ title?: string | undefined;
1704
+ bio?: string | undefined;
1705
+ available?: number[][][] | undefined;
1706
+ }>>;
1707
+ packages: z.ZodArray<z.ZodObject<{
1708
+ items: z.ZodArray<z.ZodObject<{
1709
+ course: z.ZodString;
1710
+ price: z.ZodNumber;
1711
+ units: z.ZodNumber;
1712
+ }, "strip", z.ZodTypeAny, {
1713
+ course: string;
1714
+ price: number;
1715
+ units: number;
1716
+ }, {
1717
+ course: string;
1718
+ price: number;
1719
+ units: number;
1720
+ }>, "many">;
1721
+ student: z.ZodObject<{
1722
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1723
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1724
+ _id: z.ZodString;
1725
+ editedBy: z.ZodOptional<z.ZodString>;
1726
+ createdAt: z.ZodOptional<z.ZodDate>;
1727
+ updatedAt: z.ZodOptional<z.ZodDate>;
1728
+ name: z.ZodString;
1729
+ username: z.ZodOptional<z.ZodString>;
1730
+ password: z.ZodOptional<z.ZodString>;
1731
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1732
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1733
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1734
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1735
+ rank: z.ZodNativeEnum<typeof GoRank>;
1736
+ guardian: z.ZodOptional<z.ZodString>;
1737
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1738
+ rank: GoRank;
1739
+ _id: string;
1740
+ name: string;
1741
+ email?: string | undefined;
1742
+ address?: string | undefined;
1743
+ editedBy?: string | undefined;
1744
+ createdAt?: Date | undefined;
1745
+ updatedAt?: Date | undefined;
1746
+ username?: string | undefined;
1747
+ password?: string | undefined;
1748
+ roles?: number[] | undefined;
1749
+ country?: string | undefined;
1750
+ phoneNumber?: string | undefined;
1751
+ birthDate?: string | undefined;
1752
+ guardian?: string | undefined;
1753
+ }, {
1754
+ rank: GoRank;
1755
+ _id: string;
1756
+ name: string;
1757
+ email?: string | undefined;
1758
+ address?: string | undefined;
1759
+ editedBy?: string | undefined;
1760
+ createdAt?: Date | undefined;
1761
+ updatedAt?: Date | undefined;
1762
+ username?: string | undefined;
1763
+ password?: string | undefined;
1764
+ roles?: number[] | undefined;
1765
+ country?: string | undefined;
1766
+ phoneNumber?: string | undefined;
1767
+ birthDate?: string | undefined;
1768
+ guardian?: string | undefined;
1769
+ }>;
1770
+ }, "strip", z.ZodTypeAny, {
1771
+ student: {
1772
+ rank: GoRank;
1773
+ _id: string;
1774
+ name: string;
1775
+ email?: string | undefined;
1776
+ address?: string | undefined;
1777
+ editedBy?: string | undefined;
1778
+ createdAt?: Date | undefined;
1779
+ updatedAt?: Date | undefined;
1780
+ username?: string | undefined;
1781
+ password?: string | undefined;
1782
+ roles?: number[] | undefined;
1783
+ country?: string | undefined;
1784
+ phoneNumber?: string | undefined;
1785
+ birthDate?: string | undefined;
1786
+ guardian?: string | undefined;
1787
+ };
1788
+ items: {
1789
+ course: string;
1790
+ price: number;
1791
+ units: number;
1792
+ }[];
1793
+ }, {
1794
+ student: {
1795
+ rank: GoRank;
1796
+ _id: string;
1797
+ name: string;
1798
+ email?: string | undefined;
1799
+ address?: string | undefined;
1800
+ editedBy?: string | undefined;
1801
+ createdAt?: Date | undefined;
1802
+ updatedAt?: Date | undefined;
1803
+ username?: string | undefined;
1804
+ password?: string | undefined;
1805
+ roles?: number[] | undefined;
1806
+ country?: string | undefined;
1807
+ phoneNumber?: string | undefined;
1808
+ birthDate?: string | undefined;
1809
+ guardian?: string | undefined;
1810
+ };
1811
+ items: {
1812
+ course: string;
1813
+ price: number;
1814
+ units: number;
1815
+ }[];
1816
+ }>, "many">;
1413
1817
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1414
- rank: GoRank;
1415
1818
  _id: string;
1416
- name: string;
1417
- email?: string | undefined;
1418
- address?: string | undefined;
1819
+ billTo: string;
1820
+ packages: {
1821
+ student: {
1822
+ rank: GoRank;
1823
+ _id: string;
1824
+ name: string;
1825
+ email?: string | undefined;
1826
+ address?: string | undefined;
1827
+ editedBy?: string | undefined;
1828
+ createdAt?: Date | undefined;
1829
+ updatedAt?: Date | undefined;
1830
+ username?: string | undefined;
1831
+ password?: string | undefined;
1832
+ roles?: number[] | undefined;
1833
+ country?: string | undefined;
1834
+ phoneNumber?: string | undefined;
1835
+ birthDate?: string | undefined;
1836
+ guardian?: string | undefined;
1837
+ };
1838
+ items: {
1839
+ course: string;
1840
+ price: number;
1841
+ units: number;
1842
+ }[];
1843
+ }[];
1844
+ discounts: {
1845
+ desc: string;
1846
+ amount: number;
1847
+ }[];
1848
+ createdBy: {
1849
+ rank: GoRank;
1850
+ _id: string;
1851
+ name: string;
1852
+ email?: string | undefined;
1853
+ address?: string | undefined;
1854
+ editedBy?: string | undefined;
1855
+ createdAt?: Date | undefined;
1856
+ updatedAt?: Date | undefined;
1857
+ username?: string | undefined;
1858
+ password?: string | undefined;
1859
+ roles?: number[] | undefined;
1860
+ country?: string | undefined;
1861
+ phoneNumber?: string | undefined;
1862
+ birthDate?: string | undefined;
1863
+ isInactive?: boolean | undefined;
1864
+ title?: string | undefined;
1865
+ bio?: string | undefined;
1866
+ available?: number[][][] | undefined;
1867
+ };
1868
+ notes?: string | undefined;
1869
+ textbook?: number | undefined;
1870
+ shipping?: number | undefined;
1419
1871
  editedBy?: string | undefined;
1420
1872
  createdAt?: Date | undefined;
1421
1873
  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;
1874
+ paid?: PaymentMethod | undefined;
1875
+ lastEditBy?: {
1876
+ rank: GoRank;
1877
+ _id: string;
1878
+ name: string;
1879
+ email?: string | undefined;
1880
+ address?: string | undefined;
1881
+ editedBy?: string | undefined;
1882
+ createdAt?: Date | undefined;
1883
+ updatedAt?: Date | undefined;
1884
+ username?: string | undefined;
1885
+ password?: string | undefined;
1886
+ roles?: number[] | undefined;
1887
+ country?: string | undefined;
1888
+ phoneNumber?: string | undefined;
1889
+ birthDate?: string | undefined;
1890
+ isInactive?: boolean | undefined;
1891
+ title?: string | undefined;
1892
+ bio?: string | undefined;
1893
+ available?: number[][][] | undefined;
1894
+ } | undefined;
1432
1895
  }, {
1433
- rank: GoRank;
1434
1896
  _id: string;
1435
- name: string;
1436
- email?: string | undefined;
1437
- address?: string | undefined;
1897
+ billTo: string;
1898
+ packages: {
1899
+ student: {
1900
+ rank: GoRank;
1901
+ _id: string;
1902
+ name: string;
1903
+ email?: string | undefined;
1904
+ address?: string | undefined;
1905
+ editedBy?: string | undefined;
1906
+ createdAt?: Date | undefined;
1907
+ updatedAt?: Date | undefined;
1908
+ username?: string | undefined;
1909
+ password?: string | undefined;
1910
+ roles?: number[] | undefined;
1911
+ country?: string | undefined;
1912
+ phoneNumber?: string | undefined;
1913
+ birthDate?: string | undefined;
1914
+ guardian?: string | undefined;
1915
+ };
1916
+ items: {
1917
+ course: string;
1918
+ price: number;
1919
+ units: number;
1920
+ }[];
1921
+ }[];
1922
+ discounts: {
1923
+ desc: string;
1924
+ amount: number;
1925
+ }[];
1926
+ createdBy: {
1927
+ rank: GoRank;
1928
+ _id: string;
1929
+ name: string;
1930
+ email?: string | undefined;
1931
+ address?: string | undefined;
1932
+ editedBy?: string | undefined;
1933
+ createdAt?: Date | undefined;
1934
+ updatedAt?: Date | undefined;
1935
+ username?: string | undefined;
1936
+ password?: string | undefined;
1937
+ roles?: number[] | undefined;
1938
+ country?: string | undefined;
1939
+ phoneNumber?: string | undefined;
1940
+ birthDate?: string | undefined;
1941
+ isInactive?: boolean | undefined;
1942
+ title?: string | undefined;
1943
+ bio?: string | undefined;
1944
+ available?: number[][][] | undefined;
1945
+ };
1946
+ notes?: string | undefined;
1947
+ textbook?: number | undefined;
1948
+ shipping?: number | undefined;
1438
1949
  editedBy?: string | undefined;
1439
1950
  createdAt?: Date | undefined;
1440
1951
  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;
1952
+ paid?: PaymentMethod | undefined;
1953
+ lastEditBy?: {
1954
+ rank: GoRank;
1955
+ _id: string;
1956
+ name: string;
1957
+ email?: string | undefined;
1958
+ address?: string | undefined;
1959
+ editedBy?: string | undefined;
1960
+ createdAt?: Date | undefined;
1961
+ updatedAt?: Date | undefined;
1962
+ username?: string | undefined;
1963
+ password?: string | undefined;
1964
+ roles?: number[] | undefined;
1965
+ country?: string | undefined;
1966
+ phoneNumber?: string | undefined;
1967
+ birthDate?: string | undefined;
1968
+ isInactive?: boolean | undefined;
1969
+ title?: string | undefined;
1970
+ bio?: string | undefined;
1971
+ available?: number[][][] | undefined;
1972
+ } | undefined;
1451
1973
  }>;
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>;
1974
+ type Discount = z.infer<typeof zDiscount>;
1975
+ type InvoiceItem = z.infer<typeof zInvoiceItem>;
1976
+ type InvoicePackage = z.infer<typeof zInvoicePackage>;
1977
+ type InvoicePackageResponse = z.infer<typeof zInvoicePackageResponse>;
1978
+ type BInvoice = z.infer<typeof zBInvoice>;
1979
+ type Invoice = z.infer<typeof zInvoice>;
1980
+ type InvoiceResponse = z.infer<typeof zInvoiceResponse>;
1456
1981
 
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>;
1982
+ interface PaymentIntent {
1983
+ id: string;
1984
+ type: BookingType;
1985
+ }
1471
1986
 
1472
1987
  declare const zTeacherPaymentRow: z.ZodObject<{
1473
1988
  course: z.ZodString;
@@ -2244,8 +2759,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2244
2759
  width: number;
2245
2760
  }>>;
2246
2761
  tickets: z.ZodArray<z.ZodObject<{
2247
- price: z.ZodNumber;
2248
2762
  name: z.ZodString;
2763
+ price: z.ZodNumber;
2249
2764
  description: z.ZodOptional<z.ZodString>;
2250
2765
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2251
2766
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
@@ -2255,8 +2770,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2255
2770
  updatedAt: z.ZodOptional<z.ZodDate>;
2256
2771
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2257
2772
  _id: string;
2258
- price: number;
2259
2773
  name: string;
2774
+ price: number;
2260
2775
  description?: string | undefined;
2261
2776
  isNotBuyable?: boolean | undefined;
2262
2777
  lastBuyableDate?: Date | undefined;
@@ -2265,8 +2780,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2265
2780
  updatedAt?: Date | undefined;
2266
2781
  }, {
2267
2782
  _id: string;
2268
- price: number;
2269
2783
  name: string;
2784
+ price: number;
2270
2785
  description?: string | undefined;
2271
2786
  isNotBuyable?: boolean | undefined;
2272
2787
  lastBuyableDate?: Date | undefined;
@@ -2293,8 +2808,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2293
2808
  };
2294
2809
  tickets: {
2295
2810
  _id: string;
2296
- price: number;
2297
2811
  name: string;
2812
+ price: number;
2298
2813
  description?: string | undefined;
2299
2814
  isNotBuyable?: boolean | undefined;
2300
2815
  lastBuyableDate?: Date | undefined;
@@ -2332,8 +2847,8 @@ declare const zEventConfigResponse: z.ZodObject<{
2332
2847
  };
2333
2848
  tickets: {
2334
2849
  _id: string;
2335
- price: number;
2336
2850
  name: string;
2851
+ price: number;
2337
2852
  description?: string | undefined;
2338
2853
  isNotBuyable?: boolean | undefined;
2339
2854
  lastBuyableDate?: Date | undefined;
@@ -2549,8 +3064,8 @@ declare const zEventRegResponse: z.ZodObject<{
2549
3064
  tickets: z.ZodArray<z.ZodObject<{
2550
3065
  amount: z.ZodNumber;
2551
3066
  ticket: z.ZodObject<{
2552
- price: z.ZodNumber;
2553
3067
  name: z.ZodString;
3068
+ price: z.ZodNumber;
2554
3069
  description: z.ZodOptional<z.ZodString>;
2555
3070
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2556
3071
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
@@ -2560,8 +3075,8 @@ declare const zEventRegResponse: z.ZodObject<{
2560
3075
  updatedAt: z.ZodOptional<z.ZodDate>;
2561
3076
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2562
3077
  _id: string;
2563
- price: number;
2564
3078
  name: string;
3079
+ price: number;
2565
3080
  description?: string | undefined;
2566
3081
  isNotBuyable?: boolean | undefined;
2567
3082
  lastBuyableDate?: Date | undefined;
@@ -2570,8 +3085,8 @@ declare const zEventRegResponse: z.ZodObject<{
2570
3085
  updatedAt?: Date | undefined;
2571
3086
  }, {
2572
3087
  _id: string;
2573
- price: number;
2574
3088
  name: string;
3089
+ price: number;
2575
3090
  description?: string | undefined;
2576
3091
  isNotBuyable?: boolean | undefined;
2577
3092
  lastBuyableDate?: Date | undefined;
@@ -2583,8 +3098,8 @@ declare const zEventRegResponse: z.ZodObject<{
2583
3098
  amount: number;
2584
3099
  ticket: {
2585
3100
  _id: string;
2586
- price: number;
2587
3101
  name: string;
3102
+ price: number;
2588
3103
  description?: string | undefined;
2589
3104
  isNotBuyable?: boolean | undefined;
2590
3105
  lastBuyableDate?: Date | undefined;
@@ -2596,8 +3111,8 @@ declare const zEventRegResponse: z.ZodObject<{
2596
3111
  amount: number;
2597
3112
  ticket: {
2598
3113
  _id: string;
2599
- price: number;
2600
3114
  name: string;
3115
+ price: number;
2601
3116
  description?: string | undefined;
2602
3117
  isNotBuyable?: boolean | undefined;
2603
3118
  lastBuyableDate?: Date | undefined;
@@ -2617,8 +3132,8 @@ declare const zEventRegResponse: z.ZodObject<{
2617
3132
  amount: number;
2618
3133
  ticket: {
2619
3134
  _id: string;
2620
- price: number;
2621
3135
  name: string;
3136
+ price: number;
2622
3137
  description?: string | undefined;
2623
3138
  isNotBuyable?: boolean | undefined;
2624
3139
  lastBuyableDate?: Date | undefined;
@@ -2651,8 +3166,8 @@ declare const zEventRegResponse: z.ZodObject<{
2651
3166
  amount: number;
2652
3167
  ticket: {
2653
3168
  _id: string;
2654
- price: number;
2655
3169
  name: string;
3170
+ price: number;
2656
3171
  description?: string | undefined;
2657
3172
  isNotBuyable?: boolean | undefined;
2658
3173
  lastBuyableDate?: Date | undefined;
@@ -2695,8 +3210,8 @@ declare const zEventTicketReg: z.ZodObject<{
2695
3210
  declare const zEventTicketRegResponse: z.ZodObject<{
2696
3211
  amount: z.ZodNumber;
2697
3212
  ticket: z.ZodObject<{
2698
- price: z.ZodNumber;
2699
3213
  name: z.ZodString;
3214
+ price: z.ZodNumber;
2700
3215
  description: z.ZodOptional<z.ZodString>;
2701
3216
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2702
3217
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
@@ -2706,8 +3221,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2706
3221
  updatedAt: z.ZodOptional<z.ZodDate>;
2707
3222
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2708
3223
  _id: string;
2709
- price: number;
2710
3224
  name: string;
3225
+ price: number;
2711
3226
  description?: string | undefined;
2712
3227
  isNotBuyable?: boolean | undefined;
2713
3228
  lastBuyableDate?: Date | undefined;
@@ -2716,8 +3231,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2716
3231
  updatedAt?: Date | undefined;
2717
3232
  }, {
2718
3233
  _id: string;
2719
- price: number;
2720
3234
  name: string;
3235
+ price: number;
2721
3236
  description?: string | undefined;
2722
3237
  isNotBuyable?: boolean | undefined;
2723
3238
  lastBuyableDate?: Date | undefined;
@@ -2729,8 +3244,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2729
3244
  amount: number;
2730
3245
  ticket: {
2731
3246
  _id: string;
2732
- price: number;
2733
3247
  name: string;
3248
+ price: number;
2734
3249
  description?: string | undefined;
2735
3250
  isNotBuyable?: boolean | undefined;
2736
3251
  lastBuyableDate?: Date | undefined;
@@ -2742,8 +3257,8 @@ declare const zEventTicketRegResponse: z.ZodObject<{
2742
3257
  amount: number;
2743
3258
  ticket: {
2744
3259
  _id: string;
2745
- price: number;
2746
3260
  name: string;
3261
+ price: number;
2747
3262
  description?: string | undefined;
2748
3263
  isNotBuyable?: boolean | undefined;
2749
3264
  lastBuyableDate?: Date | undefined;
@@ -2774,21 +3289,21 @@ declare const zBEventTicket: z.ZodObject<{
2774
3289
  */
2775
3290
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
2776
3291
  }, "strip", z.ZodTypeAny, {
2777
- price: number;
2778
3292
  name: string;
3293
+ price: number;
2779
3294
  description?: string | undefined;
2780
3295
  isNotBuyable?: boolean | undefined;
2781
3296
  lastBuyableDate?: Date | undefined;
2782
3297
  }, {
2783
- price: number;
2784
3298
  name: string;
3299
+ price: number;
2785
3300
  description?: string | undefined;
2786
3301
  isNotBuyable?: boolean | undefined;
2787
3302
  lastBuyableDate?: Date | undefined;
2788
3303
  }>;
2789
3304
  declare const zEventTicket: z.ZodObject<{
2790
- price: z.ZodNumber;
2791
3305
  name: z.ZodString;
3306
+ price: z.ZodNumber;
2792
3307
  description: z.ZodOptional<z.ZodString>;
2793
3308
  isNotBuyable: z.ZodOptional<z.ZodBoolean>;
2794
3309
  lastBuyableDate: z.ZodOptional<z.ZodDate>;
@@ -2798,8 +3313,8 @@ declare const zEventTicket: z.ZodObject<{
2798
3313
  updatedAt: z.ZodOptional<z.ZodDate>;
2799
3314
  }, z.UnknownKeysParam, z.ZodTypeAny, {
2800
3315
  _id: string;
2801
- price: number;
2802
3316
  name: string;
3317
+ price: number;
2803
3318
  description?: string | undefined;
2804
3319
  isNotBuyable?: boolean | undefined;
2805
3320
  lastBuyableDate?: Date | undefined;
@@ -2808,8 +3323,8 @@ declare const zEventTicket: z.ZodObject<{
2808
3323
  updatedAt?: Date | undefined;
2809
3324
  }, {
2810
3325
  _id: string;
2811
- price: number;
2812
3326
  name: string;
3327
+ price: number;
2813
3328
  description?: string | undefined;
2814
3329
  isNotBuyable?: boolean | undefined;
2815
3330
  lastBuyableDate?: Date | undefined;
@@ -2820,4 +3335,4 @@ declare const zEventTicket: z.ZodObject<{
2820
3335
  type BEventTicket = z.infer<typeof zBEventTicket>;
2821
3336
  type EventTicket = z.infer<typeof zEventTicket>;
2822
3337
 
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 };
3338
+ 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 InvoicePackageResponse, 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, zInvoicePackageResponse, zInvoiceResponse, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentResponse, zTeacherPaymentRow, zTuition, zUser, zUserRoles };