@nyig/models 0.2.44 → 0.2.46
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 +15 -0
- package/index.d.ts +15 -0
- package/index.js +2 -0
- package/index.mjs +2 -0
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -642,6 +642,7 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
642
642
|
* attendances are tracked by week for camps
|
|
643
643
|
*/
|
|
644
644
|
attendances: z.ZodArray<z.ZodString, "many">;
|
|
645
|
+
publicDescription: z.ZodOptional<z.ZodString>;
|
|
645
646
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
646
647
|
notes: z.ZodOptional<z.ZodString>;
|
|
647
648
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -650,6 +651,7 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
650
651
|
semester: string;
|
|
651
652
|
occurrences: string[];
|
|
652
653
|
attendances: string[];
|
|
654
|
+
publicDescription?: string | undefined;
|
|
653
655
|
isNonPublic?: boolean | undefined;
|
|
654
656
|
notes?: string | undefined;
|
|
655
657
|
}, {
|
|
@@ -658,6 +660,7 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
658
660
|
semester: string;
|
|
659
661
|
occurrences: string[];
|
|
660
662
|
attendances: string[];
|
|
663
|
+
publicDescription?: string | undefined;
|
|
661
664
|
isNonPublic?: boolean | undefined;
|
|
662
665
|
notes?: string | undefined;
|
|
663
666
|
}>;
|
|
@@ -668,6 +671,7 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
668
671
|
semester: z.ZodString;
|
|
669
672
|
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
670
673
|
attendances: z.ZodArray<z.ZodString, "many">;
|
|
674
|
+
publicDescription: z.ZodOptional<z.ZodString>;
|
|
671
675
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
672
676
|
_id: z.ZodString;
|
|
673
677
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -681,6 +685,7 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
681
685
|
occurrences: string[];
|
|
682
686
|
attendances: string[];
|
|
683
687
|
notes?: string | undefined;
|
|
688
|
+
publicDescription?: string | undefined;
|
|
684
689
|
isNonPublic?: boolean | undefined;
|
|
685
690
|
editedBy?: string | undefined;
|
|
686
691
|
createdAt?: string | undefined;
|
|
@@ -693,6 +698,7 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
693
698
|
occurrences: string[];
|
|
694
699
|
attendances: string[];
|
|
695
700
|
notes?: string | undefined;
|
|
701
|
+
publicDescription?: string | undefined;
|
|
696
702
|
isNonPublic?: boolean | undefined;
|
|
697
703
|
editedBy?: string | undefined;
|
|
698
704
|
createdAt?: string | undefined;
|
|
@@ -1640,6 +1646,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1640
1646
|
textbook: z.ZodOptional<z.ZodNumber>;
|
|
1641
1647
|
shipping: z.ZodOptional<z.ZodNumber>;
|
|
1642
1648
|
paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
|
|
1649
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1643
1650
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1644
1651
|
createdBy: z.ZodString;
|
|
1645
1652
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1661,6 +1668,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1661
1668
|
textbook?: number | undefined;
|
|
1662
1669
|
shipping?: number | undefined;
|
|
1663
1670
|
paid?: PaymentMethod | undefined;
|
|
1671
|
+
showEin?: boolean | undefined;
|
|
1664
1672
|
notes?: string | undefined;
|
|
1665
1673
|
lastEditBy?: string | undefined;
|
|
1666
1674
|
}, {
|
|
@@ -1681,6 +1689,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1681
1689
|
textbook?: number | undefined;
|
|
1682
1690
|
shipping?: number | undefined;
|
|
1683
1691
|
paid?: PaymentMethod | undefined;
|
|
1692
|
+
showEin?: boolean | undefined;
|
|
1684
1693
|
notes?: string | undefined;
|
|
1685
1694
|
lastEditBy?: string | undefined;
|
|
1686
1695
|
}>;
|
|
@@ -1730,6 +1739,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1730
1739
|
desc: string;
|
|
1731
1740
|
amount: number;
|
|
1732
1741
|
}>, "many">;
|
|
1742
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1733
1743
|
createdBy: z.ZodString;
|
|
1734
1744
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
1735
1745
|
_id: z.ZodString;
|
|
@@ -1756,6 +1766,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1756
1766
|
textbook?: number | undefined;
|
|
1757
1767
|
shipping?: number | undefined;
|
|
1758
1768
|
paid?: PaymentMethod | undefined;
|
|
1769
|
+
showEin?: boolean | undefined;
|
|
1759
1770
|
lastEditBy?: string | undefined;
|
|
1760
1771
|
editedBy?: string | undefined;
|
|
1761
1772
|
createdAt?: string | undefined;
|
|
@@ -1780,6 +1791,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1780
1791
|
textbook?: number | undefined;
|
|
1781
1792
|
shipping?: number | undefined;
|
|
1782
1793
|
paid?: PaymentMethod | undefined;
|
|
1794
|
+
showEin?: boolean | undefined;
|
|
1783
1795
|
lastEditBy?: string | undefined;
|
|
1784
1796
|
editedBy?: string | undefined;
|
|
1785
1797
|
createdAt?: string | undefined;
|
|
@@ -1805,6 +1817,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1805
1817
|
desc: string;
|
|
1806
1818
|
amount: number;
|
|
1807
1819
|
}>, "many">;
|
|
1820
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1808
1821
|
createdBy: z.ZodObject<{
|
|
1809
1822
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1810
1823
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -2089,6 +2102,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2089
2102
|
createdAt?: string | undefined;
|
|
2090
2103
|
updatedAt?: string | undefined;
|
|
2091
2104
|
paid?: PaymentMethod | undefined;
|
|
2105
|
+
showEin?: boolean | undefined;
|
|
2092
2106
|
lastEditBy?: {
|
|
2093
2107
|
rank: GoRank;
|
|
2094
2108
|
_id: string;
|
|
@@ -2167,6 +2181,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2167
2181
|
createdAt?: string | undefined;
|
|
2168
2182
|
updatedAt?: string | undefined;
|
|
2169
2183
|
paid?: PaymentMethod | undefined;
|
|
2184
|
+
showEin?: boolean | undefined;
|
|
2170
2185
|
lastEditBy?: {
|
|
2171
2186
|
rank: GoRank;
|
|
2172
2187
|
_id: string;
|
package/index.d.ts
CHANGED
|
@@ -642,6 +642,7 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
642
642
|
* attendances are tracked by week for camps
|
|
643
643
|
*/
|
|
644
644
|
attendances: z.ZodArray<z.ZodString, "many">;
|
|
645
|
+
publicDescription: z.ZodOptional<z.ZodString>;
|
|
645
646
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
646
647
|
notes: z.ZodOptional<z.ZodString>;
|
|
647
648
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -650,6 +651,7 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
650
651
|
semester: string;
|
|
651
652
|
occurrences: string[];
|
|
652
653
|
attendances: string[];
|
|
654
|
+
publicDescription?: string | undefined;
|
|
653
655
|
isNonPublic?: boolean | undefined;
|
|
654
656
|
notes?: string | undefined;
|
|
655
657
|
}, {
|
|
@@ -658,6 +660,7 @@ declare const zBCampTracker: z.ZodObject<{
|
|
|
658
660
|
semester: string;
|
|
659
661
|
occurrences: string[];
|
|
660
662
|
attendances: string[];
|
|
663
|
+
publicDescription?: string | undefined;
|
|
661
664
|
isNonPublic?: boolean | undefined;
|
|
662
665
|
notes?: string | undefined;
|
|
663
666
|
}>;
|
|
@@ -668,6 +671,7 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
668
671
|
semester: z.ZodString;
|
|
669
672
|
occurrences: z.ZodArray<z.ZodString, "many">;
|
|
670
673
|
attendances: z.ZodArray<z.ZodString, "many">;
|
|
674
|
+
publicDescription: z.ZodOptional<z.ZodString>;
|
|
671
675
|
isNonPublic: z.ZodOptional<z.ZodBoolean>;
|
|
672
676
|
_id: z.ZodString;
|
|
673
677
|
editedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -681,6 +685,7 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
681
685
|
occurrences: string[];
|
|
682
686
|
attendances: string[];
|
|
683
687
|
notes?: string | undefined;
|
|
688
|
+
publicDescription?: string | undefined;
|
|
684
689
|
isNonPublic?: boolean | undefined;
|
|
685
690
|
editedBy?: string | undefined;
|
|
686
691
|
createdAt?: string | undefined;
|
|
@@ -693,6 +698,7 @@ declare const zCampTracker: z.ZodObject<{
|
|
|
693
698
|
occurrences: string[];
|
|
694
699
|
attendances: string[];
|
|
695
700
|
notes?: string | undefined;
|
|
701
|
+
publicDescription?: string | undefined;
|
|
696
702
|
isNonPublic?: boolean | undefined;
|
|
697
703
|
editedBy?: string | undefined;
|
|
698
704
|
createdAt?: string | undefined;
|
|
@@ -1640,6 +1646,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1640
1646
|
textbook: z.ZodOptional<z.ZodNumber>;
|
|
1641
1647
|
shipping: z.ZodOptional<z.ZodNumber>;
|
|
1642
1648
|
paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
|
|
1649
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1643
1650
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1644
1651
|
createdBy: z.ZodString;
|
|
1645
1652
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1661,6 +1668,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1661
1668
|
textbook?: number | undefined;
|
|
1662
1669
|
shipping?: number | undefined;
|
|
1663
1670
|
paid?: PaymentMethod | undefined;
|
|
1671
|
+
showEin?: boolean | undefined;
|
|
1664
1672
|
notes?: string | undefined;
|
|
1665
1673
|
lastEditBy?: string | undefined;
|
|
1666
1674
|
}, {
|
|
@@ -1681,6 +1689,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1681
1689
|
textbook?: number | undefined;
|
|
1682
1690
|
shipping?: number | undefined;
|
|
1683
1691
|
paid?: PaymentMethod | undefined;
|
|
1692
|
+
showEin?: boolean | undefined;
|
|
1684
1693
|
notes?: string | undefined;
|
|
1685
1694
|
lastEditBy?: string | undefined;
|
|
1686
1695
|
}>;
|
|
@@ -1730,6 +1739,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1730
1739
|
desc: string;
|
|
1731
1740
|
amount: number;
|
|
1732
1741
|
}>, "many">;
|
|
1742
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1733
1743
|
createdBy: z.ZodString;
|
|
1734
1744
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
1735
1745
|
_id: z.ZodString;
|
|
@@ -1756,6 +1766,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1756
1766
|
textbook?: number | undefined;
|
|
1757
1767
|
shipping?: number | undefined;
|
|
1758
1768
|
paid?: PaymentMethod | undefined;
|
|
1769
|
+
showEin?: boolean | undefined;
|
|
1759
1770
|
lastEditBy?: string | undefined;
|
|
1760
1771
|
editedBy?: string | undefined;
|
|
1761
1772
|
createdAt?: string | undefined;
|
|
@@ -1780,6 +1791,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1780
1791
|
textbook?: number | undefined;
|
|
1781
1792
|
shipping?: number | undefined;
|
|
1782
1793
|
paid?: PaymentMethod | undefined;
|
|
1794
|
+
showEin?: boolean | undefined;
|
|
1783
1795
|
lastEditBy?: string | undefined;
|
|
1784
1796
|
editedBy?: string | undefined;
|
|
1785
1797
|
createdAt?: string | undefined;
|
|
@@ -1805,6 +1817,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1805
1817
|
desc: string;
|
|
1806
1818
|
amount: number;
|
|
1807
1819
|
}>, "many">;
|
|
1820
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1808
1821
|
createdBy: z.ZodObject<{
|
|
1809
1822
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1810
1823
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -2089,6 +2102,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2089
2102
|
createdAt?: string | undefined;
|
|
2090
2103
|
updatedAt?: string | undefined;
|
|
2091
2104
|
paid?: PaymentMethod | undefined;
|
|
2105
|
+
showEin?: boolean | undefined;
|
|
2092
2106
|
lastEditBy?: {
|
|
2093
2107
|
rank: GoRank;
|
|
2094
2108
|
_id: string;
|
|
@@ -2167,6 +2181,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2167
2181
|
createdAt?: string | undefined;
|
|
2168
2182
|
updatedAt?: string | undefined;
|
|
2169
2183
|
paid?: PaymentMethod | undefined;
|
|
2184
|
+
showEin?: boolean | undefined;
|
|
2170
2185
|
lastEditBy?: {
|
|
2171
2186
|
rank: GoRank;
|
|
2172
2187
|
_id: string;
|
package/index.js
CHANGED
|
@@ -311,6 +311,7 @@ var zBCampTracker = import_zod8.z.object({
|
|
|
311
311
|
* attendances are tracked by week for camps
|
|
312
312
|
*/
|
|
313
313
|
attendances: import_zod8.z.array(import_zod8.z.string()),
|
|
314
|
+
publicDescription: import_zod8.z.string().optional(),
|
|
314
315
|
isNonPublic: import_zod8.z.boolean().optional(),
|
|
315
316
|
notes: import_zod8.z.string().optional()
|
|
316
317
|
});
|
|
@@ -355,6 +356,7 @@ var zBInvoice = import_zod9.z.object({
|
|
|
355
356
|
textbook: import_zod9.z.coerce.number().int().min(0).optional(),
|
|
356
357
|
shipping: import_zod9.z.coerce.number().int().min(0).optional(),
|
|
357
358
|
paid: import_zod9.z.nativeEnum(PaymentMethod).optional(),
|
|
359
|
+
showEin: import_zod9.z.boolean().optional(),
|
|
358
360
|
notes: import_zod9.z.string().or(import_zod9.z.literal("")).optional(),
|
|
359
361
|
createdBy: import_zod9.z.string(),
|
|
360
362
|
lastEditBy: import_zod9.z.string().optional()
|
package/index.mjs
CHANGED
|
@@ -217,6 +217,7 @@ var zBCampTracker = z8.object({
|
|
|
217
217
|
* attendances are tracked by week for camps
|
|
218
218
|
*/
|
|
219
219
|
attendances: z8.array(z8.string()),
|
|
220
|
+
publicDescription: z8.string().optional(),
|
|
220
221
|
isNonPublic: z8.boolean().optional(),
|
|
221
222
|
notes: z8.string().optional()
|
|
222
223
|
});
|
|
@@ -261,6 +262,7 @@ var zBInvoice = z9.object({
|
|
|
261
262
|
textbook: z9.coerce.number().int().min(0).optional(),
|
|
262
263
|
shipping: z9.coerce.number().int().min(0).optional(),
|
|
263
264
|
paid: z9.nativeEnum(PaymentMethod).optional(),
|
|
265
|
+
showEin: z9.boolean().optional(),
|
|
264
266
|
notes: z9.string().or(z9.literal("")).optional(),
|
|
265
267
|
createdBy: z9.string(),
|
|
266
268
|
lastEditBy: z9.string().optional()
|