@meerkapp/wms-contracts 0.2.0-beta.4 → 0.2.0-beta.5
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/dist/index.cjs +874 -874
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -83
- package/dist/index.d.ts +83 -83
- package/dist/index.js +874 -874
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -79,19 +79,19 @@ import * as z116 from "zod";
|
|
|
79
79
|
import * as z114 from "zod";
|
|
80
80
|
|
|
81
81
|
// src/generated/schemas/objects/LocalityArgs.schema.ts
|
|
82
|
-
import * as
|
|
82
|
+
import * as z72 from "zod";
|
|
83
83
|
|
|
84
84
|
// src/generated/schemas/objects/LocalitySelect.schema.ts
|
|
85
|
-
import * as
|
|
85
|
+
import * as z71 from "zod";
|
|
86
86
|
|
|
87
87
|
// src/generated/schemas/objects/CountryArgs.schema.ts
|
|
88
|
-
import * as
|
|
88
|
+
import * as z70 from "zod";
|
|
89
89
|
|
|
90
90
|
// src/generated/schemas/objects/CountrySelect.schema.ts
|
|
91
|
-
import * as
|
|
91
|
+
import * as z68 from "zod";
|
|
92
92
|
|
|
93
93
|
// src/generated/schemas/findManyLocality.schema.ts
|
|
94
|
-
import * as
|
|
94
|
+
import * as z64 from "zod";
|
|
95
95
|
|
|
96
96
|
// src/generated/schemas/objects/LocalityInclude.schema.ts
|
|
97
97
|
import * as z57 from "zod";
|
|
@@ -317,7 +317,7 @@ var countrywhereinputSchema = z27.object({
|
|
|
317
317
|
NOT: z27.union([z27.lazy(() => CountryWhereInputObjectSchema), z27.lazy(() => CountryWhereInputObjectSchema).array()]).optional(),
|
|
318
318
|
id: z27.union([z27.lazy(() => IntFilterObjectSchema), z27.number().int()]).optional(),
|
|
319
319
|
code: z27.union([z27.lazy(() => StringFilterObjectSchema), z27.string().max(2)]).optional(),
|
|
320
|
-
name: z27.union([z27.lazy(() =>
|
|
320
|
+
name: z27.union([z27.lazy(() => StringNullableFilterObjectSchema), z27.string()]).optional().nullable(),
|
|
321
321
|
updatedAt: z27.union([z27.lazy(() => DateTimeFilterObjectSchema), z27.coerce.date()]).optional(),
|
|
322
322
|
localities: z27.lazy(() => LocalityListRelationFilterObjectSchema).optional()
|
|
323
323
|
}).strict();
|
|
@@ -720,157 +720,166 @@ var LocalityIncludeObjectSchema = makeSchema25();
|
|
|
720
720
|
var LocalityIncludeObjectZodSchema = makeSchema25();
|
|
721
721
|
|
|
722
722
|
// src/generated/schemas/objects/LocalityOrderByWithRelationInput.schema.ts
|
|
723
|
-
import * as
|
|
723
|
+
import * as z62 from "zod";
|
|
724
724
|
|
|
725
725
|
// src/generated/schemas/objects/CountryOrderByWithRelationInput.schema.ts
|
|
726
|
-
import * as
|
|
726
|
+
import * as z60 from "zod";
|
|
727
727
|
|
|
728
|
-
// src/generated/schemas/objects/
|
|
728
|
+
// src/generated/schemas/objects/SortOrderInput.schema.ts
|
|
729
729
|
import * as z58 from "zod";
|
|
730
730
|
var makeSchema26 = () => z58.object({
|
|
731
|
+
sort: SortOrderSchema,
|
|
732
|
+
nulls: NullsOrderSchema.optional()
|
|
733
|
+
}).strict();
|
|
734
|
+
var SortOrderInputObjectSchema = makeSchema26();
|
|
735
|
+
var SortOrderInputObjectZodSchema = makeSchema26();
|
|
736
|
+
|
|
737
|
+
// src/generated/schemas/objects/LocalityOrderByRelationAggregateInput.schema.ts
|
|
738
|
+
import * as z59 from "zod";
|
|
739
|
+
var makeSchema27 = () => z59.object({
|
|
731
740
|
_count: SortOrderSchema.optional()
|
|
732
741
|
}).strict();
|
|
733
|
-
var LocalityOrderByRelationAggregateInputObjectSchema =
|
|
734
|
-
var LocalityOrderByRelationAggregateInputObjectZodSchema =
|
|
742
|
+
var LocalityOrderByRelationAggregateInputObjectSchema = makeSchema27();
|
|
743
|
+
var LocalityOrderByRelationAggregateInputObjectZodSchema = makeSchema27();
|
|
735
744
|
|
|
736
745
|
// src/generated/schemas/objects/CountryOrderByWithRelationInput.schema.ts
|
|
737
|
-
var
|
|
746
|
+
var makeSchema28 = () => z60.object({
|
|
738
747
|
id: SortOrderSchema.optional(),
|
|
739
748
|
code: SortOrderSchema.optional(),
|
|
740
|
-
name: SortOrderSchema.optional(),
|
|
749
|
+
name: z60.union([SortOrderSchema, z60.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
|
741
750
|
updatedAt: SortOrderSchema.optional(),
|
|
742
|
-
localities:
|
|
751
|
+
localities: z60.lazy(() => LocalityOrderByRelationAggregateInputObjectSchema).optional()
|
|
743
752
|
}).strict();
|
|
744
|
-
var CountryOrderByWithRelationInputObjectSchema =
|
|
745
|
-
var CountryOrderByWithRelationInputObjectZodSchema =
|
|
753
|
+
var CountryOrderByWithRelationInputObjectSchema = makeSchema28();
|
|
754
|
+
var CountryOrderByWithRelationInputObjectZodSchema = makeSchema28();
|
|
746
755
|
|
|
747
756
|
// src/generated/schemas/objects/WarehouseOrderByRelationAggregateInput.schema.ts
|
|
748
|
-
import * as
|
|
749
|
-
var
|
|
757
|
+
import * as z61 from "zod";
|
|
758
|
+
var makeSchema29 = () => z61.object({
|
|
750
759
|
_count: SortOrderSchema.optional()
|
|
751
760
|
}).strict();
|
|
752
|
-
var WarehouseOrderByRelationAggregateInputObjectSchema =
|
|
753
|
-
var WarehouseOrderByRelationAggregateInputObjectZodSchema =
|
|
761
|
+
var WarehouseOrderByRelationAggregateInputObjectSchema = makeSchema29();
|
|
762
|
+
var WarehouseOrderByRelationAggregateInputObjectZodSchema = makeSchema29();
|
|
754
763
|
|
|
755
764
|
// src/generated/schemas/objects/LocalityOrderByWithRelationInput.schema.ts
|
|
756
|
-
var
|
|
765
|
+
var makeSchema30 = () => z62.object({
|
|
757
766
|
id: SortOrderSchema.optional(),
|
|
758
767
|
name: SortOrderSchema.optional(),
|
|
759
768
|
countryId: SortOrderSchema.optional(),
|
|
760
769
|
updatedAt: SortOrderSchema.optional(),
|
|
761
|
-
country:
|
|
762
|
-
warehouses:
|
|
770
|
+
country: z62.lazy(() => CountryOrderByWithRelationInputObjectSchema).optional(),
|
|
771
|
+
warehouses: z62.lazy(() => WarehouseOrderByRelationAggregateInputObjectSchema).optional()
|
|
763
772
|
}).strict();
|
|
764
|
-
var LocalityOrderByWithRelationInputObjectSchema =
|
|
765
|
-
var LocalityOrderByWithRelationInputObjectZodSchema =
|
|
773
|
+
var LocalityOrderByWithRelationInputObjectSchema = makeSchema30();
|
|
774
|
+
var LocalityOrderByWithRelationInputObjectZodSchema = makeSchema30();
|
|
766
775
|
|
|
767
776
|
// src/generated/schemas/objects/LocalityWhereUniqueInput.schema.ts
|
|
768
|
-
import * as
|
|
769
|
-
var
|
|
770
|
-
id:
|
|
777
|
+
import * as z63 from "zod";
|
|
778
|
+
var makeSchema31 = () => z63.object({
|
|
779
|
+
id: z63.number().int().optional()
|
|
771
780
|
}).strict();
|
|
772
|
-
var LocalityWhereUniqueInputObjectSchema =
|
|
773
|
-
var LocalityWhereUniqueInputObjectZodSchema =
|
|
781
|
+
var LocalityWhereUniqueInputObjectSchema = makeSchema31();
|
|
782
|
+
var LocalityWhereUniqueInputObjectZodSchema = makeSchema31();
|
|
774
783
|
|
|
775
784
|
// src/generated/schemas/findManyLocality.schema.ts
|
|
776
|
-
var LocalityFindManySelectSchema =
|
|
777
|
-
id:
|
|
778
|
-
name:
|
|
779
|
-
countryId:
|
|
780
|
-
updatedAt:
|
|
781
|
-
country:
|
|
782
|
-
warehouses:
|
|
783
|
-
_count:
|
|
784
|
-
}).strict();
|
|
785
|
-
var LocalityFindManySelectZodSchema =
|
|
786
|
-
id:
|
|
787
|
-
name:
|
|
788
|
-
countryId:
|
|
789
|
-
updatedAt:
|
|
790
|
-
country:
|
|
791
|
-
warehouses:
|
|
792
|
-
_count:
|
|
793
|
-
}).strict();
|
|
794
|
-
var LocalityFindManySchema =
|
|
795
|
-
var LocalityFindManyZodSchema =
|
|
785
|
+
var LocalityFindManySelectSchema = z64.object({
|
|
786
|
+
id: z64.boolean().optional(),
|
|
787
|
+
name: z64.boolean().optional(),
|
|
788
|
+
countryId: z64.boolean().optional(),
|
|
789
|
+
updatedAt: z64.boolean().optional(),
|
|
790
|
+
country: z64.boolean().optional(),
|
|
791
|
+
warehouses: z64.boolean().optional(),
|
|
792
|
+
_count: z64.boolean().optional()
|
|
793
|
+
}).strict();
|
|
794
|
+
var LocalityFindManySelectZodSchema = z64.object({
|
|
795
|
+
id: z64.boolean().optional(),
|
|
796
|
+
name: z64.boolean().optional(),
|
|
797
|
+
countryId: z64.boolean().optional(),
|
|
798
|
+
updatedAt: z64.boolean().optional(),
|
|
799
|
+
country: z64.boolean().optional(),
|
|
800
|
+
warehouses: z64.boolean().optional(),
|
|
801
|
+
_count: z64.boolean().optional()
|
|
802
|
+
}).strict();
|
|
803
|
+
var LocalityFindManySchema = z64.object({ select: LocalityFindManySelectSchema.optional(), include: z64.lazy(() => LocalityIncludeObjectSchema.optional()), orderBy: z64.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z64.number().optional(), skip: z64.number().optional(), distinct: z64.union([LocalityScalarFieldEnumSchema, LocalityScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
804
|
+
var LocalityFindManyZodSchema = z64.object({ select: LocalityFindManySelectSchema.optional(), include: z64.lazy(() => LocalityIncludeObjectSchema.optional()), orderBy: z64.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z64.number().optional(), skip: z64.number().optional(), distinct: z64.union([LocalityScalarFieldEnumSchema, LocalityScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
796
805
|
|
|
797
806
|
// src/generated/schemas/objects/CountryCountOutputTypeArgs.schema.ts
|
|
798
|
-
import * as
|
|
807
|
+
import * as z67 from "zod";
|
|
799
808
|
|
|
800
809
|
// src/generated/schemas/objects/CountryCountOutputTypeSelect.schema.ts
|
|
801
|
-
import * as
|
|
810
|
+
import * as z66 from "zod";
|
|
802
811
|
|
|
803
812
|
// src/generated/schemas/objects/CountryCountOutputTypeCountLocalitiesArgs.schema.ts
|
|
804
|
-
import * as
|
|
805
|
-
var makeSchema31 = () => z64.object({
|
|
806
|
-
where: z64.lazy(() => LocalityWhereInputObjectSchema).optional()
|
|
807
|
-
}).strict();
|
|
808
|
-
var CountryCountOutputTypeCountLocalitiesArgsObjectSchema = makeSchema31();
|
|
809
|
-
var CountryCountOutputTypeCountLocalitiesArgsObjectZodSchema = makeSchema31();
|
|
810
|
-
|
|
811
|
-
// src/generated/schemas/objects/CountryCountOutputTypeSelect.schema.ts
|
|
813
|
+
import * as z65 from "zod";
|
|
812
814
|
var makeSchema32 = () => z65.object({
|
|
813
|
-
|
|
815
|
+
where: z65.lazy(() => LocalityWhereInputObjectSchema).optional()
|
|
814
816
|
}).strict();
|
|
815
|
-
var
|
|
816
|
-
var
|
|
817
|
+
var CountryCountOutputTypeCountLocalitiesArgsObjectSchema = makeSchema32();
|
|
818
|
+
var CountryCountOutputTypeCountLocalitiesArgsObjectZodSchema = makeSchema32();
|
|
817
819
|
|
|
818
|
-
// src/generated/schemas/objects/
|
|
820
|
+
// src/generated/schemas/objects/CountryCountOutputTypeSelect.schema.ts
|
|
819
821
|
var makeSchema33 = () => z66.object({
|
|
820
|
-
|
|
822
|
+
localities: z66.union([z66.boolean(), z66.lazy(() => CountryCountOutputTypeCountLocalitiesArgsObjectSchema)]).optional()
|
|
821
823
|
}).strict();
|
|
822
|
-
var
|
|
823
|
-
var
|
|
824
|
+
var CountryCountOutputTypeSelectObjectSchema = makeSchema33();
|
|
825
|
+
var CountryCountOutputTypeSelectObjectZodSchema = makeSchema33();
|
|
824
826
|
|
|
825
|
-
// src/generated/schemas/objects/
|
|
827
|
+
// src/generated/schemas/objects/CountryCountOutputTypeArgs.schema.ts
|
|
826
828
|
var makeSchema34 = () => z67.object({
|
|
827
|
-
|
|
828
|
-
code: z67.boolean().optional(),
|
|
829
|
-
name: z67.boolean().optional(),
|
|
830
|
-
updatedAt: z67.boolean().optional(),
|
|
831
|
-
localities: z67.union([z67.boolean(), z67.lazy(() => LocalityFindManySchema)]).optional(),
|
|
832
|
-
_count: z67.union([z67.boolean(), z67.lazy(() => CountryCountOutputTypeArgsObjectSchema)]).optional()
|
|
829
|
+
select: z67.lazy(() => CountryCountOutputTypeSelectObjectSchema).optional()
|
|
833
830
|
}).strict();
|
|
834
|
-
var
|
|
835
|
-
var
|
|
831
|
+
var CountryCountOutputTypeArgsObjectSchema = makeSchema34();
|
|
832
|
+
var CountryCountOutputTypeArgsObjectZodSchema = makeSchema34();
|
|
836
833
|
|
|
837
|
-
// src/generated/schemas/objects/
|
|
838
|
-
import * as z68 from "zod";
|
|
834
|
+
// src/generated/schemas/objects/CountrySelect.schema.ts
|
|
839
835
|
var makeSchema35 = () => z68.object({
|
|
836
|
+
id: z68.boolean().optional(),
|
|
837
|
+
code: z68.boolean().optional(),
|
|
838
|
+
name: z68.boolean().optional(),
|
|
839
|
+
updatedAt: z68.boolean().optional(),
|
|
840
840
|
localities: z68.union([z68.boolean(), z68.lazy(() => LocalityFindManySchema)]).optional(),
|
|
841
841
|
_count: z68.union([z68.boolean(), z68.lazy(() => CountryCountOutputTypeArgsObjectSchema)]).optional()
|
|
842
842
|
}).strict();
|
|
843
|
-
var
|
|
844
|
-
var
|
|
843
|
+
var CountrySelectObjectSchema = makeSchema35();
|
|
844
|
+
var CountrySelectObjectZodSchema = makeSchema35();
|
|
845
845
|
|
|
846
|
-
// src/generated/schemas/objects/
|
|
846
|
+
// src/generated/schemas/objects/CountryInclude.schema.ts
|
|
847
|
+
import * as z69 from "zod";
|
|
847
848
|
var makeSchema36 = () => z69.object({
|
|
848
|
-
|
|
849
|
-
|
|
849
|
+
localities: z69.union([z69.boolean(), z69.lazy(() => LocalityFindManySchema)]).optional(),
|
|
850
|
+
_count: z69.union([z69.boolean(), z69.lazy(() => CountryCountOutputTypeArgsObjectSchema)]).optional()
|
|
850
851
|
}).strict();
|
|
851
|
-
var
|
|
852
|
-
var
|
|
852
|
+
var CountryIncludeObjectSchema = makeSchema36();
|
|
853
|
+
var CountryIncludeObjectZodSchema = makeSchema36();
|
|
853
854
|
|
|
854
|
-
// src/generated/schemas/objects/
|
|
855
|
+
// src/generated/schemas/objects/CountryArgs.schema.ts
|
|
855
856
|
var makeSchema37 = () => z70.object({
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
countryId: z70.boolean().optional(),
|
|
859
|
-
updatedAt: z70.boolean().optional(),
|
|
860
|
-
country: z70.union([z70.boolean(), z70.lazy(() => CountryArgsObjectSchema)]).optional(),
|
|
861
|
-
warehouses: z70.union([z70.boolean(), z70.lazy(() => WarehouseFindManySchema)]).optional(),
|
|
862
|
-
_count: z70.union([z70.boolean(), z70.lazy(() => LocalityCountOutputTypeArgsObjectSchema)]).optional()
|
|
857
|
+
select: z70.lazy(() => CountrySelectObjectSchema).optional(),
|
|
858
|
+
include: z70.lazy(() => CountryIncludeObjectSchema).optional()
|
|
863
859
|
}).strict();
|
|
864
|
-
var
|
|
865
|
-
var
|
|
860
|
+
var CountryArgsObjectSchema = makeSchema37();
|
|
861
|
+
var CountryArgsObjectZodSchema = makeSchema37();
|
|
866
862
|
|
|
867
|
-
// src/generated/schemas/objects/
|
|
863
|
+
// src/generated/schemas/objects/LocalitySelect.schema.ts
|
|
868
864
|
var makeSchema38 = () => z71.object({
|
|
869
|
-
|
|
870
|
-
|
|
865
|
+
id: z71.boolean().optional(),
|
|
866
|
+
name: z71.boolean().optional(),
|
|
867
|
+
countryId: z71.boolean().optional(),
|
|
868
|
+
updatedAt: z71.boolean().optional(),
|
|
869
|
+
country: z71.union([z71.boolean(), z71.lazy(() => CountryArgsObjectSchema)]).optional(),
|
|
870
|
+
warehouses: z71.union([z71.boolean(), z71.lazy(() => WarehouseFindManySchema)]).optional(),
|
|
871
|
+
_count: z71.union([z71.boolean(), z71.lazy(() => LocalityCountOutputTypeArgsObjectSchema)]).optional()
|
|
871
872
|
}).strict();
|
|
872
|
-
var
|
|
873
|
-
var
|
|
873
|
+
var LocalitySelectObjectSchema = makeSchema38();
|
|
874
|
+
var LocalitySelectObjectZodSchema = makeSchema38();
|
|
875
|
+
|
|
876
|
+
// src/generated/schemas/objects/LocalityArgs.schema.ts
|
|
877
|
+
var makeSchema39 = () => z72.object({
|
|
878
|
+
select: z72.lazy(() => LocalitySelectObjectSchema).optional(),
|
|
879
|
+
include: z72.lazy(() => LocalityIncludeObjectSchema).optional()
|
|
880
|
+
}).strict();
|
|
881
|
+
var LocalityArgsObjectSchema = makeSchema39();
|
|
882
|
+
var LocalityArgsObjectZodSchema = makeSchema39();
|
|
874
883
|
|
|
875
884
|
// src/generated/schemas/findManyEmployee.schema.ts
|
|
876
885
|
import * as z110 from "zod";
|
|
@@ -882,269 +891,269 @@ import * as z108 from "zod";
|
|
|
882
891
|
import * as z104 from "zod";
|
|
883
892
|
|
|
884
893
|
// src/generated/schemas/objects/EmployeeRoleAssignmentInclude.schema.ts
|
|
885
|
-
import * as
|
|
894
|
+
import * as z96 from "zod";
|
|
886
895
|
|
|
887
896
|
// src/generated/schemas/objects/EmployeeArgs.schema.ts
|
|
888
|
-
import * as
|
|
889
|
-
var
|
|
890
|
-
select:
|
|
891
|
-
include:
|
|
897
|
+
import * as z73 from "zod";
|
|
898
|
+
var makeSchema40 = () => z73.object({
|
|
899
|
+
select: z73.lazy(() => EmployeeSelectObjectSchema).optional(),
|
|
900
|
+
include: z73.lazy(() => EmployeeIncludeObjectSchema).optional()
|
|
892
901
|
}).strict();
|
|
893
|
-
var EmployeeArgsObjectSchema =
|
|
894
|
-
var EmployeeArgsObjectZodSchema =
|
|
902
|
+
var EmployeeArgsObjectSchema = makeSchema40();
|
|
903
|
+
var EmployeeArgsObjectZodSchema = makeSchema40();
|
|
895
904
|
|
|
896
905
|
// src/generated/schemas/objects/EmployeeRoleArgs.schema.ts
|
|
897
|
-
import * as
|
|
906
|
+
import * as z95 from "zod";
|
|
898
907
|
|
|
899
908
|
// src/generated/schemas/objects/EmployeeRoleSelect.schema.ts
|
|
900
|
-
import * as
|
|
909
|
+
import * as z93 from "zod";
|
|
901
910
|
|
|
902
911
|
// src/generated/schemas/findManyEmployeeRolePermission.schema.ts
|
|
903
|
-
import * as
|
|
912
|
+
import * as z88 from "zod";
|
|
904
913
|
|
|
905
914
|
// src/generated/schemas/objects/EmployeeRolePermissionInclude.schema.ts
|
|
906
|
-
import * as
|
|
915
|
+
import * as z80 from "zod";
|
|
907
916
|
|
|
908
917
|
// src/generated/schemas/objects/EmployeePermissionArgs.schema.ts
|
|
909
|
-
import * as
|
|
918
|
+
import * as z79 from "zod";
|
|
910
919
|
|
|
911
920
|
// src/generated/schemas/objects/EmployeePermissionSelect.schema.ts
|
|
912
|
-
import * as
|
|
921
|
+
import * as z77 from "zod";
|
|
913
922
|
|
|
914
923
|
// src/generated/schemas/objects/EmployeePermissionCountOutputTypeArgs.schema.ts
|
|
915
|
-
import * as
|
|
924
|
+
import * as z76 from "zod";
|
|
916
925
|
|
|
917
926
|
// src/generated/schemas/objects/EmployeePermissionCountOutputTypeSelect.schema.ts
|
|
918
|
-
import * as
|
|
927
|
+
import * as z75 from "zod";
|
|
919
928
|
|
|
920
929
|
// src/generated/schemas/objects/EmployeePermissionCountOutputTypeCountRolePermissionsArgs.schema.ts
|
|
921
|
-
import * as
|
|
922
|
-
var makeSchema40 = () => z73.object({
|
|
923
|
-
where: z73.lazy(() => EmployeeRolePermissionWhereInputObjectSchema).optional()
|
|
924
|
-
}).strict();
|
|
925
|
-
var EmployeePermissionCountOutputTypeCountRolePermissionsArgsObjectSchema = makeSchema40();
|
|
926
|
-
var EmployeePermissionCountOutputTypeCountRolePermissionsArgsObjectZodSchema = makeSchema40();
|
|
927
|
-
|
|
928
|
-
// src/generated/schemas/objects/EmployeePermissionCountOutputTypeSelect.schema.ts
|
|
930
|
+
import * as z74 from "zod";
|
|
929
931
|
var makeSchema41 = () => z74.object({
|
|
930
|
-
|
|
932
|
+
where: z74.lazy(() => EmployeeRolePermissionWhereInputObjectSchema).optional()
|
|
931
933
|
}).strict();
|
|
932
|
-
var
|
|
933
|
-
var
|
|
934
|
+
var EmployeePermissionCountOutputTypeCountRolePermissionsArgsObjectSchema = makeSchema41();
|
|
935
|
+
var EmployeePermissionCountOutputTypeCountRolePermissionsArgsObjectZodSchema = makeSchema41();
|
|
934
936
|
|
|
935
|
-
// src/generated/schemas/objects/
|
|
937
|
+
// src/generated/schemas/objects/EmployeePermissionCountOutputTypeSelect.schema.ts
|
|
936
938
|
var makeSchema42 = () => z75.object({
|
|
937
|
-
|
|
939
|
+
rolePermissions: z75.union([z75.boolean(), z75.lazy(() => EmployeePermissionCountOutputTypeCountRolePermissionsArgsObjectSchema)]).optional()
|
|
938
940
|
}).strict();
|
|
939
|
-
var
|
|
940
|
-
var
|
|
941
|
+
var EmployeePermissionCountOutputTypeSelectObjectSchema = makeSchema42();
|
|
942
|
+
var EmployeePermissionCountOutputTypeSelectObjectZodSchema = makeSchema42();
|
|
941
943
|
|
|
942
|
-
// src/generated/schemas/objects/
|
|
944
|
+
// src/generated/schemas/objects/EmployeePermissionCountOutputTypeArgs.schema.ts
|
|
943
945
|
var makeSchema43 = () => z76.object({
|
|
944
|
-
|
|
945
|
-
name: z76.boolean().optional(),
|
|
946
|
-
updatedAt: z76.boolean().optional(),
|
|
947
|
-
rolePermissions: z76.union([z76.boolean(), z76.lazy(() => EmployeeRolePermissionFindManySchema)]).optional(),
|
|
948
|
-
_count: z76.union([z76.boolean(), z76.lazy(() => EmployeePermissionCountOutputTypeArgsObjectSchema)]).optional()
|
|
946
|
+
select: z76.lazy(() => EmployeePermissionCountOutputTypeSelectObjectSchema).optional()
|
|
949
947
|
}).strict();
|
|
950
|
-
var
|
|
951
|
-
var
|
|
948
|
+
var EmployeePermissionCountOutputTypeArgsObjectSchema = makeSchema43();
|
|
949
|
+
var EmployeePermissionCountOutputTypeArgsObjectZodSchema = makeSchema43();
|
|
952
950
|
|
|
953
|
-
// src/generated/schemas/objects/
|
|
954
|
-
import * as z77 from "zod";
|
|
951
|
+
// src/generated/schemas/objects/EmployeePermissionSelect.schema.ts
|
|
955
952
|
var makeSchema44 = () => z77.object({
|
|
953
|
+
id: z77.boolean().optional(),
|
|
954
|
+
name: z77.boolean().optional(),
|
|
955
|
+
updatedAt: z77.boolean().optional(),
|
|
956
956
|
rolePermissions: z77.union([z77.boolean(), z77.lazy(() => EmployeeRolePermissionFindManySchema)]).optional(),
|
|
957
957
|
_count: z77.union([z77.boolean(), z77.lazy(() => EmployeePermissionCountOutputTypeArgsObjectSchema)]).optional()
|
|
958
958
|
}).strict();
|
|
959
|
-
var
|
|
960
|
-
var
|
|
959
|
+
var EmployeePermissionSelectObjectSchema = makeSchema44();
|
|
960
|
+
var EmployeePermissionSelectObjectZodSchema = makeSchema44();
|
|
961
961
|
|
|
962
|
-
// src/generated/schemas/objects/
|
|
962
|
+
// src/generated/schemas/objects/EmployeePermissionInclude.schema.ts
|
|
963
|
+
import * as z78 from "zod";
|
|
963
964
|
var makeSchema45 = () => z78.object({
|
|
964
|
-
|
|
965
|
-
|
|
965
|
+
rolePermissions: z78.union([z78.boolean(), z78.lazy(() => EmployeeRolePermissionFindManySchema)]).optional(),
|
|
966
|
+
_count: z78.union([z78.boolean(), z78.lazy(() => EmployeePermissionCountOutputTypeArgsObjectSchema)]).optional()
|
|
966
967
|
}).strict();
|
|
967
|
-
var
|
|
968
|
-
var
|
|
968
|
+
var EmployeePermissionIncludeObjectSchema = makeSchema45();
|
|
969
|
+
var EmployeePermissionIncludeObjectZodSchema = makeSchema45();
|
|
969
970
|
|
|
970
|
-
// src/generated/schemas/objects/
|
|
971
|
+
// src/generated/schemas/objects/EmployeePermissionArgs.schema.ts
|
|
971
972
|
var makeSchema46 = () => z79.object({
|
|
972
|
-
|
|
973
|
-
|
|
973
|
+
select: z79.lazy(() => EmployeePermissionSelectObjectSchema).optional(),
|
|
974
|
+
include: z79.lazy(() => EmployeePermissionIncludeObjectSchema).optional()
|
|
974
975
|
}).strict();
|
|
975
|
-
var
|
|
976
|
-
var
|
|
976
|
+
var EmployeePermissionArgsObjectSchema = makeSchema46();
|
|
977
|
+
var EmployeePermissionArgsObjectZodSchema = makeSchema46();
|
|
978
|
+
|
|
979
|
+
// src/generated/schemas/objects/EmployeeRolePermissionInclude.schema.ts
|
|
980
|
+
var makeSchema47 = () => z80.object({
|
|
981
|
+
employeeRole: z80.union([z80.boolean(), z80.lazy(() => EmployeeRoleArgsObjectSchema)]).optional(),
|
|
982
|
+
employeePermission: z80.union([z80.boolean(), z80.lazy(() => EmployeePermissionArgsObjectSchema)]).optional()
|
|
983
|
+
}).strict();
|
|
984
|
+
var EmployeeRolePermissionIncludeObjectSchema = makeSchema47();
|
|
985
|
+
var EmployeeRolePermissionIncludeObjectZodSchema = makeSchema47();
|
|
977
986
|
|
|
978
987
|
// src/generated/schemas/objects/EmployeeRolePermissionOrderByWithRelationInput.schema.ts
|
|
979
|
-
import * as
|
|
988
|
+
import * as z85 from "zod";
|
|
980
989
|
|
|
981
990
|
// src/generated/schemas/objects/EmployeeRoleOrderByWithRelationInput.schema.ts
|
|
982
|
-
import * as
|
|
991
|
+
import * as z83 from "zod";
|
|
983
992
|
|
|
984
993
|
// src/generated/schemas/objects/EmployeeRoleAssignmentOrderByRelationAggregateInput.schema.ts
|
|
985
|
-
import * as
|
|
986
|
-
var
|
|
994
|
+
import * as z81 from "zod";
|
|
995
|
+
var makeSchema48 = () => z81.object({
|
|
987
996
|
_count: SortOrderSchema.optional()
|
|
988
997
|
}).strict();
|
|
989
|
-
var EmployeeRoleAssignmentOrderByRelationAggregateInputObjectSchema =
|
|
990
|
-
var EmployeeRoleAssignmentOrderByRelationAggregateInputObjectZodSchema =
|
|
998
|
+
var EmployeeRoleAssignmentOrderByRelationAggregateInputObjectSchema = makeSchema48();
|
|
999
|
+
var EmployeeRoleAssignmentOrderByRelationAggregateInputObjectZodSchema = makeSchema48();
|
|
991
1000
|
|
|
992
1001
|
// src/generated/schemas/objects/EmployeeRolePermissionOrderByRelationAggregateInput.schema.ts
|
|
993
|
-
import * as
|
|
994
|
-
var
|
|
1002
|
+
import * as z82 from "zod";
|
|
1003
|
+
var makeSchema49 = () => z82.object({
|
|
995
1004
|
_count: SortOrderSchema.optional()
|
|
996
1005
|
}).strict();
|
|
997
|
-
var EmployeeRolePermissionOrderByRelationAggregateInputObjectSchema =
|
|
998
|
-
var EmployeeRolePermissionOrderByRelationAggregateInputObjectZodSchema =
|
|
1006
|
+
var EmployeeRolePermissionOrderByRelationAggregateInputObjectSchema = makeSchema49();
|
|
1007
|
+
var EmployeeRolePermissionOrderByRelationAggregateInputObjectZodSchema = makeSchema49();
|
|
999
1008
|
|
|
1000
1009
|
// src/generated/schemas/objects/EmployeeRoleOrderByWithRelationInput.schema.ts
|
|
1001
|
-
var
|
|
1010
|
+
var makeSchema50 = () => z83.object({
|
|
1002
1011
|
id: SortOrderSchema.optional(),
|
|
1003
1012
|
name: SortOrderSchema.optional(),
|
|
1004
1013
|
updatedAt: SortOrderSchema.optional(),
|
|
1005
|
-
assignments:
|
|
1006
|
-
permissions:
|
|
1014
|
+
assignments: z83.lazy(() => EmployeeRoleAssignmentOrderByRelationAggregateInputObjectSchema).optional(),
|
|
1015
|
+
permissions: z83.lazy(() => EmployeeRolePermissionOrderByRelationAggregateInputObjectSchema).optional()
|
|
1007
1016
|
}).strict();
|
|
1008
|
-
var EmployeeRoleOrderByWithRelationInputObjectSchema =
|
|
1009
|
-
var EmployeeRoleOrderByWithRelationInputObjectZodSchema =
|
|
1017
|
+
var EmployeeRoleOrderByWithRelationInputObjectSchema = makeSchema50();
|
|
1018
|
+
var EmployeeRoleOrderByWithRelationInputObjectZodSchema = makeSchema50();
|
|
1010
1019
|
|
|
1011
1020
|
// src/generated/schemas/objects/EmployeePermissionOrderByWithRelationInput.schema.ts
|
|
1012
|
-
import * as
|
|
1013
|
-
var
|
|
1021
|
+
import * as z84 from "zod";
|
|
1022
|
+
var makeSchema51 = () => z84.object({
|
|
1014
1023
|
id: SortOrderSchema.optional(),
|
|
1015
1024
|
name: SortOrderSchema.optional(),
|
|
1016
1025
|
updatedAt: SortOrderSchema.optional(),
|
|
1017
|
-
rolePermissions:
|
|
1026
|
+
rolePermissions: z84.lazy(() => EmployeeRolePermissionOrderByRelationAggregateInputObjectSchema).optional()
|
|
1018
1027
|
}).strict();
|
|
1019
|
-
var EmployeePermissionOrderByWithRelationInputObjectSchema =
|
|
1020
|
-
var EmployeePermissionOrderByWithRelationInputObjectZodSchema =
|
|
1028
|
+
var EmployeePermissionOrderByWithRelationInputObjectSchema = makeSchema51();
|
|
1029
|
+
var EmployeePermissionOrderByWithRelationInputObjectZodSchema = makeSchema51();
|
|
1021
1030
|
|
|
1022
1031
|
// src/generated/schemas/objects/EmployeeRolePermissionOrderByWithRelationInput.schema.ts
|
|
1023
|
-
var
|
|
1032
|
+
var makeSchema52 = () => z85.object({
|
|
1024
1033
|
id: SortOrderSchema.optional(),
|
|
1025
1034
|
employeeRoleId: SortOrderSchema.optional(),
|
|
1026
1035
|
employeePermissionId: SortOrderSchema.optional(),
|
|
1027
1036
|
updatedAt: SortOrderSchema.optional(),
|
|
1028
|
-
employeeRole:
|
|
1029
|
-
employeePermission:
|
|
1037
|
+
employeeRole: z85.lazy(() => EmployeeRoleOrderByWithRelationInputObjectSchema).optional(),
|
|
1038
|
+
employeePermission: z85.lazy(() => EmployeePermissionOrderByWithRelationInputObjectSchema).optional()
|
|
1030
1039
|
}).strict();
|
|
1031
|
-
var EmployeeRolePermissionOrderByWithRelationInputObjectSchema =
|
|
1032
|
-
var EmployeeRolePermissionOrderByWithRelationInputObjectZodSchema =
|
|
1040
|
+
var EmployeeRolePermissionOrderByWithRelationInputObjectSchema = makeSchema52();
|
|
1041
|
+
var EmployeeRolePermissionOrderByWithRelationInputObjectZodSchema = makeSchema52();
|
|
1033
1042
|
|
|
1034
1043
|
// src/generated/schemas/objects/EmployeeRolePermissionWhereUniqueInput.schema.ts
|
|
1035
|
-
import * as
|
|
1044
|
+
import * as z87 from "zod";
|
|
1036
1045
|
|
|
1037
1046
|
// src/generated/schemas/objects/EmployeeRolePermissionEmployeeRoleIdEmployeePermissionIdCompoundUniqueInput.schema.ts
|
|
1038
|
-
import * as
|
|
1039
|
-
var
|
|
1040
|
-
employeeRoleId:
|
|
1041
|
-
employeePermissionId:
|
|
1047
|
+
import * as z86 from "zod";
|
|
1048
|
+
var makeSchema53 = () => z86.object({
|
|
1049
|
+
employeeRoleId: z86.bigint(),
|
|
1050
|
+
employeePermissionId: z86.bigint()
|
|
1042
1051
|
}).strict();
|
|
1043
|
-
var EmployeeRolePermissionEmployeeRoleIdEmployeePermissionIdCompoundUniqueInputObjectSchema =
|
|
1044
|
-
var EmployeeRolePermissionEmployeeRoleIdEmployeePermissionIdCompoundUniqueInputObjectZodSchema =
|
|
1052
|
+
var EmployeeRolePermissionEmployeeRoleIdEmployeePermissionIdCompoundUniqueInputObjectSchema = makeSchema53();
|
|
1053
|
+
var EmployeeRolePermissionEmployeeRoleIdEmployeePermissionIdCompoundUniqueInputObjectZodSchema = makeSchema53();
|
|
1045
1054
|
|
|
1046
1055
|
// src/generated/schemas/objects/EmployeeRolePermissionWhereUniqueInput.schema.ts
|
|
1047
|
-
var
|
|
1048
|
-
id:
|
|
1049
|
-
employeeRoleId_employeePermissionId:
|
|
1056
|
+
var makeSchema54 = () => z87.object({
|
|
1057
|
+
id: z87.bigint().optional(),
|
|
1058
|
+
employeeRoleId_employeePermissionId: z87.lazy(() => EmployeeRolePermissionEmployeeRoleIdEmployeePermissionIdCompoundUniqueInputObjectSchema).optional()
|
|
1050
1059
|
}).strict();
|
|
1051
|
-
var EmployeeRolePermissionWhereUniqueInputObjectSchema =
|
|
1052
|
-
var EmployeeRolePermissionWhereUniqueInputObjectZodSchema =
|
|
1060
|
+
var EmployeeRolePermissionWhereUniqueInputObjectSchema = makeSchema54();
|
|
1061
|
+
var EmployeeRolePermissionWhereUniqueInputObjectZodSchema = makeSchema54();
|
|
1053
1062
|
|
|
1054
1063
|
// src/generated/schemas/findManyEmployeeRolePermission.schema.ts
|
|
1055
|
-
var EmployeeRolePermissionFindManySelectSchema =
|
|
1056
|
-
id:
|
|
1057
|
-
employeeRoleId:
|
|
1058
|
-
employeePermissionId:
|
|
1059
|
-
updatedAt:
|
|
1060
|
-
employeeRole:
|
|
1061
|
-
employeePermission:
|
|
1062
|
-
}).strict();
|
|
1063
|
-
var EmployeeRolePermissionFindManySelectZodSchema =
|
|
1064
|
-
id:
|
|
1065
|
-
employeeRoleId:
|
|
1066
|
-
employeePermissionId:
|
|
1067
|
-
updatedAt:
|
|
1068
|
-
employeeRole:
|
|
1069
|
-
employeePermission:
|
|
1070
|
-
}).strict();
|
|
1071
|
-
var EmployeeRolePermissionFindManySchema =
|
|
1072
|
-
var EmployeeRolePermissionFindManyZodSchema =
|
|
1064
|
+
var EmployeeRolePermissionFindManySelectSchema = z88.object({
|
|
1065
|
+
id: z88.boolean().optional(),
|
|
1066
|
+
employeeRoleId: z88.boolean().optional(),
|
|
1067
|
+
employeePermissionId: z88.boolean().optional(),
|
|
1068
|
+
updatedAt: z88.boolean().optional(),
|
|
1069
|
+
employeeRole: z88.boolean().optional(),
|
|
1070
|
+
employeePermission: z88.boolean().optional()
|
|
1071
|
+
}).strict();
|
|
1072
|
+
var EmployeeRolePermissionFindManySelectZodSchema = z88.object({
|
|
1073
|
+
id: z88.boolean().optional(),
|
|
1074
|
+
employeeRoleId: z88.boolean().optional(),
|
|
1075
|
+
employeePermissionId: z88.boolean().optional(),
|
|
1076
|
+
updatedAt: z88.boolean().optional(),
|
|
1077
|
+
employeeRole: z88.boolean().optional(),
|
|
1078
|
+
employeePermission: z88.boolean().optional()
|
|
1079
|
+
}).strict();
|
|
1080
|
+
var EmployeeRolePermissionFindManySchema = z88.object({ select: EmployeeRolePermissionFindManySelectSchema.optional(), include: z88.lazy(() => EmployeeRolePermissionIncludeObjectSchema.optional()), orderBy: z88.union([EmployeeRolePermissionOrderByWithRelationInputObjectSchema, EmployeeRolePermissionOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRolePermissionWhereInputObjectSchema.optional(), cursor: EmployeeRolePermissionWhereUniqueInputObjectSchema.optional(), take: z88.number().optional(), skip: z88.number().optional(), distinct: z88.union([EmployeeRolePermissionScalarFieldEnumSchema, EmployeeRolePermissionScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
1081
|
+
var EmployeeRolePermissionFindManyZodSchema = z88.object({ select: EmployeeRolePermissionFindManySelectSchema.optional(), include: z88.lazy(() => EmployeeRolePermissionIncludeObjectSchema.optional()), orderBy: z88.union([EmployeeRolePermissionOrderByWithRelationInputObjectSchema, EmployeeRolePermissionOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRolePermissionWhereInputObjectSchema.optional(), cursor: EmployeeRolePermissionWhereUniqueInputObjectSchema.optional(), take: z88.number().optional(), skip: z88.number().optional(), distinct: z88.union([EmployeeRolePermissionScalarFieldEnumSchema, EmployeeRolePermissionScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
1073
1082
|
|
|
1074
1083
|
// src/generated/schemas/objects/EmployeeRoleCountOutputTypeArgs.schema.ts
|
|
1075
|
-
import * as
|
|
1084
|
+
import * as z92 from "zod";
|
|
1076
1085
|
|
|
1077
1086
|
// src/generated/schemas/objects/EmployeeRoleCountOutputTypeSelect.schema.ts
|
|
1078
|
-
import * as
|
|
1087
|
+
import * as z91 from "zod";
|
|
1079
1088
|
|
|
1080
1089
|
// src/generated/schemas/objects/EmployeeRoleCountOutputTypeCountAssignmentsArgs.schema.ts
|
|
1081
|
-
import * as z88 from "zod";
|
|
1082
|
-
var makeSchema54 = () => z88.object({
|
|
1083
|
-
where: z88.lazy(() => EmployeeRoleAssignmentWhereInputObjectSchema).optional()
|
|
1084
|
-
}).strict();
|
|
1085
|
-
var EmployeeRoleCountOutputTypeCountAssignmentsArgsObjectSchema = makeSchema54();
|
|
1086
|
-
var EmployeeRoleCountOutputTypeCountAssignmentsArgsObjectZodSchema = makeSchema54();
|
|
1087
|
-
|
|
1088
|
-
// src/generated/schemas/objects/EmployeeRoleCountOutputTypeCountPermissionsArgs.schema.ts
|
|
1089
1090
|
import * as z89 from "zod";
|
|
1090
1091
|
var makeSchema55 = () => z89.object({
|
|
1091
|
-
where: z89.lazy(() =>
|
|
1092
|
+
where: z89.lazy(() => EmployeeRoleAssignmentWhereInputObjectSchema).optional()
|
|
1092
1093
|
}).strict();
|
|
1093
|
-
var
|
|
1094
|
-
var
|
|
1094
|
+
var EmployeeRoleCountOutputTypeCountAssignmentsArgsObjectSchema = makeSchema55();
|
|
1095
|
+
var EmployeeRoleCountOutputTypeCountAssignmentsArgsObjectZodSchema = makeSchema55();
|
|
1095
1096
|
|
|
1096
|
-
// src/generated/schemas/objects/
|
|
1097
|
+
// src/generated/schemas/objects/EmployeeRoleCountOutputTypeCountPermissionsArgs.schema.ts
|
|
1098
|
+
import * as z90 from "zod";
|
|
1097
1099
|
var makeSchema56 = () => z90.object({
|
|
1098
|
-
|
|
1099
|
-
permissions: z90.union([z90.boolean(), z90.lazy(() => EmployeeRoleCountOutputTypeCountPermissionsArgsObjectSchema)]).optional()
|
|
1100
|
+
where: z90.lazy(() => EmployeeRolePermissionWhereInputObjectSchema).optional()
|
|
1100
1101
|
}).strict();
|
|
1101
|
-
var
|
|
1102
|
-
var
|
|
1102
|
+
var EmployeeRoleCountOutputTypeCountPermissionsArgsObjectSchema = makeSchema56();
|
|
1103
|
+
var EmployeeRoleCountOutputTypeCountPermissionsArgsObjectZodSchema = makeSchema56();
|
|
1103
1104
|
|
|
1104
|
-
// src/generated/schemas/objects/
|
|
1105
|
+
// src/generated/schemas/objects/EmployeeRoleCountOutputTypeSelect.schema.ts
|
|
1105
1106
|
var makeSchema57 = () => z91.object({
|
|
1106
|
-
|
|
1107
|
+
assignments: z91.union([z91.boolean(), z91.lazy(() => EmployeeRoleCountOutputTypeCountAssignmentsArgsObjectSchema)]).optional(),
|
|
1108
|
+
permissions: z91.union([z91.boolean(), z91.lazy(() => EmployeeRoleCountOutputTypeCountPermissionsArgsObjectSchema)]).optional()
|
|
1107
1109
|
}).strict();
|
|
1108
|
-
var
|
|
1109
|
-
var
|
|
1110
|
+
var EmployeeRoleCountOutputTypeSelectObjectSchema = makeSchema57();
|
|
1111
|
+
var EmployeeRoleCountOutputTypeSelectObjectZodSchema = makeSchema57();
|
|
1110
1112
|
|
|
1111
|
-
// src/generated/schemas/objects/
|
|
1113
|
+
// src/generated/schemas/objects/EmployeeRoleCountOutputTypeArgs.schema.ts
|
|
1112
1114
|
var makeSchema58 = () => z92.object({
|
|
1113
|
-
|
|
1114
|
-
name: z92.boolean().optional(),
|
|
1115
|
-
updatedAt: z92.boolean().optional(),
|
|
1116
|
-
assignments: z92.union([z92.boolean(), z92.lazy(() => EmployeeRoleAssignmentFindManySchema)]).optional(),
|
|
1117
|
-
permissions: z92.union([z92.boolean(), z92.lazy(() => EmployeeRolePermissionFindManySchema)]).optional(),
|
|
1118
|
-
_count: z92.union([z92.boolean(), z92.lazy(() => EmployeeRoleCountOutputTypeArgsObjectSchema)]).optional()
|
|
1115
|
+
select: z92.lazy(() => EmployeeRoleCountOutputTypeSelectObjectSchema).optional()
|
|
1119
1116
|
}).strict();
|
|
1120
|
-
var
|
|
1121
|
-
var
|
|
1117
|
+
var EmployeeRoleCountOutputTypeArgsObjectSchema = makeSchema58();
|
|
1118
|
+
var EmployeeRoleCountOutputTypeArgsObjectZodSchema = makeSchema58();
|
|
1122
1119
|
|
|
1123
|
-
// src/generated/schemas/objects/
|
|
1124
|
-
import * as z93 from "zod";
|
|
1120
|
+
// src/generated/schemas/objects/EmployeeRoleSelect.schema.ts
|
|
1125
1121
|
var makeSchema59 = () => z93.object({
|
|
1122
|
+
id: z93.boolean().optional(),
|
|
1123
|
+
name: z93.boolean().optional(),
|
|
1124
|
+
updatedAt: z93.boolean().optional(),
|
|
1126
1125
|
assignments: z93.union([z93.boolean(), z93.lazy(() => EmployeeRoleAssignmentFindManySchema)]).optional(),
|
|
1127
1126
|
permissions: z93.union([z93.boolean(), z93.lazy(() => EmployeeRolePermissionFindManySchema)]).optional(),
|
|
1128
1127
|
_count: z93.union([z93.boolean(), z93.lazy(() => EmployeeRoleCountOutputTypeArgsObjectSchema)]).optional()
|
|
1129
1128
|
}).strict();
|
|
1130
|
-
var
|
|
1131
|
-
var
|
|
1129
|
+
var EmployeeRoleSelectObjectSchema = makeSchema59();
|
|
1130
|
+
var EmployeeRoleSelectObjectZodSchema = makeSchema59();
|
|
1132
1131
|
|
|
1133
|
-
// src/generated/schemas/objects/
|
|
1132
|
+
// src/generated/schemas/objects/EmployeeRoleInclude.schema.ts
|
|
1133
|
+
import * as z94 from "zod";
|
|
1134
1134
|
var makeSchema60 = () => z94.object({
|
|
1135
|
-
|
|
1136
|
-
|
|
1135
|
+
assignments: z94.union([z94.boolean(), z94.lazy(() => EmployeeRoleAssignmentFindManySchema)]).optional(),
|
|
1136
|
+
permissions: z94.union([z94.boolean(), z94.lazy(() => EmployeeRolePermissionFindManySchema)]).optional(),
|
|
1137
|
+
_count: z94.union([z94.boolean(), z94.lazy(() => EmployeeRoleCountOutputTypeArgsObjectSchema)]).optional()
|
|
1137
1138
|
}).strict();
|
|
1138
|
-
var
|
|
1139
|
-
var
|
|
1139
|
+
var EmployeeRoleIncludeObjectSchema = makeSchema60();
|
|
1140
|
+
var EmployeeRoleIncludeObjectZodSchema = makeSchema60();
|
|
1140
1141
|
|
|
1141
|
-
// src/generated/schemas/objects/
|
|
1142
|
+
// src/generated/schemas/objects/EmployeeRoleArgs.schema.ts
|
|
1142
1143
|
var makeSchema61 = () => z95.object({
|
|
1143
|
-
|
|
1144
|
-
|
|
1144
|
+
select: z95.lazy(() => EmployeeRoleSelectObjectSchema).optional(),
|
|
1145
|
+
include: z95.lazy(() => EmployeeRoleIncludeObjectSchema).optional()
|
|
1146
|
+
}).strict();
|
|
1147
|
+
var EmployeeRoleArgsObjectSchema = makeSchema61();
|
|
1148
|
+
var EmployeeRoleArgsObjectZodSchema = makeSchema61();
|
|
1149
|
+
|
|
1150
|
+
// src/generated/schemas/objects/EmployeeRoleAssignmentInclude.schema.ts
|
|
1151
|
+
var makeSchema62 = () => z96.object({
|
|
1152
|
+
employee: z96.union([z96.boolean(), z96.lazy(() => EmployeeArgsObjectSchema)]).optional(),
|
|
1153
|
+
employeeRole: z96.union([z96.boolean(), z96.lazy(() => EmployeeRoleArgsObjectSchema)]).optional()
|
|
1145
1154
|
}).strict();
|
|
1146
|
-
var EmployeeRoleAssignmentIncludeObjectSchema =
|
|
1147
|
-
var EmployeeRoleAssignmentIncludeObjectZodSchema =
|
|
1155
|
+
var EmployeeRoleAssignmentIncludeObjectSchema = makeSchema62();
|
|
1156
|
+
var EmployeeRoleAssignmentIncludeObjectZodSchema = makeSchema62();
|
|
1148
1157
|
|
|
1149
1158
|
// src/generated/schemas/objects/EmployeeRoleAssignmentOrderByWithRelationInput.schema.ts
|
|
1150
1159
|
import * as z101 from "zod";
|
|
@@ -1152,15 +1161,6 @@ import * as z101 from "zod";
|
|
|
1152
1161
|
// src/generated/schemas/objects/EmployeeOrderByWithRelationInput.schema.ts
|
|
1153
1162
|
import * as z100 from "zod";
|
|
1154
1163
|
|
|
1155
|
-
// src/generated/schemas/objects/SortOrderInput.schema.ts
|
|
1156
|
-
import * as z96 from "zod";
|
|
1157
|
-
var makeSchema62 = () => z96.object({
|
|
1158
|
-
sort: SortOrderSchema,
|
|
1159
|
-
nulls: NullsOrderSchema.optional()
|
|
1160
|
-
}).strict();
|
|
1161
|
-
var SortOrderInputObjectSchema = makeSchema62();
|
|
1162
|
-
var SortOrderInputObjectZodSchema = makeSchema62();
|
|
1163
|
-
|
|
1164
1164
|
// src/generated/schemas/objects/WarehouseOrderByWithRelationInput.schema.ts
|
|
1165
1165
|
import * as z99 from "zod";
|
|
1166
1166
|
|
|
@@ -1700,7 +1700,7 @@ import * as z141 from "zod";
|
|
|
1700
1700
|
import * as z137 from "zod";
|
|
1701
1701
|
var makeSchema95 = () => z137.object({
|
|
1702
1702
|
code: z137.string().max(2),
|
|
1703
|
-
name: z137.string(),
|
|
1703
|
+
name: z137.string().optional().nullable(),
|
|
1704
1704
|
updatedAt: z137.coerce.date().optional()
|
|
1705
1705
|
}).strict();
|
|
1706
1706
|
var CountryCreateWithoutLocalitiesInputObjectSchema = makeSchema95();
|
|
@@ -1711,7 +1711,7 @@ import * as z138 from "zod";
|
|
|
1711
1711
|
var makeSchema96 = () => z138.object({
|
|
1712
1712
|
id: z138.number().int().optional(),
|
|
1713
1713
|
code: z138.string(),
|
|
1714
|
-
name: z138.string(),
|
|
1714
|
+
name: z138.string().optional().nullable(),
|
|
1715
1715
|
updatedAt: z138.coerce.date().optional()
|
|
1716
1716
|
}).strict();
|
|
1717
1717
|
var CountryUncheckedCreateWithoutLocalitiesInputObjectSchema = makeSchema96();
|
|
@@ -2309,7 +2309,7 @@ import * as z195 from "zod";
|
|
|
2309
2309
|
import * as z193 from "zod";
|
|
2310
2310
|
var makeSchema146 = () => z193.object({
|
|
2311
2311
|
code: z193.union([z193.string().max(2), z193.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
2312
|
-
name: z193.union([z193.string(), z193.lazy(() =>
|
|
2312
|
+
name: z193.union([z193.string(), z193.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
2313
2313
|
updatedAt: z193.union([z193.coerce.date(), z193.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
|
2314
2314
|
}).strict();
|
|
2315
2315
|
var CountryUpdateWithoutLocalitiesInputObjectSchema = makeSchema146();
|
|
@@ -2320,7 +2320,7 @@ import * as z194 from "zod";
|
|
|
2320
2320
|
var makeSchema147 = () => z194.object({
|
|
2321
2321
|
id: z194.union([z194.number().int(), z194.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
2322
2322
|
code: z194.union([z194.string(), z194.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
2323
|
-
name: z194.union([z194.string(), z194.lazy(() =>
|
|
2323
|
+
name: z194.union([z194.string(), z194.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
2324
2324
|
updatedAt: z194.union([z194.coerce.date(), z194.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
|
2325
2325
|
}).strict();
|
|
2326
2326
|
var CountryUncheckedUpdateWithoutLocalitiesInputObjectSchema = makeSchema147();
|
|
@@ -6057,7 +6057,7 @@ var LocalityCreateNestedManyWithoutCountryInputObjectZodSchema = makeSchema368()
|
|
|
6057
6057
|
// src/generated/schemas/objects/CountryCreateInput.schema.ts
|
|
6058
6058
|
var makeSchema369 = () => z530.object({
|
|
6059
6059
|
code: z530.string().max(2),
|
|
6060
|
-
name: z530.string(),
|
|
6060
|
+
name: z530.string().optional().nullable(),
|
|
6061
6061
|
localities: z530.lazy(() => LocalityCreateNestedManyWithoutCountryInputObjectSchema).optional()
|
|
6062
6062
|
}).strict();
|
|
6063
6063
|
var CountryCreateInputObjectSchema = makeSchema369();
|
|
@@ -6081,7 +6081,7 @@ var LocalityUncheckedCreateNestedManyWithoutCountryInputObjectZodSchema = makeSc
|
|
|
6081
6081
|
var makeSchema371 = () => z532.object({
|
|
6082
6082
|
id: z532.number().int().optional(),
|
|
6083
6083
|
code: z532.string().max(2),
|
|
6084
|
-
name: z532.string(),
|
|
6084
|
+
name: z532.string().optional().nullable(),
|
|
6085
6085
|
localities: z532.lazy(() => LocalityUncheckedCreateNestedManyWithoutCountryInputObjectSchema).optional()
|
|
6086
6086
|
}).strict();
|
|
6087
6087
|
var CountryUncheckedCreateInputObjectSchema = makeSchema371();
|
|
@@ -6099,7 +6099,7 @@ import * as z534 from "zod";
|
|
|
6099
6099
|
var makeSchema372 = () => z534.object({
|
|
6100
6100
|
id: z534.number().int().optional(),
|
|
6101
6101
|
code: z534.string().max(2),
|
|
6102
|
-
name: z534.string(),
|
|
6102
|
+
name: z534.string().optional().nullable(),
|
|
6103
6103
|
updatedAt: z534.coerce.date().optional()
|
|
6104
6104
|
}).strict();
|
|
6105
6105
|
var CountryCreateManyInputObjectSchema = makeSchema372();
|
|
@@ -6521,7 +6521,7 @@ var LocalityUpdateManyWithoutCountryNestedInputObjectZodSchema = makeSchema397()
|
|
|
6521
6521
|
// src/generated/schemas/objects/CountryUpdateInput.schema.ts
|
|
6522
6522
|
var makeSchema398 = () => z567.object({
|
|
6523
6523
|
code: z567.union([z567.string().max(2), z567.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6524
|
-
name: z567.union([z567.string(), z567.lazy(() =>
|
|
6524
|
+
name: z567.union([z567.string(), z567.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
6525
6525
|
updatedAt: z567.union([z567.coerce.date(), z567.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6526
6526
|
localities: z567.lazy(() => LocalityUpdateManyWithoutCountryNestedInputObjectSchema).optional()
|
|
6527
6527
|
}).strict();
|
|
@@ -6553,7 +6553,7 @@ var LocalityUncheckedUpdateManyWithoutCountryNestedInputObjectZodSchema = makeSc
|
|
|
6553
6553
|
var makeSchema400 = () => z569.object({
|
|
6554
6554
|
id: z569.union([z569.number().int(), z569.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6555
6555
|
code: z569.union([z569.string().max(2), z569.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6556
|
-
name: z569.union([z569.string(), z569.lazy(() =>
|
|
6556
|
+
name: z569.union([z569.string(), z569.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
6557
6557
|
updatedAt: z569.union([z569.coerce.date(), z569.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6558
6558
|
localities: z569.lazy(() => LocalityUncheckedUpdateManyWithoutCountryNestedInputObjectSchema).optional()
|
|
6559
6559
|
}).strict();
|
|
@@ -6571,7 +6571,7 @@ import * as z572 from "zod";
|
|
|
6571
6571
|
import * as z571 from "zod";
|
|
6572
6572
|
var makeSchema401 = () => z571.object({
|
|
6573
6573
|
code: z571.union([z571.string().max(2), z571.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6574
|
-
name: z571.union([z571.string(), z571.lazy(() =>
|
|
6574
|
+
name: z571.union([z571.string(), z571.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
6575
6575
|
updatedAt: z571.union([z571.coerce.date(), z571.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
|
6576
6576
|
}).strict();
|
|
6577
6577
|
var CountryUpdateManyMutationInputObjectSchema = makeSchema401();
|
|
@@ -6637,7 +6637,7 @@ var CountryAggregateSchema = z579.object({ orderBy: z579.union([CountryOrderByWi
|
|
|
6637
6637
|
var CountryAggregateZodSchema = z579.object({ orderBy: z579.union([CountryOrderByWithRelationInputObjectSchema, CountryOrderByWithRelationInputObjectSchema.array()]).optional(), where: CountryWhereInputObjectSchema.optional(), cursor: CountryWhereUniqueInputObjectSchema.optional(), take: z579.number().optional(), skip: z579.number().optional(), _count: z579.union([z579.literal(true), CountryCountAggregateInputObjectSchema]).optional(), _min: CountryMinAggregateInputObjectSchema.optional(), _max: CountryMaxAggregateInputObjectSchema.optional(), _avg: CountryAvgAggregateInputObjectSchema.optional(), _sum: CountrySumAggregateInputObjectSchema.optional() }).strict();
|
|
6638
6638
|
|
|
6639
6639
|
// src/generated/schemas/groupByCountry.schema.ts
|
|
6640
|
-
import * as
|
|
6640
|
+
import * as z589 from "zod";
|
|
6641
6641
|
|
|
6642
6642
|
// src/generated/schemas/objects/CountryOrderByWithAggregationInput.schema.ts
|
|
6643
6643
|
import * as z585 from "zod";
|
|
@@ -6695,7 +6695,7 @@ var CountrySumOrderByAggregateInputObjectZodSchema = makeSchema410();
|
|
|
6695
6695
|
var makeSchema411 = () => z585.object({
|
|
6696
6696
|
id: SortOrderSchema.optional(),
|
|
6697
6697
|
code: SortOrderSchema.optional(),
|
|
6698
|
-
name: SortOrderSchema.optional(),
|
|
6698
|
+
name: z585.union([SortOrderSchema, z585.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
|
6699
6699
|
updatedAt: SortOrderSchema.optional(),
|
|
6700
6700
|
_count: z585.lazy(() => CountryCountOrderByAggregateInputObjectSchema).optional(),
|
|
6701
6701
|
_avg: z585.lazy(() => CountryAvgOrderByAggregateInputObjectSchema).optional(),
|
|
@@ -6707,396 +6707,401 @@ var CountryOrderByWithAggregationInputObjectSchema = makeSchema411();
|
|
|
6707
6707
|
var CountryOrderByWithAggregationInputObjectZodSchema = makeSchema411();
|
|
6708
6708
|
|
|
6709
6709
|
// src/generated/schemas/objects/CountryScalarWhereWithAggregatesInput.schema.ts
|
|
6710
|
+
import * as z588 from "zod";
|
|
6711
|
+
|
|
6712
|
+
// src/generated/schemas/objects/StringNullableWithAggregatesFilter.schema.ts
|
|
6713
|
+
import * as z587 from "zod";
|
|
6714
|
+
|
|
6715
|
+
// src/generated/schemas/objects/NestedStringNullableWithAggregatesFilter.schema.ts
|
|
6710
6716
|
import * as z586 from "zod";
|
|
6711
|
-
var
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6717
|
+
var nestedstringnullablewithaggregatesfilterSchema = z586.object({
|
|
6718
|
+
equals: z586.string().optional().nullable(),
|
|
6719
|
+
in: z586.string().array().optional().nullable(),
|
|
6720
|
+
notIn: z586.string().array().optional().nullable(),
|
|
6721
|
+
lt: z586.string().optional(),
|
|
6722
|
+
lte: z586.string().optional(),
|
|
6723
|
+
gt: z586.string().optional(),
|
|
6724
|
+
gte: z586.string().optional(),
|
|
6725
|
+
contains: z586.string().optional(),
|
|
6726
|
+
startsWith: z586.string().optional(),
|
|
6727
|
+
endsWith: z586.string().optional(),
|
|
6728
|
+
not: z586.union([z586.string(), z586.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
|
|
6729
|
+
_count: z586.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
|
|
6730
|
+
_min: z586.lazy(() => NestedStringNullableFilterObjectSchema).optional(),
|
|
6731
|
+
_max: z586.lazy(() => NestedStringNullableFilterObjectSchema).optional()
|
|
6732
|
+
}).strict();
|
|
6733
|
+
var NestedStringNullableWithAggregatesFilterObjectSchema = nestedstringnullablewithaggregatesfilterSchema;
|
|
6734
|
+
var NestedStringNullableWithAggregatesFilterObjectZodSchema = nestedstringnullablewithaggregatesfilterSchema;
|
|
6735
|
+
|
|
6736
|
+
// src/generated/schemas/objects/StringNullableWithAggregatesFilter.schema.ts
|
|
6737
|
+
var makeSchema412 = () => z587.object({
|
|
6738
|
+
equals: z587.string().optional().nullable(),
|
|
6739
|
+
in: z587.string().array().optional().nullable(),
|
|
6740
|
+
notIn: z587.string().array().optional().nullable(),
|
|
6741
|
+
lt: z587.string().optional(),
|
|
6742
|
+
lte: z587.string().optional(),
|
|
6743
|
+
gt: z587.string().optional(),
|
|
6744
|
+
gte: z587.string().optional(),
|
|
6745
|
+
contains: z587.string().optional(),
|
|
6746
|
+
startsWith: z587.string().optional(),
|
|
6747
|
+
endsWith: z587.string().optional(),
|
|
6748
|
+
mode: QueryModeSchema.optional(),
|
|
6749
|
+
not: z587.union([z587.string(), z587.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
|
|
6750
|
+
_count: z587.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
|
|
6751
|
+
_min: z587.lazy(() => NestedStringNullableFilterObjectSchema).optional(),
|
|
6752
|
+
_max: z587.lazy(() => NestedStringNullableFilterObjectSchema).optional()
|
|
6753
|
+
}).strict();
|
|
6754
|
+
var StringNullableWithAggregatesFilterObjectSchema = makeSchema412();
|
|
6755
|
+
var StringNullableWithAggregatesFilterObjectZodSchema = makeSchema412();
|
|
6756
|
+
|
|
6757
|
+
// src/generated/schemas/objects/CountryScalarWhereWithAggregatesInput.schema.ts
|
|
6758
|
+
var countryscalarwherewithaggregatesinputSchema = z588.object({
|
|
6759
|
+
AND: z588.union([z588.lazy(() => CountryScalarWhereWithAggregatesInputObjectSchema), z588.lazy(() => CountryScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
6760
|
+
OR: z588.lazy(() => CountryScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
|
6761
|
+
NOT: z588.union([z588.lazy(() => CountryScalarWhereWithAggregatesInputObjectSchema), z588.lazy(() => CountryScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
6762
|
+
id: z588.union([z588.lazy(() => IntWithAggregatesFilterObjectSchema), z588.number().int()]).optional(),
|
|
6763
|
+
code: z588.union([z588.lazy(() => StringWithAggregatesFilterObjectSchema), z588.string().max(2)]).optional(),
|
|
6764
|
+
name: z588.union([z588.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z588.string()]).optional().nullable(),
|
|
6765
|
+
updatedAt: z588.union([z588.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z588.coerce.date()]).optional()
|
|
6719
6766
|
}).strict();
|
|
6720
6767
|
var CountryScalarWhereWithAggregatesInputObjectSchema = countryscalarwherewithaggregatesinputSchema;
|
|
6721
6768
|
var CountryScalarWhereWithAggregatesInputObjectZodSchema = countryscalarwherewithaggregatesinputSchema;
|
|
6722
6769
|
|
|
6723
6770
|
// src/generated/schemas/groupByCountry.schema.ts
|
|
6724
|
-
var CountryGroupBySchema =
|
|
6725
|
-
var CountryGroupByZodSchema =
|
|
6771
|
+
var CountryGroupBySchema = z589.object({ where: CountryWhereInputObjectSchema.optional(), orderBy: z589.union([CountryOrderByWithAggregationInputObjectSchema, CountryOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CountryScalarWhereWithAggregatesInputObjectSchema.optional(), take: z589.number().optional(), skip: z589.number().optional(), by: z589.array(CountryScalarFieldEnumSchema), _count: z589.union([z589.literal(true), CountryCountAggregateInputObjectSchema]).optional(), _min: CountryMinAggregateInputObjectSchema.optional(), _max: CountryMaxAggregateInputObjectSchema.optional(), _avg: CountryAvgAggregateInputObjectSchema.optional(), _sum: CountrySumAggregateInputObjectSchema.optional() }).strict();
|
|
6772
|
+
var CountryGroupByZodSchema = z589.object({ where: CountryWhereInputObjectSchema.optional(), orderBy: z589.union([CountryOrderByWithAggregationInputObjectSchema, CountryOrderByWithAggregationInputObjectSchema.array()]).optional(), having: CountryScalarWhereWithAggregatesInputObjectSchema.optional(), take: z589.number().optional(), skip: z589.number().optional(), by: z589.array(CountryScalarFieldEnumSchema), _count: z589.union([z589.literal(true), CountryCountAggregateInputObjectSchema]).optional(), _min: CountryMinAggregateInputObjectSchema.optional(), _max: CountryMaxAggregateInputObjectSchema.optional(), _avg: CountryAvgAggregateInputObjectSchema.optional(), _sum: CountrySumAggregateInputObjectSchema.optional() }).strict();
|
|
6726
6773
|
|
|
6727
6774
|
// src/generated/schemas/findUniqueLocality.schema.ts
|
|
6728
|
-
import * as
|
|
6729
|
-
var LocalityFindUniqueSchema =
|
|
6730
|
-
var LocalityFindUniqueZodSchema =
|
|
6775
|
+
import * as z590 from "zod";
|
|
6776
|
+
var LocalityFindUniqueSchema = z590.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), where: LocalityWhereUniqueInputObjectSchema }).strict();
|
|
6777
|
+
var LocalityFindUniqueZodSchema = z590.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), where: LocalityWhereUniqueInputObjectSchema }).strict();
|
|
6731
6778
|
|
|
6732
6779
|
// src/generated/schemas/findUniqueOrThrowLocality.schema.ts
|
|
6733
|
-
import * as
|
|
6734
|
-
var LocalityFindUniqueOrThrowSchema =
|
|
6735
|
-
var LocalityFindUniqueOrThrowZodSchema =
|
|
6780
|
+
import * as z591 from "zod";
|
|
6781
|
+
var LocalityFindUniqueOrThrowSchema = z591.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), where: LocalityWhereUniqueInputObjectSchema }).strict();
|
|
6782
|
+
var LocalityFindUniqueOrThrowZodSchema = z591.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), where: LocalityWhereUniqueInputObjectSchema }).strict();
|
|
6736
6783
|
|
|
6737
6784
|
// src/generated/schemas/findFirstLocality.schema.ts
|
|
6738
|
-
import * as
|
|
6739
|
-
var LocalityFindFirstSelectSchema =
|
|
6740
|
-
id:
|
|
6741
|
-
name:
|
|
6742
|
-
countryId:
|
|
6743
|
-
updatedAt:
|
|
6744
|
-
country:
|
|
6745
|
-
warehouses:
|
|
6746
|
-
_count:
|
|
6747
|
-
}).strict();
|
|
6748
|
-
var LocalityFindFirstSelectZodSchema =
|
|
6749
|
-
id:
|
|
6750
|
-
name:
|
|
6751
|
-
countryId:
|
|
6752
|
-
updatedAt:
|
|
6753
|
-
country:
|
|
6754
|
-
warehouses:
|
|
6755
|
-
_count:
|
|
6756
|
-
}).strict();
|
|
6757
|
-
var LocalityFindFirstSchema =
|
|
6758
|
-
var LocalityFindFirstZodSchema =
|
|
6785
|
+
import * as z592 from "zod";
|
|
6786
|
+
var LocalityFindFirstSelectSchema = z592.object({
|
|
6787
|
+
id: z592.boolean().optional(),
|
|
6788
|
+
name: z592.boolean().optional(),
|
|
6789
|
+
countryId: z592.boolean().optional(),
|
|
6790
|
+
updatedAt: z592.boolean().optional(),
|
|
6791
|
+
country: z592.boolean().optional(),
|
|
6792
|
+
warehouses: z592.boolean().optional(),
|
|
6793
|
+
_count: z592.boolean().optional()
|
|
6794
|
+
}).strict();
|
|
6795
|
+
var LocalityFindFirstSelectZodSchema = z592.object({
|
|
6796
|
+
id: z592.boolean().optional(),
|
|
6797
|
+
name: z592.boolean().optional(),
|
|
6798
|
+
countryId: z592.boolean().optional(),
|
|
6799
|
+
updatedAt: z592.boolean().optional(),
|
|
6800
|
+
country: z592.boolean().optional(),
|
|
6801
|
+
warehouses: z592.boolean().optional(),
|
|
6802
|
+
_count: z592.boolean().optional()
|
|
6803
|
+
}).strict();
|
|
6804
|
+
var LocalityFindFirstSchema = z592.object({ select: LocalityFindFirstSelectSchema.optional(), include: z592.lazy(() => LocalityIncludeObjectSchema.optional()), orderBy: z592.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z592.number().optional(), skip: z592.number().optional(), distinct: z592.union([LocalityScalarFieldEnumSchema, LocalityScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
6805
|
+
var LocalityFindFirstZodSchema = z592.object({ select: LocalityFindFirstSelectSchema.optional(), include: z592.lazy(() => LocalityIncludeObjectSchema.optional()), orderBy: z592.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z592.number().optional(), skip: z592.number().optional(), distinct: z592.union([LocalityScalarFieldEnumSchema, LocalityScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
6759
6806
|
|
|
6760
6807
|
// src/generated/schemas/findFirstOrThrowLocality.schema.ts
|
|
6761
|
-
import * as
|
|
6762
|
-
var LocalityFindFirstOrThrowSelectSchema =
|
|
6763
|
-
id:
|
|
6764
|
-
name:
|
|
6765
|
-
countryId:
|
|
6766
|
-
updatedAt:
|
|
6767
|
-
country:
|
|
6768
|
-
warehouses:
|
|
6769
|
-
_count:
|
|
6770
|
-
}).strict();
|
|
6771
|
-
var LocalityFindFirstOrThrowSelectZodSchema =
|
|
6772
|
-
id:
|
|
6773
|
-
name:
|
|
6774
|
-
countryId:
|
|
6775
|
-
updatedAt:
|
|
6776
|
-
country:
|
|
6777
|
-
warehouses:
|
|
6778
|
-
_count:
|
|
6779
|
-
}).strict();
|
|
6780
|
-
var LocalityFindFirstOrThrowSchema =
|
|
6781
|
-
var LocalityFindFirstOrThrowZodSchema =
|
|
6808
|
+
import * as z593 from "zod";
|
|
6809
|
+
var LocalityFindFirstOrThrowSelectSchema = z593.object({
|
|
6810
|
+
id: z593.boolean().optional(),
|
|
6811
|
+
name: z593.boolean().optional(),
|
|
6812
|
+
countryId: z593.boolean().optional(),
|
|
6813
|
+
updatedAt: z593.boolean().optional(),
|
|
6814
|
+
country: z593.boolean().optional(),
|
|
6815
|
+
warehouses: z593.boolean().optional(),
|
|
6816
|
+
_count: z593.boolean().optional()
|
|
6817
|
+
}).strict();
|
|
6818
|
+
var LocalityFindFirstOrThrowSelectZodSchema = z593.object({
|
|
6819
|
+
id: z593.boolean().optional(),
|
|
6820
|
+
name: z593.boolean().optional(),
|
|
6821
|
+
countryId: z593.boolean().optional(),
|
|
6822
|
+
updatedAt: z593.boolean().optional(),
|
|
6823
|
+
country: z593.boolean().optional(),
|
|
6824
|
+
warehouses: z593.boolean().optional(),
|
|
6825
|
+
_count: z593.boolean().optional()
|
|
6826
|
+
}).strict();
|
|
6827
|
+
var LocalityFindFirstOrThrowSchema = z593.object({ select: LocalityFindFirstOrThrowSelectSchema.optional(), include: z593.lazy(() => LocalityIncludeObjectSchema.optional()), orderBy: z593.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z593.number().optional(), skip: z593.number().optional(), distinct: z593.union([LocalityScalarFieldEnumSchema, LocalityScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
6828
|
+
var LocalityFindFirstOrThrowZodSchema = z593.object({ select: LocalityFindFirstOrThrowSelectSchema.optional(), include: z593.lazy(() => LocalityIncludeObjectSchema.optional()), orderBy: z593.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z593.number().optional(), skip: z593.number().optional(), distinct: z593.union([LocalityScalarFieldEnumSchema, LocalityScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
6782
6829
|
|
|
6783
6830
|
// src/generated/schemas/countLocality.schema.ts
|
|
6784
|
-
import * as
|
|
6831
|
+
import * as z595 from "zod";
|
|
6785
6832
|
|
|
6786
6833
|
// src/generated/schemas/objects/LocalityCountAggregateInput.schema.ts
|
|
6787
|
-
import * as
|
|
6788
|
-
var
|
|
6789
|
-
id:
|
|
6790
|
-
name:
|
|
6791
|
-
countryId:
|
|
6792
|
-
updatedAt:
|
|
6793
|
-
_all:
|
|
6834
|
+
import * as z594 from "zod";
|
|
6835
|
+
var makeSchema413 = () => z594.object({
|
|
6836
|
+
id: z594.literal(true).optional(),
|
|
6837
|
+
name: z594.literal(true).optional(),
|
|
6838
|
+
countryId: z594.literal(true).optional(),
|
|
6839
|
+
updatedAt: z594.literal(true).optional(),
|
|
6840
|
+
_all: z594.literal(true).optional()
|
|
6794
6841
|
}).strict();
|
|
6795
|
-
var LocalityCountAggregateInputObjectSchema =
|
|
6796
|
-
var LocalityCountAggregateInputObjectZodSchema =
|
|
6842
|
+
var LocalityCountAggregateInputObjectSchema = makeSchema413();
|
|
6843
|
+
var LocalityCountAggregateInputObjectZodSchema = makeSchema413();
|
|
6797
6844
|
|
|
6798
6845
|
// src/generated/schemas/countLocality.schema.ts
|
|
6799
|
-
var LocalityCountSchema =
|
|
6800
|
-
var LocalityCountZodSchema =
|
|
6846
|
+
var LocalityCountSchema = z595.object({ orderBy: z595.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z595.number().optional(), skip: z595.number().optional(), select: z595.union([z595.literal(true), LocalityCountAggregateInputObjectSchema]).optional() }).strict();
|
|
6847
|
+
var LocalityCountZodSchema = z595.object({ orderBy: z595.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z595.number().optional(), skip: z595.number().optional(), select: z595.union([z595.literal(true), LocalityCountAggregateInputObjectSchema]).optional() }).strict();
|
|
6801
6848
|
|
|
6802
6849
|
// src/generated/schemas/createOneLocality.schema.ts
|
|
6803
|
-
import * as
|
|
6850
|
+
import * as z598 from "zod";
|
|
6804
6851
|
|
|
6805
6852
|
// src/generated/schemas/objects/LocalityCreateInput.schema.ts
|
|
6806
|
-
import * as
|
|
6807
|
-
var
|
|
6808
|
-
name:
|
|
6809
|
-
country:
|
|
6810
|
-
warehouses:
|
|
6853
|
+
import * as z596 from "zod";
|
|
6854
|
+
var makeSchema414 = () => z596.object({
|
|
6855
|
+
name: z596.string(),
|
|
6856
|
+
country: z596.lazy(() => CountryCreateNestedOneWithoutLocalitiesInputObjectSchema),
|
|
6857
|
+
warehouses: z596.lazy(() => WarehouseCreateNestedManyWithoutLocalityInputObjectSchema).optional()
|
|
6811
6858
|
}).strict();
|
|
6812
|
-
var LocalityCreateInputObjectSchema =
|
|
6813
|
-
var LocalityCreateInputObjectZodSchema =
|
|
6859
|
+
var LocalityCreateInputObjectSchema = makeSchema414();
|
|
6860
|
+
var LocalityCreateInputObjectZodSchema = makeSchema414();
|
|
6814
6861
|
|
|
6815
6862
|
// src/generated/schemas/objects/LocalityUncheckedCreateInput.schema.ts
|
|
6816
|
-
import * as
|
|
6817
|
-
var
|
|
6818
|
-
id:
|
|
6819
|
-
name:
|
|
6820
|
-
countryId:
|
|
6821
|
-
warehouses:
|
|
6863
|
+
import * as z597 from "zod";
|
|
6864
|
+
var makeSchema415 = () => z597.object({
|
|
6865
|
+
id: z597.number().int().optional(),
|
|
6866
|
+
name: z597.string(),
|
|
6867
|
+
countryId: z597.number().int(),
|
|
6868
|
+
warehouses: z597.lazy(() => WarehouseUncheckedCreateNestedManyWithoutLocalityInputObjectSchema).optional()
|
|
6822
6869
|
}).strict();
|
|
6823
|
-
var LocalityUncheckedCreateInputObjectSchema =
|
|
6824
|
-
var LocalityUncheckedCreateInputObjectZodSchema =
|
|
6870
|
+
var LocalityUncheckedCreateInputObjectSchema = makeSchema415();
|
|
6871
|
+
var LocalityUncheckedCreateInputObjectZodSchema = makeSchema415();
|
|
6825
6872
|
|
|
6826
6873
|
// src/generated/schemas/createOneLocality.schema.ts
|
|
6827
|
-
var LocalityCreateOneSchema =
|
|
6828
|
-
var LocalityCreateOneZodSchema =
|
|
6874
|
+
var LocalityCreateOneSchema = z598.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), data: z598.union([LocalityCreateInputObjectSchema, LocalityUncheckedCreateInputObjectSchema]) }).strict();
|
|
6875
|
+
var LocalityCreateOneZodSchema = z598.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), data: z598.union([LocalityCreateInputObjectSchema, LocalityUncheckedCreateInputObjectSchema]) }).strict();
|
|
6829
6876
|
|
|
6830
6877
|
// src/generated/schemas/createManyLocality.schema.ts
|
|
6831
|
-
import * as
|
|
6878
|
+
import * as z600 from "zod";
|
|
6832
6879
|
|
|
6833
6880
|
// src/generated/schemas/objects/LocalityCreateManyInput.schema.ts
|
|
6834
|
-
import * as
|
|
6835
|
-
var
|
|
6836
|
-
id:
|
|
6837
|
-
name:
|
|
6838
|
-
countryId:
|
|
6839
|
-
updatedAt:
|
|
6881
|
+
import * as z599 from "zod";
|
|
6882
|
+
var makeSchema416 = () => z599.object({
|
|
6883
|
+
id: z599.number().int().optional(),
|
|
6884
|
+
name: z599.string(),
|
|
6885
|
+
countryId: z599.number().int(),
|
|
6886
|
+
updatedAt: z599.coerce.date().optional()
|
|
6840
6887
|
}).strict();
|
|
6841
|
-
var LocalityCreateManyInputObjectSchema =
|
|
6842
|
-
var LocalityCreateManyInputObjectZodSchema =
|
|
6888
|
+
var LocalityCreateManyInputObjectSchema = makeSchema416();
|
|
6889
|
+
var LocalityCreateManyInputObjectZodSchema = makeSchema416();
|
|
6843
6890
|
|
|
6844
6891
|
// src/generated/schemas/createManyLocality.schema.ts
|
|
6845
|
-
var LocalityCreateManySchema =
|
|
6846
|
-
var LocalityCreateManyZodSchema =
|
|
6892
|
+
var LocalityCreateManySchema = z600.object({ data: z600.union([LocalityCreateManyInputObjectSchema, z600.array(LocalityCreateManyInputObjectSchema)]), skipDuplicates: z600.boolean().optional() }).strict();
|
|
6893
|
+
var LocalityCreateManyZodSchema = z600.object({ data: z600.union([LocalityCreateManyInputObjectSchema, z600.array(LocalityCreateManyInputObjectSchema)]), skipDuplicates: z600.boolean().optional() }).strict();
|
|
6847
6894
|
|
|
6848
6895
|
// src/generated/schemas/createManyAndReturnLocality.schema.ts
|
|
6849
|
-
import * as
|
|
6850
|
-
var LocalityCreateManyAndReturnSchema =
|
|
6851
|
-
var LocalityCreateManyAndReturnZodSchema =
|
|
6896
|
+
import * as z601 from "zod";
|
|
6897
|
+
var LocalityCreateManyAndReturnSchema = z601.object({ select: LocalitySelectObjectSchema.optional(), data: z601.union([LocalityCreateManyInputObjectSchema, z601.array(LocalityCreateManyInputObjectSchema)]), skipDuplicates: z601.boolean().optional() }).strict();
|
|
6898
|
+
var LocalityCreateManyAndReturnZodSchema = z601.object({ select: LocalitySelectObjectSchema.optional(), data: z601.union([LocalityCreateManyInputObjectSchema, z601.array(LocalityCreateManyInputObjectSchema)]), skipDuplicates: z601.boolean().optional() }).strict();
|
|
6852
6899
|
|
|
6853
6900
|
// src/generated/schemas/deleteOneLocality.schema.ts
|
|
6854
|
-
import * as
|
|
6855
|
-
var LocalityDeleteOneSchema =
|
|
6856
|
-
var LocalityDeleteOneZodSchema =
|
|
6901
|
+
import * as z602 from "zod";
|
|
6902
|
+
var LocalityDeleteOneSchema = z602.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), where: LocalityWhereUniqueInputObjectSchema }).strict();
|
|
6903
|
+
var LocalityDeleteOneZodSchema = z602.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), where: LocalityWhereUniqueInputObjectSchema }).strict();
|
|
6857
6904
|
|
|
6858
6905
|
// src/generated/schemas/deleteManyLocality.schema.ts
|
|
6859
|
-
import * as
|
|
6860
|
-
var LocalityDeleteManySchema =
|
|
6861
|
-
var LocalityDeleteManyZodSchema =
|
|
6906
|
+
import * as z603 from "zod";
|
|
6907
|
+
var LocalityDeleteManySchema = z603.object({ where: LocalityWhereInputObjectSchema.optional() }).strict();
|
|
6908
|
+
var LocalityDeleteManyZodSchema = z603.object({ where: LocalityWhereInputObjectSchema.optional() }).strict();
|
|
6862
6909
|
|
|
6863
6910
|
// src/generated/schemas/updateOneLocality.schema.ts
|
|
6864
|
-
import * as
|
|
6911
|
+
import * as z606 from "zod";
|
|
6865
6912
|
|
|
6866
6913
|
// src/generated/schemas/objects/LocalityUpdateInput.schema.ts
|
|
6867
|
-
import * as
|
|
6868
|
-
var
|
|
6869
|
-
name:
|
|
6870
|
-
updatedAt:
|
|
6871
|
-
country:
|
|
6872
|
-
warehouses:
|
|
6914
|
+
import * as z604 from "zod";
|
|
6915
|
+
var makeSchema417 = () => z604.object({
|
|
6916
|
+
name: z604.union([z604.string(), z604.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6917
|
+
updatedAt: z604.union([z604.coerce.date(), z604.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6918
|
+
country: z604.lazy(() => CountryUpdateOneRequiredWithoutLocalitiesNestedInputObjectSchema).optional(),
|
|
6919
|
+
warehouses: z604.lazy(() => WarehouseUpdateManyWithoutLocalityNestedInputObjectSchema).optional()
|
|
6873
6920
|
}).strict();
|
|
6874
|
-
var LocalityUpdateInputObjectSchema =
|
|
6875
|
-
var LocalityUpdateInputObjectZodSchema =
|
|
6921
|
+
var LocalityUpdateInputObjectSchema = makeSchema417();
|
|
6922
|
+
var LocalityUpdateInputObjectZodSchema = makeSchema417();
|
|
6876
6923
|
|
|
6877
6924
|
// src/generated/schemas/objects/LocalityUncheckedUpdateInput.schema.ts
|
|
6878
|
-
import * as
|
|
6879
|
-
var
|
|
6880
|
-
id:
|
|
6881
|
-
name:
|
|
6882
|
-
countryId:
|
|
6883
|
-
updatedAt:
|
|
6884
|
-
warehouses:
|
|
6925
|
+
import * as z605 from "zod";
|
|
6926
|
+
var makeSchema418 = () => z605.object({
|
|
6927
|
+
id: z605.union([z605.number().int(), z605.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6928
|
+
name: z605.union([z605.string(), z605.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6929
|
+
countryId: z605.union([z605.number().int(), z605.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6930
|
+
updatedAt: z605.union([z605.coerce.date(), z605.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
6931
|
+
warehouses: z605.lazy(() => WarehouseUncheckedUpdateManyWithoutLocalityNestedInputObjectSchema).optional()
|
|
6885
6932
|
}).strict();
|
|
6886
|
-
var LocalityUncheckedUpdateInputObjectSchema =
|
|
6887
|
-
var LocalityUncheckedUpdateInputObjectZodSchema =
|
|
6933
|
+
var LocalityUncheckedUpdateInputObjectSchema = makeSchema418();
|
|
6934
|
+
var LocalityUncheckedUpdateInputObjectZodSchema = makeSchema418();
|
|
6888
6935
|
|
|
6889
6936
|
// src/generated/schemas/updateOneLocality.schema.ts
|
|
6890
|
-
var LocalityUpdateOneSchema =
|
|
6891
|
-
var LocalityUpdateOneZodSchema =
|
|
6937
|
+
var LocalityUpdateOneSchema = z606.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), data: z606.union([LocalityUpdateInputObjectSchema, LocalityUncheckedUpdateInputObjectSchema]), where: LocalityWhereUniqueInputObjectSchema }).strict();
|
|
6938
|
+
var LocalityUpdateOneZodSchema = z606.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), data: z606.union([LocalityUpdateInputObjectSchema, LocalityUncheckedUpdateInputObjectSchema]), where: LocalityWhereUniqueInputObjectSchema }).strict();
|
|
6892
6939
|
|
|
6893
6940
|
// src/generated/schemas/updateManyLocality.schema.ts
|
|
6894
|
-
import * as
|
|
6895
|
-
var LocalityUpdateManySchema =
|
|
6896
|
-
var LocalityUpdateManyZodSchema =
|
|
6941
|
+
import * as z607 from "zod";
|
|
6942
|
+
var LocalityUpdateManySchema = z607.object({ data: LocalityUpdateManyMutationInputObjectSchema, where: LocalityWhereInputObjectSchema.optional() }).strict();
|
|
6943
|
+
var LocalityUpdateManyZodSchema = z607.object({ data: LocalityUpdateManyMutationInputObjectSchema, where: LocalityWhereInputObjectSchema.optional() }).strict();
|
|
6897
6944
|
|
|
6898
6945
|
// src/generated/schemas/updateManyAndReturnLocality.schema.ts
|
|
6899
|
-
import * as
|
|
6900
|
-
var LocalityUpdateManyAndReturnSchema =
|
|
6901
|
-
var LocalityUpdateManyAndReturnZodSchema =
|
|
6946
|
+
import * as z608 from "zod";
|
|
6947
|
+
var LocalityUpdateManyAndReturnSchema = z608.object({ select: LocalitySelectObjectSchema.optional(), data: LocalityUpdateManyMutationInputObjectSchema, where: LocalityWhereInputObjectSchema.optional() }).strict();
|
|
6948
|
+
var LocalityUpdateManyAndReturnZodSchema = z608.object({ select: LocalitySelectObjectSchema.optional(), data: LocalityUpdateManyMutationInputObjectSchema, where: LocalityWhereInputObjectSchema.optional() }).strict();
|
|
6902
6949
|
|
|
6903
6950
|
// src/generated/schemas/upsertOneLocality.schema.ts
|
|
6904
|
-
import * as
|
|
6905
|
-
var LocalityUpsertOneSchema =
|
|
6906
|
-
var LocalityUpsertOneZodSchema =
|
|
6951
|
+
import * as z609 from "zod";
|
|
6952
|
+
var LocalityUpsertOneSchema = z609.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), where: LocalityWhereUniqueInputObjectSchema, create: z609.union([LocalityCreateInputObjectSchema, LocalityUncheckedCreateInputObjectSchema]), update: z609.union([LocalityUpdateInputObjectSchema, LocalityUncheckedUpdateInputObjectSchema]) }).strict();
|
|
6953
|
+
var LocalityUpsertOneZodSchema = z609.object({ select: LocalitySelectObjectSchema.optional(), include: LocalityIncludeObjectSchema.optional(), where: LocalityWhereUniqueInputObjectSchema, create: z609.union([LocalityCreateInputObjectSchema, LocalityUncheckedCreateInputObjectSchema]), update: z609.union([LocalityUpdateInputObjectSchema, LocalityUncheckedUpdateInputObjectSchema]) }).strict();
|
|
6907
6954
|
|
|
6908
6955
|
// src/generated/schemas/aggregateLocality.schema.ts
|
|
6909
|
-
import * as
|
|
6956
|
+
import * as z614 from "zod";
|
|
6910
6957
|
|
|
6911
6958
|
// src/generated/schemas/objects/LocalityMinAggregateInput.schema.ts
|
|
6912
|
-
import * as
|
|
6913
|
-
var
|
|
6914
|
-
id:
|
|
6915
|
-
name:
|
|
6916
|
-
countryId:
|
|
6917
|
-
updatedAt:
|
|
6959
|
+
import * as z610 from "zod";
|
|
6960
|
+
var makeSchema419 = () => z610.object({
|
|
6961
|
+
id: z610.literal(true).optional(),
|
|
6962
|
+
name: z610.literal(true).optional(),
|
|
6963
|
+
countryId: z610.literal(true).optional(),
|
|
6964
|
+
updatedAt: z610.literal(true).optional()
|
|
6918
6965
|
}).strict();
|
|
6919
|
-
var LocalityMinAggregateInputObjectSchema =
|
|
6920
|
-
var LocalityMinAggregateInputObjectZodSchema =
|
|
6966
|
+
var LocalityMinAggregateInputObjectSchema = makeSchema419();
|
|
6967
|
+
var LocalityMinAggregateInputObjectZodSchema = makeSchema419();
|
|
6921
6968
|
|
|
6922
6969
|
// src/generated/schemas/objects/LocalityMaxAggregateInput.schema.ts
|
|
6923
|
-
import * as
|
|
6924
|
-
var
|
|
6925
|
-
id:
|
|
6926
|
-
name:
|
|
6927
|
-
countryId:
|
|
6928
|
-
updatedAt:
|
|
6970
|
+
import * as z611 from "zod";
|
|
6971
|
+
var makeSchema420 = () => z611.object({
|
|
6972
|
+
id: z611.literal(true).optional(),
|
|
6973
|
+
name: z611.literal(true).optional(),
|
|
6974
|
+
countryId: z611.literal(true).optional(),
|
|
6975
|
+
updatedAt: z611.literal(true).optional()
|
|
6929
6976
|
}).strict();
|
|
6930
|
-
var LocalityMaxAggregateInputObjectSchema =
|
|
6931
|
-
var LocalityMaxAggregateInputObjectZodSchema =
|
|
6977
|
+
var LocalityMaxAggregateInputObjectSchema = makeSchema420();
|
|
6978
|
+
var LocalityMaxAggregateInputObjectZodSchema = makeSchema420();
|
|
6932
6979
|
|
|
6933
6980
|
// src/generated/schemas/objects/LocalityAvgAggregateInput.schema.ts
|
|
6934
|
-
import * as
|
|
6935
|
-
var
|
|
6936
|
-
id:
|
|
6937
|
-
countryId:
|
|
6981
|
+
import * as z612 from "zod";
|
|
6982
|
+
var makeSchema421 = () => z612.object({
|
|
6983
|
+
id: z612.literal(true).optional(),
|
|
6984
|
+
countryId: z612.literal(true).optional()
|
|
6938
6985
|
}).strict();
|
|
6939
|
-
var LocalityAvgAggregateInputObjectSchema =
|
|
6940
|
-
var LocalityAvgAggregateInputObjectZodSchema =
|
|
6986
|
+
var LocalityAvgAggregateInputObjectSchema = makeSchema421();
|
|
6987
|
+
var LocalityAvgAggregateInputObjectZodSchema = makeSchema421();
|
|
6941
6988
|
|
|
6942
6989
|
// src/generated/schemas/objects/LocalitySumAggregateInput.schema.ts
|
|
6943
|
-
import * as
|
|
6944
|
-
var
|
|
6945
|
-
id:
|
|
6946
|
-
countryId:
|
|
6990
|
+
import * as z613 from "zod";
|
|
6991
|
+
var makeSchema422 = () => z613.object({
|
|
6992
|
+
id: z613.literal(true).optional(),
|
|
6993
|
+
countryId: z613.literal(true).optional()
|
|
6947
6994
|
}).strict();
|
|
6948
|
-
var LocalitySumAggregateInputObjectSchema =
|
|
6949
|
-
var LocalitySumAggregateInputObjectZodSchema =
|
|
6995
|
+
var LocalitySumAggregateInputObjectSchema = makeSchema422();
|
|
6996
|
+
var LocalitySumAggregateInputObjectZodSchema = makeSchema422();
|
|
6950
6997
|
|
|
6951
6998
|
// src/generated/schemas/aggregateLocality.schema.ts
|
|
6952
|
-
var LocalityAggregateSchema =
|
|
6953
|
-
var LocalityAggregateZodSchema =
|
|
6999
|
+
var LocalityAggregateSchema = z614.object({ orderBy: z614.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z614.number().optional(), skip: z614.number().optional(), _count: z614.union([z614.literal(true), LocalityCountAggregateInputObjectSchema]).optional(), _min: LocalityMinAggregateInputObjectSchema.optional(), _max: LocalityMaxAggregateInputObjectSchema.optional(), _avg: LocalityAvgAggregateInputObjectSchema.optional(), _sum: LocalitySumAggregateInputObjectSchema.optional() }).strict();
|
|
7000
|
+
var LocalityAggregateZodSchema = z614.object({ orderBy: z614.union([LocalityOrderByWithRelationInputObjectSchema, LocalityOrderByWithRelationInputObjectSchema.array()]).optional(), where: LocalityWhereInputObjectSchema.optional(), cursor: LocalityWhereUniqueInputObjectSchema.optional(), take: z614.number().optional(), skip: z614.number().optional(), _count: z614.union([z614.literal(true), LocalityCountAggregateInputObjectSchema]).optional(), _min: LocalityMinAggregateInputObjectSchema.optional(), _max: LocalityMaxAggregateInputObjectSchema.optional(), _avg: LocalityAvgAggregateInputObjectSchema.optional(), _sum: LocalitySumAggregateInputObjectSchema.optional() }).strict();
|
|
6954
7001
|
|
|
6955
7002
|
// src/generated/schemas/groupByLocality.schema.ts
|
|
6956
|
-
import * as
|
|
7003
|
+
import * as z622 from "zod";
|
|
6957
7004
|
|
|
6958
7005
|
// src/generated/schemas/objects/LocalityOrderByWithAggregationInput.schema.ts
|
|
6959
|
-
import * as
|
|
7006
|
+
import * as z620 from "zod";
|
|
6960
7007
|
|
|
6961
7008
|
// src/generated/schemas/objects/LocalityCountOrderByAggregateInput.schema.ts
|
|
6962
|
-
import * as
|
|
6963
|
-
var
|
|
7009
|
+
import * as z615 from "zod";
|
|
7010
|
+
var makeSchema423 = () => z615.object({
|
|
6964
7011
|
id: SortOrderSchema.optional(),
|
|
6965
7012
|
name: SortOrderSchema.optional(),
|
|
6966
7013
|
countryId: SortOrderSchema.optional(),
|
|
6967
7014
|
updatedAt: SortOrderSchema.optional()
|
|
6968
7015
|
}).strict();
|
|
6969
|
-
var LocalityCountOrderByAggregateInputObjectSchema =
|
|
6970
|
-
var LocalityCountOrderByAggregateInputObjectZodSchema =
|
|
7016
|
+
var LocalityCountOrderByAggregateInputObjectSchema = makeSchema423();
|
|
7017
|
+
var LocalityCountOrderByAggregateInputObjectZodSchema = makeSchema423();
|
|
6971
7018
|
|
|
6972
7019
|
// src/generated/schemas/objects/LocalityAvgOrderByAggregateInput.schema.ts
|
|
6973
|
-
import * as
|
|
6974
|
-
var
|
|
7020
|
+
import * as z616 from "zod";
|
|
7021
|
+
var makeSchema424 = () => z616.object({
|
|
6975
7022
|
id: SortOrderSchema.optional(),
|
|
6976
7023
|
countryId: SortOrderSchema.optional()
|
|
6977
7024
|
}).strict();
|
|
6978
|
-
var LocalityAvgOrderByAggregateInputObjectSchema =
|
|
6979
|
-
var LocalityAvgOrderByAggregateInputObjectZodSchema =
|
|
7025
|
+
var LocalityAvgOrderByAggregateInputObjectSchema = makeSchema424();
|
|
7026
|
+
var LocalityAvgOrderByAggregateInputObjectZodSchema = makeSchema424();
|
|
6980
7027
|
|
|
6981
7028
|
// src/generated/schemas/objects/LocalityMaxOrderByAggregateInput.schema.ts
|
|
6982
|
-
import * as
|
|
6983
|
-
var
|
|
7029
|
+
import * as z617 from "zod";
|
|
7030
|
+
var makeSchema425 = () => z617.object({
|
|
6984
7031
|
id: SortOrderSchema.optional(),
|
|
6985
7032
|
name: SortOrderSchema.optional(),
|
|
6986
7033
|
countryId: SortOrderSchema.optional(),
|
|
6987
7034
|
updatedAt: SortOrderSchema.optional()
|
|
6988
7035
|
}).strict();
|
|
6989
|
-
var LocalityMaxOrderByAggregateInputObjectSchema =
|
|
6990
|
-
var LocalityMaxOrderByAggregateInputObjectZodSchema =
|
|
7036
|
+
var LocalityMaxOrderByAggregateInputObjectSchema = makeSchema425();
|
|
7037
|
+
var LocalityMaxOrderByAggregateInputObjectZodSchema = makeSchema425();
|
|
6991
7038
|
|
|
6992
7039
|
// src/generated/schemas/objects/LocalityMinOrderByAggregateInput.schema.ts
|
|
6993
|
-
import * as
|
|
6994
|
-
var
|
|
7040
|
+
import * as z618 from "zod";
|
|
7041
|
+
var makeSchema426 = () => z618.object({
|
|
6995
7042
|
id: SortOrderSchema.optional(),
|
|
6996
7043
|
name: SortOrderSchema.optional(),
|
|
6997
7044
|
countryId: SortOrderSchema.optional(),
|
|
6998
7045
|
updatedAt: SortOrderSchema.optional()
|
|
6999
7046
|
}).strict();
|
|
7000
|
-
var LocalityMinOrderByAggregateInputObjectSchema =
|
|
7001
|
-
var LocalityMinOrderByAggregateInputObjectZodSchema =
|
|
7047
|
+
var LocalityMinOrderByAggregateInputObjectSchema = makeSchema426();
|
|
7048
|
+
var LocalityMinOrderByAggregateInputObjectZodSchema = makeSchema426();
|
|
7002
7049
|
|
|
7003
7050
|
// src/generated/schemas/objects/LocalitySumOrderByAggregateInput.schema.ts
|
|
7004
|
-
import * as
|
|
7005
|
-
var
|
|
7051
|
+
import * as z619 from "zod";
|
|
7052
|
+
var makeSchema427 = () => z619.object({
|
|
7006
7053
|
id: SortOrderSchema.optional(),
|
|
7007
7054
|
countryId: SortOrderSchema.optional()
|
|
7008
7055
|
}).strict();
|
|
7009
|
-
var LocalitySumOrderByAggregateInputObjectSchema =
|
|
7010
|
-
var LocalitySumOrderByAggregateInputObjectZodSchema =
|
|
7056
|
+
var LocalitySumOrderByAggregateInputObjectSchema = makeSchema427();
|
|
7057
|
+
var LocalitySumOrderByAggregateInputObjectZodSchema = makeSchema427();
|
|
7011
7058
|
|
|
7012
7059
|
// src/generated/schemas/objects/LocalityOrderByWithAggregationInput.schema.ts
|
|
7013
|
-
var
|
|
7060
|
+
var makeSchema428 = () => z620.object({
|
|
7014
7061
|
id: SortOrderSchema.optional(),
|
|
7015
7062
|
name: SortOrderSchema.optional(),
|
|
7016
7063
|
countryId: SortOrderSchema.optional(),
|
|
7017
7064
|
updatedAt: SortOrderSchema.optional(),
|
|
7018
|
-
_count:
|
|
7019
|
-
_avg:
|
|
7020
|
-
_max:
|
|
7021
|
-
_min:
|
|
7022
|
-
_sum:
|
|
7065
|
+
_count: z620.lazy(() => LocalityCountOrderByAggregateInputObjectSchema).optional(),
|
|
7066
|
+
_avg: z620.lazy(() => LocalityAvgOrderByAggregateInputObjectSchema).optional(),
|
|
7067
|
+
_max: z620.lazy(() => LocalityMaxOrderByAggregateInputObjectSchema).optional(),
|
|
7068
|
+
_min: z620.lazy(() => LocalityMinOrderByAggregateInputObjectSchema).optional(),
|
|
7069
|
+
_sum: z620.lazy(() => LocalitySumOrderByAggregateInputObjectSchema).optional()
|
|
7023
7070
|
}).strict();
|
|
7024
|
-
var LocalityOrderByWithAggregationInputObjectSchema =
|
|
7025
|
-
var LocalityOrderByWithAggregationInputObjectZodSchema =
|
|
7071
|
+
var LocalityOrderByWithAggregationInputObjectSchema = makeSchema428();
|
|
7072
|
+
var LocalityOrderByWithAggregationInputObjectZodSchema = makeSchema428();
|
|
7026
7073
|
|
|
7027
7074
|
// src/generated/schemas/objects/LocalityScalarWhereWithAggregatesInput.schema.ts
|
|
7028
|
-
import * as
|
|
7029
|
-
var localityscalarwherewithaggregatesinputSchema =
|
|
7030
|
-
AND:
|
|
7031
|
-
OR:
|
|
7032
|
-
NOT:
|
|
7033
|
-
id:
|
|
7034
|
-
name:
|
|
7035
|
-
countryId:
|
|
7036
|
-
updatedAt:
|
|
7075
|
+
import * as z621 from "zod";
|
|
7076
|
+
var localityscalarwherewithaggregatesinputSchema = z621.object({
|
|
7077
|
+
AND: z621.union([z621.lazy(() => LocalityScalarWhereWithAggregatesInputObjectSchema), z621.lazy(() => LocalityScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
7078
|
+
OR: z621.lazy(() => LocalityScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
|
7079
|
+
NOT: z621.union([z621.lazy(() => LocalityScalarWhereWithAggregatesInputObjectSchema), z621.lazy(() => LocalityScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
7080
|
+
id: z621.union([z621.lazy(() => IntWithAggregatesFilterObjectSchema), z621.number().int()]).optional(),
|
|
7081
|
+
name: z621.union([z621.lazy(() => StringWithAggregatesFilterObjectSchema), z621.string()]).optional(),
|
|
7082
|
+
countryId: z621.union([z621.lazy(() => IntWithAggregatesFilterObjectSchema), z621.number().int()]).optional(),
|
|
7083
|
+
updatedAt: z621.union([z621.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z621.coerce.date()]).optional()
|
|
7037
7084
|
}).strict();
|
|
7038
7085
|
var LocalityScalarWhereWithAggregatesInputObjectSchema = localityscalarwherewithaggregatesinputSchema;
|
|
7039
7086
|
var LocalityScalarWhereWithAggregatesInputObjectZodSchema = localityscalarwherewithaggregatesinputSchema;
|
|
7040
7087
|
|
|
7041
7088
|
// src/generated/schemas/groupByLocality.schema.ts
|
|
7042
|
-
var LocalityGroupBySchema =
|
|
7043
|
-
var LocalityGroupByZodSchema =
|
|
7089
|
+
var LocalityGroupBySchema = z622.object({ where: LocalityWhereInputObjectSchema.optional(), orderBy: z622.union([LocalityOrderByWithAggregationInputObjectSchema, LocalityOrderByWithAggregationInputObjectSchema.array()]).optional(), having: LocalityScalarWhereWithAggregatesInputObjectSchema.optional(), take: z622.number().optional(), skip: z622.number().optional(), by: z622.array(LocalityScalarFieldEnumSchema), _count: z622.union([z622.literal(true), LocalityCountAggregateInputObjectSchema]).optional(), _min: LocalityMinAggregateInputObjectSchema.optional(), _max: LocalityMaxAggregateInputObjectSchema.optional(), _avg: LocalityAvgAggregateInputObjectSchema.optional(), _sum: LocalitySumAggregateInputObjectSchema.optional() }).strict();
|
|
7090
|
+
var LocalityGroupByZodSchema = z622.object({ where: LocalityWhereInputObjectSchema.optional(), orderBy: z622.union([LocalityOrderByWithAggregationInputObjectSchema, LocalityOrderByWithAggregationInputObjectSchema.array()]).optional(), having: LocalityScalarWhereWithAggregatesInputObjectSchema.optional(), take: z622.number().optional(), skip: z622.number().optional(), by: z622.array(LocalityScalarFieldEnumSchema), _count: z622.union([z622.literal(true), LocalityCountAggregateInputObjectSchema]).optional(), _min: LocalityMinAggregateInputObjectSchema.optional(), _max: LocalityMaxAggregateInputObjectSchema.optional(), _avg: LocalityAvgAggregateInputObjectSchema.optional(), _sum: LocalitySumAggregateInputObjectSchema.optional() }).strict();
|
|
7044
7091
|
|
|
7045
7092
|
// src/generated/schemas/findUniqueOrganization.schema.ts
|
|
7046
|
-
import * as z621 from "zod";
|
|
7047
|
-
var OrganizationFindUniqueSchema = z621.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7048
|
-
var OrganizationFindUniqueZodSchema = z621.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7049
|
-
|
|
7050
|
-
// src/generated/schemas/findUniqueOrThrowOrganization.schema.ts
|
|
7051
|
-
import * as z622 from "zod";
|
|
7052
|
-
var OrganizationFindUniqueOrThrowSchema = z622.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7053
|
-
var OrganizationFindUniqueOrThrowZodSchema = z622.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7054
|
-
|
|
7055
|
-
// src/generated/schemas/findFirstOrganization.schema.ts
|
|
7056
7093
|
import * as z623 from "zod";
|
|
7057
|
-
var
|
|
7058
|
-
|
|
7059
|
-
name: z623.boolean().optional(),
|
|
7060
|
-
website: z623.boolean().optional(),
|
|
7061
|
-
updatedAt: z623.boolean().optional(),
|
|
7062
|
-
warehouses: z623.boolean().optional(),
|
|
7063
|
-
_count: z623.boolean().optional()
|
|
7064
|
-
}).strict();
|
|
7065
|
-
var OrganizationFindFirstSelectZodSchema = z623.object({
|
|
7066
|
-
id: z623.boolean().optional(),
|
|
7067
|
-
name: z623.boolean().optional(),
|
|
7068
|
-
website: z623.boolean().optional(),
|
|
7069
|
-
updatedAt: z623.boolean().optional(),
|
|
7070
|
-
warehouses: z623.boolean().optional(),
|
|
7071
|
-
_count: z623.boolean().optional()
|
|
7072
|
-
}).strict();
|
|
7073
|
-
var OrganizationFindFirstSchema = z623.object({ select: OrganizationFindFirstSelectSchema.optional(), include: z623.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z623.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z623.number().optional(), skip: z623.number().optional(), distinct: z623.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7074
|
-
var OrganizationFindFirstZodSchema = z623.object({ select: OrganizationFindFirstSelectSchema.optional(), include: z623.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z623.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z623.number().optional(), skip: z623.number().optional(), distinct: z623.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7094
|
+
var OrganizationFindUniqueSchema = z623.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7095
|
+
var OrganizationFindUniqueZodSchema = z623.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7075
7096
|
|
|
7076
|
-
// src/generated/schemas/
|
|
7097
|
+
// src/generated/schemas/findUniqueOrThrowOrganization.schema.ts
|
|
7077
7098
|
import * as z624 from "zod";
|
|
7078
|
-
var
|
|
7079
|
-
|
|
7080
|
-
name: z624.boolean().optional(),
|
|
7081
|
-
website: z624.boolean().optional(),
|
|
7082
|
-
updatedAt: z624.boolean().optional(),
|
|
7083
|
-
warehouses: z624.boolean().optional(),
|
|
7084
|
-
_count: z624.boolean().optional()
|
|
7085
|
-
}).strict();
|
|
7086
|
-
var OrganizationFindFirstOrThrowSelectZodSchema = z624.object({
|
|
7087
|
-
id: z624.boolean().optional(),
|
|
7088
|
-
name: z624.boolean().optional(),
|
|
7089
|
-
website: z624.boolean().optional(),
|
|
7090
|
-
updatedAt: z624.boolean().optional(),
|
|
7091
|
-
warehouses: z624.boolean().optional(),
|
|
7092
|
-
_count: z624.boolean().optional()
|
|
7093
|
-
}).strict();
|
|
7094
|
-
var OrganizationFindFirstOrThrowSchema = z624.object({ select: OrganizationFindFirstOrThrowSelectSchema.optional(), include: z624.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z624.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z624.number().optional(), skip: z624.number().optional(), distinct: z624.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7095
|
-
var OrganizationFindFirstOrThrowZodSchema = z624.object({ select: OrganizationFindFirstOrThrowSelectSchema.optional(), include: z624.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z624.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z624.number().optional(), skip: z624.number().optional(), distinct: z624.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7099
|
+
var OrganizationFindUniqueOrThrowSchema = z624.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7100
|
+
var OrganizationFindUniqueOrThrowZodSchema = z624.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7096
7101
|
|
|
7097
|
-
// src/generated/schemas/
|
|
7102
|
+
// src/generated/schemas/findFirstOrganization.schema.ts
|
|
7098
7103
|
import * as z625 from "zod";
|
|
7099
|
-
var
|
|
7104
|
+
var OrganizationFindFirstSelectSchema = z625.object({
|
|
7100
7105
|
id: z625.boolean().optional(),
|
|
7101
7106
|
name: z625.boolean().optional(),
|
|
7102
7107
|
website: z625.boolean().optional(),
|
|
@@ -7104,7 +7109,7 @@ var OrganizationFindManySelectSchema = z625.object({
|
|
|
7104
7109
|
warehouses: z625.boolean().optional(),
|
|
7105
7110
|
_count: z625.boolean().optional()
|
|
7106
7111
|
}).strict();
|
|
7107
|
-
var
|
|
7112
|
+
var OrganizationFindFirstSelectZodSchema = z625.object({
|
|
7108
7113
|
id: z625.boolean().optional(),
|
|
7109
7114
|
name: z625.boolean().optional(),
|
|
7110
7115
|
website: z625.boolean().optional(),
|
|
@@ -7112,291 +7117,302 @@ var OrganizationFindManySelectZodSchema = z625.object({
|
|
|
7112
7117
|
warehouses: z625.boolean().optional(),
|
|
7113
7118
|
_count: z625.boolean().optional()
|
|
7114
7119
|
}).strict();
|
|
7115
|
-
var
|
|
7116
|
-
var
|
|
7120
|
+
var OrganizationFindFirstSchema = z625.object({ select: OrganizationFindFirstSelectSchema.optional(), include: z625.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z625.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z625.number().optional(), skip: z625.number().optional(), distinct: z625.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7121
|
+
var OrganizationFindFirstZodSchema = z625.object({ select: OrganizationFindFirstSelectSchema.optional(), include: z625.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z625.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z625.number().optional(), skip: z625.number().optional(), distinct: z625.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7117
7122
|
|
|
7118
|
-
// src/generated/schemas/
|
|
7123
|
+
// src/generated/schemas/findFirstOrThrowOrganization.schema.ts
|
|
7124
|
+
import * as z626 from "zod";
|
|
7125
|
+
var OrganizationFindFirstOrThrowSelectSchema = z626.object({
|
|
7126
|
+
id: z626.boolean().optional(),
|
|
7127
|
+
name: z626.boolean().optional(),
|
|
7128
|
+
website: z626.boolean().optional(),
|
|
7129
|
+
updatedAt: z626.boolean().optional(),
|
|
7130
|
+
warehouses: z626.boolean().optional(),
|
|
7131
|
+
_count: z626.boolean().optional()
|
|
7132
|
+
}).strict();
|
|
7133
|
+
var OrganizationFindFirstOrThrowSelectZodSchema = z626.object({
|
|
7134
|
+
id: z626.boolean().optional(),
|
|
7135
|
+
name: z626.boolean().optional(),
|
|
7136
|
+
website: z626.boolean().optional(),
|
|
7137
|
+
updatedAt: z626.boolean().optional(),
|
|
7138
|
+
warehouses: z626.boolean().optional(),
|
|
7139
|
+
_count: z626.boolean().optional()
|
|
7140
|
+
}).strict();
|
|
7141
|
+
var OrganizationFindFirstOrThrowSchema = z626.object({ select: OrganizationFindFirstOrThrowSelectSchema.optional(), include: z626.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z626.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z626.number().optional(), skip: z626.number().optional(), distinct: z626.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7142
|
+
var OrganizationFindFirstOrThrowZodSchema = z626.object({ select: OrganizationFindFirstOrThrowSelectSchema.optional(), include: z626.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z626.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z626.number().optional(), skip: z626.number().optional(), distinct: z626.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7143
|
+
|
|
7144
|
+
// src/generated/schemas/findManyOrganization.schema.ts
|
|
7119
7145
|
import * as z627 from "zod";
|
|
7146
|
+
var OrganizationFindManySelectSchema = z627.object({
|
|
7147
|
+
id: z627.boolean().optional(),
|
|
7148
|
+
name: z627.boolean().optional(),
|
|
7149
|
+
website: z627.boolean().optional(),
|
|
7150
|
+
updatedAt: z627.boolean().optional(),
|
|
7151
|
+
warehouses: z627.boolean().optional(),
|
|
7152
|
+
_count: z627.boolean().optional()
|
|
7153
|
+
}).strict();
|
|
7154
|
+
var OrganizationFindManySelectZodSchema = z627.object({
|
|
7155
|
+
id: z627.boolean().optional(),
|
|
7156
|
+
name: z627.boolean().optional(),
|
|
7157
|
+
website: z627.boolean().optional(),
|
|
7158
|
+
updatedAt: z627.boolean().optional(),
|
|
7159
|
+
warehouses: z627.boolean().optional(),
|
|
7160
|
+
_count: z627.boolean().optional()
|
|
7161
|
+
}).strict();
|
|
7162
|
+
var OrganizationFindManySchema = z627.object({ select: OrganizationFindManySelectSchema.optional(), include: z627.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z627.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z627.number().optional(), skip: z627.number().optional(), distinct: z627.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7163
|
+
var OrganizationFindManyZodSchema = z627.object({ select: OrganizationFindManySelectSchema.optional(), include: z627.lazy(() => OrganizationIncludeObjectSchema.optional()), orderBy: z627.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z627.number().optional(), skip: z627.number().optional(), distinct: z627.union([OrganizationScalarFieldEnumSchema, OrganizationScalarFieldEnumSchema.array()]).optional() }).strict();
|
|
7164
|
+
|
|
7165
|
+
// src/generated/schemas/countOrganization.schema.ts
|
|
7166
|
+
import * as z629 from "zod";
|
|
7120
7167
|
|
|
7121
7168
|
// src/generated/schemas/objects/OrganizationCountAggregateInput.schema.ts
|
|
7122
|
-
import * as
|
|
7123
|
-
var
|
|
7124
|
-
id:
|
|
7125
|
-
name:
|
|
7126
|
-
website:
|
|
7127
|
-
updatedAt:
|
|
7128
|
-
_all:
|
|
7169
|
+
import * as z628 from "zod";
|
|
7170
|
+
var makeSchema429 = () => z628.object({
|
|
7171
|
+
id: z628.literal(true).optional(),
|
|
7172
|
+
name: z628.literal(true).optional(),
|
|
7173
|
+
website: z628.literal(true).optional(),
|
|
7174
|
+
updatedAt: z628.literal(true).optional(),
|
|
7175
|
+
_all: z628.literal(true).optional()
|
|
7129
7176
|
}).strict();
|
|
7130
|
-
var OrganizationCountAggregateInputObjectSchema =
|
|
7131
|
-
var OrganizationCountAggregateInputObjectZodSchema =
|
|
7177
|
+
var OrganizationCountAggregateInputObjectSchema = makeSchema429();
|
|
7178
|
+
var OrganizationCountAggregateInputObjectZodSchema = makeSchema429();
|
|
7132
7179
|
|
|
7133
7180
|
// src/generated/schemas/countOrganization.schema.ts
|
|
7134
|
-
var OrganizationCountSchema =
|
|
7135
|
-
var OrganizationCountZodSchema =
|
|
7181
|
+
var OrganizationCountSchema = z629.object({ orderBy: z629.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z629.number().optional(), skip: z629.number().optional(), select: z629.union([z629.literal(true), OrganizationCountAggregateInputObjectSchema]).optional() }).strict();
|
|
7182
|
+
var OrganizationCountZodSchema = z629.object({ orderBy: z629.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z629.number().optional(), skip: z629.number().optional(), select: z629.union([z629.literal(true), OrganizationCountAggregateInputObjectSchema]).optional() }).strict();
|
|
7136
7183
|
|
|
7137
7184
|
// src/generated/schemas/createOneOrganization.schema.ts
|
|
7138
|
-
import * as
|
|
7185
|
+
import * as z639 from "zod";
|
|
7139
7186
|
|
|
7140
7187
|
// src/generated/schemas/objects/OrganizationCreateInput.schema.ts
|
|
7141
|
-
import * as
|
|
7188
|
+
import * as z636 from "zod";
|
|
7142
7189
|
|
|
7143
7190
|
// src/generated/schemas/objects/WarehouseCreateNestedManyWithoutOrganizationInput.schema.ts
|
|
7144
|
-
import * as
|
|
7191
|
+
import * as z635 from "zod";
|
|
7145
7192
|
|
|
7146
7193
|
// src/generated/schemas/objects/WarehouseCreateWithoutOrganizationInput.schema.ts
|
|
7147
|
-
import * as
|
|
7148
|
-
var
|
|
7149
|
-
address:
|
|
7150
|
-
note:
|
|
7151
|
-
code:
|
|
7152
|
-
updatedAt:
|
|
7153
|
-
locality:
|
|
7154
|
-
employees:
|
|
7194
|
+
import * as z630 from "zod";
|
|
7195
|
+
var makeSchema430 = () => z630.object({
|
|
7196
|
+
address: z630.string(),
|
|
7197
|
+
note: z630.string().optional().nullable(),
|
|
7198
|
+
code: z630.string(),
|
|
7199
|
+
updatedAt: z630.coerce.date().optional(),
|
|
7200
|
+
locality: z630.lazy(() => LocalityCreateNestedOneWithoutWarehousesInputObjectSchema),
|
|
7201
|
+
employees: z630.lazy(() => EmployeeCreateNestedManyWithoutWarehouseInputObjectSchema).optional()
|
|
7155
7202
|
}).strict();
|
|
7156
|
-
var WarehouseCreateWithoutOrganizationInputObjectSchema =
|
|
7157
|
-
var WarehouseCreateWithoutOrganizationInputObjectZodSchema =
|
|
7203
|
+
var WarehouseCreateWithoutOrganizationInputObjectSchema = makeSchema430();
|
|
7204
|
+
var WarehouseCreateWithoutOrganizationInputObjectZodSchema = makeSchema430();
|
|
7158
7205
|
|
|
7159
7206
|
// src/generated/schemas/objects/WarehouseUncheckedCreateWithoutOrganizationInput.schema.ts
|
|
7160
|
-
import * as
|
|
7161
|
-
var
|
|
7162
|
-
id:
|
|
7163
|
-
address:
|
|
7164
|
-
note:
|
|
7165
|
-
code:
|
|
7166
|
-
localityId:
|
|
7167
|
-
updatedAt:
|
|
7168
|
-
employees:
|
|
7169
|
-
}).strict();
|
|
7170
|
-
var WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema =
|
|
7171
|
-
var WarehouseUncheckedCreateWithoutOrganizationInputObjectZodSchema =
|
|
7207
|
+
import * as z631 from "zod";
|
|
7208
|
+
var makeSchema431 = () => z631.object({
|
|
7209
|
+
id: z631.number().int().optional(),
|
|
7210
|
+
address: z631.string(),
|
|
7211
|
+
note: z631.string().optional().nullable(),
|
|
7212
|
+
code: z631.string(),
|
|
7213
|
+
localityId: z631.number().int(),
|
|
7214
|
+
updatedAt: z631.coerce.date().optional(),
|
|
7215
|
+
employees: z631.lazy(() => EmployeeUncheckedCreateNestedManyWithoutWarehouseInputObjectSchema).optional()
|
|
7216
|
+
}).strict();
|
|
7217
|
+
var WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema = makeSchema431();
|
|
7218
|
+
var WarehouseUncheckedCreateWithoutOrganizationInputObjectZodSchema = makeSchema431();
|
|
7172
7219
|
|
|
7173
7220
|
// src/generated/schemas/objects/WarehouseCreateOrConnectWithoutOrganizationInput.schema.ts
|
|
7174
|
-
import * as
|
|
7175
|
-
var
|
|
7176
|
-
where:
|
|
7177
|
-
create:
|
|
7221
|
+
import * as z632 from "zod";
|
|
7222
|
+
var makeSchema432 = () => z632.object({
|
|
7223
|
+
where: z632.lazy(() => WarehouseWhereUniqueInputObjectSchema),
|
|
7224
|
+
create: z632.union([z632.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema), z632.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema)])
|
|
7178
7225
|
}).strict();
|
|
7179
|
-
var WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema =
|
|
7180
|
-
var WarehouseCreateOrConnectWithoutOrganizationInputObjectZodSchema =
|
|
7226
|
+
var WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema = makeSchema432();
|
|
7227
|
+
var WarehouseCreateOrConnectWithoutOrganizationInputObjectZodSchema = makeSchema432();
|
|
7181
7228
|
|
|
7182
7229
|
// src/generated/schemas/objects/WarehouseCreateManyOrganizationInputEnvelope.schema.ts
|
|
7183
|
-
import * as
|
|
7230
|
+
import * as z634 from "zod";
|
|
7184
7231
|
|
|
7185
7232
|
// src/generated/schemas/objects/WarehouseCreateManyOrganizationInput.schema.ts
|
|
7186
|
-
import * as
|
|
7187
|
-
var
|
|
7188
|
-
id:
|
|
7189
|
-
address:
|
|
7190
|
-
note:
|
|
7191
|
-
code:
|
|
7192
|
-
localityId:
|
|
7193
|
-
updatedAt:
|
|
7233
|
+
import * as z633 from "zod";
|
|
7234
|
+
var makeSchema433 = () => z633.object({
|
|
7235
|
+
id: z633.number().int().optional(),
|
|
7236
|
+
address: z633.string(),
|
|
7237
|
+
note: z633.string().optional().nullable(),
|
|
7238
|
+
code: z633.string(),
|
|
7239
|
+
localityId: z633.number().int(),
|
|
7240
|
+
updatedAt: z633.coerce.date().optional()
|
|
7194
7241
|
}).strict();
|
|
7195
|
-
var WarehouseCreateManyOrganizationInputObjectSchema =
|
|
7196
|
-
var WarehouseCreateManyOrganizationInputObjectZodSchema =
|
|
7242
|
+
var WarehouseCreateManyOrganizationInputObjectSchema = makeSchema433();
|
|
7243
|
+
var WarehouseCreateManyOrganizationInputObjectZodSchema = makeSchema433();
|
|
7197
7244
|
|
|
7198
7245
|
// src/generated/schemas/objects/WarehouseCreateManyOrganizationInputEnvelope.schema.ts
|
|
7199
|
-
var
|
|
7200
|
-
data:
|
|
7201
|
-
skipDuplicates:
|
|
7246
|
+
var makeSchema434 = () => z634.object({
|
|
7247
|
+
data: z634.union([z634.lazy(() => WarehouseCreateManyOrganizationInputObjectSchema), z634.lazy(() => WarehouseCreateManyOrganizationInputObjectSchema).array()]),
|
|
7248
|
+
skipDuplicates: z634.boolean().optional()
|
|
7202
7249
|
}).strict();
|
|
7203
|
-
var WarehouseCreateManyOrganizationInputEnvelopeObjectSchema =
|
|
7204
|
-
var WarehouseCreateManyOrganizationInputEnvelopeObjectZodSchema =
|
|
7250
|
+
var WarehouseCreateManyOrganizationInputEnvelopeObjectSchema = makeSchema434();
|
|
7251
|
+
var WarehouseCreateManyOrganizationInputEnvelopeObjectZodSchema = makeSchema434();
|
|
7205
7252
|
|
|
7206
7253
|
// src/generated/schemas/objects/WarehouseCreateNestedManyWithoutOrganizationInput.schema.ts
|
|
7207
|
-
var
|
|
7208
|
-
create:
|
|
7209
|
-
connectOrCreate:
|
|
7210
|
-
createMany:
|
|
7211
|
-
connect:
|
|
7254
|
+
var makeSchema435 = () => z635.object({
|
|
7255
|
+
create: z635.union([z635.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema), z635.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema).array(), z635.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema), z635.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7256
|
+
connectOrCreate: z635.union([z635.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema), z635.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7257
|
+
createMany: z635.lazy(() => WarehouseCreateManyOrganizationInputEnvelopeObjectSchema).optional(),
|
|
7258
|
+
connect: z635.union([z635.lazy(() => WarehouseWhereUniqueInputObjectSchema), z635.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional()
|
|
7212
7259
|
}).strict();
|
|
7213
|
-
var WarehouseCreateNestedManyWithoutOrganizationInputObjectSchema =
|
|
7214
|
-
var WarehouseCreateNestedManyWithoutOrganizationInputObjectZodSchema =
|
|
7260
|
+
var WarehouseCreateNestedManyWithoutOrganizationInputObjectSchema = makeSchema435();
|
|
7261
|
+
var WarehouseCreateNestedManyWithoutOrganizationInputObjectZodSchema = makeSchema435();
|
|
7215
7262
|
|
|
7216
7263
|
// src/generated/schemas/objects/OrganizationCreateInput.schema.ts
|
|
7217
|
-
var
|
|
7218
|
-
name:
|
|
7219
|
-
website:
|
|
7220
|
-
warehouses:
|
|
7264
|
+
var makeSchema436 = () => z636.object({
|
|
7265
|
+
name: z636.string(),
|
|
7266
|
+
website: z636.string().optional().nullable(),
|
|
7267
|
+
warehouses: z636.lazy(() => WarehouseCreateNestedManyWithoutOrganizationInputObjectSchema).optional()
|
|
7221
7268
|
}).strict();
|
|
7222
|
-
var OrganizationCreateInputObjectSchema =
|
|
7223
|
-
var OrganizationCreateInputObjectZodSchema =
|
|
7269
|
+
var OrganizationCreateInputObjectSchema = makeSchema436();
|
|
7270
|
+
var OrganizationCreateInputObjectZodSchema = makeSchema436();
|
|
7224
7271
|
|
|
7225
7272
|
// src/generated/schemas/objects/OrganizationUncheckedCreateInput.schema.ts
|
|
7226
|
-
import * as
|
|
7273
|
+
import * as z638 from "zod";
|
|
7227
7274
|
|
|
7228
7275
|
// src/generated/schemas/objects/WarehouseUncheckedCreateNestedManyWithoutOrganizationInput.schema.ts
|
|
7229
|
-
import * as
|
|
7230
|
-
var
|
|
7231
|
-
create:
|
|
7232
|
-
connectOrCreate:
|
|
7233
|
-
createMany:
|
|
7234
|
-
connect:
|
|
7276
|
+
import * as z637 from "zod";
|
|
7277
|
+
var makeSchema437 = () => z637.object({
|
|
7278
|
+
create: z637.union([z637.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema), z637.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema).array(), z637.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema), z637.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7279
|
+
connectOrCreate: z637.union([z637.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema), z637.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7280
|
+
createMany: z637.lazy(() => WarehouseCreateManyOrganizationInputEnvelopeObjectSchema).optional(),
|
|
7281
|
+
connect: z637.union([z637.lazy(() => WarehouseWhereUniqueInputObjectSchema), z637.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional()
|
|
7235
7282
|
}).strict();
|
|
7236
|
-
var WarehouseUncheckedCreateNestedManyWithoutOrganizationInputObjectSchema =
|
|
7237
|
-
var WarehouseUncheckedCreateNestedManyWithoutOrganizationInputObjectZodSchema =
|
|
7283
|
+
var WarehouseUncheckedCreateNestedManyWithoutOrganizationInputObjectSchema = makeSchema437();
|
|
7284
|
+
var WarehouseUncheckedCreateNestedManyWithoutOrganizationInputObjectZodSchema = makeSchema437();
|
|
7238
7285
|
|
|
7239
7286
|
// src/generated/schemas/objects/OrganizationUncheckedCreateInput.schema.ts
|
|
7240
|
-
var
|
|
7241
|
-
id:
|
|
7242
|
-
name:
|
|
7243
|
-
website:
|
|
7244
|
-
warehouses:
|
|
7287
|
+
var makeSchema438 = () => z638.object({
|
|
7288
|
+
id: z638.number().int().optional(),
|
|
7289
|
+
name: z638.string(),
|
|
7290
|
+
website: z638.string().optional().nullable(),
|
|
7291
|
+
warehouses: z638.lazy(() => WarehouseUncheckedCreateNestedManyWithoutOrganizationInputObjectSchema).optional()
|
|
7245
7292
|
}).strict();
|
|
7246
|
-
var OrganizationUncheckedCreateInputObjectSchema =
|
|
7247
|
-
var OrganizationUncheckedCreateInputObjectZodSchema =
|
|
7293
|
+
var OrganizationUncheckedCreateInputObjectSchema = makeSchema438();
|
|
7294
|
+
var OrganizationUncheckedCreateInputObjectZodSchema = makeSchema438();
|
|
7248
7295
|
|
|
7249
7296
|
// src/generated/schemas/createOneOrganization.schema.ts
|
|
7250
|
-
var OrganizationCreateOneSchema =
|
|
7251
|
-
var OrganizationCreateOneZodSchema =
|
|
7297
|
+
var OrganizationCreateOneSchema = z639.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), data: z639.union([OrganizationCreateInputObjectSchema, OrganizationUncheckedCreateInputObjectSchema]) }).strict();
|
|
7298
|
+
var OrganizationCreateOneZodSchema = z639.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), data: z639.union([OrganizationCreateInputObjectSchema, OrganizationUncheckedCreateInputObjectSchema]) }).strict();
|
|
7252
7299
|
|
|
7253
7300
|
// src/generated/schemas/createManyOrganization.schema.ts
|
|
7254
|
-
import * as
|
|
7301
|
+
import * as z641 from "zod";
|
|
7255
7302
|
|
|
7256
7303
|
// src/generated/schemas/objects/OrganizationCreateManyInput.schema.ts
|
|
7257
|
-
import * as
|
|
7258
|
-
var
|
|
7259
|
-
id:
|
|
7260
|
-
name:
|
|
7261
|
-
website:
|
|
7262
|
-
updatedAt:
|
|
7304
|
+
import * as z640 from "zod";
|
|
7305
|
+
var makeSchema439 = () => z640.object({
|
|
7306
|
+
id: z640.number().int().optional(),
|
|
7307
|
+
name: z640.string(),
|
|
7308
|
+
website: z640.string().optional().nullable(),
|
|
7309
|
+
updatedAt: z640.coerce.date().optional()
|
|
7263
7310
|
}).strict();
|
|
7264
|
-
var OrganizationCreateManyInputObjectSchema =
|
|
7265
|
-
var OrganizationCreateManyInputObjectZodSchema =
|
|
7311
|
+
var OrganizationCreateManyInputObjectSchema = makeSchema439();
|
|
7312
|
+
var OrganizationCreateManyInputObjectZodSchema = makeSchema439();
|
|
7266
7313
|
|
|
7267
7314
|
// src/generated/schemas/createManyOrganization.schema.ts
|
|
7268
|
-
var OrganizationCreateManySchema =
|
|
7269
|
-
var OrganizationCreateManyZodSchema =
|
|
7315
|
+
var OrganizationCreateManySchema = z641.object({ data: z641.union([OrganizationCreateManyInputObjectSchema, z641.array(OrganizationCreateManyInputObjectSchema)]), skipDuplicates: z641.boolean().optional() }).strict();
|
|
7316
|
+
var OrganizationCreateManyZodSchema = z641.object({ data: z641.union([OrganizationCreateManyInputObjectSchema, z641.array(OrganizationCreateManyInputObjectSchema)]), skipDuplicates: z641.boolean().optional() }).strict();
|
|
7270
7317
|
|
|
7271
7318
|
// src/generated/schemas/createManyAndReturnOrganization.schema.ts
|
|
7272
|
-
import * as
|
|
7273
|
-
var OrganizationCreateManyAndReturnSchema =
|
|
7274
|
-
var OrganizationCreateManyAndReturnZodSchema =
|
|
7319
|
+
import * as z642 from "zod";
|
|
7320
|
+
var OrganizationCreateManyAndReturnSchema = z642.object({ select: OrganizationSelectObjectSchema.optional(), data: z642.union([OrganizationCreateManyInputObjectSchema, z642.array(OrganizationCreateManyInputObjectSchema)]), skipDuplicates: z642.boolean().optional() }).strict();
|
|
7321
|
+
var OrganizationCreateManyAndReturnZodSchema = z642.object({ select: OrganizationSelectObjectSchema.optional(), data: z642.union([OrganizationCreateManyInputObjectSchema, z642.array(OrganizationCreateManyInputObjectSchema)]), skipDuplicates: z642.boolean().optional() }).strict();
|
|
7275
7322
|
|
|
7276
7323
|
// src/generated/schemas/deleteOneOrganization.schema.ts
|
|
7277
|
-
import * as
|
|
7278
|
-
var OrganizationDeleteOneSchema =
|
|
7279
|
-
var OrganizationDeleteOneZodSchema =
|
|
7324
|
+
import * as z643 from "zod";
|
|
7325
|
+
var OrganizationDeleteOneSchema = z643.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7326
|
+
var OrganizationDeleteOneZodSchema = z643.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7280
7327
|
|
|
7281
7328
|
// src/generated/schemas/deleteManyOrganization.schema.ts
|
|
7282
|
-
import * as
|
|
7283
|
-
var OrganizationDeleteManySchema =
|
|
7284
|
-
var OrganizationDeleteManyZodSchema =
|
|
7329
|
+
import * as z644 from "zod";
|
|
7330
|
+
var OrganizationDeleteManySchema = z644.object({ where: OrganizationWhereInputObjectSchema.optional() }).strict();
|
|
7331
|
+
var OrganizationDeleteManyZodSchema = z644.object({ where: OrganizationWhereInputObjectSchema.optional() }).strict();
|
|
7285
7332
|
|
|
7286
7333
|
// src/generated/schemas/updateOneOrganization.schema.ts
|
|
7287
|
-
import * as
|
|
7334
|
+
import * as z655 from "zod";
|
|
7288
7335
|
|
|
7289
7336
|
// src/generated/schemas/objects/OrganizationUpdateInput.schema.ts
|
|
7290
|
-
import * as
|
|
7337
|
+
import * as z652 from "zod";
|
|
7291
7338
|
|
|
7292
7339
|
// src/generated/schemas/objects/WarehouseUpdateManyWithoutOrganizationNestedInput.schema.ts
|
|
7293
|
-
import * as
|
|
7340
|
+
import * as z651 from "zod";
|
|
7294
7341
|
|
|
7295
7342
|
// src/generated/schemas/objects/WarehouseUpsertWithWhereUniqueWithoutOrganizationInput.schema.ts
|
|
7296
|
-
import * as
|
|
7343
|
+
import * as z647 from "zod";
|
|
7297
7344
|
|
|
7298
7345
|
// src/generated/schemas/objects/WarehouseUpdateWithoutOrganizationInput.schema.ts
|
|
7299
|
-
import * as
|
|
7300
|
-
var
|
|
7301
|
-
address:
|
|
7302
|
-
note:
|
|
7303
|
-
code:
|
|
7304
|
-
updatedAt:
|
|
7305
|
-
locality:
|
|
7306
|
-
employees:
|
|
7346
|
+
import * as z645 from "zod";
|
|
7347
|
+
var makeSchema440 = () => z645.object({
|
|
7348
|
+
address: z645.union([z645.string(), z645.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7349
|
+
note: z645.union([z645.string(), z645.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
7350
|
+
code: z645.union([z645.string(), z645.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7351
|
+
updatedAt: z645.union([z645.coerce.date(), z645.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7352
|
+
locality: z645.lazy(() => LocalityUpdateOneRequiredWithoutWarehousesNestedInputObjectSchema).optional(),
|
|
7353
|
+
employees: z645.lazy(() => EmployeeUpdateManyWithoutWarehouseNestedInputObjectSchema).optional()
|
|
7307
7354
|
}).strict();
|
|
7308
|
-
var WarehouseUpdateWithoutOrganizationInputObjectSchema =
|
|
7309
|
-
var WarehouseUpdateWithoutOrganizationInputObjectZodSchema =
|
|
7355
|
+
var WarehouseUpdateWithoutOrganizationInputObjectSchema = makeSchema440();
|
|
7356
|
+
var WarehouseUpdateWithoutOrganizationInputObjectZodSchema = makeSchema440();
|
|
7310
7357
|
|
|
7311
7358
|
// src/generated/schemas/objects/WarehouseUncheckedUpdateWithoutOrganizationInput.schema.ts
|
|
7312
|
-
import * as
|
|
7313
|
-
var
|
|
7314
|
-
id:
|
|
7315
|
-
address:
|
|
7316
|
-
note:
|
|
7317
|
-
code:
|
|
7318
|
-
localityId:
|
|
7319
|
-
updatedAt:
|
|
7320
|
-
employees:
|
|
7321
|
-
}).strict();
|
|
7322
|
-
var WarehouseUncheckedUpdateWithoutOrganizationInputObjectSchema =
|
|
7323
|
-
var WarehouseUncheckedUpdateWithoutOrganizationInputObjectZodSchema =
|
|
7359
|
+
import * as z646 from "zod";
|
|
7360
|
+
var makeSchema441 = () => z646.object({
|
|
7361
|
+
id: z646.union([z646.number().int(), z646.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7362
|
+
address: z646.union([z646.string(), z646.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7363
|
+
note: z646.union([z646.string(), z646.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
7364
|
+
code: z646.union([z646.string(), z646.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7365
|
+
localityId: z646.union([z646.number().int(), z646.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7366
|
+
updatedAt: z646.union([z646.coerce.date(), z646.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7367
|
+
employees: z646.lazy(() => EmployeeUncheckedUpdateManyWithoutWarehouseNestedInputObjectSchema).optional()
|
|
7368
|
+
}).strict();
|
|
7369
|
+
var WarehouseUncheckedUpdateWithoutOrganizationInputObjectSchema = makeSchema441();
|
|
7370
|
+
var WarehouseUncheckedUpdateWithoutOrganizationInputObjectZodSchema = makeSchema441();
|
|
7324
7371
|
|
|
7325
7372
|
// src/generated/schemas/objects/WarehouseUpsertWithWhereUniqueWithoutOrganizationInput.schema.ts
|
|
7326
|
-
var
|
|
7327
|
-
where:
|
|
7328
|
-
update:
|
|
7329
|
-
create:
|
|
7373
|
+
var makeSchema442 = () => z647.object({
|
|
7374
|
+
where: z647.lazy(() => WarehouseWhereUniqueInputObjectSchema),
|
|
7375
|
+
update: z647.union([z647.lazy(() => WarehouseUpdateWithoutOrganizationInputObjectSchema), z647.lazy(() => WarehouseUncheckedUpdateWithoutOrganizationInputObjectSchema)]),
|
|
7376
|
+
create: z647.union([z647.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema), z647.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema)])
|
|
7330
7377
|
}).strict();
|
|
7331
|
-
var WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectSchema =
|
|
7332
|
-
var WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectZodSchema =
|
|
7378
|
+
var WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectSchema = makeSchema442();
|
|
7379
|
+
var WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectZodSchema = makeSchema442();
|
|
7333
7380
|
|
|
7334
7381
|
// src/generated/schemas/objects/WarehouseUpdateWithWhereUniqueWithoutOrganizationInput.schema.ts
|
|
7335
|
-
import * as
|
|
7336
|
-
var
|
|
7337
|
-
where:
|
|
7338
|
-
data:
|
|
7382
|
+
import * as z648 from "zod";
|
|
7383
|
+
var makeSchema443 = () => z648.object({
|
|
7384
|
+
where: z648.lazy(() => WarehouseWhereUniqueInputObjectSchema),
|
|
7385
|
+
data: z648.union([z648.lazy(() => WarehouseUpdateWithoutOrganizationInputObjectSchema), z648.lazy(() => WarehouseUncheckedUpdateWithoutOrganizationInputObjectSchema)])
|
|
7339
7386
|
}).strict();
|
|
7340
|
-
var WarehouseUpdateWithWhereUniqueWithoutOrganizationInputObjectSchema =
|
|
7341
|
-
var WarehouseUpdateWithWhereUniqueWithoutOrganizationInputObjectZodSchema =
|
|
7387
|
+
var WarehouseUpdateWithWhereUniqueWithoutOrganizationInputObjectSchema = makeSchema443();
|
|
7388
|
+
var WarehouseUpdateWithWhereUniqueWithoutOrganizationInputObjectZodSchema = makeSchema443();
|
|
7342
7389
|
|
|
7343
7390
|
// src/generated/schemas/objects/WarehouseUpdateManyWithWhereWithoutOrganizationInput.schema.ts
|
|
7344
|
-
import * as
|
|
7391
|
+
import * as z650 from "zod";
|
|
7345
7392
|
|
|
7346
7393
|
// src/generated/schemas/objects/WarehouseUncheckedUpdateManyWithoutOrganizationInput.schema.ts
|
|
7347
|
-
import * as
|
|
7348
|
-
var
|
|
7349
|
-
id:
|
|
7350
|
-
address:
|
|
7351
|
-
note:
|
|
7352
|
-
code:
|
|
7353
|
-
localityId:
|
|
7354
|
-
updatedAt:
|
|
7394
|
+
import * as z649 from "zod";
|
|
7395
|
+
var makeSchema444 = () => z649.object({
|
|
7396
|
+
id: z649.union([z649.number().int(), z649.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7397
|
+
address: z649.union([z649.string(), z649.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7398
|
+
note: z649.union([z649.string(), z649.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
7399
|
+
code: z649.union([z649.string(), z649.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7400
|
+
localityId: z649.union([z649.number().int(), z649.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7401
|
+
updatedAt: z649.union([z649.coerce.date(), z649.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
|
7355
7402
|
}).strict();
|
|
7356
|
-
var WarehouseUncheckedUpdateManyWithoutOrganizationInputObjectSchema =
|
|
7357
|
-
var WarehouseUncheckedUpdateManyWithoutOrganizationInputObjectZodSchema =
|
|
7403
|
+
var WarehouseUncheckedUpdateManyWithoutOrganizationInputObjectSchema = makeSchema444();
|
|
7404
|
+
var WarehouseUncheckedUpdateManyWithoutOrganizationInputObjectZodSchema = makeSchema444();
|
|
7358
7405
|
|
|
7359
7406
|
// src/generated/schemas/objects/WarehouseUpdateManyWithWhereWithoutOrganizationInput.schema.ts
|
|
7360
|
-
var
|
|
7361
|
-
where:
|
|
7362
|
-
data:
|
|
7407
|
+
var makeSchema445 = () => z650.object({
|
|
7408
|
+
where: z650.lazy(() => WarehouseScalarWhereInputObjectSchema),
|
|
7409
|
+
data: z650.union([z650.lazy(() => WarehouseUpdateManyMutationInputObjectSchema), z650.lazy(() => WarehouseUncheckedUpdateManyWithoutOrganizationInputObjectSchema)])
|
|
7363
7410
|
}).strict();
|
|
7364
|
-
var WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectSchema =
|
|
7365
|
-
var WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectZodSchema =
|
|
7411
|
+
var WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectSchema = makeSchema445();
|
|
7412
|
+
var WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectZodSchema = makeSchema445();
|
|
7366
7413
|
|
|
7367
7414
|
// src/generated/schemas/objects/WarehouseUpdateManyWithoutOrganizationNestedInput.schema.ts
|
|
7368
|
-
var
|
|
7369
|
-
create: z649.union([z649.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema), z649.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema).array(), z649.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema), z649.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7370
|
-
connectOrCreate: z649.union([z649.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema), z649.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7371
|
-
upsert: z649.union([z649.lazy(() => WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectSchema), z649.lazy(() => WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7372
|
-
createMany: z649.lazy(() => WarehouseCreateManyOrganizationInputEnvelopeObjectSchema).optional(),
|
|
7373
|
-
set: z649.union([z649.lazy(() => WarehouseWhereUniqueInputObjectSchema), z649.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional(),
|
|
7374
|
-
disconnect: z649.union([z649.lazy(() => WarehouseWhereUniqueInputObjectSchema), z649.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional(),
|
|
7375
|
-
delete: z649.union([z649.lazy(() => WarehouseWhereUniqueInputObjectSchema), z649.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional(),
|
|
7376
|
-
connect: z649.union([z649.lazy(() => WarehouseWhereUniqueInputObjectSchema), z649.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional(),
|
|
7377
|
-
update: z649.union([z649.lazy(() => WarehouseUpdateWithWhereUniqueWithoutOrganizationInputObjectSchema), z649.lazy(() => WarehouseUpdateWithWhereUniqueWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7378
|
-
updateMany: z649.union([z649.lazy(() => WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectSchema), z649.lazy(() => WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7379
|
-
deleteMany: z649.union([z649.lazy(() => WarehouseScalarWhereInputObjectSchema), z649.lazy(() => WarehouseScalarWhereInputObjectSchema).array()]).optional()
|
|
7380
|
-
}).strict();
|
|
7381
|
-
var WarehouseUpdateManyWithoutOrganizationNestedInputObjectSchema = makeSchema445();
|
|
7382
|
-
var WarehouseUpdateManyWithoutOrganizationNestedInputObjectZodSchema = makeSchema445();
|
|
7383
|
-
|
|
7384
|
-
// src/generated/schemas/objects/OrganizationUpdateInput.schema.ts
|
|
7385
|
-
var makeSchema446 = () => z650.object({
|
|
7386
|
-
name: z650.union([z650.string(), z650.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7387
|
-
website: z650.union([z650.string(), z650.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
7388
|
-
updatedAt: z650.union([z650.coerce.date(), z650.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7389
|
-
warehouses: z650.lazy(() => WarehouseUpdateManyWithoutOrganizationNestedInputObjectSchema).optional()
|
|
7390
|
-
}).strict();
|
|
7391
|
-
var OrganizationUpdateInputObjectSchema = makeSchema446();
|
|
7392
|
-
var OrganizationUpdateInputObjectZodSchema = makeSchema446();
|
|
7393
|
-
|
|
7394
|
-
// src/generated/schemas/objects/OrganizationUncheckedUpdateInput.schema.ts
|
|
7395
|
-
import * as z652 from "zod";
|
|
7396
|
-
|
|
7397
|
-
// src/generated/schemas/objects/WarehouseUncheckedUpdateManyWithoutOrganizationNestedInput.schema.ts
|
|
7398
|
-
import * as z651 from "zod";
|
|
7399
|
-
var makeSchema447 = () => z651.object({
|
|
7415
|
+
var makeSchema446 = () => z651.object({
|
|
7400
7416
|
create: z651.union([z651.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema), z651.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema).array(), z651.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema), z651.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7401
7417
|
connectOrCreate: z651.union([z651.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema), z651.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7402
7418
|
upsert: z651.union([z651.lazy(() => WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectSchema), z651.lazy(() => WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
@@ -7409,215 +7425,199 @@ var makeSchema447 = () => z651.object({
|
|
|
7409
7425
|
updateMany: z651.union([z651.lazy(() => WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectSchema), z651.lazy(() => WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7410
7426
|
deleteMany: z651.union([z651.lazy(() => WarehouseScalarWhereInputObjectSchema), z651.lazy(() => WarehouseScalarWhereInputObjectSchema).array()]).optional()
|
|
7411
7427
|
}).strict();
|
|
7412
|
-
var
|
|
7413
|
-
var
|
|
7428
|
+
var WarehouseUpdateManyWithoutOrganizationNestedInputObjectSchema = makeSchema446();
|
|
7429
|
+
var WarehouseUpdateManyWithoutOrganizationNestedInputObjectZodSchema = makeSchema446();
|
|
7414
7430
|
|
|
7415
|
-
// src/generated/schemas/objects/
|
|
7416
|
-
var
|
|
7417
|
-
id: z652.union([z652.number().int(), z652.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7431
|
+
// src/generated/schemas/objects/OrganizationUpdateInput.schema.ts
|
|
7432
|
+
var makeSchema447 = () => z652.object({
|
|
7418
7433
|
name: z652.union([z652.string(), z652.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7419
7434
|
website: z652.union([z652.string(), z652.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
7420
7435
|
updatedAt: z652.union([z652.coerce.date(), z652.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7421
|
-
warehouses: z652.lazy(() =>
|
|
7436
|
+
warehouses: z652.lazy(() => WarehouseUpdateManyWithoutOrganizationNestedInputObjectSchema).optional()
|
|
7422
7437
|
}).strict();
|
|
7423
|
-
var
|
|
7424
|
-
var
|
|
7438
|
+
var OrganizationUpdateInputObjectSchema = makeSchema447();
|
|
7439
|
+
var OrganizationUpdateInputObjectZodSchema = makeSchema447();
|
|
7425
7440
|
|
|
7426
|
-
// src/generated/schemas/
|
|
7427
|
-
|
|
7428
|
-
var OrganizationUpdateOneZodSchema = z653.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), data: z653.union([OrganizationUpdateInputObjectSchema, OrganizationUncheckedUpdateInputObjectSchema]), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7441
|
+
// src/generated/schemas/objects/OrganizationUncheckedUpdateInput.schema.ts
|
|
7442
|
+
import * as z654 from "zod";
|
|
7429
7443
|
|
|
7430
|
-
// src/generated/schemas/
|
|
7431
|
-
import * as
|
|
7444
|
+
// src/generated/schemas/objects/WarehouseUncheckedUpdateManyWithoutOrganizationNestedInput.schema.ts
|
|
7445
|
+
import * as z653 from "zod";
|
|
7446
|
+
var makeSchema448 = () => z653.object({
|
|
7447
|
+
create: z653.union([z653.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema), z653.lazy(() => WarehouseCreateWithoutOrganizationInputObjectSchema).array(), z653.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema), z653.lazy(() => WarehouseUncheckedCreateWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7448
|
+
connectOrCreate: z653.union([z653.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema), z653.lazy(() => WarehouseCreateOrConnectWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7449
|
+
upsert: z653.union([z653.lazy(() => WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectSchema), z653.lazy(() => WarehouseUpsertWithWhereUniqueWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7450
|
+
createMany: z653.lazy(() => WarehouseCreateManyOrganizationInputEnvelopeObjectSchema).optional(),
|
|
7451
|
+
set: z653.union([z653.lazy(() => WarehouseWhereUniqueInputObjectSchema), z653.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional(),
|
|
7452
|
+
disconnect: z653.union([z653.lazy(() => WarehouseWhereUniqueInputObjectSchema), z653.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional(),
|
|
7453
|
+
delete: z653.union([z653.lazy(() => WarehouseWhereUniqueInputObjectSchema), z653.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional(),
|
|
7454
|
+
connect: z653.union([z653.lazy(() => WarehouseWhereUniqueInputObjectSchema), z653.lazy(() => WarehouseWhereUniqueInputObjectSchema).array()]).optional(),
|
|
7455
|
+
update: z653.union([z653.lazy(() => WarehouseUpdateWithWhereUniqueWithoutOrganizationInputObjectSchema), z653.lazy(() => WarehouseUpdateWithWhereUniqueWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7456
|
+
updateMany: z653.union([z653.lazy(() => WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectSchema), z653.lazy(() => WarehouseUpdateManyWithWhereWithoutOrganizationInputObjectSchema).array()]).optional(),
|
|
7457
|
+
deleteMany: z653.union([z653.lazy(() => WarehouseScalarWhereInputObjectSchema), z653.lazy(() => WarehouseScalarWhereInputObjectSchema).array()]).optional()
|
|
7458
|
+
}).strict();
|
|
7459
|
+
var WarehouseUncheckedUpdateManyWithoutOrganizationNestedInputObjectSchema = makeSchema448();
|
|
7460
|
+
var WarehouseUncheckedUpdateManyWithoutOrganizationNestedInputObjectZodSchema = makeSchema448();
|
|
7432
7461
|
|
|
7433
|
-
// src/generated/schemas/objects/
|
|
7434
|
-
import * as z654 from "zod";
|
|
7462
|
+
// src/generated/schemas/objects/OrganizationUncheckedUpdateInput.schema.ts
|
|
7435
7463
|
var makeSchema449 = () => z654.object({
|
|
7464
|
+
id: z654.union([z654.number().int(), z654.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7436
7465
|
name: z654.union([z654.string(), z654.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7437
7466
|
website: z654.union([z654.string(), z654.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
7438
|
-
updatedAt: z654.union([z654.coerce.date(), z654.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
|
7467
|
+
updatedAt: z654.union([z654.coerce.date(), z654.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7468
|
+
warehouses: z654.lazy(() => WarehouseUncheckedUpdateManyWithoutOrganizationNestedInputObjectSchema).optional()
|
|
7439
7469
|
}).strict();
|
|
7440
|
-
var
|
|
7441
|
-
var
|
|
7470
|
+
var OrganizationUncheckedUpdateInputObjectSchema = makeSchema449();
|
|
7471
|
+
var OrganizationUncheckedUpdateInputObjectZodSchema = makeSchema449();
|
|
7472
|
+
|
|
7473
|
+
// src/generated/schemas/updateOneOrganization.schema.ts
|
|
7474
|
+
var OrganizationUpdateOneSchema = z655.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), data: z655.union([OrganizationUpdateInputObjectSchema, OrganizationUncheckedUpdateInputObjectSchema]), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7475
|
+
var OrganizationUpdateOneZodSchema = z655.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), data: z655.union([OrganizationUpdateInputObjectSchema, OrganizationUncheckedUpdateInputObjectSchema]), where: OrganizationWhereUniqueInputObjectSchema }).strict();
|
|
7442
7476
|
|
|
7443
7477
|
// src/generated/schemas/updateManyOrganization.schema.ts
|
|
7444
|
-
|
|
7445
|
-
var OrganizationUpdateManyZodSchema = z655.object({ data: OrganizationUpdateManyMutationInputObjectSchema, where: OrganizationWhereInputObjectSchema.optional() }).strict();
|
|
7478
|
+
import * as z657 from "zod";
|
|
7446
7479
|
|
|
7447
|
-
// src/generated/schemas/
|
|
7480
|
+
// src/generated/schemas/objects/OrganizationUpdateManyMutationInput.schema.ts
|
|
7448
7481
|
import * as z656 from "zod";
|
|
7449
|
-
var
|
|
7450
|
-
|
|
7482
|
+
var makeSchema450 = () => z656.object({
|
|
7483
|
+
name: z656.union([z656.string(), z656.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
7484
|
+
website: z656.union([z656.string(), z656.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
7485
|
+
updatedAt: z656.union([z656.coerce.date(), z656.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
|
7486
|
+
}).strict();
|
|
7487
|
+
var OrganizationUpdateManyMutationInputObjectSchema = makeSchema450();
|
|
7488
|
+
var OrganizationUpdateManyMutationInputObjectZodSchema = makeSchema450();
|
|
7489
|
+
|
|
7490
|
+
// src/generated/schemas/updateManyOrganization.schema.ts
|
|
7491
|
+
var OrganizationUpdateManySchema = z657.object({ data: OrganizationUpdateManyMutationInputObjectSchema, where: OrganizationWhereInputObjectSchema.optional() }).strict();
|
|
7492
|
+
var OrganizationUpdateManyZodSchema = z657.object({ data: OrganizationUpdateManyMutationInputObjectSchema, where: OrganizationWhereInputObjectSchema.optional() }).strict();
|
|
7493
|
+
|
|
7494
|
+
// src/generated/schemas/updateManyAndReturnOrganization.schema.ts
|
|
7495
|
+
import * as z658 from "zod";
|
|
7496
|
+
var OrganizationUpdateManyAndReturnSchema = z658.object({ select: OrganizationSelectObjectSchema.optional(), data: OrganizationUpdateManyMutationInputObjectSchema, where: OrganizationWhereInputObjectSchema.optional() }).strict();
|
|
7497
|
+
var OrganizationUpdateManyAndReturnZodSchema = z658.object({ select: OrganizationSelectObjectSchema.optional(), data: OrganizationUpdateManyMutationInputObjectSchema, where: OrganizationWhereInputObjectSchema.optional() }).strict();
|
|
7451
7498
|
|
|
7452
7499
|
// src/generated/schemas/upsertOneOrganization.schema.ts
|
|
7453
|
-
import * as
|
|
7454
|
-
var OrganizationUpsertOneSchema =
|
|
7455
|
-
var OrganizationUpsertOneZodSchema =
|
|
7500
|
+
import * as z659 from "zod";
|
|
7501
|
+
var OrganizationUpsertOneSchema = z659.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema, create: z659.union([OrganizationCreateInputObjectSchema, OrganizationUncheckedCreateInputObjectSchema]), update: z659.union([OrganizationUpdateInputObjectSchema, OrganizationUncheckedUpdateInputObjectSchema]) }).strict();
|
|
7502
|
+
var OrganizationUpsertOneZodSchema = z659.object({ select: OrganizationSelectObjectSchema.optional(), include: OrganizationIncludeObjectSchema.optional(), where: OrganizationWhereUniqueInputObjectSchema, create: z659.union([OrganizationCreateInputObjectSchema, OrganizationUncheckedCreateInputObjectSchema]), update: z659.union([OrganizationUpdateInputObjectSchema, OrganizationUncheckedUpdateInputObjectSchema]) }).strict();
|
|
7456
7503
|
|
|
7457
7504
|
// src/generated/schemas/aggregateOrganization.schema.ts
|
|
7458
|
-
import * as
|
|
7505
|
+
import * as z664 from "zod";
|
|
7459
7506
|
|
|
7460
7507
|
// src/generated/schemas/objects/OrganizationMinAggregateInput.schema.ts
|
|
7461
|
-
import * as
|
|
7462
|
-
var
|
|
7463
|
-
id:
|
|
7464
|
-
name:
|
|
7465
|
-
website:
|
|
7466
|
-
updatedAt:
|
|
7508
|
+
import * as z660 from "zod";
|
|
7509
|
+
var makeSchema451 = () => z660.object({
|
|
7510
|
+
id: z660.literal(true).optional(),
|
|
7511
|
+
name: z660.literal(true).optional(),
|
|
7512
|
+
website: z660.literal(true).optional(),
|
|
7513
|
+
updatedAt: z660.literal(true).optional()
|
|
7467
7514
|
}).strict();
|
|
7468
|
-
var OrganizationMinAggregateInputObjectSchema =
|
|
7469
|
-
var OrganizationMinAggregateInputObjectZodSchema =
|
|
7515
|
+
var OrganizationMinAggregateInputObjectSchema = makeSchema451();
|
|
7516
|
+
var OrganizationMinAggregateInputObjectZodSchema = makeSchema451();
|
|
7470
7517
|
|
|
7471
7518
|
// src/generated/schemas/objects/OrganizationMaxAggregateInput.schema.ts
|
|
7472
|
-
import * as
|
|
7473
|
-
var
|
|
7474
|
-
id:
|
|
7475
|
-
name:
|
|
7476
|
-
website:
|
|
7477
|
-
updatedAt:
|
|
7519
|
+
import * as z661 from "zod";
|
|
7520
|
+
var makeSchema452 = () => z661.object({
|
|
7521
|
+
id: z661.literal(true).optional(),
|
|
7522
|
+
name: z661.literal(true).optional(),
|
|
7523
|
+
website: z661.literal(true).optional(),
|
|
7524
|
+
updatedAt: z661.literal(true).optional()
|
|
7478
7525
|
}).strict();
|
|
7479
|
-
var OrganizationMaxAggregateInputObjectSchema =
|
|
7480
|
-
var OrganizationMaxAggregateInputObjectZodSchema =
|
|
7526
|
+
var OrganizationMaxAggregateInputObjectSchema = makeSchema452();
|
|
7527
|
+
var OrganizationMaxAggregateInputObjectZodSchema = makeSchema452();
|
|
7481
7528
|
|
|
7482
7529
|
// src/generated/schemas/objects/OrganizationAvgAggregateInput.schema.ts
|
|
7483
|
-
import * as
|
|
7484
|
-
var
|
|
7485
|
-
id:
|
|
7530
|
+
import * as z662 from "zod";
|
|
7531
|
+
var makeSchema453 = () => z662.object({
|
|
7532
|
+
id: z662.literal(true).optional()
|
|
7486
7533
|
}).strict();
|
|
7487
|
-
var OrganizationAvgAggregateInputObjectSchema =
|
|
7488
|
-
var OrganizationAvgAggregateInputObjectZodSchema =
|
|
7534
|
+
var OrganizationAvgAggregateInputObjectSchema = makeSchema453();
|
|
7535
|
+
var OrganizationAvgAggregateInputObjectZodSchema = makeSchema453();
|
|
7489
7536
|
|
|
7490
7537
|
// src/generated/schemas/objects/OrganizationSumAggregateInput.schema.ts
|
|
7491
|
-
import * as
|
|
7492
|
-
var
|
|
7493
|
-
id:
|
|
7538
|
+
import * as z663 from "zod";
|
|
7539
|
+
var makeSchema454 = () => z663.object({
|
|
7540
|
+
id: z663.literal(true).optional()
|
|
7494
7541
|
}).strict();
|
|
7495
|
-
var OrganizationSumAggregateInputObjectSchema =
|
|
7496
|
-
var OrganizationSumAggregateInputObjectZodSchema =
|
|
7542
|
+
var OrganizationSumAggregateInputObjectSchema = makeSchema454();
|
|
7543
|
+
var OrganizationSumAggregateInputObjectZodSchema = makeSchema454();
|
|
7497
7544
|
|
|
7498
7545
|
// src/generated/schemas/aggregateOrganization.schema.ts
|
|
7499
|
-
var OrganizationAggregateSchema =
|
|
7500
|
-
var OrganizationAggregateZodSchema =
|
|
7546
|
+
var OrganizationAggregateSchema = z664.object({ orderBy: z664.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z664.number().optional(), skip: z664.number().optional(), _count: z664.union([z664.literal(true), OrganizationCountAggregateInputObjectSchema]).optional(), _min: OrganizationMinAggregateInputObjectSchema.optional(), _max: OrganizationMaxAggregateInputObjectSchema.optional(), _avg: OrganizationAvgAggregateInputObjectSchema.optional(), _sum: OrganizationSumAggregateInputObjectSchema.optional() }).strict();
|
|
7547
|
+
var OrganizationAggregateZodSchema = z664.object({ orderBy: z664.union([OrganizationOrderByWithRelationInputObjectSchema, OrganizationOrderByWithRelationInputObjectSchema.array()]).optional(), where: OrganizationWhereInputObjectSchema.optional(), cursor: OrganizationWhereUniqueInputObjectSchema.optional(), take: z664.number().optional(), skip: z664.number().optional(), _count: z664.union([z664.literal(true), OrganizationCountAggregateInputObjectSchema]).optional(), _min: OrganizationMinAggregateInputObjectSchema.optional(), _max: OrganizationMaxAggregateInputObjectSchema.optional(), _avg: OrganizationAvgAggregateInputObjectSchema.optional(), _sum: OrganizationSumAggregateInputObjectSchema.optional() }).strict();
|
|
7501
7548
|
|
|
7502
7549
|
// src/generated/schemas/groupByOrganization.schema.ts
|
|
7503
7550
|
import * as z672 from "zod";
|
|
7504
7551
|
|
|
7505
7552
|
// src/generated/schemas/objects/OrganizationOrderByWithAggregationInput.schema.ts
|
|
7506
|
-
import * as
|
|
7553
|
+
import * as z670 from "zod";
|
|
7507
7554
|
|
|
7508
7555
|
// src/generated/schemas/objects/OrganizationCountOrderByAggregateInput.schema.ts
|
|
7509
|
-
import * as
|
|
7510
|
-
var
|
|
7556
|
+
import * as z665 from "zod";
|
|
7557
|
+
var makeSchema455 = () => z665.object({
|
|
7511
7558
|
id: SortOrderSchema.optional(),
|
|
7512
7559
|
name: SortOrderSchema.optional(),
|
|
7513
7560
|
website: SortOrderSchema.optional(),
|
|
7514
7561
|
updatedAt: SortOrderSchema.optional()
|
|
7515
7562
|
}).strict();
|
|
7516
|
-
var OrganizationCountOrderByAggregateInputObjectSchema =
|
|
7517
|
-
var OrganizationCountOrderByAggregateInputObjectZodSchema =
|
|
7563
|
+
var OrganizationCountOrderByAggregateInputObjectSchema = makeSchema455();
|
|
7564
|
+
var OrganizationCountOrderByAggregateInputObjectZodSchema = makeSchema455();
|
|
7518
7565
|
|
|
7519
7566
|
// src/generated/schemas/objects/OrganizationAvgOrderByAggregateInput.schema.ts
|
|
7520
|
-
import * as
|
|
7521
|
-
var
|
|
7567
|
+
import * as z666 from "zod";
|
|
7568
|
+
var makeSchema456 = () => z666.object({
|
|
7522
7569
|
id: SortOrderSchema.optional()
|
|
7523
7570
|
}).strict();
|
|
7524
|
-
var OrganizationAvgOrderByAggregateInputObjectSchema =
|
|
7525
|
-
var OrganizationAvgOrderByAggregateInputObjectZodSchema =
|
|
7571
|
+
var OrganizationAvgOrderByAggregateInputObjectSchema = makeSchema456();
|
|
7572
|
+
var OrganizationAvgOrderByAggregateInputObjectZodSchema = makeSchema456();
|
|
7526
7573
|
|
|
7527
7574
|
// src/generated/schemas/objects/OrganizationMaxOrderByAggregateInput.schema.ts
|
|
7528
|
-
import * as
|
|
7529
|
-
var
|
|
7575
|
+
import * as z667 from "zod";
|
|
7576
|
+
var makeSchema457 = () => z667.object({
|
|
7530
7577
|
id: SortOrderSchema.optional(),
|
|
7531
7578
|
name: SortOrderSchema.optional(),
|
|
7532
7579
|
website: SortOrderSchema.optional(),
|
|
7533
7580
|
updatedAt: SortOrderSchema.optional()
|
|
7534
7581
|
}).strict();
|
|
7535
|
-
var OrganizationMaxOrderByAggregateInputObjectSchema =
|
|
7536
|
-
var OrganizationMaxOrderByAggregateInputObjectZodSchema =
|
|
7582
|
+
var OrganizationMaxOrderByAggregateInputObjectSchema = makeSchema457();
|
|
7583
|
+
var OrganizationMaxOrderByAggregateInputObjectZodSchema = makeSchema457();
|
|
7537
7584
|
|
|
7538
7585
|
// src/generated/schemas/objects/OrganizationMinOrderByAggregateInput.schema.ts
|
|
7539
|
-
import * as
|
|
7540
|
-
var
|
|
7586
|
+
import * as z668 from "zod";
|
|
7587
|
+
var makeSchema458 = () => z668.object({
|
|
7541
7588
|
id: SortOrderSchema.optional(),
|
|
7542
7589
|
name: SortOrderSchema.optional(),
|
|
7543
7590
|
website: SortOrderSchema.optional(),
|
|
7544
7591
|
updatedAt: SortOrderSchema.optional()
|
|
7545
7592
|
}).strict();
|
|
7546
|
-
var OrganizationMinOrderByAggregateInputObjectSchema =
|
|
7547
|
-
var OrganizationMinOrderByAggregateInputObjectZodSchema =
|
|
7593
|
+
var OrganizationMinOrderByAggregateInputObjectSchema = makeSchema458();
|
|
7594
|
+
var OrganizationMinOrderByAggregateInputObjectZodSchema = makeSchema458();
|
|
7548
7595
|
|
|
7549
7596
|
// src/generated/schemas/objects/OrganizationSumOrderByAggregateInput.schema.ts
|
|
7550
|
-
import * as
|
|
7551
|
-
var
|
|
7597
|
+
import * as z669 from "zod";
|
|
7598
|
+
var makeSchema459 = () => z669.object({
|
|
7552
7599
|
id: SortOrderSchema.optional()
|
|
7553
7600
|
}).strict();
|
|
7554
|
-
var OrganizationSumOrderByAggregateInputObjectSchema =
|
|
7555
|
-
var OrganizationSumOrderByAggregateInputObjectZodSchema =
|
|
7601
|
+
var OrganizationSumOrderByAggregateInputObjectSchema = makeSchema459();
|
|
7602
|
+
var OrganizationSumOrderByAggregateInputObjectZodSchema = makeSchema459();
|
|
7556
7603
|
|
|
7557
7604
|
// src/generated/schemas/objects/OrganizationOrderByWithAggregationInput.schema.ts
|
|
7558
|
-
var
|
|
7605
|
+
var makeSchema460 = () => z670.object({
|
|
7559
7606
|
id: SortOrderSchema.optional(),
|
|
7560
7607
|
name: SortOrderSchema.optional(),
|
|
7561
|
-
website:
|
|
7608
|
+
website: z670.union([SortOrderSchema, z670.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
|
7562
7609
|
updatedAt: SortOrderSchema.optional(),
|
|
7563
|
-
_count:
|
|
7564
|
-
_avg:
|
|
7565
|
-
_max:
|
|
7566
|
-
_min:
|
|
7567
|
-
_sum:
|
|
7610
|
+
_count: z670.lazy(() => OrganizationCountOrderByAggregateInputObjectSchema).optional(),
|
|
7611
|
+
_avg: z670.lazy(() => OrganizationAvgOrderByAggregateInputObjectSchema).optional(),
|
|
7612
|
+
_max: z670.lazy(() => OrganizationMaxOrderByAggregateInputObjectSchema).optional(),
|
|
7613
|
+
_min: z670.lazy(() => OrganizationMinOrderByAggregateInputObjectSchema).optional(),
|
|
7614
|
+
_sum: z670.lazy(() => OrganizationSumOrderByAggregateInputObjectSchema).optional()
|
|
7568
7615
|
}).strict();
|
|
7569
|
-
var OrganizationOrderByWithAggregationInputObjectSchema =
|
|
7570
|
-
var OrganizationOrderByWithAggregationInputObjectZodSchema =
|
|
7616
|
+
var OrganizationOrderByWithAggregationInputObjectSchema = makeSchema460();
|
|
7617
|
+
var OrganizationOrderByWithAggregationInputObjectZodSchema = makeSchema460();
|
|
7571
7618
|
|
|
7572
7619
|
// src/generated/schemas/objects/OrganizationScalarWhereWithAggregatesInput.schema.ts
|
|
7573
7620
|
import * as z671 from "zod";
|
|
7574
|
-
|
|
7575
|
-
// src/generated/schemas/objects/StringNullableWithAggregatesFilter.schema.ts
|
|
7576
|
-
import * as z670 from "zod";
|
|
7577
|
-
|
|
7578
|
-
// src/generated/schemas/objects/NestedStringNullableWithAggregatesFilter.schema.ts
|
|
7579
|
-
import * as z669 from "zod";
|
|
7580
|
-
var nestedstringnullablewithaggregatesfilterSchema = z669.object({
|
|
7581
|
-
equals: z669.string().optional().nullable(),
|
|
7582
|
-
in: z669.string().array().optional().nullable(),
|
|
7583
|
-
notIn: z669.string().array().optional().nullable(),
|
|
7584
|
-
lt: z669.string().optional(),
|
|
7585
|
-
lte: z669.string().optional(),
|
|
7586
|
-
gt: z669.string().optional(),
|
|
7587
|
-
gte: z669.string().optional(),
|
|
7588
|
-
contains: z669.string().optional(),
|
|
7589
|
-
startsWith: z669.string().optional(),
|
|
7590
|
-
endsWith: z669.string().optional(),
|
|
7591
|
-
not: z669.union([z669.string(), z669.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
|
|
7592
|
-
_count: z669.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
|
|
7593
|
-
_min: z669.lazy(() => NestedStringNullableFilterObjectSchema).optional(),
|
|
7594
|
-
_max: z669.lazy(() => NestedStringNullableFilterObjectSchema).optional()
|
|
7595
|
-
}).strict();
|
|
7596
|
-
var NestedStringNullableWithAggregatesFilterObjectSchema = nestedstringnullablewithaggregatesfilterSchema;
|
|
7597
|
-
var NestedStringNullableWithAggregatesFilterObjectZodSchema = nestedstringnullablewithaggregatesfilterSchema;
|
|
7598
|
-
|
|
7599
|
-
// src/generated/schemas/objects/StringNullableWithAggregatesFilter.schema.ts
|
|
7600
|
-
var makeSchema460 = () => z670.object({
|
|
7601
|
-
equals: z670.string().optional().nullable(),
|
|
7602
|
-
in: z670.string().array().optional().nullable(),
|
|
7603
|
-
notIn: z670.string().array().optional().nullable(),
|
|
7604
|
-
lt: z670.string().optional(),
|
|
7605
|
-
lte: z670.string().optional(),
|
|
7606
|
-
gt: z670.string().optional(),
|
|
7607
|
-
gte: z670.string().optional(),
|
|
7608
|
-
contains: z670.string().optional(),
|
|
7609
|
-
startsWith: z670.string().optional(),
|
|
7610
|
-
endsWith: z670.string().optional(),
|
|
7611
|
-
mode: QueryModeSchema.optional(),
|
|
7612
|
-
not: z670.union([z670.string(), z670.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
|
|
7613
|
-
_count: z670.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
|
|
7614
|
-
_min: z670.lazy(() => NestedStringNullableFilterObjectSchema).optional(),
|
|
7615
|
-
_max: z670.lazy(() => NestedStringNullableFilterObjectSchema).optional()
|
|
7616
|
-
}).strict();
|
|
7617
|
-
var StringNullableWithAggregatesFilterObjectSchema = makeSchema460();
|
|
7618
|
-
var StringNullableWithAggregatesFilterObjectZodSchema = makeSchema460();
|
|
7619
|
-
|
|
7620
|
-
// src/generated/schemas/objects/OrganizationScalarWhereWithAggregatesInput.schema.ts
|
|
7621
7621
|
var organizationscalarwherewithaggregatesinputSchema = z671.object({
|
|
7622
7622
|
AND: z671.union([z671.lazy(() => OrganizationScalarWhereWithAggregatesInputObjectSchema), z671.lazy(() => OrganizationScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
|
7623
7623
|
OR: z671.lazy(() => OrganizationScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
|
@@ -9071,7 +9071,7 @@ import * as z784 from "zod";
|
|
|
9071
9071
|
var CountryFindUniqueResultSchema = z784.nullable(z784.object({
|
|
9072
9072
|
id: z784.number().int(),
|
|
9073
9073
|
code: z784.string(),
|
|
9074
|
-
name: z784.string(),
|
|
9074
|
+
name: z784.string().optional(),
|
|
9075
9075
|
updatedAt: z784.date(),
|
|
9076
9076
|
localities: z784.array(z784.unknown())
|
|
9077
9077
|
}));
|
|
@@ -9081,7 +9081,7 @@ import * as z785 from "zod";
|
|
|
9081
9081
|
var CountryFindFirstResultSchema = z785.nullable(z785.object({
|
|
9082
9082
|
id: z785.number().int(),
|
|
9083
9083
|
code: z785.string(),
|
|
9084
|
-
name: z785.string(),
|
|
9084
|
+
name: z785.string().optional(),
|
|
9085
9085
|
updatedAt: z785.date(),
|
|
9086
9086
|
localities: z785.array(z785.unknown())
|
|
9087
9087
|
}));
|
|
@@ -9092,7 +9092,7 @@ var CountryFindManyResultSchema = z786.object({
|
|
|
9092
9092
|
data: z786.array(z786.object({
|
|
9093
9093
|
id: z786.number().int(),
|
|
9094
9094
|
code: z786.string(),
|
|
9095
|
-
name: z786.string(),
|
|
9095
|
+
name: z786.string().optional(),
|
|
9096
9096
|
updatedAt: z786.date(),
|
|
9097
9097
|
localities: z786.array(z786.unknown())
|
|
9098
9098
|
})),
|
|
@@ -9111,7 +9111,7 @@ import * as z787 from "zod";
|
|
|
9111
9111
|
var CountryCreateResultSchema = z787.object({
|
|
9112
9112
|
id: z787.number().int(),
|
|
9113
9113
|
code: z787.string(),
|
|
9114
|
-
name: z787.string(),
|
|
9114
|
+
name: z787.string().optional(),
|
|
9115
9115
|
updatedAt: z787.date(),
|
|
9116
9116
|
localities: z787.array(z787.unknown())
|
|
9117
9117
|
});
|
|
@@ -9127,7 +9127,7 @@ import * as z789 from "zod";
|
|
|
9127
9127
|
var CountryUpdateResultSchema = z789.nullable(z789.object({
|
|
9128
9128
|
id: z789.number().int(),
|
|
9129
9129
|
code: z789.string(),
|
|
9130
|
-
name: z789.string(),
|
|
9130
|
+
name: z789.string().optional(),
|
|
9131
9131
|
updatedAt: z789.date(),
|
|
9132
9132
|
localities: z789.array(z789.unknown())
|
|
9133
9133
|
}));
|
|
@@ -9143,7 +9143,7 @@ import * as z791 from "zod";
|
|
|
9143
9143
|
var CountryUpsertResultSchema = z791.object({
|
|
9144
9144
|
id: z791.number().int(),
|
|
9145
9145
|
code: z791.string(),
|
|
9146
|
-
name: z791.string(),
|
|
9146
|
+
name: z791.string().optional(),
|
|
9147
9147
|
updatedAt: z791.date(),
|
|
9148
9148
|
localities: z791.array(z791.unknown())
|
|
9149
9149
|
});
|
|
@@ -9153,7 +9153,7 @@ import * as z792 from "zod";
|
|
|
9153
9153
|
var CountryDeleteResultSchema = z792.nullable(z792.object({
|
|
9154
9154
|
id: z792.number().int(),
|
|
9155
9155
|
code: z792.string(),
|
|
9156
|
-
name: z792.string(),
|
|
9156
|
+
name: z792.string().optional(),
|
|
9157
9157
|
updatedAt: z792.date(),
|
|
9158
9158
|
localities: z792.array(z792.unknown())
|
|
9159
9159
|
}));
|
|
@@ -9816,7 +9816,7 @@ import * as z836 from "zod";
|
|
|
9816
9816
|
var makeSchema477 = () => z836.object({
|
|
9817
9817
|
id: z836.union([z836.number().int(), z836.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
9818
9818
|
code: z836.union([z836.string().max(2), z836.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
|
9819
|
-
name: z836.union([z836.string(), z836.lazy(() =>
|
|
9819
|
+
name: z836.union([z836.string(), z836.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
|
9820
9820
|
updatedAt: z836.union([z836.coerce.date(), z836.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
|
9821
9821
|
}).strict();
|
|
9822
9822
|
var CountryUncheckedUpdateManyInputObjectSchema = makeSchema477();
|
|
@@ -10022,7 +10022,7 @@ import * as z855 from "zod";
|
|
|
10022
10022
|
var CountryModelSchema = z855.object({
|
|
10023
10023
|
id: z855.number().int(),
|
|
10024
10024
|
code: z855.string(),
|
|
10025
|
-
name: z855.string(),
|
|
10025
|
+
name: z855.string().nullable(),
|
|
10026
10026
|
updatedAt: z855.date(),
|
|
10027
10027
|
localities: z855.array(z855.unknown())
|
|
10028
10028
|
}).strict();
|
|
@@ -10133,7 +10133,7 @@ import * as z865 from "zod";
|
|
|
10133
10133
|
var CountryInputSchema = z865.object({
|
|
10134
10134
|
id: z865.number().int(),
|
|
10135
10135
|
code: z865.string(),
|
|
10136
|
-
name: z865.string(),
|
|
10136
|
+
name: z865.string().optional().nullable(),
|
|
10137
10137
|
updatedAt: z865.date(),
|
|
10138
10138
|
localities: z865.array(z865.unknown())
|
|
10139
10139
|
}).strict();
|
|
@@ -10244,7 +10244,7 @@ import * as z875 from "zod";
|
|
|
10244
10244
|
var CountryResultSchema = z875.object({
|
|
10245
10245
|
id: z875.number().int(),
|
|
10246
10246
|
code: z875.string(),
|
|
10247
|
-
name: z875.string(),
|
|
10247
|
+
name: z875.string().nullable(),
|
|
10248
10248
|
updatedAt: z875.date(),
|
|
10249
10249
|
localities: z875.array(z875.unknown())
|
|
10250
10250
|
}).strict();
|
|
@@ -10331,7 +10331,7 @@ var LocalitySchema = LocalityModelSchema.omit({ warehouses: true, country: true
|
|
|
10331
10331
|
import { z as z883 } from "zod";
|
|
10332
10332
|
var CreateCountrySchema = z883.object({
|
|
10333
10333
|
code: z883.string().length(2),
|
|
10334
|
-
name: z883.string().min(1)
|
|
10334
|
+
name: z883.string().min(1).optional().nullable()
|
|
10335
10335
|
});
|
|
10336
10336
|
var CountrySchema = CountryModelSchema.omit({ localities: true }).extend({ updatedAt: z883.string() });
|
|
10337
10337
|
export {
|