@esb-market-contracts/backend 1.0.45 → 1.0.47

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.
Files changed (3) hide show
  1. package/api.d.ts +30 -0
  2. package/package.json +1 -1
  3. package/types.d.ts +22 -0
package/api.d.ts CHANGED
@@ -727,6 +727,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
727
727
  id: number;
728
728
  model: string | null;
729
729
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
730
+ image: {
731
+ src: string;
732
+ isBanner: boolean;
733
+ } | null;
730
734
  };
731
735
  productVariant: {
732
736
  id: number;
@@ -785,6 +789,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
785
789
  id: number;
786
790
  model: string | null;
787
791
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
792
+ image: {
793
+ src: string;
794
+ isBanner: boolean;
795
+ } | null;
788
796
  };
789
797
  productVariant: {
790
798
  id: number;
@@ -809,6 +817,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
809
817
  warehouseId: number;
810
818
  currencyId: number;
811
819
  notes?: string | null | undefined;
820
+ exchangeRateId?: number | null | undefined;
812
821
  };
813
822
  };
814
823
  };
@@ -870,6 +879,7 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
870
879
  warehouseId?: number | undefined;
871
880
  currencyId?: number | undefined;
872
881
  notes?: string | null | undefined;
882
+ exchangeRateId?: number | null | undefined;
873
883
  deliveryId: number;
874
884
  };
875
885
  };
@@ -920,6 +930,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
920
930
  id: number;
921
931
  model: string | null;
922
932
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
933
+ image: {
934
+ src: string;
935
+ isBanner: boolean;
936
+ } | null;
923
937
  };
924
938
  productVariant: {
925
939
  id: number;
@@ -969,6 +983,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
969
983
  id: number;
970
984
  model: string | null;
971
985
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
986
+ image: {
987
+ src: string;
988
+ isBanner: boolean;
989
+ } | null;
972
990
  };
973
991
  productVariant: {
974
992
  id: number;
@@ -1000,6 +1018,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
1000
1018
  id: number;
1001
1019
  model: string | null;
1002
1020
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
1021
+ image: {
1022
+ src: string;
1023
+ isBanner: boolean;
1024
+ } | null;
1003
1025
  };
1004
1026
  productVariant: {
1005
1027
  id: number;
@@ -1047,6 +1069,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
1047
1069
  id: number;
1048
1070
  model: string | null;
1049
1071
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
1072
+ image: {
1073
+ src: string;
1074
+ isBanner: boolean;
1075
+ } | null;
1050
1076
  };
1051
1077
  productVariant: {
1052
1078
  id: number;
@@ -1094,6 +1120,10 @@ declare const deliveriesRouter: import("hono/hono-base").HonoBase<{
1094
1120
  id: number;
1095
1121
  model: string | null;
1096
1122
  name: Partial<Record<"en" | "ka" | "ru", string>> | null;
1123
+ image: {
1124
+ src: string;
1125
+ isBanner: boolean;
1126
+ } | null;
1097
1127
  };
1098
1128
  productVariant: {
1099
1129
  id: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@esb-market-contracts/backend",
3
3
  "description": "Shared TypeScript contract definitions for backend.",
4
- "version": "1.0.45",
4
+ "version": "1.0.47",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -395,6 +395,7 @@ declare const deliveryCreatePayloadSchema: z.ZodObject<{
395
395
  warehouseId: z.ZodInt;
396
396
  currencyId: z.ZodInt;
397
397
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
398
+ exchangeRateId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
398
399
  }, {
399
400
  out: {};
400
401
  in: {};
@@ -407,6 +408,7 @@ declare const deliveryUpdatePayloadSchema: z.ZodObject<{
407
408
  warehouseId: z.ZodOptional<z.ZodInt>;
408
409
  currencyId: z.ZodOptional<z.ZodInt>;
409
410
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
411
+ exchangeRateId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
410
412
  deliveryId: z.ZodInt;
411
413
  }, {
412
414
  out: {};
@@ -550,6 +552,10 @@ declare const deliveryItemCatalogDetailsSchema: z.ZodObject<{
550
552
  ka: "ka";
551
553
  ru: "ru";
552
554
  }> & z.core.$partial, z.ZodString>>;
555
+ image: z.ZodNullable<z.ZodObject<{
556
+ src: z.ZodURL;
557
+ isBanner: z.ZodBoolean;
558
+ }, z.core.$strip>>;
553
559
  }, z.core.$strip>;
554
560
  productVariant: z.ZodObject<{
555
561
  id: z.ZodInt;
@@ -587,6 +593,10 @@ declare const deliveryItemDetailsSchema: z.ZodObject<{
587
593
  ka: "ka";
588
594
  ru: "ru";
589
595
  }> & z.core.$partial, z.ZodString>>;
596
+ image: z.ZodNullable<z.ZodObject<{
597
+ src: z.ZodURL;
598
+ isBanner: z.ZodBoolean;
599
+ }, z.core.$strip>>;
590
600
  }, z.core.$strip>;
591
601
  productVariant: z.ZodObject<{
592
602
  id: z.ZodInt;
@@ -630,6 +640,10 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
630
640
  ka: "ka";
631
641
  ru: "ru";
632
642
  }> & z.core.$partial, z.ZodString>>;
643
+ image: z.ZodNullable<z.ZodObject<{
644
+ src: z.ZodURL;
645
+ isBanner: z.ZodBoolean;
646
+ }, z.core.$strip>>;
633
647
  }, z.core.$strip>;
634
648
  productVariant: z.ZodObject<{
635
649
  id: z.ZodInt;
@@ -669,6 +683,10 @@ declare const deliveryItemScanResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject
669
683
  ka: "ka";
670
684
  ru: "ru";
671
685
  }> & z.core.$partial, z.ZodString>>;
686
+ image: z.ZodNullable<z.ZodObject<{
687
+ src: z.ZodURL;
688
+ isBanner: z.ZodBoolean;
689
+ }, z.core.$strip>>;
672
690
  }, z.core.$strip>;
673
691
  productVariant: z.ZodObject<{
674
692
  id: z.ZodInt;
@@ -728,6 +746,10 @@ declare const deliveryDetailsSchema: z.ZodObject<{
728
746
  ka: "ka";
729
747
  ru: "ru";
730
748
  }> & z.core.$partial, z.ZodString>>;
749
+ image: z.ZodNullable<z.ZodObject<{
750
+ src: z.ZodURL;
751
+ isBanner: z.ZodBoolean;
752
+ }, z.core.$strip>>;
731
753
  }, z.core.$strip>;
732
754
  productVariant: z.ZodObject<{
733
755
  id: z.ZodInt;