@nyig/models 0.2.35 → 0.2.37

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 +407 -261
  2. package/index.d.ts +407 -261
  3. package/index.js +255 -248
  4. package/index.mjs +254 -248
  5. package/package.json +1 -1
package/index.d.mts CHANGED
@@ -1224,6 +1224,251 @@ interface PaymentIntent {
1224
1224
  type: BookingType;
1225
1225
  }
1226
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<"">]>>;
1397
+ _id: z.ZodString;
1398
+ editedBy: z.ZodOptional<z.ZodString>;
1399
+ createdAt: z.ZodOptional<z.ZodDate>;
1400
+ 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">>;
1413
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1414
+ rank: GoRank;
1415
+ _id: string;
1416
+ name: string;
1417
+ email?: string | undefined;
1418
+ address?: string | undefined;
1419
+ editedBy?: string | undefined;
1420
+ createdAt?: Date | undefined;
1421
+ 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;
1432
+ }, {
1433
+ rank: GoRank;
1434
+ _id: string;
1435
+ name: string;
1436
+ email?: string | undefined;
1437
+ address?: string | undefined;
1438
+ editedBy?: string | undefined;
1439
+ createdAt?: Date | undefined;
1440
+ 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;
1451
+ }>;
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>;
1456
+
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>;
1471
+
1227
1472
  declare const zTeacherPaymentRow: z.ZodObject<{
1228
1473
  course: z.ZodString;
1229
1474
  length: z.ZodNumber;
@@ -1328,9 +1573,155 @@ declare const zTeacherPayment: z.ZodObject<{
1328
1573
  createdAt?: Date | undefined;
1329
1574
  updatedAt?: Date | undefined;
1330
1575
  }>;
1576
+ declare const zTeacherPaymentResponse: z.ZodObject<{
1577
+ _id: z.ZodString;
1578
+ editedBy: z.ZodOptional<z.ZodString>;
1579
+ createdAt: z.ZodOptional<z.ZodDate>;
1580
+ updatedAt: z.ZodOptional<z.ZodDate>;
1581
+ paid: z.ZodOptional<z.ZodBoolean>;
1582
+ rows: z.ZodArray<z.ZodObject<{
1583
+ course: z.ZodString;
1584
+ length: z.ZodNumber;
1585
+ count: z.ZodNumber;
1586
+ wage: z.ZodNumber;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ length: number;
1589
+ course: string;
1590
+ count: number;
1591
+ wage: number;
1592
+ }, {
1593
+ length: number;
1594
+ course: string;
1595
+ count: number;
1596
+ wage: number;
1597
+ }>, "many">;
1598
+ teacher: z.ZodObject<{
1599
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1600
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1601
+ _id: z.ZodString;
1602
+ editedBy: z.ZodOptional<z.ZodString>;
1603
+ createdAt: z.ZodOptional<z.ZodDate>;
1604
+ updatedAt: z.ZodOptional<z.ZodDate>;
1605
+ name: z.ZodString;
1606
+ username: z.ZodOptional<z.ZodString>;
1607
+ password: z.ZodOptional<z.ZodString>;
1608
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1609
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1610
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1611
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1612
+ rank: z.ZodNativeEnum<typeof GoRank>;
1613
+ isInactive: z.ZodOptional<z.ZodBoolean>;
1614
+ title: z.ZodOptional<z.ZodString>;
1615
+ bio: z.ZodOptional<z.ZodString>;
1616
+ available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
1617
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1618
+ rank: GoRank;
1619
+ _id: string;
1620
+ name: string;
1621
+ email?: string | undefined;
1622
+ address?: string | undefined;
1623
+ editedBy?: string | undefined;
1624
+ createdAt?: Date | undefined;
1625
+ updatedAt?: Date | undefined;
1626
+ username?: string | undefined;
1627
+ password?: string | undefined;
1628
+ roles?: number[] | undefined;
1629
+ country?: string | undefined;
1630
+ phoneNumber?: string | undefined;
1631
+ birthDate?: string | undefined;
1632
+ isInactive?: boolean | undefined;
1633
+ title?: string | undefined;
1634
+ bio?: string | undefined;
1635
+ available?: number[][][] | undefined;
1636
+ }, {
1637
+ rank: GoRank;
1638
+ _id: string;
1639
+ name: string;
1640
+ email?: string | undefined;
1641
+ address?: string | undefined;
1642
+ editedBy?: string | undefined;
1643
+ createdAt?: Date | undefined;
1644
+ updatedAt?: Date | undefined;
1645
+ username?: string | undefined;
1646
+ password?: string | undefined;
1647
+ roles?: number[] | undefined;
1648
+ country?: string | undefined;
1649
+ phoneNumber?: string | undefined;
1650
+ birthDate?: string | undefined;
1651
+ isInactive?: boolean | undefined;
1652
+ title?: string | undefined;
1653
+ bio?: string | undefined;
1654
+ available?: number[][][] | undefined;
1655
+ }>;
1656
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1657
+ _id: string;
1658
+ teacher: {
1659
+ rank: GoRank;
1660
+ _id: string;
1661
+ name: string;
1662
+ email?: string | undefined;
1663
+ address?: string | undefined;
1664
+ editedBy?: string | undefined;
1665
+ createdAt?: Date | undefined;
1666
+ updatedAt?: Date | undefined;
1667
+ username?: string | undefined;
1668
+ password?: string | undefined;
1669
+ roles?: number[] | undefined;
1670
+ country?: string | undefined;
1671
+ phoneNumber?: string | undefined;
1672
+ birthDate?: string | undefined;
1673
+ isInactive?: boolean | undefined;
1674
+ title?: string | undefined;
1675
+ bio?: string | undefined;
1676
+ available?: number[][][] | undefined;
1677
+ };
1678
+ rows: {
1679
+ length: number;
1680
+ course: string;
1681
+ count: number;
1682
+ wage: number;
1683
+ }[];
1684
+ editedBy?: string | undefined;
1685
+ createdAt?: Date | undefined;
1686
+ updatedAt?: Date | undefined;
1687
+ paid?: boolean | undefined;
1688
+ }, {
1689
+ _id: string;
1690
+ teacher: {
1691
+ rank: GoRank;
1692
+ _id: string;
1693
+ name: string;
1694
+ email?: string | undefined;
1695
+ address?: string | undefined;
1696
+ editedBy?: string | undefined;
1697
+ createdAt?: Date | undefined;
1698
+ updatedAt?: Date | undefined;
1699
+ username?: string | undefined;
1700
+ password?: string | undefined;
1701
+ roles?: number[] | undefined;
1702
+ country?: string | undefined;
1703
+ phoneNumber?: string | undefined;
1704
+ birthDate?: string | undefined;
1705
+ isInactive?: boolean | undefined;
1706
+ title?: string | undefined;
1707
+ bio?: string | undefined;
1708
+ available?: number[][][] | undefined;
1709
+ };
1710
+ rows: {
1711
+ length: number;
1712
+ course: string;
1713
+ count: number;
1714
+ wage: number;
1715
+ }[];
1716
+ editedBy?: string | undefined;
1717
+ createdAt?: Date | undefined;
1718
+ updatedAt?: Date | undefined;
1719
+ paid?: boolean | undefined;
1720
+ }>;
1331
1721
  type TeacherPaymentRow = z.infer<typeof zTeacherPaymentRow>;
1332
1722
  type BTeacherPayment = z.infer<typeof zBTeacherPayment>;
1333
1723
  type TeacherPayment = z.infer<typeof zTeacherPayment>;
1724
+ type TeacherPaymentResponse = z.infer<typeof zTeacherPaymentResponse>;
1334
1725
 
1335
1726
  declare const zTuition: z.ZodObject<{
1336
1727
  primary: z.ZodNumber;
@@ -1357,14 +1748,14 @@ declare const zTeacherDisplay: z.ZodObject<{
1357
1748
  email: string;
1358
1749
  name: string;
1359
1750
  title: string;
1360
- imageUrl: string;
1361
1751
  bio: string;
1752
+ imageUrl: string;
1362
1753
  }, {
1363
1754
  email: string;
1364
1755
  name: string;
1365
1756
  title: string;
1366
- imageUrl: string;
1367
1757
  bio: string;
1758
+ imageUrl: string;
1368
1759
  }>;
1369
1760
  declare const zCourseTable: z.ZodObject<{
1370
1761
  id: z.ZodString;
@@ -1439,21 +1830,21 @@ declare const zBReportTicket: z.ZodObject<{
1439
1830
  description: z.ZodString;
1440
1831
  }, "strip", z.ZodTypeAny, {
1441
1832
  status: TicketStatus;
1442
- description: string;
1443
1833
  title: string;
1834
+ description: string;
1444
1835
  requester: string;
1445
1836
  resolver?: string | undefined;
1446
1837
  }, {
1447
1838
  status: TicketStatus;
1448
- description: string;
1449
1839
  title: string;
1840
+ description: string;
1450
1841
  requester: string;
1451
1842
  resolver?: string | undefined;
1452
1843
  }>;
1453
1844
  declare const zReportTicket: z.ZodObject<{
1454
1845
  status: z.ZodNativeEnum<typeof TicketStatus>;
1455
- description: z.ZodString;
1456
1846
  title: z.ZodString;
1847
+ description: z.ZodString;
1457
1848
  requester: z.ZodString;
1458
1849
  resolver: z.ZodOptional<z.ZodString>;
1459
1850
  _id: z.ZodString;
@@ -1463,8 +1854,8 @@ declare const zReportTicket: z.ZodObject<{
1463
1854
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1464
1855
  status: TicketStatus;
1465
1856
  _id: string;
1466
- description: string;
1467
1857
  title: string;
1858
+ description: string;
1468
1859
  requester: string;
1469
1860
  resolver?: string | undefined;
1470
1861
  editedBy?: string | undefined;
@@ -1473,8 +1864,8 @@ declare const zReportTicket: z.ZodObject<{
1473
1864
  }, {
1474
1865
  status: TicketStatus;
1475
1866
  _id: string;
1476
- description: string;
1477
1867
  title: string;
1868
+ description: string;
1478
1869
  requester: string;
1479
1870
  resolver?: string | undefined;
1480
1871
  editedBy?: string | undefined;
@@ -1646,8 +2037,8 @@ declare const zBEventConfig: z.ZodObject<{
1646
2037
  width: number;
1647
2038
  }>>;
1648
2039
  }, "strip", z.ZodTypeAny, {
1649
- description: string;
1650
2040
  title: string;
2041
+ description: string;
1651
2042
  url: string;
1652
2043
  shortTitle: string;
1653
2044
  tStart: Date;
@@ -1671,8 +2062,8 @@ declare const zBEventConfig: z.ZodObject<{
1671
2062
  width: number;
1672
2063
  } | undefined;
1673
2064
  }, {
1674
- description: string;
1675
2065
  title: string;
2066
+ description: string;
1676
2067
  url: string;
1677
2068
  shortTitle: string;
1678
2069
  tStart: Date;
@@ -1697,8 +2088,8 @@ declare const zBEventConfig: z.ZodObject<{
1697
2088
  } | undefined;
1698
2089
  }>;
1699
2090
  declare const zEventConfig: z.ZodObject<{
1700
- description: z.ZodString;
1701
2091
  title: z.ZodString;
2092
+ description: z.ZodString;
1702
2093
  url: z.ZodString;
1703
2094
  location: z.ZodOptional<z.ZodString>;
1704
2095
  shortTitle: z.ZodString;
@@ -1747,8 +2138,8 @@ declare const zEventConfig: z.ZodObject<{
1747
2138
  updatedAt: z.ZodOptional<z.ZodDate>;
1748
2139
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1749
2140
  _id: string;
1750
- description: string;
1751
2141
  title: string;
2142
+ description: string;
1752
2143
  url: string;
1753
2144
  shortTitle: string;
1754
2145
  tStart: Date;
@@ -1776,8 +2167,8 @@ declare const zEventConfig: z.ZodObject<{
1776
2167
  updatedAt?: Date | undefined;
1777
2168
  }, {
1778
2169
  _id: string;
1779
- description: string;
1780
2170
  title: string;
2171
+ description: string;
1781
2172
  url: string;
1782
2173
  shortTitle: string;
1783
2174
  tStart: Date;
@@ -1809,8 +2200,8 @@ declare const zEventConfigResponse: z.ZodObject<{
1809
2200
  editedBy: z.ZodOptional<z.ZodString>;
1810
2201
  createdAt: z.ZodOptional<z.ZodDate>;
1811
2202
  updatedAt: z.ZodOptional<z.ZodDate>;
1812
- description: z.ZodString;
1813
2203
  title: z.ZodString;
2204
+ description: z.ZodString;
1814
2205
  url: z.ZodString;
1815
2206
  location: z.ZodOptional<z.ZodString>;
1816
2207
  shortTitle: z.ZodString;
@@ -1885,8 +2276,8 @@ declare const zEventConfigResponse: z.ZodObject<{
1885
2276
  }>, "many">;
1886
2277
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1887
2278
  _id: string;
1888
- description: string;
1889
2279
  title: string;
2280
+ description: string;
1890
2281
  url: string;
1891
2282
  shortTitle: string;
1892
2283
  tStart: Date;
@@ -1924,8 +2315,8 @@ declare const zEventConfigResponse: z.ZodObject<{
1924
2315
  } | undefined;
1925
2316
  }, {
1926
2317
  _id: string;
1927
- description: string;
1928
2318
  title: string;
2319
+ description: string;
1929
2320
  url: string;
1930
2321
  shortTitle: string;
1931
2322
  tStart: Date;
@@ -2429,249 +2820,4 @@ declare const zEventTicket: z.ZodObject<{
2429
2820
  type BEventTicket = z.infer<typeof zBEventTicket>;
2430
2821
  type EventTicket = z.infer<typeof zEventTicket>;
2431
2822
 
2432
- declare enum GoRank {
2433
- KYU1 = "1k",
2434
- KYU2 = "2k",
2435
- KYU3 = "3k",
2436
- KYU4 = "4k",
2437
- KYU5 = "5k",
2438
- KYU6 = "6k",
2439
- KYU7 = "7k",
2440
- KYU8 = "8k",
2441
- KYU9 = "9k",
2442
- KYU10 = "10k",
2443
- KYU11 = "11k",
2444
- KYU12 = "12k",
2445
- KYU13 = "13k",
2446
- KYU14 = "14k",
2447
- KYU15 = "15k",
2448
- KYU16 = "16k",
2449
- KYU17 = "17k",
2450
- KYU18 = "18k",
2451
- KYU19 = "19k",
2452
- KYU20 = "20k",
2453
- KYU21 = "21k",
2454
- KYU22 = "22k",
2455
- KYU23 = "23k",
2456
- KYU24 = "24k",
2457
- KYU25 = "25k",
2458
- DAN1 = "1d",
2459
- DAN2 = "2d",
2460
- DAN3 = "3d",
2461
- DAN4 = "4d",
2462
- DAN5 = "5d",
2463
- DAN6 = "6d",
2464
- DAN7 = "7d",
2465
- PRO1 = "1p",
2466
- PRO2 = "2p",
2467
- PRO3 = "3p",
2468
- PRO4 = "4p",
2469
- PRO5 = "5p",
2470
- PRO6 = "6p",
2471
- PRO7 = "7p",
2472
- PRO8 = "8p",
2473
- PRO9 = "9p"
2474
- }
2475
-
2476
- declare const zBUser: z.ZodObject<{
2477
- name: z.ZodString;
2478
- username: z.ZodOptional<z.ZodString>;
2479
- password: z.ZodOptional<z.ZodString>;
2480
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2481
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2482
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2483
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2484
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2485
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2486
- }, "strip", z.ZodTypeAny, {
2487
- name: string;
2488
- username?: string | undefined;
2489
- password?: string | undefined;
2490
- roles?: number[] | undefined;
2491
- email?: string | undefined;
2492
- address?: string | undefined;
2493
- country?: string | undefined;
2494
- phoneNumber?: string | undefined;
2495
- birthDate?: string | undefined;
2496
- }, {
2497
- name: string;
2498
- username?: string | undefined;
2499
- password?: string | undefined;
2500
- roles?: number[] | undefined;
2501
- email?: string | undefined;
2502
- address?: string | undefined;
2503
- country?: string | undefined;
2504
- phoneNumber?: string | undefined;
2505
- birthDate?: string | undefined;
2506
- }>;
2507
- declare const zUser: z.ZodObject<{
2508
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2509
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2510
- name: z.ZodString;
2511
- username: z.ZodOptional<z.ZodString>;
2512
- password: z.ZodOptional<z.ZodString>;
2513
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2514
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2515
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2516
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2517
- _id: z.ZodString;
2518
- editedBy: z.ZodOptional<z.ZodString>;
2519
- createdAt: z.ZodOptional<z.ZodDate>;
2520
- updatedAt: z.ZodOptional<z.ZodDate>;
2521
- }, z.UnknownKeysParam, z.ZodTypeAny, {
2522
- _id: string;
2523
- name: string;
2524
- email?: string | undefined;
2525
- address?: string | undefined;
2526
- username?: string | undefined;
2527
- password?: string | undefined;
2528
- roles?: number[] | undefined;
2529
- country?: string | undefined;
2530
- phoneNumber?: string | undefined;
2531
- birthDate?: string | undefined;
2532
- editedBy?: string | undefined;
2533
- createdAt?: Date | undefined;
2534
- updatedAt?: Date | undefined;
2535
- }, {
2536
- _id: string;
2537
- name: string;
2538
- email?: string | undefined;
2539
- address?: string | undefined;
2540
- username?: string | undefined;
2541
- password?: string | undefined;
2542
- roles?: number[] | undefined;
2543
- country?: string | undefined;
2544
- phoneNumber?: string | undefined;
2545
- birthDate?: string | undefined;
2546
- editedBy?: string | undefined;
2547
- createdAt?: Date | undefined;
2548
- updatedAt?: Date | undefined;
2549
- }>;
2550
- declare const zStudent: z.ZodObject<{
2551
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2552
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2553
- _id: z.ZodString;
2554
- editedBy: z.ZodOptional<z.ZodString>;
2555
- createdAt: z.ZodOptional<z.ZodDate>;
2556
- updatedAt: z.ZodOptional<z.ZodDate>;
2557
- name: z.ZodString;
2558
- username: z.ZodOptional<z.ZodString>;
2559
- password: z.ZodOptional<z.ZodString>;
2560
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2561
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2562
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2563
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2564
- rank: z.ZodNativeEnum<typeof GoRank>;
2565
- guardian: z.ZodOptional<z.ZodString>;
2566
- }, z.UnknownKeysParam, z.ZodTypeAny, {
2567
- rank: GoRank;
2568
- _id: string;
2569
- name: string;
2570
- email?: string | undefined;
2571
- address?: string | undefined;
2572
- editedBy?: string | undefined;
2573
- createdAt?: Date | undefined;
2574
- updatedAt?: Date | undefined;
2575
- username?: string | undefined;
2576
- password?: string | undefined;
2577
- roles?: number[] | undefined;
2578
- country?: string | undefined;
2579
- phoneNumber?: string | undefined;
2580
- birthDate?: string | undefined;
2581
- guardian?: string | undefined;
2582
- }, {
2583
- rank: GoRank;
2584
- _id: string;
2585
- name: string;
2586
- email?: string | undefined;
2587
- address?: string | undefined;
2588
- editedBy?: string | undefined;
2589
- createdAt?: Date | undefined;
2590
- updatedAt?: Date | undefined;
2591
- username?: string | undefined;
2592
- password?: string | undefined;
2593
- roles?: number[] | undefined;
2594
- country?: string | undefined;
2595
- phoneNumber?: string | undefined;
2596
- birthDate?: string | undefined;
2597
- guardian?: string | undefined;
2598
- }>;
2599
- declare const zTeacher: z.ZodObject<{
2600
- email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2601
- address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2602
- _id: z.ZodString;
2603
- editedBy: z.ZodOptional<z.ZodString>;
2604
- createdAt: z.ZodOptional<z.ZodDate>;
2605
- updatedAt: z.ZodOptional<z.ZodDate>;
2606
- name: z.ZodString;
2607
- username: z.ZodOptional<z.ZodString>;
2608
- password: z.ZodOptional<z.ZodString>;
2609
- roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2610
- country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2611
- phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2612
- birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
2613
- rank: z.ZodNativeEnum<typeof GoRank>;
2614
- isInactive: z.ZodOptional<z.ZodBoolean>;
2615
- title: z.ZodOptional<z.ZodString>;
2616
- bio: z.ZodOptional<z.ZodString>;
2617
- available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
2618
- }, z.UnknownKeysParam, z.ZodTypeAny, {
2619
- rank: GoRank;
2620
- _id: string;
2621
- name: string;
2622
- email?: string | undefined;
2623
- address?: string | undefined;
2624
- editedBy?: string | undefined;
2625
- createdAt?: Date | undefined;
2626
- updatedAt?: Date | undefined;
2627
- username?: string | undefined;
2628
- password?: string | undefined;
2629
- roles?: number[] | undefined;
2630
- country?: string | undefined;
2631
- phoneNumber?: string | undefined;
2632
- birthDate?: string | undefined;
2633
- isInactive?: boolean | undefined;
2634
- title?: string | undefined;
2635
- bio?: string | undefined;
2636
- available?: number[][][] | undefined;
2637
- }, {
2638
- rank: GoRank;
2639
- _id: string;
2640
- name: string;
2641
- email?: string | undefined;
2642
- address?: string | undefined;
2643
- editedBy?: string | undefined;
2644
- createdAt?: Date | undefined;
2645
- updatedAt?: Date | undefined;
2646
- username?: string | undefined;
2647
- password?: string | undefined;
2648
- roles?: number[] | undefined;
2649
- country?: string | undefined;
2650
- phoneNumber?: string | undefined;
2651
- birthDate?: string | undefined;
2652
- isInactive?: boolean | undefined;
2653
- title?: string | undefined;
2654
- bio?: string | undefined;
2655
- available?: number[][][] | undefined;
2656
- }>;
2657
- type BUser = z.infer<typeof zBUser>;
2658
- type User = z.infer<typeof zUser>;
2659
- type Student = z.infer<typeof zStudent>;
2660
- type Teacher = z.infer<typeof zTeacher>;
2661
-
2662
- declare const zUserRoles: z.ZodObject<{
2663
- user: z.ZodNumber;
2664
- admin: z.ZodNumber;
2665
- superadmin: z.ZodNumber;
2666
- }, "strip", z.ZodTypeAny, {
2667
- user: number;
2668
- admin: number;
2669
- superadmin: number;
2670
- }, {
2671
- user: number;
2672
- admin: number;
2673
- superadmin: number;
2674
- }>;
2675
- type UserRoles = z.infer<typeof zUserRoles>;
2676
-
2677
- 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 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, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
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 };