@valentine-efagene/qshelter-common 2.0.22 → 2.0.25

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.
@@ -22,6 +22,7 @@ export type PropertySumAggregateOutputType = {
22
22
  };
23
23
  export type PropertyMinAggregateOutputType = {
24
24
  id: string | null;
25
+ tenantId: string | null;
25
26
  userId: string | null;
26
27
  title: string | null;
27
28
  category: string | null;
@@ -44,6 +45,7 @@ export type PropertyMinAggregateOutputType = {
44
45
  };
45
46
  export type PropertyMaxAggregateOutputType = {
46
47
  id: string | null;
48
+ tenantId: string | null;
47
49
  userId: string | null;
48
50
  title: string | null;
49
51
  category: string | null;
@@ -66,6 +68,7 @@ export type PropertyMaxAggregateOutputType = {
66
68
  };
67
69
  export type PropertyCountAggregateOutputType = {
68
70
  id: number;
71
+ tenantId: number;
69
72
  userId: number;
70
73
  title: number;
71
74
  category: number;
@@ -97,6 +100,7 @@ export type PropertySumAggregateInputType = {
97
100
  };
98
101
  export type PropertyMinAggregateInputType = {
99
102
  id?: true;
103
+ tenantId?: true;
100
104
  userId?: true;
101
105
  title?: true;
102
106
  category?: true;
@@ -119,6 +123,7 @@ export type PropertyMinAggregateInputType = {
119
123
  };
120
124
  export type PropertyMaxAggregateInputType = {
121
125
  id?: true;
126
+ tenantId?: true;
122
127
  userId?: true;
123
128
  title?: true;
124
129
  category?: true;
@@ -141,6 +146,7 @@ export type PropertyMaxAggregateInputType = {
141
146
  };
142
147
  export type PropertyCountAggregateInputType = {
143
148
  id?: true;
149
+ tenantId?: true;
144
150
  userId?: true;
145
151
  title?: true;
146
152
  category?: true;
@@ -240,6 +246,7 @@ export type PropertyGroupByArgs<ExtArgs extends runtime.Types.Extensions.Interna
240
246
  };
241
247
  export type PropertyGroupByOutputType = {
242
248
  id: string;
249
+ tenantId: string;
243
250
  userId: string;
244
251
  title: string;
245
252
  category: string;
@@ -273,6 +280,7 @@ export type PropertyWhereInput = {
273
280
  OR?: Prisma.PropertyWhereInput[];
274
281
  NOT?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
275
282
  id?: Prisma.StringFilter<"Property"> | string;
283
+ tenantId?: Prisma.StringFilter<"Property"> | string;
276
284
  userId?: Prisma.StringFilter<"Property"> | string;
277
285
  title?: Prisma.StringFilter<"Property"> | string;
278
286
  category?: Prisma.StringFilter<"Property"> | string;
@@ -292,6 +300,7 @@ export type PropertyWhereInput = {
292
300
  publishedAt?: Prisma.DateTimeNullableFilter<"Property"> | Date | string | null;
293
301
  createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
294
302
  updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
303
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
295
304
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
296
305
  displayImage?: Prisma.XOR<Prisma.PropertyMediaNullableScalarRelationFilter, Prisma.PropertyMediaWhereInput> | null;
297
306
  documents?: Prisma.PropertyDocumentListRelationFilter;
@@ -302,6 +311,7 @@ export type PropertyWhereInput = {
302
311
  };
303
312
  export type PropertyOrderByWithRelationInput = {
304
313
  id?: Prisma.SortOrder;
314
+ tenantId?: Prisma.SortOrder;
305
315
  userId?: Prisma.SortOrder;
306
316
  title?: Prisma.SortOrder;
307
317
  category?: Prisma.SortOrder;
@@ -321,6 +331,7 @@ export type PropertyOrderByWithRelationInput = {
321
331
  publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
322
332
  createdAt?: Prisma.SortOrder;
323
333
  updatedAt?: Prisma.SortOrder;
334
+ tenant?: Prisma.TenantOrderByWithRelationInput;
324
335
  user?: Prisma.UserOrderByWithRelationInput;
325
336
  displayImage?: Prisma.PropertyMediaOrderByWithRelationInput;
326
337
  documents?: Prisma.PropertyDocumentOrderByRelationAggregateInput;
@@ -335,6 +346,7 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
335
346
  AND?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
336
347
  OR?: Prisma.PropertyWhereInput[];
337
348
  NOT?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
349
+ tenantId?: Prisma.StringFilter<"Property"> | string;
338
350
  userId?: Prisma.StringFilter<"Property"> | string;
339
351
  title?: Prisma.StringFilter<"Property"> | string;
340
352
  category?: Prisma.StringFilter<"Property"> | string;
@@ -354,6 +366,7 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
354
366
  publishedAt?: Prisma.DateTimeNullableFilter<"Property"> | Date | string | null;
355
367
  createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
356
368
  updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
369
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
357
370
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
358
371
  displayImage?: Prisma.XOR<Prisma.PropertyMediaNullableScalarRelationFilter, Prisma.PropertyMediaWhereInput> | null;
359
372
  documents?: Prisma.PropertyDocumentListRelationFilter;
@@ -364,6 +377,7 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
364
377
  }, "id">;
365
378
  export type PropertyOrderByWithAggregationInput = {
366
379
  id?: Prisma.SortOrder;
380
+ tenantId?: Prisma.SortOrder;
367
381
  userId?: Prisma.SortOrder;
368
382
  title?: Prisma.SortOrder;
369
383
  category?: Prisma.SortOrder;
@@ -394,6 +408,7 @@ export type PropertyScalarWhereWithAggregatesInput = {
394
408
  OR?: Prisma.PropertyScalarWhereWithAggregatesInput[];
395
409
  NOT?: Prisma.PropertyScalarWhereWithAggregatesInput | Prisma.PropertyScalarWhereWithAggregatesInput[];
396
410
  id?: Prisma.StringWithAggregatesFilter<"Property"> | string;
411
+ tenantId?: Prisma.StringWithAggregatesFilter<"Property"> | string;
397
412
  userId?: Prisma.StringWithAggregatesFilter<"Property"> | string;
398
413
  title?: Prisma.StringWithAggregatesFilter<"Property"> | string;
399
414
  category?: Prisma.StringWithAggregatesFilter<"Property"> | string;
@@ -433,6 +448,7 @@ export type PropertyCreateInput = {
433
448
  publishedAt?: Date | string | null;
434
449
  createdAt?: Date | string;
435
450
  updatedAt?: Date | string;
451
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
436
452
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
437
453
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
438
454
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
@@ -443,6 +459,7 @@ export type PropertyCreateInput = {
443
459
  };
444
460
  export type PropertyUncheckedCreateInput = {
445
461
  id?: string;
462
+ tenantId: string;
446
463
  userId: string;
447
464
  title: string;
448
465
  category: string;
@@ -487,6 +504,7 @@ export type PropertyUpdateInput = {
487
504
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
488
505
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
489
506
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
507
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
490
508
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
491
509
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
492
510
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
@@ -497,6 +515,7 @@ export type PropertyUpdateInput = {
497
515
  };
498
516
  export type PropertyUncheckedUpdateInput = {
499
517
  id?: Prisma.StringFieldUpdateOperationsInput | string;
518
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
500
519
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
501
520
  title?: Prisma.StringFieldUpdateOperationsInput | string;
502
521
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -524,6 +543,7 @@ export type PropertyUncheckedUpdateInput = {
524
543
  };
525
544
  export type PropertyCreateManyInput = {
526
545
  id?: string;
546
+ tenantId: string;
527
547
  userId: string;
528
548
  title: string;
529
549
  category: string;
@@ -566,6 +586,7 @@ export type PropertyUpdateManyMutationInput = {
566
586
  };
567
587
  export type PropertyUncheckedUpdateManyInput = {
568
588
  id?: Prisma.StringFieldUpdateOperationsInput | string;
589
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
569
590
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
570
591
  title?: Prisma.StringFieldUpdateOperationsInput | string;
571
592
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -601,6 +622,7 @@ export type PropertyOrderByRelevanceInput = {
601
622
  };
602
623
  export type PropertyCountOrderByAggregateInput = {
603
624
  id?: Prisma.SortOrder;
625
+ tenantId?: Prisma.SortOrder;
604
626
  userId?: Prisma.SortOrder;
605
627
  title?: Prisma.SortOrder;
606
628
  category?: Prisma.SortOrder;
@@ -627,6 +649,7 @@ export type PropertyAvgOrderByAggregateInput = {
627
649
  };
628
650
  export type PropertyMaxOrderByAggregateInput = {
629
651
  id?: Prisma.SortOrder;
652
+ tenantId?: Prisma.SortOrder;
630
653
  userId?: Prisma.SortOrder;
631
654
  title?: Prisma.SortOrder;
632
655
  category?: Prisma.SortOrder;
@@ -649,6 +672,7 @@ export type PropertyMaxOrderByAggregateInput = {
649
672
  };
650
673
  export type PropertyMinOrderByAggregateInput = {
651
674
  id?: Prisma.SortOrder;
675
+ tenantId?: Prisma.SortOrder;
652
676
  userId?: Prisma.SortOrder;
653
677
  title?: Prisma.SortOrder;
654
678
  category?: Prisma.SortOrder;
@@ -715,6 +739,44 @@ export type PropertyUncheckedUpdateManyWithoutUserNestedInput = {
715
739
  updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutUserInput | Prisma.PropertyUpdateManyWithWhereWithoutUserInput[];
716
740
  deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
717
741
  };
742
+ export type PropertyCreateNestedManyWithoutTenantInput = {
743
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[];
744
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[];
745
+ createMany?: Prisma.PropertyCreateManyTenantInputEnvelope;
746
+ connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
747
+ };
748
+ export type PropertyUncheckedCreateNestedManyWithoutTenantInput = {
749
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[];
750
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[];
751
+ createMany?: Prisma.PropertyCreateManyTenantInputEnvelope;
752
+ connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
753
+ };
754
+ export type PropertyUpdateManyWithoutTenantNestedInput = {
755
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[];
756
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[];
757
+ upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput[];
758
+ createMany?: Prisma.PropertyCreateManyTenantInputEnvelope;
759
+ set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
760
+ disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
761
+ delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
762
+ connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
763
+ update?: Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput[];
764
+ updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyUpdateManyWithWhereWithoutTenantInput[];
765
+ deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
766
+ };
767
+ export type PropertyUncheckedUpdateManyWithoutTenantNestedInput = {
768
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[];
769
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[];
770
+ upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput[];
771
+ createMany?: Prisma.PropertyCreateManyTenantInputEnvelope;
772
+ set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
773
+ disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
774
+ delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
775
+ connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
776
+ update?: Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput[];
777
+ updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyUpdateManyWithWhereWithoutTenantInput[];
778
+ deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
779
+ };
718
780
  export type NullableFloatFieldUpdateOperationsInput = {
719
781
  set?: number | null;
720
782
  increment?: number;
@@ -839,6 +901,7 @@ export type PropertyCreateWithoutUserInput = {
839
901
  publishedAt?: Date | string | null;
840
902
  createdAt?: Date | string;
841
903
  updatedAt?: Date | string;
904
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
842
905
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
843
906
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
844
907
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
@@ -848,6 +911,7 @@ export type PropertyCreateWithoutUserInput = {
848
911
  };
849
912
  export type PropertyUncheckedCreateWithoutUserInput = {
850
913
  id?: string;
914
+ tenantId: string;
851
915
  title: string;
852
916
  category: string;
853
917
  propertyType: string;
@@ -898,6 +962,7 @@ export type PropertyScalarWhereInput = {
898
962
  OR?: Prisma.PropertyScalarWhereInput[];
899
963
  NOT?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
900
964
  id?: Prisma.StringFilter<"Property"> | string;
965
+ tenantId?: Prisma.StringFilter<"Property"> | string;
901
966
  userId?: Prisma.StringFilter<"Property"> | string;
902
967
  title?: Prisma.StringFilter<"Property"> | string;
903
968
  category?: Prisma.StringFilter<"Property"> | string;
@@ -918,6 +983,81 @@ export type PropertyScalarWhereInput = {
918
983
  createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
919
984
  updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
920
985
  };
986
+ export type PropertyCreateWithoutTenantInput = {
987
+ id?: string;
988
+ title: string;
989
+ category: string;
990
+ propertyType: string;
991
+ country: string;
992
+ currency: string;
993
+ city: string;
994
+ district?: string | null;
995
+ zipCode?: string | null;
996
+ streetAddress?: string | null;
997
+ longitude?: number | null;
998
+ latitude?: number | null;
999
+ status?: string;
1000
+ description?: string | null;
1001
+ isPublished?: boolean;
1002
+ publishedAt?: Date | string | null;
1003
+ createdAt?: Date | string;
1004
+ updatedAt?: Date | string;
1005
+ user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1006
+ displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1007
+ documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1008
+ media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1009
+ amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1010
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1011
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1012
+ };
1013
+ export type PropertyUncheckedCreateWithoutTenantInput = {
1014
+ id?: string;
1015
+ userId: string;
1016
+ title: string;
1017
+ category: string;
1018
+ propertyType: string;
1019
+ country: string;
1020
+ currency: string;
1021
+ city: string;
1022
+ district?: string | null;
1023
+ zipCode?: string | null;
1024
+ streetAddress?: string | null;
1025
+ longitude?: number | null;
1026
+ latitude?: number | null;
1027
+ status?: string;
1028
+ description?: string | null;
1029
+ displayImageId?: string | null;
1030
+ isPublished?: boolean;
1031
+ publishedAt?: Date | string | null;
1032
+ createdAt?: Date | string;
1033
+ updatedAt?: Date | string;
1034
+ documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1035
+ media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1036
+ amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1037
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1038
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1039
+ };
1040
+ export type PropertyCreateOrConnectWithoutTenantInput = {
1041
+ where: Prisma.PropertyWhereUniqueInput;
1042
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput>;
1043
+ };
1044
+ export type PropertyCreateManyTenantInputEnvelope = {
1045
+ data: Prisma.PropertyCreateManyTenantInput | Prisma.PropertyCreateManyTenantInput[];
1046
+ skipDuplicates?: boolean;
1047
+ };
1048
+ export type PropertyUpsertWithWhereUniqueWithoutTenantInput = {
1049
+ where: Prisma.PropertyWhereUniqueInput;
1050
+ update: Prisma.XOR<Prisma.PropertyUpdateWithoutTenantInput, Prisma.PropertyUncheckedUpdateWithoutTenantInput>;
1051
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput>;
1052
+ };
1053
+ export type PropertyUpdateWithWhereUniqueWithoutTenantInput = {
1054
+ where: Prisma.PropertyWhereUniqueInput;
1055
+ data: Prisma.XOR<Prisma.PropertyUpdateWithoutTenantInput, Prisma.PropertyUncheckedUpdateWithoutTenantInput>;
1056
+ };
1057
+ export type PropertyUpdateManyWithWhereWithoutTenantInput = {
1058
+ where: Prisma.PropertyScalarWhereInput;
1059
+ data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyWithoutTenantInput>;
1060
+ };
921
1061
  export type PropertyCreateWithoutMediaInput = {
922
1062
  id?: string;
923
1063
  title: string;
@@ -937,6 +1077,7 @@ export type PropertyCreateWithoutMediaInput = {
937
1077
  publishedAt?: Date | string | null;
938
1078
  createdAt?: Date | string;
939
1079
  updatedAt?: Date | string;
1080
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
940
1081
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
941
1082
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
942
1083
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
@@ -946,6 +1087,7 @@ export type PropertyCreateWithoutMediaInput = {
946
1087
  };
947
1088
  export type PropertyUncheckedCreateWithoutMediaInput = {
948
1089
  id?: string;
1090
+ tenantId: string;
949
1091
  userId: string;
950
1092
  title: string;
951
1093
  category: string;
@@ -993,6 +1135,7 @@ export type PropertyCreateWithoutDisplayImageInput = {
993
1135
  publishedAt?: Date | string | null;
994
1136
  createdAt?: Date | string;
995
1137
  updatedAt?: Date | string;
1138
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
996
1139
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
997
1140
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
998
1141
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
@@ -1002,6 +1145,7 @@ export type PropertyCreateWithoutDisplayImageInput = {
1002
1145
  };
1003
1146
  export type PropertyUncheckedCreateWithoutDisplayImageInput = {
1004
1147
  id?: string;
1148
+ tenantId: string;
1005
1149
  userId: string;
1006
1150
  title: string;
1007
1151
  category: string;
@@ -1062,6 +1206,7 @@ export type PropertyUpdateWithoutMediaInput = {
1062
1206
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1063
1207
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1064
1208
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1209
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1065
1210
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1066
1211
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1067
1212
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
@@ -1071,6 +1216,7 @@ export type PropertyUpdateWithoutMediaInput = {
1071
1216
  };
1072
1217
  export type PropertyUncheckedUpdateWithoutMediaInput = {
1073
1218
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1219
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1074
1220
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1075
1221
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1076
1222
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1127,6 +1273,7 @@ export type PropertyCreateWithoutDocumentsInput = {
1127
1273
  publishedAt?: Date | string | null;
1128
1274
  createdAt?: Date | string;
1129
1275
  updatedAt?: Date | string;
1276
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1130
1277
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1131
1278
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1132
1279
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
@@ -1136,6 +1283,7 @@ export type PropertyCreateWithoutDocumentsInput = {
1136
1283
  };
1137
1284
  export type PropertyUncheckedCreateWithoutDocumentsInput = {
1138
1285
  id?: string;
1286
+ tenantId: string;
1139
1287
  userId: string;
1140
1288
  title: string;
1141
1289
  category: string;
@@ -1192,6 +1340,7 @@ export type PropertyUpdateWithoutDocumentsInput = {
1192
1340
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1193
1341
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1194
1342
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1343
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1195
1344
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1196
1345
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1197
1346
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
@@ -1201,6 +1350,7 @@ export type PropertyUpdateWithoutDocumentsInput = {
1201
1350
  };
1202
1351
  export type PropertyUncheckedUpdateWithoutDocumentsInput = {
1203
1352
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1353
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1204
1354
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1205
1355
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1206
1356
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1244,6 +1394,7 @@ export type PropertyCreateWithoutVariantsInput = {
1244
1394
  publishedAt?: Date | string | null;
1245
1395
  createdAt?: Date | string;
1246
1396
  updatedAt?: Date | string;
1397
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1247
1398
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1248
1399
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1249
1400
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
@@ -1253,6 +1404,7 @@ export type PropertyCreateWithoutVariantsInput = {
1253
1404
  };
1254
1405
  export type PropertyUncheckedCreateWithoutVariantsInput = {
1255
1406
  id?: string;
1407
+ tenantId: string;
1256
1408
  userId: string;
1257
1409
  title: string;
1258
1410
  category: string;
@@ -1309,6 +1461,7 @@ export type PropertyUpdateWithoutVariantsInput = {
1309
1461
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1310
1462
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1311
1463
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1464
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1312
1465
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1313
1466
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1314
1467
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
@@ -1318,6 +1471,7 @@ export type PropertyUpdateWithoutVariantsInput = {
1318
1471
  };
1319
1472
  export type PropertyUncheckedUpdateWithoutVariantsInput = {
1320
1473
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1474
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1321
1475
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1322
1476
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1323
1477
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1361,6 +1515,7 @@ export type PropertyCreateWithoutAmenitiesInput = {
1361
1515
  publishedAt?: Date | string | null;
1362
1516
  createdAt?: Date | string;
1363
1517
  updatedAt?: Date | string;
1518
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1364
1519
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1365
1520
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1366
1521
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
@@ -1370,6 +1525,7 @@ export type PropertyCreateWithoutAmenitiesInput = {
1370
1525
  };
1371
1526
  export type PropertyUncheckedCreateWithoutAmenitiesInput = {
1372
1527
  id?: string;
1528
+ tenantId: string;
1373
1529
  userId: string;
1374
1530
  title: string;
1375
1531
  category: string;
@@ -1426,6 +1582,7 @@ export type PropertyUpdateWithoutAmenitiesInput = {
1426
1582
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1427
1583
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1428
1584
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1585
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1429
1586
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1430
1587
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1431
1588
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
@@ -1435,6 +1592,7 @@ export type PropertyUpdateWithoutAmenitiesInput = {
1435
1592
  };
1436
1593
  export type PropertyUncheckedUpdateWithoutAmenitiesInput = {
1437
1594
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1595
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1438
1596
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1439
1597
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1440
1598
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1478,6 +1636,7 @@ export type PropertyCreateWithoutPaymentMethodsInput = {
1478
1636
  publishedAt?: Date | string | null;
1479
1637
  createdAt?: Date | string;
1480
1638
  updatedAt?: Date | string;
1639
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1481
1640
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1482
1641
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1483
1642
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
@@ -1487,6 +1646,7 @@ export type PropertyCreateWithoutPaymentMethodsInput = {
1487
1646
  };
1488
1647
  export type PropertyUncheckedCreateWithoutPaymentMethodsInput = {
1489
1648
  id?: string;
1649
+ tenantId: string;
1490
1650
  userId: string;
1491
1651
  title: string;
1492
1652
  category: string;
@@ -1543,6 +1703,7 @@ export type PropertyUpdateWithoutPaymentMethodsInput = {
1543
1703
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1544
1704
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1545
1705
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1706
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1546
1707
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1547
1708
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1548
1709
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
@@ -1552,6 +1713,7 @@ export type PropertyUpdateWithoutPaymentMethodsInput = {
1552
1713
  };
1553
1714
  export type PropertyUncheckedUpdateWithoutPaymentMethodsInput = {
1554
1715
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1716
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1555
1717
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1556
1718
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1557
1719
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1578,6 +1740,7 @@ export type PropertyUncheckedUpdateWithoutPaymentMethodsInput = {
1578
1740
  };
1579
1741
  export type PropertyCreateManyUserInput = {
1580
1742
  id?: string;
1743
+ tenantId: string;
1581
1744
  title: string;
1582
1745
  category: string;
1583
1746
  propertyType: string;
@@ -1616,6 +1779,7 @@ export type PropertyUpdateWithoutUserInput = {
1616
1779
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1617
1780
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1618
1781
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1782
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1619
1783
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1620
1784
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1621
1785
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
@@ -1625,6 +1789,7 @@ export type PropertyUpdateWithoutUserInput = {
1625
1789
  };
1626
1790
  export type PropertyUncheckedUpdateWithoutUserInput = {
1627
1791
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1792
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1628
1793
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1629
1794
  category?: Prisma.StringFieldUpdateOperationsInput | string;
1630
1795
  propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1651,6 +1816,105 @@ export type PropertyUncheckedUpdateWithoutUserInput = {
1651
1816
  };
1652
1817
  export type PropertyUncheckedUpdateManyWithoutUserInput = {
1653
1818
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1819
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1820
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1821
+ category?: Prisma.StringFieldUpdateOperationsInput | string;
1822
+ propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
1823
+ country?: Prisma.StringFieldUpdateOperationsInput | string;
1824
+ currency?: Prisma.StringFieldUpdateOperationsInput | string;
1825
+ city?: Prisma.StringFieldUpdateOperationsInput | string;
1826
+ district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1827
+ zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1828
+ streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1829
+ longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1830
+ latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1831
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
1832
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1833
+ displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1834
+ isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1835
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1836
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1837
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1838
+ };
1839
+ export type PropertyCreateManyTenantInput = {
1840
+ id?: string;
1841
+ userId: string;
1842
+ title: string;
1843
+ category: string;
1844
+ propertyType: string;
1845
+ country: string;
1846
+ currency: string;
1847
+ city: string;
1848
+ district?: string | null;
1849
+ zipCode?: string | null;
1850
+ streetAddress?: string | null;
1851
+ longitude?: number | null;
1852
+ latitude?: number | null;
1853
+ status?: string;
1854
+ description?: string | null;
1855
+ displayImageId?: string | null;
1856
+ isPublished?: boolean;
1857
+ publishedAt?: Date | string | null;
1858
+ createdAt?: Date | string;
1859
+ updatedAt?: Date | string;
1860
+ };
1861
+ export type PropertyUpdateWithoutTenantInput = {
1862
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1863
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1864
+ category?: Prisma.StringFieldUpdateOperationsInput | string;
1865
+ propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
1866
+ country?: Prisma.StringFieldUpdateOperationsInput | string;
1867
+ currency?: Prisma.StringFieldUpdateOperationsInput | string;
1868
+ city?: Prisma.StringFieldUpdateOperationsInput | string;
1869
+ district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1870
+ zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1871
+ streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1872
+ longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1873
+ latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1874
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
1875
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1876
+ isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1877
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1878
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1879
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1880
+ user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1881
+ displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1882
+ documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1883
+ media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1884
+ amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1885
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1886
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1887
+ };
1888
+ export type PropertyUncheckedUpdateWithoutTenantInput = {
1889
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1890
+ userId?: Prisma.StringFieldUpdateOperationsInput | string;
1891
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1892
+ category?: Prisma.StringFieldUpdateOperationsInput | string;
1893
+ propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
1894
+ country?: Prisma.StringFieldUpdateOperationsInput | string;
1895
+ currency?: Prisma.StringFieldUpdateOperationsInput | string;
1896
+ city?: Prisma.StringFieldUpdateOperationsInput | string;
1897
+ district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1898
+ zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1899
+ streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1900
+ longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1901
+ latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1902
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
1903
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1904
+ displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1905
+ isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1906
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1907
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1908
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1909
+ documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
1910
+ media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
1911
+ amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1912
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1913
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
1914
+ };
1915
+ export type PropertyUncheckedUpdateManyWithoutTenantInput = {
1916
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1917
+ userId?: Prisma.StringFieldUpdateOperationsInput | string;
1654
1918
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1655
1919
  category?: Prisma.StringFieldUpdateOperationsInput | string;
1656
1920
  propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1672,6 +1936,7 @@ export type PropertyUncheckedUpdateManyWithoutUserInput = {
1672
1936
  };
1673
1937
  export type PropertyCreateManyDisplayImageInput = {
1674
1938
  id?: string;
1939
+ tenantId: string;
1675
1940
  userId: string;
1676
1941
  title: string;
1677
1942
  category: string;
@@ -1710,6 +1975,7 @@ export type PropertyUpdateWithoutDisplayImageInput = {
1710
1975
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1711
1976
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1712
1977
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1978
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1713
1979
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1714
1980
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1715
1981
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
@@ -1719,6 +1985,7 @@ export type PropertyUpdateWithoutDisplayImageInput = {
1719
1985
  };
1720
1986
  export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
1721
1987
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1988
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1722
1989
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1723
1990
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1724
1991
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1745,6 +2012,7 @@ export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
1745
2012
  };
1746
2013
  export type PropertyUncheckedUpdateManyWithoutDisplayImageInput = {
1747
2014
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2015
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1748
2016
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1749
2017
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1750
2018
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1822,6 +2090,7 @@ export type PropertyCountOutputTypeCountVariantsArgs<ExtArgs extends runtime.Typ
1822
2090
  };
1823
2091
  export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1824
2092
  id?: boolean;
2093
+ tenantId?: boolean;
1825
2094
  userId?: boolean;
1826
2095
  title?: boolean;
1827
2096
  category?: boolean;
@@ -1841,6 +2110,7 @@ export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1841
2110
  publishedAt?: boolean;
1842
2111
  createdAt?: boolean;
1843
2112
  updatedAt?: boolean;
2113
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1844
2114
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1845
2115
  displayImage?: boolean | Prisma.Property$displayImageArgs<ExtArgs>;
1846
2116
  documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
@@ -1852,6 +2122,7 @@ export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1852
2122
  }, ExtArgs["result"]["property"]>;
1853
2123
  export type PropertySelectScalar = {
1854
2124
  id?: boolean;
2125
+ tenantId?: boolean;
1855
2126
  userId?: boolean;
1856
2127
  title?: boolean;
1857
2128
  category?: boolean;
@@ -1872,8 +2143,9 @@ export type PropertySelectScalar = {
1872
2143
  createdAt?: boolean;
1873
2144
  updatedAt?: boolean;
1874
2145
  };
1875
- export type PropertyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "title" | "category" | "propertyType" | "country" | "currency" | "city" | "district" | "zipCode" | "streetAddress" | "longitude" | "latitude" | "status" | "description" | "displayImageId" | "isPublished" | "publishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["property"]>;
2146
+ export type PropertyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "userId" | "title" | "category" | "propertyType" | "country" | "currency" | "city" | "district" | "zipCode" | "streetAddress" | "longitude" | "latitude" | "status" | "description" | "displayImageId" | "isPublished" | "publishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["property"]>;
1876
2147
  export type PropertyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2148
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1877
2149
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
1878
2150
  displayImage?: boolean | Prisma.Property$displayImageArgs<ExtArgs>;
1879
2151
  documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
@@ -1886,6 +2158,7 @@ export type PropertyInclude<ExtArgs extends runtime.Types.Extensions.InternalArg
1886
2158
  export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1887
2159
  name: "Property";
1888
2160
  objects: {
2161
+ tenant: Prisma.$TenantPayload<ExtArgs>;
1889
2162
  user: Prisma.$UserPayload<ExtArgs>;
1890
2163
  displayImage: Prisma.$PropertyMediaPayload<ExtArgs> | null;
1891
2164
  documents: Prisma.$PropertyDocumentPayload<ExtArgs>[];
@@ -1896,6 +2169,7 @@ export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
1896
2169
  };
1897
2170
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1898
2171
  id: string;
2172
+ tenantId: string;
1899
2173
  userId: string;
1900
2174
  title: string;
1901
2175
  category: string;
@@ -2192,6 +2466,7 @@ export interface PropertyDelegate<ExtArgs extends runtime.Types.Extensions.Inter
2192
2466
  */
2193
2467
  export interface Prisma__PropertyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2194
2468
  readonly [Symbol.toStringTag]: "PrismaPromise";
2469
+ tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
2195
2470
  user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
2196
2471
  displayImage<T extends Prisma.Property$displayImageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$displayImageArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2197
2472
  documents<T extends Prisma.Property$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -2225,6 +2500,7 @@ export interface Prisma__PropertyClient<T, Null = never, ExtArgs extends runtime
2225
2500
  */
2226
2501
  export interface PropertyFieldRefs {
2227
2502
  readonly id: Prisma.FieldRef<"Property", 'String'>;
2503
+ readonly tenantId: Prisma.FieldRef<"Property", 'String'>;
2228
2504
  readonly userId: Prisma.FieldRef<"Property", 'String'>;
2229
2505
  readonly title: Prisma.FieldRef<"Property", 'String'>;
2230
2506
  readonly category: Prisma.FieldRef<"Property", 'String'>;