@meerkapp/wms-contracts 0.2.0-beta.4 → 0.2.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -7368,62 +7368,62 @@ declare const EmployeeRolePermissionCountResultSchema: z.ZodNumber;
7368
7368
  declare const CountryFindUniqueResultSchema: z.ZodNullable<z.ZodObject<{
7369
7369
  id: z.ZodNumber;
7370
7370
  code: z.ZodString;
7371
- name: z.ZodString;
7371
+ name: z.ZodOptional<z.ZodString>;
7372
7372
  updatedAt: z.ZodDate;
7373
7373
  localities: z.ZodArray<z.ZodUnknown, "many">;
7374
7374
  }, "strip", z.ZodTypeAny, {
7375
7375
  code: string;
7376
7376
  id: number;
7377
7377
  updatedAt: Date;
7378
- name: string;
7379
7378
  localities: unknown[];
7379
+ name?: string | undefined;
7380
7380
  }, {
7381
7381
  code: string;
7382
7382
  id: number;
7383
7383
  updatedAt: Date;
7384
- name: string;
7385
7384
  localities: unknown[];
7385
+ name?: string | undefined;
7386
7386
  }>>;
7387
7387
 
7388
7388
  declare const CountryFindFirstResultSchema: z.ZodNullable<z.ZodObject<{
7389
7389
  id: z.ZodNumber;
7390
7390
  code: z.ZodString;
7391
- name: z.ZodString;
7391
+ name: z.ZodOptional<z.ZodString>;
7392
7392
  updatedAt: z.ZodDate;
7393
7393
  localities: z.ZodArray<z.ZodUnknown, "many">;
7394
7394
  }, "strip", z.ZodTypeAny, {
7395
7395
  code: string;
7396
7396
  id: number;
7397
7397
  updatedAt: Date;
7398
- name: string;
7399
7398
  localities: unknown[];
7399
+ name?: string | undefined;
7400
7400
  }, {
7401
7401
  code: string;
7402
7402
  id: number;
7403
7403
  updatedAt: Date;
7404
- name: string;
7405
7404
  localities: unknown[];
7405
+ name?: string | undefined;
7406
7406
  }>>;
7407
7407
 
7408
7408
  declare const CountryFindManyResultSchema: z.ZodObject<{
7409
7409
  data: z.ZodArray<z.ZodObject<{
7410
7410
  id: z.ZodNumber;
7411
7411
  code: z.ZodString;
7412
- name: z.ZodString;
7412
+ name: z.ZodOptional<z.ZodString>;
7413
7413
  updatedAt: z.ZodDate;
7414
7414
  localities: z.ZodArray<z.ZodUnknown, "many">;
7415
7415
  }, "strip", z.ZodTypeAny, {
7416
7416
  code: string;
7417
7417
  id: number;
7418
7418
  updatedAt: Date;
7419
- name: string;
7420
7419
  localities: unknown[];
7420
+ name?: string | undefined;
7421
7421
  }, {
7422
7422
  code: string;
7423
7423
  id: number;
7424
7424
  updatedAt: Date;
7425
- name: string;
7426
7425
  localities: unknown[];
7426
+ name?: string | undefined;
7427
7427
  }>, "many">;
7428
7428
  pagination: z.ZodObject<{
7429
7429
  page: z.ZodNumber;
@@ -7452,8 +7452,8 @@ declare const CountryFindManyResultSchema: z.ZodObject<{
7452
7452
  code: string;
7453
7453
  id: number;
7454
7454
  updatedAt: Date;
7455
- name: string;
7456
7455
  localities: unknown[];
7456
+ name?: string | undefined;
7457
7457
  }[];
7458
7458
  pagination: {
7459
7459
  page: number;
@@ -7468,8 +7468,8 @@ declare const CountryFindManyResultSchema: z.ZodObject<{
7468
7468
  code: string;
7469
7469
  id: number;
7470
7470
  updatedAt: Date;
7471
- name: string;
7472
7471
  localities: unknown[];
7472
+ name?: string | undefined;
7473
7473
  }[];
7474
7474
  pagination: {
7475
7475
  page: number;
@@ -7484,21 +7484,21 @@ declare const CountryFindManyResultSchema: z.ZodObject<{
7484
7484
  declare const CountryCreateResultSchema: z.ZodObject<{
7485
7485
  id: z.ZodNumber;
7486
7486
  code: z.ZodString;
7487
- name: z.ZodString;
7487
+ name: z.ZodOptional<z.ZodString>;
7488
7488
  updatedAt: z.ZodDate;
7489
7489
  localities: z.ZodArray<z.ZodUnknown, "many">;
7490
7490
  }, "strip", z.ZodTypeAny, {
7491
7491
  code: string;
7492
7492
  id: number;
7493
7493
  updatedAt: Date;
7494
- name: string;
7495
7494
  localities: unknown[];
7495
+ name?: string | undefined;
7496
7496
  }, {
7497
7497
  code: string;
7498
7498
  id: number;
7499
7499
  updatedAt: Date;
7500
- name: string;
7501
7500
  localities: unknown[];
7501
+ name?: string | undefined;
7502
7502
  }>;
7503
7503
 
7504
7504
  declare const CountryCreateManyResultSchema: z.ZodObject<{
@@ -7512,21 +7512,21 @@ declare const CountryCreateManyResultSchema: z.ZodObject<{
7512
7512
  declare const CountryUpdateResultSchema: z.ZodNullable<z.ZodObject<{
7513
7513
  id: z.ZodNumber;
7514
7514
  code: z.ZodString;
7515
- name: z.ZodString;
7515
+ name: z.ZodOptional<z.ZodString>;
7516
7516
  updatedAt: z.ZodDate;
7517
7517
  localities: z.ZodArray<z.ZodUnknown, "many">;
7518
7518
  }, "strip", z.ZodTypeAny, {
7519
7519
  code: string;
7520
7520
  id: number;
7521
7521
  updatedAt: Date;
7522
- name: string;
7523
7522
  localities: unknown[];
7523
+ name?: string | undefined;
7524
7524
  }, {
7525
7525
  code: string;
7526
7526
  id: number;
7527
7527
  updatedAt: Date;
7528
- name: string;
7529
7528
  localities: unknown[];
7529
+ name?: string | undefined;
7530
7530
  }>>;
7531
7531
 
7532
7532
  declare const CountryUpdateManyResultSchema: z.ZodObject<{
@@ -7540,41 +7540,41 @@ declare const CountryUpdateManyResultSchema: z.ZodObject<{
7540
7540
  declare const CountryUpsertResultSchema: z.ZodObject<{
7541
7541
  id: z.ZodNumber;
7542
7542
  code: z.ZodString;
7543
- name: z.ZodString;
7543
+ name: z.ZodOptional<z.ZodString>;
7544
7544
  updatedAt: z.ZodDate;
7545
7545
  localities: z.ZodArray<z.ZodUnknown, "many">;
7546
7546
  }, "strip", z.ZodTypeAny, {
7547
7547
  code: string;
7548
7548
  id: number;
7549
7549
  updatedAt: Date;
7550
- name: string;
7551
7550
  localities: unknown[];
7551
+ name?: string | undefined;
7552
7552
  }, {
7553
7553
  code: string;
7554
7554
  id: number;
7555
7555
  updatedAt: Date;
7556
- name: string;
7557
7556
  localities: unknown[];
7557
+ name?: string | undefined;
7558
7558
  }>;
7559
7559
 
7560
7560
  declare const CountryDeleteResultSchema: z.ZodNullable<z.ZodObject<{
7561
7561
  id: z.ZodNumber;
7562
7562
  code: z.ZodString;
7563
- name: z.ZodString;
7563
+ name: z.ZodOptional<z.ZodString>;
7564
7564
  updatedAt: z.ZodDate;
7565
7565
  localities: z.ZodArray<z.ZodUnknown, "many">;
7566
7566
  }, "strip", z.ZodTypeAny, {
7567
7567
  code: string;
7568
7568
  id: number;
7569
7569
  updatedAt: Date;
7570
- name: string;
7571
7570
  localities: unknown[];
7571
+ name?: string | undefined;
7572
7572
  }, {
7573
7573
  code: string;
7574
7574
  id: number;
7575
7575
  updatedAt: Date;
7576
- name: string;
7577
7576
  localities: unknown[];
7577
+ name?: string | undefined;
7578
7578
  }>>;
7579
7579
 
7580
7580
  declare const CountryDeleteManyResultSchema: z.ZodObject<{
@@ -9856,15 +9856,15 @@ declare const CountryCountOutputTypeSelectObjectZodSchema: z.ZodObject<{
9856
9856
  declare const CountryCreateInputObjectSchema: z.ZodType<Prisma.CountryCreateInput>;
9857
9857
  declare const CountryCreateInputObjectZodSchema: z.ZodObject<{
9858
9858
  code: z.ZodString;
9859
- name: z.ZodString;
9859
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9860
9860
  localities: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.LocalityCreateNestedManyWithoutCountryInput, z.ZodTypeDef, Prisma.LocalityCreateNestedManyWithoutCountryInput>>>;
9861
9861
  }, "strict", z.ZodTypeAny, {
9862
9862
  code: string;
9863
- name: string;
9863
+ name?: string | null | undefined;
9864
9864
  localities?: Prisma.LocalityCreateNestedManyWithoutCountryInput | undefined;
9865
9865
  }, {
9866
9866
  code: string;
9867
- name: string;
9867
+ name?: string | null | undefined;
9868
9868
  localities?: Prisma.LocalityCreateNestedManyWithoutCountryInput | undefined;
9869
9869
  }>;
9870
9870
 
@@ -9872,18 +9872,18 @@ declare const CountryCreateManyInputObjectSchema: z.ZodType<Prisma.CountryCreate
9872
9872
  declare const CountryCreateManyInputObjectZodSchema: z.ZodObject<{
9873
9873
  id: z.ZodOptional<z.ZodNumber>;
9874
9874
  code: z.ZodString;
9875
- name: z.ZodString;
9875
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9876
9876
  updatedAt: z.ZodOptional<z.ZodDate>;
9877
9877
  }, "strict", z.ZodTypeAny, {
9878
9878
  code: string;
9879
- name: string;
9880
9879
  id?: number | undefined;
9881
9880
  updatedAt?: Date | undefined;
9881
+ name?: string | null | undefined;
9882
9882
  }, {
9883
9883
  code: string;
9884
- name: string;
9885
9884
  id?: number | undefined;
9886
9885
  updatedAt?: Date | undefined;
9886
+ name?: string | null | undefined;
9887
9887
  }>;
9888
9888
 
9889
9889
  declare const CountryCreateNestedOneWithoutLocalitiesInputObjectSchema: z.ZodType<Prisma.CountryCreateNestedOneWithoutLocalitiesInput>;
@@ -9916,16 +9916,16 @@ declare const CountryCreateOrConnectWithoutLocalitiesInputObjectZodSchema: z.Zod
9916
9916
  declare const CountryCreateWithoutLocalitiesInputObjectSchema: z.ZodType<Prisma.CountryCreateWithoutLocalitiesInput>;
9917
9917
  declare const CountryCreateWithoutLocalitiesInputObjectZodSchema: z.ZodObject<{
9918
9918
  code: z.ZodString;
9919
- name: z.ZodString;
9919
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9920
9920
  updatedAt: z.ZodOptional<z.ZodDate>;
9921
9921
  }, "strict", z.ZodTypeAny, {
9922
9922
  code: string;
9923
- name: string;
9924
9923
  updatedAt?: Date | undefined;
9924
+ name?: string | null | undefined;
9925
9925
  }, {
9926
9926
  code: string;
9927
- name: string;
9928
9927
  updatedAt?: Date | undefined;
9928
+ name?: string | null | undefined;
9929
9929
  }>;
9930
9930
 
9931
9931
  declare const CountryIncludeObjectSchema: z.ZodType<Prisma.CountryInclude>;
@@ -10026,7 +10026,7 @@ declare const CountryOrderByWithAggregationInputObjectSchema: z.ZodType<Prisma.C
10026
10026
  declare const CountryOrderByWithAggregationInputObjectZodSchema: z.ZodObject<{
10027
10027
  id: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10028
10028
  code: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10029
- name: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10029
+ name: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["asc", "desc"]>, z.ZodLazy<z.ZodType<Prisma.SortOrderInput, z.ZodTypeDef, Prisma.SortOrderInput>>]>>;
10030
10030
  updatedAt: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10031
10031
  _count: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.CountryCountOrderByAggregateInput, z.ZodTypeDef, Prisma.CountryCountOrderByAggregateInput>>>;
10032
10032
  _avg: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.CountryAvgOrderByAggregateInput, z.ZodTypeDef, Prisma.CountryAvgOrderByAggregateInput>>>;
@@ -10037,7 +10037,7 @@ declare const CountryOrderByWithAggregationInputObjectZodSchema: z.ZodObject<{
10037
10037
  code?: "asc" | "desc" | undefined;
10038
10038
  id?: "asc" | "desc" | undefined;
10039
10039
  updatedAt?: "asc" | "desc" | undefined;
10040
- name?: "asc" | "desc" | undefined;
10040
+ name?: "asc" | "desc" | Prisma.SortOrderInput | undefined;
10041
10041
  _count?: Prisma.CountryCountOrderByAggregateInput | undefined;
10042
10042
  _min?: Prisma.CountryMinOrderByAggregateInput | undefined;
10043
10043
  _max?: Prisma.CountryMaxOrderByAggregateInput | undefined;
@@ -10047,7 +10047,7 @@ declare const CountryOrderByWithAggregationInputObjectZodSchema: z.ZodObject<{
10047
10047
  code?: "asc" | "desc" | undefined;
10048
10048
  id?: "asc" | "desc" | undefined;
10049
10049
  updatedAt?: "asc" | "desc" | undefined;
10050
- name?: "asc" | "desc" | undefined;
10050
+ name?: "asc" | "desc" | Prisma.SortOrderInput | undefined;
10051
10051
  _count?: Prisma.CountryCountOrderByAggregateInput | undefined;
10052
10052
  _min?: Prisma.CountryMinOrderByAggregateInput | undefined;
10053
10053
  _max?: Prisma.CountryMaxOrderByAggregateInput | undefined;
@@ -10059,20 +10059,20 @@ declare const CountryOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.Coun
10059
10059
  declare const CountryOrderByWithRelationInputObjectZodSchema: z.ZodObject<{
10060
10060
  id: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10061
10061
  code: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10062
- name: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10062
+ name: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["asc", "desc"]>, z.ZodLazy<z.ZodType<Prisma.SortOrderInput, z.ZodTypeDef, Prisma.SortOrderInput>>]>>;
10063
10063
  updatedAt: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10064
10064
  localities: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.LocalityOrderByRelationAggregateInput, z.ZodTypeDef, Prisma.LocalityOrderByRelationAggregateInput>>>;
10065
10065
  }, "strict", z.ZodTypeAny, {
10066
10066
  code?: "asc" | "desc" | undefined;
10067
10067
  id?: "asc" | "desc" | undefined;
10068
10068
  updatedAt?: "asc" | "desc" | undefined;
10069
- name?: "asc" | "desc" | undefined;
10069
+ name?: "asc" | "desc" | Prisma.SortOrderInput | undefined;
10070
10070
  localities?: Prisma.LocalityOrderByRelationAggregateInput | undefined;
10071
10071
  }, {
10072
10072
  code?: "asc" | "desc" | undefined;
10073
10073
  id?: "asc" | "desc" | undefined;
10074
10074
  updatedAt?: "asc" | "desc" | undefined;
10075
- name?: "asc" | "desc" | undefined;
10075
+ name?: "asc" | "desc" | Prisma.SortOrderInput | undefined;
10076
10076
  localities?: Prisma.LocalityOrderByRelationAggregateInput | undefined;
10077
10077
  }>;
10078
10078
 
@@ -10095,13 +10095,13 @@ declare const CountryScalarWhereWithAggregatesInputObjectZodSchema: z.ZodObject<
10095
10095
  NOT: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.CountryScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.CountryScalarWhereWithAggregatesInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.CountryScalarWhereWithAggregatesInput, z.ZodTypeDef, Prisma.CountryScalarWhereWithAggregatesInput>>, "many">]>>;
10096
10096
  id: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.IntWithAggregatesFilter<never>>>, z.ZodNumber]>>;
10097
10097
  code: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.StringWithAggregatesFilter<never>>>, z.ZodString]>>;
10098
- name: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.StringWithAggregatesFilter<never>>>, z.ZodString]>>;
10098
+ name: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringNullableWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.StringNullableWithAggregatesFilter<never>>>, z.ZodString]>>>;
10099
10099
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.DateTimeWithAggregatesFilter<never>, z.ZodTypeDef, Prisma.DateTimeWithAggregatesFilter<never>>>, z.ZodDate]>>;
10100
10100
  }, "strict", z.ZodTypeAny, {
10101
10101
  code?: string | Prisma.StringWithAggregatesFilter<never> | undefined;
10102
10102
  id?: number | Prisma.IntWithAggregatesFilter<never> | undefined;
10103
10103
  updatedAt?: Date | Prisma.DateTimeWithAggregatesFilter<never> | undefined;
10104
- name?: string | Prisma.StringWithAggregatesFilter<never> | undefined;
10104
+ name?: string | Prisma.StringNullableWithAggregatesFilter<never> | null | undefined;
10105
10105
  AND?: Prisma.CountryScalarWhereWithAggregatesInput | Prisma.CountryScalarWhereWithAggregatesInput[] | undefined;
10106
10106
  OR?: Prisma.CountryScalarWhereWithAggregatesInput[] | undefined;
10107
10107
  NOT?: Prisma.CountryScalarWhereWithAggregatesInput | Prisma.CountryScalarWhereWithAggregatesInput[] | undefined;
@@ -10109,7 +10109,7 @@ declare const CountryScalarWhereWithAggregatesInputObjectZodSchema: z.ZodObject<
10109
10109
  code?: string | Prisma.StringWithAggregatesFilter<never> | undefined;
10110
10110
  id?: number | Prisma.IntWithAggregatesFilter<never> | undefined;
10111
10111
  updatedAt?: Date | Prisma.DateTimeWithAggregatesFilter<never> | undefined;
10112
- name?: string | Prisma.StringWithAggregatesFilter<never> | undefined;
10112
+ name?: string | Prisma.StringNullableWithAggregatesFilter<never> | null | undefined;
10113
10113
  AND?: Prisma.CountryScalarWhereWithAggregatesInput | Prisma.CountryScalarWhereWithAggregatesInput[] | undefined;
10114
10114
  OR?: Prisma.CountryScalarWhereWithAggregatesInput[] | undefined;
10115
10115
  NOT?: Prisma.CountryScalarWhereWithAggregatesInput | Prisma.CountryScalarWhereWithAggregatesInput[] | undefined;
@@ -10171,17 +10171,17 @@ declare const CountryUncheckedCreateInputObjectSchema: z.ZodType<Prisma.CountryU
10171
10171
  declare const CountryUncheckedCreateInputObjectZodSchema: z.ZodObject<{
10172
10172
  id: z.ZodOptional<z.ZodNumber>;
10173
10173
  code: z.ZodString;
10174
- name: z.ZodString;
10174
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10175
10175
  localities: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.LocalityUncheckedCreateNestedManyWithoutCountryInput, z.ZodTypeDef, Prisma.LocalityUncheckedCreateNestedManyWithoutCountryInput>>>;
10176
10176
  }, "strict", z.ZodTypeAny, {
10177
10177
  code: string;
10178
- name: string;
10179
10178
  id?: number | undefined;
10179
+ name?: string | null | undefined;
10180
10180
  localities?: Prisma.LocalityUncheckedCreateNestedManyWithoutCountryInput | undefined;
10181
10181
  }, {
10182
10182
  code: string;
10183
- name: string;
10184
10183
  id?: number | undefined;
10184
+ name?: string | null | undefined;
10185
10185
  localities?: Prisma.LocalityUncheckedCreateNestedManyWithoutCountryInput | undefined;
10186
10186
  }>;
10187
10187
 
@@ -10189,38 +10189,38 @@ declare const CountryUncheckedCreateWithoutLocalitiesInputObjectSchema: z.ZodTyp
10189
10189
  declare const CountryUncheckedCreateWithoutLocalitiesInputObjectZodSchema: z.ZodObject<{
10190
10190
  id: z.ZodOptional<z.ZodNumber>;
10191
10191
  code: z.ZodString;
10192
- name: z.ZodString;
10192
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10193
10193
  updatedAt: z.ZodOptional<z.ZodDate>;
10194
10194
  }, "strict", z.ZodTypeAny, {
10195
10195
  code: string;
10196
- name: string;
10197
10196
  id?: number | undefined;
10198
10197
  updatedAt?: Date | undefined;
10198
+ name?: string | null | undefined;
10199
10199
  }, {
10200
10200
  code: string;
10201
- name: string;
10202
10201
  id?: number | undefined;
10203
10202
  updatedAt?: Date | undefined;
10203
+ name?: string | null | undefined;
10204
10204
  }>;
10205
10205
 
10206
10206
  declare const CountryUncheckedUpdateInputObjectSchema: z.ZodType<Prisma.CountryUncheckedUpdateInput>;
10207
10207
  declare const CountryUncheckedUpdateInputObjectZodSchema: z.ZodObject<{
10208
10208
  id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
10209
10209
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10210
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10210
+ name: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
10211
10211
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
10212
10212
  localities: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.LocalityUncheckedUpdateManyWithoutCountryNestedInput, z.ZodTypeDef, Prisma.LocalityUncheckedUpdateManyWithoutCountryNestedInput>>>;
10213
10213
  }, "strict", z.ZodTypeAny, {
10214
10214
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10215
10215
  id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
10216
10216
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10217
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10217
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10218
10218
  localities?: Prisma.LocalityUncheckedUpdateManyWithoutCountryNestedInput | undefined;
10219
10219
  }, {
10220
10220
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10221
10221
  id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
10222
10222
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10223
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10223
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10224
10224
  localities?: Prisma.LocalityUncheckedUpdateManyWithoutCountryNestedInput | undefined;
10225
10225
  }>;
10226
10226
 
@@ -10228,69 +10228,69 @@ declare const CountryUncheckedUpdateManyInputObjectSchema: z.ZodType<Prisma.Coun
10228
10228
  declare const CountryUncheckedUpdateManyInputObjectZodSchema: z.ZodObject<{
10229
10229
  id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
10230
10230
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10231
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10231
+ name: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
10232
10232
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
10233
10233
  }, "strict", z.ZodTypeAny, {
10234
10234
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10235
10235
  id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
10236
10236
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10237
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10237
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10238
10238
  }, {
10239
10239
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10240
10240
  id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
10241
10241
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10242
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10242
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10243
10243
  }>;
10244
10244
 
10245
10245
  declare const CountryUncheckedUpdateWithoutLocalitiesInputObjectSchema: z.ZodType<Prisma.CountryUncheckedUpdateWithoutLocalitiesInput>;
10246
10246
  declare const CountryUncheckedUpdateWithoutLocalitiesInputObjectZodSchema: z.ZodObject<{
10247
10247
  id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
10248
10248
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10249
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10249
+ name: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
10250
10250
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
10251
10251
  }, "strict", z.ZodTypeAny, {
10252
10252
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10253
10253
  id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
10254
10254
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10255
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10255
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10256
10256
  }, {
10257
10257
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10258
10258
  id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
10259
10259
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10260
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10260
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10261
10261
  }>;
10262
10262
 
10263
10263
  declare const CountryUpdateInputObjectSchema: z.ZodType<Prisma.CountryUpdateInput>;
10264
10264
  declare const CountryUpdateInputObjectZodSchema: z.ZodObject<{
10265
10265
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10266
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10266
+ name: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
10267
10267
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
10268
10268
  localities: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.LocalityUpdateManyWithoutCountryNestedInput, z.ZodTypeDef, Prisma.LocalityUpdateManyWithoutCountryNestedInput>>>;
10269
10269
  }, "strict", z.ZodTypeAny, {
10270
10270
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10271
10271
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10272
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10272
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10273
10273
  localities?: Prisma.LocalityUpdateManyWithoutCountryNestedInput | undefined;
10274
10274
  }, {
10275
10275
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10276
10276
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10277
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10277
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10278
10278
  localities?: Prisma.LocalityUpdateManyWithoutCountryNestedInput | undefined;
10279
10279
  }>;
10280
10280
 
10281
10281
  declare const CountryUpdateManyMutationInputObjectSchema: z.ZodType<Prisma.CountryUpdateManyMutationInput>;
10282
10282
  declare const CountryUpdateManyMutationInputObjectZodSchema: z.ZodObject<{
10283
10283
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10284
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10284
+ name: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
10285
10285
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
10286
10286
  }, "strict", z.ZodTypeAny, {
10287
10287
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10288
10288
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10289
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10289
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10290
10290
  }, {
10291
10291
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10292
10292
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10293
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10293
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10294
10294
  }>;
10295
10295
 
10296
10296
  declare const CountryUpdateOneRequiredWithoutLocalitiesNestedInputObjectSchema: z.ZodType<Prisma.CountryUpdateOneRequiredWithoutLocalitiesNestedInput>;
@@ -10329,16 +10329,16 @@ declare const CountryUpdateToOneWithWhereWithoutLocalitiesInputObjectZodSchema:
10329
10329
  declare const CountryUpdateWithoutLocalitiesInputObjectSchema: z.ZodType<Prisma.CountryUpdateWithoutLocalitiesInput>;
10330
10330
  declare const CountryUpdateWithoutLocalitiesInputObjectZodSchema: z.ZodObject<{
10331
10331
  code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10332
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.StringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.StringFieldUpdateOperationsInput>>]>>;
10332
+ name: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
10333
10333
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
10334
10334
  }, "strict", z.ZodTypeAny, {
10335
10335
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10336
10336
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10337
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10337
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10338
10338
  }, {
10339
10339
  code?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10340
10340
  updatedAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
10341
- name?: string | Prisma.StringFieldUpdateOperationsInput | undefined;
10341
+ name?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
10342
10342
  }>;
10343
10343
 
10344
10344
  declare const CountryUpsertWithoutLocalitiesInputObjectSchema: z.ZodType<Prisma.CountryUpsertWithoutLocalitiesInput>;
@@ -10363,14 +10363,14 @@ declare const CountryWhereInputObjectZodSchema: z.ZodObject<{
10363
10363
  NOT: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.CountryWhereInput, z.ZodTypeDef, Prisma.CountryWhereInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.CountryWhereInput, z.ZodTypeDef, Prisma.CountryWhereInput>>, "many">]>>;
10364
10364
  id: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntFilter<never>, z.ZodTypeDef, Prisma.IntFilter<never>>>, z.ZodNumber]>>;
10365
10365
  code: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringFilter<never>, z.ZodTypeDef, Prisma.StringFilter<never>>>, z.ZodString]>>;
10366
- name: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringFilter<never>, z.ZodTypeDef, Prisma.StringFilter<never>>>, z.ZodString]>>;
10366
+ name: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringNullableFilter<never>, z.ZodTypeDef, Prisma.StringNullableFilter<never>>>, z.ZodString]>>>;
10367
10367
  updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.DateTimeFilter<never>, z.ZodTypeDef, Prisma.DateTimeFilter<never>>>, z.ZodDate]>>;
10368
10368
  localities: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.LocalityListRelationFilter, z.ZodTypeDef, Prisma.LocalityListRelationFilter>>>;
10369
10369
  }, "strict", z.ZodTypeAny, {
10370
10370
  code?: string | Prisma.StringFilter<never> | undefined;
10371
10371
  id?: number | Prisma.IntFilter<never> | undefined;
10372
10372
  updatedAt?: Date | Prisma.DateTimeFilter<never> | undefined;
10373
- name?: string | Prisma.StringFilter<never> | undefined;
10373
+ name?: string | Prisma.StringNullableFilter<never> | null | undefined;
10374
10374
  AND?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[] | undefined;
10375
10375
  OR?: Prisma.CountryWhereInput[] | undefined;
10376
10376
  NOT?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[] | undefined;
@@ -10379,7 +10379,7 @@ declare const CountryWhereInputObjectZodSchema: z.ZodObject<{
10379
10379
  code?: string | Prisma.StringFilter<never> | undefined;
10380
10380
  id?: number | Prisma.IntFilter<never> | undefined;
10381
10381
  updatedAt?: Date | Prisma.DateTimeFilter<never> | undefined;
10382
- name?: string | Prisma.StringFilter<never> | undefined;
10382
+ name?: string | Prisma.StringNullableFilter<never> | null | undefined;
10383
10383
  AND?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[] | undefined;
10384
10384
  OR?: Prisma.CountryWhereInput[] | undefined;
10385
10385
  NOT?: Prisma.CountryWhereInput | Prisma.CountryWhereInput[] | undefined;
@@ -20833,20 +20833,20 @@ type EmployeeRolePermissionPureType = z.infer<typeof EmployeeRolePermissionModel
20833
20833
  declare const CountryModelSchema: z.ZodObject<{
20834
20834
  id: z.ZodNumber;
20835
20835
  code: z.ZodString;
20836
- name: z.ZodString;
20836
+ name: z.ZodNullable<z.ZodString>;
20837
20837
  updatedAt: z.ZodDate;
20838
20838
  localities: z.ZodArray<z.ZodUnknown, "many">;
20839
20839
  }, "strict", z.ZodTypeAny, {
20840
20840
  code: string;
20841
20841
  id: number;
20842
20842
  updatedAt: Date;
20843
- name: string;
20843
+ name: string | null;
20844
20844
  localities: unknown[];
20845
20845
  }, {
20846
20846
  code: string;
20847
20847
  id: number;
20848
20848
  updatedAt: Date;
20849
- name: string;
20849
+ name: string | null;
20850
20850
  localities: unknown[];
20851
20851
  }>;
20852
20852
  type CountryPureType = z.infer<typeof CountryModelSchema>;
@@ -21076,21 +21076,21 @@ type EmployeeRolePermissionInputType = z.infer<typeof EmployeeRolePermissionInpu
21076
21076
  declare const CountryInputSchema: z.ZodObject<{
21077
21077
  id: z.ZodNumber;
21078
21078
  code: z.ZodString;
21079
- name: z.ZodString;
21079
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21080
21080
  updatedAt: z.ZodDate;
21081
21081
  localities: z.ZodArray<z.ZodUnknown, "many">;
21082
21082
  }, "strict", z.ZodTypeAny, {
21083
21083
  code: string;
21084
21084
  id: number;
21085
21085
  updatedAt: Date;
21086
- name: string;
21087
21086
  localities: unknown[];
21087
+ name?: string | null | undefined;
21088
21088
  }, {
21089
21089
  code: string;
21090
21090
  id: number;
21091
21091
  updatedAt: Date;
21092
- name: string;
21093
21092
  localities: unknown[];
21093
+ name?: string | null | undefined;
21094
21094
  }>;
21095
21095
  type CountryInputType = z.infer<typeof CountryInputSchema>;
21096
21096
 
@@ -21319,20 +21319,20 @@ type EmployeeRolePermissionResultType = z.infer<typeof EmployeeRolePermissionRes
21319
21319
  declare const CountryResultSchema: z.ZodObject<{
21320
21320
  id: z.ZodNumber;
21321
21321
  code: z.ZodString;
21322
- name: z.ZodString;
21322
+ name: z.ZodNullable<z.ZodString>;
21323
21323
  updatedAt: z.ZodDate;
21324
21324
  localities: z.ZodArray<z.ZodUnknown, "many">;
21325
21325
  }, "strict", z.ZodTypeAny, {
21326
21326
  code: string;
21327
21327
  id: number;
21328
21328
  updatedAt: Date;
21329
- name: string;
21329
+ name: string | null;
21330
21330
  localities: unknown[];
21331
21331
  }, {
21332
21332
  code: string;
21333
21333
  id: number;
21334
21334
  updatedAt: Date;
21335
- name: string;
21335
+ name: string | null;
21336
21336
  localities: unknown[];
21337
21337
  }>;
21338
21338
  type CountryResultType = z.infer<typeof CountryResultSchema>;
@@ -21612,30 +21612,30 @@ type Locality = z$1.infer<typeof LocalitySchema>;
21612
21612
 
21613
21613
  declare const CreateCountrySchema: z$1.ZodObject<{
21614
21614
  code: z$1.ZodString;
21615
- name: z$1.ZodString;
21615
+ name: z$1.ZodNullable<z$1.ZodOptional<z$1.ZodString>>;
21616
21616
  }, "strip", z$1.ZodTypeAny, {
21617
21617
  code: string;
21618
- name: string;
21618
+ name?: string | null | undefined;
21619
21619
  }, {
21620
21620
  code: string;
21621
- name: string;
21621
+ name?: string | null | undefined;
21622
21622
  }>;
21623
21623
  declare const CountrySchema: z$1.ZodObject<{
21624
21624
  code: z$1.ZodString;
21625
21625
  id: z$1.ZodNumber;
21626
- name: z$1.ZodString;
21626
+ name: z$1.ZodNullable<z$1.ZodString>;
21627
21627
  } & {
21628
21628
  updatedAt: z$1.ZodString;
21629
21629
  }, "strict", z$1.ZodTypeAny, {
21630
21630
  code: string;
21631
21631
  id: number;
21632
21632
  updatedAt: string;
21633
- name: string;
21633
+ name: string | null;
21634
21634
  }, {
21635
21635
  code: string;
21636
21636
  id: number;
21637
21637
  updatedAt: string;
21638
- name: string;
21638
+ name: string | null;
21639
21639
  }>;
21640
21640
  type CreateCountryDto = z$1.infer<typeof CreateCountrySchema>;
21641
21641
  type Country = z$1.infer<typeof CountrySchema>;