@ecogood/e-calculator-schemas 2.0.0 → 2.1.0
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.
|
@@ -733,15 +733,27 @@ export declare const BalanceSheetResponseBodySchema: z.ZodObject<{
|
|
|
733
733
|
}>;
|
|
734
734
|
export declare const BalanceSheetItemResponseSchema: z.ZodObject<{
|
|
735
735
|
id: z.ZodNumber;
|
|
736
|
+
version: z.ZodNativeEnum<typeof BalanceSheetVersion>;
|
|
737
|
+
type: z.ZodNativeEnum<typeof BalanceSheetType>;
|
|
736
738
|
}, "strip", z.ZodTypeAny, {
|
|
739
|
+
type: BalanceSheetType;
|
|
737
740
|
id: number;
|
|
741
|
+
version: BalanceSheetVersion;
|
|
738
742
|
}, {
|
|
743
|
+
type: BalanceSheetType;
|
|
739
744
|
id: number;
|
|
745
|
+
version: BalanceSheetVersion;
|
|
740
746
|
}>;
|
|
741
747
|
export declare const BalanceSheetItemsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
742
748
|
id: z.ZodNumber;
|
|
749
|
+
version: z.ZodNativeEnum<typeof BalanceSheetVersion>;
|
|
750
|
+
type: z.ZodNativeEnum<typeof BalanceSheetType>;
|
|
743
751
|
}, "strip", z.ZodTypeAny, {
|
|
752
|
+
type: BalanceSheetType;
|
|
744
753
|
id: number;
|
|
754
|
+
version: BalanceSheetVersion;
|
|
745
755
|
}, {
|
|
756
|
+
type: BalanceSheetType;
|
|
746
757
|
id: number;
|
|
758
|
+
version: BalanceSheetVersion;
|
|
747
759
|
}>, "many">;
|
|
@@ -28,5 +28,7 @@ exports.BalanceSheetResponseBodySchema = zod_1.z.object({
|
|
|
28
28
|
});
|
|
29
29
|
exports.BalanceSheetItemResponseSchema = zod_1.z.object({
|
|
30
30
|
id: zod_1.z.number(),
|
|
31
|
+
version: zod_1.z.nativeEnum(shared_schemas_1.BalanceSheetVersion),
|
|
32
|
+
type: zod_1.z.nativeEnum(shared_schemas_1.BalanceSheetType),
|
|
31
33
|
});
|
|
32
34
|
exports.BalanceSheetItemsResponseSchema = exports.BalanceSheetItemResponseSchema.array();
|
package/package.json
CHANGED