@nyig/models 0.5.1 → 0.5.2
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
|
@@ -3516,6 +3516,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
3516
3516
|
paidAt: z.ZodOptional<z.ZodString>;
|
|
3517
3517
|
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
3518
3518
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3519
|
+
feeLabel: z.ZodOptional<z.ZodString>;
|
|
3519
3520
|
createdBy: z.ZodString;
|
|
3520
3521
|
}, "strip", z.ZodTypeAny, {
|
|
3521
3522
|
billTo: string;
|
|
@@ -3538,6 +3539,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
3538
3539
|
paid?: PaymentMethod | undefined;
|
|
3539
3540
|
paidAt?: string | undefined;
|
|
3540
3541
|
showEin?: boolean | undefined;
|
|
3542
|
+
feeLabel?: string | undefined;
|
|
3541
3543
|
}, {
|
|
3542
3544
|
billTo: string;
|
|
3543
3545
|
packages: {
|
|
@@ -3559,6 +3561,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
3559
3561
|
paid?: PaymentMethod | undefined;
|
|
3560
3562
|
paidAt?: string | undefined;
|
|
3561
3563
|
showEin?: boolean | undefined;
|
|
3564
|
+
feeLabel?: string | undefined;
|
|
3562
3565
|
}>;
|
|
3563
3566
|
declare const zInvoice: z.ZodObject<{
|
|
3564
3567
|
billTo: z.ZodString;
|
|
@@ -3608,6 +3611,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
3608
3611
|
paidAt: z.ZodOptional<z.ZodString>;
|
|
3609
3612
|
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
3610
3613
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3614
|
+
feeLabel: z.ZodOptional<z.ZodString>;
|
|
3611
3615
|
createdBy: z.ZodString;
|
|
3612
3616
|
} & {
|
|
3613
3617
|
_id: z.ZodString;
|
|
@@ -3639,6 +3643,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
3639
3643
|
paid?: PaymentMethod | undefined;
|
|
3640
3644
|
paidAt?: string | undefined;
|
|
3641
3645
|
showEin?: boolean | undefined;
|
|
3646
|
+
feeLabel?: string | undefined;
|
|
3642
3647
|
}, {
|
|
3643
3648
|
_id: string;
|
|
3644
3649
|
billTo: string;
|
|
@@ -3664,6 +3669,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
3664
3669
|
paid?: PaymentMethod | undefined;
|
|
3665
3670
|
paidAt?: string | undefined;
|
|
3666
3671
|
showEin?: boolean | undefined;
|
|
3672
|
+
feeLabel?: string | undefined;
|
|
3667
3673
|
}>;
|
|
3668
3674
|
declare const zInvoiceResponse: z.ZodObject<{
|
|
3669
3675
|
billTo: z.ZodString;
|
|
@@ -3683,6 +3689,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
3683
3689
|
paidAt: z.ZodOptional<z.ZodString>;
|
|
3684
3690
|
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
3685
3691
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3692
|
+
feeLabel: z.ZodOptional<z.ZodString>;
|
|
3686
3693
|
_id: z.ZodString;
|
|
3687
3694
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3688
3695
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -4109,6 +4116,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
4109
4116
|
paid?: PaymentMethod | undefined;
|
|
4110
4117
|
paidAt?: string | undefined;
|
|
4111
4118
|
showEin?: boolean | undefined;
|
|
4119
|
+
feeLabel?: string | undefined;
|
|
4112
4120
|
}, {
|
|
4113
4121
|
_id: string;
|
|
4114
4122
|
billTo: string;
|
|
@@ -4207,6 +4215,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
4207
4215
|
paid?: PaymentMethod | undefined;
|
|
4208
4216
|
paidAt?: string | undefined;
|
|
4209
4217
|
showEin?: boolean | undefined;
|
|
4218
|
+
feeLabel?: string | undefined;
|
|
4210
4219
|
}>;
|
|
4211
4220
|
type Discount = z.infer<typeof zDiscount>;
|
|
4212
4221
|
type InvoiceItem = z.infer<typeof zInvoiceItem>;
|
package/index.d.ts
CHANGED
|
@@ -3516,6 +3516,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
3516
3516
|
paidAt: z.ZodOptional<z.ZodString>;
|
|
3517
3517
|
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
3518
3518
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3519
|
+
feeLabel: z.ZodOptional<z.ZodString>;
|
|
3519
3520
|
createdBy: z.ZodString;
|
|
3520
3521
|
}, "strip", z.ZodTypeAny, {
|
|
3521
3522
|
billTo: string;
|
|
@@ -3538,6 +3539,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
3538
3539
|
paid?: PaymentMethod | undefined;
|
|
3539
3540
|
paidAt?: string | undefined;
|
|
3540
3541
|
showEin?: boolean | undefined;
|
|
3542
|
+
feeLabel?: string | undefined;
|
|
3541
3543
|
}, {
|
|
3542
3544
|
billTo: string;
|
|
3543
3545
|
packages: {
|
|
@@ -3559,6 +3561,7 @@ declare const zBInvoice: z.ZodObject<{
|
|
|
3559
3561
|
paid?: PaymentMethod | undefined;
|
|
3560
3562
|
paidAt?: string | undefined;
|
|
3561
3563
|
showEin?: boolean | undefined;
|
|
3564
|
+
feeLabel?: string | undefined;
|
|
3562
3565
|
}>;
|
|
3563
3566
|
declare const zInvoice: z.ZodObject<{
|
|
3564
3567
|
billTo: z.ZodString;
|
|
@@ -3608,6 +3611,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
3608
3611
|
paidAt: z.ZodOptional<z.ZodString>;
|
|
3609
3612
|
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
3610
3613
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3614
|
+
feeLabel: z.ZodOptional<z.ZodString>;
|
|
3611
3615
|
createdBy: z.ZodString;
|
|
3612
3616
|
} & {
|
|
3613
3617
|
_id: z.ZodString;
|
|
@@ -3639,6 +3643,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
3639
3643
|
paid?: PaymentMethod | undefined;
|
|
3640
3644
|
paidAt?: string | undefined;
|
|
3641
3645
|
showEin?: boolean | undefined;
|
|
3646
|
+
feeLabel?: string | undefined;
|
|
3642
3647
|
}, {
|
|
3643
3648
|
_id: string;
|
|
3644
3649
|
billTo: string;
|
|
@@ -3664,6 +3669,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
3664
3669
|
paid?: PaymentMethod | undefined;
|
|
3665
3670
|
paidAt?: string | undefined;
|
|
3666
3671
|
showEin?: boolean | undefined;
|
|
3672
|
+
feeLabel?: string | undefined;
|
|
3667
3673
|
}>;
|
|
3668
3674
|
declare const zInvoiceResponse: z.ZodObject<{
|
|
3669
3675
|
billTo: z.ZodString;
|
|
@@ -3683,6 +3689,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
3683
3689
|
paidAt: z.ZodOptional<z.ZodString>;
|
|
3684
3690
|
showEin: z.ZodOptional<z.ZodBoolean>;
|
|
3685
3691
|
notes: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
3692
|
+
feeLabel: z.ZodOptional<z.ZodString>;
|
|
3686
3693
|
_id: z.ZodString;
|
|
3687
3694
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3688
3695
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -4109,6 +4116,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
4109
4116
|
paid?: PaymentMethod | undefined;
|
|
4110
4117
|
paidAt?: string | undefined;
|
|
4111
4118
|
showEin?: boolean | undefined;
|
|
4119
|
+
feeLabel?: string | undefined;
|
|
4112
4120
|
}, {
|
|
4113
4121
|
_id: string;
|
|
4114
4122
|
billTo: string;
|
|
@@ -4207,6 +4215,7 @@ declare const zInvoiceResponse: z.ZodObject<{
|
|
|
4207
4215
|
paid?: PaymentMethod | undefined;
|
|
4208
4216
|
paidAt?: string | undefined;
|
|
4209
4217
|
showEin?: boolean | undefined;
|
|
4218
|
+
feeLabel?: string | undefined;
|
|
4210
4219
|
}>;
|
|
4211
4220
|
type Discount = z.infer<typeof zDiscount>;
|
|
4212
4221
|
type InvoiceItem = z.infer<typeof zInvoiceItem>;
|
package/index.js
CHANGED
|
@@ -682,6 +682,7 @@ var zBInvoice = import_zod22.z.object({
|
|
|
682
682
|
paidAt: import_zod22.z.string().optional(),
|
|
683
683
|
showEin: import_zod22.z.boolean().optional(),
|
|
684
684
|
notes: import_zod22.z.string().or(import_zod22.z.literal("")).optional(),
|
|
685
|
+
feeLabel: import_zod22.z.string().optional(),
|
|
685
686
|
createdBy: import_zod22.z.string()
|
|
686
687
|
});
|
|
687
688
|
var zInvoice = addAutoProps(zBInvoice);
|
package/index.mjs
CHANGED
|
@@ -574,6 +574,7 @@ var zBInvoice = z22.object({
|
|
|
574
574
|
paidAt: z22.string().optional(),
|
|
575
575
|
showEin: z22.boolean().optional(),
|
|
576
576
|
notes: z22.string().or(z22.literal("")).optional(),
|
|
577
|
+
feeLabel: z22.string().optional(),
|
|
577
578
|
createdBy: z22.string()
|
|
578
579
|
});
|
|
579
580
|
var zInvoice = addAutoProps(zBInvoice);
|