@meerkapp/wms-contracts 0.2.0-beta.13 → 0.2.0-beta.14

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 CHANGED
@@ -1475,12 +1475,9 @@ __export(index_exports, {
1475
1475
  StringWithAggregatesFilterObjectSchema: () => StringWithAggregatesFilterObjectSchema,
1476
1476
  StringWithAggregatesFilterObjectZodSchema: () => StringWithAggregatesFilterObjectZodSchema,
1477
1477
  TransactionIsolationLevelSchema: () => TransactionIsolationLevelSchema,
1478
- UpdateEmployeeEmailSchema: () => UpdateEmployeeEmailSchema,
1479
- UpdateEmployeePasswordSchema: () => UpdateEmployeePasswordSchema,
1480
1478
  UpdateEmployeeSchema: () => UpdateEmployeeSchema,
1481
1479
  UpdateOrganizationSchema: () => UpdateOrganizationSchema,
1482
- UpdateOwnEmailSchema: () => UpdateOwnEmailSchema,
1483
- UpdateOwnPasswordSchema: () => UpdateOwnPasswordSchema,
1480
+ UpdateOwnProfileSchema: () => UpdateOwnProfileSchema,
1484
1481
  UpdateRoleSchema: () => UpdateRoleSchema,
1485
1482
  UpdateWarehouseSchema: () => UpdateWarehouseSchema,
1486
1483
  UuidFilterObjectSchema: () => UuidFilterObjectSchema,
@@ -1696,7 +1693,7 @@ var TransactionIsolationLevelSchema = z.enum(["ReadUncommitted", "ReadCommitted"
1696
1693
 
1697
1694
  // src/generated/schemas/enums/EmployeeScalarFieldEnum.schema.ts
1698
1695
  var z2 = __toESM(require("zod"), 1);
1699
- var EmployeeScalarFieldEnumSchema = z2.enum(["id", "email", "password", "firstName", "lastName", "warehouseId", "isActive", "lastSeen", "updatedAt"]);
1696
+ var EmployeeScalarFieldEnumSchema = z2.enum(["id", "email", "password", "firstName", "lastName", "phone", "warehouseId", "isActive", "lastSeen", "updatedAt"]);
1700
1697
 
1701
1698
  // src/generated/schemas/enums/EmployeeRoleScalarFieldEnum.schema.ts
1702
1699
  var z3 = __toESM(require("zod"), 1);
@@ -2262,7 +2259,7 @@ var employeerolewhereinputSchema = z45.object({
2262
2259
  NOT: z45.union([z45.lazy(() => EmployeeRoleWhereInputObjectSchema), z45.lazy(() => EmployeeRoleWhereInputObjectSchema).array()]).optional(),
2263
2260
  id: z45.union([z45.lazy(() => IntFilterObjectSchema), z45.number().int()]).optional(),
2264
2261
  name: z45.union([z45.lazy(() => StringFilterObjectSchema), z45.string()]).optional(),
2265
- color: z45.union([z45.lazy(() => StringNullableFilterObjectSchema), z45.string()]).optional().nullable(),
2262
+ color: z45.union([z45.lazy(() => StringFilterObjectSchema), z45.string()]).optional(),
2266
2263
  updatedAt: z45.union([z45.lazy(() => DateTimeFilterObjectSchema), z45.coerce.date()]).optional(),
2267
2264
  assignments: z45.lazy(() => EmployeeRoleAssignmentListRelationFilterObjectSchema).optional(),
2268
2265
  permissions: z45.lazy(() => EmployeeRolePermissionListRelationFilterObjectSchema).optional()
@@ -2312,6 +2309,7 @@ var employeewhereinputSchema = z49.object({
2312
2309
  password: z49.union([z49.lazy(() => StringFilterObjectSchema), z49.string()]).optional(),
2313
2310
  firstName: z49.union([z49.lazy(() => StringFilterObjectSchema), z49.string()]).optional(),
2314
2311
  lastName: z49.union([z49.lazy(() => StringFilterObjectSchema), z49.string()]).optional(),
2312
+ phone: z49.union([z49.lazy(() => StringNullableFilterObjectSchema), z49.string()]).optional().nullable(),
2315
2313
  warehouseId: z49.union([z49.lazy(() => IntNullableFilterObjectSchema), z49.number().int()]).optional().nullable(),
2316
2314
  isActive: z49.union([z49.lazy(() => BoolFilterObjectSchema), z49.boolean()]).optional(),
2317
2315
  lastSeen: z49.union([z49.lazy(() => DateTimeNullableFilterObjectSchema), z49.coerce.date()]).optional().nullable(),
@@ -2671,7 +2669,7 @@ var EmployeeRolePermissionOrderByRelationAggregateInputObjectZodSchema = makeSch
2671
2669
  var makeSchema49 = () => z81.object({
2672
2670
  id: SortOrderSchema.optional(),
2673
2671
  name: SortOrderSchema.optional(),
2674
- color: z81.union([SortOrderSchema, z81.lazy(() => SortOrderInputObjectSchema)]).optional(),
2672
+ color: SortOrderSchema.optional(),
2675
2673
  updatedAt: SortOrderSchema.optional(),
2676
2674
  assignments: z81.lazy(() => EmployeeRoleAssignmentOrderByRelationAggregateInputObjectSchema).optional(),
2677
2675
  permissions: z81.lazy(() => EmployeeRolePermissionOrderByRelationAggregateInputObjectSchema).optional()
@@ -2870,6 +2868,7 @@ var makeSchema65 = () => z98.object({
2870
2868
  password: SortOrderSchema.optional(),
2871
2869
  firstName: SortOrderSchema.optional(),
2872
2870
  lastName: SortOrderSchema.optional(),
2871
+ phone: z98.union([SortOrderSchema, z98.lazy(() => SortOrderInputObjectSchema)]).optional(),
2873
2872
  warehouseId: z98.union([SortOrderSchema, z98.lazy(() => SortOrderInputObjectSchema)]).optional(),
2874
2873
  isActive: SortOrderSchema.optional(),
2875
2874
  lastSeen: z98.union([SortOrderSchema, z98.lazy(() => SortOrderInputObjectSchema)]).optional(),
@@ -2985,6 +2984,7 @@ var EmployeeFindManySelectSchema = z108.object({
2985
2984
  password: z108.boolean().optional(),
2986
2985
  firstName: z108.boolean().optional(),
2987
2986
  lastName: z108.boolean().optional(),
2987
+ phone: z108.boolean().optional(),
2988
2988
  warehouseId: z108.boolean().optional(),
2989
2989
  isActive: z108.boolean().optional(),
2990
2990
  lastSeen: z108.boolean().optional(),
@@ -2999,6 +2999,7 @@ var EmployeeFindManySelectZodSchema = z108.object({
2999
2999
  password: z108.boolean().optional(),
3000
3000
  firstName: z108.boolean().optional(),
3001
3001
  lastName: z108.boolean().optional(),
3002
+ phone: z108.boolean().optional(),
3002
3003
  warehouseId: z108.boolean().optional(),
3003
3004
  isActive: z108.boolean().optional(),
3004
3005
  lastSeen: z108.boolean().optional(),
@@ -3176,6 +3177,7 @@ var makeSchema87 = () => z123.object({
3176
3177
  password: z123.boolean().optional(),
3177
3178
  firstName: z123.boolean().optional(),
3178
3179
  lastName: z123.boolean().optional(),
3180
+ phone: z123.boolean().optional(),
3179
3181
  warehouseId: z123.boolean().optional(),
3180
3182
  isActive: z123.boolean().optional(),
3181
3183
  lastSeen: z123.boolean().optional(),
@@ -3204,6 +3206,7 @@ var EmployeeFindFirstSelectSchema = z126.object({
3204
3206
  password: z126.boolean().optional(),
3205
3207
  firstName: z126.boolean().optional(),
3206
3208
  lastName: z126.boolean().optional(),
3209
+ phone: z126.boolean().optional(),
3207
3210
  warehouseId: z126.boolean().optional(),
3208
3211
  isActive: z126.boolean().optional(),
3209
3212
  lastSeen: z126.boolean().optional(),
@@ -3218,6 +3221,7 @@ var EmployeeFindFirstSelectZodSchema = z126.object({
3218
3221
  password: z126.boolean().optional(),
3219
3222
  firstName: z126.boolean().optional(),
3220
3223
  lastName: z126.boolean().optional(),
3224
+ phone: z126.boolean().optional(),
3221
3225
  warehouseId: z126.boolean().optional(),
3222
3226
  isActive: z126.boolean().optional(),
3223
3227
  lastSeen: z126.boolean().optional(),
@@ -3237,6 +3241,7 @@ var EmployeeFindFirstOrThrowSelectSchema = z127.object({
3237
3241
  password: z127.boolean().optional(),
3238
3242
  firstName: z127.boolean().optional(),
3239
3243
  lastName: z127.boolean().optional(),
3244
+ phone: z127.boolean().optional(),
3240
3245
  warehouseId: z127.boolean().optional(),
3241
3246
  isActive: z127.boolean().optional(),
3242
3247
  lastSeen: z127.boolean().optional(),
@@ -3251,6 +3256,7 @@ var EmployeeFindFirstOrThrowSelectZodSchema = z127.object({
3251
3256
  password: z127.boolean().optional(),
3252
3257
  firstName: z127.boolean().optional(),
3253
3258
  lastName: z127.boolean().optional(),
3259
+ phone: z127.boolean().optional(),
3254
3260
  warehouseId: z127.boolean().optional(),
3255
3261
  isActive: z127.boolean().optional(),
3256
3262
  lastSeen: z127.boolean().optional(),
@@ -3273,6 +3279,7 @@ var makeSchema88 = () => z128.object({
3273
3279
  password: z128.literal(true).optional(),
3274
3280
  firstName: z128.literal(true).optional(),
3275
3281
  lastName: z128.literal(true).optional(),
3282
+ phone: z128.literal(true).optional(),
3276
3283
  warehouseId: z128.literal(true).optional(),
3277
3284
  isActive: z128.literal(true).optional(),
3278
3285
  lastSeen: z128.literal(true).optional(),
@@ -3621,7 +3628,7 @@ var EmployeeRolePermissionCreateNestedManyWithoutEmployeeRoleInputObjectZodSchem
3621
3628
  // src/generated/schemas/objects/EmployeeRoleCreateWithoutAssignmentsInput.schema.ts
3622
3629
  var makeSchema118 = () => z159.object({
3623
3630
  name: z159.string(),
3624
- color: z159.string().optional().nullable(),
3631
+ color: z159.string(),
3625
3632
  updatedAt: z159.coerce.date().optional(),
3626
3633
  permissions: z159.lazy(() => EmployeeRolePermissionCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional()
3627
3634
  }).strict();
@@ -3646,7 +3653,7 @@ var EmployeeRolePermissionUncheckedCreateNestedManyWithoutEmployeeRoleInputObjec
3646
3653
  var makeSchema120 = () => z161.object({
3647
3654
  id: z161.number().int().optional(),
3648
3655
  name: z161.string(),
3649
- color: z161.string().optional().nullable(),
3656
+ color: z161.string(),
3650
3657
  updatedAt: z161.coerce.date().optional(),
3651
3658
  permissions: z161.lazy(() => EmployeeRolePermissionUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional()
3652
3659
  }).strict();
@@ -3747,6 +3754,7 @@ var makeSchema130 = () => z171.object({
3747
3754
  password: z171.string(),
3748
3755
  firstName: z171.string(),
3749
3756
  lastName: z171.string(),
3757
+ phone: z171.string().optional().nullable(),
3750
3758
  isActive: z171.boolean().optional(),
3751
3759
  lastSeen: z171.coerce.date().optional().nullable(),
3752
3760
  warehouse: z171.lazy(() => WarehouseCreateNestedOneWithoutEmployeesInputObjectSchema).optional(),
@@ -3776,6 +3784,7 @@ var makeSchema132 = () => z173.object({
3776
3784
  password: z173.string(),
3777
3785
  firstName: z173.string(),
3778
3786
  lastName: z173.string(),
3787
+ phone: z173.string().optional().nullable(),
3779
3788
  warehouseId: z173.number().int().optional().nullable(),
3780
3789
  isActive: z173.boolean().optional(),
3781
3790
  lastSeen: z173.coerce.date().optional().nullable(),
@@ -3799,6 +3808,7 @@ var makeSchema133 = () => z175.object({
3799
3808
  password: z175.string(),
3800
3809
  firstName: z175.string(),
3801
3810
  lastName: z175.string(),
3811
+ phone: z175.string().optional().nullable(),
3802
3812
  warehouseId: z175.number().int().optional().nullable(),
3803
3813
  isActive: z175.boolean().optional(),
3804
3814
  lastSeen: z175.coerce.date().optional().nullable(),
@@ -3840,29 +3850,37 @@ var makeSchema134 = () => z180.object({
3840
3850
  var StringFieldUpdateOperationsInputObjectSchema = makeSchema134();
3841
3851
  var StringFieldUpdateOperationsInputObjectZodSchema = makeSchema134();
3842
3852
 
3843
- // src/generated/schemas/objects/BoolFieldUpdateOperationsInput.schema.ts
3853
+ // src/generated/schemas/objects/NullableStringFieldUpdateOperationsInput.schema.ts
3844
3854
  var z181 = __toESM(require("zod"), 1);
3845
3855
  var makeSchema135 = () => z181.object({
3846
- set: z181.boolean().optional()
3856
+ set: z181.string().optional()
3847
3857
  }).strict();
3848
- var BoolFieldUpdateOperationsInputObjectSchema = makeSchema135();
3849
- var BoolFieldUpdateOperationsInputObjectZodSchema = makeSchema135();
3858
+ var NullableStringFieldUpdateOperationsInputObjectSchema = makeSchema135();
3859
+ var NullableStringFieldUpdateOperationsInputObjectZodSchema = makeSchema135();
3850
3860
 
3851
- // src/generated/schemas/objects/NullableDateTimeFieldUpdateOperationsInput.schema.ts
3861
+ // src/generated/schemas/objects/BoolFieldUpdateOperationsInput.schema.ts
3852
3862
  var z182 = __toESM(require("zod"), 1);
3853
3863
  var makeSchema136 = () => z182.object({
3854
- set: z182.coerce.date().optional()
3864
+ set: z182.boolean().optional()
3855
3865
  }).strict();
3856
- var NullableDateTimeFieldUpdateOperationsInputObjectSchema = makeSchema136();
3857
- var NullableDateTimeFieldUpdateOperationsInputObjectZodSchema = makeSchema136();
3866
+ var BoolFieldUpdateOperationsInputObjectSchema = makeSchema136();
3867
+ var BoolFieldUpdateOperationsInputObjectZodSchema = makeSchema136();
3858
3868
 
3859
- // src/generated/schemas/objects/DateTimeFieldUpdateOperationsInput.schema.ts
3869
+ // src/generated/schemas/objects/NullableDateTimeFieldUpdateOperationsInput.schema.ts
3860
3870
  var z183 = __toESM(require("zod"), 1);
3861
3871
  var makeSchema137 = () => z183.object({
3862
3872
  set: z183.coerce.date().optional()
3863
3873
  }).strict();
3864
- var DateTimeFieldUpdateOperationsInputObjectSchema = makeSchema137();
3865
- var DateTimeFieldUpdateOperationsInputObjectZodSchema = makeSchema137();
3874
+ var NullableDateTimeFieldUpdateOperationsInputObjectSchema = makeSchema137();
3875
+ var NullableDateTimeFieldUpdateOperationsInputObjectZodSchema = makeSchema137();
3876
+
3877
+ // src/generated/schemas/objects/DateTimeFieldUpdateOperationsInput.schema.ts
3878
+ var z184 = __toESM(require("zod"), 1);
3879
+ var makeSchema138 = () => z184.object({
3880
+ set: z184.coerce.date().optional()
3881
+ }).strict();
3882
+ var DateTimeFieldUpdateOperationsInputObjectSchema = makeSchema138();
3883
+ var DateTimeFieldUpdateOperationsInputObjectZodSchema = makeSchema138();
3866
3884
 
3867
3885
  // src/generated/schemas/objects/WarehouseUpdateOneWithoutEmployeesNestedInput.schema.ts
3868
3886
  var z205 = __toESM(require("zod"), 1);
@@ -3873,14 +3891,6 @@ var z203 = __toESM(require("zod"), 1);
3873
3891
  // src/generated/schemas/objects/WarehouseUpdateWithoutEmployeesInput.schema.ts
3874
3892
  var z201 = __toESM(require("zod"), 1);
3875
3893
 
3876
- // src/generated/schemas/objects/NullableStringFieldUpdateOperationsInput.schema.ts
3877
- var z184 = __toESM(require("zod"), 1);
3878
- var makeSchema138 = () => z184.object({
3879
- set: z184.string().optional()
3880
- }).strict();
3881
- var NullableStringFieldUpdateOperationsInputObjectSchema = makeSchema138();
3882
- var NullableStringFieldUpdateOperationsInputObjectZodSchema = makeSchema138();
3883
-
3884
3894
  // src/generated/schemas/objects/OrganizationUpdateOneRequiredWithoutWarehousesNestedInput.schema.ts
3885
3895
  var z190 = __toESM(require("zod"), 1);
3886
3896
 
@@ -4302,7 +4312,7 @@ var EmployeeRolePermissionUpdateManyWithoutEmployeeRoleNestedInputObjectZodSchem
4302
4312
  // src/generated/schemas/objects/EmployeeRoleUpdateWithoutAssignmentsInput.schema.ts
4303
4313
  var makeSchema173 = () => z220.object({
4304
4314
  name: z220.union([z220.string(), z220.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4305
- color: z220.union([z220.string(), z220.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
4315
+ color: z220.union([z220.string(), z220.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4306
4316
  updatedAt: z220.union([z220.coerce.date(), z220.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
4307
4317
  permissions: z220.lazy(() => EmployeeRolePermissionUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional()
4308
4318
  }).strict();
@@ -4334,7 +4344,7 @@ var EmployeeRolePermissionUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjec
4334
4344
  var makeSchema175 = () => z222.object({
4335
4345
  id: z222.union([z222.number().int(), z222.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
4336
4346
  name: z222.union([z222.string(), z222.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4337
- color: z222.union([z222.string(), z222.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
4347
+ color: z222.union([z222.string(), z222.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4338
4348
  updatedAt: z222.union([z222.coerce.date(), z222.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
4339
4349
  permissions: z222.lazy(() => EmployeeRolePermissionUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional()
4340
4350
  }).strict();
@@ -4473,6 +4483,7 @@ var makeSchema187 = () => z235.object({
4473
4483
  password: z235.union([z235.string(), z235.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4474
4484
  firstName: z235.union([z235.string(), z235.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4475
4485
  lastName: z235.union([z235.string(), z235.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4486
+ phone: z235.union([z235.string(), z235.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
4476
4487
  isActive: z235.union([z235.boolean(), z235.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
4477
4488
  lastSeen: z235.union([z235.coerce.date(), z235.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
4478
4489
  updatedAt: z235.union([z235.coerce.date(), z235.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
@@ -4522,6 +4533,7 @@ var makeSchema190 = () => z238.object({
4522
4533
  password: z238.union([z238.string(), z238.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4523
4534
  firstName: z238.union([z238.string(), z238.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4524
4535
  lastName: z238.union([z238.string(), z238.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4536
+ phone: z238.union([z238.string(), z238.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
4525
4537
  warehouseId: z238.union([z238.number().int(), z238.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
4526
4538
  isActive: z238.union([z238.boolean(), z238.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
4527
4539
  lastSeen: z238.union([z238.coerce.date(), z238.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
@@ -4546,6 +4558,7 @@ var makeSchema191 = () => z240.object({
4546
4558
  password: z240.union([z240.string(), z240.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4547
4559
  firstName: z240.union([z240.string(), z240.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4548
4560
  lastName: z240.union([z240.string(), z240.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
4561
+ phone: z240.union([z240.string(), z240.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
4549
4562
  isActive: z240.union([z240.boolean(), z240.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
4550
4563
  lastSeen: z240.union([z240.coerce.date(), z240.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
4551
4564
  updatedAt: z240.union([z240.coerce.date(), z240.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
@@ -4578,6 +4591,7 @@ var makeSchema192 = () => z244.object({
4578
4591
  password: z244.literal(true).optional(),
4579
4592
  firstName: z244.literal(true).optional(),
4580
4593
  lastName: z244.literal(true).optional(),
4594
+ phone: z244.literal(true).optional(),
4581
4595
  warehouseId: z244.literal(true).optional(),
4582
4596
  isActive: z244.literal(true).optional(),
4583
4597
  lastSeen: z244.literal(true).optional(),
@@ -4594,6 +4608,7 @@ var makeSchema193 = () => z245.object({
4594
4608
  password: z245.literal(true).optional(),
4595
4609
  firstName: z245.literal(true).optional(),
4596
4610
  lastName: z245.literal(true).optional(),
4611
+ phone: z245.literal(true).optional(),
4597
4612
  warehouseId: z245.literal(true).optional(),
4598
4613
  isActive: z245.literal(true).optional(),
4599
4614
  lastSeen: z245.literal(true).optional(),
@@ -4623,7 +4638,7 @@ var EmployeeAggregateSchema = z248.object({ orderBy: z248.union([EmployeeOrderBy
4623
4638
  var EmployeeAggregateZodSchema = z248.object({ orderBy: z248.union([EmployeeOrderByWithRelationInputObjectSchema, EmployeeOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeWhereInputObjectSchema.optional(), cursor: EmployeeWhereUniqueInputObjectSchema.optional(), take: z248.number().optional(), skip: z248.number().optional(), _count: z248.union([z248.literal(true), EmployeeCountAggregateInputObjectSchema]).optional(), _min: EmployeeMinAggregateInputObjectSchema.optional(), _max: EmployeeMaxAggregateInputObjectSchema.optional(), _avg: EmployeeAvgAggregateInputObjectSchema.optional(), _sum: EmployeeSumAggregateInputObjectSchema.optional() }).strict();
4624
4639
 
4625
4640
  // src/generated/schemas/groupByEmployee.schema.ts
4626
- var z269 = __toESM(require("zod"), 1);
4641
+ var z271 = __toESM(require("zod"), 1);
4627
4642
 
4628
4643
  // src/generated/schemas/objects/EmployeeOrderByWithAggregationInput.schema.ts
4629
4644
  var z254 = __toESM(require("zod"), 1);
@@ -4636,6 +4651,7 @@ var makeSchema196 = () => z249.object({
4636
4651
  password: SortOrderSchema.optional(),
4637
4652
  firstName: SortOrderSchema.optional(),
4638
4653
  lastName: SortOrderSchema.optional(),
4654
+ phone: SortOrderSchema.optional(),
4639
4655
  warehouseId: SortOrderSchema.optional(),
4640
4656
  isActive: SortOrderSchema.optional(),
4641
4657
  lastSeen: SortOrderSchema.optional(),
@@ -4660,6 +4676,7 @@ var makeSchema198 = () => z251.object({
4660
4676
  password: SortOrderSchema.optional(),
4661
4677
  firstName: SortOrderSchema.optional(),
4662
4678
  lastName: SortOrderSchema.optional(),
4679
+ phone: SortOrderSchema.optional(),
4663
4680
  warehouseId: SortOrderSchema.optional(),
4664
4681
  isActive: SortOrderSchema.optional(),
4665
4682
  lastSeen: SortOrderSchema.optional(),
@@ -4676,6 +4693,7 @@ var makeSchema199 = () => z252.object({
4676
4693
  password: SortOrderSchema.optional(),
4677
4694
  firstName: SortOrderSchema.optional(),
4678
4695
  lastName: SortOrderSchema.optional(),
4696
+ phone: SortOrderSchema.optional(),
4679
4697
  warehouseId: SortOrderSchema.optional(),
4680
4698
  isActive: SortOrderSchema.optional(),
4681
4699
  lastSeen: SortOrderSchema.optional(),
@@ -4699,6 +4717,7 @@ var makeSchema201 = () => z254.object({
4699
4717
  password: SortOrderSchema.optional(),
4700
4718
  firstName: SortOrderSchema.optional(),
4701
4719
  lastName: SortOrderSchema.optional(),
4720
+ phone: z254.union([SortOrderSchema, z254.lazy(() => SortOrderInputObjectSchema)]).optional(),
4702
4721
  warehouseId: z254.union([SortOrderSchema, z254.lazy(() => SortOrderInputObjectSchema)]).optional(),
4703
4722
  isActive: SortOrderSchema.optional(),
4704
4723
  lastSeen: z254.union([SortOrderSchema, z254.lazy(() => SortOrderInputObjectSchema)]).optional(),
@@ -4713,7 +4732,7 @@ var EmployeeOrderByWithAggregationInputObjectSchema = makeSchema201();
4713
4732
  var EmployeeOrderByWithAggregationInputObjectZodSchema = makeSchema201();
4714
4733
 
4715
4734
  // src/generated/schemas/objects/EmployeeScalarWhereWithAggregatesInput.schema.ts
4716
- var z268 = __toESM(require("zod"), 1);
4735
+ var z270 = __toESM(require("zod"), 1);
4717
4736
 
4718
4737
  // src/generated/schemas/objects/UuidWithAggregatesFilter.schema.ts
4719
4738
  var z256 = __toESM(require("zod"), 1);
@@ -4799,248 +4818,248 @@ var makeSchema203 = () => z258.object({
4799
4818
  var StringWithAggregatesFilterObjectSchema = makeSchema203();
4800
4819
  var StringWithAggregatesFilterObjectZodSchema = makeSchema203();
4801
4820
 
4821
+ // src/generated/schemas/objects/StringNullableWithAggregatesFilter.schema.ts
4822
+ var z260 = __toESM(require("zod"), 1);
4823
+
4824
+ // src/generated/schemas/objects/NestedStringNullableWithAggregatesFilter.schema.ts
4825
+ var z259 = __toESM(require("zod"), 1);
4826
+ var nestedstringnullablewithaggregatesfilterSchema = z259.object({
4827
+ equals: z259.string().optional().nullable(),
4828
+ in: z259.string().array().optional().nullable(),
4829
+ notIn: z259.string().array().optional().nullable(),
4830
+ lt: z259.string().optional(),
4831
+ lte: z259.string().optional(),
4832
+ gt: z259.string().optional(),
4833
+ gte: z259.string().optional(),
4834
+ contains: z259.string().optional(),
4835
+ startsWith: z259.string().optional(),
4836
+ endsWith: z259.string().optional(),
4837
+ not: z259.union([z259.string(), z259.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4838
+ _count: z259.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4839
+ _min: z259.lazy(() => NestedStringNullableFilterObjectSchema).optional(),
4840
+ _max: z259.lazy(() => NestedStringNullableFilterObjectSchema).optional()
4841
+ }).strict();
4842
+ var NestedStringNullableWithAggregatesFilterObjectSchema = nestedstringnullablewithaggregatesfilterSchema;
4843
+ var NestedStringNullableWithAggregatesFilterObjectZodSchema = nestedstringnullablewithaggregatesfilterSchema;
4844
+
4845
+ // src/generated/schemas/objects/StringNullableWithAggregatesFilter.schema.ts
4846
+ var makeSchema204 = () => z260.object({
4847
+ equals: z260.string().optional().nullable(),
4848
+ in: z260.string().array().optional().nullable(),
4849
+ notIn: z260.string().array().optional().nullable(),
4850
+ lt: z260.string().optional(),
4851
+ lte: z260.string().optional(),
4852
+ gt: z260.string().optional(),
4853
+ gte: z260.string().optional(),
4854
+ contains: z260.string().optional(),
4855
+ startsWith: z260.string().optional(),
4856
+ endsWith: z260.string().optional(),
4857
+ mode: QueryModeSchema.optional(),
4858
+ not: z260.union([z260.string(), z260.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4859
+ _count: z260.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4860
+ _min: z260.lazy(() => NestedStringNullableFilterObjectSchema).optional(),
4861
+ _max: z260.lazy(() => NestedStringNullableFilterObjectSchema).optional()
4862
+ }).strict();
4863
+ var StringNullableWithAggregatesFilterObjectSchema = makeSchema204();
4864
+ var StringNullableWithAggregatesFilterObjectZodSchema = makeSchema204();
4865
+
4802
4866
  // src/generated/schemas/objects/IntNullableWithAggregatesFilter.schema.ts
4803
- var z261 = __toESM(require("zod"), 1);
4867
+ var z263 = __toESM(require("zod"), 1);
4804
4868
 
4805
4869
  // src/generated/schemas/objects/NestedIntNullableWithAggregatesFilter.schema.ts
4806
- var z260 = __toESM(require("zod"), 1);
4870
+ var z262 = __toESM(require("zod"), 1);
4807
4871
 
4808
4872
  // src/generated/schemas/objects/NestedFloatNullableFilter.schema.ts
4809
- var z259 = __toESM(require("zod"), 1);
4810
- var nestedfloatnullablefilterSchema = z259.object({
4811
- equals: z259.number().optional().nullable(),
4812
- in: z259.number().array().optional().nullable(),
4813
- notIn: z259.number().array().optional().nullable(),
4814
- lt: z259.number().optional(),
4815
- lte: z259.number().optional(),
4816
- gt: z259.number().optional(),
4817
- gte: z259.number().optional(),
4818
- not: z259.union([z259.number(), z259.lazy(() => NestedFloatNullableFilterObjectSchema)]).optional().nullable()
4873
+ var z261 = __toESM(require("zod"), 1);
4874
+ var nestedfloatnullablefilterSchema = z261.object({
4875
+ equals: z261.number().optional().nullable(),
4876
+ in: z261.number().array().optional().nullable(),
4877
+ notIn: z261.number().array().optional().nullable(),
4878
+ lt: z261.number().optional(),
4879
+ lte: z261.number().optional(),
4880
+ gt: z261.number().optional(),
4881
+ gte: z261.number().optional(),
4882
+ not: z261.union([z261.number(), z261.lazy(() => NestedFloatNullableFilterObjectSchema)]).optional().nullable()
4819
4883
  }).strict();
4820
4884
  var NestedFloatNullableFilterObjectSchema = nestedfloatnullablefilterSchema;
4821
4885
  var NestedFloatNullableFilterObjectZodSchema = nestedfloatnullablefilterSchema;
4822
4886
 
4823
4887
  // src/generated/schemas/objects/NestedIntNullableWithAggregatesFilter.schema.ts
4824
- var nestedintnullablewithaggregatesfilterSchema = z260.object({
4825
- equals: z260.number().int().optional().nullable(),
4826
- in: z260.number().int().array().optional().nullable(),
4827
- notIn: z260.number().int().array().optional().nullable(),
4828
- lt: z260.number().int().optional(),
4829
- lte: z260.number().int().optional(),
4830
- gt: z260.number().int().optional(),
4831
- gte: z260.number().int().optional(),
4832
- not: z260.union([z260.number().int(), z260.lazy(() => NestedIntNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4833
- _count: z260.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4834
- _avg: z260.lazy(() => NestedFloatNullableFilterObjectSchema).optional(),
4835
- _sum: z260.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4836
- _min: z260.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4837
- _max: z260.lazy(() => NestedIntNullableFilterObjectSchema).optional()
4888
+ var nestedintnullablewithaggregatesfilterSchema = z262.object({
4889
+ equals: z262.number().int().optional().nullable(),
4890
+ in: z262.number().int().array().optional().nullable(),
4891
+ notIn: z262.number().int().array().optional().nullable(),
4892
+ lt: z262.number().int().optional(),
4893
+ lte: z262.number().int().optional(),
4894
+ gt: z262.number().int().optional(),
4895
+ gte: z262.number().int().optional(),
4896
+ not: z262.union([z262.number().int(), z262.lazy(() => NestedIntNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4897
+ _count: z262.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4898
+ _avg: z262.lazy(() => NestedFloatNullableFilterObjectSchema).optional(),
4899
+ _sum: z262.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4900
+ _min: z262.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4901
+ _max: z262.lazy(() => NestedIntNullableFilterObjectSchema).optional()
4838
4902
  }).strict();
4839
4903
  var NestedIntNullableWithAggregatesFilterObjectSchema = nestedintnullablewithaggregatesfilterSchema;
4840
4904
  var NestedIntNullableWithAggregatesFilterObjectZodSchema = nestedintnullablewithaggregatesfilterSchema;
4841
4905
 
4842
4906
  // src/generated/schemas/objects/IntNullableWithAggregatesFilter.schema.ts
4843
- var makeSchema204 = () => z261.object({
4844
- equals: z261.number().int().optional().nullable(),
4845
- in: z261.number().int().array().optional().nullable(),
4846
- notIn: z261.number().int().array().optional().nullable(),
4847
- lt: z261.number().int().optional(),
4848
- lte: z261.number().int().optional(),
4849
- gt: z261.number().int().optional(),
4850
- gte: z261.number().int().optional(),
4851
- not: z261.union([z261.number().int(), z261.lazy(() => NestedIntNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4852
- _count: z261.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4853
- _avg: z261.lazy(() => NestedFloatNullableFilterObjectSchema).optional(),
4854
- _sum: z261.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4855
- _min: z261.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4856
- _max: z261.lazy(() => NestedIntNullableFilterObjectSchema).optional()
4857
- }).strict();
4858
- var IntNullableWithAggregatesFilterObjectSchema = makeSchema204();
4859
- var IntNullableWithAggregatesFilterObjectZodSchema = makeSchema204();
4907
+ var makeSchema205 = () => z263.object({
4908
+ equals: z263.number().int().optional().nullable(),
4909
+ in: z263.number().int().array().optional().nullable(),
4910
+ notIn: z263.number().int().array().optional().nullable(),
4911
+ lt: z263.number().int().optional(),
4912
+ lte: z263.number().int().optional(),
4913
+ gt: z263.number().int().optional(),
4914
+ gte: z263.number().int().optional(),
4915
+ not: z263.union([z263.number().int(), z263.lazy(() => NestedIntNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4916
+ _count: z263.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4917
+ _avg: z263.lazy(() => NestedFloatNullableFilterObjectSchema).optional(),
4918
+ _sum: z263.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4919
+ _min: z263.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4920
+ _max: z263.lazy(() => NestedIntNullableFilterObjectSchema).optional()
4921
+ }).strict();
4922
+ var IntNullableWithAggregatesFilterObjectSchema = makeSchema205();
4923
+ var IntNullableWithAggregatesFilterObjectZodSchema = makeSchema205();
4860
4924
 
4861
4925
  // src/generated/schemas/objects/BoolWithAggregatesFilter.schema.ts
4862
- var z263 = __toESM(require("zod"), 1);
4926
+ var z265 = __toESM(require("zod"), 1);
4863
4927
 
4864
4928
  // src/generated/schemas/objects/NestedBoolWithAggregatesFilter.schema.ts
4865
- var z262 = __toESM(require("zod"), 1);
4866
- var nestedboolwithaggregatesfilterSchema = z262.object({
4867
- equals: z262.boolean().optional(),
4868
- not: z262.union([z262.boolean(), z262.lazy(() => NestedBoolWithAggregatesFilterObjectSchema)]).optional(),
4869
- _count: z262.lazy(() => NestedIntFilterObjectSchema).optional(),
4870
- _min: z262.lazy(() => NestedBoolFilterObjectSchema).optional(),
4871
- _max: z262.lazy(() => NestedBoolFilterObjectSchema).optional()
4929
+ var z264 = __toESM(require("zod"), 1);
4930
+ var nestedboolwithaggregatesfilterSchema = z264.object({
4931
+ equals: z264.boolean().optional(),
4932
+ not: z264.union([z264.boolean(), z264.lazy(() => NestedBoolWithAggregatesFilterObjectSchema)]).optional(),
4933
+ _count: z264.lazy(() => NestedIntFilterObjectSchema).optional(),
4934
+ _min: z264.lazy(() => NestedBoolFilterObjectSchema).optional(),
4935
+ _max: z264.lazy(() => NestedBoolFilterObjectSchema).optional()
4872
4936
  }).strict();
4873
4937
  var NestedBoolWithAggregatesFilterObjectSchema = nestedboolwithaggregatesfilterSchema;
4874
4938
  var NestedBoolWithAggregatesFilterObjectZodSchema = nestedboolwithaggregatesfilterSchema;
4875
4939
 
4876
4940
  // src/generated/schemas/objects/BoolWithAggregatesFilter.schema.ts
4877
- var makeSchema205 = () => z263.object({
4878
- equals: z263.boolean().optional(),
4879
- not: z263.union([z263.boolean(), z263.lazy(() => NestedBoolWithAggregatesFilterObjectSchema)]).optional(),
4880
- _count: z263.lazy(() => NestedIntFilterObjectSchema).optional(),
4881
- _min: z263.lazy(() => NestedBoolFilterObjectSchema).optional(),
4882
- _max: z263.lazy(() => NestedBoolFilterObjectSchema).optional()
4941
+ var makeSchema206 = () => z265.object({
4942
+ equals: z265.boolean().optional(),
4943
+ not: z265.union([z265.boolean(), z265.lazy(() => NestedBoolWithAggregatesFilterObjectSchema)]).optional(),
4944
+ _count: z265.lazy(() => NestedIntFilterObjectSchema).optional(),
4945
+ _min: z265.lazy(() => NestedBoolFilterObjectSchema).optional(),
4946
+ _max: z265.lazy(() => NestedBoolFilterObjectSchema).optional()
4883
4947
  }).strict();
4884
- var BoolWithAggregatesFilterObjectSchema = makeSchema205();
4885
- var BoolWithAggregatesFilterObjectZodSchema = makeSchema205();
4948
+ var BoolWithAggregatesFilterObjectSchema = makeSchema206();
4949
+ var BoolWithAggregatesFilterObjectZodSchema = makeSchema206();
4886
4950
 
4887
4951
  // src/generated/schemas/objects/DateTimeNullableWithAggregatesFilter.schema.ts
4888
- var z265 = __toESM(require("zod"), 1);
4952
+ var z267 = __toESM(require("zod"), 1);
4889
4953
 
4890
4954
  // src/generated/schemas/objects/NestedDateTimeNullableWithAggregatesFilter.schema.ts
4891
- var z264 = __toESM(require("zod"), 1);
4892
- var nesteddatetimenullablewithaggregatesfilterSchema = z264.object({
4893
- equals: z264.date().optional().nullable(),
4894
- in: z264.union([z264.date().array(), z264.string().datetime().array()]).optional().nullable(),
4895
- notIn: z264.union([z264.date().array(), z264.string().datetime().array()]).optional().nullable(),
4896
- lt: z264.date().optional(),
4897
- lte: z264.date().optional(),
4898
- gt: z264.date().optional(),
4899
- gte: z264.date().optional(),
4900
- not: z264.union([z264.date(), z264.lazy(() => NestedDateTimeNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4901
- _count: z264.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4902
- _min: z264.lazy(() => NestedDateTimeNullableFilterObjectSchema).optional(),
4903
- _max: z264.lazy(() => NestedDateTimeNullableFilterObjectSchema).optional()
4955
+ var z266 = __toESM(require("zod"), 1);
4956
+ var nesteddatetimenullablewithaggregatesfilterSchema = z266.object({
4957
+ equals: z266.date().optional().nullable(),
4958
+ in: z266.union([z266.date().array(), z266.string().datetime().array()]).optional().nullable(),
4959
+ notIn: z266.union([z266.date().array(), z266.string().datetime().array()]).optional().nullable(),
4960
+ lt: z266.date().optional(),
4961
+ lte: z266.date().optional(),
4962
+ gt: z266.date().optional(),
4963
+ gte: z266.date().optional(),
4964
+ not: z266.union([z266.date(), z266.lazy(() => NestedDateTimeNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4965
+ _count: z266.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4966
+ _min: z266.lazy(() => NestedDateTimeNullableFilterObjectSchema).optional(),
4967
+ _max: z266.lazy(() => NestedDateTimeNullableFilterObjectSchema).optional()
4904
4968
  }).strict();
4905
4969
  var NestedDateTimeNullableWithAggregatesFilterObjectSchema = nesteddatetimenullablewithaggregatesfilterSchema;
4906
4970
  var NestedDateTimeNullableWithAggregatesFilterObjectZodSchema = nesteddatetimenullablewithaggregatesfilterSchema;
4907
4971
 
4908
4972
  // src/generated/schemas/objects/DateTimeNullableWithAggregatesFilter.schema.ts
4909
- var makeSchema206 = () => z265.object({
4910
- equals: z265.date().optional().nullable(),
4911
- in: z265.union([z265.date().array(), z265.string().datetime().array()]).optional().nullable(),
4912
- notIn: z265.union([z265.date().array(), z265.string().datetime().array()]).optional().nullable(),
4913
- lt: z265.date().optional(),
4914
- lte: z265.date().optional(),
4915
- gt: z265.date().optional(),
4916
- gte: z265.date().optional(),
4917
- not: z265.union([z265.date(), z265.lazy(() => NestedDateTimeNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4918
- _count: z265.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4919
- _min: z265.lazy(() => NestedDateTimeNullableFilterObjectSchema).optional(),
4920
- _max: z265.lazy(() => NestedDateTimeNullableFilterObjectSchema).optional()
4921
- }).strict();
4922
- var DateTimeNullableWithAggregatesFilterObjectSchema = makeSchema206();
4923
- var DateTimeNullableWithAggregatesFilterObjectZodSchema = makeSchema206();
4973
+ var makeSchema207 = () => z267.object({
4974
+ equals: z267.date().optional().nullable(),
4975
+ in: z267.union([z267.date().array(), z267.string().datetime().array()]).optional().nullable(),
4976
+ notIn: z267.union([z267.date().array(), z267.string().datetime().array()]).optional().nullable(),
4977
+ lt: z267.date().optional(),
4978
+ lte: z267.date().optional(),
4979
+ gt: z267.date().optional(),
4980
+ gte: z267.date().optional(),
4981
+ not: z267.union([z267.date(), z267.lazy(() => NestedDateTimeNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
4982
+ _count: z267.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
4983
+ _min: z267.lazy(() => NestedDateTimeNullableFilterObjectSchema).optional(),
4984
+ _max: z267.lazy(() => NestedDateTimeNullableFilterObjectSchema).optional()
4985
+ }).strict();
4986
+ var DateTimeNullableWithAggregatesFilterObjectSchema = makeSchema207();
4987
+ var DateTimeNullableWithAggregatesFilterObjectZodSchema = makeSchema207();
4924
4988
 
4925
4989
  // src/generated/schemas/objects/DateTimeWithAggregatesFilter.schema.ts
4926
- var z267 = __toESM(require("zod"), 1);
4990
+ var z269 = __toESM(require("zod"), 1);
4927
4991
 
4928
4992
  // src/generated/schemas/objects/NestedDateTimeWithAggregatesFilter.schema.ts
4929
- var z266 = __toESM(require("zod"), 1);
4930
- var nesteddatetimewithaggregatesfilterSchema = z266.object({
4931
- equals: z266.date().optional(),
4932
- in: z266.union([z266.date().array(), z266.string().datetime().array()]).optional(),
4933
- notIn: z266.union([z266.date().array(), z266.string().datetime().array()]).optional(),
4934
- lt: z266.date().optional(),
4935
- lte: z266.date().optional(),
4936
- gt: z266.date().optional(),
4937
- gte: z266.date().optional(),
4938
- not: z266.union([z266.date(), z266.lazy(() => NestedDateTimeWithAggregatesFilterObjectSchema)]).optional(),
4939
- _count: z266.lazy(() => NestedIntFilterObjectSchema).optional(),
4940
- _min: z266.lazy(() => NestedDateTimeFilterObjectSchema).optional(),
4941
- _max: z266.lazy(() => NestedDateTimeFilterObjectSchema).optional()
4993
+ var z268 = __toESM(require("zod"), 1);
4994
+ var nesteddatetimewithaggregatesfilterSchema = z268.object({
4995
+ equals: z268.date().optional(),
4996
+ in: z268.union([z268.date().array(), z268.string().datetime().array()]).optional(),
4997
+ notIn: z268.union([z268.date().array(), z268.string().datetime().array()]).optional(),
4998
+ lt: z268.date().optional(),
4999
+ lte: z268.date().optional(),
5000
+ gt: z268.date().optional(),
5001
+ gte: z268.date().optional(),
5002
+ not: z268.union([z268.date(), z268.lazy(() => NestedDateTimeWithAggregatesFilterObjectSchema)]).optional(),
5003
+ _count: z268.lazy(() => NestedIntFilterObjectSchema).optional(),
5004
+ _min: z268.lazy(() => NestedDateTimeFilterObjectSchema).optional(),
5005
+ _max: z268.lazy(() => NestedDateTimeFilterObjectSchema).optional()
4942
5006
  }).strict();
4943
5007
  var NestedDateTimeWithAggregatesFilterObjectSchema = nesteddatetimewithaggregatesfilterSchema;
4944
5008
  var NestedDateTimeWithAggregatesFilterObjectZodSchema = nesteddatetimewithaggregatesfilterSchema;
4945
5009
 
4946
5010
  // src/generated/schemas/objects/DateTimeWithAggregatesFilter.schema.ts
4947
- var makeSchema207 = () => z267.object({
4948
- equals: z267.date().optional(),
4949
- in: z267.union([z267.date().array(), z267.string().datetime().array()]).optional(),
4950
- notIn: z267.union([z267.date().array(), z267.string().datetime().array()]).optional(),
4951
- lt: z267.date().optional(),
4952
- lte: z267.date().optional(),
4953
- gt: z267.date().optional(),
4954
- gte: z267.date().optional(),
4955
- not: z267.union([z267.date(), z267.lazy(() => NestedDateTimeWithAggregatesFilterObjectSchema)]).optional(),
4956
- _count: z267.lazy(() => NestedIntFilterObjectSchema).optional(),
4957
- _min: z267.lazy(() => NestedDateTimeFilterObjectSchema).optional(),
4958
- _max: z267.lazy(() => NestedDateTimeFilterObjectSchema).optional()
4959
- }).strict();
4960
- var DateTimeWithAggregatesFilterObjectSchema = makeSchema207();
4961
- var DateTimeWithAggregatesFilterObjectZodSchema = makeSchema207();
5011
+ var makeSchema208 = () => z269.object({
5012
+ equals: z269.date().optional(),
5013
+ in: z269.union([z269.date().array(), z269.string().datetime().array()]).optional(),
5014
+ notIn: z269.union([z269.date().array(), z269.string().datetime().array()]).optional(),
5015
+ lt: z269.date().optional(),
5016
+ lte: z269.date().optional(),
5017
+ gt: z269.date().optional(),
5018
+ gte: z269.date().optional(),
5019
+ not: z269.union([z269.date(), z269.lazy(() => NestedDateTimeWithAggregatesFilterObjectSchema)]).optional(),
5020
+ _count: z269.lazy(() => NestedIntFilterObjectSchema).optional(),
5021
+ _min: z269.lazy(() => NestedDateTimeFilterObjectSchema).optional(),
5022
+ _max: z269.lazy(() => NestedDateTimeFilterObjectSchema).optional()
5023
+ }).strict();
5024
+ var DateTimeWithAggregatesFilterObjectSchema = makeSchema208();
5025
+ var DateTimeWithAggregatesFilterObjectZodSchema = makeSchema208();
4962
5026
 
4963
5027
  // src/generated/schemas/objects/EmployeeScalarWhereWithAggregatesInput.schema.ts
4964
- var employeescalarwherewithaggregatesinputSchema = z268.object({
4965
- AND: z268.union([z268.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema), z268.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
4966
- OR: z268.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema).array().optional(),
4967
- NOT: z268.union([z268.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema), z268.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
4968
- id: z268.union([z268.lazy(() => UuidWithAggregatesFilterObjectSchema), z268.string()]).optional(),
4969
- email: z268.union([z268.lazy(() => StringWithAggregatesFilterObjectSchema), z268.string()]).optional(),
4970
- password: z268.union([z268.lazy(() => StringWithAggregatesFilterObjectSchema), z268.string()]).optional(),
4971
- firstName: z268.union([z268.lazy(() => StringWithAggregatesFilterObjectSchema), z268.string()]).optional(),
4972
- lastName: z268.union([z268.lazy(() => StringWithAggregatesFilterObjectSchema), z268.string()]).optional(),
4973
- warehouseId: z268.union([z268.lazy(() => IntNullableWithAggregatesFilterObjectSchema), z268.number().int()]).optional().nullable(),
4974
- isActive: z268.union([z268.lazy(() => BoolWithAggregatesFilterObjectSchema), z268.boolean()]).optional(),
4975
- lastSeen: z268.union([z268.lazy(() => DateTimeNullableWithAggregatesFilterObjectSchema), z268.coerce.date()]).optional().nullable(),
4976
- updatedAt: z268.union([z268.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z268.coerce.date()]).optional()
5028
+ var employeescalarwherewithaggregatesinputSchema = z270.object({
5029
+ AND: z270.union([z270.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema), z270.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
5030
+ OR: z270.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema).array().optional(),
5031
+ NOT: z270.union([z270.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema), z270.lazy(() => EmployeeScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
5032
+ id: z270.union([z270.lazy(() => UuidWithAggregatesFilterObjectSchema), z270.string()]).optional(),
5033
+ email: z270.union([z270.lazy(() => StringWithAggregatesFilterObjectSchema), z270.string()]).optional(),
5034
+ password: z270.union([z270.lazy(() => StringWithAggregatesFilterObjectSchema), z270.string()]).optional(),
5035
+ firstName: z270.union([z270.lazy(() => StringWithAggregatesFilterObjectSchema), z270.string()]).optional(),
5036
+ lastName: z270.union([z270.lazy(() => StringWithAggregatesFilterObjectSchema), z270.string()]).optional(),
5037
+ phone: z270.union([z270.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z270.string()]).optional().nullable(),
5038
+ warehouseId: z270.union([z270.lazy(() => IntNullableWithAggregatesFilterObjectSchema), z270.number().int()]).optional().nullable(),
5039
+ isActive: z270.union([z270.lazy(() => BoolWithAggregatesFilterObjectSchema), z270.boolean()]).optional(),
5040
+ lastSeen: z270.union([z270.lazy(() => DateTimeNullableWithAggregatesFilterObjectSchema), z270.coerce.date()]).optional().nullable(),
5041
+ updatedAt: z270.union([z270.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z270.coerce.date()]).optional()
4977
5042
  }).strict();
4978
5043
  var EmployeeScalarWhereWithAggregatesInputObjectSchema = employeescalarwherewithaggregatesinputSchema;
4979
5044
  var EmployeeScalarWhereWithAggregatesInputObjectZodSchema = employeescalarwherewithaggregatesinputSchema;
4980
5045
 
4981
5046
  // src/generated/schemas/groupByEmployee.schema.ts
4982
- var EmployeeGroupBySchema = z269.object({ where: EmployeeWhereInputObjectSchema.optional(), orderBy: z269.union([EmployeeOrderByWithAggregationInputObjectSchema, EmployeeOrderByWithAggregationInputObjectSchema.array()]).optional(), having: EmployeeScalarWhereWithAggregatesInputObjectSchema.optional(), take: z269.number().optional(), skip: z269.number().optional(), by: z269.array(EmployeeScalarFieldEnumSchema), _count: z269.union([z269.literal(true), EmployeeCountAggregateInputObjectSchema]).optional(), _min: EmployeeMinAggregateInputObjectSchema.optional(), _max: EmployeeMaxAggregateInputObjectSchema.optional(), _avg: EmployeeAvgAggregateInputObjectSchema.optional(), _sum: EmployeeSumAggregateInputObjectSchema.optional() }).strict();
4983
- var EmployeeGroupByZodSchema = z269.object({ where: EmployeeWhereInputObjectSchema.optional(), orderBy: z269.union([EmployeeOrderByWithAggregationInputObjectSchema, EmployeeOrderByWithAggregationInputObjectSchema.array()]).optional(), having: EmployeeScalarWhereWithAggregatesInputObjectSchema.optional(), take: z269.number().optional(), skip: z269.number().optional(), by: z269.array(EmployeeScalarFieldEnumSchema), _count: z269.union([z269.literal(true), EmployeeCountAggregateInputObjectSchema]).optional(), _min: EmployeeMinAggregateInputObjectSchema.optional(), _max: EmployeeMaxAggregateInputObjectSchema.optional(), _avg: EmployeeAvgAggregateInputObjectSchema.optional(), _sum: EmployeeSumAggregateInputObjectSchema.optional() }).strict();
5047
+ var EmployeeGroupBySchema = z271.object({ where: EmployeeWhereInputObjectSchema.optional(), orderBy: z271.union([EmployeeOrderByWithAggregationInputObjectSchema, EmployeeOrderByWithAggregationInputObjectSchema.array()]).optional(), having: EmployeeScalarWhereWithAggregatesInputObjectSchema.optional(), take: z271.number().optional(), skip: z271.number().optional(), by: z271.array(EmployeeScalarFieldEnumSchema), _count: z271.union([z271.literal(true), EmployeeCountAggregateInputObjectSchema]).optional(), _min: EmployeeMinAggregateInputObjectSchema.optional(), _max: EmployeeMaxAggregateInputObjectSchema.optional(), _avg: EmployeeAvgAggregateInputObjectSchema.optional(), _sum: EmployeeSumAggregateInputObjectSchema.optional() }).strict();
5048
+ var EmployeeGroupByZodSchema = z271.object({ where: EmployeeWhereInputObjectSchema.optional(), orderBy: z271.union([EmployeeOrderByWithAggregationInputObjectSchema, EmployeeOrderByWithAggregationInputObjectSchema.array()]).optional(), having: EmployeeScalarWhereWithAggregatesInputObjectSchema.optional(), take: z271.number().optional(), skip: z271.number().optional(), by: z271.array(EmployeeScalarFieldEnumSchema), _count: z271.union([z271.literal(true), EmployeeCountAggregateInputObjectSchema]).optional(), _min: EmployeeMinAggregateInputObjectSchema.optional(), _max: EmployeeMaxAggregateInputObjectSchema.optional(), _avg: EmployeeAvgAggregateInputObjectSchema.optional(), _sum: EmployeeSumAggregateInputObjectSchema.optional() }).strict();
4984
5049
 
4985
5050
  // src/generated/schemas/findUniqueEmployeeRole.schema.ts
4986
- var z270 = __toESM(require("zod"), 1);
4987
- var EmployeeRoleFindUniqueSchema = z270.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
4988
- var EmployeeRoleFindUniqueZodSchema = z270.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
4989
-
4990
- // src/generated/schemas/findUniqueOrThrowEmployeeRole.schema.ts
4991
- var z271 = __toESM(require("zod"), 1);
4992
- var EmployeeRoleFindUniqueOrThrowSchema = z271.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
4993
- var EmployeeRoleFindUniqueOrThrowZodSchema = z271.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
4994
-
4995
- // src/generated/schemas/findFirstEmployeeRole.schema.ts
4996
5051
  var z272 = __toESM(require("zod"), 1);
4997
- var EmployeeRoleFindFirstSelectSchema = z272.object({
4998
- id: z272.boolean().optional(),
4999
- name: z272.boolean().optional(),
5000
- color: z272.boolean().optional(),
5001
- updatedAt: z272.boolean().optional(),
5002
- assignments: z272.boolean().optional(),
5003
- permissions: z272.boolean().optional(),
5004
- _count: z272.boolean().optional()
5005
- }).strict();
5006
- var EmployeeRoleFindFirstSelectZodSchema = z272.object({
5007
- id: z272.boolean().optional(),
5008
- name: z272.boolean().optional(),
5009
- color: z272.boolean().optional(),
5010
- updatedAt: z272.boolean().optional(),
5011
- assignments: z272.boolean().optional(),
5012
- permissions: z272.boolean().optional(),
5013
- _count: z272.boolean().optional()
5014
- }).strict();
5015
- var EmployeeRoleFindFirstSchema = z272.object({ select: EmployeeRoleFindFirstSelectSchema.optional(), include: z272.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z272.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z272.number().optional(), skip: z272.number().optional(), distinct: z272.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5016
- var EmployeeRoleFindFirstZodSchema = z272.object({ select: EmployeeRoleFindFirstSelectSchema.optional(), include: z272.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z272.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z272.number().optional(), skip: z272.number().optional(), distinct: z272.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5052
+ var EmployeeRoleFindUniqueSchema = z272.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5053
+ var EmployeeRoleFindUniqueZodSchema = z272.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5017
5054
 
5018
- // src/generated/schemas/findFirstOrThrowEmployeeRole.schema.ts
5055
+ // src/generated/schemas/findUniqueOrThrowEmployeeRole.schema.ts
5019
5056
  var z273 = __toESM(require("zod"), 1);
5020
- var EmployeeRoleFindFirstOrThrowSelectSchema = z273.object({
5021
- id: z273.boolean().optional(),
5022
- name: z273.boolean().optional(),
5023
- color: z273.boolean().optional(),
5024
- updatedAt: z273.boolean().optional(),
5025
- assignments: z273.boolean().optional(),
5026
- permissions: z273.boolean().optional(),
5027
- _count: z273.boolean().optional()
5028
- }).strict();
5029
- var EmployeeRoleFindFirstOrThrowSelectZodSchema = z273.object({
5030
- id: z273.boolean().optional(),
5031
- name: z273.boolean().optional(),
5032
- color: z273.boolean().optional(),
5033
- updatedAt: z273.boolean().optional(),
5034
- assignments: z273.boolean().optional(),
5035
- permissions: z273.boolean().optional(),
5036
- _count: z273.boolean().optional()
5037
- }).strict();
5038
- var EmployeeRoleFindFirstOrThrowSchema = z273.object({ select: EmployeeRoleFindFirstOrThrowSelectSchema.optional(), include: z273.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z273.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z273.number().optional(), skip: z273.number().optional(), distinct: z273.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5039
- var EmployeeRoleFindFirstOrThrowZodSchema = z273.object({ select: EmployeeRoleFindFirstOrThrowSelectSchema.optional(), include: z273.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z273.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z273.number().optional(), skip: z273.number().optional(), distinct: z273.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5057
+ var EmployeeRoleFindUniqueOrThrowSchema = z273.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5058
+ var EmployeeRoleFindUniqueOrThrowZodSchema = z273.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5040
5059
 
5041
- // src/generated/schemas/findManyEmployeeRole.schema.ts
5060
+ // src/generated/schemas/findFirstEmployeeRole.schema.ts
5042
5061
  var z274 = __toESM(require("zod"), 1);
5043
- var EmployeeRoleFindManySelectSchema = z274.object({
5062
+ var EmployeeRoleFindFirstSelectSchema = z274.object({
5044
5063
  id: z274.boolean().optional(),
5045
5064
  name: z274.boolean().optional(),
5046
5065
  color: z274.boolean().optional(),
@@ -5049,7 +5068,7 @@ var EmployeeRoleFindManySelectSchema = z274.object({
5049
5068
  permissions: z274.boolean().optional(),
5050
5069
  _count: z274.boolean().optional()
5051
5070
  }).strict();
5052
- var EmployeeRoleFindManySelectZodSchema = z274.object({
5071
+ var EmployeeRoleFindFirstSelectZodSchema = z274.object({
5053
5072
  id: z274.boolean().optional(),
5054
5073
  name: z274.boolean().optional(),
5055
5074
  color: z274.boolean().optional(),
@@ -5058,396 +5077,414 @@ var EmployeeRoleFindManySelectZodSchema = z274.object({
5058
5077
  permissions: z274.boolean().optional(),
5059
5078
  _count: z274.boolean().optional()
5060
5079
  }).strict();
5061
- var EmployeeRoleFindManySchema = z274.object({ select: EmployeeRoleFindManySelectSchema.optional(), include: z274.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z274.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z274.number().optional(), skip: z274.number().optional(), distinct: z274.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5062
- var EmployeeRoleFindManyZodSchema = z274.object({ select: EmployeeRoleFindManySelectSchema.optional(), include: z274.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z274.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z274.number().optional(), skip: z274.number().optional(), distinct: z274.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5080
+ var EmployeeRoleFindFirstSchema = z274.object({ select: EmployeeRoleFindFirstSelectSchema.optional(), include: z274.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z274.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z274.number().optional(), skip: z274.number().optional(), distinct: z274.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5081
+ var EmployeeRoleFindFirstZodSchema = z274.object({ select: EmployeeRoleFindFirstSelectSchema.optional(), include: z274.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z274.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z274.number().optional(), skip: z274.number().optional(), distinct: z274.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5063
5082
 
5064
- // src/generated/schemas/countEmployeeRole.schema.ts
5083
+ // src/generated/schemas/findFirstOrThrowEmployeeRole.schema.ts
5084
+ var z275 = __toESM(require("zod"), 1);
5085
+ var EmployeeRoleFindFirstOrThrowSelectSchema = z275.object({
5086
+ id: z275.boolean().optional(),
5087
+ name: z275.boolean().optional(),
5088
+ color: z275.boolean().optional(),
5089
+ updatedAt: z275.boolean().optional(),
5090
+ assignments: z275.boolean().optional(),
5091
+ permissions: z275.boolean().optional(),
5092
+ _count: z275.boolean().optional()
5093
+ }).strict();
5094
+ var EmployeeRoleFindFirstOrThrowSelectZodSchema = z275.object({
5095
+ id: z275.boolean().optional(),
5096
+ name: z275.boolean().optional(),
5097
+ color: z275.boolean().optional(),
5098
+ updatedAt: z275.boolean().optional(),
5099
+ assignments: z275.boolean().optional(),
5100
+ permissions: z275.boolean().optional(),
5101
+ _count: z275.boolean().optional()
5102
+ }).strict();
5103
+ var EmployeeRoleFindFirstOrThrowSchema = z275.object({ select: EmployeeRoleFindFirstOrThrowSelectSchema.optional(), include: z275.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z275.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z275.number().optional(), skip: z275.number().optional(), distinct: z275.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5104
+ var EmployeeRoleFindFirstOrThrowZodSchema = z275.object({ select: EmployeeRoleFindFirstOrThrowSelectSchema.optional(), include: z275.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z275.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z275.number().optional(), skip: z275.number().optional(), distinct: z275.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5105
+
5106
+ // src/generated/schemas/findManyEmployeeRole.schema.ts
5065
5107
  var z276 = __toESM(require("zod"), 1);
5108
+ var EmployeeRoleFindManySelectSchema = z276.object({
5109
+ id: z276.boolean().optional(),
5110
+ name: z276.boolean().optional(),
5111
+ color: z276.boolean().optional(),
5112
+ updatedAt: z276.boolean().optional(),
5113
+ assignments: z276.boolean().optional(),
5114
+ permissions: z276.boolean().optional(),
5115
+ _count: z276.boolean().optional()
5116
+ }).strict();
5117
+ var EmployeeRoleFindManySelectZodSchema = z276.object({
5118
+ id: z276.boolean().optional(),
5119
+ name: z276.boolean().optional(),
5120
+ color: z276.boolean().optional(),
5121
+ updatedAt: z276.boolean().optional(),
5122
+ assignments: z276.boolean().optional(),
5123
+ permissions: z276.boolean().optional(),
5124
+ _count: z276.boolean().optional()
5125
+ }).strict();
5126
+ var EmployeeRoleFindManySchema = z276.object({ select: EmployeeRoleFindManySelectSchema.optional(), include: z276.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z276.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z276.number().optional(), skip: z276.number().optional(), distinct: z276.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5127
+ var EmployeeRoleFindManyZodSchema = z276.object({ select: EmployeeRoleFindManySelectSchema.optional(), include: z276.lazy(() => EmployeeRoleIncludeObjectSchema.optional()), orderBy: z276.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z276.number().optional(), skip: z276.number().optional(), distinct: z276.union([EmployeeRoleScalarFieldEnumSchema, EmployeeRoleScalarFieldEnumSchema.array()]).optional() }).strict();
5128
+
5129
+ // src/generated/schemas/countEmployeeRole.schema.ts
5130
+ var z278 = __toESM(require("zod"), 1);
5066
5131
 
5067
5132
  // src/generated/schemas/objects/EmployeeRoleCountAggregateInput.schema.ts
5068
- var z275 = __toESM(require("zod"), 1);
5069
- var makeSchema208 = () => z275.object({
5070
- id: z275.literal(true).optional(),
5071
- name: z275.literal(true).optional(),
5072
- color: z275.literal(true).optional(),
5073
- updatedAt: z275.literal(true).optional(),
5074
- _all: z275.literal(true).optional()
5133
+ var z277 = __toESM(require("zod"), 1);
5134
+ var makeSchema209 = () => z277.object({
5135
+ id: z277.literal(true).optional(),
5136
+ name: z277.literal(true).optional(),
5137
+ color: z277.literal(true).optional(),
5138
+ updatedAt: z277.literal(true).optional(),
5139
+ _all: z277.literal(true).optional()
5075
5140
  }).strict();
5076
- var EmployeeRoleCountAggregateInputObjectSchema = makeSchema208();
5077
- var EmployeeRoleCountAggregateInputObjectZodSchema = makeSchema208();
5141
+ var EmployeeRoleCountAggregateInputObjectSchema = makeSchema209();
5142
+ var EmployeeRoleCountAggregateInputObjectZodSchema = makeSchema209();
5078
5143
 
5079
5144
  // src/generated/schemas/countEmployeeRole.schema.ts
5080
- var EmployeeRoleCountSchema = z276.object({ orderBy: z276.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z276.number().optional(), skip: z276.number().optional(), select: z276.union([z276.literal(true), EmployeeRoleCountAggregateInputObjectSchema]).optional() }).strict();
5081
- var EmployeeRoleCountZodSchema = z276.object({ orderBy: z276.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z276.number().optional(), skip: z276.number().optional(), select: z276.union([z276.literal(true), EmployeeRoleCountAggregateInputObjectSchema]).optional() }).strict();
5145
+ var EmployeeRoleCountSchema = z278.object({ orderBy: z278.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z278.number().optional(), skip: z278.number().optional(), select: z278.union([z278.literal(true), EmployeeRoleCountAggregateInputObjectSchema]).optional() }).strict();
5146
+ var EmployeeRoleCountZodSchema = z278.object({ orderBy: z278.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z278.number().optional(), skip: z278.number().optional(), select: z278.union([z278.literal(true), EmployeeRoleCountAggregateInputObjectSchema]).optional() }).strict();
5082
5147
 
5083
5148
  // src/generated/schemas/createOneEmployeeRole.schema.ts
5084
- var z290 = __toESM(require("zod"), 1);
5149
+ var z292 = __toESM(require("zod"), 1);
5085
5150
 
5086
5151
  // src/generated/schemas/objects/EmployeeRoleCreateInput.schema.ts
5087
- var z287 = __toESM(require("zod"), 1);
5152
+ var z289 = __toESM(require("zod"), 1);
5088
5153
 
5089
5154
  // src/generated/schemas/objects/EmployeeRoleAssignmentCreateNestedManyWithoutEmployeeRoleInput.schema.ts
5090
- var z286 = __toESM(require("zod"), 1);
5155
+ var z288 = __toESM(require("zod"), 1);
5091
5156
 
5092
5157
  // src/generated/schemas/objects/EmployeeRoleAssignmentCreateWithoutEmployeeRoleInput.schema.ts
5093
- var z281 = __toESM(require("zod"), 1);
5158
+ var z283 = __toESM(require("zod"), 1);
5094
5159
 
5095
5160
  // src/generated/schemas/objects/EmployeeCreateNestedOneWithoutRoleAssignmentsInput.schema.ts
5096
- var z280 = __toESM(require("zod"), 1);
5161
+ var z282 = __toESM(require("zod"), 1);
5097
5162
 
5098
5163
  // src/generated/schemas/objects/EmployeeCreateWithoutRoleAssignmentsInput.schema.ts
5099
- var z277 = __toESM(require("zod"), 1);
5100
- var makeSchema209 = () => z277.object({
5101
- id: z277.string().optional(),
5102
- email: z277.string(),
5103
- password: z277.string(),
5104
- firstName: z277.string(),
5105
- lastName: z277.string(),
5106
- isActive: z277.boolean().optional(),
5107
- lastSeen: z277.coerce.date().optional().nullable(),
5108
- updatedAt: z277.coerce.date().optional(),
5109
- warehouse: z277.lazy(() => WarehouseCreateNestedOneWithoutEmployeesInputObjectSchema).optional()
5110
- }).strict();
5111
- var EmployeeCreateWithoutRoleAssignmentsInputObjectSchema = makeSchema209();
5112
- var EmployeeCreateWithoutRoleAssignmentsInputObjectZodSchema = makeSchema209();
5164
+ var z279 = __toESM(require("zod"), 1);
5165
+ var makeSchema210 = () => z279.object({
5166
+ id: z279.string().optional(),
5167
+ email: z279.string(),
5168
+ password: z279.string(),
5169
+ firstName: z279.string(),
5170
+ lastName: z279.string(),
5171
+ phone: z279.string().optional().nullable(),
5172
+ isActive: z279.boolean().optional(),
5173
+ lastSeen: z279.coerce.date().optional().nullable(),
5174
+ updatedAt: z279.coerce.date().optional(),
5175
+ warehouse: z279.lazy(() => WarehouseCreateNestedOneWithoutEmployeesInputObjectSchema).optional()
5176
+ }).strict();
5177
+ var EmployeeCreateWithoutRoleAssignmentsInputObjectSchema = makeSchema210();
5178
+ var EmployeeCreateWithoutRoleAssignmentsInputObjectZodSchema = makeSchema210();
5113
5179
 
5114
5180
  // src/generated/schemas/objects/EmployeeUncheckedCreateWithoutRoleAssignmentsInput.schema.ts
5115
- var z278 = __toESM(require("zod"), 1);
5116
- var makeSchema210 = () => z278.object({
5117
- id: z278.string().optional(),
5118
- email: z278.string(),
5119
- password: z278.string(),
5120
- firstName: z278.string(),
5121
- lastName: z278.string(),
5122
- warehouseId: z278.number().int().optional().nullable(),
5123
- isActive: z278.boolean().optional(),
5124
- lastSeen: z278.coerce.date().optional().nullable(),
5125
- updatedAt: z278.coerce.date().optional()
5126
- }).strict();
5127
- var EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema = makeSchema210();
5128
- var EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectZodSchema = makeSchema210();
5181
+ var z280 = __toESM(require("zod"), 1);
5182
+ var makeSchema211 = () => z280.object({
5183
+ id: z280.string().optional(),
5184
+ email: z280.string(),
5185
+ password: z280.string(),
5186
+ firstName: z280.string(),
5187
+ lastName: z280.string(),
5188
+ phone: z280.string().optional().nullable(),
5189
+ warehouseId: z280.number().int().optional().nullable(),
5190
+ isActive: z280.boolean().optional(),
5191
+ lastSeen: z280.coerce.date().optional().nullable(),
5192
+ updatedAt: z280.coerce.date().optional()
5193
+ }).strict();
5194
+ var EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema = makeSchema211();
5195
+ var EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectZodSchema = makeSchema211();
5129
5196
 
5130
5197
  // src/generated/schemas/objects/EmployeeCreateOrConnectWithoutRoleAssignmentsInput.schema.ts
5131
- var z279 = __toESM(require("zod"), 1);
5132
- var makeSchema211 = () => z279.object({
5133
- where: z279.lazy(() => EmployeeWhereUniqueInputObjectSchema),
5134
- create: z279.union([z279.lazy(() => EmployeeCreateWithoutRoleAssignmentsInputObjectSchema), z279.lazy(() => EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema)])
5198
+ var z281 = __toESM(require("zod"), 1);
5199
+ var makeSchema212 = () => z281.object({
5200
+ where: z281.lazy(() => EmployeeWhereUniqueInputObjectSchema),
5201
+ create: z281.union([z281.lazy(() => EmployeeCreateWithoutRoleAssignmentsInputObjectSchema), z281.lazy(() => EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema)])
5135
5202
  }).strict();
5136
- var EmployeeCreateOrConnectWithoutRoleAssignmentsInputObjectSchema = makeSchema211();
5137
- var EmployeeCreateOrConnectWithoutRoleAssignmentsInputObjectZodSchema = makeSchema211();
5203
+ var EmployeeCreateOrConnectWithoutRoleAssignmentsInputObjectSchema = makeSchema212();
5204
+ var EmployeeCreateOrConnectWithoutRoleAssignmentsInputObjectZodSchema = makeSchema212();
5138
5205
 
5139
5206
  // src/generated/schemas/objects/EmployeeCreateNestedOneWithoutRoleAssignmentsInput.schema.ts
5140
- var makeSchema212 = () => z280.object({
5141
- create: z280.union([z280.lazy(() => EmployeeCreateWithoutRoleAssignmentsInputObjectSchema), z280.lazy(() => EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema)]).optional(),
5142
- connectOrCreate: z280.lazy(() => EmployeeCreateOrConnectWithoutRoleAssignmentsInputObjectSchema).optional(),
5143
- connect: z280.lazy(() => EmployeeWhereUniqueInputObjectSchema).optional()
5207
+ var makeSchema213 = () => z282.object({
5208
+ create: z282.union([z282.lazy(() => EmployeeCreateWithoutRoleAssignmentsInputObjectSchema), z282.lazy(() => EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema)]).optional(),
5209
+ connectOrCreate: z282.lazy(() => EmployeeCreateOrConnectWithoutRoleAssignmentsInputObjectSchema).optional(),
5210
+ connect: z282.lazy(() => EmployeeWhereUniqueInputObjectSchema).optional()
5144
5211
  }).strict();
5145
- var EmployeeCreateNestedOneWithoutRoleAssignmentsInputObjectSchema = makeSchema212();
5146
- var EmployeeCreateNestedOneWithoutRoleAssignmentsInputObjectZodSchema = makeSchema212();
5212
+ var EmployeeCreateNestedOneWithoutRoleAssignmentsInputObjectSchema = makeSchema213();
5213
+ var EmployeeCreateNestedOneWithoutRoleAssignmentsInputObjectZodSchema = makeSchema213();
5147
5214
 
5148
5215
  // src/generated/schemas/objects/EmployeeRoleAssignmentCreateWithoutEmployeeRoleInput.schema.ts
5149
- var makeSchema213 = () => z281.object({
5150
- updatedAt: z281.coerce.date().optional(),
5151
- employee: z281.lazy(() => EmployeeCreateNestedOneWithoutRoleAssignmentsInputObjectSchema)
5216
+ var makeSchema214 = () => z283.object({
5217
+ updatedAt: z283.coerce.date().optional(),
5218
+ employee: z283.lazy(() => EmployeeCreateNestedOneWithoutRoleAssignmentsInputObjectSchema)
5152
5219
  }).strict();
5153
- var EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema = makeSchema213();
5154
- var EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectZodSchema = makeSchema213();
5220
+ var EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema = makeSchema214();
5221
+ var EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectZodSchema = makeSchema214();
5155
5222
 
5156
5223
  // src/generated/schemas/objects/EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInput.schema.ts
5157
- var z282 = __toESM(require("zod"), 1);
5158
- var makeSchema214 = () => z282.object({
5159
- id: z282.number().int().optional(),
5160
- employeeId: z282.string(),
5161
- updatedAt: z282.coerce.date().optional()
5224
+ var z284 = __toESM(require("zod"), 1);
5225
+ var makeSchema215 = () => z284.object({
5226
+ id: z284.number().int().optional(),
5227
+ employeeId: z284.string(),
5228
+ updatedAt: z284.coerce.date().optional()
5162
5229
  }).strict();
5163
- var EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema = makeSchema214();
5164
- var EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectZodSchema = makeSchema214();
5230
+ var EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema = makeSchema215();
5231
+ var EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectZodSchema = makeSchema215();
5165
5232
 
5166
5233
  // src/generated/schemas/objects/EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInput.schema.ts
5167
- var z283 = __toESM(require("zod"), 1);
5168
- var makeSchema215 = () => z283.object({
5169
- where: z283.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema),
5170
- create: z283.union([z283.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z283.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema)])
5234
+ var z285 = __toESM(require("zod"), 1);
5235
+ var makeSchema216 = () => z285.object({
5236
+ where: z285.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema),
5237
+ create: z285.union([z285.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z285.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema)])
5171
5238
  }).strict();
5172
- var EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema = makeSchema215();
5173
- var EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectZodSchema = makeSchema215();
5239
+ var EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema = makeSchema216();
5240
+ var EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectZodSchema = makeSchema216();
5174
5241
 
5175
5242
  // src/generated/schemas/objects/EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelope.schema.ts
5176
- var z285 = __toESM(require("zod"), 1);
5243
+ var z287 = __toESM(require("zod"), 1);
5177
5244
 
5178
5245
  // src/generated/schemas/objects/EmployeeRoleAssignmentCreateManyEmployeeRoleInput.schema.ts
5179
- var z284 = __toESM(require("zod"), 1);
5180
- var makeSchema216 = () => z284.object({
5181
- id: z284.number().int().optional(),
5182
- employeeId: z284.string(),
5183
- updatedAt: z284.coerce.date().optional()
5246
+ var z286 = __toESM(require("zod"), 1);
5247
+ var makeSchema217 = () => z286.object({
5248
+ id: z286.number().int().optional(),
5249
+ employeeId: z286.string(),
5250
+ updatedAt: z286.coerce.date().optional()
5184
5251
  }).strict();
5185
- var EmployeeRoleAssignmentCreateManyEmployeeRoleInputObjectSchema = makeSchema216();
5186
- var EmployeeRoleAssignmentCreateManyEmployeeRoleInputObjectZodSchema = makeSchema216();
5252
+ var EmployeeRoleAssignmentCreateManyEmployeeRoleInputObjectSchema = makeSchema217();
5253
+ var EmployeeRoleAssignmentCreateManyEmployeeRoleInputObjectZodSchema = makeSchema217();
5187
5254
 
5188
5255
  // src/generated/schemas/objects/EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelope.schema.ts
5189
- var makeSchema217 = () => z285.object({
5190
- data: z285.union([z285.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputObjectSchema), z285.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputObjectSchema).array()]),
5191
- skipDuplicates: z285.boolean().optional()
5256
+ var makeSchema218 = () => z287.object({
5257
+ data: z287.union([z287.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputObjectSchema), z287.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputObjectSchema).array()]),
5258
+ skipDuplicates: z287.boolean().optional()
5192
5259
  }).strict();
5193
- var EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectSchema = makeSchema217();
5194
- var EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectZodSchema = makeSchema217();
5260
+ var EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectSchema = makeSchema218();
5261
+ var EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectZodSchema = makeSchema218();
5195
5262
 
5196
5263
  // src/generated/schemas/objects/EmployeeRoleAssignmentCreateNestedManyWithoutEmployeeRoleInput.schema.ts
5197
- var makeSchema218 = () => z286.object({
5198
- create: z286.union([z286.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z286.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema).array(), z286.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema), z286.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5199
- connectOrCreate: z286.union([z286.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema), z286.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5200
- createMany: z286.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectSchema).optional(),
5201
- connect: z286.union([z286.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z286.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional()
5264
+ var makeSchema219 = () => z288.object({
5265
+ create: z288.union([z288.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z288.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema).array(), z288.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema), z288.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5266
+ connectOrCreate: z288.union([z288.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema), z288.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5267
+ createMany: z288.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectSchema).optional(),
5268
+ connect: z288.union([z288.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z288.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional()
5202
5269
  }).strict();
5203
- var EmployeeRoleAssignmentCreateNestedManyWithoutEmployeeRoleInputObjectSchema = makeSchema218();
5204
- var EmployeeRoleAssignmentCreateNestedManyWithoutEmployeeRoleInputObjectZodSchema = makeSchema218();
5270
+ var EmployeeRoleAssignmentCreateNestedManyWithoutEmployeeRoleInputObjectSchema = makeSchema219();
5271
+ var EmployeeRoleAssignmentCreateNestedManyWithoutEmployeeRoleInputObjectZodSchema = makeSchema219();
5205
5272
 
5206
5273
  // src/generated/schemas/objects/EmployeeRoleCreateInput.schema.ts
5207
- var makeSchema219 = () => z287.object({
5208
- name: z287.string(),
5209
- color: z287.string().optional().nullable(),
5210
- assignments: z287.lazy(() => EmployeeRoleAssignmentCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional(),
5211
- permissions: z287.lazy(() => EmployeeRolePermissionCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional()
5274
+ var makeSchema220 = () => z289.object({
5275
+ name: z289.string(),
5276
+ color: z289.string(),
5277
+ assignments: z289.lazy(() => EmployeeRoleAssignmentCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional(),
5278
+ permissions: z289.lazy(() => EmployeeRolePermissionCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional()
5212
5279
  }).strict();
5213
- var EmployeeRoleCreateInputObjectSchema = makeSchema219();
5214
- var EmployeeRoleCreateInputObjectZodSchema = makeSchema219();
5280
+ var EmployeeRoleCreateInputObjectSchema = makeSchema220();
5281
+ var EmployeeRoleCreateInputObjectZodSchema = makeSchema220();
5215
5282
 
5216
5283
  // src/generated/schemas/objects/EmployeeRoleUncheckedCreateInput.schema.ts
5217
- var z289 = __toESM(require("zod"), 1);
5284
+ var z291 = __toESM(require("zod"), 1);
5218
5285
 
5219
5286
  // src/generated/schemas/objects/EmployeeRoleAssignmentUncheckedCreateNestedManyWithoutEmployeeRoleInput.schema.ts
5220
- var z288 = __toESM(require("zod"), 1);
5221
- var makeSchema220 = () => z288.object({
5222
- create: z288.union([z288.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z288.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema).array(), z288.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema), z288.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5223
- connectOrCreate: z288.union([z288.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema), z288.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5224
- createMany: z288.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectSchema).optional(),
5225
- connect: z288.union([z288.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z288.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional()
5287
+ var z290 = __toESM(require("zod"), 1);
5288
+ var makeSchema221 = () => z290.object({
5289
+ create: z290.union([z290.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z290.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema).array(), z290.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema), z290.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5290
+ connectOrCreate: z290.union([z290.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema), z290.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5291
+ createMany: z290.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectSchema).optional(),
5292
+ connect: z290.union([z290.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z290.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional()
5226
5293
  }).strict();
5227
- var EmployeeRoleAssignmentUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectSchema = makeSchema220();
5228
- var EmployeeRoleAssignmentUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectZodSchema = makeSchema220();
5294
+ var EmployeeRoleAssignmentUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectSchema = makeSchema221();
5295
+ var EmployeeRoleAssignmentUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectZodSchema = makeSchema221();
5229
5296
 
5230
5297
  // src/generated/schemas/objects/EmployeeRoleUncheckedCreateInput.schema.ts
5231
- var makeSchema221 = () => z289.object({
5232
- id: z289.number().int().optional(),
5233
- name: z289.string(),
5234
- color: z289.string().optional().nullable(),
5235
- assignments: z289.lazy(() => EmployeeRoleAssignmentUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional(),
5236
- permissions: z289.lazy(() => EmployeeRolePermissionUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional()
5298
+ var makeSchema222 = () => z291.object({
5299
+ id: z291.number().int().optional(),
5300
+ name: z291.string(),
5301
+ color: z291.string(),
5302
+ assignments: z291.lazy(() => EmployeeRoleAssignmentUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional(),
5303
+ permissions: z291.lazy(() => EmployeeRolePermissionUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional()
5237
5304
  }).strict();
5238
- var EmployeeRoleUncheckedCreateInputObjectSchema = makeSchema221();
5239
- var EmployeeRoleUncheckedCreateInputObjectZodSchema = makeSchema221();
5305
+ var EmployeeRoleUncheckedCreateInputObjectSchema = makeSchema222();
5306
+ var EmployeeRoleUncheckedCreateInputObjectZodSchema = makeSchema222();
5240
5307
 
5241
5308
  // src/generated/schemas/createOneEmployeeRole.schema.ts
5242
- var EmployeeRoleCreateOneSchema = z290.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), data: z290.union([EmployeeRoleCreateInputObjectSchema, EmployeeRoleUncheckedCreateInputObjectSchema]) }).strict();
5243
- var EmployeeRoleCreateOneZodSchema = z290.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), data: z290.union([EmployeeRoleCreateInputObjectSchema, EmployeeRoleUncheckedCreateInputObjectSchema]) }).strict();
5309
+ var EmployeeRoleCreateOneSchema = z292.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), data: z292.union([EmployeeRoleCreateInputObjectSchema, EmployeeRoleUncheckedCreateInputObjectSchema]) }).strict();
5310
+ var EmployeeRoleCreateOneZodSchema = z292.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), data: z292.union([EmployeeRoleCreateInputObjectSchema, EmployeeRoleUncheckedCreateInputObjectSchema]) }).strict();
5244
5311
 
5245
5312
  // src/generated/schemas/createManyEmployeeRole.schema.ts
5246
- var z292 = __toESM(require("zod"), 1);
5313
+ var z294 = __toESM(require("zod"), 1);
5247
5314
 
5248
5315
  // src/generated/schemas/objects/EmployeeRoleCreateManyInput.schema.ts
5249
- var z291 = __toESM(require("zod"), 1);
5250
- var makeSchema222 = () => z291.object({
5251
- id: z291.number().int().optional(),
5252
- name: z291.string(),
5253
- color: z291.string().optional().nullable(),
5254
- updatedAt: z291.coerce.date().optional()
5316
+ var z293 = __toESM(require("zod"), 1);
5317
+ var makeSchema223 = () => z293.object({
5318
+ id: z293.number().int().optional(),
5319
+ name: z293.string(),
5320
+ color: z293.string(),
5321
+ updatedAt: z293.coerce.date().optional()
5255
5322
  }).strict();
5256
- var EmployeeRoleCreateManyInputObjectSchema = makeSchema222();
5257
- var EmployeeRoleCreateManyInputObjectZodSchema = makeSchema222();
5323
+ var EmployeeRoleCreateManyInputObjectSchema = makeSchema223();
5324
+ var EmployeeRoleCreateManyInputObjectZodSchema = makeSchema223();
5258
5325
 
5259
5326
  // src/generated/schemas/createManyEmployeeRole.schema.ts
5260
- var EmployeeRoleCreateManySchema = z292.object({ data: z292.union([EmployeeRoleCreateManyInputObjectSchema, z292.array(EmployeeRoleCreateManyInputObjectSchema)]), skipDuplicates: z292.boolean().optional() }).strict();
5261
- var EmployeeRoleCreateManyZodSchema = z292.object({ data: z292.union([EmployeeRoleCreateManyInputObjectSchema, z292.array(EmployeeRoleCreateManyInputObjectSchema)]), skipDuplicates: z292.boolean().optional() }).strict();
5327
+ var EmployeeRoleCreateManySchema = z294.object({ data: z294.union([EmployeeRoleCreateManyInputObjectSchema, z294.array(EmployeeRoleCreateManyInputObjectSchema)]), skipDuplicates: z294.boolean().optional() }).strict();
5328
+ var EmployeeRoleCreateManyZodSchema = z294.object({ data: z294.union([EmployeeRoleCreateManyInputObjectSchema, z294.array(EmployeeRoleCreateManyInputObjectSchema)]), skipDuplicates: z294.boolean().optional() }).strict();
5262
5329
 
5263
5330
  // src/generated/schemas/createManyAndReturnEmployeeRole.schema.ts
5264
- var z293 = __toESM(require("zod"), 1);
5265
- var EmployeeRoleCreateManyAndReturnSchema = z293.object({ select: EmployeeRoleSelectObjectSchema.optional(), data: z293.union([EmployeeRoleCreateManyInputObjectSchema, z293.array(EmployeeRoleCreateManyInputObjectSchema)]), skipDuplicates: z293.boolean().optional() }).strict();
5266
- var EmployeeRoleCreateManyAndReturnZodSchema = z293.object({ select: EmployeeRoleSelectObjectSchema.optional(), data: z293.union([EmployeeRoleCreateManyInputObjectSchema, z293.array(EmployeeRoleCreateManyInputObjectSchema)]), skipDuplicates: z293.boolean().optional() }).strict();
5331
+ var z295 = __toESM(require("zod"), 1);
5332
+ var EmployeeRoleCreateManyAndReturnSchema = z295.object({ select: EmployeeRoleSelectObjectSchema.optional(), data: z295.union([EmployeeRoleCreateManyInputObjectSchema, z295.array(EmployeeRoleCreateManyInputObjectSchema)]), skipDuplicates: z295.boolean().optional() }).strict();
5333
+ var EmployeeRoleCreateManyAndReturnZodSchema = z295.object({ select: EmployeeRoleSelectObjectSchema.optional(), data: z295.union([EmployeeRoleCreateManyInputObjectSchema, z295.array(EmployeeRoleCreateManyInputObjectSchema)]), skipDuplicates: z295.boolean().optional() }).strict();
5267
5334
 
5268
5335
  // src/generated/schemas/deleteOneEmployeeRole.schema.ts
5269
- var z294 = __toESM(require("zod"), 1);
5270
- var EmployeeRoleDeleteOneSchema = z294.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5271
- var EmployeeRoleDeleteOneZodSchema = z294.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5336
+ var z296 = __toESM(require("zod"), 1);
5337
+ var EmployeeRoleDeleteOneSchema = z296.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5338
+ var EmployeeRoleDeleteOneZodSchema = z296.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5272
5339
 
5273
5340
  // src/generated/schemas/deleteManyEmployeeRole.schema.ts
5274
- var z295 = __toESM(require("zod"), 1);
5275
- var EmployeeRoleDeleteManySchema = z295.object({ where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5276
- var EmployeeRoleDeleteManyZodSchema = z295.object({ where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5341
+ var z297 = __toESM(require("zod"), 1);
5342
+ var EmployeeRoleDeleteManySchema = z297.object({ where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5343
+ var EmployeeRoleDeleteManyZodSchema = z297.object({ where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5277
5344
 
5278
5345
  // src/generated/schemas/updateOneEmployeeRole.schema.ts
5279
- var z311 = __toESM(require("zod"), 1);
5346
+ var z313 = __toESM(require("zod"), 1);
5280
5347
 
5281
5348
  // src/generated/schemas/objects/EmployeeRoleUpdateInput.schema.ts
5282
- var z308 = __toESM(require("zod"), 1);
5349
+ var z310 = __toESM(require("zod"), 1);
5283
5350
 
5284
5351
  // src/generated/schemas/objects/EmployeeRoleAssignmentUpdateManyWithoutEmployeeRoleNestedInput.schema.ts
5285
- var z307 = __toESM(require("zod"), 1);
5352
+ var z309 = __toESM(require("zod"), 1);
5286
5353
 
5287
5354
  // src/generated/schemas/objects/EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInput.schema.ts
5288
- var z303 = __toESM(require("zod"), 1);
5355
+ var z305 = __toESM(require("zod"), 1);
5289
5356
 
5290
5357
  // src/generated/schemas/objects/EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInput.schema.ts
5291
- var z301 = __toESM(require("zod"), 1);
5358
+ var z303 = __toESM(require("zod"), 1);
5292
5359
 
5293
5360
  // src/generated/schemas/objects/EmployeeUpdateOneRequiredWithoutRoleAssignmentsNestedInput.schema.ts
5294
- var z300 = __toESM(require("zod"), 1);
5361
+ var z302 = __toESM(require("zod"), 1);
5295
5362
 
5296
5363
  // src/generated/schemas/objects/EmployeeUpsertWithoutRoleAssignmentsInput.schema.ts
5297
- var z298 = __toESM(require("zod"), 1);
5364
+ var z300 = __toESM(require("zod"), 1);
5298
5365
 
5299
5366
  // src/generated/schemas/objects/EmployeeUpdateWithoutRoleAssignmentsInput.schema.ts
5300
- var z296 = __toESM(require("zod"), 1);
5301
- var makeSchema223 = () => z296.object({
5302
- id: z296.union([z296.string(), z296.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5303
- email: z296.union([z296.string(), z296.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5304
- password: z296.union([z296.string(), z296.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5305
- firstName: z296.union([z296.string(), z296.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5306
- lastName: z296.union([z296.string(), z296.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5307
- isActive: z296.union([z296.boolean(), z296.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
5308
- lastSeen: z296.union([z296.coerce.date(), z296.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5309
- updatedAt: z296.union([z296.coerce.date(), z296.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
5310
- warehouse: z296.lazy(() => WarehouseUpdateOneWithoutEmployeesNestedInputObjectSchema).optional()
5311
- }).strict();
5312
- var EmployeeUpdateWithoutRoleAssignmentsInputObjectSchema = makeSchema223();
5313
- var EmployeeUpdateWithoutRoleAssignmentsInputObjectZodSchema = makeSchema223();
5367
+ var z298 = __toESM(require("zod"), 1);
5368
+ var makeSchema224 = () => z298.object({
5369
+ id: z298.union([z298.string(), z298.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5370
+ email: z298.union([z298.string(), z298.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5371
+ password: z298.union([z298.string(), z298.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5372
+ firstName: z298.union([z298.string(), z298.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5373
+ lastName: z298.union([z298.string(), z298.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5374
+ phone: z298.union([z298.string(), z298.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5375
+ isActive: z298.union([z298.boolean(), z298.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
5376
+ lastSeen: z298.union([z298.coerce.date(), z298.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5377
+ updatedAt: z298.union([z298.coerce.date(), z298.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
5378
+ warehouse: z298.lazy(() => WarehouseUpdateOneWithoutEmployeesNestedInputObjectSchema).optional()
5379
+ }).strict();
5380
+ var EmployeeUpdateWithoutRoleAssignmentsInputObjectSchema = makeSchema224();
5381
+ var EmployeeUpdateWithoutRoleAssignmentsInputObjectZodSchema = makeSchema224();
5314
5382
 
5315
5383
  // src/generated/schemas/objects/EmployeeUncheckedUpdateWithoutRoleAssignmentsInput.schema.ts
5316
- var z297 = __toESM(require("zod"), 1);
5317
- var makeSchema224 = () => z297.object({
5318
- id: z297.union([z297.string(), z297.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5319
- email: z297.union([z297.string(), z297.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5320
- password: z297.union([z297.string(), z297.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5321
- firstName: z297.union([z297.string(), z297.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5322
- lastName: z297.union([z297.string(), z297.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5323
- warehouseId: z297.union([z297.number().int(), z297.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5324
- isActive: z297.union([z297.boolean(), z297.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
5325
- lastSeen: z297.union([z297.coerce.date(), z297.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5326
- updatedAt: z297.union([z297.coerce.date(), z297.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
5327
- }).strict();
5328
- var EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectSchema = makeSchema224();
5329
- var EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectZodSchema = makeSchema224();
5384
+ var z299 = __toESM(require("zod"), 1);
5385
+ var makeSchema225 = () => z299.object({
5386
+ id: z299.union([z299.string(), z299.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5387
+ email: z299.union([z299.string(), z299.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5388
+ password: z299.union([z299.string(), z299.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5389
+ firstName: z299.union([z299.string(), z299.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5390
+ lastName: z299.union([z299.string(), z299.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5391
+ phone: z299.union([z299.string(), z299.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5392
+ warehouseId: z299.union([z299.number().int(), z299.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5393
+ isActive: z299.union([z299.boolean(), z299.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
5394
+ lastSeen: z299.union([z299.coerce.date(), z299.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5395
+ updatedAt: z299.union([z299.coerce.date(), z299.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
5396
+ }).strict();
5397
+ var EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectSchema = makeSchema225();
5398
+ var EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectZodSchema = makeSchema225();
5330
5399
 
5331
5400
  // src/generated/schemas/objects/EmployeeUpsertWithoutRoleAssignmentsInput.schema.ts
5332
- var makeSchema225 = () => z298.object({
5333
- update: z298.union([z298.lazy(() => EmployeeUpdateWithoutRoleAssignmentsInputObjectSchema), z298.lazy(() => EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectSchema)]),
5334
- create: z298.union([z298.lazy(() => EmployeeCreateWithoutRoleAssignmentsInputObjectSchema), z298.lazy(() => EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema)]),
5335
- where: z298.lazy(() => EmployeeWhereInputObjectSchema).optional()
5401
+ var makeSchema226 = () => z300.object({
5402
+ update: z300.union([z300.lazy(() => EmployeeUpdateWithoutRoleAssignmentsInputObjectSchema), z300.lazy(() => EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectSchema)]),
5403
+ create: z300.union([z300.lazy(() => EmployeeCreateWithoutRoleAssignmentsInputObjectSchema), z300.lazy(() => EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema)]),
5404
+ where: z300.lazy(() => EmployeeWhereInputObjectSchema).optional()
5336
5405
  }).strict();
5337
- var EmployeeUpsertWithoutRoleAssignmentsInputObjectSchema = makeSchema225();
5338
- var EmployeeUpsertWithoutRoleAssignmentsInputObjectZodSchema = makeSchema225();
5406
+ var EmployeeUpsertWithoutRoleAssignmentsInputObjectSchema = makeSchema226();
5407
+ var EmployeeUpsertWithoutRoleAssignmentsInputObjectZodSchema = makeSchema226();
5339
5408
 
5340
5409
  // src/generated/schemas/objects/EmployeeUpdateToOneWithWhereWithoutRoleAssignmentsInput.schema.ts
5341
- var z299 = __toESM(require("zod"), 1);
5342
- var makeSchema226 = () => z299.object({
5343
- where: z299.lazy(() => EmployeeWhereInputObjectSchema).optional(),
5344
- data: z299.union([z299.lazy(() => EmployeeUpdateWithoutRoleAssignmentsInputObjectSchema), z299.lazy(() => EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectSchema)])
5410
+ var z301 = __toESM(require("zod"), 1);
5411
+ var makeSchema227 = () => z301.object({
5412
+ where: z301.lazy(() => EmployeeWhereInputObjectSchema).optional(),
5413
+ data: z301.union([z301.lazy(() => EmployeeUpdateWithoutRoleAssignmentsInputObjectSchema), z301.lazy(() => EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectSchema)])
5345
5414
  }).strict();
5346
- var EmployeeUpdateToOneWithWhereWithoutRoleAssignmentsInputObjectSchema = makeSchema226();
5347
- var EmployeeUpdateToOneWithWhereWithoutRoleAssignmentsInputObjectZodSchema = makeSchema226();
5415
+ var EmployeeUpdateToOneWithWhereWithoutRoleAssignmentsInputObjectSchema = makeSchema227();
5416
+ var EmployeeUpdateToOneWithWhereWithoutRoleAssignmentsInputObjectZodSchema = makeSchema227();
5348
5417
 
5349
5418
  // src/generated/schemas/objects/EmployeeUpdateOneRequiredWithoutRoleAssignmentsNestedInput.schema.ts
5350
- var makeSchema227 = () => z300.object({
5351
- create: z300.union([z300.lazy(() => EmployeeCreateWithoutRoleAssignmentsInputObjectSchema), z300.lazy(() => EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema)]).optional(),
5352
- connectOrCreate: z300.lazy(() => EmployeeCreateOrConnectWithoutRoleAssignmentsInputObjectSchema).optional(),
5353
- upsert: z300.lazy(() => EmployeeUpsertWithoutRoleAssignmentsInputObjectSchema).optional(),
5354
- connect: z300.lazy(() => EmployeeWhereUniqueInputObjectSchema).optional(),
5355
- update: z300.union([z300.lazy(() => EmployeeUpdateToOneWithWhereWithoutRoleAssignmentsInputObjectSchema), z300.lazy(() => EmployeeUpdateWithoutRoleAssignmentsInputObjectSchema), z300.lazy(() => EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectSchema)]).optional()
5419
+ var makeSchema228 = () => z302.object({
5420
+ create: z302.union([z302.lazy(() => EmployeeCreateWithoutRoleAssignmentsInputObjectSchema), z302.lazy(() => EmployeeUncheckedCreateWithoutRoleAssignmentsInputObjectSchema)]).optional(),
5421
+ connectOrCreate: z302.lazy(() => EmployeeCreateOrConnectWithoutRoleAssignmentsInputObjectSchema).optional(),
5422
+ upsert: z302.lazy(() => EmployeeUpsertWithoutRoleAssignmentsInputObjectSchema).optional(),
5423
+ connect: z302.lazy(() => EmployeeWhereUniqueInputObjectSchema).optional(),
5424
+ update: z302.union([z302.lazy(() => EmployeeUpdateToOneWithWhereWithoutRoleAssignmentsInputObjectSchema), z302.lazy(() => EmployeeUpdateWithoutRoleAssignmentsInputObjectSchema), z302.lazy(() => EmployeeUncheckedUpdateWithoutRoleAssignmentsInputObjectSchema)]).optional()
5356
5425
  }).strict();
5357
- var EmployeeUpdateOneRequiredWithoutRoleAssignmentsNestedInputObjectSchema = makeSchema227();
5358
- var EmployeeUpdateOneRequiredWithoutRoleAssignmentsNestedInputObjectZodSchema = makeSchema227();
5426
+ var EmployeeUpdateOneRequiredWithoutRoleAssignmentsNestedInputObjectSchema = makeSchema228();
5427
+ var EmployeeUpdateOneRequiredWithoutRoleAssignmentsNestedInputObjectZodSchema = makeSchema228();
5359
5428
 
5360
5429
  // src/generated/schemas/objects/EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInput.schema.ts
5361
- var makeSchema228 = () => z301.object({
5362
- updatedAt: z301.union([z301.coerce.date(), z301.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
5363
- employee: z301.lazy(() => EmployeeUpdateOneRequiredWithoutRoleAssignmentsNestedInputObjectSchema).optional()
5430
+ var makeSchema229 = () => z303.object({
5431
+ updatedAt: z303.union([z303.coerce.date(), z303.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
5432
+ employee: z303.lazy(() => EmployeeUpdateOneRequiredWithoutRoleAssignmentsNestedInputObjectSchema).optional()
5364
5433
  }).strict();
5365
- var EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInputObjectSchema = makeSchema228();
5366
- var EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInputObjectZodSchema = makeSchema228();
5434
+ var EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInputObjectSchema = makeSchema229();
5435
+ var EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInputObjectZodSchema = makeSchema229();
5367
5436
 
5368
5437
  // src/generated/schemas/objects/EmployeeRoleAssignmentUncheckedUpdateWithoutEmployeeRoleInput.schema.ts
5369
- var z302 = __toESM(require("zod"), 1);
5370
- var makeSchema229 = () => z302.object({
5371
- id: z302.union([z302.number().int(), z302.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
5372
- employeeId: z302.union([z302.string(), z302.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5373
- updatedAt: z302.union([z302.coerce.date(), z302.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
5438
+ var z304 = __toESM(require("zod"), 1);
5439
+ var makeSchema230 = () => z304.object({
5440
+ id: z304.union([z304.number().int(), z304.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
5441
+ employeeId: z304.union([z304.string(), z304.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5442
+ updatedAt: z304.union([z304.coerce.date(), z304.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
5374
5443
  }).strict();
5375
- var EmployeeRoleAssignmentUncheckedUpdateWithoutEmployeeRoleInputObjectSchema = makeSchema229();
5376
- var EmployeeRoleAssignmentUncheckedUpdateWithoutEmployeeRoleInputObjectZodSchema = makeSchema229();
5444
+ var EmployeeRoleAssignmentUncheckedUpdateWithoutEmployeeRoleInputObjectSchema = makeSchema230();
5445
+ var EmployeeRoleAssignmentUncheckedUpdateWithoutEmployeeRoleInputObjectZodSchema = makeSchema230();
5377
5446
 
5378
5447
  // src/generated/schemas/objects/EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInput.schema.ts
5379
- var makeSchema230 = () => z303.object({
5380
- where: z303.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema),
5381
- update: z303.union([z303.lazy(() => EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInputObjectSchema), z303.lazy(() => EmployeeRoleAssignmentUncheckedUpdateWithoutEmployeeRoleInputObjectSchema)]),
5382
- create: z303.union([z303.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z303.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema)])
5448
+ var makeSchema231 = () => z305.object({
5449
+ where: z305.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema),
5450
+ update: z305.union([z305.lazy(() => EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInputObjectSchema), z305.lazy(() => EmployeeRoleAssignmentUncheckedUpdateWithoutEmployeeRoleInputObjectSchema)]),
5451
+ create: z305.union([z305.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z305.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema)])
5383
5452
  }).strict();
5384
- var EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectSchema = makeSchema230();
5385
- var EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectZodSchema = makeSchema230();
5453
+ var EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectSchema = makeSchema231();
5454
+ var EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectZodSchema = makeSchema231();
5386
5455
 
5387
5456
  // src/generated/schemas/objects/EmployeeRoleAssignmentUpdateWithWhereUniqueWithoutEmployeeRoleInput.schema.ts
5388
- var z304 = __toESM(require("zod"), 1);
5389
- var makeSchema231 = () => z304.object({
5390
- where: z304.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema),
5391
- data: z304.union([z304.lazy(() => EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInputObjectSchema), z304.lazy(() => EmployeeRoleAssignmentUncheckedUpdateWithoutEmployeeRoleInputObjectSchema)])
5457
+ var z306 = __toESM(require("zod"), 1);
5458
+ var makeSchema232 = () => z306.object({
5459
+ where: z306.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema),
5460
+ data: z306.union([z306.lazy(() => EmployeeRoleAssignmentUpdateWithoutEmployeeRoleInputObjectSchema), z306.lazy(() => EmployeeRoleAssignmentUncheckedUpdateWithoutEmployeeRoleInputObjectSchema)])
5392
5461
  }).strict();
5393
- var EmployeeRoleAssignmentUpdateWithWhereUniqueWithoutEmployeeRoleInputObjectSchema = makeSchema231();
5394
- var EmployeeRoleAssignmentUpdateWithWhereUniqueWithoutEmployeeRoleInputObjectZodSchema = makeSchema231();
5462
+ var EmployeeRoleAssignmentUpdateWithWhereUniqueWithoutEmployeeRoleInputObjectSchema = makeSchema232();
5463
+ var EmployeeRoleAssignmentUpdateWithWhereUniqueWithoutEmployeeRoleInputObjectZodSchema = makeSchema232();
5395
5464
 
5396
5465
  // src/generated/schemas/objects/EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInput.schema.ts
5397
- var z306 = __toESM(require("zod"), 1);
5466
+ var z308 = __toESM(require("zod"), 1);
5398
5467
 
5399
5468
  // src/generated/schemas/objects/EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleInput.schema.ts
5400
- var z305 = __toESM(require("zod"), 1);
5401
- var makeSchema232 = () => z305.object({
5402
- id: z305.union([z305.number().int(), z305.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
5403
- employeeId: z305.union([z305.string(), z305.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5404
- updatedAt: z305.union([z305.coerce.date(), z305.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
5469
+ var z307 = __toESM(require("zod"), 1);
5470
+ var makeSchema233 = () => z307.object({
5471
+ id: z307.union([z307.number().int(), z307.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
5472
+ employeeId: z307.union([z307.string(), z307.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5473
+ updatedAt: z307.union([z307.coerce.date(), z307.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
5405
5474
  }).strict();
5406
- var EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleInputObjectSchema = makeSchema232();
5407
- var EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleInputObjectZodSchema = makeSchema232();
5475
+ var EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleInputObjectSchema = makeSchema233();
5476
+ var EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleInputObjectZodSchema = makeSchema233();
5408
5477
 
5409
5478
  // src/generated/schemas/objects/EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInput.schema.ts
5410
- var makeSchema233 = () => z306.object({
5411
- where: z306.lazy(() => EmployeeRoleAssignmentScalarWhereInputObjectSchema),
5412
- data: z306.union([z306.lazy(() => EmployeeRoleAssignmentUpdateManyMutationInputObjectSchema), z306.lazy(() => EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleInputObjectSchema)])
5479
+ var makeSchema234 = () => z308.object({
5480
+ where: z308.lazy(() => EmployeeRoleAssignmentScalarWhereInputObjectSchema),
5481
+ data: z308.union([z308.lazy(() => EmployeeRoleAssignmentUpdateManyMutationInputObjectSchema), z308.lazy(() => EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleInputObjectSchema)])
5413
5482
  }).strict();
5414
- var EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectSchema = makeSchema233();
5415
- var EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectZodSchema = makeSchema233();
5483
+ var EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectSchema = makeSchema234();
5484
+ var EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectZodSchema = makeSchema234();
5416
5485
 
5417
5486
  // src/generated/schemas/objects/EmployeeRoleAssignmentUpdateManyWithoutEmployeeRoleNestedInput.schema.ts
5418
- var makeSchema234 = () => z307.object({
5419
- create: z307.union([z307.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema).array(), z307.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5420
- connectOrCreate: z307.union([z307.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5421
- upsert: z307.union([z307.lazy(() => EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5422
- createMany: z307.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectSchema).optional(),
5423
- set: z307.union([z307.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional(),
5424
- disconnect: z307.union([z307.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional(),
5425
- delete: z307.union([z307.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional(),
5426
- connect: z307.union([z307.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional(),
5427
- update: z307.union([z307.lazy(() => EmployeeRoleAssignmentUpdateWithWhereUniqueWithoutEmployeeRoleInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentUpdateWithWhereUniqueWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5428
- updateMany: z307.union([z307.lazy(() => EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5429
- deleteMany: z307.union([z307.lazy(() => EmployeeRoleAssignmentScalarWhereInputObjectSchema), z307.lazy(() => EmployeeRoleAssignmentScalarWhereInputObjectSchema).array()]).optional()
5430
- }).strict();
5431
- var EmployeeRoleAssignmentUpdateManyWithoutEmployeeRoleNestedInputObjectSchema = makeSchema234();
5432
- var EmployeeRoleAssignmentUpdateManyWithoutEmployeeRoleNestedInputObjectZodSchema = makeSchema234();
5433
-
5434
- // src/generated/schemas/objects/EmployeeRoleUpdateInput.schema.ts
5435
- var makeSchema235 = () => z308.object({
5436
- name: z308.union([z308.string(), z308.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5437
- color: z308.union([z308.string(), z308.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5438
- updatedAt: z308.union([z308.coerce.date(), z308.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
5439
- assignments: z308.lazy(() => EmployeeRoleAssignmentUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional(),
5440
- permissions: z308.lazy(() => EmployeeRolePermissionUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional()
5441
- }).strict();
5442
- var EmployeeRoleUpdateInputObjectSchema = makeSchema235();
5443
- var EmployeeRoleUpdateInputObjectZodSchema = makeSchema235();
5444
-
5445
- // src/generated/schemas/objects/EmployeeRoleUncheckedUpdateInput.schema.ts
5446
- var z310 = __toESM(require("zod"), 1);
5447
-
5448
- // src/generated/schemas/objects/EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleNestedInput.schema.ts
5449
- var z309 = __toESM(require("zod"), 1);
5450
- var makeSchema236 = () => z309.object({
5487
+ var makeSchema235 = () => z309.object({
5451
5488
  create: z309.union([z309.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z309.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema).array(), z309.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema), z309.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5452
5489
  connectOrCreate: z309.union([z309.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema), z309.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5453
5490
  upsert: z309.union([z309.lazy(() => EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectSchema), z309.lazy(() => EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
@@ -5460,273 +5497,260 @@ var makeSchema236 = () => z309.object({
5460
5497
  updateMany: z309.union([z309.lazy(() => EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectSchema), z309.lazy(() => EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5461
5498
  deleteMany: z309.union([z309.lazy(() => EmployeeRoleAssignmentScalarWhereInputObjectSchema), z309.lazy(() => EmployeeRoleAssignmentScalarWhereInputObjectSchema).array()]).optional()
5462
5499
  }).strict();
5463
- var EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectSchema = makeSchema236();
5464
- var EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectZodSchema = makeSchema236();
5500
+ var EmployeeRoleAssignmentUpdateManyWithoutEmployeeRoleNestedInputObjectSchema = makeSchema235();
5501
+ var EmployeeRoleAssignmentUpdateManyWithoutEmployeeRoleNestedInputObjectZodSchema = makeSchema235();
5465
5502
 
5466
- // src/generated/schemas/objects/EmployeeRoleUncheckedUpdateInput.schema.ts
5467
- var makeSchema237 = () => z310.object({
5468
- id: z310.union([z310.number().int(), z310.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
5503
+ // src/generated/schemas/objects/EmployeeRoleUpdateInput.schema.ts
5504
+ var makeSchema236 = () => z310.object({
5469
5505
  name: z310.union([z310.string(), z310.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5470
- color: z310.union([z310.string(), z310.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5506
+ color: z310.union([z310.string(), z310.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5471
5507
  updatedAt: z310.union([z310.coerce.date(), z310.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
5472
- assignments: z310.lazy(() => EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional(),
5473
- permissions: z310.lazy(() => EmployeeRolePermissionUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional()
5508
+ assignments: z310.lazy(() => EmployeeRoleAssignmentUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional(),
5509
+ permissions: z310.lazy(() => EmployeeRolePermissionUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional()
5510
+ }).strict();
5511
+ var EmployeeRoleUpdateInputObjectSchema = makeSchema236();
5512
+ var EmployeeRoleUpdateInputObjectZodSchema = makeSchema236();
5513
+
5514
+ // src/generated/schemas/objects/EmployeeRoleUncheckedUpdateInput.schema.ts
5515
+ var z312 = __toESM(require("zod"), 1);
5516
+
5517
+ // src/generated/schemas/objects/EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleNestedInput.schema.ts
5518
+ var z311 = __toESM(require("zod"), 1);
5519
+ var makeSchema237 = () => z311.object({
5520
+ create: z311.union([z311.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentCreateWithoutEmployeeRoleInputObjectSchema).array(), z311.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentUncheckedCreateWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5521
+ connectOrCreate: z311.union([z311.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentCreateOrConnectWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5522
+ upsert: z311.union([z311.lazy(() => EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentUpsertWithWhereUniqueWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5523
+ createMany: z311.lazy(() => EmployeeRoleAssignmentCreateManyEmployeeRoleInputEnvelopeObjectSchema).optional(),
5524
+ set: z311.union([z311.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional(),
5525
+ disconnect: z311.union([z311.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional(),
5526
+ delete: z311.union([z311.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional(),
5527
+ connect: z311.union([z311.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentWhereUniqueInputObjectSchema).array()]).optional(),
5528
+ update: z311.union([z311.lazy(() => EmployeeRoleAssignmentUpdateWithWhereUniqueWithoutEmployeeRoleInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentUpdateWithWhereUniqueWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5529
+ updateMany: z311.union([z311.lazy(() => EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentUpdateManyWithWhereWithoutEmployeeRoleInputObjectSchema).array()]).optional(),
5530
+ deleteMany: z311.union([z311.lazy(() => EmployeeRoleAssignmentScalarWhereInputObjectSchema), z311.lazy(() => EmployeeRoleAssignmentScalarWhereInputObjectSchema).array()]).optional()
5531
+ }).strict();
5532
+ var EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectSchema = makeSchema237();
5533
+ var EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectZodSchema = makeSchema237();
5534
+
5535
+ // src/generated/schemas/objects/EmployeeRoleUncheckedUpdateInput.schema.ts
5536
+ var makeSchema238 = () => z312.object({
5537
+ id: z312.union([z312.number().int(), z312.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
5538
+ name: z312.union([z312.string(), z312.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5539
+ color: z312.union([z312.string(), z312.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5540
+ updatedAt: z312.union([z312.coerce.date(), z312.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
5541
+ assignments: z312.lazy(() => EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional(),
5542
+ permissions: z312.lazy(() => EmployeeRolePermissionUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional()
5474
5543
  }).strict();
5475
- var EmployeeRoleUncheckedUpdateInputObjectSchema = makeSchema237();
5476
- var EmployeeRoleUncheckedUpdateInputObjectZodSchema = makeSchema237();
5544
+ var EmployeeRoleUncheckedUpdateInputObjectSchema = makeSchema238();
5545
+ var EmployeeRoleUncheckedUpdateInputObjectZodSchema = makeSchema238();
5477
5546
 
5478
5547
  // src/generated/schemas/updateOneEmployeeRole.schema.ts
5479
- var EmployeeRoleUpdateOneSchema = z311.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), data: z311.union([EmployeeRoleUpdateInputObjectSchema, EmployeeRoleUncheckedUpdateInputObjectSchema]), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5480
- var EmployeeRoleUpdateOneZodSchema = z311.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), data: z311.union([EmployeeRoleUpdateInputObjectSchema, EmployeeRoleUncheckedUpdateInputObjectSchema]), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5548
+ var EmployeeRoleUpdateOneSchema = z313.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), data: z313.union([EmployeeRoleUpdateInputObjectSchema, EmployeeRoleUncheckedUpdateInputObjectSchema]), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5549
+ var EmployeeRoleUpdateOneZodSchema = z313.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), data: z313.union([EmployeeRoleUpdateInputObjectSchema, EmployeeRoleUncheckedUpdateInputObjectSchema]), where: EmployeeRoleWhereUniqueInputObjectSchema }).strict();
5481
5550
 
5482
5551
  // src/generated/schemas/updateManyEmployeeRole.schema.ts
5483
- var z313 = __toESM(require("zod"), 1);
5552
+ var z315 = __toESM(require("zod"), 1);
5484
5553
 
5485
5554
  // src/generated/schemas/objects/EmployeeRoleUpdateManyMutationInput.schema.ts
5486
- var z312 = __toESM(require("zod"), 1);
5487
- var makeSchema238 = () => z312.object({
5488
- name: z312.union([z312.string(), z312.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5489
- color: z312.union([z312.string(), z312.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
5490
- updatedAt: z312.union([z312.coerce.date(), z312.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
5555
+ var z314 = __toESM(require("zod"), 1);
5556
+ var makeSchema239 = () => z314.object({
5557
+ name: z314.union([z314.string(), z314.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5558
+ color: z314.union([z314.string(), z314.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
5559
+ updatedAt: z314.union([z314.coerce.date(), z314.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
5491
5560
  }).strict();
5492
- var EmployeeRoleUpdateManyMutationInputObjectSchema = makeSchema238();
5493
- var EmployeeRoleUpdateManyMutationInputObjectZodSchema = makeSchema238();
5561
+ var EmployeeRoleUpdateManyMutationInputObjectSchema = makeSchema239();
5562
+ var EmployeeRoleUpdateManyMutationInputObjectZodSchema = makeSchema239();
5494
5563
 
5495
5564
  // src/generated/schemas/updateManyEmployeeRole.schema.ts
5496
- var EmployeeRoleUpdateManySchema = z313.object({ data: EmployeeRoleUpdateManyMutationInputObjectSchema, where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5497
- var EmployeeRoleUpdateManyZodSchema = z313.object({ data: EmployeeRoleUpdateManyMutationInputObjectSchema, where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5565
+ var EmployeeRoleUpdateManySchema = z315.object({ data: EmployeeRoleUpdateManyMutationInputObjectSchema, where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5566
+ var EmployeeRoleUpdateManyZodSchema = z315.object({ data: EmployeeRoleUpdateManyMutationInputObjectSchema, where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5498
5567
 
5499
5568
  // src/generated/schemas/updateManyAndReturnEmployeeRole.schema.ts
5500
- var z314 = __toESM(require("zod"), 1);
5501
- var EmployeeRoleUpdateManyAndReturnSchema = z314.object({ select: EmployeeRoleSelectObjectSchema.optional(), data: EmployeeRoleUpdateManyMutationInputObjectSchema, where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5502
- var EmployeeRoleUpdateManyAndReturnZodSchema = z314.object({ select: EmployeeRoleSelectObjectSchema.optional(), data: EmployeeRoleUpdateManyMutationInputObjectSchema, where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5569
+ var z316 = __toESM(require("zod"), 1);
5570
+ var EmployeeRoleUpdateManyAndReturnSchema = z316.object({ select: EmployeeRoleSelectObjectSchema.optional(), data: EmployeeRoleUpdateManyMutationInputObjectSchema, where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5571
+ var EmployeeRoleUpdateManyAndReturnZodSchema = z316.object({ select: EmployeeRoleSelectObjectSchema.optional(), data: EmployeeRoleUpdateManyMutationInputObjectSchema, where: EmployeeRoleWhereInputObjectSchema.optional() }).strict();
5503
5572
 
5504
5573
  // src/generated/schemas/upsertOneEmployeeRole.schema.ts
5505
- var z315 = __toESM(require("zod"), 1);
5506
- var EmployeeRoleUpsertOneSchema = z315.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema, create: z315.union([EmployeeRoleCreateInputObjectSchema, EmployeeRoleUncheckedCreateInputObjectSchema]), update: z315.union([EmployeeRoleUpdateInputObjectSchema, EmployeeRoleUncheckedUpdateInputObjectSchema]) }).strict();
5507
- var EmployeeRoleUpsertOneZodSchema = z315.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema, create: z315.union([EmployeeRoleCreateInputObjectSchema, EmployeeRoleUncheckedCreateInputObjectSchema]), update: z315.union([EmployeeRoleUpdateInputObjectSchema, EmployeeRoleUncheckedUpdateInputObjectSchema]) }).strict();
5574
+ var z317 = __toESM(require("zod"), 1);
5575
+ var EmployeeRoleUpsertOneSchema = z317.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema, create: z317.union([EmployeeRoleCreateInputObjectSchema, EmployeeRoleUncheckedCreateInputObjectSchema]), update: z317.union([EmployeeRoleUpdateInputObjectSchema, EmployeeRoleUncheckedUpdateInputObjectSchema]) }).strict();
5576
+ var EmployeeRoleUpsertOneZodSchema = z317.object({ select: EmployeeRoleSelectObjectSchema.optional(), include: EmployeeRoleIncludeObjectSchema.optional(), where: EmployeeRoleWhereUniqueInputObjectSchema, create: z317.union([EmployeeRoleCreateInputObjectSchema, EmployeeRoleUncheckedCreateInputObjectSchema]), update: z317.union([EmployeeRoleUpdateInputObjectSchema, EmployeeRoleUncheckedUpdateInputObjectSchema]) }).strict();
5508
5577
 
5509
5578
  // src/generated/schemas/aggregateEmployeeRole.schema.ts
5510
- var z320 = __toESM(require("zod"), 1);
5579
+ var z322 = __toESM(require("zod"), 1);
5511
5580
 
5512
5581
  // src/generated/schemas/objects/EmployeeRoleMinAggregateInput.schema.ts
5513
- var z316 = __toESM(require("zod"), 1);
5514
- var makeSchema239 = () => z316.object({
5515
- id: z316.literal(true).optional(),
5516
- name: z316.literal(true).optional(),
5517
- color: z316.literal(true).optional(),
5518
- updatedAt: z316.literal(true).optional()
5582
+ var z318 = __toESM(require("zod"), 1);
5583
+ var makeSchema240 = () => z318.object({
5584
+ id: z318.literal(true).optional(),
5585
+ name: z318.literal(true).optional(),
5586
+ color: z318.literal(true).optional(),
5587
+ updatedAt: z318.literal(true).optional()
5519
5588
  }).strict();
5520
- var EmployeeRoleMinAggregateInputObjectSchema = makeSchema239();
5521
- var EmployeeRoleMinAggregateInputObjectZodSchema = makeSchema239();
5589
+ var EmployeeRoleMinAggregateInputObjectSchema = makeSchema240();
5590
+ var EmployeeRoleMinAggregateInputObjectZodSchema = makeSchema240();
5522
5591
 
5523
5592
  // src/generated/schemas/objects/EmployeeRoleMaxAggregateInput.schema.ts
5524
- var z317 = __toESM(require("zod"), 1);
5525
- var makeSchema240 = () => z317.object({
5526
- id: z317.literal(true).optional(),
5527
- name: z317.literal(true).optional(),
5528
- color: z317.literal(true).optional(),
5529
- updatedAt: z317.literal(true).optional()
5593
+ var z319 = __toESM(require("zod"), 1);
5594
+ var makeSchema241 = () => z319.object({
5595
+ id: z319.literal(true).optional(),
5596
+ name: z319.literal(true).optional(),
5597
+ color: z319.literal(true).optional(),
5598
+ updatedAt: z319.literal(true).optional()
5530
5599
  }).strict();
5531
- var EmployeeRoleMaxAggregateInputObjectSchema = makeSchema240();
5532
- var EmployeeRoleMaxAggregateInputObjectZodSchema = makeSchema240();
5600
+ var EmployeeRoleMaxAggregateInputObjectSchema = makeSchema241();
5601
+ var EmployeeRoleMaxAggregateInputObjectZodSchema = makeSchema241();
5533
5602
 
5534
5603
  // src/generated/schemas/objects/EmployeeRoleAvgAggregateInput.schema.ts
5535
- var z318 = __toESM(require("zod"), 1);
5536
- var makeSchema241 = () => z318.object({
5537
- id: z318.literal(true).optional()
5604
+ var z320 = __toESM(require("zod"), 1);
5605
+ var makeSchema242 = () => z320.object({
5606
+ id: z320.literal(true).optional()
5538
5607
  }).strict();
5539
- var EmployeeRoleAvgAggregateInputObjectSchema = makeSchema241();
5540
- var EmployeeRoleAvgAggregateInputObjectZodSchema = makeSchema241();
5608
+ var EmployeeRoleAvgAggregateInputObjectSchema = makeSchema242();
5609
+ var EmployeeRoleAvgAggregateInputObjectZodSchema = makeSchema242();
5541
5610
 
5542
5611
  // src/generated/schemas/objects/EmployeeRoleSumAggregateInput.schema.ts
5543
- var z319 = __toESM(require("zod"), 1);
5544
- var makeSchema242 = () => z319.object({
5545
- id: z319.literal(true).optional()
5612
+ var z321 = __toESM(require("zod"), 1);
5613
+ var makeSchema243 = () => z321.object({
5614
+ id: z321.literal(true).optional()
5546
5615
  }).strict();
5547
- var EmployeeRoleSumAggregateInputObjectSchema = makeSchema242();
5548
- var EmployeeRoleSumAggregateInputObjectZodSchema = makeSchema242();
5616
+ var EmployeeRoleSumAggregateInputObjectSchema = makeSchema243();
5617
+ var EmployeeRoleSumAggregateInputObjectZodSchema = makeSchema243();
5549
5618
 
5550
5619
  // src/generated/schemas/aggregateEmployeeRole.schema.ts
5551
- var EmployeeRoleAggregateSchema = z320.object({ orderBy: z320.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z320.number().optional(), skip: z320.number().optional(), _count: z320.union([z320.literal(true), EmployeeRoleCountAggregateInputObjectSchema]).optional(), _min: EmployeeRoleMinAggregateInputObjectSchema.optional(), _max: EmployeeRoleMaxAggregateInputObjectSchema.optional(), _avg: EmployeeRoleAvgAggregateInputObjectSchema.optional(), _sum: EmployeeRoleSumAggregateInputObjectSchema.optional() }).strict();
5552
- var EmployeeRoleAggregateZodSchema = z320.object({ orderBy: z320.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z320.number().optional(), skip: z320.number().optional(), _count: z320.union([z320.literal(true), EmployeeRoleCountAggregateInputObjectSchema]).optional(), _min: EmployeeRoleMinAggregateInputObjectSchema.optional(), _max: EmployeeRoleMaxAggregateInputObjectSchema.optional(), _avg: EmployeeRoleAvgAggregateInputObjectSchema.optional(), _sum: EmployeeRoleSumAggregateInputObjectSchema.optional() }).strict();
5620
+ var EmployeeRoleAggregateSchema = z322.object({ orderBy: z322.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z322.number().optional(), skip: z322.number().optional(), _count: z322.union([z322.literal(true), EmployeeRoleCountAggregateInputObjectSchema]).optional(), _min: EmployeeRoleMinAggregateInputObjectSchema.optional(), _max: EmployeeRoleMaxAggregateInputObjectSchema.optional(), _avg: EmployeeRoleAvgAggregateInputObjectSchema.optional(), _sum: EmployeeRoleSumAggregateInputObjectSchema.optional() }).strict();
5621
+ var EmployeeRoleAggregateZodSchema = z322.object({ orderBy: z322.union([EmployeeRoleOrderByWithRelationInputObjectSchema, EmployeeRoleOrderByWithRelationInputObjectSchema.array()]).optional(), where: EmployeeRoleWhereInputObjectSchema.optional(), cursor: EmployeeRoleWhereUniqueInputObjectSchema.optional(), take: z322.number().optional(), skip: z322.number().optional(), _count: z322.union([z322.literal(true), EmployeeRoleCountAggregateInputObjectSchema]).optional(), _min: EmployeeRoleMinAggregateInputObjectSchema.optional(), _max: EmployeeRoleMaxAggregateInputObjectSchema.optional(), _avg: EmployeeRoleAvgAggregateInputObjectSchema.optional(), _sum: EmployeeRoleSumAggregateInputObjectSchema.optional() }).strict();
5553
5622
 
5554
5623
  // src/generated/schemas/groupByEmployeeRole.schema.ts
5555
5624
  var z333 = __toESM(require("zod"), 1);
5556
5625
 
5557
5626
  // src/generated/schemas/objects/EmployeeRoleOrderByWithAggregationInput.schema.ts
5558
- var z326 = __toESM(require("zod"), 1);
5627
+ var z328 = __toESM(require("zod"), 1);
5559
5628
 
5560
5629
  // src/generated/schemas/objects/EmployeeRoleCountOrderByAggregateInput.schema.ts
5561
- var z321 = __toESM(require("zod"), 1);
5562
- var makeSchema243 = () => z321.object({
5630
+ var z323 = __toESM(require("zod"), 1);
5631
+ var makeSchema244 = () => z323.object({
5563
5632
  id: SortOrderSchema.optional(),
5564
5633
  name: SortOrderSchema.optional(),
5565
5634
  color: SortOrderSchema.optional(),
5566
5635
  updatedAt: SortOrderSchema.optional()
5567
5636
  }).strict();
5568
- var EmployeeRoleCountOrderByAggregateInputObjectSchema = makeSchema243();
5569
- var EmployeeRoleCountOrderByAggregateInputObjectZodSchema = makeSchema243();
5637
+ var EmployeeRoleCountOrderByAggregateInputObjectSchema = makeSchema244();
5638
+ var EmployeeRoleCountOrderByAggregateInputObjectZodSchema = makeSchema244();
5570
5639
 
5571
5640
  // src/generated/schemas/objects/EmployeeRoleAvgOrderByAggregateInput.schema.ts
5572
- var z322 = __toESM(require("zod"), 1);
5573
- var makeSchema244 = () => z322.object({
5641
+ var z324 = __toESM(require("zod"), 1);
5642
+ var makeSchema245 = () => z324.object({
5574
5643
  id: SortOrderSchema.optional()
5575
5644
  }).strict();
5576
- var EmployeeRoleAvgOrderByAggregateInputObjectSchema = makeSchema244();
5577
- var EmployeeRoleAvgOrderByAggregateInputObjectZodSchema = makeSchema244();
5645
+ var EmployeeRoleAvgOrderByAggregateInputObjectSchema = makeSchema245();
5646
+ var EmployeeRoleAvgOrderByAggregateInputObjectZodSchema = makeSchema245();
5578
5647
 
5579
5648
  // src/generated/schemas/objects/EmployeeRoleMaxOrderByAggregateInput.schema.ts
5580
- var z323 = __toESM(require("zod"), 1);
5581
- var makeSchema245 = () => z323.object({
5649
+ var z325 = __toESM(require("zod"), 1);
5650
+ var makeSchema246 = () => z325.object({
5582
5651
  id: SortOrderSchema.optional(),
5583
5652
  name: SortOrderSchema.optional(),
5584
5653
  color: SortOrderSchema.optional(),
5585
5654
  updatedAt: SortOrderSchema.optional()
5586
5655
  }).strict();
5587
- var EmployeeRoleMaxOrderByAggregateInputObjectSchema = makeSchema245();
5588
- var EmployeeRoleMaxOrderByAggregateInputObjectZodSchema = makeSchema245();
5656
+ var EmployeeRoleMaxOrderByAggregateInputObjectSchema = makeSchema246();
5657
+ var EmployeeRoleMaxOrderByAggregateInputObjectZodSchema = makeSchema246();
5589
5658
 
5590
5659
  // src/generated/schemas/objects/EmployeeRoleMinOrderByAggregateInput.schema.ts
5591
- var z324 = __toESM(require("zod"), 1);
5592
- var makeSchema246 = () => z324.object({
5660
+ var z326 = __toESM(require("zod"), 1);
5661
+ var makeSchema247 = () => z326.object({
5593
5662
  id: SortOrderSchema.optional(),
5594
5663
  name: SortOrderSchema.optional(),
5595
5664
  color: SortOrderSchema.optional(),
5596
5665
  updatedAt: SortOrderSchema.optional()
5597
5666
  }).strict();
5598
- var EmployeeRoleMinOrderByAggregateInputObjectSchema = makeSchema246();
5599
- var EmployeeRoleMinOrderByAggregateInputObjectZodSchema = makeSchema246();
5667
+ var EmployeeRoleMinOrderByAggregateInputObjectSchema = makeSchema247();
5668
+ var EmployeeRoleMinOrderByAggregateInputObjectZodSchema = makeSchema247();
5600
5669
 
5601
5670
  // src/generated/schemas/objects/EmployeeRoleSumOrderByAggregateInput.schema.ts
5602
- var z325 = __toESM(require("zod"), 1);
5603
- var makeSchema247 = () => z325.object({
5671
+ var z327 = __toESM(require("zod"), 1);
5672
+ var makeSchema248 = () => z327.object({
5604
5673
  id: SortOrderSchema.optional()
5605
5674
  }).strict();
5606
- var EmployeeRoleSumOrderByAggregateInputObjectSchema = makeSchema247();
5607
- var EmployeeRoleSumOrderByAggregateInputObjectZodSchema = makeSchema247();
5675
+ var EmployeeRoleSumOrderByAggregateInputObjectSchema = makeSchema248();
5676
+ var EmployeeRoleSumOrderByAggregateInputObjectZodSchema = makeSchema248();
5608
5677
 
5609
5678
  // src/generated/schemas/objects/EmployeeRoleOrderByWithAggregationInput.schema.ts
5610
- var makeSchema248 = () => z326.object({
5679
+ var makeSchema249 = () => z328.object({
5611
5680
  id: SortOrderSchema.optional(),
5612
5681
  name: SortOrderSchema.optional(),
5613
- color: z326.union([SortOrderSchema, z326.lazy(() => SortOrderInputObjectSchema)]).optional(),
5682
+ color: SortOrderSchema.optional(),
5614
5683
  updatedAt: SortOrderSchema.optional(),
5615
- _count: z326.lazy(() => EmployeeRoleCountOrderByAggregateInputObjectSchema).optional(),
5616
- _avg: z326.lazy(() => EmployeeRoleAvgOrderByAggregateInputObjectSchema).optional(),
5617
- _max: z326.lazy(() => EmployeeRoleMaxOrderByAggregateInputObjectSchema).optional(),
5618
- _min: z326.lazy(() => EmployeeRoleMinOrderByAggregateInputObjectSchema).optional(),
5619
- _sum: z326.lazy(() => EmployeeRoleSumOrderByAggregateInputObjectSchema).optional()
5684
+ _count: z328.lazy(() => EmployeeRoleCountOrderByAggregateInputObjectSchema).optional(),
5685
+ _avg: z328.lazy(() => EmployeeRoleAvgOrderByAggregateInputObjectSchema).optional(),
5686
+ _max: z328.lazy(() => EmployeeRoleMaxOrderByAggregateInputObjectSchema).optional(),
5687
+ _min: z328.lazy(() => EmployeeRoleMinOrderByAggregateInputObjectSchema).optional(),
5688
+ _sum: z328.lazy(() => EmployeeRoleSumOrderByAggregateInputObjectSchema).optional()
5620
5689
  }).strict();
5621
- var EmployeeRoleOrderByWithAggregationInputObjectSchema = makeSchema248();
5622
- var EmployeeRoleOrderByWithAggregationInputObjectZodSchema = makeSchema248();
5690
+ var EmployeeRoleOrderByWithAggregationInputObjectSchema = makeSchema249();
5691
+ var EmployeeRoleOrderByWithAggregationInputObjectZodSchema = makeSchema249();
5623
5692
 
5624
5693
  // src/generated/schemas/objects/EmployeeRoleScalarWhereWithAggregatesInput.schema.ts
5625
5694
  var z332 = __toESM(require("zod"), 1);
5626
5695
 
5627
5696
  // src/generated/schemas/objects/IntWithAggregatesFilter.schema.ts
5628
- var z329 = __toESM(require("zod"), 1);
5697
+ var z331 = __toESM(require("zod"), 1);
5629
5698
 
5630
5699
  // src/generated/schemas/objects/NestedIntWithAggregatesFilter.schema.ts
5631
- var z328 = __toESM(require("zod"), 1);
5700
+ var z330 = __toESM(require("zod"), 1);
5632
5701
 
5633
5702
  // src/generated/schemas/objects/NestedFloatFilter.schema.ts
5634
- var z327 = __toESM(require("zod"), 1);
5635
- var nestedfloatfilterSchema = z327.object({
5636
- equals: z327.number().optional(),
5637
- in: z327.number().array().optional(),
5638
- notIn: z327.number().array().optional(),
5639
- lt: z327.number().optional(),
5640
- lte: z327.number().optional(),
5641
- gt: z327.number().optional(),
5642
- gte: z327.number().optional(),
5643
- not: z327.union([z327.number(), z327.lazy(() => NestedFloatFilterObjectSchema)]).optional()
5703
+ var z329 = __toESM(require("zod"), 1);
5704
+ var nestedfloatfilterSchema = z329.object({
5705
+ equals: z329.number().optional(),
5706
+ in: z329.number().array().optional(),
5707
+ notIn: z329.number().array().optional(),
5708
+ lt: z329.number().optional(),
5709
+ lte: z329.number().optional(),
5710
+ gt: z329.number().optional(),
5711
+ gte: z329.number().optional(),
5712
+ not: z329.union([z329.number(), z329.lazy(() => NestedFloatFilterObjectSchema)]).optional()
5644
5713
  }).strict();
5645
5714
  var NestedFloatFilterObjectSchema = nestedfloatfilterSchema;
5646
5715
  var NestedFloatFilterObjectZodSchema = nestedfloatfilterSchema;
5647
5716
 
5648
5717
  // src/generated/schemas/objects/NestedIntWithAggregatesFilter.schema.ts
5649
- var nestedintwithaggregatesfilterSchema = z328.object({
5650
- equals: z328.number().int().optional(),
5651
- in: z328.number().int().array().optional(),
5652
- notIn: z328.number().int().array().optional(),
5653
- lt: z328.number().int().optional(),
5654
- lte: z328.number().int().optional(),
5655
- gt: z328.number().int().optional(),
5656
- gte: z328.number().int().optional(),
5657
- not: z328.union([z328.number().int(), z328.lazy(() => NestedIntWithAggregatesFilterObjectSchema)]).optional(),
5658
- _count: z328.lazy(() => NestedIntFilterObjectSchema).optional(),
5659
- _avg: z328.lazy(() => NestedFloatFilterObjectSchema).optional(),
5660
- _sum: z328.lazy(() => NestedIntFilterObjectSchema).optional(),
5661
- _min: z328.lazy(() => NestedIntFilterObjectSchema).optional(),
5662
- _max: z328.lazy(() => NestedIntFilterObjectSchema).optional()
5718
+ var nestedintwithaggregatesfilterSchema = z330.object({
5719
+ equals: z330.number().int().optional(),
5720
+ in: z330.number().int().array().optional(),
5721
+ notIn: z330.number().int().array().optional(),
5722
+ lt: z330.number().int().optional(),
5723
+ lte: z330.number().int().optional(),
5724
+ gt: z330.number().int().optional(),
5725
+ gte: z330.number().int().optional(),
5726
+ not: z330.union([z330.number().int(), z330.lazy(() => NestedIntWithAggregatesFilterObjectSchema)]).optional(),
5727
+ _count: z330.lazy(() => NestedIntFilterObjectSchema).optional(),
5728
+ _avg: z330.lazy(() => NestedFloatFilterObjectSchema).optional(),
5729
+ _sum: z330.lazy(() => NestedIntFilterObjectSchema).optional(),
5730
+ _min: z330.lazy(() => NestedIntFilterObjectSchema).optional(),
5731
+ _max: z330.lazy(() => NestedIntFilterObjectSchema).optional()
5663
5732
  }).strict();
5664
5733
  var NestedIntWithAggregatesFilterObjectSchema = nestedintwithaggregatesfilterSchema;
5665
5734
  var NestedIntWithAggregatesFilterObjectZodSchema = nestedintwithaggregatesfilterSchema;
5666
5735
 
5667
5736
  // src/generated/schemas/objects/IntWithAggregatesFilter.schema.ts
5668
- var makeSchema249 = () => z329.object({
5669
- equals: z329.number().int().optional(),
5670
- in: z329.number().int().array().optional(),
5671
- notIn: z329.number().int().array().optional(),
5672
- lt: z329.number().int().optional(),
5673
- lte: z329.number().int().optional(),
5674
- gt: z329.number().int().optional(),
5675
- gte: z329.number().int().optional(),
5676
- not: z329.union([z329.number().int(), z329.lazy(() => NestedIntWithAggregatesFilterObjectSchema)]).optional(),
5677
- _count: z329.lazy(() => NestedIntFilterObjectSchema).optional(),
5678
- _avg: z329.lazy(() => NestedFloatFilterObjectSchema).optional(),
5679
- _sum: z329.lazy(() => NestedIntFilterObjectSchema).optional(),
5680
- _min: z329.lazy(() => NestedIntFilterObjectSchema).optional(),
5681
- _max: z329.lazy(() => NestedIntFilterObjectSchema).optional()
5682
- }).strict();
5683
- var IntWithAggregatesFilterObjectSchema = makeSchema249();
5684
- var IntWithAggregatesFilterObjectZodSchema = makeSchema249();
5685
-
5686
- // src/generated/schemas/objects/StringNullableWithAggregatesFilter.schema.ts
5687
- var z331 = __toESM(require("zod"), 1);
5688
-
5689
- // src/generated/schemas/objects/NestedStringNullableWithAggregatesFilter.schema.ts
5690
- var z330 = __toESM(require("zod"), 1);
5691
- var nestedstringnullablewithaggregatesfilterSchema = z330.object({
5692
- equals: z330.string().optional().nullable(),
5693
- in: z330.string().array().optional().nullable(),
5694
- notIn: z330.string().array().optional().nullable(),
5695
- lt: z330.string().optional(),
5696
- lte: z330.string().optional(),
5697
- gt: z330.string().optional(),
5698
- gte: z330.string().optional(),
5699
- contains: z330.string().optional(),
5700
- startsWith: z330.string().optional(),
5701
- endsWith: z330.string().optional(),
5702
- not: z330.union([z330.string(), z330.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
5703
- _count: z330.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
5704
- _min: z330.lazy(() => NestedStringNullableFilterObjectSchema).optional(),
5705
- _max: z330.lazy(() => NestedStringNullableFilterObjectSchema).optional()
5706
- }).strict();
5707
- var NestedStringNullableWithAggregatesFilterObjectSchema = nestedstringnullablewithaggregatesfilterSchema;
5708
- var NestedStringNullableWithAggregatesFilterObjectZodSchema = nestedstringnullablewithaggregatesfilterSchema;
5709
-
5710
- // src/generated/schemas/objects/StringNullableWithAggregatesFilter.schema.ts
5711
5737
  var makeSchema250 = () => z331.object({
5712
- equals: z331.string().optional().nullable(),
5713
- in: z331.string().array().optional().nullable(),
5714
- notIn: z331.string().array().optional().nullable(),
5715
- lt: z331.string().optional(),
5716
- lte: z331.string().optional(),
5717
- gt: z331.string().optional(),
5718
- gte: z331.string().optional(),
5719
- contains: z331.string().optional(),
5720
- startsWith: z331.string().optional(),
5721
- endsWith: z331.string().optional(),
5722
- mode: QueryModeSchema.optional(),
5723
- not: z331.union([z331.string(), z331.lazy(() => NestedStringNullableWithAggregatesFilterObjectSchema)]).optional().nullable(),
5724
- _count: z331.lazy(() => NestedIntNullableFilterObjectSchema).optional(),
5725
- _min: z331.lazy(() => NestedStringNullableFilterObjectSchema).optional(),
5726
- _max: z331.lazy(() => NestedStringNullableFilterObjectSchema).optional()
5727
- }).strict();
5728
- var StringNullableWithAggregatesFilterObjectSchema = makeSchema250();
5729
- var StringNullableWithAggregatesFilterObjectZodSchema = makeSchema250();
5738
+ equals: z331.number().int().optional(),
5739
+ in: z331.number().int().array().optional(),
5740
+ notIn: z331.number().int().array().optional(),
5741
+ lt: z331.number().int().optional(),
5742
+ lte: z331.number().int().optional(),
5743
+ gt: z331.number().int().optional(),
5744
+ gte: z331.number().int().optional(),
5745
+ not: z331.union([z331.number().int(), z331.lazy(() => NestedIntWithAggregatesFilterObjectSchema)]).optional(),
5746
+ _count: z331.lazy(() => NestedIntFilterObjectSchema).optional(),
5747
+ _avg: z331.lazy(() => NestedFloatFilterObjectSchema).optional(),
5748
+ _sum: z331.lazy(() => NestedIntFilterObjectSchema).optional(),
5749
+ _min: z331.lazy(() => NestedIntFilterObjectSchema).optional(),
5750
+ _max: z331.lazy(() => NestedIntFilterObjectSchema).optional()
5751
+ }).strict();
5752
+ var IntWithAggregatesFilterObjectSchema = makeSchema250();
5753
+ var IntWithAggregatesFilterObjectZodSchema = makeSchema250();
5730
5754
 
5731
5755
  // src/generated/schemas/objects/EmployeeRoleScalarWhereWithAggregatesInput.schema.ts
5732
5756
  var employeerolescalarwherewithaggregatesinputSchema = z332.object({
@@ -5735,7 +5759,7 @@ var employeerolescalarwherewithaggregatesinputSchema = z332.object({
5735
5759
  NOT: z332.union([z332.lazy(() => EmployeeRoleScalarWhereWithAggregatesInputObjectSchema), z332.lazy(() => EmployeeRoleScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
5736
5760
  id: z332.union([z332.lazy(() => IntWithAggregatesFilterObjectSchema), z332.number().int()]).optional(),
5737
5761
  name: z332.union([z332.lazy(() => StringWithAggregatesFilterObjectSchema), z332.string()]).optional(),
5738
- color: z332.union([z332.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z332.string()]).optional().nullable(),
5762
+ color: z332.union([z332.lazy(() => StringWithAggregatesFilterObjectSchema), z332.string()]).optional(),
5739
5763
  updatedAt: z332.union([z332.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z332.coerce.date()]).optional()
5740
5764
  }).strict();
5741
5765
  var EmployeeRoleScalarWhereWithAggregatesInputObjectSchema = employeerolescalarwherewithaggregatesinputSchema;
@@ -5849,7 +5873,7 @@ var z344 = __toESM(require("zod"), 1);
5849
5873
  var z341 = __toESM(require("zod"), 1);
5850
5874
  var makeSchema252 = () => z341.object({
5851
5875
  name: z341.string(),
5852
- color: z341.string().optional().nullable(),
5876
+ color: z341.string(),
5853
5877
  updatedAt: z341.coerce.date().optional(),
5854
5878
  assignments: z341.lazy(() => EmployeeRoleAssignmentCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional()
5855
5879
  }).strict();
@@ -5861,7 +5885,7 @@ var z342 = __toESM(require("zod"), 1);
5861
5885
  var makeSchema253 = () => z342.object({
5862
5886
  id: z342.number().int().optional(),
5863
5887
  name: z342.string(),
5864
- color: z342.string().optional().nullable(),
5888
+ color: z342.string(),
5865
5889
  updatedAt: z342.coerce.date().optional(),
5866
5890
  assignments: z342.lazy(() => EmployeeRoleAssignmentUncheckedCreateNestedManyWithoutEmployeeRoleInputObjectSchema).optional()
5867
5891
  }).strict();
@@ -6036,7 +6060,7 @@ var z362 = __toESM(require("zod"), 1);
6036
6060
  var z360 = __toESM(require("zod"), 1);
6037
6061
  var makeSchema266 = () => z360.object({
6038
6062
  name: z360.union([z360.string(), z360.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
6039
- color: z360.union([z360.string(), z360.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
6063
+ color: z360.union([z360.string(), z360.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
6040
6064
  updatedAt: z360.union([z360.coerce.date(), z360.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
6041
6065
  assignments: z360.lazy(() => EmployeeRoleAssignmentUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional()
6042
6066
  }).strict();
@@ -6048,7 +6072,7 @@ var z361 = __toESM(require("zod"), 1);
6048
6072
  var makeSchema267 = () => z361.object({
6049
6073
  id: z361.union([z361.number().int(), z361.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
6050
6074
  name: z361.union([z361.string(), z361.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
6051
- color: z361.union([z361.string(), z361.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
6075
+ color: z361.union([z361.string(), z361.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
6052
6076
  updatedAt: z361.union([z361.coerce.date(), z361.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
6053
6077
  assignments: z361.lazy(() => EmployeeRoleAssignmentUncheckedUpdateManyWithoutEmployeeRoleNestedInputObjectSchema).optional()
6054
6078
  }).strict();
@@ -7484,6 +7508,7 @@ var makeSchema347 = () => z507.object({
7484
7508
  password: z507.string(),
7485
7509
  firstName: z507.string(),
7486
7510
  lastName: z507.string(),
7511
+ phone: z507.string().optional().nullable(),
7487
7512
  isActive: z507.boolean().optional(),
7488
7513
  lastSeen: z507.coerce.date().optional().nullable(),
7489
7514
  updatedAt: z507.coerce.date().optional(),
@@ -7500,6 +7525,7 @@ var makeSchema348 = () => z508.object({
7500
7525
  password: z508.string(),
7501
7526
  firstName: z508.string(),
7502
7527
  lastName: z508.string(),
7528
+ phone: z508.string().optional().nullable(),
7503
7529
  isActive: z508.boolean().optional(),
7504
7530
  lastSeen: z508.coerce.date().optional().nullable(),
7505
7531
  updatedAt: z508.coerce.date().optional(),
@@ -7528,6 +7554,7 @@ var makeSchema350 = () => z510.object({
7528
7554
  password: z510.string(),
7529
7555
  firstName: z510.string(),
7530
7556
  lastName: z510.string(),
7557
+ phone: z510.string().optional().nullable(),
7531
7558
  isActive: z510.boolean().optional(),
7532
7559
  lastSeen: z510.coerce.date().optional().nullable(),
7533
7560
  updatedAt: z510.coerce.date().optional()
@@ -7816,6 +7843,7 @@ var makeSchema371 = () => z536.object({
7816
7843
  password: z536.union([z536.string(), z536.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
7817
7844
  firstName: z536.union([z536.string(), z536.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
7818
7845
  lastName: z536.union([z536.string(), z536.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
7846
+ phone: z536.union([z536.string(), z536.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
7819
7847
  isActive: z536.union([z536.boolean(), z536.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
7820
7848
  lastSeen: z536.union([z536.coerce.date(), z536.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
7821
7849
  updatedAt: z536.union([z536.coerce.date(), z536.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
@@ -7832,6 +7860,7 @@ var makeSchema372 = () => z537.object({
7832
7860
  password: z537.union([z537.string(), z537.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
7833
7861
  firstName: z537.union([z537.string(), z537.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
7834
7862
  lastName: z537.union([z537.string(), z537.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
7863
+ phone: z537.union([z537.string(), z537.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
7835
7864
  isActive: z537.union([z537.boolean(), z537.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
7836
7865
  lastSeen: z537.union([z537.coerce.date(), z537.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
7837
7866
  updatedAt: z537.union([z537.coerce.date(), z537.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
@@ -7872,6 +7901,7 @@ var employeescalarwhereinputSchema = z540.object({
7872
7901
  password: z540.union([z540.lazy(() => StringFilterObjectSchema), z540.string()]).optional(),
7873
7902
  firstName: z540.union([z540.lazy(() => StringFilterObjectSchema), z540.string()]).optional(),
7874
7903
  lastName: z540.union([z540.lazy(() => StringFilterObjectSchema), z540.string()]).optional(),
7904
+ phone: z540.union([z540.lazy(() => StringNullableFilterObjectSchema), z540.string()]).optional().nullable(),
7875
7905
  warehouseId: z540.union([z540.lazy(() => IntNullableFilterObjectSchema), z540.number().int()]).optional().nullable(),
7876
7906
  isActive: z540.union([z540.lazy(() => BoolFilterObjectSchema), z540.boolean()]).optional(),
7877
7907
  lastSeen: z540.union([z540.lazy(() => DateTimeNullableFilterObjectSchema), z540.coerce.date()]).optional().nullable(),
@@ -7888,6 +7918,7 @@ var makeSchema375 = () => z541.object({
7888
7918
  password: z541.union([z541.string(), z541.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
7889
7919
  firstName: z541.union([z541.string(), z541.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
7890
7920
  lastName: z541.union([z541.string(), z541.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
7921
+ phone: z541.union([z541.string(), z541.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
7891
7922
  isActive: z541.union([z541.boolean(), z541.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
7892
7923
  lastSeen: z541.union([z541.coerce.date(), z541.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
7893
7924
  updatedAt: z541.union([z541.coerce.date(), z541.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
@@ -9626,6 +9657,7 @@ var EmployeeFindUniqueResultSchema = z701.nullable(z701.object({
9626
9657
  password: z701.string(),
9627
9658
  firstName: z701.string(),
9628
9659
  lastName: z701.string(),
9660
+ phone: z701.string().optional(),
9629
9661
  warehouseId: z701.number().int().optional(),
9630
9662
  isActive: z701.boolean(),
9631
9663
  lastSeen: z701.date().optional(),
@@ -9642,6 +9674,7 @@ var EmployeeFindFirstResultSchema = z702.nullable(z702.object({
9642
9674
  password: z702.string(),
9643
9675
  firstName: z702.string(),
9644
9676
  lastName: z702.string(),
9677
+ phone: z702.string().optional(),
9645
9678
  warehouseId: z702.number().int().optional(),
9646
9679
  isActive: z702.boolean(),
9647
9680
  lastSeen: z702.date().optional(),
@@ -9659,6 +9692,7 @@ var EmployeeFindManyResultSchema = z703.object({
9659
9692
  password: z703.string(),
9660
9693
  firstName: z703.string(),
9661
9694
  lastName: z703.string(),
9695
+ phone: z703.string().optional(),
9662
9696
  warehouseId: z703.number().int().optional(),
9663
9697
  isActive: z703.boolean(),
9664
9698
  lastSeen: z703.date().optional(),
@@ -9684,6 +9718,7 @@ var EmployeeCreateResultSchema = z704.object({
9684
9718
  password: z704.string(),
9685
9719
  firstName: z704.string(),
9686
9720
  lastName: z704.string(),
9721
+ phone: z704.string().optional(),
9687
9722
  warehouseId: z704.number().int().optional(),
9688
9723
  isActive: z704.boolean(),
9689
9724
  lastSeen: z704.date().optional(),
@@ -9706,6 +9741,7 @@ var EmployeeUpdateResultSchema = z706.nullable(z706.object({
9706
9741
  password: z706.string(),
9707
9742
  firstName: z706.string(),
9708
9743
  lastName: z706.string(),
9744
+ phone: z706.string().optional(),
9709
9745
  warehouseId: z706.number().int().optional(),
9710
9746
  isActive: z706.boolean(),
9711
9747
  lastSeen: z706.date().optional(),
@@ -9728,6 +9764,7 @@ var EmployeeUpsertResultSchema = z708.object({
9728
9764
  password: z708.string(),
9729
9765
  firstName: z708.string(),
9730
9766
  lastName: z708.string(),
9767
+ phone: z708.string().optional(),
9731
9768
  warehouseId: z708.number().int().optional(),
9732
9769
  isActive: z708.boolean(),
9733
9770
  lastSeen: z708.date().optional(),
@@ -9744,6 +9781,7 @@ var EmployeeDeleteResultSchema = z709.nullable(z709.object({
9744
9781
  password: z709.string(),
9745
9782
  firstName: z709.string(),
9746
9783
  lastName: z709.string(),
9784
+ phone: z709.string().optional(),
9747
9785
  warehouseId: z709.number().int().optional(),
9748
9786
  isActive: z709.boolean(),
9749
9787
  lastSeen: z709.date().optional(),
@@ -9767,6 +9805,7 @@ var EmployeeAggregateResultSchema = z711.object({
9767
9805
  password: z711.number(),
9768
9806
  firstName: z711.number(),
9769
9807
  lastName: z711.number(),
9808
+ phone: z711.number(),
9770
9809
  warehouseId: z711.number(),
9771
9810
  isActive: z711.number(),
9772
9811
  lastSeen: z711.number(),
@@ -9786,6 +9825,7 @@ var EmployeeAggregateResultSchema = z711.object({
9786
9825
  password: z711.string().nullable(),
9787
9826
  firstName: z711.string().nullable(),
9788
9827
  lastName: z711.string().nullable(),
9828
+ phone: z711.string().nullable(),
9789
9829
  warehouseId: z711.number().int().nullable(),
9790
9830
  lastSeen: z711.date().nullable(),
9791
9831
  updatedAt: z711.date().nullable()
@@ -9796,6 +9836,7 @@ var EmployeeAggregateResultSchema = z711.object({
9796
9836
  password: z711.string().nullable(),
9797
9837
  firstName: z711.string().nullable(),
9798
9838
  lastName: z711.string().nullable(),
9839
+ phone: z711.string().nullable(),
9799
9840
  warehouseId: z711.number().int().nullable(),
9800
9841
  lastSeen: z711.date().nullable(),
9801
9842
  updatedAt: z711.date().nullable()
@@ -9810,6 +9851,7 @@ var EmployeeGroupByResultSchema = z712.array(z712.object({
9810
9851
  password: z712.string(),
9811
9852
  firstName: z712.string(),
9812
9853
  lastName: z712.string(),
9854
+ phone: z712.string(),
9813
9855
  warehouseId: z712.number().int(),
9814
9856
  isActive: z712.boolean(),
9815
9857
  lastSeen: z712.date(),
@@ -9820,6 +9862,7 @@ var EmployeeGroupByResultSchema = z712.array(z712.object({
9820
9862
  password: z712.number(),
9821
9863
  firstName: z712.number(),
9822
9864
  lastName: z712.number(),
9865
+ phone: z712.number(),
9823
9866
  warehouseId: z712.number(),
9824
9867
  isActive: z712.number(),
9825
9868
  lastSeen: z712.number(),
@@ -9839,6 +9882,7 @@ var EmployeeGroupByResultSchema = z712.array(z712.object({
9839
9882
  password: z712.string().nullable(),
9840
9883
  firstName: z712.string().nullable(),
9841
9884
  lastName: z712.string().nullable(),
9885
+ phone: z712.string().nullable(),
9842
9886
  warehouseId: z712.number().int().nullable(),
9843
9887
  lastSeen: z712.date().nullable(),
9844
9888
  updatedAt: z712.date().nullable()
@@ -9849,6 +9893,7 @@ var EmployeeGroupByResultSchema = z712.array(z712.object({
9849
9893
  password: z712.string().nullable(),
9850
9894
  firstName: z712.string().nullable(),
9851
9895
  lastName: z712.string().nullable(),
9896
+ phone: z712.string().nullable(),
9852
9897
  warehouseId: z712.number().int().nullable(),
9853
9898
  lastSeen: z712.date().nullable(),
9854
9899
  updatedAt: z712.date().nullable()
@@ -9864,7 +9909,7 @@ var z714 = __toESM(require("zod"), 1);
9864
9909
  var EmployeeRoleFindUniqueResultSchema = z714.nullable(z714.object({
9865
9910
  id: z714.number().int(),
9866
9911
  name: z714.string(),
9867
- color: z714.string().optional(),
9912
+ color: z714.string(),
9868
9913
  updatedAt: z714.date(),
9869
9914
  assignments: z714.array(z714.unknown()),
9870
9915
  permissions: z714.array(z714.unknown())
@@ -9875,7 +9920,7 @@ var z715 = __toESM(require("zod"), 1);
9875
9920
  var EmployeeRoleFindFirstResultSchema = z715.nullable(z715.object({
9876
9921
  id: z715.number().int(),
9877
9922
  name: z715.string(),
9878
- color: z715.string().optional(),
9923
+ color: z715.string(),
9879
9924
  updatedAt: z715.date(),
9880
9925
  assignments: z715.array(z715.unknown()),
9881
9926
  permissions: z715.array(z715.unknown())
@@ -9887,7 +9932,7 @@ var EmployeeRoleFindManyResultSchema = z716.object({
9887
9932
  data: z716.array(z716.object({
9888
9933
  id: z716.number().int(),
9889
9934
  name: z716.string(),
9890
- color: z716.string().optional(),
9935
+ color: z716.string(),
9891
9936
  updatedAt: z716.date(),
9892
9937
  assignments: z716.array(z716.unknown()),
9893
9938
  permissions: z716.array(z716.unknown())
@@ -9907,7 +9952,7 @@ var z717 = __toESM(require("zod"), 1);
9907
9952
  var EmployeeRoleCreateResultSchema = z717.object({
9908
9953
  id: z717.number().int(),
9909
9954
  name: z717.string(),
9910
- color: z717.string().optional(),
9955
+ color: z717.string(),
9911
9956
  updatedAt: z717.date(),
9912
9957
  assignments: z717.array(z717.unknown()),
9913
9958
  permissions: z717.array(z717.unknown())
@@ -9924,7 +9969,7 @@ var z719 = __toESM(require("zod"), 1);
9924
9969
  var EmployeeRoleUpdateResultSchema = z719.nullable(z719.object({
9925
9970
  id: z719.number().int(),
9926
9971
  name: z719.string(),
9927
- color: z719.string().optional(),
9972
+ color: z719.string(),
9928
9973
  updatedAt: z719.date(),
9929
9974
  assignments: z719.array(z719.unknown()),
9930
9975
  permissions: z719.array(z719.unknown())
@@ -9941,7 +9986,7 @@ var z721 = __toESM(require("zod"), 1);
9941
9986
  var EmployeeRoleUpsertResultSchema = z721.object({
9942
9987
  id: z721.number().int(),
9943
9988
  name: z721.string(),
9944
- color: z721.string().optional(),
9989
+ color: z721.string(),
9945
9990
  updatedAt: z721.date(),
9946
9991
  assignments: z721.array(z721.unknown()),
9947
9992
  permissions: z721.array(z721.unknown())
@@ -9952,7 +9997,7 @@ var z722 = __toESM(require("zod"), 1);
9952
9997
  var EmployeeRoleDeleteResultSchema = z722.nullable(z722.object({
9953
9998
  id: z722.number().int(),
9954
9999
  name: z722.string(),
9955
- color: z722.string().optional(),
10000
+ color: z722.string(),
9956
10001
  updatedAt: z722.date(),
9957
10002
  assignments: z722.array(z722.unknown()),
9958
10003
  permissions: z722.array(z722.unknown())
@@ -11498,7 +11543,7 @@ var z837 = __toESM(require("zod"), 1);
11498
11543
  var makeSchema480 = () => z837.object({
11499
11544
  id: z837.union([z837.number().int(), z837.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
11500
11545
  name: z837.union([z837.string(), z837.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
11501
- color: z837.union([z837.string(), z837.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
11546
+ color: z837.union([z837.string(), z837.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
11502
11547
  updatedAt: z837.union([z837.coerce.date(), z837.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
11503
11548
  }).strict();
11504
11549
  var EmployeeRoleUncheckedUpdateManyInputObjectSchema = makeSchema480();
@@ -11512,6 +11557,7 @@ var makeSchema481 = () => z838.object({
11512
11557
  password: z838.union([z838.string(), z838.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
11513
11558
  firstName: z838.union([z838.string(), z838.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
11514
11559
  lastName: z838.union([z838.string(), z838.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
11560
+ phone: z838.union([z838.string(), z838.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
11515
11561
  warehouseId: z838.union([z838.number().int(), z838.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
11516
11562
  isActive: z838.union([z838.boolean(), z838.lazy(() => BoolFieldUpdateOperationsInputObjectSchema)]).optional(),
11517
11563
  lastSeen: z838.union([z838.coerce.date(), z838.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
@@ -11582,6 +11628,7 @@ var EmployeeModelSchema = z844.object({
11582
11628
  password: z844.string(),
11583
11629
  firstName: z844.string(),
11584
11630
  lastName: z844.string(),
11631
+ phone: z844.string().nullable(),
11585
11632
  warehouseId: z844.number().int().nullable(),
11586
11633
  isActive: z844.boolean(),
11587
11634
  lastSeen: z844.date().nullable(),
@@ -11595,7 +11642,7 @@ var z845 = __toESM(require("zod"), 1);
11595
11642
  var EmployeeRoleModelSchema = z845.object({
11596
11643
  id: z845.number().int(),
11597
11644
  name: z845.string(),
11598
- color: z845.string().nullable(),
11645
+ color: z845.string(),
11599
11646
  updatedAt: z845.date(),
11600
11647
  assignments: z845.array(z845.unknown()),
11601
11648
  permissions: z845.array(z845.unknown())
@@ -11694,6 +11741,7 @@ var EmployeeInputSchema = z854.object({
11694
11741
  password: z854.string(),
11695
11742
  firstName: z854.string(),
11696
11743
  lastName: z854.string(),
11744
+ phone: z854.string().optional().nullable(),
11697
11745
  warehouseId: z854.number().int().optional().nullable(),
11698
11746
  isActive: z854.boolean(),
11699
11747
  lastSeen: z854.date().optional().nullable(),
@@ -11707,7 +11755,7 @@ var z855 = __toESM(require("zod"), 1);
11707
11755
  var EmployeeRoleInputSchema = z855.object({
11708
11756
  id: z855.number().int(),
11709
11757
  name: z855.string(),
11710
- color: z855.string().optional().nullable(),
11758
+ color: z855.string(),
11711
11759
  updatedAt: z855.date(),
11712
11760
  assignments: z855.array(z855.unknown()),
11713
11761
  permissions: z855.array(z855.unknown())
@@ -11806,6 +11854,7 @@ var EmployeeResultSchema = z864.object({
11806
11854
  password: z864.string(),
11807
11855
  firstName: z864.string(),
11808
11856
  lastName: z864.string(),
11857
+ phone: z864.string().nullable(),
11809
11858
  warehouseId: z864.number().int().nullable(),
11810
11859
  isActive: z864.boolean(),
11811
11860
  lastSeen: z864.date().nullable(),
@@ -11819,7 +11868,7 @@ var z865 = __toESM(require("zod"), 1);
11819
11868
  var EmployeeRoleResultSchema = z865.object({
11820
11869
  id: z865.number().int(),
11821
11870
  name: z865.string(),
11822
- color: z865.string().nullable(),
11871
+ color: z865.string(),
11823
11872
  updatedAt: z865.date(),
11824
11873
  assignments: z865.array(z865.unknown()),
11825
11874
  permissions: z865.array(z865.unknown())
@@ -11987,7 +12036,7 @@ var CountrySchema = CountryModelSchema.omit({ localities: true }).extend({ updat
11987
12036
  var import_zod7 = require("zod");
11988
12037
  var EmployeeRoleSchema = EmployeeRoleModelSchema.omit({ assignments: true, permissions: true }).extend({ id: import_zod7.z.number(), updatedAt: import_zod7.z.string() });
11989
12038
  var EmployeeSchema = EmployeeModelSchema.omit({ password: true, warehouse: true, roleAssignments: true }).extend({
11990
- phone: import_zod7.z.string().min(7).max(20).nullable(),
12039
+ phone: import_zod7.z.string().nullable(),
11991
12040
  lastSeen: import_zod7.z.string().nullable(),
11992
12041
  updatedAt: import_zod7.z.string(),
11993
12042
  roleAssignments: import_zod7.z.array(
@@ -12006,25 +12055,29 @@ var CreateEmployeeSchema = import_zod7.z.object({
12006
12055
  roleIds: import_zod7.z.array(import_zod7.z.number().int()).optional()
12007
12056
  });
12008
12057
  var UpdateEmployeeSchema = import_zod7.z.object({
12009
- firstName: import_zod7.z.string().optional(),
12010
- lastName: import_zod7.z.string().optional(),
12058
+ firstName: import_zod7.z.string().min(1).optional(),
12059
+ lastName: import_zod7.z.string().min(1).optional(),
12011
12060
  phone: import_zod7.z.string().min(7).max(20).nullable().optional(),
12012
- isActive: import_zod7.z.boolean().optional(),
12013
- warehouseId: import_zod7.z.number().int().nullable().optional()
12014
- });
12015
- var UpdateOwnEmailSchema = import_zod7.z.object({
12016
- email: import_zod7.z.string().email()
12017
- });
12018
- var UpdateOwnPasswordSchema = import_zod7.z.object({
12019
- currentPassword: import_zod7.z.string(),
12020
- newPassword: import_zod7.z.string().min(8)
12021
- });
12022
- var UpdateEmployeeEmailSchema = import_zod7.z.object({
12023
- email: import_zod7.z.string().email()
12024
- });
12025
- var UpdateEmployeePasswordSchema = import_zod7.z.object({
12026
- newPassword: import_zod7.z.string().min(8)
12061
+ warehouseId: import_zod7.z.number().int().nullable().optional(),
12062
+ roleIds: import_zod7.z.array(import_zod7.z.number().int()).optional(),
12063
+ email: import_zod7.z.string().email().optional(),
12064
+ newPassword: import_zod7.z.string().min(8).optional(),
12065
+ isActive: import_zod7.z.boolean().optional()
12027
12066
  });
12067
+ var UpdateOwnProfileSchema = import_zod7.z.object({
12068
+ firstName: import_zod7.z.string().min(1).optional(),
12069
+ lastName: import_zod7.z.string().min(1).optional(),
12070
+ phone: import_zod7.z.string().min(7).max(20).nullable().optional(),
12071
+ email: import_zod7.z.string().email().optional(),
12072
+ currentPassword: import_zod7.z.string().optional(),
12073
+ newPassword: import_zod7.z.string().min(8).optional()
12074
+ }).refine(
12075
+ (data) => {
12076
+ if (data.newPassword && !data.currentPassword) return false;
12077
+ return true;
12078
+ },
12079
+ { message: "currentPassword is required when changing password", path: ["currentPassword"] }
12080
+ );
12028
12081
 
12029
12082
  // src/modules/role/index.ts
12030
12083
  var import_zod8 = require("zod");
@@ -13496,12 +13549,9 @@ var UpdateRoleSchema = import_zod8.z.object({
13496
13549
  StringWithAggregatesFilterObjectSchema,
13497
13550
  StringWithAggregatesFilterObjectZodSchema,
13498
13551
  TransactionIsolationLevelSchema,
13499
- UpdateEmployeeEmailSchema,
13500
- UpdateEmployeePasswordSchema,
13501
13552
  UpdateEmployeeSchema,
13502
13553
  UpdateOrganizationSchema,
13503
- UpdateOwnEmailSchema,
13504
- UpdateOwnPasswordSchema,
13554
+ UpdateOwnProfileSchema,
13505
13555
  UpdateRoleSchema,
13506
13556
  UpdateWarehouseSchema,
13507
13557
  UuidFilterObjectSchema,