@nyig/models 0.2.26 → 0.2.27
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 +127 -98
- package/index.d.ts +127 -98
- package/index.js +35 -25
- package/index.mjs +33 -24
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -134,7 +134,7 @@ declare const zMAttendance: z.ZodObject<{
|
|
|
134
134
|
}>;
|
|
135
135
|
paid: z.ZodOptional<z.ZodBoolean>;
|
|
136
136
|
campOption: z.ZodNativeEnum<typeof CampOption>;
|
|
137
|
-
_id: z.
|
|
137
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
138
138
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
139
139
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
140
140
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -202,7 +202,7 @@ declare const zMCampTracker: z.ZodObject<{
|
|
|
202
202
|
semester: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
203
203
|
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
204
204
|
attendances: z.ZodArray<z.ZodString, "many">;
|
|
205
|
-
_id: z.
|
|
205
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
206
206
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
207
207
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
208
208
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -309,7 +309,7 @@ declare const zMClassTracker: z.ZodObject<{
|
|
|
309
309
|
completedList: z.ZodArray<z.ZodBoolean, "many">;
|
|
310
310
|
completed: z.ZodOptional<z.ZodBoolean>;
|
|
311
311
|
paused: z.ZodOptional<z.ZodBoolean>;
|
|
312
|
-
_id: z.
|
|
312
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
313
313
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
314
314
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
315
315
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -429,7 +429,7 @@ declare const zMCourse: z.ZodObject<{
|
|
|
429
429
|
recLevel: z.ZodString;
|
|
430
430
|
halfCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
431
431
|
fullCampTuition: z.ZodOptional<z.ZodNumber>;
|
|
432
|
-
_id: z.
|
|
432
|
+
_id: z.ZodUnion<[z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>, z.ZodString]>;
|
|
433
433
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
434
434
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
435
435
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -546,7 +546,7 @@ declare const zMGroupTracker: z.ZodObject<{
|
|
|
546
546
|
courseId: z.ZodOptional<z.ZodString>;
|
|
547
547
|
ageGroup: z.ZodOptional<z.ZodNativeEnum<typeof AgeGroup>>;
|
|
548
548
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
549
|
-
_id: z.
|
|
549
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
550
550
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
551
551
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
552
552
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -668,7 +668,7 @@ declare const zMCampBooking: z.ZodObject<{
|
|
|
668
668
|
ctId: z.ZodOptional<z.ZodString>;
|
|
669
669
|
isOnline: z.ZodBoolean;
|
|
670
670
|
classDates: z.ZodString;
|
|
671
|
-
_id: z.
|
|
671
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
672
672
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
673
673
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
674
674
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -784,7 +784,7 @@ declare const zMGroupBooking: z.ZodObject<{
|
|
|
784
784
|
gtId: z.ZodOptional<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>>;
|
|
785
785
|
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
786
786
|
classDate: z.ZodOptional<z.ZodString>;
|
|
787
|
-
_id: z.
|
|
787
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
788
788
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
789
789
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
790
790
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -892,7 +892,7 @@ declare const zMPrivateBooking: z.ZodObject<{
|
|
|
892
892
|
courseId: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
893
893
|
classDate: z.ZodOptional<z.ZodString>;
|
|
894
894
|
teacherId: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
895
|
-
_id: z.
|
|
895
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
896
896
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
897
897
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
898
898
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -1132,7 +1132,7 @@ declare const zMInvoice: z.ZodObject<{
|
|
|
1132
1132
|
}>, "many">;
|
|
1133
1133
|
createdBy: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1134
1134
|
lastEditBy: z.ZodOptional<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>>;
|
|
1135
|
-
_id: z.
|
|
1135
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1136
1136
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1137
1137
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1138
1138
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -1266,7 +1266,7 @@ declare const zMTeacherPayment: z.ZodObject<{
|
|
|
1266
1266
|
count: number;
|
|
1267
1267
|
wage: number;
|
|
1268
1268
|
}>, "many">;
|
|
1269
|
-
_id: z.
|
|
1269
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1270
1270
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1271
1271
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1272
1272
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -1425,7 +1425,7 @@ declare const zMReportTicket: z.ZodObject<{
|
|
|
1425
1425
|
title: z.ZodString;
|
|
1426
1426
|
requester: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1427
1427
|
resolver: z.ZodOptional<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>>;
|
|
1428
|
-
_id: z.
|
|
1428
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1429
1429
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1430
1430
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1431
1431
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -1491,7 +1491,7 @@ declare const zMSemester: z.ZodObject<{
|
|
|
1491
1491
|
endDate: z.ZodDate;
|
|
1492
1492
|
blackoutDates: z.ZodArray<z.ZodDate, "many">;
|
|
1493
1493
|
importantDates: z.ZodArray<z.ZodString, "many">;
|
|
1494
|
-
_id: z.
|
|
1494
|
+
_id: z.ZodUnion<[z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>, z.ZodString]>;
|
|
1495
1495
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1496
1496
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1497
1497
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -1659,7 +1659,7 @@ declare const zEventConfig: z.ZodObject<{
|
|
|
1659
1659
|
width: number;
|
|
1660
1660
|
} | undefined;
|
|
1661
1661
|
}>;
|
|
1662
|
-
declare const
|
|
1662
|
+
declare const zMEventConfig: z.ZodObject<{
|
|
1663
1663
|
description: z.ZodString;
|
|
1664
1664
|
title: z.ZodString;
|
|
1665
1665
|
url: z.ZodString;
|
|
@@ -1688,6 +1688,7 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
1688
1688
|
data: Record<string, {}[]>;
|
|
1689
1689
|
fields: string[];
|
|
1690
1690
|
}>;
|
|
1691
|
+
tickets: z.ZodArray<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>, "many">;
|
|
1691
1692
|
canRegister: z.ZodBoolean;
|
|
1692
1693
|
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
1693
1694
|
image: z.ZodOptional<z.ZodObject<{
|
|
@@ -1703,35 +1704,11 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
1703
1704
|
height: number;
|
|
1704
1705
|
width: number;
|
|
1705
1706
|
}>>;
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
1712
|
-
_id: z.ZodString | 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, {
|
|
1707
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1708
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1709
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1710
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1711
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1735
1712
|
description: string;
|
|
1736
1713
|
title: string;
|
|
1737
1714
|
url: string;
|
|
@@ -1747,16 +1724,7 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
1747
1724
|
data: Record<string, {}[]>;
|
|
1748
1725
|
fields: string[];
|
|
1749
1726
|
};
|
|
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
|
-
}[];
|
|
1727
|
+
tickets: (string | Types.ObjectId)[];
|
|
1760
1728
|
canRegister: boolean;
|
|
1761
1729
|
location?: string | undefined;
|
|
1762
1730
|
donationsDisabled?: boolean | undefined;
|
|
@@ -1765,7 +1733,10 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
1765
1733
|
height: number;
|
|
1766
1734
|
width: number;
|
|
1767
1735
|
} | undefined;
|
|
1736
|
+
createdAt?: Date | undefined;
|
|
1737
|
+
updatedAt?: Date | undefined;
|
|
1768
1738
|
}, {
|
|
1739
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1769
1740
|
description: string;
|
|
1770
1741
|
title: string;
|
|
1771
1742
|
url: string;
|
|
@@ -1781,16 +1752,7 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
1781
1752
|
data: Record<string, {}[]>;
|
|
1782
1753
|
fields: string[];
|
|
1783
1754
|
};
|
|
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
|
-
}[];
|
|
1755
|
+
tickets: (string | Types.ObjectId)[];
|
|
1794
1756
|
canRegister: boolean;
|
|
1795
1757
|
location?: string | undefined;
|
|
1796
1758
|
donationsDisabled?: boolean | undefined;
|
|
@@ -1799,8 +1761,10 @@ declare const zEventConfigResponse: z.ZodObject<{
|
|
|
1799
1761
|
height: number;
|
|
1800
1762
|
width: number;
|
|
1801
1763
|
} | undefined;
|
|
1764
|
+
createdAt?: Date | undefined;
|
|
1765
|
+
updatedAt?: Date | undefined;
|
|
1802
1766
|
}>;
|
|
1803
|
-
declare const
|
|
1767
|
+
declare const zEventConfigResponse: z.ZodObject<{
|
|
1804
1768
|
description: z.ZodString;
|
|
1805
1769
|
title: z.ZodString;
|
|
1806
1770
|
url: z.ZodString;
|
|
@@ -1829,7 +1793,6 @@ declare const zMEventConfig: z.ZodObject<{
|
|
|
1829
1793
|
data: Record<string, {}[]>;
|
|
1830
1794
|
fields: string[];
|
|
1831
1795
|
}>;
|
|
1832
|
-
tickets: z.ZodArray<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>, "many">;
|
|
1833
1796
|
canRegister: z.ZodBoolean;
|
|
1834
1797
|
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
1835
1798
|
image: z.ZodOptional<z.ZodObject<{
|
|
@@ -1845,11 +1808,35 @@ declare const zMEventConfig: z.ZodObject<{
|
|
|
1845
1808
|
height: number;
|
|
1846
1809
|
width: number;
|
|
1847
1810
|
}>>;
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1811
|
+
tickets: z.ZodArray<z.ZodObject<{
|
|
1812
|
+
price: z.ZodNumber;
|
|
1813
|
+
name: z.ZodString;
|
|
1814
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1815
|
+
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
1816
|
+
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
1817
|
+
_id: z.ZodString;
|
|
1818
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1819
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1820
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1821
|
+
_id: string;
|
|
1822
|
+
price: number;
|
|
1823
|
+
name: string;
|
|
1824
|
+
description?: string | undefined;
|
|
1825
|
+
isNotBuyable?: boolean | undefined;
|
|
1826
|
+
lastBuyableDate?: Date | undefined;
|
|
1827
|
+
createdAt?: Date | undefined;
|
|
1828
|
+
updatedAt?: Date | undefined;
|
|
1829
|
+
}, {
|
|
1830
|
+
_id: string;
|
|
1831
|
+
price: number;
|
|
1832
|
+
name: string;
|
|
1833
|
+
description?: string | undefined;
|
|
1834
|
+
isNotBuyable?: boolean | undefined;
|
|
1835
|
+
lastBuyableDate?: Date | undefined;
|
|
1836
|
+
createdAt?: Date | undefined;
|
|
1837
|
+
updatedAt?: Date | undefined;
|
|
1838
|
+
}>, "many">;
|
|
1839
|
+
}, "strip", z.ZodTypeAny, {
|
|
1853
1840
|
description: string;
|
|
1854
1841
|
title: string;
|
|
1855
1842
|
url: string;
|
|
@@ -1865,7 +1852,16 @@ declare const zMEventConfig: z.ZodObject<{
|
|
|
1865
1852
|
data: Record<string, {}[]>;
|
|
1866
1853
|
fields: string[];
|
|
1867
1854
|
};
|
|
1868
|
-
tickets:
|
|
1855
|
+
tickets: {
|
|
1856
|
+
_id: string;
|
|
1857
|
+
price: number;
|
|
1858
|
+
name: string;
|
|
1859
|
+
description?: string | undefined;
|
|
1860
|
+
isNotBuyable?: boolean | undefined;
|
|
1861
|
+
lastBuyableDate?: Date | undefined;
|
|
1862
|
+
createdAt?: Date | undefined;
|
|
1863
|
+
updatedAt?: Date | undefined;
|
|
1864
|
+
}[];
|
|
1869
1865
|
canRegister: boolean;
|
|
1870
1866
|
location?: string | undefined;
|
|
1871
1867
|
donationsDisabled?: boolean | undefined;
|
|
@@ -1874,10 +1870,7 @@ declare const zMEventConfig: z.ZodObject<{
|
|
|
1874
1870
|
height: number;
|
|
1875
1871
|
width: number;
|
|
1876
1872
|
} | undefined;
|
|
1877
|
-
createdAt?: Date | undefined;
|
|
1878
|
-
updatedAt?: Date | undefined;
|
|
1879
1873
|
}, {
|
|
1880
|
-
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1881
1874
|
description: string;
|
|
1882
1875
|
title: string;
|
|
1883
1876
|
url: string;
|
|
@@ -1893,7 +1886,16 @@ declare const zMEventConfig: z.ZodObject<{
|
|
|
1893
1886
|
data: Record<string, {}[]>;
|
|
1894
1887
|
fields: string[];
|
|
1895
1888
|
};
|
|
1896
|
-
tickets:
|
|
1889
|
+
tickets: {
|
|
1890
|
+
_id: string;
|
|
1891
|
+
price: number;
|
|
1892
|
+
name: string;
|
|
1893
|
+
description?: string | undefined;
|
|
1894
|
+
isNotBuyable?: boolean | undefined;
|
|
1895
|
+
lastBuyableDate?: Date | undefined;
|
|
1896
|
+
createdAt?: Date | undefined;
|
|
1897
|
+
updatedAt?: Date | undefined;
|
|
1898
|
+
}[];
|
|
1897
1899
|
canRegister: boolean;
|
|
1898
1900
|
location?: string | undefined;
|
|
1899
1901
|
donationsDisabled?: boolean | undefined;
|
|
@@ -1902,10 +1904,8 @@ declare const zMEventConfig: z.ZodObject<{
|
|
|
1902
1904
|
height: number;
|
|
1903
1905
|
width: number;
|
|
1904
1906
|
} | undefined;
|
|
1905
|
-
createdAt?: Date | undefined;
|
|
1906
|
-
updatedAt?: Date | undefined;
|
|
1907
1907
|
}>;
|
|
1908
|
-
declare const
|
|
1908
|
+
declare const zMEventConfigResponse: z.ZodObject<{
|
|
1909
1909
|
description: z.ZodString;
|
|
1910
1910
|
title: z.ZodString;
|
|
1911
1911
|
url: z.ZodString;
|
|
@@ -1940,11 +1940,11 @@ declare const zMTConfigResponse: z.ZodObject<{
|
|
|
1940
1940
|
description: z.ZodOptional<z.ZodString>;
|
|
1941
1941
|
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
1942
1942
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
1943
|
-
_id: z.ZodString
|
|
1943
|
+
_id: z.ZodString;
|
|
1944
1944
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1945
1945
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1946
1946
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1947
|
-
_id:
|
|
1947
|
+
_id: string;
|
|
1948
1948
|
price: number;
|
|
1949
1949
|
name: string;
|
|
1950
1950
|
description?: string | undefined;
|
|
@@ -1953,7 +1953,7 @@ declare const zMTConfigResponse: z.ZodObject<{
|
|
|
1953
1953
|
createdAt?: Date | undefined;
|
|
1954
1954
|
updatedAt?: Date | undefined;
|
|
1955
1955
|
}, {
|
|
1956
|
-
_id:
|
|
1956
|
+
_id: string;
|
|
1957
1957
|
price: number;
|
|
1958
1958
|
name: string;
|
|
1959
1959
|
description?: string | undefined;
|
|
@@ -1977,11 +1977,11 @@ declare const zMTConfigResponse: z.ZodObject<{
|
|
|
1977
1977
|
height: number;
|
|
1978
1978
|
width: number;
|
|
1979
1979
|
}>>;
|
|
1980
|
-
_id: z.ZodString
|
|
1980
|
+
_id: z.ZodString;
|
|
1981
1981
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1982
1982
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1983
1983
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1984
|
-
_id:
|
|
1984
|
+
_id: string;
|
|
1985
1985
|
description: string;
|
|
1986
1986
|
title: string;
|
|
1987
1987
|
url: string;
|
|
@@ -1998,7 +1998,7 @@ declare const zMTConfigResponse: z.ZodObject<{
|
|
|
1998
1998
|
fields: string[];
|
|
1999
1999
|
};
|
|
2000
2000
|
tickets: {
|
|
2001
|
-
_id:
|
|
2001
|
+
_id: string;
|
|
2002
2002
|
price: number;
|
|
2003
2003
|
name: string;
|
|
2004
2004
|
description?: string | undefined;
|
|
@@ -2018,7 +2018,7 @@ declare const zMTConfigResponse: z.ZodObject<{
|
|
|
2018
2018
|
createdAt?: Date | undefined;
|
|
2019
2019
|
updatedAt?: Date | undefined;
|
|
2020
2020
|
}, {
|
|
2021
|
-
_id:
|
|
2021
|
+
_id: string;
|
|
2022
2022
|
description: string;
|
|
2023
2023
|
title: string;
|
|
2024
2024
|
url: string;
|
|
@@ -2035,7 +2035,7 @@ declare const zMTConfigResponse: z.ZodObject<{
|
|
|
2035
2035
|
fields: string[];
|
|
2036
2036
|
};
|
|
2037
2037
|
tickets: {
|
|
2038
|
-
_id:
|
|
2038
|
+
_id: string;
|
|
2039
2039
|
price: number;
|
|
2040
2040
|
name: string;
|
|
2041
2041
|
description?: string | undefined;
|
|
@@ -2058,7 +2058,7 @@ declare const zMTConfigResponse: z.ZodObject<{
|
|
|
2058
2058
|
type EventConfig = z.infer<typeof zEventConfig>;
|
|
2059
2059
|
type EventConfigResponse = z.infer<typeof zEventConfigResponse>;
|
|
2060
2060
|
type MEventConfig = z.infer<typeof zMEventConfig>;
|
|
2061
|
-
type MEventConfigResponse = z.infer<typeof
|
|
2061
|
+
type MEventConfigResponse = z.infer<typeof zMEventConfigResponse>;
|
|
2062
2062
|
|
|
2063
2063
|
declare const zDetailsTable: z.ZodObject<{
|
|
2064
2064
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -2178,7 +2178,7 @@ declare const zEventRegResponse: z.ZodObject<{
|
|
|
2178
2178
|
description: z.ZodOptional<z.ZodString>;
|
|
2179
2179
|
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2180
2180
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2181
|
-
_id: z.
|
|
2181
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2182
2182
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2183
2183
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2184
2184
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2313,7 +2313,7 @@ declare const zMEventReg: z.ZodObject<{
|
|
|
2313
2313
|
donation: z.ZodOptional<z.ZodNumber>;
|
|
2314
2314
|
createMethod: z.ZodOptional<z.ZodString>;
|
|
2315
2315
|
edited: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
|
|
2316
|
-
_id: z.
|
|
2316
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2317
2317
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2318
2318
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2319
2319
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2385,7 +2385,7 @@ declare const zMEventRegResponse: z.ZodObject<{
|
|
|
2385
2385
|
description: z.ZodOptional<z.ZodString>;
|
|
2386
2386
|
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2387
2387
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2388
|
-
_id: z.
|
|
2388
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2389
2389
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2390
2390
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2391
2391
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2437,7 +2437,7 @@ declare const zMEventRegResponse: z.ZodObject<{
|
|
|
2437
2437
|
donation: z.ZodOptional<z.ZodNumber>;
|
|
2438
2438
|
createMethod: z.ZodOptional<z.ZodString>;
|
|
2439
2439
|
edited: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
|
|
2440
|
-
_id: z.ZodString
|
|
2440
|
+
_id: z.ZodString;
|
|
2441
2441
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2442
2442
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2443
2443
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2446,7 +2446,7 @@ declare const zMEventRegResponse: z.ZodObject<{
|
|
|
2446
2446
|
lastName: string;
|
|
2447
2447
|
rank: string;
|
|
2448
2448
|
email: string;
|
|
2449
|
-
_id:
|
|
2449
|
+
_id: string;
|
|
2450
2450
|
tickets: {
|
|
2451
2451
|
amount: number;
|
|
2452
2452
|
ticket: {
|
|
@@ -2479,7 +2479,7 @@ declare const zMEventRegResponse: z.ZodObject<{
|
|
|
2479
2479
|
lastName: string;
|
|
2480
2480
|
rank: string;
|
|
2481
2481
|
email: string;
|
|
2482
|
-
_id:
|
|
2482
|
+
_id: string;
|
|
2483
2483
|
tickets: {
|
|
2484
2484
|
amount: number;
|
|
2485
2485
|
ticket: {
|
|
@@ -2533,7 +2533,7 @@ declare const zEventTicketRegResponse: z.ZodObject<{
|
|
|
2533
2533
|
description: z.ZodOptional<z.ZodString>;
|
|
2534
2534
|
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2535
2535
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2536
|
-
_id: z.
|
|
2536
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2537
2537
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2538
2538
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2539
2539
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2620,7 +2620,7 @@ declare const zMEventTicket: z.ZodObject<{
|
|
|
2620
2620
|
description: z.ZodOptional<z.ZodString>;
|
|
2621
2621
|
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2622
2622
|
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2623
|
-
_id: z.
|
|
2623
|
+
_id: z.ZodUnion<[z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>, z.ZodString]>;
|
|
2624
2624
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2625
2625
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2626
2626
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2642,8 +2642,37 @@ declare const zMEventTicket: z.ZodObject<{
|
|
|
2642
2642
|
createdAt?: Date | undefined;
|
|
2643
2643
|
updatedAt?: Date | undefined;
|
|
2644
2644
|
}>;
|
|
2645
|
+
declare const zMEventTicketResponse: z.ZodObject<{
|
|
2646
|
+
price: z.ZodNumber;
|
|
2647
|
+
name: z.ZodString;
|
|
2648
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2649
|
+
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
2650
|
+
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
2651
|
+
_id: z.ZodString;
|
|
2652
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2653
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2654
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
2655
|
+
_id: string;
|
|
2656
|
+
price: number;
|
|
2657
|
+
name: string;
|
|
2658
|
+
description?: string | undefined;
|
|
2659
|
+
isNotBuyable?: boolean | undefined;
|
|
2660
|
+
lastBuyableDate?: Date | undefined;
|
|
2661
|
+
createdAt?: Date | undefined;
|
|
2662
|
+
updatedAt?: Date | undefined;
|
|
2663
|
+
}, {
|
|
2664
|
+
_id: string;
|
|
2665
|
+
price: number;
|
|
2666
|
+
name: string;
|
|
2667
|
+
description?: string | undefined;
|
|
2668
|
+
isNotBuyable?: boolean | undefined;
|
|
2669
|
+
lastBuyableDate?: Date | undefined;
|
|
2670
|
+
createdAt?: Date | undefined;
|
|
2671
|
+
updatedAt?: Date | undefined;
|
|
2672
|
+
}>;
|
|
2645
2673
|
type EventTicket = z.infer<typeof zEventTicket>;
|
|
2646
2674
|
type MEventTicket = z.infer<typeof zMEventTicket>;
|
|
2675
|
+
type MEventTicketResponse = z.infer<typeof zMEventTicketResponse>;
|
|
2647
2676
|
|
|
2648
2677
|
declare enum GoRank {
|
|
2649
2678
|
KYU1 = "1k",
|
|
@@ -2730,7 +2759,7 @@ declare const zMUser: z.ZodObject<{
|
|
|
2730
2759
|
country: z.ZodOptional<z.ZodString>;
|
|
2731
2760
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2732
2761
|
birthDate: z.ZodOptional<z.ZodString>;
|
|
2733
|
-
_id: z.
|
|
2762
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2734
2763
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2735
2764
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2736
2765
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2809,7 +2838,7 @@ declare const zMStudent: z.ZodObject<{
|
|
|
2809
2838
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
2810
2839
|
birthDate: z.ZodOptional<z.ZodString>;
|
|
2811
2840
|
guardian: z.ZodOptional<z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>>;
|
|
2812
|
-
_id: z.
|
|
2841
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2813
2842
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2814
2843
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2815
2844
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2904,7 +2933,7 @@ declare const zMTeacher: z.ZodObject<{
|
|
|
2904
2933
|
birthDate: z.ZodOptional<z.ZodString>;
|
|
2905
2934
|
isInactive: z.ZodOptional<z.ZodBoolean>;
|
|
2906
2935
|
available: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">>;
|
|
2907
|
-
_id: z.
|
|
2936
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
2908
2937
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
2909
2938
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
2910
2939
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -2966,4 +2995,4 @@ declare const zUserRoles: z.ZodObject<{
|
|
|
2966
2995
|
}>;
|
|
2967
2996
|
type UserRoles = z.infer<typeof zUserRoles>;
|
|
2968
2997
|
|
|
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,
|
|
2998
|
+
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 MEventTicketResponse, 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, zMEventConfigResponse, zMEventReg, zMEventRegResponse, zMEventTicket, zMEventTicketResponse, zMGroupBooking, zMGroupTracker, zMInvoice, zMPrivateBooking, zMReportTicket, zMSemester, zMStudent, zMTeacher, zMTeacherPayment, zMUser, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|