@esb-market-contracts/backend 1.0.50 → 1.0.52
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 +41 -4
- package/enums.d.ts +1 -2
- package/enums.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +32 -11
package/api.d.ts
CHANGED
|
@@ -704,7 +704,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
704
704
|
supplierId: number;
|
|
705
705
|
warehouseId: number;
|
|
706
706
|
currencyId: number;
|
|
707
|
-
status: "draft" | "posted"
|
|
707
|
+
status: "draft" | "posted";
|
|
708
708
|
exchangeRateId: number | null;
|
|
709
709
|
exchangeRate: string | null;
|
|
710
710
|
exchangeRateValidFromDate: string | null;
|
|
@@ -720,6 +720,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
720
720
|
unitCostBase: string | null;
|
|
721
721
|
supplierLotNumber: string | null;
|
|
722
722
|
expiresOn: string | null;
|
|
723
|
+
revision: number;
|
|
723
724
|
updatedAt: Date | null;
|
|
724
725
|
createdAt: Date;
|
|
725
726
|
product: {
|
|
@@ -743,6 +744,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
743
744
|
name: string;
|
|
744
745
|
decimalPlaces: number;
|
|
745
746
|
};
|
|
747
|
+
updatedByEmployee: {
|
|
748
|
+
id: number;
|
|
749
|
+
fullName: string;
|
|
750
|
+
} | null;
|
|
746
751
|
}[];
|
|
747
752
|
};
|
|
748
753
|
}>;
|
|
@@ -765,7 +770,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
765
770
|
supplierId: number;
|
|
766
771
|
warehouseId: number;
|
|
767
772
|
currencyId: number;
|
|
768
|
-
status: "draft" | "posted"
|
|
773
|
+
status: "draft" | "posted";
|
|
769
774
|
exchangeRateId: number | null;
|
|
770
775
|
exchangeRate: string | null;
|
|
771
776
|
exchangeRateValidFromDate: string | null;
|
|
@@ -781,6 +786,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
781
786
|
unitCostBase: string | null;
|
|
782
787
|
supplierLotNumber: string | null;
|
|
783
788
|
expiresOn: string | null;
|
|
789
|
+
revision: number;
|
|
784
790
|
updatedAt: Date | null;
|
|
785
791
|
createdAt: Date;
|
|
786
792
|
product: {
|
|
@@ -804,6 +810,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
804
810
|
name: string;
|
|
805
811
|
decimalPlaces: number;
|
|
806
812
|
};
|
|
813
|
+
updatedByEmployee: {
|
|
814
|
+
id: number;
|
|
815
|
+
fullName: string;
|
|
816
|
+
} | null;
|
|
807
817
|
}[];
|
|
808
818
|
};
|
|
809
819
|
}>;
|
|
@@ -829,7 +839,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
829
839
|
supplierId: number;
|
|
830
840
|
warehouseId: number;
|
|
831
841
|
currencyId: number;
|
|
832
|
-
status: "draft" | "posted"
|
|
842
|
+
status: "draft" | "posted";
|
|
833
843
|
exchangeRateId: number | null;
|
|
834
844
|
exchangeRate: string | null;
|
|
835
845
|
exchangeRateValidFromDate: string | null;
|
|
@@ -850,7 +860,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
850
860
|
supplierId?: number | undefined;
|
|
851
861
|
warehouseId?: number | undefined;
|
|
852
862
|
currencyId?: number | undefined;
|
|
853
|
-
status?: "draft" | "posted" |
|
|
863
|
+
status?: "draft" | "posted" | undefined;
|
|
854
864
|
createdAtFrom?: unknown;
|
|
855
865
|
createdAtTo?: unknown;
|
|
856
866
|
} | undefined;
|
|
@@ -919,6 +929,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
919
929
|
unitCostBase: string | null;
|
|
920
930
|
supplierLotNumber: string | null;
|
|
921
931
|
expiresOn: string | null;
|
|
932
|
+
revision: number;
|
|
922
933
|
updatedAt: Date | null;
|
|
923
934
|
createdAt: Date;
|
|
924
935
|
product: {
|
|
@@ -942,6 +953,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
942
953
|
name: string;
|
|
943
954
|
decimalPlaces: number;
|
|
944
955
|
};
|
|
956
|
+
updatedByEmployee: {
|
|
957
|
+
id: number;
|
|
958
|
+
fullName: string;
|
|
959
|
+
} | null;
|
|
945
960
|
};
|
|
946
961
|
}>;
|
|
947
962
|
outputFormat: "json";
|
|
@@ -972,6 +987,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
972
987
|
unitCostBase: string | null;
|
|
973
988
|
supplierLotNumber: string | null;
|
|
974
989
|
expiresOn: string | null;
|
|
990
|
+
revision: number;
|
|
975
991
|
updatedAt: Date | null;
|
|
976
992
|
createdAt: Date;
|
|
977
993
|
product: {
|
|
@@ -995,6 +1011,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
995
1011
|
name: string;
|
|
996
1012
|
decimalPlaces: number;
|
|
997
1013
|
};
|
|
1014
|
+
updatedByEmployee: {
|
|
1015
|
+
id: number;
|
|
1016
|
+
fullName: string;
|
|
1017
|
+
} | null;
|
|
998
1018
|
};
|
|
999
1019
|
} | {
|
|
1000
1020
|
outcome: "unchanged";
|
|
@@ -1007,6 +1027,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1007
1027
|
unitCostBase: string | null;
|
|
1008
1028
|
supplierLotNumber: string | null;
|
|
1009
1029
|
expiresOn: string | null;
|
|
1030
|
+
revision: number;
|
|
1010
1031
|
updatedAt: Date | null;
|
|
1011
1032
|
createdAt: Date;
|
|
1012
1033
|
product: {
|
|
@@ -1030,6 +1051,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1030
1051
|
name: string;
|
|
1031
1052
|
decimalPlaces: number;
|
|
1032
1053
|
};
|
|
1054
|
+
updatedByEmployee: {
|
|
1055
|
+
id: number;
|
|
1056
|
+
fullName: string;
|
|
1057
|
+
} | null;
|
|
1033
1058
|
};
|
|
1034
1059
|
} | {
|
|
1035
1060
|
outcome: "product-variant-not-found";
|
|
@@ -1058,6 +1083,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1058
1083
|
unitCostBase: string | null;
|
|
1059
1084
|
supplierLotNumber: string | null;
|
|
1060
1085
|
expiresOn: string | null;
|
|
1086
|
+
revision: number;
|
|
1061
1087
|
updatedAt: Date | null;
|
|
1062
1088
|
createdAt: Date;
|
|
1063
1089
|
product: {
|
|
@@ -1081,6 +1107,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1081
1107
|
name: string;
|
|
1082
1108
|
decimalPlaces: number;
|
|
1083
1109
|
};
|
|
1110
|
+
updatedByEmployee: {
|
|
1111
|
+
id: number;
|
|
1112
|
+
fullName: string;
|
|
1113
|
+
} | null;
|
|
1084
1114
|
};
|
|
1085
1115
|
}>;
|
|
1086
1116
|
outputFormat: "json";
|
|
@@ -1092,6 +1122,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1092
1122
|
supplierLotNumber?: string | null | undefined;
|
|
1093
1123
|
expiresOn?: string | null | undefined;
|
|
1094
1124
|
deliveryItemId: number;
|
|
1125
|
+
expectedRevision: number;
|
|
1095
1126
|
};
|
|
1096
1127
|
};
|
|
1097
1128
|
};
|
|
@@ -1109,6 +1140,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1109
1140
|
unitCostBase: string | null;
|
|
1110
1141
|
supplierLotNumber: string | null;
|
|
1111
1142
|
expiresOn: string | null;
|
|
1143
|
+
revision: number;
|
|
1112
1144
|
updatedAt: Date | null;
|
|
1113
1145
|
createdAt: Date;
|
|
1114
1146
|
product: {
|
|
@@ -1132,6 +1164,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1132
1164
|
name: string;
|
|
1133
1165
|
decimalPlaces: number;
|
|
1134
1166
|
};
|
|
1167
|
+
updatedByEmployee: {
|
|
1168
|
+
id: number;
|
|
1169
|
+
fullName: string;
|
|
1170
|
+
} | null;
|
|
1135
1171
|
};
|
|
1136
1172
|
}>;
|
|
1137
1173
|
outputFormat: "json";
|
|
@@ -1139,6 +1175,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1139
1175
|
input: {
|
|
1140
1176
|
json: {
|
|
1141
1177
|
deliveryItemId: number;
|
|
1178
|
+
expectedRevision: number;
|
|
1142
1179
|
};
|
|
1143
1180
|
};
|
|
1144
1181
|
};
|
package/enums.d.ts
CHANGED
|
@@ -19,11 +19,10 @@ declare const entityStatusesRecord: Readonly<{
|
|
|
19
19
|
type EntityStatus = (typeof entityStatusesArray)[number];
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/app/domain/(procurement)/deliveries/deliveries.enums.d.ts
|
|
22
|
-
declare const deliveryStatusesArray: readonly ['draft', 'posted'
|
|
22
|
+
declare const deliveryStatusesArray: readonly ['draft', 'posted'];
|
|
23
23
|
declare const deliveryStatusesRecord: Readonly<{
|
|
24
24
|
DRAFT: "draft";
|
|
25
25
|
POSTED: "posted";
|
|
26
|
-
REVERSED: "reversed";
|
|
27
26
|
}>;
|
|
28
27
|
type DeliveryStatus = (typeof deliveryStatusesArray)[number];
|
|
29
28
|
//#endregion
|
package/enums.js
CHANGED
|
@@ -21,7 +21,7 @@ var entityStatusesRecord = createStringEnumRecord2(entityStatusesArray);
|
|
|
21
21
|
// src/app/domain/(procurement)/deliveries/deliveries.enums.ts
|
|
22
22
|
import { createStringEnumRecord as createStringEnumRecord3 } from "@kalutskii/foundation";
|
|
23
23
|
import { pgEnum as pgEnum2 } from "drizzle-orm/pg-core";
|
|
24
|
-
var deliveryStatusesArray = ["draft", "posted"
|
|
24
|
+
var deliveryStatusesArray = ["draft", "posted"];
|
|
25
25
|
var deliveryStatusPGEnum = pgEnum2("delivery_status", deliveryStatusesArray);
|
|
26
26
|
var deliveryStatusesRecord = createStringEnumRecord3(deliveryStatusesArray);
|
|
27
27
|
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -420,7 +420,6 @@ declare const deliverySearchOptionsSchema: z.ZodObject<{
|
|
|
420
420
|
status: z.ZodOptional<z.ZodEnum<{
|
|
421
421
|
draft: "draft";
|
|
422
422
|
posted: "posted";
|
|
423
|
-
reversed: "reversed";
|
|
424
423
|
}>>;
|
|
425
424
|
createdAtFrom: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
426
425
|
createdAtTo: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -428,49 +427,49 @@ declare const deliverySearchOptionsSchema: z.ZodObject<{
|
|
|
428
427
|
supplierId?: number | undefined;
|
|
429
428
|
warehouseId?: number | undefined;
|
|
430
429
|
currencyId?: number | undefined;
|
|
431
|
-
status?: "draft" | "posted" |
|
|
430
|
+
status?: "draft" | "posted" | undefined;
|
|
432
431
|
createdAtFrom: Date;
|
|
433
432
|
createdAtTo?: Date | undefined;
|
|
434
433
|
} | {
|
|
435
434
|
supplierId?: number | undefined;
|
|
436
435
|
warehouseId?: number | undefined;
|
|
437
436
|
currencyId?: number | undefined;
|
|
438
|
-
status?: "draft" | "posted" |
|
|
437
|
+
status?: "draft" | "posted" | undefined;
|
|
439
438
|
createdAtFrom?: Date | undefined;
|
|
440
439
|
createdAtTo: Date;
|
|
441
440
|
} | {
|
|
442
441
|
supplierId?: number | undefined;
|
|
443
442
|
warehouseId?: number | undefined;
|
|
444
443
|
currencyId: number;
|
|
445
|
-
status?: "draft" | "posted" |
|
|
444
|
+
status?: "draft" | "posted" | undefined;
|
|
446
445
|
createdAtFrom?: Date | undefined;
|
|
447
446
|
createdAtTo?: Date | undefined;
|
|
448
447
|
} | {
|
|
449
448
|
supplierId?: number | undefined;
|
|
450
449
|
warehouseId?: number | undefined;
|
|
451
450
|
currencyId?: number | undefined;
|
|
452
|
-
status: "draft" | "posted"
|
|
451
|
+
status: "draft" | "posted";
|
|
453
452
|
createdAtFrom?: Date | undefined;
|
|
454
453
|
createdAtTo?: Date | undefined;
|
|
455
454
|
} | {
|
|
456
455
|
supplierId: number;
|
|
457
456
|
warehouseId?: number | undefined;
|
|
458
457
|
currencyId?: number | undefined;
|
|
459
|
-
status?: "draft" | "posted" |
|
|
458
|
+
status?: "draft" | "posted" | undefined;
|
|
460
459
|
createdAtFrom?: Date | undefined;
|
|
461
460
|
createdAtTo?: Date | undefined;
|
|
462
461
|
} | {
|
|
463
462
|
supplierId?: number | undefined;
|
|
464
463
|
warehouseId: number;
|
|
465
464
|
currencyId?: number | undefined;
|
|
466
|
-
status?: "draft" | "posted" |
|
|
465
|
+
status?: "draft" | "posted" | undefined;
|
|
467
466
|
createdAtFrom?: Date | undefined;
|
|
468
467
|
createdAtTo?: Date | undefined;
|
|
469
468
|
}, {
|
|
470
469
|
supplierId?: number | undefined;
|
|
471
470
|
warehouseId?: number | undefined;
|
|
472
471
|
currencyId?: number | undefined;
|
|
473
|
-
status?: "draft" | "posted" |
|
|
472
|
+
status?: "draft" | "posted" | undefined;
|
|
474
473
|
createdAtFrom?: Date | undefined;
|
|
475
474
|
createdAtTo?: Date | undefined;
|
|
476
475
|
}>>>;
|
|
@@ -489,7 +488,6 @@ declare const deliverySearchItemSchema: z.ZodObject<{
|
|
|
489
488
|
status: z.ZodEnum<{
|
|
490
489
|
draft: "draft";
|
|
491
490
|
posted: "posted";
|
|
492
|
-
reversed: "reversed";
|
|
493
491
|
}>;
|
|
494
492
|
exchangeRateId: z.ZodNullable<z.ZodInt>;
|
|
495
493
|
exchangeRate: z.ZodNullable<z.ZodString>;
|
|
@@ -533,12 +531,14 @@ declare const deliveryItemUpdatePayloadSchema: z.ZodObject<{
|
|
|
533
531
|
supplierLotNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
534
532
|
expiresOn: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
535
533
|
deliveryItemId: z.ZodInt;
|
|
534
|
+
expectedRevision: z.ZodInt;
|
|
536
535
|
}, {
|
|
537
536
|
out: {};
|
|
538
537
|
in: {};
|
|
539
538
|
}>;
|
|
540
539
|
declare const deliveryItemDeletePayloadSchema: z.ZodObject<{
|
|
541
540
|
deliveryItemId: z.ZodInt;
|
|
541
|
+
expectedRevision: z.ZodInt;
|
|
542
542
|
}, z.core.$strip>;
|
|
543
543
|
declare const deliveryItemCatalogDetailsSchema: z.ZodObject<{
|
|
544
544
|
product: z.ZodObject<{
|
|
@@ -580,6 +580,7 @@ declare const deliveryItemDetailsSchema: z.ZodObject<{
|
|
|
580
580
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
581
581
|
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
582
582
|
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
583
|
+
revision: z.ZodInt;
|
|
583
584
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
584
585
|
createdAt: z.ZodDate;
|
|
585
586
|
product: z.ZodObject<{
|
|
@@ -611,6 +612,10 @@ declare const deliveryItemDetailsSchema: z.ZodObject<{
|
|
|
611
612
|
name: z.ZodString;
|
|
612
613
|
decimalPlaces: z.ZodInt;
|
|
613
614
|
}, z.core.$strip>;
|
|
615
|
+
updatedByEmployee: z.ZodNullable<z.ZodObject<{
|
|
616
|
+
id: z.ZodInt;
|
|
617
|
+
fullName: z.ZodString;
|
|
618
|
+
}, z.core.$strip>>;
|
|
614
619
|
}, z.core.$strip>;
|
|
615
620
|
declare const deliveryItemScanPayloadSchema: z.ZodObject<{
|
|
616
621
|
deliveryId: z.ZodInt;
|
|
@@ -627,6 +632,7 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
627
632
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
628
633
|
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
629
634
|
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
635
|
+
revision: z.ZodInt;
|
|
630
636
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
631
637
|
createdAt: z.ZodDate;
|
|
632
638
|
product: z.ZodObject<{
|
|
@@ -658,6 +664,10 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
658
664
|
name: z.ZodString;
|
|
659
665
|
decimalPlaces: z.ZodInt;
|
|
660
666
|
}, z.core.$strip>;
|
|
667
|
+
updatedByEmployee: z.ZodNullable<z.ZodObject<{
|
|
668
|
+
id: z.ZodInt;
|
|
669
|
+
fullName: z.ZodString;
|
|
670
|
+
}, z.core.$strip>>;
|
|
661
671
|
}, z.core.$strip>;
|
|
662
672
|
}, z.core.$strip>, z.ZodObject<{
|
|
663
673
|
outcome: z.ZodLiteral<"unchanged">;
|
|
@@ -670,6 +680,7 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
670
680
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
671
681
|
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
672
682
|
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
683
|
+
revision: z.ZodInt;
|
|
673
684
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
674
685
|
createdAt: z.ZodDate;
|
|
675
686
|
product: z.ZodObject<{
|
|
@@ -701,6 +712,10 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
701
712
|
name: z.ZodString;
|
|
702
713
|
decimalPlaces: z.ZodInt;
|
|
703
714
|
}, z.core.$strip>;
|
|
715
|
+
updatedByEmployee: z.ZodNullable<z.ZodObject<{
|
|
716
|
+
id: z.ZodInt;
|
|
717
|
+
fullName: z.ZodString;
|
|
718
|
+
}, z.core.$strip>>;
|
|
704
719
|
}, z.core.$strip>;
|
|
705
720
|
}, z.core.$strip>, z.ZodObject<{
|
|
706
721
|
outcome: z.ZodLiteral<"product-variant-not-found">;
|
|
@@ -715,7 +730,6 @@ declare const deliveryDetailsSchema: z.ZodObject<{
|
|
|
715
730
|
status: z.ZodEnum<{
|
|
716
731
|
draft: "draft";
|
|
717
732
|
posted: "posted";
|
|
718
|
-
reversed: "reversed";
|
|
719
733
|
}>;
|
|
720
734
|
exchangeRateId: z.ZodNullable<z.ZodInt>;
|
|
721
735
|
exchangeRate: z.ZodNullable<z.ZodString>;
|
|
@@ -732,6 +746,7 @@ declare const deliveryDetailsSchema: z.ZodObject<{
|
|
|
732
746
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
733
747
|
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
734
748
|
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
749
|
+
revision: z.ZodInt;
|
|
735
750
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
736
751
|
createdAt: z.ZodDate;
|
|
737
752
|
product: z.ZodObject<{
|
|
@@ -763,6 +778,10 @@ declare const deliveryDetailsSchema: z.ZodObject<{
|
|
|
763
778
|
name: z.ZodString;
|
|
764
779
|
decimalPlaces: z.ZodInt;
|
|
765
780
|
}, z.core.$strip>;
|
|
781
|
+
updatedByEmployee: z.ZodNullable<z.ZodObject<{
|
|
782
|
+
id: z.ZodInt;
|
|
783
|
+
fullName: z.ZodString;
|
|
784
|
+
}, z.core.$strip>>;
|
|
766
785
|
}, z.core.$strip>>;
|
|
767
786
|
}, z.core.$strip>;
|
|
768
787
|
type DeliveryDeletePayload = z.infer<typeof deliveryDeletePayloadSchema>;
|
|
@@ -1342,6 +1361,9 @@ declare const deliveryItemSchema: z.ZodObject<{
|
|
|
1342
1361
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
1343
1362
|
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
1344
1363
|
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
1364
|
+
updatedByEmployeeId: z.ZodNullable<z.ZodInt>;
|
|
1365
|
+
updatedByEmployeeName: z.ZodNullable<z.ZodString>;
|
|
1366
|
+
revision: z.ZodInt;
|
|
1345
1367
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
1346
1368
|
createdAt: z.ZodDate;
|
|
1347
1369
|
}, z.core.$strip>;
|
|
@@ -1357,7 +1379,6 @@ declare const deliverySchema: z.ZodObject<{
|
|
|
1357
1379
|
status: z.ZodEnum<{
|
|
1358
1380
|
draft: "draft";
|
|
1359
1381
|
posted: "posted";
|
|
1360
|
-
reversed: "reversed";
|
|
1361
1382
|
}>;
|
|
1362
1383
|
exchangeRateId: z.ZodNullable<z.ZodInt>;
|
|
1363
1384
|
exchangeRate: z.ZodNullable<z.ZodString>;
|