@nyig/models 0.2.43 → 0.2.45
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 +9 -0
- package/index.d.ts +9 -0
- package/index.js +1 -0
- package/index.mjs +1 -0
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -1508,6 +1508,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1508
1508
|
textbook: z.ZodOptional<z.ZodNumber>;
|
|
1509
1509
|
shipping: z.ZodOptional<z.ZodNumber>;
|
|
1510
1510
|
paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
|
|
1511
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1511
1512
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1512
1513
|
createdBy: z.ZodString;
|
|
1513
1514
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1529,6 +1530,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1529
1530
|
textbook?: number | undefined;
|
|
1530
1531
|
shipping?: number | undefined;
|
|
1531
1532
|
paid?: PaymentMethod | undefined;
|
|
1533
|
+
showEin?: boolean | undefined;
|
|
1532
1534
|
notes?: string | undefined;
|
|
1533
1535
|
lastEditBy?: string | undefined;
|
|
1534
1536
|
}, {
|
|
@@ -1549,6 +1551,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1549
1551
|
textbook?: number | undefined;
|
|
1550
1552
|
shipping?: number | undefined;
|
|
1551
1553
|
paid?: PaymentMethod | undefined;
|
|
1554
|
+
showEin?: boolean | undefined;
|
|
1552
1555
|
notes?: string | undefined;
|
|
1553
1556
|
lastEditBy?: string | undefined;
|
|
1554
1557
|
}>;
|
|
@@ -1598,6 +1601,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1598
1601
|
desc: string;
|
|
1599
1602
|
amount: number;
|
|
1600
1603
|
}>, "many">;
|
|
1604
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1601
1605
|
createdBy: z.ZodString;
|
|
1602
1606
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
1603
1607
|
_id: z.ZodString;
|
|
@@ -1624,6 +1628,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1624
1628
|
textbook?: number | undefined;
|
|
1625
1629
|
shipping?: number | undefined;
|
|
1626
1630
|
paid?: PaymentMethod | undefined;
|
|
1631
|
+
showEin?: boolean | undefined;
|
|
1627
1632
|
lastEditBy?: string | undefined;
|
|
1628
1633
|
editedBy?: string | undefined;
|
|
1629
1634
|
createdAt?: string | undefined;
|
|
@@ -1648,6 +1653,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1648
1653
|
textbook?: number | undefined;
|
|
1649
1654
|
shipping?: number | undefined;
|
|
1650
1655
|
paid?: PaymentMethod | undefined;
|
|
1656
|
+
showEin?: boolean | undefined;
|
|
1651
1657
|
lastEditBy?: string | undefined;
|
|
1652
1658
|
editedBy?: string | undefined;
|
|
1653
1659
|
createdAt?: string | undefined;
|
|
@@ -1673,6 +1679,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1673
1679
|
desc: string;
|
|
1674
1680
|
amount: number;
|
|
1675
1681
|
}>, "many">;
|
|
1682
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1676
1683
|
createdBy: z.ZodObject<{
|
|
1677
1684
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1678
1685
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -1957,6 +1964,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1957
1964
|
createdAt?: string | undefined;
|
|
1958
1965
|
updatedAt?: string | undefined;
|
|
1959
1966
|
paid?: PaymentMethod | undefined;
|
|
1967
|
+
showEin?: boolean | undefined;
|
|
1960
1968
|
lastEditBy?: {
|
|
1961
1969
|
rank: GoRank;
|
|
1962
1970
|
_id: string;
|
|
@@ -2035,6 +2043,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2035
2043
|
createdAt?: string | undefined;
|
|
2036
2044
|
updatedAt?: string | undefined;
|
|
2037
2045
|
paid?: PaymentMethod | undefined;
|
|
2046
|
+
showEin?: boolean | undefined;
|
|
2038
2047
|
lastEditBy?: {
|
|
2039
2048
|
rank: GoRank;
|
|
2040
2049
|
_id: string;
|
package/index.d.ts
CHANGED
|
@@ -1508,6 +1508,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1508
1508
|
textbook: z.ZodOptional<z.ZodNumber>;
|
|
1509
1509
|
shipping: z.ZodOptional<z.ZodNumber>;
|
|
1510
1510
|
paid: z.ZodOptional<z.ZodNativeEnum<typeof PaymentMethod>>;
|
|
1511
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1511
1512
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1512
1513
|
createdBy: z.ZodString;
|
|
1513
1514
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1529,6 +1530,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1529
1530
|
textbook?: number | undefined;
|
|
1530
1531
|
shipping?: number | undefined;
|
|
1531
1532
|
paid?: PaymentMethod | undefined;
|
|
1533
|
+
showEin?: boolean | undefined;
|
|
1532
1534
|
notes?: string | undefined;
|
|
1533
1535
|
lastEditBy?: string | undefined;
|
|
1534
1536
|
}, {
|
|
@@ -1549,6 +1551,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
1549
1551
|
textbook?: number | undefined;
|
|
1550
1552
|
shipping?: number | undefined;
|
|
1551
1553
|
paid?: PaymentMethod | undefined;
|
|
1554
|
+
showEin?: boolean | undefined;
|
|
1552
1555
|
notes?: string | undefined;
|
|
1553
1556
|
lastEditBy?: string | undefined;
|
|
1554
1557
|
}>;
|
|
@@ -1598,6 +1601,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1598
1601
|
desc: string;
|
|
1599
1602
|
amount: number;
|
|
1600
1603
|
}>, "many">;
|
|
1604
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1601
1605
|
createdBy: z.ZodString;
|
|
1602
1606
|
lastEditBy: z.ZodOptional<z.ZodString>;
|
|
1603
1607
|
_id: z.ZodString;
|
|
@@ -1624,6 +1628,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1624
1628
|
textbook?: number | undefined;
|
|
1625
1629
|
shipping?: number | undefined;
|
|
1626
1630
|
paid?: PaymentMethod | undefined;
|
|
1631
|
+
showEin?: boolean | undefined;
|
|
1627
1632
|
lastEditBy?: string | undefined;
|
|
1628
1633
|
editedBy?: string | undefined;
|
|
1629
1634
|
createdAt?: string | undefined;
|
|
@@ -1648,6 +1653,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1648
1653
|
textbook?: number | undefined;
|
|
1649
1654
|
shipping?: number | undefined;
|
|
1650
1655
|
paid?: PaymentMethod | undefined;
|
|
1656
|
+
showEin?: boolean | undefined;
|
|
1651
1657
|
lastEditBy?: string | undefined;
|
|
1652
1658
|
editedBy?: string | undefined;
|
|
1653
1659
|
createdAt?: string | undefined;
|
|
@@ -1673,6 +1679,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1673
1679
|
desc: string;
|
|
1674
1680
|
amount: number;
|
|
1675
1681
|
}>, "many">;
|
|
1682
|
+
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
1676
1683
|
createdBy: z.ZodObject<{
|
|
1677
1684
|
rank: z.ZodNativeEnum<typeof GoRank>;
|
|
1678
1685
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -1957,6 +1964,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
1957
1964
|
createdAt?: string | undefined;
|
|
1958
1965
|
updatedAt?: string | undefined;
|
|
1959
1966
|
paid?: PaymentMethod | undefined;
|
|
1967
|
+
showEin?: boolean | undefined;
|
|
1960
1968
|
lastEditBy?: {
|
|
1961
1969
|
rank: GoRank;
|
|
1962
1970
|
_id: string;
|
|
@@ -2035,6 +2043,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
2035
2043
|
createdAt?: string | undefined;
|
|
2036
2044
|
updatedAt?: string | undefined;
|
|
2037
2045
|
paid?: PaymentMethod | undefined;
|
|
2046
|
+
showEin?: boolean | undefined;
|
|
2038
2047
|
lastEditBy?: {
|
|
2039
2048
|
rank: GoRank;
|
|
2040
2049
|
_id: string;
|
package/index.js
CHANGED
|
@@ -351,6 +351,7 @@ var zBInvoice = import_zod9.z.object({
|
|
|
351
351
|
textbook: import_zod9.z.coerce.number().int().min(0).optional(),
|
|
352
352
|
shipping: import_zod9.z.coerce.number().int().min(0).optional(),
|
|
353
353
|
paid: import_zod9.z.nativeEnum(PaymentMethod).optional(),
|
|
354
|
+
showEin: import_zod9.z.boolean().optional(),
|
|
354
355
|
notes: import_zod9.z.string().or(import_zod9.z.literal("")).optional(),
|
|
355
356
|
createdBy: import_zod9.z.string(),
|
|
356
357
|
lastEditBy: import_zod9.z.string().optional()
|
package/index.mjs
CHANGED
|
@@ -258,6 +258,7 @@ var zBInvoice = z9.object({
|
|
|
258
258
|
textbook: z9.coerce.number().int().min(0).optional(),
|
|
259
259
|
shipping: z9.coerce.number().int().min(0).optional(),
|
|
260
260
|
paid: z9.nativeEnum(PaymentMethod).optional(),
|
|
261
|
+
showEin: z9.boolean().optional(),
|
|
261
262
|
notes: z9.string().or(z9.literal("")).optional(),
|
|
262
263
|
createdBy: z9.string(),
|
|
263
264
|
lastEditBy: z9.string().optional()
|