@esb-market-contracts/backend 1.0.51 → 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 +29 -0
- package/package.json +1 -1
- package/types.d.ts +19 -0
package/api.d.ts
CHANGED
|
@@ -744,6 +744,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
744
744
|
name: string;
|
|
745
745
|
decimalPlaces: number;
|
|
746
746
|
};
|
|
747
|
+
updatedByEmployee: {
|
|
748
|
+
id: number;
|
|
749
|
+
fullName: string;
|
|
750
|
+
} | null;
|
|
747
751
|
}[];
|
|
748
752
|
};
|
|
749
753
|
}>;
|
|
@@ -806,6 +810,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
806
810
|
name: string;
|
|
807
811
|
decimalPlaces: number;
|
|
808
812
|
};
|
|
813
|
+
updatedByEmployee: {
|
|
814
|
+
id: number;
|
|
815
|
+
fullName: string;
|
|
816
|
+
} | null;
|
|
809
817
|
}[];
|
|
810
818
|
};
|
|
811
819
|
}>;
|
|
@@ -945,6 +953,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
945
953
|
name: string;
|
|
946
954
|
decimalPlaces: number;
|
|
947
955
|
};
|
|
956
|
+
updatedByEmployee: {
|
|
957
|
+
id: number;
|
|
958
|
+
fullName: string;
|
|
959
|
+
} | null;
|
|
948
960
|
};
|
|
949
961
|
}>;
|
|
950
962
|
outputFormat: "json";
|
|
@@ -999,6 +1011,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
999
1011
|
name: string;
|
|
1000
1012
|
decimalPlaces: number;
|
|
1001
1013
|
};
|
|
1014
|
+
updatedByEmployee: {
|
|
1015
|
+
id: number;
|
|
1016
|
+
fullName: string;
|
|
1017
|
+
} | null;
|
|
1002
1018
|
};
|
|
1003
1019
|
} | {
|
|
1004
1020
|
outcome: "unchanged";
|
|
@@ -1035,6 +1051,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1035
1051
|
name: string;
|
|
1036
1052
|
decimalPlaces: number;
|
|
1037
1053
|
};
|
|
1054
|
+
updatedByEmployee: {
|
|
1055
|
+
id: number;
|
|
1056
|
+
fullName: string;
|
|
1057
|
+
} | null;
|
|
1038
1058
|
};
|
|
1039
1059
|
} | {
|
|
1040
1060
|
outcome: "product-variant-not-found";
|
|
@@ -1087,6 +1107,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1087
1107
|
name: string;
|
|
1088
1108
|
decimalPlaces: number;
|
|
1089
1109
|
};
|
|
1110
|
+
updatedByEmployee: {
|
|
1111
|
+
id: number;
|
|
1112
|
+
fullName: string;
|
|
1113
|
+
} | null;
|
|
1090
1114
|
};
|
|
1091
1115
|
}>;
|
|
1092
1116
|
outputFormat: "json";
|
|
@@ -1140,6 +1164,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1140
1164
|
name: string;
|
|
1141
1165
|
decimalPlaces: number;
|
|
1142
1166
|
};
|
|
1167
|
+
updatedByEmployee: {
|
|
1168
|
+
id: number;
|
|
1169
|
+
fullName: string;
|
|
1170
|
+
} | null;
|
|
1143
1171
|
};
|
|
1144
1172
|
}>;
|
|
1145
1173
|
outputFormat: "json";
|
|
@@ -1147,6 +1175,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
1147
1175
|
input: {
|
|
1148
1176
|
json: {
|
|
1149
1177
|
deliveryItemId: number;
|
|
1178
|
+
expectedRevision: number;
|
|
1150
1179
|
};
|
|
1151
1180
|
};
|
|
1152
1181
|
};
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -538,6 +538,7 @@ declare const deliveryItemUpdatePayloadSchema: z.ZodObject<{
|
|
|
538
538
|
}>;
|
|
539
539
|
declare const deliveryItemDeletePayloadSchema: z.ZodObject<{
|
|
540
540
|
deliveryItemId: z.ZodInt;
|
|
541
|
+
expectedRevision: z.ZodInt;
|
|
541
542
|
}, z.core.$strip>;
|
|
542
543
|
declare const deliveryItemCatalogDetailsSchema: z.ZodObject<{
|
|
543
544
|
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;
|
|
@@ -659,6 +664,10 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
659
664
|
name: z.ZodString;
|
|
660
665
|
decimalPlaces: z.ZodInt;
|
|
661
666
|
}, z.core.$strip>;
|
|
667
|
+
updatedByEmployee: z.ZodNullable<z.ZodObject<{
|
|
668
|
+
id: z.ZodInt;
|
|
669
|
+
fullName: z.ZodString;
|
|
670
|
+
}, z.core.$strip>>;
|
|
662
671
|
}, z.core.$strip>;
|
|
663
672
|
}, z.core.$strip>, z.ZodObject<{
|
|
664
673
|
outcome: z.ZodLiteral<"unchanged">;
|
|
@@ -703,6 +712,10 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
703
712
|
name: z.ZodString;
|
|
704
713
|
decimalPlaces: z.ZodInt;
|
|
705
714
|
}, z.core.$strip>;
|
|
715
|
+
updatedByEmployee: z.ZodNullable<z.ZodObject<{
|
|
716
|
+
id: z.ZodInt;
|
|
717
|
+
fullName: z.ZodString;
|
|
718
|
+
}, z.core.$strip>>;
|
|
706
719
|
}, z.core.$strip>;
|
|
707
720
|
}, z.core.$strip>, z.ZodObject<{
|
|
708
721
|
outcome: z.ZodLiteral<"product-variant-not-found">;
|
|
@@ -765,6 +778,10 @@ declare const deliveryDetailsSchema: z.ZodObject<{
|
|
|
765
778
|
name: z.ZodString;
|
|
766
779
|
decimalPlaces: z.ZodInt;
|
|
767
780
|
}, z.core.$strip>;
|
|
781
|
+
updatedByEmployee: z.ZodNullable<z.ZodObject<{
|
|
782
|
+
id: z.ZodInt;
|
|
783
|
+
fullName: z.ZodString;
|
|
784
|
+
}, z.core.$strip>>;
|
|
768
785
|
}, z.core.$strip>>;
|
|
769
786
|
}, z.core.$strip>;
|
|
770
787
|
type DeliveryDeletePayload = z.infer<typeof deliveryDeletePayloadSchema>;
|
|
@@ -1344,6 +1361,8 @@ declare const deliveryItemSchema: z.ZodObject<{
|
|
|
1344
1361
|
unitCostBase: z.ZodNullable<z.ZodString>;
|
|
1345
1362
|
supplierLotNumber: z.ZodNullable<z.ZodString>;
|
|
1346
1363
|
expiresOn: z.ZodNullable<z.ZodISODate>;
|
|
1364
|
+
updatedByEmployeeId: z.ZodNullable<z.ZodInt>;
|
|
1365
|
+
updatedByEmployeeName: z.ZodNullable<z.ZodString>;
|
|
1347
1366
|
revision: z.ZodInt;
|
|
1348
1367
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
1349
1368
|
createdAt: z.ZodDate;
|