@esb-market-contracts/backend 1.0.27 → 1.0.28

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 +4 -4
  2. package/package.json +1 -1
  3. package/types.d.ts +3 -15
package/api.d.ts CHANGED
@@ -900,7 +900,7 @@ declare const warehousesRouter: import("hono/hono-base").HonoBase<{
900
900
  warehouse: {
901
901
  id: number;
902
902
  code: string;
903
- name: Partial<Record<"en" | "ka" | "ru", string>>;
903
+ name: string;
904
904
  status: "active" | "archived";
905
905
  salesEnabled: boolean;
906
906
  updatedAt: Date | null;
@@ -925,7 +925,7 @@ declare const warehousesRouter: import("hono/hono-base").HonoBase<{
925
925
  input: {
926
926
  json: {
927
927
  code: string;
928
- name: Partial<Record<"en" | "ka" | "ru", string>>;
928
+ name: string;
929
929
  salesEnabled: boolean;
930
930
  };
931
931
  };
@@ -938,7 +938,7 @@ declare const warehousesRouter: import("hono/hono-base").HonoBase<{
938
938
  warehouses: {
939
939
  id: number;
940
940
  code: string;
941
- name: Partial<Record<"en" | "ka" | "ru", string>>;
941
+ name: string;
942
942
  status: "active" | "archived";
943
943
  salesEnabled: boolean;
944
944
  updatedAt: Date | null;
@@ -972,7 +972,7 @@ declare const warehousesRouter: import("hono/hono-base").HonoBase<{
972
972
  input: {
973
973
  json: {
974
974
  code?: string | undefined;
975
- name?: Partial<Record<"en" | "ka" | "ru", string>> | undefined;
975
+ name?: string | undefined;
976
976
  status?: "active" | "archived" | undefined;
977
977
  salesEnabled?: boolean | undefined;
978
978
  warehouseId: 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.27",
4
+ "version": "1.0.28",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -428,11 +428,7 @@ type CustomerUpdatePayload = z.infer<typeof customerUpdatePayloadSchema>;
428
428
  declare const warehouseSchema: z.ZodObject<{
429
429
  id: z.ZodInt;
430
430
  code: z.ZodString;
431
- name: z.ZodRecord<z.ZodEnum<{
432
- en: "en";
433
- ka: "ka";
434
- ru: "ru";
435
- }> & z.core.$partial, z.ZodString>;
431
+ name: z.ZodString;
436
432
  status: z.ZodEnum<{
437
433
  active: "active";
438
434
  archived: "archived";
@@ -472,20 +468,12 @@ declare const warehouseSelectOneQuerySchema: z.ZodObject<{
472
468
  }, z.core.$strip>;
473
469
  declare const warehouseCreatePayloadSchema: z.ZodObject<{
474
470
  code: z.ZodString;
475
- name: z.ZodRecord<z.ZodEnum<{
476
- en: "en";
477
- ka: "ka";
478
- ru: "ru";
479
- }> & z.core.$partial, z.ZodString>;
471
+ name: z.ZodString;
480
472
  salesEnabled: z.ZodBoolean;
481
473
  }, z.core.$strip>;
482
474
  declare const warehouseUpdatePayloadSchema: z.ZodObject<{
483
475
  code: z.ZodOptional<z.ZodString>;
484
- name: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
485
- en: "en";
486
- ka: "ka";
487
- ru: "ru";
488
- }> & z.core.$partial, z.ZodString>>;
476
+ name: z.ZodOptional<z.ZodString>;
489
477
  status: z.ZodOptional<z.ZodEnum<{
490
478
  active: "active";
491
479
  archived: "archived";