@nyig/models 0.2.23 → 0.2.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +676 -56
- package/index.d.ts +676 -56
- package/index.js +103 -82
- package/index.mjs +88 -72
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -953,44 +953,44 @@ declare const zDiscount: z.ZodObject<{
|
|
|
953
953
|
amount: number;
|
|
954
954
|
}>;
|
|
955
955
|
declare const zInvoiceItem: z.ZodObject<{
|
|
956
|
-
course: z.
|
|
956
|
+
course: z.ZodString;
|
|
957
957
|
price: z.ZodNumber;
|
|
958
958
|
units: z.ZodNumber;
|
|
959
959
|
}, "strip", z.ZodTypeAny, {
|
|
960
|
-
course:
|
|
960
|
+
course: string;
|
|
961
961
|
price: number;
|
|
962
962
|
units: number;
|
|
963
963
|
}, {
|
|
964
|
-
course:
|
|
964
|
+
course: string;
|
|
965
965
|
price: number;
|
|
966
966
|
units: number;
|
|
967
967
|
}>;
|
|
968
968
|
declare const zInvoicePackage: z.ZodObject<{
|
|
969
969
|
student: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
970
970
|
items: z.ZodArray<z.ZodObject<{
|
|
971
|
-
course: z.
|
|
971
|
+
course: z.ZodString;
|
|
972
972
|
price: z.ZodNumber;
|
|
973
973
|
units: z.ZodNumber;
|
|
974
974
|
}, "strip", z.ZodTypeAny, {
|
|
975
|
-
course:
|
|
975
|
+
course: string;
|
|
976
976
|
price: number;
|
|
977
977
|
units: number;
|
|
978
978
|
}, {
|
|
979
|
-
course:
|
|
979
|
+
course: string;
|
|
980
980
|
price: number;
|
|
981
981
|
units: number;
|
|
982
982
|
}>, "many">;
|
|
983
983
|
}, "strip", z.ZodTypeAny, {
|
|
984
984
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
985
985
|
items: {
|
|
986
|
-
course:
|
|
986
|
+
course: string;
|
|
987
987
|
price: number;
|
|
988
988
|
units: number;
|
|
989
989
|
}[];
|
|
990
990
|
}, {
|
|
991
991
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
992
992
|
items: {
|
|
993
|
-
course:
|
|
993
|
+
course: string;
|
|
994
994
|
price: number;
|
|
995
995
|
units: number;
|
|
996
996
|
}[];
|
|
@@ -1000,29 +1000,29 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1000
1000
|
packages: z.ZodArray<z.ZodObject<{
|
|
1001
1001
|
student: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1002
1002
|
items: z.ZodArray<z.ZodObject<{
|
|
1003
|
-
course: z.
|
|
1003
|
+
course: z.ZodString;
|
|
1004
1004
|
price: z.ZodNumber;
|
|
1005
1005
|
units: z.ZodNumber;
|
|
1006
1006
|
}, "strip", z.ZodTypeAny, {
|
|
1007
|
-
course:
|
|
1007
|
+
course: string;
|
|
1008
1008
|
price: number;
|
|
1009
1009
|
units: number;
|
|
1010
1010
|
}, {
|
|
1011
|
-
course:
|
|
1011
|
+
course: string;
|
|
1012
1012
|
price: number;
|
|
1013
1013
|
units: number;
|
|
1014
1014
|
}>, "many">;
|
|
1015
1015
|
}, "strip", z.ZodTypeAny, {
|
|
1016
1016
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1017
1017
|
items: {
|
|
1018
|
-
course:
|
|
1018
|
+
course: string;
|
|
1019
1019
|
price: number;
|
|
1020
1020
|
units: number;
|
|
1021
1021
|
}[];
|
|
1022
1022
|
}, {
|
|
1023
1023
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1024
1024
|
items: {
|
|
1025
|
-
course:
|
|
1025
|
+
course: string;
|
|
1026
1026
|
price: number;
|
|
1027
1027
|
units: number;
|
|
1028
1028
|
}[];
|
|
@@ -1048,7 +1048,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1048
1048
|
packages: {
|
|
1049
1049
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1050
1050
|
items: {
|
|
1051
|
-
course:
|
|
1051
|
+
course: string;
|
|
1052
1052
|
price: number;
|
|
1053
1053
|
units: number;
|
|
1054
1054
|
}[];
|
|
@@ -1068,7 +1068,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1068
1068
|
packages: {
|
|
1069
1069
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1070
1070
|
items: {
|
|
1071
|
-
course:
|
|
1071
|
+
course: string;
|
|
1072
1072
|
price: number;
|
|
1073
1073
|
units: number;
|
|
1074
1074
|
}[];
|
|
@@ -1093,29 +1093,29 @@ declare const zMInvoice: z.ZodObject<{
|
|
|
1093
1093
|
packages: z.ZodArray<z.ZodObject<{
|
|
1094
1094
|
student: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1095
1095
|
items: z.ZodArray<z.ZodObject<{
|
|
1096
|
-
course: z.
|
|
1096
|
+
course: z.ZodString;
|
|
1097
1097
|
price: z.ZodNumber;
|
|
1098
1098
|
units: z.ZodNumber;
|
|
1099
1099
|
}, "strip", z.ZodTypeAny, {
|
|
1100
|
-
course:
|
|
1100
|
+
course: string;
|
|
1101
1101
|
price: number;
|
|
1102
1102
|
units: number;
|
|
1103
1103
|
}, {
|
|
1104
|
-
course:
|
|
1104
|
+
course: string;
|
|
1105
1105
|
price: number;
|
|
1106
1106
|
units: number;
|
|
1107
1107
|
}>, "many">;
|
|
1108
1108
|
}, "strip", z.ZodTypeAny, {
|
|
1109
1109
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1110
1110
|
items: {
|
|
1111
|
-
course:
|
|
1111
|
+
course: string;
|
|
1112
1112
|
price: number;
|
|
1113
1113
|
units: number;
|
|
1114
1114
|
}[];
|
|
1115
1115
|
}, {
|
|
1116
1116
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1117
1117
|
items: {
|
|
1118
|
-
course:
|
|
1118
|
+
course: string;
|
|
1119
1119
|
price: number;
|
|
1120
1120
|
units: number;
|
|
1121
1121
|
}[];
|
|
@@ -1141,7 +1141,7 @@ declare const zMInvoice: z.ZodObject<{
|
|
|
1141
1141
|
packages: {
|
|
1142
1142
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1143
1143
|
items: {
|
|
1144
|
-
course:
|
|
1144
|
+
course: string;
|
|
1145
1145
|
price: number;
|
|
1146
1146
|
units: number;
|
|
1147
1147
|
}[];
|
|
@@ -1164,7 +1164,7 @@ declare const zMInvoice: z.ZodObject<{
|
|
|
1164
1164
|
packages: {
|
|
1165
1165
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1166
1166
|
items: {
|
|
1167
|
-
course:
|
|
1167
|
+
course: string;
|
|
1168
1168
|
price: number;
|
|
1169
1169
|
units: number;
|
|
1170
1170
|
}[];
|
|
@@ -1518,7 +1518,7 @@ declare const zMSemester: z.ZodObject<{
|
|
|
1518
1518
|
type Semester = z.infer<typeof zSemester>;
|
|
1519
1519
|
type MSemester = z.infer<typeof zMSemester>;
|
|
1520
1520
|
|
|
1521
|
-
declare const
|
|
1521
|
+
declare const zEventConfig: z.ZodObject<{
|
|
1522
1522
|
/**
|
|
1523
1523
|
* Location of the event
|
|
1524
1524
|
*/
|
|
@@ -1572,15 +1572,12 @@ declare const zTConfig: z.ZodObject<{
|
|
|
1572
1572
|
*/
|
|
1573
1573
|
schedule: z.ZodObject<{
|
|
1574
1574
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
1575
|
-
|
|
1576
|
-
* Location of the event
|
|
1577
|
-
*/
|
|
1578
|
-
data: z.ZodMap<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1575
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1579
1576
|
}, "strip", z.ZodTypeAny, {
|
|
1580
|
-
data:
|
|
1577
|
+
data: Record<string, {}[]>;
|
|
1581
1578
|
fields: string[];
|
|
1582
1579
|
}, {
|
|
1583
|
-
data:
|
|
1580
|
+
data: Record<string, {}[]>;
|
|
1584
1581
|
fields: string[];
|
|
1585
1582
|
}>;
|
|
1586
1583
|
/**
|
|
@@ -1624,7 +1621,7 @@ declare const zTConfig: z.ZodObject<{
|
|
|
1624
1621
|
fields: string[];
|
|
1625
1622
|
};
|
|
1626
1623
|
schedule: {
|
|
1627
|
-
data:
|
|
1624
|
+
data: Record<string, {}[]>;
|
|
1628
1625
|
fields: string[];
|
|
1629
1626
|
};
|
|
1630
1627
|
tickets: (string | Types.ObjectId)[];
|
|
@@ -1649,7 +1646,7 @@ declare const zTConfig: z.ZodObject<{
|
|
|
1649
1646
|
fields: string[];
|
|
1650
1647
|
};
|
|
1651
1648
|
schedule: {
|
|
1652
|
-
data:
|
|
1649
|
+
data: Record<string, {}[]>;
|
|
1653
1650
|
fields: string[];
|
|
1654
1651
|
};
|
|
1655
1652
|
tickets: (string | Types.ObjectId)[];
|
|
@@ -1662,7 +1659,7 @@ declare const zTConfig: z.ZodObject<{
|
|
|
1662
1659
|
width: number;
|
|
1663
1660
|
} | undefined;
|
|
1664
1661
|
}>;
|
|
1665
|
-
declare const
|
|
1662
|
+
declare const zEventConfigResponse: z.ZodObject<{
|
|
1666
1663
|
description: z.ZodString;
|
|
1667
1664
|
title: z.ZodString;
|
|
1668
1665
|
url: z.ZodString;
|
|
@@ -1683,15 +1680,153 @@ declare const zMTConfig: z.ZodObject<{
|
|
|
1683
1680
|
}>;
|
|
1684
1681
|
schedule: z.ZodObject<{
|
|
1685
1682
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
1686
|
-
|
|
1687
|
-
* Location of the event
|
|
1688
|
-
*/
|
|
1689
|
-
data: z.ZodMap<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1683
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1690
1684
|
}, "strip", z.ZodTypeAny, {
|
|
1691
|
-
data:
|
|
1685
|
+
data: Record<string, {}[]>;
|
|
1692
1686
|
fields: string[];
|
|
1693
1687
|
}, {
|
|
1694
|
-
data:
|
|
1688
|
+
data: Record<string, {}[]>;
|
|
1689
|
+
fields: string[];
|
|
1690
|
+
}>;
|
|
1691
|
+
canRegister: z.ZodBoolean;
|
|
1692
|
+
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
1693
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
1694
|
+
url: z.ZodString;
|
|
1695
|
+
height: z.ZodNumber;
|
|
1696
|
+
width: z.ZodNumber;
|
|
1697
|
+
}, "strip", z.ZodTypeAny, {
|
|
1698
|
+
url: string;
|
|
1699
|
+
height: number;
|
|
1700
|
+
width: number;
|
|
1701
|
+
}, {
|
|
1702
|
+
url: string;
|
|
1703
|
+
height: number;
|
|
1704
|
+
width: number;
|
|
1705
|
+
}>>;
|
|
1706
|
+
tickets: z.ZodArray<z.ZodObject<{
|
|
1707
|
+
price: z.ZodNumber;
|
|
1708
|
+
name: z.ZodString;
|
|
1709
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
1711
|
+
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
1712
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1713
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1714
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1715
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1716
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1717
|
+
price: number;
|
|
1718
|
+
name: string;
|
|
1719
|
+
description?: string | undefined;
|
|
1720
|
+
isNotBuyable?: boolean | undefined;
|
|
1721
|
+
lastBuyableDate?: Date | undefined;
|
|
1722
|
+
createdAt?: Date | undefined;
|
|
1723
|
+
updatedAt?: Date | undefined;
|
|
1724
|
+
}, {
|
|
1725
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1726
|
+
price: number;
|
|
1727
|
+
name: string;
|
|
1728
|
+
description?: string | undefined;
|
|
1729
|
+
isNotBuyable?: boolean | undefined;
|
|
1730
|
+
lastBuyableDate?: Date | undefined;
|
|
1731
|
+
createdAt?: Date | undefined;
|
|
1732
|
+
updatedAt?: Date | undefined;
|
|
1733
|
+
}>, "many">;
|
|
1734
|
+
}, "strip", z.ZodTypeAny, {
|
|
1735
|
+
description: string;
|
|
1736
|
+
title: string;
|
|
1737
|
+
url: string;
|
|
1738
|
+
shortTitle: string;
|
|
1739
|
+
tStart: Date;
|
|
1740
|
+
tEnd: Date;
|
|
1741
|
+
shortDescription: string;
|
|
1742
|
+
details: {
|
|
1743
|
+
data: {}[];
|
|
1744
|
+
fields: string[];
|
|
1745
|
+
};
|
|
1746
|
+
schedule: {
|
|
1747
|
+
data: Record<string, {}[]>;
|
|
1748
|
+
fields: string[];
|
|
1749
|
+
};
|
|
1750
|
+
tickets: {
|
|
1751
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1752
|
+
price: number;
|
|
1753
|
+
name: string;
|
|
1754
|
+
description?: string | undefined;
|
|
1755
|
+
isNotBuyable?: boolean | undefined;
|
|
1756
|
+
lastBuyableDate?: Date | undefined;
|
|
1757
|
+
createdAt?: Date | undefined;
|
|
1758
|
+
updatedAt?: Date | undefined;
|
|
1759
|
+
}[];
|
|
1760
|
+
canRegister: boolean;
|
|
1761
|
+
location?: string | undefined;
|
|
1762
|
+
donationsDisabled?: boolean | undefined;
|
|
1763
|
+
image?: {
|
|
1764
|
+
url: string;
|
|
1765
|
+
height: number;
|
|
1766
|
+
width: number;
|
|
1767
|
+
} | undefined;
|
|
1768
|
+
}, {
|
|
1769
|
+
description: string;
|
|
1770
|
+
title: string;
|
|
1771
|
+
url: string;
|
|
1772
|
+
shortTitle: string;
|
|
1773
|
+
tStart: Date;
|
|
1774
|
+
tEnd: Date;
|
|
1775
|
+
shortDescription: string;
|
|
1776
|
+
details: {
|
|
1777
|
+
data: {}[];
|
|
1778
|
+
fields: string[];
|
|
1779
|
+
};
|
|
1780
|
+
schedule: {
|
|
1781
|
+
data: Record<string, {}[]>;
|
|
1782
|
+
fields: string[];
|
|
1783
|
+
};
|
|
1784
|
+
tickets: {
|
|
1785
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1786
|
+
price: number;
|
|
1787
|
+
name: string;
|
|
1788
|
+
description?: string | undefined;
|
|
1789
|
+
isNotBuyable?: boolean | undefined;
|
|
1790
|
+
lastBuyableDate?: Date | undefined;
|
|
1791
|
+
createdAt?: Date | undefined;
|
|
1792
|
+
updatedAt?: Date | undefined;
|
|
1793
|
+
}[];
|
|
1794
|
+
canRegister: boolean;
|
|
1795
|
+
location?: string | undefined;
|
|
1796
|
+
donationsDisabled?: boolean | undefined;
|
|
1797
|
+
image?: {
|
|
1798
|
+
url: string;
|
|
1799
|
+
height: number;
|
|
1800
|
+
width: number;
|
|
1801
|
+
} | undefined;
|
|
1802
|
+
}>;
|
|
1803
|
+
declare const zMEventConfig: z.ZodObject<{
|
|
1804
|
+
description: z.ZodString;
|
|
1805
|
+
title: z.ZodString;
|
|
1806
|
+
url: z.ZodString;
|
|
1807
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1808
|
+
shortTitle: z.ZodString;
|
|
1809
|
+
tStart: z.ZodDate;
|
|
1810
|
+
tEnd: z.ZodDate;
|
|
1811
|
+
shortDescription: z.ZodString;
|
|
1812
|
+
details: z.ZodObject<{
|
|
1813
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
1814
|
+
data: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
|
|
1815
|
+
}, "strip", z.ZodTypeAny, {
|
|
1816
|
+
data: {}[];
|
|
1817
|
+
fields: string[];
|
|
1818
|
+
}, {
|
|
1819
|
+
data: {}[];
|
|
1820
|
+
fields: string[];
|
|
1821
|
+
}>;
|
|
1822
|
+
schedule: z.ZodObject<{
|
|
1823
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
1824
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1825
|
+
}, "strip", z.ZodTypeAny, {
|
|
1826
|
+
data: Record<string, {}[]>;
|
|
1827
|
+
fields: string[];
|
|
1828
|
+
}, {
|
|
1829
|
+
data: Record<string, {}[]>;
|
|
1695
1830
|
fields: string[];
|
|
1696
1831
|
}>;
|
|
1697
1832
|
tickets: z.ZodArray<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>, "many">;
|
|
@@ -1727,7 +1862,7 @@ declare const zMTConfig: z.ZodObject<{
|
|
|
1727
1862
|
fields: string[];
|
|
1728
1863
|
};
|
|
1729
1864
|
schedule: {
|
|
1730
|
-
data:
|
|
1865
|
+
data: Record<string, {}[]>;
|
|
1731
1866
|
fields: string[];
|
|
1732
1867
|
};
|
|
1733
1868
|
tickets: (string | Types.ObjectId)[];
|
|
@@ -1755,7 +1890,7 @@ declare const zMTConfig: z.ZodObject<{
|
|
|
1755
1890
|
fields: string[];
|
|
1756
1891
|
};
|
|
1757
1892
|
schedule: {
|
|
1758
|
-
data:
|
|
1893
|
+
data: Record<string, {}[]>;
|
|
1759
1894
|
fields: string[];
|
|
1760
1895
|
};
|
|
1761
1896
|
tickets: (string | Types.ObjectId)[];
|
|
@@ -1770,8 +1905,160 @@ declare const zMTConfig: z.ZodObject<{
|
|
|
1770
1905
|
createdAt?: Date | undefined;
|
|
1771
1906
|
updatedAt?: Date | undefined;
|
|
1772
1907
|
}>;
|
|
1773
|
-
|
|
1774
|
-
|
|
1908
|
+
declare const zMTConfigResponse: z.ZodObject<{
|
|
1909
|
+
description: z.ZodString;
|
|
1910
|
+
title: z.ZodString;
|
|
1911
|
+
url: z.ZodString;
|
|
1912
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1913
|
+
shortTitle: z.ZodString;
|
|
1914
|
+
tStart: z.ZodDate;
|
|
1915
|
+
tEnd: z.ZodDate;
|
|
1916
|
+
shortDescription: z.ZodString;
|
|
1917
|
+
details: z.ZodObject<{
|
|
1918
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
1919
|
+
data: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
|
|
1920
|
+
}, "strip", z.ZodTypeAny, {
|
|
1921
|
+
data: {}[];
|
|
1922
|
+
fields: string[];
|
|
1923
|
+
}, {
|
|
1924
|
+
data: {}[];
|
|
1925
|
+
fields: string[];
|
|
1926
|
+
}>;
|
|
1927
|
+
schedule: z.ZodObject<{
|
|
1928
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
1929
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1930
|
+
}, "strip", z.ZodTypeAny, {
|
|
1931
|
+
data: Record<string, {}[]>;
|
|
1932
|
+
fields: string[];
|
|
1933
|
+
}, {
|
|
1934
|
+
data: Record<string, {}[]>;
|
|
1935
|
+
fields: string[];
|
|
1936
|
+
}>;
|
|
1937
|
+
tickets: z.ZodArray<z.ZodObject<{
|
|
1938
|
+
price: z.ZodNumber;
|
|
1939
|
+
name: z.ZodString;
|
|
1940
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1941
|
+
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
1942
|
+
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
1943
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1944
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1945
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1946
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1947
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1948
|
+
price: number;
|
|
1949
|
+
name: string;
|
|
1950
|
+
description?: string | undefined;
|
|
1951
|
+
isNotBuyable?: boolean | undefined;
|
|
1952
|
+
lastBuyableDate?: Date | undefined;
|
|
1953
|
+
createdAt?: Date | undefined;
|
|
1954
|
+
updatedAt?: Date | undefined;
|
|
1955
|
+
}, {
|
|
1956
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1957
|
+
price: number;
|
|
1958
|
+
name: string;
|
|
1959
|
+
description?: string | undefined;
|
|
1960
|
+
isNotBuyable?: boolean | undefined;
|
|
1961
|
+
lastBuyableDate?: Date | undefined;
|
|
1962
|
+
createdAt?: Date | undefined;
|
|
1963
|
+
updatedAt?: Date | undefined;
|
|
1964
|
+
}>, "many">;
|
|
1965
|
+
canRegister: z.ZodBoolean;
|
|
1966
|
+
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
1967
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
1968
|
+
url: z.ZodString;
|
|
1969
|
+
height: z.ZodNumber;
|
|
1970
|
+
width: z.ZodNumber;
|
|
1971
|
+
}, "strip", z.ZodTypeAny, {
|
|
1972
|
+
url: string;
|
|
1973
|
+
height: number;
|
|
1974
|
+
width: number;
|
|
1975
|
+
}, {
|
|
1976
|
+
url: string;
|
|
1977
|
+
height: number;
|
|
1978
|
+
width: number;
|
|
1979
|
+
}>>;
|
|
1980
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1981
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1982
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1983
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1984
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1985
|
+
description: string;
|
|
1986
|
+
title: string;
|
|
1987
|
+
url: string;
|
|
1988
|
+
shortTitle: string;
|
|
1989
|
+
tStart: Date;
|
|
1990
|
+
tEnd: Date;
|
|
1991
|
+
shortDescription: string;
|
|
1992
|
+
details: {
|
|
1993
|
+
data: {}[];
|
|
1994
|
+
fields: string[];
|
|
1995
|
+
};
|
|
1996
|
+
schedule: {
|
|
1997
|
+
data: Record<string, {}[]>;
|
|
1998
|
+
fields: string[];
|
|
1999
|
+
};
|
|
2000
|
+
tickets: {
|
|
2001
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2002
|
+
price: number;
|
|
2003
|
+
name: string;
|
|
2004
|
+
description?: string | undefined;
|
|
2005
|
+
isNotBuyable?: boolean | undefined;
|
|
2006
|
+
lastBuyableDate?: Date | undefined;
|
|
2007
|
+
createdAt?: Date | undefined;
|
|
2008
|
+
updatedAt?: Date | undefined;
|
|
2009
|
+
}[];
|
|
2010
|
+
canRegister: boolean;
|
|
2011
|
+
location?: string | undefined;
|
|
2012
|
+
donationsDisabled?: boolean | undefined;
|
|
2013
|
+
image?: {
|
|
2014
|
+
url: string;
|
|
2015
|
+
height: number;
|
|
2016
|
+
width: number;
|
|
2017
|
+
} | undefined;
|
|
2018
|
+
createdAt?: Date | undefined;
|
|
2019
|
+
updatedAt?: Date | undefined;
|
|
2020
|
+
}, {
|
|
2021
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2022
|
+
description: string;
|
|
2023
|
+
title: string;
|
|
2024
|
+
url: string;
|
|
2025
|
+
shortTitle: string;
|
|
2026
|
+
tStart: Date;
|
|
2027
|
+
tEnd: Date;
|
|
2028
|
+
shortDescription: string;
|
|
2029
|
+
details: {
|
|
2030
|
+
data: {}[];
|
|
2031
|
+
fields: string[];
|
|
2032
|
+
};
|
|
2033
|
+
schedule: {
|
|
2034
|
+
data: Record<string, {}[]>;
|
|
2035
|
+
fields: string[];
|
|
2036
|
+
};
|
|
2037
|
+
tickets: {
|
|
2038
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2039
|
+
price: number;
|
|
2040
|
+
name: string;
|
|
2041
|
+
description?: string | undefined;
|
|
2042
|
+
isNotBuyable?: boolean | undefined;
|
|
2043
|
+
lastBuyableDate?: Date | undefined;
|
|
2044
|
+
createdAt?: Date | undefined;
|
|
2045
|
+
updatedAt?: Date | undefined;
|
|
2046
|
+
}[];
|
|
2047
|
+
canRegister: boolean;
|
|
2048
|
+
location?: string | undefined;
|
|
2049
|
+
donationsDisabled?: boolean | undefined;
|
|
2050
|
+
image?: {
|
|
2051
|
+
url: string;
|
|
2052
|
+
height: number;
|
|
2053
|
+
width: number;
|
|
2054
|
+
} | undefined;
|
|
2055
|
+
createdAt?: Date | undefined;
|
|
2056
|
+
updatedAt?: Date | undefined;
|
|
2057
|
+
}>;
|
|
2058
|
+
type EventConfig = z.infer<typeof zEventConfig>;
|
|
2059
|
+
type EventConfigResponse = z.infer<typeof zEventConfigResponse>;
|
|
2060
|
+
type MEventConfig = z.infer<typeof zMEventConfig>;
|
|
2061
|
+
type MEventConfigResponse = z.infer<typeof zMTConfigResponse>;
|
|
1775
2062
|
|
|
1776
2063
|
declare const zDetailsTable: z.ZodObject<{
|
|
1777
2064
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1785,18 +2072,18 @@ declare const zDetailsTable: z.ZodObject<{
|
|
|
1785
2072
|
}>;
|
|
1786
2073
|
declare const zScheduleTable: z.ZodObject<{
|
|
1787
2074
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
1788
|
-
data: z.
|
|
2075
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1789
2076
|
}, "strip", z.ZodTypeAny, {
|
|
1790
|
-
data:
|
|
2077
|
+
data: Record<string, {}[]>;
|
|
1791
2078
|
fields: string[];
|
|
1792
2079
|
}, {
|
|
1793
|
-
data:
|
|
2080
|
+
data: Record<string, {}[]>;
|
|
1794
2081
|
fields: string[];
|
|
1795
2082
|
}>;
|
|
1796
2083
|
type DetailsTable = z.infer<typeof zDetailsTable>;
|
|
1797
2084
|
type ScheduleTable = z.infer<typeof zScheduleTable>;
|
|
1798
2085
|
|
|
1799
|
-
declare const
|
|
2086
|
+
declare const zEventReg: z.ZodObject<{
|
|
1800
2087
|
userId: z.ZodOptional<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>>;
|
|
1801
2088
|
firstName: z.ZodString;
|
|
1802
2089
|
lastName: z.ZodString;
|
|
@@ -1866,7 +2153,140 @@ declare const zTReg: z.ZodObject<{
|
|
|
1866
2153
|
paymentReceived?: boolean | undefined;
|
|
1867
2154
|
expireAt?: Date | undefined;
|
|
1868
2155
|
}>;
|
|
1869
|
-
declare const
|
|
2156
|
+
declare const zEventRegResponse: z.ZodObject<{
|
|
2157
|
+
paymentAmount: z.ZodNumber;
|
|
2158
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
2159
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
2160
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>>;
|
|
2161
|
+
firstName: z.ZodString;
|
|
2162
|
+
lastName: z.ZodString;
|
|
2163
|
+
rank: z.ZodString;
|
|
2164
|
+
email: z.ZodString;
|
|
2165
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
2166
|
+
address: z.ZodOptional<z.ZodString>;
|
|
2167
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
2168
|
+
agaId: z.ZodString;
|
|
2169
|
+
tournamentId: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2170
|
+
donation: z.ZodOptional<z.ZodNumber>;
|
|
2171
|
+
createMethod: z.ZodOptional<z.ZodString>;
|
|
2172
|
+
edited: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
|
|
2173
|
+
tickets: z.ZodArray<z.ZodObject<{
|
|
2174
|
+
amount: z.ZodNumber;
|
|
2175
|
+
ticket: z.ZodObject<{
|
|
2176
|
+
price: z.ZodNumber;
|
|
2177
|
+
name: z.ZodString;
|
|
2178
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2179
|
+
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2180
|
+
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2181
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2182
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2183
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2184
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2185
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2186
|
+
price: number;
|
|
2187
|
+
name: string;
|
|
2188
|
+
description?: string | undefined;
|
|
2189
|
+
isNotBuyable?: boolean | undefined;
|
|
2190
|
+
lastBuyableDate?: Date | undefined;
|
|
2191
|
+
createdAt?: Date | undefined;
|
|
2192
|
+
updatedAt?: Date | undefined;
|
|
2193
|
+
}, {
|
|
2194
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2195
|
+
price: number;
|
|
2196
|
+
name: string;
|
|
2197
|
+
description?: string | undefined;
|
|
2198
|
+
isNotBuyable?: boolean | undefined;
|
|
2199
|
+
lastBuyableDate?: Date | undefined;
|
|
2200
|
+
createdAt?: Date | undefined;
|
|
2201
|
+
updatedAt?: Date | undefined;
|
|
2202
|
+
}>;
|
|
2203
|
+
}, "strip", z.ZodTypeAny, {
|
|
2204
|
+
amount: number;
|
|
2205
|
+
ticket: {
|
|
2206
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2207
|
+
price: number;
|
|
2208
|
+
name: string;
|
|
2209
|
+
description?: string | undefined;
|
|
2210
|
+
isNotBuyable?: boolean | undefined;
|
|
2211
|
+
lastBuyableDate?: Date | undefined;
|
|
2212
|
+
createdAt?: Date | undefined;
|
|
2213
|
+
updatedAt?: Date | undefined;
|
|
2214
|
+
};
|
|
2215
|
+
}, {
|
|
2216
|
+
amount: number;
|
|
2217
|
+
ticket: {
|
|
2218
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2219
|
+
price: number;
|
|
2220
|
+
name: string;
|
|
2221
|
+
description?: string | undefined;
|
|
2222
|
+
isNotBuyable?: boolean | undefined;
|
|
2223
|
+
lastBuyableDate?: Date | undefined;
|
|
2224
|
+
createdAt?: Date | undefined;
|
|
2225
|
+
updatedAt?: Date | undefined;
|
|
2226
|
+
};
|
|
2227
|
+
}>, "many">;
|
|
2228
|
+
}, "strip", z.ZodTypeAny, {
|
|
2229
|
+
paymentAmount: number;
|
|
2230
|
+
firstName: string;
|
|
2231
|
+
lastName: string;
|
|
2232
|
+
rank: string;
|
|
2233
|
+
email: string;
|
|
2234
|
+
tickets: {
|
|
2235
|
+
amount: number;
|
|
2236
|
+
ticket: {
|
|
2237
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2238
|
+
price: number;
|
|
2239
|
+
name: string;
|
|
2240
|
+
description?: string | undefined;
|
|
2241
|
+
isNotBuyable?: boolean | undefined;
|
|
2242
|
+
lastBuyableDate?: Date | undefined;
|
|
2243
|
+
createdAt?: Date | undefined;
|
|
2244
|
+
updatedAt?: Date | undefined;
|
|
2245
|
+
};
|
|
2246
|
+
}[];
|
|
2247
|
+
agaId: string;
|
|
2248
|
+
tournamentId: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2249
|
+
paymentReceived?: boolean | undefined;
|
|
2250
|
+
expireAt?: Date | undefined;
|
|
2251
|
+
userId?: string | Types.ObjectId | undefined;
|
|
2252
|
+
phone?: string | undefined;
|
|
2253
|
+
address?: string | undefined;
|
|
2254
|
+
notes?: string | undefined;
|
|
2255
|
+
donation?: number | undefined;
|
|
2256
|
+
createMethod?: string | undefined;
|
|
2257
|
+
edited?: Types.ObjectId | undefined;
|
|
2258
|
+
}, {
|
|
2259
|
+
paymentAmount: number;
|
|
2260
|
+
firstName: string;
|
|
2261
|
+
lastName: string;
|
|
2262
|
+
rank: string;
|
|
2263
|
+
email: string;
|
|
2264
|
+
tickets: {
|
|
2265
|
+
amount: number;
|
|
2266
|
+
ticket: {
|
|
2267
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2268
|
+
price: number;
|
|
2269
|
+
name: string;
|
|
2270
|
+
description?: string | undefined;
|
|
2271
|
+
isNotBuyable?: boolean | undefined;
|
|
2272
|
+
lastBuyableDate?: Date | undefined;
|
|
2273
|
+
createdAt?: Date | undefined;
|
|
2274
|
+
updatedAt?: Date | undefined;
|
|
2275
|
+
};
|
|
2276
|
+
}[];
|
|
2277
|
+
agaId: string;
|
|
2278
|
+
tournamentId: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2279
|
+
paymentReceived?: boolean | undefined;
|
|
2280
|
+
expireAt?: Date | undefined;
|
|
2281
|
+
userId?: string | Types.ObjectId | undefined;
|
|
2282
|
+
phone?: string | undefined;
|
|
2283
|
+
address?: string | undefined;
|
|
2284
|
+
notes?: string | undefined;
|
|
2285
|
+
donation?: number | undefined;
|
|
2286
|
+
createMethod?: string | undefined;
|
|
2287
|
+
edited?: Types.ObjectId | undefined;
|
|
2288
|
+
}>;
|
|
2289
|
+
declare const zMEventReg: z.ZodObject<{
|
|
1870
2290
|
paymentAmount: z.ZodNumber;
|
|
1871
2291
|
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
1872
2292
|
expireAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -1945,10 +2365,154 @@ declare const zMTReg: z.ZodObject<{
|
|
|
1945
2365
|
createdAt?: Date | undefined;
|
|
1946
2366
|
updatedAt?: Date | undefined;
|
|
1947
2367
|
}>;
|
|
1948
|
-
|
|
1949
|
-
|
|
2368
|
+
declare const zMEventRegResponse: z.ZodObject<{
|
|
2369
|
+
paymentAmount: z.ZodNumber;
|
|
2370
|
+
paymentReceived: z.ZodOptional<z.ZodBoolean>;
|
|
2371
|
+
expireAt: z.ZodOptional<z.ZodDate>;
|
|
2372
|
+
userId: z.ZodOptional<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>>;
|
|
2373
|
+
firstName: z.ZodString;
|
|
2374
|
+
lastName: z.ZodString;
|
|
2375
|
+
rank: z.ZodString;
|
|
2376
|
+
email: z.ZodString;
|
|
2377
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
2378
|
+
address: z.ZodOptional<z.ZodString>;
|
|
2379
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
2380
|
+
tickets: z.ZodArray<z.ZodObject<{
|
|
2381
|
+
amount: z.ZodNumber;
|
|
2382
|
+
ticket: z.ZodObject<{
|
|
2383
|
+
price: z.ZodNumber;
|
|
2384
|
+
name: z.ZodString;
|
|
2385
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2386
|
+
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2387
|
+
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2388
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2389
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2390
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2391
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2392
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2393
|
+
price: number;
|
|
2394
|
+
name: string;
|
|
2395
|
+
description?: string | undefined;
|
|
2396
|
+
isNotBuyable?: boolean | undefined;
|
|
2397
|
+
lastBuyableDate?: Date | undefined;
|
|
2398
|
+
createdAt?: Date | undefined;
|
|
2399
|
+
updatedAt?: Date | undefined;
|
|
2400
|
+
}, {
|
|
2401
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2402
|
+
price: number;
|
|
2403
|
+
name: string;
|
|
2404
|
+
description?: string | undefined;
|
|
2405
|
+
isNotBuyable?: boolean | undefined;
|
|
2406
|
+
lastBuyableDate?: Date | undefined;
|
|
2407
|
+
createdAt?: Date | undefined;
|
|
2408
|
+
updatedAt?: Date | undefined;
|
|
2409
|
+
}>;
|
|
2410
|
+
}, "strip", z.ZodTypeAny, {
|
|
2411
|
+
amount: number;
|
|
2412
|
+
ticket: {
|
|
2413
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2414
|
+
price: number;
|
|
2415
|
+
name: string;
|
|
2416
|
+
description?: string | undefined;
|
|
2417
|
+
isNotBuyable?: boolean | undefined;
|
|
2418
|
+
lastBuyableDate?: Date | undefined;
|
|
2419
|
+
createdAt?: Date | undefined;
|
|
2420
|
+
updatedAt?: Date | undefined;
|
|
2421
|
+
};
|
|
2422
|
+
}, {
|
|
2423
|
+
amount: number;
|
|
2424
|
+
ticket: {
|
|
2425
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2426
|
+
price: number;
|
|
2427
|
+
name: string;
|
|
2428
|
+
description?: string | undefined;
|
|
2429
|
+
isNotBuyable?: boolean | undefined;
|
|
2430
|
+
lastBuyableDate?: Date | undefined;
|
|
2431
|
+
createdAt?: Date | undefined;
|
|
2432
|
+
updatedAt?: Date | undefined;
|
|
2433
|
+
};
|
|
2434
|
+
}>, "many">;
|
|
2435
|
+
agaId: z.ZodString;
|
|
2436
|
+
tournamentId: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2437
|
+
donation: z.ZodOptional<z.ZodNumber>;
|
|
2438
|
+
createMethod: z.ZodOptional<z.ZodString>;
|
|
2439
|
+
edited: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
|
|
2440
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2441
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2442
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2443
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2444
|
+
paymentAmount: number;
|
|
2445
|
+
firstName: string;
|
|
2446
|
+
lastName: string;
|
|
2447
|
+
rank: string;
|
|
2448
|
+
email: string;
|
|
2449
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2450
|
+
tickets: {
|
|
2451
|
+
amount: number;
|
|
2452
|
+
ticket: {
|
|
2453
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2454
|
+
price: number;
|
|
2455
|
+
name: string;
|
|
2456
|
+
description?: string | undefined;
|
|
2457
|
+
isNotBuyable?: boolean | undefined;
|
|
2458
|
+
lastBuyableDate?: Date | undefined;
|
|
2459
|
+
createdAt?: Date | undefined;
|
|
2460
|
+
updatedAt?: Date | undefined;
|
|
2461
|
+
};
|
|
2462
|
+
}[];
|
|
2463
|
+
agaId: string;
|
|
2464
|
+
tournamentId: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2465
|
+
paymentReceived?: boolean | undefined;
|
|
2466
|
+
expireAt?: Date | undefined;
|
|
2467
|
+
userId?: string | Types.ObjectId | undefined;
|
|
2468
|
+
phone?: string | undefined;
|
|
2469
|
+
address?: string | undefined;
|
|
2470
|
+
notes?: string | undefined;
|
|
2471
|
+
donation?: number | undefined;
|
|
2472
|
+
createMethod?: string | undefined;
|
|
2473
|
+
edited?: Types.ObjectId | undefined;
|
|
2474
|
+
createdAt?: Date | undefined;
|
|
2475
|
+
updatedAt?: Date | undefined;
|
|
2476
|
+
}, {
|
|
2477
|
+
paymentAmount: number;
|
|
2478
|
+
firstName: string;
|
|
2479
|
+
lastName: string;
|
|
2480
|
+
rank: string;
|
|
2481
|
+
email: string;
|
|
2482
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2483
|
+
tickets: {
|
|
2484
|
+
amount: number;
|
|
2485
|
+
ticket: {
|
|
2486
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2487
|
+
price: number;
|
|
2488
|
+
name: string;
|
|
2489
|
+
description?: string | undefined;
|
|
2490
|
+
isNotBuyable?: boolean | undefined;
|
|
2491
|
+
lastBuyableDate?: Date | undefined;
|
|
2492
|
+
createdAt?: Date | undefined;
|
|
2493
|
+
updatedAt?: Date | undefined;
|
|
2494
|
+
};
|
|
2495
|
+
}[];
|
|
2496
|
+
agaId: string;
|
|
2497
|
+
tournamentId: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2498
|
+
paymentReceived?: boolean | undefined;
|
|
2499
|
+
expireAt?: Date | undefined;
|
|
2500
|
+
userId?: string | Types.ObjectId | undefined;
|
|
2501
|
+
phone?: string | undefined;
|
|
2502
|
+
address?: string | undefined;
|
|
2503
|
+
notes?: string | undefined;
|
|
2504
|
+
donation?: number | undefined;
|
|
2505
|
+
createMethod?: string | undefined;
|
|
2506
|
+
edited?: Types.ObjectId | undefined;
|
|
2507
|
+
createdAt?: Date | undefined;
|
|
2508
|
+
updatedAt?: Date | undefined;
|
|
2509
|
+
}>;
|
|
2510
|
+
type EventReg = z.infer<typeof zEventReg>;
|
|
2511
|
+
type EventRegResponse = z.infer<typeof zEventRegResponse>;
|
|
2512
|
+
type MEventReg = z.infer<typeof zMEventReg>;
|
|
2513
|
+
type MEventRegResponse = z.infer<typeof zMEventRegResponse>;
|
|
1950
2514
|
|
|
1951
|
-
declare const
|
|
2515
|
+
declare const zEventTicketReg: z.ZodObject<{
|
|
1952
2516
|
ticket: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1953
2517
|
/**
|
|
1954
2518
|
* integer minimum 1, otherwise no ticket is being bought
|
|
@@ -1961,9 +2525,65 @@ declare const zTTicketReg: z.ZodObject<{
|
|
|
1961
2525
|
amount: number;
|
|
1962
2526
|
ticket: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1963
2527
|
}>;
|
|
1964
|
-
|
|
2528
|
+
declare const zEventTicketRegResponse: z.ZodObject<{
|
|
2529
|
+
amount: z.ZodNumber;
|
|
2530
|
+
ticket: z.ZodObject<{
|
|
2531
|
+
price: z.ZodNumber;
|
|
2532
|
+
name: z.ZodString;
|
|
2533
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2535
|
+
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2536
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2537
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2538
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2539
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2540
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2541
|
+
price: number;
|
|
2542
|
+
name: string;
|
|
2543
|
+
description?: string | undefined;
|
|
2544
|
+
isNotBuyable?: boolean | undefined;
|
|
2545
|
+
lastBuyableDate?: Date | undefined;
|
|
2546
|
+
createdAt?: Date | undefined;
|
|
2547
|
+
updatedAt?: Date | undefined;
|
|
2548
|
+
}, {
|
|
2549
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2550
|
+
price: number;
|
|
2551
|
+
name: string;
|
|
2552
|
+
description?: string | undefined;
|
|
2553
|
+
isNotBuyable?: boolean | undefined;
|
|
2554
|
+
lastBuyableDate?: Date | undefined;
|
|
2555
|
+
createdAt?: Date | undefined;
|
|
2556
|
+
updatedAt?: Date | undefined;
|
|
2557
|
+
}>;
|
|
2558
|
+
}, "strip", z.ZodTypeAny, {
|
|
2559
|
+
amount: number;
|
|
2560
|
+
ticket: {
|
|
2561
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2562
|
+
price: number;
|
|
2563
|
+
name: string;
|
|
2564
|
+
description?: string | undefined;
|
|
2565
|
+
isNotBuyable?: boolean | undefined;
|
|
2566
|
+
lastBuyableDate?: Date | undefined;
|
|
2567
|
+
createdAt?: Date | undefined;
|
|
2568
|
+
updatedAt?: Date | undefined;
|
|
2569
|
+
};
|
|
2570
|
+
}, {
|
|
2571
|
+
amount: number;
|
|
2572
|
+
ticket: {
|
|
2573
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
2574
|
+
price: number;
|
|
2575
|
+
name: string;
|
|
2576
|
+
description?: string | undefined;
|
|
2577
|
+
isNotBuyable?: boolean | undefined;
|
|
2578
|
+
lastBuyableDate?: Date | undefined;
|
|
2579
|
+
createdAt?: Date | undefined;
|
|
2580
|
+
updatedAt?: Date | undefined;
|
|
2581
|
+
};
|
|
2582
|
+
}>;
|
|
2583
|
+
type EventTicketRegResponse = z.infer<typeof zEventTicketRegResponse>;
|
|
2584
|
+
type EventTicketReg = z.infer<typeof zEventTicketReg>;
|
|
1965
2585
|
|
|
1966
|
-
declare const
|
|
2586
|
+
declare const zEventTicket: z.ZodObject<{
|
|
1967
2587
|
name: z.ZodString;
|
|
1968
2588
|
/**
|
|
1969
2589
|
* Price in cents
|
|
@@ -1994,7 +2614,7 @@ declare const zTTicket: z.ZodObject<{
|
|
|
1994
2614
|
isNotBuyable?: boolean | undefined;
|
|
1995
2615
|
lastBuyableDate?: Date | undefined;
|
|
1996
2616
|
}>;
|
|
1997
|
-
declare const
|
|
2617
|
+
declare const zMEventTicket: z.ZodObject<{
|
|
1998
2618
|
price: z.ZodNumber;
|
|
1999
2619
|
name: z.ZodString;
|
|
2000
2620
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2022,8 +2642,8 @@ declare const zMTTicket: z.ZodObject<{
|
|
|
2022
2642
|
createdAt?: Date | undefined;
|
|
2023
2643
|
updatedAt?: Date | undefined;
|
|
2024
2644
|
}>;
|
|
2025
|
-
type
|
|
2026
|
-
type
|
|
2645
|
+
type EventTicket = z.infer<typeof zEventTicket>;
|
|
2646
|
+
type MEventTicket = z.infer<typeof zMEventTicket>;
|
|
2027
2647
|
|
|
2028
2648
|
declare enum GoRank {
|
|
2029
2649
|
KYU1 = "1k",
|
|
@@ -2346,4 +2966,4 @@ declare const zUserRoles: z.ZodObject<{
|
|
|
2346
2966
|
}>;
|
|
2347
2967
|
type UserRoles = z.infer<typeof zUserRoles>;
|
|
2348
2968
|
|
|
2349
|
-
export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BPaymentInfo, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type MAttendance, type MCampBooking, type MCampTracker, type MClassTracker, type MCourse, type
|
|
2969
|
+
export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BPaymentInfo, 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 MAttendance, type MCampBooking, type MCampTracker, type MClassTracker, type MCourse, type MEventConfig, type MEventConfigResponse, type MEventReg, type MEventRegResponse, type MEventTicket, type MGroupBooking, type MGroupTracker, type MInvoice, type MNYIGMission, type MPrivateBooking, type MReportTicket, type MSemester, type MStudent, type MTeacher, type MTeacherPayment, type MUser, 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, zBPaymentInfo, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zEventConfig, zEventConfigResponse, zEventReg, zEventRegResponse, zEventTicket, zEventTicketReg, zEventTicketRegResponse, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zMAttendance, zMCampBooking, zMCampTracker, zMClassTracker, zMCourse, zMEventConfig, zMEventReg, zMEventRegResponse, zMEventTicket, zMGroupBooking, zMGroupTracker, zMInvoice, zMPrivateBooking, zMReportTicket, zMSemester, zMStudent, zMTConfigResponse, zMTeacher, zMTeacherPayment, zMUser, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|