@nyig/models 0.2.34 → 0.2.36

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 +395 -261
  2. package/index.d.ts +395 -261
  3. package/index.js +257 -248
  4. package/index.mjs +256 -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,143 @@ declare const zTeacherPayment: z.ZodObject<{
1328
1573
  createdAt?: Date | undefined;
1329
1574
  updatedAt?: Date | undefined;
1330
1575
  }>;
1576
+ declare const zTeacherPaymentResponse: z.ZodObject<{
1577
+ teacher: z.ZodObject<{
1578
+ email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1579
+ address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1580
+ _id: z.ZodString;
1581
+ editedBy: z.ZodOptional<z.ZodString>;
1582
+ createdAt: z.ZodOptional<z.ZodDate>;
1583
+ updatedAt: z.ZodOptional<z.ZodDate>;
1584
+ name: z.ZodString;
1585
+ username: z.ZodOptional<z.ZodString>;
1586
+ password: z.ZodOptional<z.ZodString>;
1587
+ roles: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1588
+ country: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1589
+ phoneNumber: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1590
+ birthDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
1591
+ rank: z.ZodNativeEnum<typeof GoRank>;
1592
+ isInactive: z.ZodOptional<z.ZodBoolean>;
1593
+ title: z.ZodOptional<z.ZodString>;
1594
+ bio: z.ZodOptional<z.ZodString>;
1595
+ available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
1596
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1597
+ rank: GoRank;
1598
+ _id: string;
1599
+ name: string;
1600
+ email?: string | undefined;
1601
+ address?: string | undefined;
1602
+ editedBy?: string | undefined;
1603
+ createdAt?: Date | undefined;
1604
+ updatedAt?: Date | undefined;
1605
+ username?: string | undefined;
1606
+ password?: string | undefined;
1607
+ roles?: number[] | undefined;
1608
+ country?: string | undefined;
1609
+ phoneNumber?: string | undefined;
1610
+ birthDate?: string | undefined;
1611
+ isInactive?: boolean | undefined;
1612
+ title?: string | undefined;
1613
+ bio?: string | undefined;
1614
+ available?: number[][][] | undefined;
1615
+ }, {
1616
+ rank: GoRank;
1617
+ _id: string;
1618
+ name: string;
1619
+ email?: string | undefined;
1620
+ address?: string | undefined;
1621
+ editedBy?: string | undefined;
1622
+ createdAt?: Date | undefined;
1623
+ updatedAt?: Date | undefined;
1624
+ username?: string | undefined;
1625
+ password?: string | undefined;
1626
+ roles?: number[] | undefined;
1627
+ country?: string | undefined;
1628
+ phoneNumber?: string | undefined;
1629
+ birthDate?: string | undefined;
1630
+ isInactive?: boolean | undefined;
1631
+ title?: string | undefined;
1632
+ bio?: string | undefined;
1633
+ available?: number[][][] | undefined;
1634
+ }>;
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, {
1653
+ teacher: {
1654
+ rank: GoRank;
1655
+ _id: string;
1656
+ name: string;
1657
+ email?: string | undefined;
1658
+ address?: string | undefined;
1659
+ editedBy?: string | undefined;
1660
+ createdAt?: Date | undefined;
1661
+ updatedAt?: Date | undefined;
1662
+ username?: string | undefined;
1663
+ password?: string | undefined;
1664
+ roles?: number[] | undefined;
1665
+ country?: string | undefined;
1666
+ phoneNumber?: string | undefined;
1667
+ birthDate?: string | undefined;
1668
+ isInactive?: boolean | undefined;
1669
+ title?: string | undefined;
1670
+ bio?: string | undefined;
1671
+ available?: number[][][] | undefined;
1672
+ };
1673
+ rows: {
1674
+ length: number;
1675
+ course: string;
1676
+ count: number;
1677
+ wage: number;
1678
+ }[];
1679
+ paid?: boolean | undefined;
1680
+ }, {
1681
+ teacher: {
1682
+ rank: GoRank;
1683
+ _id: string;
1684
+ name: string;
1685
+ email?: string | undefined;
1686
+ address?: string | undefined;
1687
+ editedBy?: string | undefined;
1688
+ createdAt?: Date | undefined;
1689
+ updatedAt?: Date | undefined;
1690
+ username?: string | undefined;
1691
+ password?: string | undefined;
1692
+ roles?: number[] | undefined;
1693
+ country?: string | undefined;
1694
+ phoneNumber?: string | undefined;
1695
+ birthDate?: string | undefined;
1696
+ isInactive?: boolean | undefined;
1697
+ title?: string | undefined;
1698
+ bio?: string | undefined;
1699
+ available?: number[][][] | undefined;
1700
+ };
1701
+ rows: {
1702
+ length: number;
1703
+ course: string;
1704
+ count: number;
1705
+ wage: number;
1706
+ }[];
1707
+ paid?: boolean | undefined;
1708
+ }>;
1331
1709
  type TeacherPaymentRow = z.infer<typeof zTeacherPaymentRow>;
1332
1710
  type BTeacherPayment = z.infer<typeof zBTeacherPayment>;
1333
1711
  type TeacherPayment = z.infer<typeof zTeacherPayment>;
1712
+ type TeacherPaymentResponse = z.infer<typeof zTeacherPaymentResponse>;
1334
1713
 
1335
1714
  declare const zTuition: z.ZodObject<{
1336
1715
  primary: z.ZodNumber;
@@ -1357,14 +1736,14 @@ declare const zTeacherDisplay: z.ZodObject<{
1357
1736
  email: string;
1358
1737
  name: string;
1359
1738
  title: string;
1360
- imageUrl: string;
1361
1739
  bio: string;
1740
+ imageUrl: string;
1362
1741
  }, {
1363
1742
  email: string;
1364
1743
  name: string;
1365
1744
  title: string;
1366
- imageUrl: string;
1367
1745
  bio: string;
1746
+ imageUrl: string;
1368
1747
  }>;
1369
1748
  declare const zCourseTable: z.ZodObject<{
1370
1749
  id: z.ZodString;
@@ -1439,21 +1818,21 @@ declare const zBReportTicket: z.ZodObject<{
1439
1818
  description: z.ZodString;
1440
1819
  }, "strip", z.ZodTypeAny, {
1441
1820
  status: TicketStatus;
1442
- description: string;
1443
1821
  title: string;
1822
+ description: string;
1444
1823
  requester: string;
1445
1824
  resolver?: string | undefined;
1446
1825
  }, {
1447
1826
  status: TicketStatus;
1448
- description: string;
1449
1827
  title: string;
1828
+ description: string;
1450
1829
  requester: string;
1451
1830
  resolver?: string | undefined;
1452
1831
  }>;
1453
1832
  declare const zReportTicket: z.ZodObject<{
1454
1833
  status: z.ZodNativeEnum<typeof TicketStatus>;
1455
- description: z.ZodString;
1456
1834
  title: z.ZodString;
1835
+ description: z.ZodString;
1457
1836
  requester: z.ZodString;
1458
1837
  resolver: z.ZodOptional<z.ZodString>;
1459
1838
  _id: z.ZodString;
@@ -1463,8 +1842,8 @@ declare const zReportTicket: z.ZodObject<{
1463
1842
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1464
1843
  status: TicketStatus;
1465
1844
  _id: string;
1466
- description: string;
1467
1845
  title: string;
1846
+ description: string;
1468
1847
  requester: string;
1469
1848
  resolver?: string | undefined;
1470
1849
  editedBy?: string | undefined;
@@ -1473,8 +1852,8 @@ declare const zReportTicket: z.ZodObject<{
1473
1852
  }, {
1474
1853
  status: TicketStatus;
1475
1854
  _id: string;
1476
- description: string;
1477
1855
  title: string;
1856
+ description: string;
1478
1857
  requester: string;
1479
1858
  resolver?: string | undefined;
1480
1859
  editedBy?: string | undefined;
@@ -1646,8 +2025,8 @@ declare const zBEventConfig: z.ZodObject<{
1646
2025
  width: number;
1647
2026
  }>>;
1648
2027
  }, "strip", z.ZodTypeAny, {
1649
- description: string;
1650
2028
  title: string;
2029
+ description: string;
1651
2030
  url: string;
1652
2031
  shortTitle: string;
1653
2032
  tStart: Date;
@@ -1671,8 +2050,8 @@ declare const zBEventConfig: z.ZodObject<{
1671
2050
  width: number;
1672
2051
  } | undefined;
1673
2052
  }, {
1674
- description: string;
1675
2053
  title: string;
2054
+ description: string;
1676
2055
  url: string;
1677
2056
  shortTitle: string;
1678
2057
  tStart: Date;
@@ -1697,8 +2076,8 @@ declare const zBEventConfig: z.ZodObject<{
1697
2076
  } | undefined;
1698
2077
  }>;
1699
2078
  declare const zEventConfig: z.ZodObject<{
1700
- description: z.ZodString;
1701
2079
  title: z.ZodString;
2080
+ description: z.ZodString;
1702
2081
  url: z.ZodString;
1703
2082
  location: z.ZodOptional<z.ZodString>;
1704
2083
  shortTitle: z.ZodString;
@@ -1747,8 +2126,8 @@ declare const zEventConfig: z.ZodObject<{
1747
2126
  updatedAt: z.ZodOptional<z.ZodDate>;
1748
2127
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1749
2128
  _id: string;
1750
- description: string;
1751
2129
  title: string;
2130
+ description: string;
1752
2131
  url: string;
1753
2132
  shortTitle: string;
1754
2133
  tStart: Date;
@@ -1776,8 +2155,8 @@ declare const zEventConfig: z.ZodObject<{
1776
2155
  updatedAt?: Date | undefined;
1777
2156
  }, {
1778
2157
  _id: string;
1779
- description: string;
1780
2158
  title: string;
2159
+ description: string;
1781
2160
  url: string;
1782
2161
  shortTitle: string;
1783
2162
  tStart: Date;
@@ -1809,8 +2188,8 @@ declare const zEventConfigResponse: z.ZodObject<{
1809
2188
  editedBy: z.ZodOptional<z.ZodString>;
1810
2189
  createdAt: z.ZodOptional<z.ZodDate>;
1811
2190
  updatedAt: z.ZodOptional<z.ZodDate>;
1812
- description: z.ZodString;
1813
2191
  title: z.ZodString;
2192
+ description: z.ZodString;
1814
2193
  url: z.ZodString;
1815
2194
  location: z.ZodOptional<z.ZodString>;
1816
2195
  shortTitle: z.ZodString;
@@ -1885,8 +2264,8 @@ declare const zEventConfigResponse: z.ZodObject<{
1885
2264
  }>, "many">;
1886
2265
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1887
2266
  _id: string;
1888
- description: string;
1889
2267
  title: string;
2268
+ description: string;
1890
2269
  url: string;
1891
2270
  shortTitle: string;
1892
2271
  tStart: Date;
@@ -1924,8 +2303,8 @@ declare const zEventConfigResponse: z.ZodObject<{
1924
2303
  } | undefined;
1925
2304
  }, {
1926
2305
  _id: string;
1927
- description: string;
1928
2306
  title: string;
2307
+ description: string;
1929
2308
  url: string;
1930
2309
  shortTitle: string;
1931
2310
  tStart: Date;
@@ -2429,249 +2808,4 @@ declare const zEventTicket: z.ZodObject<{
2429
2808
  type BEventTicket = z.infer<typeof zBEventTicket>;
2430
2809
  type EventTicket = z.infer<typeof zEventTicket>;
2431
2810
 
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 };
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 };