@esb-market-contracts/backend 1.0.44 → 1.0.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/api.d.ts +56 -0
- package/package.json +1 -1
- package/types.d.ts +40 -0
package/api.d.ts
CHANGED
|
@@ -334,6 +334,7 @@ declare const productVariantsRouter: import("hono/hono-base").HonoBase<{
|
|
|
334
334
|
id: number;
|
|
335
335
|
productId: number;
|
|
336
336
|
measurementUnitId: number | null;
|
|
337
|
+
taxCategoryId: number | null;
|
|
337
338
|
status: "active" | "archived" | "draft";
|
|
338
339
|
sku: string | null;
|
|
339
340
|
barcode: string | null;
|
|
@@ -359,6 +360,7 @@ declare const productVariantsRouter: import("hono/hono-base").HonoBase<{
|
|
|
359
360
|
id: number;
|
|
360
361
|
productId: number;
|
|
361
362
|
measurementUnitId: number | null;
|
|
363
|
+
taxCategoryId: number | null;
|
|
362
364
|
status: "active" | "archived" | "draft";
|
|
363
365
|
sku: string | null;
|
|
364
366
|
barcode: string | null;
|
|
@@ -373,6 +375,7 @@ declare const productVariantsRouter: import("hono/hono-base").HonoBase<{
|
|
|
373
375
|
json: {
|
|
374
376
|
productId: number;
|
|
375
377
|
measurementUnitId?: number | null | undefined;
|
|
378
|
+
taxCategoryId?: number | null | undefined;
|
|
376
379
|
status?: "active" | "archived" | "draft" | undefined;
|
|
377
380
|
sku?: string | null | undefined;
|
|
378
381
|
barcode?: string | null | undefined;
|
|
@@ -389,6 +392,7 @@ declare const productVariantsRouter: import("hono/hono-base").HonoBase<{
|
|
|
389
392
|
id: number;
|
|
390
393
|
productId: number;
|
|
391
394
|
measurementUnitId: number | null;
|
|
395
|
+
taxCategoryId: number | null;
|
|
392
396
|
status: "active" | "archived" | "draft";
|
|
393
397
|
sku: string | null;
|
|
394
398
|
barcode: string | null;
|
|
@@ -425,6 +429,7 @@ declare const productVariantsRouter: import("hono/hono-base").HonoBase<{
|
|
|
425
429
|
input: {
|
|
426
430
|
json: {
|
|
427
431
|
measurementUnitId?: number | null | undefined;
|
|
432
|
+
taxCategoryId?: number | null | undefined;
|
|
428
433
|
status?: "active" | "archived" | "draft" | undefined;
|
|
429
434
|
sku?: string | null | undefined;
|
|
430
435
|
barcode?: string | null | undefined;
|
|
@@ -470,6 +475,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
|
|
|
470
475
|
}[];
|
|
471
476
|
categoryId: number | null;
|
|
472
477
|
brandId: number | null;
|
|
478
|
+
taxCategoryId: number | null;
|
|
473
479
|
updatedAt: Date | null;
|
|
474
480
|
createdAt: Date;
|
|
475
481
|
};
|
|
@@ -504,6 +510,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
|
|
|
504
510
|
}[];
|
|
505
511
|
categoryId: number | null;
|
|
506
512
|
brandId: number | null;
|
|
513
|
+
taxCategoryId: number | null;
|
|
507
514
|
updatedAt: Date | null;
|
|
508
515
|
createdAt: Date;
|
|
509
516
|
};
|
|
@@ -518,6 +525,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
|
|
|
518
525
|
description?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
519
526
|
categoryId?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
520
527
|
brandId?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
528
|
+
taxCategoryId?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
521
529
|
images?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
522
530
|
bannerImageIndex?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
523
531
|
};
|
|
@@ -541,6 +549,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
|
|
|
541
549
|
}[];
|
|
542
550
|
categoryId: number | null;
|
|
543
551
|
brandId: number | null;
|
|
552
|
+
taxCategoryId: number | null;
|
|
544
553
|
updatedAt: Date | null;
|
|
545
554
|
createdAt: Date;
|
|
546
555
|
}[];
|
|
@@ -579,6 +588,7 @@ declare const productsRouter: import("hono/hono-base").HonoBase<{
|
|
|
579
588
|
description?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
580
589
|
categoryId?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
581
590
|
brandId?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
591
|
+
taxCategoryId?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
582
592
|
images?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
583
593
|
bannerImageIndex?: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue | undefined;
|
|
584
594
|
productId: import("hono/types").ParsedFormValue[] | import("hono/types").ParsedFormValue;
|
|
@@ -709,12 +719,18 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
709
719
|
quantity: number | null;
|
|
710
720
|
unitCost: string | null;
|
|
711
721
|
unitCostBase: string | null;
|
|
722
|
+
supplierLotNumber: string | null;
|
|
723
|
+
expiresOn: string | null;
|
|
712
724
|
updatedAt: Date | null;
|
|
713
725
|
createdAt: Date;
|
|
714
726
|
product: {
|
|
715
727
|
id: number;
|
|
716
728
|
model: string | null;
|
|
717
729
|
name: Partial<Record<"en" | "ka" | "ru", string>> | null;
|
|
730
|
+
image: {
|
|
731
|
+
src: string;
|
|
732
|
+
isBanner: boolean;
|
|
733
|
+
} | null;
|
|
718
734
|
};
|
|
719
735
|
productVariant: {
|
|
720
736
|
id: number;
|
|
@@ -765,12 +781,18 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
765
781
|
quantity: number | null;
|
|
766
782
|
unitCost: string | null;
|
|
767
783
|
unitCostBase: string | null;
|
|
784
|
+
supplierLotNumber: string | null;
|
|
785
|
+
expiresOn: string | null;
|
|
768
786
|
updatedAt: Date | null;
|
|
769
787
|
createdAt: Date;
|
|
770
788
|
product: {
|
|
771
789
|
id: number;
|
|
772
790
|
model: string | null;
|
|
773
791
|
name: Partial<Record<"en" | "ka" | "ru", string>> | null;
|
|
792
|
+
image: {
|
|
793
|
+
src: string;
|
|
794
|
+
isBanner: boolean;
|
|
795
|
+
} | null;
|
|
774
796
|
};
|
|
775
797
|
productVariant: {
|
|
776
798
|
id: number;
|
|
@@ -898,12 +920,18 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
898
920
|
quantity: number | null;
|
|
899
921
|
unitCost: string | null;
|
|
900
922
|
unitCostBase: string | null;
|
|
923
|
+
supplierLotNumber: string | null;
|
|
924
|
+
expiresOn: string | null;
|
|
901
925
|
updatedAt: Date | null;
|
|
902
926
|
createdAt: Date;
|
|
903
927
|
product: {
|
|
904
928
|
id: number;
|
|
905
929
|
model: string | null;
|
|
906
930
|
name: Partial<Record<"en" | "ka" | "ru", string>> | null;
|
|
931
|
+
image: {
|
|
932
|
+
src: string;
|
|
933
|
+
isBanner: boolean;
|
|
934
|
+
} | null;
|
|
907
935
|
};
|
|
908
936
|
productVariant: {
|
|
909
937
|
id: number;
|
|
@@ -926,6 +954,8 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
926
954
|
deliveryId: number;
|
|
927
955
|
productVariantId: number;
|
|
928
956
|
unitCost: string | null;
|
|
957
|
+
supplierLotNumber?: string | null | undefined;
|
|
958
|
+
expiresOn?: string | null | undefined;
|
|
929
959
|
quantity?: number | undefined;
|
|
930
960
|
};
|
|
931
961
|
};
|
|
@@ -943,12 +973,18 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
943
973
|
quantity: number | null;
|
|
944
974
|
unitCost: string | null;
|
|
945
975
|
unitCostBase: string | null;
|
|
976
|
+
supplierLotNumber: string | null;
|
|
977
|
+
expiresOn: string | null;
|
|
946
978
|
updatedAt: Date | null;
|
|
947
979
|
createdAt: Date;
|
|
948
980
|
product: {
|
|
949
981
|
id: number;
|
|
950
982
|
model: string | null;
|
|
951
983
|
name: Partial<Record<"en" | "ka" | "ru", string>> | null;
|
|
984
|
+
image: {
|
|
985
|
+
src: string;
|
|
986
|
+
isBanner: boolean;
|
|
987
|
+
} | null;
|
|
952
988
|
};
|
|
953
989
|
productVariant: {
|
|
954
990
|
id: number;
|
|
@@ -972,12 +1008,18 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
972
1008
|
quantity: number | null;
|
|
973
1009
|
unitCost: string | null;
|
|
974
1010
|
unitCostBase: string | null;
|
|
1011
|
+
supplierLotNumber: string | null;
|
|
1012
|
+
expiresOn: string | null;
|
|
975
1013
|
updatedAt: Date | null;
|
|
976
1014
|
createdAt: Date;
|
|
977
1015
|
product: {
|
|
978
1016
|
id: number;
|
|
979
1017
|
model: string | null;
|
|
980
1018
|
name: Partial<Record<"en" | "ka" | "ru", string>> | null;
|
|
1019
|
+
image: {
|
|
1020
|
+
src: string;
|
|
1021
|
+
isBanner: boolean;
|
|
1022
|
+
} | null;
|
|
981
1023
|
};
|
|
982
1024
|
productVariant: {
|
|
983
1025
|
id: number;
|
|
@@ -1017,12 +1059,18 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1017
1059
|
quantity: number | null;
|
|
1018
1060
|
unitCost: string | null;
|
|
1019
1061
|
unitCostBase: string | null;
|
|
1062
|
+
supplierLotNumber: string | null;
|
|
1063
|
+
expiresOn: string | null;
|
|
1020
1064
|
updatedAt: Date | null;
|
|
1021
1065
|
createdAt: Date;
|
|
1022
1066
|
product: {
|
|
1023
1067
|
id: number;
|
|
1024
1068
|
model: string | null;
|
|
1025
1069
|
name: Partial<Record<"en" | "ka" | "ru", string>> | null;
|
|
1070
|
+
image: {
|
|
1071
|
+
src: string;
|
|
1072
|
+
isBanner: boolean;
|
|
1073
|
+
} | null;
|
|
1026
1074
|
};
|
|
1027
1075
|
productVariant: {
|
|
1028
1076
|
id: number;
|
|
@@ -1044,6 +1092,8 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1044
1092
|
json: {
|
|
1045
1093
|
quantity?: number | null | undefined;
|
|
1046
1094
|
unitCost?: string | null | undefined;
|
|
1095
|
+
supplierLotNumber?: string | null | undefined;
|
|
1096
|
+
expiresOn?: string | null | undefined;
|
|
1047
1097
|
deliveryItemId: number;
|
|
1048
1098
|
};
|
|
1049
1099
|
};
|
|
@@ -1060,12 +1110,18 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1060
1110
|
quantity: number | null;
|
|
1061
1111
|
unitCost: string | null;
|
|
1062
1112
|
unitCostBase: string | null;
|
|
1113
|
+
supplierLotNumber: string | null;
|
|
1114
|
+
expiresOn: string | null;
|
|
1063
1115
|
updatedAt: Date | null;
|
|
1064
1116
|
createdAt: Date;
|
|
1065
1117
|
product: {
|
|
1066
1118
|
id: number;
|
|
1067
1119
|
model: string | null;
|
|
1068
1120
|
name: Partial<Record<"en" | "ka" | "ru", string>> | null;
|
|
1121
|
+
image: {
|
|
1122
|
+
src: string;
|
|
1123
|
+
isBanner: boolean;
|
|
1124
|
+
} | null;
|
|
1069
1125
|
};
|
|
1070
1126
|
productVariant: {
|
|
1071
1127
|
id: number;
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -521,6 +521,8 @@ declare const deliveryItemAddPayloadSchema: z.ZodObject<{
|
|
|
521
521
|
deliveryId: z.ZodInt;
|
|
522
522
|
productVariantId: z.ZodInt;
|
|
523
523
|
unitCost: z.ZodNullable<z.ZodString>;
|
|
524
|
+
supplierLotNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
525
|
+
expiresOn: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
524
526
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
525
527
|
}, {
|
|
526
528
|
out: {};
|
|
@@ -529,6 +531,8 @@ declare const deliveryItemAddPayloadSchema: z.ZodObject<{
|
|
|
529
531
|
declare const deliveryItemUpdatePayloadSchema: z.ZodObject<{
|
|
530
532
|
quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
531
533
|
unitCost: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
534
|
+
supplierLotNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
535
|
+
expiresOn: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
532
536
|
deliveryItemId: z.ZodInt;
|
|
533
537
|
}, {
|
|
534
538
|
out: {};
|
|
@@ -546,6 +550,10 @@ declare const deliveryItemCatalogDetailsSchema: z.ZodObject<{
|
|
|
546
550
|
ka: "ka";
|
|
547
551
|
ru: "ru";
|
|
548
552
|
}> & z.core.$partial, z.ZodString>>;
|
|
553
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
554
|
+
src: z.ZodURL;
|
|
555
|
+
isBanner: z.ZodBoolean;
|
|
556
|
+
}, z.core.$strip>>;
|
|
549
557
|
}, z.core.$strip>;
|
|
550
558
|
productVariant: z.ZodObject<{
|
|
551
559
|
id: z.ZodInt;
|
|
@@ -571,6 +579,8 @@ declare const deliveryItemDetailsSchema: z.ZodObject<{
|
|
|
571
579
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
572
580
|
unitCost: z.ZodNullable<z.ZodString>;
|
|
573
581
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
582
|
+
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
583
|
+
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
574
584
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
575
585
|
createdAt: z.ZodDate;
|
|
576
586
|
product: z.ZodObject<{
|
|
@@ -581,6 +591,10 @@ declare const deliveryItemDetailsSchema: z.ZodObject<{
|
|
|
581
591
|
ka: "ka";
|
|
582
592
|
ru: "ru";
|
|
583
593
|
}> & z.core.$partial, z.ZodString>>;
|
|
594
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
595
|
+
src: z.ZodURL;
|
|
596
|
+
isBanner: z.ZodBoolean;
|
|
597
|
+
}, z.core.$strip>>;
|
|
584
598
|
}, z.core.$strip>;
|
|
585
599
|
productVariant: z.ZodObject<{
|
|
586
600
|
id: z.ZodInt;
|
|
@@ -612,6 +626,8 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
612
626
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
613
627
|
unitCost: z.ZodNullable<z.ZodString>;
|
|
614
628
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
629
|
+
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
630
|
+
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
615
631
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
616
632
|
createdAt: z.ZodDate;
|
|
617
633
|
product: z.ZodObject<{
|
|
@@ -622,6 +638,10 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
622
638
|
ka: "ka";
|
|
623
639
|
ru: "ru";
|
|
624
640
|
}> & z.core.$partial, z.ZodString>>;
|
|
641
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
642
|
+
src: z.ZodURL;
|
|
643
|
+
isBanner: z.ZodBoolean;
|
|
644
|
+
}, z.core.$strip>>;
|
|
625
645
|
}, z.core.$strip>;
|
|
626
646
|
productVariant: z.ZodObject<{
|
|
627
647
|
id: z.ZodInt;
|
|
@@ -649,6 +669,8 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
649
669
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
650
670
|
unitCost: z.ZodNullable<z.ZodString>;
|
|
651
671
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
672
|
+
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
673
|
+
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
652
674
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
653
675
|
createdAt: z.ZodDate;
|
|
654
676
|
product: z.ZodObject<{
|
|
@@ -659,6 +681,10 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
659
681
|
ka: "ka";
|
|
660
682
|
ru: "ru";
|
|
661
683
|
}> & z.core.$partial, z.ZodString>>;
|
|
684
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
685
|
+
src: z.ZodURL;
|
|
686
|
+
isBanner: z.ZodBoolean;
|
|
687
|
+
}, z.core.$strip>>;
|
|
662
688
|
}, z.core.$strip>;
|
|
663
689
|
productVariant: z.ZodObject<{
|
|
664
690
|
id: z.ZodInt;
|
|
@@ -706,6 +732,8 @@ declare const deliveryDetailsSchema: z.ZodObject<{
|
|
|
706
732
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
707
733
|
unitCost: z.ZodNullable<z.ZodString>;
|
|
708
734
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
735
|
+
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
736
|
+
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
709
737
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
710
738
|
createdAt: z.ZodDate;
|
|
711
739
|
product: z.ZodObject<{
|
|
@@ -716,6 +744,10 @@ declare const deliveryDetailsSchema: z.ZodObject<{
|
|
|
716
744
|
ka: "ka";
|
|
717
745
|
ru: "ru";
|
|
718
746
|
}> & z.core.$partial, z.ZodString>>;
|
|
747
|
+
image: z.ZodNullable<z.ZodObject<{
|
|
748
|
+
src: z.ZodURL;
|
|
749
|
+
isBanner: z.ZodBoolean;
|
|
750
|
+
}, z.core.$strip>>;
|
|
719
751
|
}, z.core.$strip>;
|
|
720
752
|
productVariant: z.ZodObject<{
|
|
721
753
|
id: z.ZodInt;
|
|
@@ -991,6 +1023,7 @@ declare const productVariantSchema: z.ZodObject<{
|
|
|
991
1023
|
id: z.ZodInt;
|
|
992
1024
|
productId: z.ZodInt;
|
|
993
1025
|
measurementUnitId: z.ZodNullable<z.ZodInt>;
|
|
1026
|
+
taxCategoryId: z.ZodNullable<z.ZodInt>;
|
|
994
1027
|
status: z.ZodEnum<{
|
|
995
1028
|
active: "active";
|
|
996
1029
|
archived: "archived";
|
|
@@ -1034,6 +1067,7 @@ declare const productSchema: z.ZodObject<{
|
|
|
1034
1067
|
}, z.core.$strip>>;
|
|
1035
1068
|
categoryId: z.ZodNullable<z.ZodInt>;
|
|
1036
1069
|
brandId: z.ZodNullable<z.ZodInt>;
|
|
1070
|
+
taxCategoryId: z.ZodNullable<z.ZodInt>;
|
|
1037
1071
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
1038
1072
|
createdAt: z.ZodDate;
|
|
1039
1073
|
}, z.core.$strip>;
|
|
@@ -1103,6 +1137,7 @@ declare const productCreatePayloadSchema: z.ZodObject<{
|
|
|
1103
1137
|
}> & z.core.$partial, z.ZodString>>, unknown>>;
|
|
1104
1138
|
categoryId: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodNull, z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>]>, unknown>>;
|
|
1105
1139
|
brandId: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodNull, z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>]>, unknown>>;
|
|
1140
|
+
taxCategoryId: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodNull, z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>]>, unknown>>;
|
|
1106
1141
|
images: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodFile>, unknown>>;
|
|
1107
1142
|
bannerImageIndex: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1108
1143
|
}, {
|
|
@@ -1129,6 +1164,7 @@ declare const productUpdatePayloadSchema: z.ZodObject<{
|
|
|
1129
1164
|
}> & z.core.$partial, z.ZodString>>, unknown>>;
|
|
1130
1165
|
categoryId: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodNull, z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>]>, unknown>>;
|
|
1131
1166
|
brandId: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodNull, z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>]>, unknown>>;
|
|
1167
|
+
taxCategoryId: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodNull, z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>]>, unknown>>;
|
|
1132
1168
|
images: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodFile>, unknown>>;
|
|
1133
1169
|
bannerImageIndex: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1134
1170
|
productId: z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>;
|
|
@@ -1175,6 +1211,7 @@ declare const productVariantDeletePayloadSchema: z.ZodObject<{
|
|
|
1175
1211
|
declare const productVariantCreatePayloadSchema: z.ZodObject<{
|
|
1176
1212
|
productId: z.ZodInt;
|
|
1177
1213
|
measurementUnitId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1214
|
+
taxCategoryId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1178
1215
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1179
1216
|
active: "active";
|
|
1180
1217
|
archived: "archived";
|
|
@@ -1193,6 +1230,7 @@ declare const productVariantCreatePayloadSchema: z.ZodObject<{
|
|
|
1193
1230
|
}>;
|
|
1194
1231
|
declare const productVariantUpdatePayloadSchema: z.ZodObject<{
|
|
1195
1232
|
measurementUnitId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1233
|
+
taxCategoryId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1196
1234
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1197
1235
|
active: "active";
|
|
1198
1236
|
archived: "archived";
|
|
@@ -1231,6 +1269,8 @@ declare const deliveryItemSchema: z.ZodObject<{
|
|
|
1231
1269
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
1232
1270
|
unitCost: z.ZodNullable<z.ZodString>;
|
|
1233
1271
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
1272
|
+
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
1273
|
+
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
1234
1274
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
1235
1275
|
createdAt: z.ZodDate;
|
|
1236
1276
|
}, z.core.$strip>;
|