@valentine-efagene/qshelter-common 2.0.19 → 2.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/generated/client/browser.d.ts +45 -30
  2. package/dist/generated/client/client.d.ts +45 -30
  3. package/dist/generated/client/commonInputTypes.d.ts +40 -0
  4. package/dist/generated/client/internal/class.d.ts +93 -60
  5. package/dist/generated/client/internal/class.js +2 -2
  6. package/dist/generated/client/internal/prismaNamespace.d.ts +1050 -720
  7. package/dist/generated/client/internal/prismaNamespace.js +313 -190
  8. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +344 -215
  9. package/dist/generated/client/internal/prismaNamespaceBrowser.js +313 -190
  10. package/dist/generated/client/models/Amenity.d.ts +168 -1
  11. package/dist/generated/client/models/Contract.d.ts +2037 -298
  12. package/dist/generated/client/models/ContractDocument.d.ts +299 -12
  13. package/dist/generated/client/models/ContractEvent.d.ts +1052 -0
  14. package/dist/generated/client/models/ContractEvent.js +1 -0
  15. package/dist/generated/client/models/ContractInstallment.d.ts +1656 -0
  16. package/dist/generated/client/models/ContractInstallment.js +1 -0
  17. package/dist/generated/client/models/ContractPayment.d.ts +2026 -0
  18. package/dist/generated/client/models/ContractPayment.js +1 -0
  19. package/dist/generated/client/models/ContractPhase.d.ts +2467 -0
  20. package/dist/generated/client/models/ContractPhase.js +1 -0
  21. package/dist/generated/client/models/ContractPhaseStep.d.ts +1678 -0
  22. package/dist/generated/client/models/ContractPhaseStep.js +1 -0
  23. package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +1249 -0
  24. package/dist/generated/client/models/ContractPhaseStepApproval.js +1 -0
  25. package/dist/generated/client/models/ContractTransition.d.ts +1118 -0
  26. package/dist/generated/client/models/ContractTransition.js +1 -0
  27. package/dist/generated/client/models/DomainEvent.d.ts +1240 -0
  28. package/dist/generated/client/models/DomainEvent.js +1 -0
  29. package/dist/generated/client/models/PaymentPlan.d.ts +325 -1062
  30. package/dist/generated/client/models/Property.d.ts +154 -684
  31. package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1498 -0
  32. package/dist/generated/client/models/PropertyPaymentMethod.js +1 -0
  33. package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +1158 -0
  34. package/dist/generated/client/models/PropertyPaymentMethodLink.js +1 -0
  35. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +1656 -0
  36. package/dist/generated/client/models/PropertyPaymentMethodPhase.js +1 -0
  37. package/dist/generated/client/models/PropertyUnit.d.ts +1598 -0
  38. package/dist/generated/client/models/PropertyUnit.js +1 -0
  39. package/dist/generated/client/models/PropertyVariant.d.ts +2079 -0
  40. package/dist/generated/client/models/PropertyVariant.js +1 -0
  41. package/dist/generated/client/models/PropertyVariantAmenity.d.ts +1080 -0
  42. package/dist/generated/client/models/PropertyVariantAmenity.js +1 -0
  43. package/dist/generated/client/models/PropertyVariantMedia.d.ts +1189 -0
  44. package/dist/generated/client/models/PropertyVariantMedia.js +1 -0
  45. package/dist/generated/client/models/User.d.ts +684 -427
  46. package/dist/generated/client/models/index.d.ts +15 -12
  47. package/dist/generated/client/models/index.js +15 -12
  48. package/dist/generated/client/models.d.ts +15 -12
  49. package/dist/src/config/config.service.d.ts +0 -1
  50. package/dist/src/config/config.service.js +0 -1
  51. package/package.json +2 -1
  52. package/prisma/schema.prisma +544 -269
@@ -13,16 +13,12 @@ export type AggregateProperty = {
13
13
  _max: PropertyMaxAggregateOutputType | null;
14
14
  };
15
15
  export type PropertyAvgAggregateOutputType = {
16
- price: number | null;
17
16
  longitude: number | null;
18
17
  latitude: number | null;
19
- area: number | null;
20
18
  };
21
19
  export type PropertySumAggregateOutputType = {
22
- price: number | null;
23
20
  longitude: number | null;
24
21
  latitude: number | null;
25
- area: number | null;
26
22
  };
27
23
  export type PropertyMinAggregateOutputType = {
28
24
  id: string | null;
@@ -36,13 +32,8 @@ export type PropertyMinAggregateOutputType = {
36
32
  district: string | null;
37
33
  zipCode: string | null;
38
34
  streetAddress: string | null;
39
- nBedrooms: string | null;
40
- nBathrooms: string | null;
41
- nParkingSpots: string | null;
42
- price: number | null;
43
35
  longitude: number | null;
44
36
  latitude: number | null;
45
- area: number | null;
46
37
  status: string | null;
47
38
  description: string | null;
48
39
  displayImageId: string | null;
@@ -63,13 +54,8 @@ export type PropertyMaxAggregateOutputType = {
63
54
  district: string | null;
64
55
  zipCode: string | null;
65
56
  streetAddress: string | null;
66
- nBedrooms: string | null;
67
- nBathrooms: string | null;
68
- nParkingSpots: string | null;
69
- price: number | null;
70
57
  longitude: number | null;
71
58
  latitude: number | null;
72
- area: number | null;
73
59
  status: string | null;
74
60
  description: string | null;
75
61
  displayImageId: string | null;
@@ -90,13 +76,8 @@ export type PropertyCountAggregateOutputType = {
90
76
  district: number;
91
77
  zipCode: number;
92
78
  streetAddress: number;
93
- nBedrooms: number;
94
- nBathrooms: number;
95
- nParkingSpots: number;
96
- price: number;
97
79
  longitude: number;
98
80
  latitude: number;
99
- area: number;
100
81
  status: number;
101
82
  description: number;
102
83
  displayImageId: number;
@@ -107,16 +88,12 @@ export type PropertyCountAggregateOutputType = {
107
88
  _all: number;
108
89
  };
109
90
  export type PropertyAvgAggregateInputType = {
110
- price?: true;
111
91
  longitude?: true;
112
92
  latitude?: true;
113
- area?: true;
114
93
  };
115
94
  export type PropertySumAggregateInputType = {
116
- price?: true;
117
95
  longitude?: true;
118
96
  latitude?: true;
119
- area?: true;
120
97
  };
121
98
  export type PropertyMinAggregateInputType = {
122
99
  id?: true;
@@ -130,13 +107,8 @@ export type PropertyMinAggregateInputType = {
130
107
  district?: true;
131
108
  zipCode?: true;
132
109
  streetAddress?: true;
133
- nBedrooms?: true;
134
- nBathrooms?: true;
135
- nParkingSpots?: true;
136
- price?: true;
137
110
  longitude?: true;
138
111
  latitude?: true;
139
- area?: true;
140
112
  status?: true;
141
113
  description?: true;
142
114
  displayImageId?: true;
@@ -157,13 +129,8 @@ export type PropertyMaxAggregateInputType = {
157
129
  district?: true;
158
130
  zipCode?: true;
159
131
  streetAddress?: true;
160
- nBedrooms?: true;
161
- nBathrooms?: true;
162
- nParkingSpots?: true;
163
- price?: true;
164
132
  longitude?: true;
165
133
  latitude?: true;
166
- area?: true;
167
134
  status?: true;
168
135
  description?: true;
169
136
  displayImageId?: true;
@@ -184,13 +151,8 @@ export type PropertyCountAggregateInputType = {
184
151
  district?: true;
185
152
  zipCode?: true;
186
153
  streetAddress?: true;
187
- nBedrooms?: true;
188
- nBathrooms?: true;
189
- nParkingSpots?: true;
190
- price?: true;
191
154
  longitude?: true;
192
155
  latitude?: true;
193
- area?: true;
194
156
  status?: true;
195
157
  description?: true;
196
158
  displayImageId?: true;
@@ -288,13 +250,8 @@ export type PropertyGroupByOutputType = {
288
250
  district: string | null;
289
251
  zipCode: string | null;
290
252
  streetAddress: string | null;
291
- nBedrooms: string;
292
- nBathrooms: string;
293
- nParkingSpots: string;
294
- price: number;
295
253
  longitude: number | null;
296
254
  latitude: number | null;
297
- area: number | null;
298
255
  status: string;
299
256
  description: string | null;
300
257
  displayImageId: string | null;
@@ -326,13 +283,8 @@ export type PropertyWhereInput = {
326
283
  district?: Prisma.StringNullableFilter<"Property"> | string | null;
327
284
  zipCode?: Prisma.StringNullableFilter<"Property"> | string | null;
328
285
  streetAddress?: Prisma.StringNullableFilter<"Property"> | string | null;
329
- nBedrooms?: Prisma.StringFilter<"Property"> | string;
330
- nBathrooms?: Prisma.StringFilter<"Property"> | string;
331
- nParkingSpots?: Prisma.StringFilter<"Property"> | string;
332
- price?: Prisma.FloatFilter<"Property"> | number;
333
286
  longitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
334
287
  latitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
335
- area?: Prisma.FloatNullableFilter<"Property"> | number | null;
336
288
  status?: Prisma.StringFilter<"Property"> | string;
337
289
  description?: Prisma.StringNullableFilter<"Property"> | string | null;
338
290
  displayImageId?: Prisma.StringNullableFilter<"Property"> | string | null;
@@ -345,9 +297,8 @@ export type PropertyWhereInput = {
345
297
  documents?: Prisma.PropertyDocumentListRelationFilter;
346
298
  media?: Prisma.PropertyMediaListRelationFilter;
347
299
  amenities?: Prisma.PropertyAmenityListRelationFilter;
348
- mortgages?: Prisma.MortgageListRelationFilter;
349
- paymentPlans?: Prisma.PaymentPlanListRelationFilter;
350
- contracts?: Prisma.ContractListRelationFilter;
300
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkListRelationFilter;
301
+ variants?: Prisma.PropertyVariantListRelationFilter;
351
302
  };
352
303
  export type PropertyOrderByWithRelationInput = {
353
304
  id?: Prisma.SortOrder;
@@ -361,13 +312,8 @@ export type PropertyOrderByWithRelationInput = {
361
312
  district?: Prisma.SortOrderInput | Prisma.SortOrder;
362
313
  zipCode?: Prisma.SortOrderInput | Prisma.SortOrder;
363
314
  streetAddress?: Prisma.SortOrderInput | Prisma.SortOrder;
364
- nBedrooms?: Prisma.SortOrder;
365
- nBathrooms?: Prisma.SortOrder;
366
- nParkingSpots?: Prisma.SortOrder;
367
- price?: Prisma.SortOrder;
368
315
  longitude?: Prisma.SortOrderInput | Prisma.SortOrder;
369
316
  latitude?: Prisma.SortOrderInput | Prisma.SortOrder;
370
- area?: Prisma.SortOrderInput | Prisma.SortOrder;
371
317
  status?: Prisma.SortOrder;
372
318
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
373
319
  displayImageId?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -380,9 +326,8 @@ export type PropertyOrderByWithRelationInput = {
380
326
  documents?: Prisma.PropertyDocumentOrderByRelationAggregateInput;
381
327
  media?: Prisma.PropertyMediaOrderByRelationAggregateInput;
382
328
  amenities?: Prisma.PropertyAmenityOrderByRelationAggregateInput;
383
- mortgages?: Prisma.MortgageOrderByRelationAggregateInput;
384
- paymentPlans?: Prisma.PaymentPlanOrderByRelationAggregateInput;
385
- contracts?: Prisma.ContractOrderByRelationAggregateInput;
329
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkOrderByRelationAggregateInput;
330
+ variants?: Prisma.PropertyVariantOrderByRelationAggregateInput;
386
331
  _relevance?: Prisma.PropertyOrderByRelevanceInput;
387
332
  };
388
333
  export type PropertyWhereUniqueInput = Prisma.AtLeast<{
@@ -400,13 +345,8 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
400
345
  district?: Prisma.StringNullableFilter<"Property"> | string | null;
401
346
  zipCode?: Prisma.StringNullableFilter<"Property"> | string | null;
402
347
  streetAddress?: Prisma.StringNullableFilter<"Property"> | string | null;
403
- nBedrooms?: Prisma.StringFilter<"Property"> | string;
404
- nBathrooms?: Prisma.StringFilter<"Property"> | string;
405
- nParkingSpots?: Prisma.StringFilter<"Property"> | string;
406
- price?: Prisma.FloatFilter<"Property"> | number;
407
348
  longitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
408
349
  latitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
409
- area?: Prisma.FloatNullableFilter<"Property"> | number | null;
410
350
  status?: Prisma.StringFilter<"Property"> | string;
411
351
  description?: Prisma.StringNullableFilter<"Property"> | string | null;
412
352
  displayImageId?: Prisma.StringNullableFilter<"Property"> | string | null;
@@ -419,9 +359,8 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
419
359
  documents?: Prisma.PropertyDocumentListRelationFilter;
420
360
  media?: Prisma.PropertyMediaListRelationFilter;
421
361
  amenities?: Prisma.PropertyAmenityListRelationFilter;
422
- mortgages?: Prisma.MortgageListRelationFilter;
423
- paymentPlans?: Prisma.PaymentPlanListRelationFilter;
424
- contracts?: Prisma.ContractListRelationFilter;
362
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkListRelationFilter;
363
+ variants?: Prisma.PropertyVariantListRelationFilter;
425
364
  }, "id">;
426
365
  export type PropertyOrderByWithAggregationInput = {
427
366
  id?: Prisma.SortOrder;
@@ -435,13 +374,8 @@ export type PropertyOrderByWithAggregationInput = {
435
374
  district?: Prisma.SortOrderInput | Prisma.SortOrder;
436
375
  zipCode?: Prisma.SortOrderInput | Prisma.SortOrder;
437
376
  streetAddress?: Prisma.SortOrderInput | Prisma.SortOrder;
438
- nBedrooms?: Prisma.SortOrder;
439
- nBathrooms?: Prisma.SortOrder;
440
- nParkingSpots?: Prisma.SortOrder;
441
- price?: Prisma.SortOrder;
442
377
  longitude?: Prisma.SortOrderInput | Prisma.SortOrder;
443
378
  latitude?: Prisma.SortOrderInput | Prisma.SortOrder;
444
- area?: Prisma.SortOrderInput | Prisma.SortOrder;
445
379
  status?: Prisma.SortOrder;
446
380
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
447
381
  displayImageId?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -470,13 +404,8 @@ export type PropertyScalarWhereWithAggregatesInput = {
470
404
  district?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
471
405
  zipCode?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
472
406
  streetAddress?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
473
- nBedrooms?: Prisma.StringWithAggregatesFilter<"Property"> | string;
474
- nBathrooms?: Prisma.StringWithAggregatesFilter<"Property"> | string;
475
- nParkingSpots?: Prisma.StringWithAggregatesFilter<"Property"> | string;
476
- price?: Prisma.FloatWithAggregatesFilter<"Property"> | number;
477
407
  longitude?: Prisma.FloatNullableWithAggregatesFilter<"Property"> | number | null;
478
408
  latitude?: Prisma.FloatNullableWithAggregatesFilter<"Property"> | number | null;
479
- area?: Prisma.FloatNullableWithAggregatesFilter<"Property"> | number | null;
480
409
  status?: Prisma.StringWithAggregatesFilter<"Property"> | string;
481
410
  description?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
482
411
  displayImageId?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
@@ -496,13 +425,8 @@ export type PropertyCreateInput = {
496
425
  district?: string | null;
497
426
  zipCode?: string | null;
498
427
  streetAddress?: string | null;
499
- nBedrooms: string;
500
- nBathrooms: string;
501
- nParkingSpots: string;
502
- price: number;
503
428
  longitude?: number | null;
504
429
  latitude?: number | null;
505
- area?: number | null;
506
430
  status?: string;
507
431
  description?: string | null;
508
432
  isPublished?: boolean;
@@ -514,9 +438,8 @@ export type PropertyCreateInput = {
514
438
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
515
439
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
516
440
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
517
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
518
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
519
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
441
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
442
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
520
443
  };
521
444
  export type PropertyUncheckedCreateInput = {
522
445
  id?: string;
@@ -530,13 +453,8 @@ export type PropertyUncheckedCreateInput = {
530
453
  district?: string | null;
531
454
  zipCode?: string | null;
532
455
  streetAddress?: string | null;
533
- nBedrooms: string;
534
- nBathrooms: string;
535
- nParkingSpots: string;
536
- price: number;
537
456
  longitude?: number | null;
538
457
  latitude?: number | null;
539
- area?: number | null;
540
458
  status?: string;
541
459
  description?: string | null;
542
460
  displayImageId?: string | null;
@@ -547,9 +465,8 @@ export type PropertyUncheckedCreateInput = {
547
465
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
548
466
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
549
467
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
550
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
551
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
552
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
468
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
469
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
553
470
  };
554
471
  export type PropertyUpdateInput = {
555
472
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -562,13 +479,8 @@ export type PropertyUpdateInput = {
562
479
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
563
480
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
564
481
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
565
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
566
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
567
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
568
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
569
482
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
570
483
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
571
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
572
484
  status?: Prisma.StringFieldUpdateOperationsInput | string;
573
485
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
574
486
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -580,9 +492,8 @@ export type PropertyUpdateInput = {
580
492
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
581
493
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
582
494
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
583
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
584
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
585
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
495
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
496
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
586
497
  };
587
498
  export type PropertyUncheckedUpdateInput = {
588
499
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -596,13 +507,8 @@ export type PropertyUncheckedUpdateInput = {
596
507
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
597
508
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
598
509
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
599
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
600
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
601
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
602
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
603
510
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
604
511
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
605
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
606
512
  status?: Prisma.StringFieldUpdateOperationsInput | string;
607
513
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
608
514
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -613,9 +519,8 @@ export type PropertyUncheckedUpdateInput = {
613
519
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
614
520
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
615
521
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
616
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
617
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
618
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
522
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
523
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
619
524
  };
620
525
  export type PropertyCreateManyInput = {
621
526
  id?: string;
@@ -629,13 +534,8 @@ export type PropertyCreateManyInput = {
629
534
  district?: string | null;
630
535
  zipCode?: string | null;
631
536
  streetAddress?: string | null;
632
- nBedrooms: string;
633
- nBathrooms: string;
634
- nParkingSpots: string;
635
- price: number;
636
537
  longitude?: number | null;
637
538
  latitude?: number | null;
638
- area?: number | null;
639
539
  status?: string;
640
540
  description?: string | null;
641
541
  displayImageId?: string | null;
@@ -655,13 +555,8 @@ export type PropertyUpdateManyMutationInput = {
655
555
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
656
556
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
657
557
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
658
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
659
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
660
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
661
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
662
558
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
663
559
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
664
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
665
560
  status?: Prisma.StringFieldUpdateOperationsInput | string;
666
561
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
667
562
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -681,13 +576,8 @@ export type PropertyUncheckedUpdateManyInput = {
681
576
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
682
577
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
683
578
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
684
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
685
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
686
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
687
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
688
579
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
689
580
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
690
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
691
581
  status?: Prisma.StringFieldUpdateOperationsInput | string;
692
582
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
693
583
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -721,13 +611,8 @@ export type PropertyCountOrderByAggregateInput = {
721
611
  district?: Prisma.SortOrder;
722
612
  zipCode?: Prisma.SortOrder;
723
613
  streetAddress?: Prisma.SortOrder;
724
- nBedrooms?: Prisma.SortOrder;
725
- nBathrooms?: Prisma.SortOrder;
726
- nParkingSpots?: Prisma.SortOrder;
727
- price?: Prisma.SortOrder;
728
614
  longitude?: Prisma.SortOrder;
729
615
  latitude?: Prisma.SortOrder;
730
- area?: Prisma.SortOrder;
731
616
  status?: Prisma.SortOrder;
732
617
  description?: Prisma.SortOrder;
733
618
  displayImageId?: Prisma.SortOrder;
@@ -737,10 +622,8 @@ export type PropertyCountOrderByAggregateInput = {
737
622
  updatedAt?: Prisma.SortOrder;
738
623
  };
739
624
  export type PropertyAvgOrderByAggregateInput = {
740
- price?: Prisma.SortOrder;
741
625
  longitude?: Prisma.SortOrder;
742
626
  latitude?: Prisma.SortOrder;
743
- area?: Prisma.SortOrder;
744
627
  };
745
628
  export type PropertyMaxOrderByAggregateInput = {
746
629
  id?: Prisma.SortOrder;
@@ -754,13 +637,8 @@ export type PropertyMaxOrderByAggregateInput = {
754
637
  district?: Prisma.SortOrder;
755
638
  zipCode?: Prisma.SortOrder;
756
639
  streetAddress?: Prisma.SortOrder;
757
- nBedrooms?: Prisma.SortOrder;
758
- nBathrooms?: Prisma.SortOrder;
759
- nParkingSpots?: Prisma.SortOrder;
760
- price?: Prisma.SortOrder;
761
640
  longitude?: Prisma.SortOrder;
762
641
  latitude?: Prisma.SortOrder;
763
- area?: Prisma.SortOrder;
764
642
  status?: Prisma.SortOrder;
765
643
  description?: Prisma.SortOrder;
766
644
  displayImageId?: Prisma.SortOrder;
@@ -781,13 +659,8 @@ export type PropertyMinOrderByAggregateInput = {
781
659
  district?: Prisma.SortOrder;
782
660
  zipCode?: Prisma.SortOrder;
783
661
  streetAddress?: Prisma.SortOrder;
784
- nBedrooms?: Prisma.SortOrder;
785
- nBathrooms?: Prisma.SortOrder;
786
- nParkingSpots?: Prisma.SortOrder;
787
- price?: Prisma.SortOrder;
788
662
  longitude?: Prisma.SortOrder;
789
663
  latitude?: Prisma.SortOrder;
790
- area?: Prisma.SortOrder;
791
664
  status?: Prisma.SortOrder;
792
665
  description?: Prisma.SortOrder;
793
666
  displayImageId?: Prisma.SortOrder;
@@ -797,10 +670,8 @@ export type PropertyMinOrderByAggregateInput = {
797
670
  updatedAt?: Prisma.SortOrder;
798
671
  };
799
672
  export type PropertySumOrderByAggregateInput = {
800
- price?: Prisma.SortOrder;
801
673
  longitude?: Prisma.SortOrder;
802
674
  latitude?: Prisma.SortOrder;
803
- area?: Prisma.SortOrder;
804
675
  };
805
676
  export type PropertyScalarRelationFilter = {
806
677
  is?: Prisma.PropertyWhereInput;
@@ -913,6 +784,18 @@ export type PropertyUpdateOneRequiredWithoutDocumentsNestedInput = {
913
784
  connect?: Prisma.PropertyWhereUniqueInput;
914
785
  update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutDocumentsInput, Prisma.PropertyUpdateWithoutDocumentsInput>, Prisma.PropertyUncheckedUpdateWithoutDocumentsInput>;
915
786
  };
787
+ export type PropertyCreateNestedOneWithoutVariantsInput = {
788
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutVariantsInput, Prisma.PropertyUncheckedCreateWithoutVariantsInput>;
789
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutVariantsInput;
790
+ connect?: Prisma.PropertyWhereUniqueInput;
791
+ };
792
+ export type PropertyUpdateOneRequiredWithoutVariantsNestedInput = {
793
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutVariantsInput, Prisma.PropertyUncheckedCreateWithoutVariantsInput>;
794
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutVariantsInput;
795
+ upsert?: Prisma.PropertyUpsertWithoutVariantsInput;
796
+ connect?: Prisma.PropertyWhereUniqueInput;
797
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutVariantsInput, Prisma.PropertyUpdateWithoutVariantsInput>, Prisma.PropertyUncheckedUpdateWithoutVariantsInput>;
798
+ };
916
799
  export type PropertyCreateNestedOneWithoutAmenitiesInput = {
917
800
  create?: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
918
801
  connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutAmenitiesInput;
@@ -925,41 +808,17 @@ export type PropertyUpdateOneRequiredWithoutAmenitiesNestedInput = {
925
808
  connect?: Prisma.PropertyWhereUniqueInput;
926
809
  update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutAmenitiesInput, Prisma.PropertyUpdateWithoutAmenitiesInput>, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
927
810
  };
928
- export type PropertyCreateNestedOneWithoutMortgagesInput = {
929
- create?: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
930
- connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutMortgagesInput;
931
- connect?: Prisma.PropertyWhereUniqueInput;
932
- };
933
- export type PropertyUpdateOneRequiredWithoutMortgagesNestedInput = {
934
- create?: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
935
- connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutMortgagesInput;
936
- upsert?: Prisma.PropertyUpsertWithoutMortgagesInput;
937
- connect?: Prisma.PropertyWhereUniqueInput;
938
- update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutMortgagesInput, Prisma.PropertyUpdateWithoutMortgagesInput>, Prisma.PropertyUncheckedUpdateWithoutMortgagesInput>;
939
- };
940
- export type PropertyCreateNestedOneWithoutPaymentPlansInput = {
941
- create?: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
942
- connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutPaymentPlansInput;
943
- connect?: Prisma.PropertyWhereUniqueInput;
944
- };
945
- export type PropertyUpdateOneRequiredWithoutPaymentPlansNestedInput = {
946
- create?: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
947
- connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutPaymentPlansInput;
948
- upsert?: Prisma.PropertyUpsertWithoutPaymentPlansInput;
811
+ export type PropertyCreateNestedOneWithoutPaymentMethodsInput = {
812
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedCreateWithoutPaymentMethodsInput>;
813
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutPaymentMethodsInput;
949
814
  connect?: Prisma.PropertyWhereUniqueInput;
950
- update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutPaymentPlansInput, Prisma.PropertyUpdateWithoutPaymentPlansInput>, Prisma.PropertyUncheckedUpdateWithoutPaymentPlansInput>;
951
815
  };
952
- export type PropertyCreateNestedOneWithoutContractsInput = {
953
- create?: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
954
- connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutContractsInput;
816
+ export type PropertyUpdateOneRequiredWithoutPaymentMethodsNestedInput = {
817
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedCreateWithoutPaymentMethodsInput>;
818
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutPaymentMethodsInput;
819
+ upsert?: Prisma.PropertyUpsertWithoutPaymentMethodsInput;
955
820
  connect?: Prisma.PropertyWhereUniqueInput;
956
- };
957
- export type PropertyUpdateOneRequiredWithoutContractsNestedInput = {
958
- create?: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
959
- connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutContractsInput;
960
- upsert?: Prisma.PropertyUpsertWithoutContractsInput;
961
- connect?: Prisma.PropertyWhereUniqueInput;
962
- update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutContractsInput, Prisma.PropertyUpdateWithoutContractsInput>, Prisma.PropertyUncheckedUpdateWithoutContractsInput>;
821
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutPaymentMethodsInput, Prisma.PropertyUpdateWithoutPaymentMethodsInput>, Prisma.PropertyUncheckedUpdateWithoutPaymentMethodsInput>;
963
822
  };
964
823
  export type PropertyCreateWithoutUserInput = {
965
824
  id?: string;
@@ -972,13 +831,8 @@ export type PropertyCreateWithoutUserInput = {
972
831
  district?: string | null;
973
832
  zipCode?: string | null;
974
833
  streetAddress?: string | null;
975
- nBedrooms: string;
976
- nBathrooms: string;
977
- nParkingSpots: string;
978
- price: number;
979
834
  longitude?: number | null;
980
835
  latitude?: number | null;
981
- area?: number | null;
982
836
  status?: string;
983
837
  description?: string | null;
984
838
  isPublished?: boolean;
@@ -989,9 +843,8 @@ export type PropertyCreateWithoutUserInput = {
989
843
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
990
844
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
991
845
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
992
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
993
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
994
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
846
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
847
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
995
848
  };
996
849
  export type PropertyUncheckedCreateWithoutUserInput = {
997
850
  id?: string;
@@ -1004,13 +857,8 @@ export type PropertyUncheckedCreateWithoutUserInput = {
1004
857
  district?: string | null;
1005
858
  zipCode?: string | null;
1006
859
  streetAddress?: string | null;
1007
- nBedrooms: string;
1008
- nBathrooms: string;
1009
- nParkingSpots: string;
1010
- price: number;
1011
860
  longitude?: number | null;
1012
861
  latitude?: number | null;
1013
- area?: number | null;
1014
862
  status?: string;
1015
863
  description?: string | null;
1016
864
  displayImageId?: string | null;
@@ -1021,9 +869,8 @@ export type PropertyUncheckedCreateWithoutUserInput = {
1021
869
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1022
870
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1023
871
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1024
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1025
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1026
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
872
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
873
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1027
874
  };
1028
875
  export type PropertyCreateOrConnectWithoutUserInput = {
1029
876
  where: Prisma.PropertyWhereUniqueInput;
@@ -1061,13 +908,8 @@ export type PropertyScalarWhereInput = {
1061
908
  district?: Prisma.StringNullableFilter<"Property"> | string | null;
1062
909
  zipCode?: Prisma.StringNullableFilter<"Property"> | string | null;
1063
910
  streetAddress?: Prisma.StringNullableFilter<"Property"> | string | null;
1064
- nBedrooms?: Prisma.StringFilter<"Property"> | string;
1065
- nBathrooms?: Prisma.StringFilter<"Property"> | string;
1066
- nParkingSpots?: Prisma.StringFilter<"Property"> | string;
1067
- price?: Prisma.FloatFilter<"Property"> | number;
1068
911
  longitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
1069
912
  latitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
1070
- area?: Prisma.FloatNullableFilter<"Property"> | number | null;
1071
913
  status?: Prisma.StringFilter<"Property"> | string;
1072
914
  description?: Prisma.StringNullableFilter<"Property"> | string | null;
1073
915
  displayImageId?: Prisma.StringNullableFilter<"Property"> | string | null;
@@ -1087,13 +929,8 @@ export type PropertyCreateWithoutMediaInput = {
1087
929
  district?: string | null;
1088
930
  zipCode?: string | null;
1089
931
  streetAddress?: string | null;
1090
- nBedrooms: string;
1091
- nBathrooms: string;
1092
- nParkingSpots: string;
1093
- price: number;
1094
932
  longitude?: number | null;
1095
933
  latitude?: number | null;
1096
- area?: number | null;
1097
934
  status?: string;
1098
935
  description?: string | null;
1099
936
  isPublished?: boolean;
@@ -1104,9 +941,8 @@ export type PropertyCreateWithoutMediaInput = {
1104
941
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1105
942
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1106
943
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1107
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1108
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1109
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
944
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
945
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1110
946
  };
1111
947
  export type PropertyUncheckedCreateWithoutMediaInput = {
1112
948
  id?: string;
@@ -1120,13 +956,8 @@ export type PropertyUncheckedCreateWithoutMediaInput = {
1120
956
  district?: string | null;
1121
957
  zipCode?: string | null;
1122
958
  streetAddress?: string | null;
1123
- nBedrooms: string;
1124
- nBathrooms: string;
1125
- nParkingSpots: string;
1126
- price: number;
1127
959
  longitude?: number | null;
1128
960
  latitude?: number | null;
1129
- area?: number | null;
1130
961
  status?: string;
1131
962
  description?: string | null;
1132
963
  displayImageId?: string | null;
@@ -1136,9 +967,8 @@ export type PropertyUncheckedCreateWithoutMediaInput = {
1136
967
  updatedAt?: Date | string;
1137
968
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1138
969
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1139
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1140
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1141
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
970
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
971
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1142
972
  };
1143
973
  export type PropertyCreateOrConnectWithoutMediaInput = {
1144
974
  where: Prisma.PropertyWhereUniqueInput;
@@ -1155,13 +985,8 @@ export type PropertyCreateWithoutDisplayImageInput = {
1155
985
  district?: string | null;
1156
986
  zipCode?: string | null;
1157
987
  streetAddress?: string | null;
1158
- nBedrooms: string;
1159
- nBathrooms: string;
1160
- nParkingSpots: string;
1161
- price: number;
1162
988
  longitude?: number | null;
1163
989
  latitude?: number | null;
1164
- area?: number | null;
1165
990
  status?: string;
1166
991
  description?: string | null;
1167
992
  isPublished?: boolean;
@@ -1172,9 +997,8 @@ export type PropertyCreateWithoutDisplayImageInput = {
1172
997
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1173
998
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1174
999
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1175
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1176
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1177
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1000
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1001
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1178
1002
  };
1179
1003
  export type PropertyUncheckedCreateWithoutDisplayImageInput = {
1180
1004
  id?: string;
@@ -1188,13 +1012,8 @@ export type PropertyUncheckedCreateWithoutDisplayImageInput = {
1188
1012
  district?: string | null;
1189
1013
  zipCode?: string | null;
1190
1014
  streetAddress?: string | null;
1191
- nBedrooms: string;
1192
- nBathrooms: string;
1193
- nParkingSpots: string;
1194
- price: number;
1195
1015
  longitude?: number | null;
1196
1016
  latitude?: number | null;
1197
- area?: number | null;
1198
1017
  status?: string;
1199
1018
  description?: string | null;
1200
1019
  isPublished?: boolean;
@@ -1204,9 +1023,8 @@ export type PropertyUncheckedCreateWithoutDisplayImageInput = {
1204
1023
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1205
1024
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1206
1025
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1207
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1208
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1209
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1026
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1027
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1210
1028
  };
1211
1029
  export type PropertyCreateOrConnectWithoutDisplayImageInput = {
1212
1030
  where: Prisma.PropertyWhereUniqueInput;
@@ -1236,13 +1054,8 @@ export type PropertyUpdateWithoutMediaInput = {
1236
1054
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1237
1055
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1238
1056
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1239
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1240
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1241
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1242
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1243
1057
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1244
1058
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1245
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1246
1059
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1247
1060
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1248
1061
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -1253,9 +1066,8 @@ export type PropertyUpdateWithoutMediaInput = {
1253
1066
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1254
1067
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1255
1068
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1256
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1257
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1258
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1069
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1070
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1259
1071
  };
1260
1072
  export type PropertyUncheckedUpdateWithoutMediaInput = {
1261
1073
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1269,13 +1081,8 @@ export type PropertyUncheckedUpdateWithoutMediaInput = {
1269
1081
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1270
1082
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1271
1083
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1272
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1273
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1274
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1275
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1276
1084
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1277
1085
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1278
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1279
1086
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1280
1087
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1281
1088
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1285,9 +1092,8 @@ export type PropertyUncheckedUpdateWithoutMediaInput = {
1285
1092
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1286
1093
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
1287
1094
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1288
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
1289
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1290
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1095
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1096
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
1291
1097
  };
1292
1098
  export type PropertyUpsertWithWhereUniqueWithoutDisplayImageInput = {
1293
1099
  where: Prisma.PropertyWhereUniqueInput;
@@ -1313,13 +1119,8 @@ export type PropertyCreateWithoutDocumentsInput = {
1313
1119
  district?: string | null;
1314
1120
  zipCode?: string | null;
1315
1121
  streetAddress?: string | null;
1316
- nBedrooms: string;
1317
- nBathrooms: string;
1318
- nParkingSpots: string;
1319
- price: number;
1320
1122
  longitude?: number | null;
1321
1123
  latitude?: number | null;
1322
- area?: number | null;
1323
1124
  status?: string;
1324
1125
  description?: string | null;
1325
1126
  isPublished?: boolean;
@@ -1330,9 +1131,8 @@ export type PropertyCreateWithoutDocumentsInput = {
1330
1131
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1331
1132
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1332
1133
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1333
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1334
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1335
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1134
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1135
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1336
1136
  };
1337
1137
  export type PropertyUncheckedCreateWithoutDocumentsInput = {
1338
1138
  id?: string;
@@ -1346,13 +1146,8 @@ export type PropertyUncheckedCreateWithoutDocumentsInput = {
1346
1146
  district?: string | null;
1347
1147
  zipCode?: string | null;
1348
1148
  streetAddress?: string | null;
1349
- nBedrooms: string;
1350
- nBathrooms: string;
1351
- nParkingSpots: string;
1352
- price: number;
1353
1149
  longitude?: number | null;
1354
1150
  latitude?: number | null;
1355
- area?: number | null;
1356
1151
  status?: string;
1357
1152
  description?: string | null;
1358
1153
  displayImageId?: string | null;
@@ -1362,9 +1157,8 @@ export type PropertyUncheckedCreateWithoutDocumentsInput = {
1362
1157
  updatedAt?: Date | string;
1363
1158
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1364
1159
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1365
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1366
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1367
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1160
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1161
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1368
1162
  };
1369
1163
  export type PropertyCreateOrConnectWithoutDocumentsInput = {
1370
1164
  where: Prisma.PropertyWhereUniqueInput;
@@ -1390,13 +1184,8 @@ export type PropertyUpdateWithoutDocumentsInput = {
1390
1184
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1391
1185
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1392
1186
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1393
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1394
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1395
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1396
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1397
1187
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1398
1188
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1399
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1400
1189
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1401
1190
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1402
1191
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -1407,9 +1196,8 @@ export type PropertyUpdateWithoutDocumentsInput = {
1407
1196
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1408
1197
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1409
1198
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1410
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1411
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1412
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1199
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1200
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1413
1201
  };
1414
1202
  export type PropertyUncheckedUpdateWithoutDocumentsInput = {
1415
1203
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1423,13 +1211,8 @@ export type PropertyUncheckedUpdateWithoutDocumentsInput = {
1423
1211
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1424
1212
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1425
1213
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1426
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1427
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1428
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1429
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1430
1214
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1431
1215
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1432
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1433
1216
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1434
1217
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1435
1218
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1439,152 +1222,10 @@ export type PropertyUncheckedUpdateWithoutDocumentsInput = {
1439
1222
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1440
1223
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
1441
1224
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1442
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
1443
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1444
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1445
- };
1446
- export type PropertyCreateWithoutAmenitiesInput = {
1447
- id?: string;
1448
- title: string;
1449
- category: string;
1450
- propertyType: string;
1451
- country: string;
1452
- currency: string;
1453
- city: string;
1454
- district?: string | null;
1455
- zipCode?: string | null;
1456
- streetAddress?: string | null;
1457
- nBedrooms: string;
1458
- nBathrooms: string;
1459
- nParkingSpots: string;
1460
- price: number;
1461
- longitude?: number | null;
1462
- latitude?: number | null;
1463
- area?: number | null;
1464
- status?: string;
1465
- description?: string | null;
1466
- isPublished?: boolean;
1467
- publishedAt?: Date | string | null;
1468
- createdAt?: Date | string;
1469
- updatedAt?: Date | string;
1470
- user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1471
- displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1472
- documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1473
- media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1474
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1475
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1476
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1477
- };
1478
- export type PropertyUncheckedCreateWithoutAmenitiesInput = {
1479
- id?: string;
1480
- userId: string;
1481
- title: string;
1482
- category: string;
1483
- propertyType: string;
1484
- country: string;
1485
- currency: string;
1486
- city: string;
1487
- district?: string | null;
1488
- zipCode?: string | null;
1489
- streetAddress?: string | null;
1490
- nBedrooms: string;
1491
- nBathrooms: string;
1492
- nParkingSpots: string;
1493
- price: number;
1494
- longitude?: number | null;
1495
- latitude?: number | null;
1496
- area?: number | null;
1497
- status?: string;
1498
- description?: string | null;
1499
- displayImageId?: string | null;
1500
- isPublished?: boolean;
1501
- publishedAt?: Date | string | null;
1502
- createdAt?: Date | string;
1503
- updatedAt?: Date | string;
1504
- documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1505
- media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1506
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1507
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1508
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1509
- };
1510
- export type PropertyCreateOrConnectWithoutAmenitiesInput = {
1511
- where: Prisma.PropertyWhereUniqueInput;
1512
- create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
1513
- };
1514
- export type PropertyUpsertWithoutAmenitiesInput = {
1515
- update: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
1516
- create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
1517
- where?: Prisma.PropertyWhereInput;
1518
- };
1519
- export type PropertyUpdateToOneWithWhereWithoutAmenitiesInput = {
1520
- where?: Prisma.PropertyWhereInput;
1521
- data: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
1522
- };
1523
- export type PropertyUpdateWithoutAmenitiesInput = {
1524
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1525
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1526
- category?: Prisma.StringFieldUpdateOperationsInput | string;
1527
- propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
1528
- country?: Prisma.StringFieldUpdateOperationsInput | string;
1529
- currency?: Prisma.StringFieldUpdateOperationsInput | string;
1530
- city?: Prisma.StringFieldUpdateOperationsInput | string;
1531
- district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1532
- zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1533
- streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1534
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1535
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1536
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1537
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1538
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1539
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1540
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1541
- status?: Prisma.StringFieldUpdateOperationsInput | string;
1542
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1543
- isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1544
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1545
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1546
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1547
- user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1548
- displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1549
- documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1550
- media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1551
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1552
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1553
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1554
- };
1555
- export type PropertyUncheckedUpdateWithoutAmenitiesInput = {
1556
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1557
- userId?: Prisma.StringFieldUpdateOperationsInput | string;
1558
- title?: Prisma.StringFieldUpdateOperationsInput | string;
1559
- category?: Prisma.StringFieldUpdateOperationsInput | string;
1560
- propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
1561
- country?: Prisma.StringFieldUpdateOperationsInput | string;
1562
- currency?: Prisma.StringFieldUpdateOperationsInput | string;
1563
- city?: Prisma.StringFieldUpdateOperationsInput | string;
1564
- district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1565
- zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1566
- streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1567
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1568
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1569
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1570
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1571
- longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1572
- latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1573
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1574
- status?: Prisma.StringFieldUpdateOperationsInput | string;
1575
- description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1576
- displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1577
- isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1578
- publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1579
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1580
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1581
- documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
1582
- media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
1583
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
1584
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1585
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1225
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1226
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
1586
1227
  };
1587
- export type PropertyCreateWithoutMortgagesInput = {
1228
+ export type PropertyCreateWithoutVariantsInput = {
1588
1229
  id?: string;
1589
1230
  title: string;
1590
1231
  category: string;
@@ -1595,13 +1236,8 @@ export type PropertyCreateWithoutMortgagesInput = {
1595
1236
  district?: string | null;
1596
1237
  zipCode?: string | null;
1597
1238
  streetAddress?: string | null;
1598
- nBedrooms: string;
1599
- nBathrooms: string;
1600
- nParkingSpots: string;
1601
- price: number;
1602
1239
  longitude?: number | null;
1603
1240
  latitude?: number | null;
1604
- area?: number | null;
1605
1241
  status?: string;
1606
1242
  description?: string | null;
1607
1243
  isPublished?: boolean;
@@ -1613,10 +1249,9 @@ export type PropertyCreateWithoutMortgagesInput = {
1613
1249
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1614
1250
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1615
1251
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1616
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1617
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1252
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1618
1253
  };
1619
- export type PropertyUncheckedCreateWithoutMortgagesInput = {
1254
+ export type PropertyUncheckedCreateWithoutVariantsInput = {
1620
1255
  id?: string;
1621
1256
  userId: string;
1622
1257
  title: string;
@@ -1628,13 +1263,8 @@ export type PropertyUncheckedCreateWithoutMortgagesInput = {
1628
1263
  district?: string | null;
1629
1264
  zipCode?: string | null;
1630
1265
  streetAddress?: string | null;
1631
- nBedrooms: string;
1632
- nBathrooms: string;
1633
- nParkingSpots: string;
1634
- price: number;
1635
1266
  longitude?: number | null;
1636
1267
  latitude?: number | null;
1637
- area?: number | null;
1638
1268
  status?: string;
1639
1269
  description?: string | null;
1640
1270
  displayImageId?: string | null;
@@ -1645,23 +1275,22 @@ export type PropertyUncheckedCreateWithoutMortgagesInput = {
1645
1275
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1646
1276
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1647
1277
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1648
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1649
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1278
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1650
1279
  };
1651
- export type PropertyCreateOrConnectWithoutMortgagesInput = {
1280
+ export type PropertyCreateOrConnectWithoutVariantsInput = {
1652
1281
  where: Prisma.PropertyWhereUniqueInput;
1653
- create: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
1282
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutVariantsInput, Prisma.PropertyUncheckedCreateWithoutVariantsInput>;
1654
1283
  };
1655
- export type PropertyUpsertWithoutMortgagesInput = {
1656
- update: Prisma.XOR<Prisma.PropertyUpdateWithoutMortgagesInput, Prisma.PropertyUncheckedUpdateWithoutMortgagesInput>;
1657
- create: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
1284
+ export type PropertyUpsertWithoutVariantsInput = {
1285
+ update: Prisma.XOR<Prisma.PropertyUpdateWithoutVariantsInput, Prisma.PropertyUncheckedUpdateWithoutVariantsInput>;
1286
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutVariantsInput, Prisma.PropertyUncheckedCreateWithoutVariantsInput>;
1658
1287
  where?: Prisma.PropertyWhereInput;
1659
1288
  };
1660
- export type PropertyUpdateToOneWithWhereWithoutMortgagesInput = {
1289
+ export type PropertyUpdateToOneWithWhereWithoutVariantsInput = {
1661
1290
  where?: Prisma.PropertyWhereInput;
1662
- data: Prisma.XOR<Prisma.PropertyUpdateWithoutMortgagesInput, Prisma.PropertyUncheckedUpdateWithoutMortgagesInput>;
1291
+ data: Prisma.XOR<Prisma.PropertyUpdateWithoutVariantsInput, Prisma.PropertyUncheckedUpdateWithoutVariantsInput>;
1663
1292
  };
1664
- export type PropertyUpdateWithoutMortgagesInput = {
1293
+ export type PropertyUpdateWithoutVariantsInput = {
1665
1294
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1666
1295
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1667
1296
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1672,13 +1301,8 @@ export type PropertyUpdateWithoutMortgagesInput = {
1672
1301
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1673
1302
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1674
1303
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1675
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1676
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1677
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1678
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1679
1304
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1680
1305
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1681
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1682
1306
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1683
1307
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1684
1308
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -1690,10 +1314,9 @@ export type PropertyUpdateWithoutMortgagesInput = {
1690
1314
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1691
1315
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1692
1316
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1693
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1694
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1317
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1695
1318
  };
1696
- export type PropertyUncheckedUpdateWithoutMortgagesInput = {
1319
+ export type PropertyUncheckedUpdateWithoutVariantsInput = {
1697
1320
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1698
1321
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1699
1322
  title?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1705,13 +1328,8 @@ export type PropertyUncheckedUpdateWithoutMortgagesInput = {
1705
1328
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1706
1329
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1707
1330
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1708
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1709
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1710
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1711
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1712
1331
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1713
1332
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1714
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1715
1333
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1716
1334
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1717
1335
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1722,10 +1340,9 @@ export type PropertyUncheckedUpdateWithoutMortgagesInput = {
1722
1340
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
1723
1341
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
1724
1342
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1725
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1726
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1343
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1727
1344
  };
1728
- export type PropertyCreateWithoutPaymentPlansInput = {
1345
+ export type PropertyCreateWithoutAmenitiesInput = {
1729
1346
  id?: string;
1730
1347
  title: string;
1731
1348
  category: string;
@@ -1736,13 +1353,8 @@ export type PropertyCreateWithoutPaymentPlansInput = {
1736
1353
  district?: string | null;
1737
1354
  zipCode?: string | null;
1738
1355
  streetAddress?: string | null;
1739
- nBedrooms: string;
1740
- nBathrooms: string;
1741
- nParkingSpots: string;
1742
- price: number;
1743
1356
  longitude?: number | null;
1744
1357
  latitude?: number | null;
1745
- area?: number | null;
1746
1358
  status?: string;
1747
1359
  description?: string | null;
1748
1360
  isPublished?: boolean;
@@ -1753,11 +1365,10 @@ export type PropertyCreateWithoutPaymentPlansInput = {
1753
1365
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1754
1366
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1755
1367
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1756
- amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1757
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1758
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1368
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1369
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1759
1370
  };
1760
- export type PropertyUncheckedCreateWithoutPaymentPlansInput = {
1371
+ export type PropertyUncheckedCreateWithoutAmenitiesInput = {
1761
1372
  id?: string;
1762
1373
  userId: string;
1763
1374
  title: string;
@@ -1769,13 +1380,8 @@ export type PropertyUncheckedCreateWithoutPaymentPlansInput = {
1769
1380
  district?: string | null;
1770
1381
  zipCode?: string | null;
1771
1382
  streetAddress?: string | null;
1772
- nBedrooms: string;
1773
- nBathrooms: string;
1774
- nParkingSpots: string;
1775
- price: number;
1776
1383
  longitude?: number | null;
1777
1384
  latitude?: number | null;
1778
- area?: number | null;
1779
1385
  status?: string;
1780
1386
  description?: string | null;
1781
1387
  displayImageId?: string | null;
@@ -1785,24 +1391,23 @@ export type PropertyUncheckedCreateWithoutPaymentPlansInput = {
1785
1391
  updatedAt?: Date | string;
1786
1392
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1787
1393
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1788
- amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1789
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1790
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1394
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1395
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1791
1396
  };
1792
- export type PropertyCreateOrConnectWithoutPaymentPlansInput = {
1397
+ export type PropertyCreateOrConnectWithoutAmenitiesInput = {
1793
1398
  where: Prisma.PropertyWhereUniqueInput;
1794
- create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
1399
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
1795
1400
  };
1796
- export type PropertyUpsertWithoutPaymentPlansInput = {
1797
- update: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentPlansInput, Prisma.PropertyUncheckedUpdateWithoutPaymentPlansInput>;
1798
- create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
1401
+ export type PropertyUpsertWithoutAmenitiesInput = {
1402
+ update: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
1403
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
1799
1404
  where?: Prisma.PropertyWhereInput;
1800
1405
  };
1801
- export type PropertyUpdateToOneWithWhereWithoutPaymentPlansInput = {
1406
+ export type PropertyUpdateToOneWithWhereWithoutAmenitiesInput = {
1802
1407
  where?: Prisma.PropertyWhereInput;
1803
- data: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentPlansInput, Prisma.PropertyUncheckedUpdateWithoutPaymentPlansInput>;
1408
+ data: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
1804
1409
  };
1805
- export type PropertyUpdateWithoutPaymentPlansInput = {
1410
+ export type PropertyUpdateWithoutAmenitiesInput = {
1806
1411
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1807
1412
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1808
1413
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1813,13 +1418,8 @@ export type PropertyUpdateWithoutPaymentPlansInput = {
1813
1418
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1814
1419
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1815
1420
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1816
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1817
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1818
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1819
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1820
1421
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1821
1422
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1822
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1823
1423
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1824
1424
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1825
1425
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -1830,11 +1430,10 @@ export type PropertyUpdateWithoutPaymentPlansInput = {
1830
1430
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1831
1431
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1832
1432
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1833
- amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1834
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1835
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1433
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1434
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1836
1435
  };
1837
- export type PropertyUncheckedUpdateWithoutPaymentPlansInput = {
1436
+ export type PropertyUncheckedUpdateWithoutAmenitiesInput = {
1838
1437
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1839
1438
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1840
1439
  title?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1846,13 +1445,8 @@ export type PropertyUncheckedUpdateWithoutPaymentPlansInput = {
1846
1445
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1847
1446
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1848
1447
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1849
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1850
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1851
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1852
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1853
1448
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1854
1449
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1855
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1856
1450
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1857
1451
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1858
1452
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1862,11 +1456,10 @@ export type PropertyUncheckedUpdateWithoutPaymentPlansInput = {
1862
1456
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1863
1457
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
1864
1458
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
1865
- amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1866
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
1867
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1459
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1460
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
1868
1461
  };
1869
- export type PropertyCreateWithoutContractsInput = {
1462
+ export type PropertyCreateWithoutPaymentMethodsInput = {
1870
1463
  id?: string;
1871
1464
  title: string;
1872
1465
  category: string;
@@ -1877,13 +1470,8 @@ export type PropertyCreateWithoutContractsInput = {
1877
1470
  district?: string | null;
1878
1471
  zipCode?: string | null;
1879
1472
  streetAddress?: string | null;
1880
- nBedrooms: string;
1881
- nBathrooms: string;
1882
- nParkingSpots: string;
1883
- price: number;
1884
1473
  longitude?: number | null;
1885
1474
  latitude?: number | null;
1886
- area?: number | null;
1887
1475
  status?: string;
1888
1476
  description?: string | null;
1889
1477
  isPublished?: boolean;
@@ -1895,10 +1483,9 @@ export type PropertyCreateWithoutContractsInput = {
1895
1483
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1896
1484
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1897
1485
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1898
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1899
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1486
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1900
1487
  };
1901
- export type PropertyUncheckedCreateWithoutContractsInput = {
1488
+ export type PropertyUncheckedCreateWithoutPaymentMethodsInput = {
1902
1489
  id?: string;
1903
1490
  userId: string;
1904
1491
  title: string;
@@ -1910,13 +1497,8 @@ export type PropertyUncheckedCreateWithoutContractsInput = {
1910
1497
  district?: string | null;
1911
1498
  zipCode?: string | null;
1912
1499
  streetAddress?: string | null;
1913
- nBedrooms: string;
1914
- nBathrooms: string;
1915
- nParkingSpots: string;
1916
- price: number;
1917
1500
  longitude?: number | null;
1918
1501
  latitude?: number | null;
1919
- area?: number | null;
1920
1502
  status?: string;
1921
1503
  description?: string | null;
1922
1504
  displayImageId?: string | null;
@@ -1927,23 +1509,22 @@ export type PropertyUncheckedCreateWithoutContractsInput = {
1927
1509
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1928
1510
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1929
1511
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1930
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1931
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1512
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1932
1513
  };
1933
- export type PropertyCreateOrConnectWithoutContractsInput = {
1514
+ export type PropertyCreateOrConnectWithoutPaymentMethodsInput = {
1934
1515
  where: Prisma.PropertyWhereUniqueInput;
1935
- create: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
1516
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedCreateWithoutPaymentMethodsInput>;
1936
1517
  };
1937
- export type PropertyUpsertWithoutContractsInput = {
1938
- update: Prisma.XOR<Prisma.PropertyUpdateWithoutContractsInput, Prisma.PropertyUncheckedUpdateWithoutContractsInput>;
1939
- create: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
1518
+ export type PropertyUpsertWithoutPaymentMethodsInput = {
1519
+ update: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedUpdateWithoutPaymentMethodsInput>;
1520
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedCreateWithoutPaymentMethodsInput>;
1940
1521
  where?: Prisma.PropertyWhereInput;
1941
1522
  };
1942
- export type PropertyUpdateToOneWithWhereWithoutContractsInput = {
1523
+ export type PropertyUpdateToOneWithWhereWithoutPaymentMethodsInput = {
1943
1524
  where?: Prisma.PropertyWhereInput;
1944
- data: Prisma.XOR<Prisma.PropertyUpdateWithoutContractsInput, Prisma.PropertyUncheckedUpdateWithoutContractsInput>;
1525
+ data: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedUpdateWithoutPaymentMethodsInput>;
1945
1526
  };
1946
- export type PropertyUpdateWithoutContractsInput = {
1527
+ export type PropertyUpdateWithoutPaymentMethodsInput = {
1947
1528
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1948
1529
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1949
1530
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1954,13 +1535,8 @@ export type PropertyUpdateWithoutContractsInput = {
1954
1535
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1955
1536
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1956
1537
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1957
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1958
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1959
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1960
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1961
1538
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1962
1539
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1963
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1964
1540
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1965
1541
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1966
1542
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -1972,10 +1548,9 @@ export type PropertyUpdateWithoutContractsInput = {
1972
1548
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1973
1549
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1974
1550
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1975
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1976
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1551
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1977
1552
  };
1978
- export type PropertyUncheckedUpdateWithoutContractsInput = {
1553
+ export type PropertyUncheckedUpdateWithoutPaymentMethodsInput = {
1979
1554
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1980
1555
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1981
1556
  title?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1987,13 +1562,8 @@ export type PropertyUncheckedUpdateWithoutContractsInput = {
1987
1562
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1988
1563
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1989
1564
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1990
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1991
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
1992
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
1993
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
1994
1565
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1995
1566
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1996
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1997
1567
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1998
1568
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1999
1569
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2004,8 +1574,7 @@ export type PropertyUncheckedUpdateWithoutContractsInput = {
2004
1574
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
2005
1575
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
2006
1576
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
2007
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
2008
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1577
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
2009
1578
  };
2010
1579
  export type PropertyCreateManyUserInput = {
2011
1580
  id?: string;
@@ -2018,13 +1587,8 @@ export type PropertyCreateManyUserInput = {
2018
1587
  district?: string | null;
2019
1588
  zipCode?: string | null;
2020
1589
  streetAddress?: string | null;
2021
- nBedrooms: string;
2022
- nBathrooms: string;
2023
- nParkingSpots: string;
2024
- price: number;
2025
1590
  longitude?: number | null;
2026
1591
  latitude?: number | null;
2027
- area?: number | null;
2028
1592
  status?: string;
2029
1593
  description?: string | null;
2030
1594
  displayImageId?: string | null;
@@ -2044,13 +1608,8 @@ export type PropertyUpdateWithoutUserInput = {
2044
1608
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2045
1609
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2046
1610
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2047
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2048
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2049
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
2050
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
2051
1611
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2052
1612
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2053
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2054
1613
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2055
1614
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2056
1615
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -2061,9 +1620,8 @@ export type PropertyUpdateWithoutUserInput = {
2061
1620
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
2062
1621
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
2063
1622
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
2064
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
2065
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
2066
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1623
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1624
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
2067
1625
  };
2068
1626
  export type PropertyUncheckedUpdateWithoutUserInput = {
2069
1627
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2076,13 +1634,8 @@ export type PropertyUncheckedUpdateWithoutUserInput = {
2076
1634
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2077
1635
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2078
1636
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2079
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2080
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2081
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
2082
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
2083
1637
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2084
1638
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2085
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2086
1639
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2087
1640
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2088
1641
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2093,9 +1646,8 @@ export type PropertyUncheckedUpdateWithoutUserInput = {
2093
1646
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
2094
1647
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
2095
1648
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
2096
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
2097
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
2098
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1649
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1650
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
2099
1651
  };
2100
1652
  export type PropertyUncheckedUpdateManyWithoutUserInput = {
2101
1653
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2108,13 +1660,8 @@ export type PropertyUncheckedUpdateManyWithoutUserInput = {
2108
1660
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2109
1661
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2110
1662
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2111
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2112
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2113
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
2114
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
2115
1663
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2116
1664
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2117
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2118
1665
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2119
1666
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2120
1667
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2135,13 +1682,8 @@ export type PropertyCreateManyDisplayImageInput = {
2135
1682
  district?: string | null;
2136
1683
  zipCode?: string | null;
2137
1684
  streetAddress?: string | null;
2138
- nBedrooms: string;
2139
- nBathrooms: string;
2140
- nParkingSpots: string;
2141
- price: number;
2142
1685
  longitude?: number | null;
2143
1686
  latitude?: number | null;
2144
- area?: number | null;
2145
1687
  status?: string;
2146
1688
  description?: string | null;
2147
1689
  isPublished?: boolean;
@@ -2160,13 +1702,8 @@ export type PropertyUpdateWithoutDisplayImageInput = {
2160
1702
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2161
1703
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2162
1704
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2163
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2164
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2165
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
2166
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
2167
1705
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2168
1706
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2169
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2170
1707
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2171
1708
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2172
1709
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -2177,9 +1714,8 @@ export type PropertyUpdateWithoutDisplayImageInput = {
2177
1714
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
2178
1715
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
2179
1716
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
2180
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
2181
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
2182
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1717
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1718
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
2183
1719
  };
2184
1720
  export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
2185
1721
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2193,13 +1729,8 @@ export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
2193
1729
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2194
1730
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2195
1731
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2196
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2197
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2198
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
2199
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
2200
1732
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2201
1733
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2202
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2203
1734
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2204
1735
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2205
1736
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -2209,9 +1740,8 @@ export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
2209
1740
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
2210
1741
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
2211
1742
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
2212
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
2213
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
2214
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1743
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1744
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
2215
1745
  };
2216
1746
  export type PropertyUncheckedUpdateManyWithoutDisplayImageInput = {
2217
1747
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2225,13 +1755,8 @@ export type PropertyUncheckedUpdateManyWithoutDisplayImageInput = {
2225
1755
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2226
1756
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2227
1757
  streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2228
- nBedrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2229
- nBathrooms?: Prisma.StringFieldUpdateOperationsInput | string;
2230
- nParkingSpots?: Prisma.StringFieldUpdateOperationsInput | string;
2231
- price?: Prisma.FloatFieldUpdateOperationsInput | number;
2232
1758
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2233
1759
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2234
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2235
1760
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2236
1761
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2237
1762
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -2246,17 +1771,15 @@ export type PropertyCountOutputType = {
2246
1771
  documents: number;
2247
1772
  media: number;
2248
1773
  amenities: number;
2249
- mortgages: number;
2250
- paymentPlans: number;
2251
- contracts: number;
1774
+ paymentMethods: number;
1775
+ variants: number;
2252
1776
  };
2253
1777
  export type PropertyCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2254
1778
  documents?: boolean | PropertyCountOutputTypeCountDocumentsArgs;
2255
1779
  media?: boolean | PropertyCountOutputTypeCountMediaArgs;
2256
1780
  amenities?: boolean | PropertyCountOutputTypeCountAmenitiesArgs;
2257
- mortgages?: boolean | PropertyCountOutputTypeCountMortgagesArgs;
2258
- paymentPlans?: boolean | PropertyCountOutputTypeCountPaymentPlansArgs;
2259
- contracts?: boolean | PropertyCountOutputTypeCountContractsArgs;
1781
+ paymentMethods?: boolean | PropertyCountOutputTypeCountPaymentMethodsArgs;
1782
+ variants?: boolean | PropertyCountOutputTypeCountVariantsArgs;
2260
1783
  };
2261
1784
  /**
2262
1785
  * PropertyCountOutputType without action
@@ -2288,20 +1811,14 @@ export type PropertyCountOutputTypeCountAmenitiesArgs<ExtArgs extends runtime.Ty
2288
1811
  /**
2289
1812
  * PropertyCountOutputType without action
2290
1813
  */
2291
- export type PropertyCountOutputTypeCountMortgagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2292
- where?: Prisma.MortgageWhereInput;
2293
- };
2294
- /**
2295
- * PropertyCountOutputType without action
2296
- */
2297
- export type PropertyCountOutputTypeCountPaymentPlansArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2298
- where?: Prisma.PaymentPlanWhereInput;
1814
+ export type PropertyCountOutputTypeCountPaymentMethodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1815
+ where?: Prisma.PropertyPaymentMethodLinkWhereInput;
2299
1816
  };
2300
1817
  /**
2301
1818
  * PropertyCountOutputType without action
2302
1819
  */
2303
- export type PropertyCountOutputTypeCountContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2304
- where?: Prisma.ContractWhereInput;
1820
+ export type PropertyCountOutputTypeCountVariantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1821
+ where?: Prisma.PropertyVariantWhereInput;
2305
1822
  };
2306
1823
  export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2307
1824
  id?: boolean;
@@ -2315,13 +1832,8 @@ export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
2315
1832
  district?: boolean;
2316
1833
  zipCode?: boolean;
2317
1834
  streetAddress?: boolean;
2318
- nBedrooms?: boolean;
2319
- nBathrooms?: boolean;
2320
- nParkingSpots?: boolean;
2321
- price?: boolean;
2322
1835
  longitude?: boolean;
2323
1836
  latitude?: boolean;
2324
- area?: boolean;
2325
1837
  status?: boolean;
2326
1838
  description?: boolean;
2327
1839
  displayImageId?: boolean;
@@ -2334,9 +1846,8 @@ export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
2334
1846
  documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
2335
1847
  media?: boolean | Prisma.Property$mediaArgs<ExtArgs>;
2336
1848
  amenities?: boolean | Prisma.Property$amenitiesArgs<ExtArgs>;
2337
- mortgages?: boolean | Prisma.Property$mortgagesArgs<ExtArgs>;
2338
- paymentPlans?: boolean | Prisma.Property$paymentPlansArgs<ExtArgs>;
2339
- contracts?: boolean | Prisma.Property$contractsArgs<ExtArgs>;
1849
+ paymentMethods?: boolean | Prisma.Property$paymentMethodsArgs<ExtArgs>;
1850
+ variants?: boolean | Prisma.Property$variantsArgs<ExtArgs>;
2340
1851
  _count?: boolean | Prisma.PropertyCountOutputTypeDefaultArgs<ExtArgs>;
2341
1852
  }, ExtArgs["result"]["property"]>;
2342
1853
  export type PropertySelectScalar = {
@@ -2351,13 +1862,8 @@ export type PropertySelectScalar = {
2351
1862
  district?: boolean;
2352
1863
  zipCode?: boolean;
2353
1864
  streetAddress?: boolean;
2354
- nBedrooms?: boolean;
2355
- nBathrooms?: boolean;
2356
- nParkingSpots?: boolean;
2357
- price?: boolean;
2358
1865
  longitude?: boolean;
2359
1866
  latitude?: boolean;
2360
- area?: boolean;
2361
1867
  status?: boolean;
2362
1868
  description?: boolean;
2363
1869
  displayImageId?: boolean;
@@ -2366,16 +1872,15 @@ export type PropertySelectScalar = {
2366
1872
  createdAt?: boolean;
2367
1873
  updatedAt?: boolean;
2368
1874
  };
2369
- 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" | "nBedrooms" | "nBathrooms" | "nParkingSpots" | "price" | "longitude" | "latitude" | "area" | "status" | "description" | "displayImageId" | "isPublished" | "publishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["property"]>;
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"]>;
2370
1876
  export type PropertyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2371
1877
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
2372
1878
  displayImage?: boolean | Prisma.Property$displayImageArgs<ExtArgs>;
2373
1879
  documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
2374
1880
  media?: boolean | Prisma.Property$mediaArgs<ExtArgs>;
2375
1881
  amenities?: boolean | Prisma.Property$amenitiesArgs<ExtArgs>;
2376
- mortgages?: boolean | Prisma.Property$mortgagesArgs<ExtArgs>;
2377
- paymentPlans?: boolean | Prisma.Property$paymentPlansArgs<ExtArgs>;
2378
- contracts?: boolean | Prisma.Property$contractsArgs<ExtArgs>;
1882
+ paymentMethods?: boolean | Prisma.Property$paymentMethodsArgs<ExtArgs>;
1883
+ variants?: boolean | Prisma.Property$variantsArgs<ExtArgs>;
2379
1884
  _count?: boolean | Prisma.PropertyCountOutputTypeDefaultArgs<ExtArgs>;
2380
1885
  };
2381
1886
  export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -2386,9 +1891,8 @@ export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
2386
1891
  documents: Prisma.$PropertyDocumentPayload<ExtArgs>[];
2387
1892
  media: Prisma.$PropertyMediaPayload<ExtArgs>[];
2388
1893
  amenities: Prisma.$PropertyAmenityPayload<ExtArgs>[];
2389
- mortgages: Prisma.$MortgagePayload<ExtArgs>[];
2390
- paymentPlans: Prisma.$PaymentPlanPayload<ExtArgs>[];
2391
- contracts: Prisma.$ContractPayload<ExtArgs>[];
1894
+ paymentMethods: Prisma.$PropertyPaymentMethodLinkPayload<ExtArgs>[];
1895
+ variants: Prisma.$PropertyVariantPayload<ExtArgs>[];
2392
1896
  };
2393
1897
  scalars: runtime.Types.Extensions.GetPayloadResult<{
2394
1898
  id: string;
@@ -2402,13 +1906,8 @@ export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
2402
1906
  district: string | null;
2403
1907
  zipCode: string | null;
2404
1908
  streetAddress: string | null;
2405
- nBedrooms: string;
2406
- nBathrooms: string;
2407
- nParkingSpots: string;
2408
- price: number;
2409
1909
  longitude: number | null;
2410
1910
  latitude: number | null;
2411
- area: number | null;
2412
1911
  status: string;
2413
1912
  description: string | null;
2414
1913
  displayImageId: string | null;
@@ -2698,9 +2197,8 @@ export interface Prisma__PropertyClient<T, Null = never, ExtArgs extends runtime
2698
2197
  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>;
2699
2198
  media<T extends Prisma.Property$mediaArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$mediaArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2700
2199
  amenities<T extends Prisma.Property$amenitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$amenitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2701
- mortgages<T extends Prisma.Property$mortgagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$mortgagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2702
- paymentPlans<T extends Prisma.Property$paymentPlansArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$paymentPlansArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2703
- contracts<T extends Prisma.Property$contractsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$contractsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2200
+ paymentMethods<T extends Prisma.Property$paymentMethodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$paymentMethodsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2201
+ variants<T extends Prisma.Property$variantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$variantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyVariantPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2704
2202
  /**
2705
2203
  * Attaches callbacks for the resolution and/or rejection of the Promise.
2706
2204
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2737,13 +2235,8 @@ export interface PropertyFieldRefs {
2737
2235
  readonly district: Prisma.FieldRef<"Property", 'String'>;
2738
2236
  readonly zipCode: Prisma.FieldRef<"Property", 'String'>;
2739
2237
  readonly streetAddress: Prisma.FieldRef<"Property", 'String'>;
2740
- readonly nBedrooms: Prisma.FieldRef<"Property", 'String'>;
2741
- readonly nBathrooms: Prisma.FieldRef<"Property", 'String'>;
2742
- readonly nParkingSpots: Prisma.FieldRef<"Property", 'String'>;
2743
- readonly price: Prisma.FieldRef<"Property", 'Float'>;
2744
2238
  readonly longitude: Prisma.FieldRef<"Property", 'Float'>;
2745
2239
  readonly latitude: Prisma.FieldRef<"Property", 'Float'>;
2746
- readonly area: Prisma.FieldRef<"Property", 'Float'>;
2747
2240
  readonly status: Prisma.FieldRef<"Property", 'String'>;
2748
2241
  readonly description: Prisma.FieldRef<"Property", 'String'>;
2749
2242
  readonly displayImageId: Prisma.FieldRef<"Property", 'String'>;
@@ -3166,73 +2659,50 @@ export type Property$amenitiesArgs<ExtArgs extends runtime.Types.Extensions.Inte
3166
2659
  distinct?: Prisma.PropertyAmenityScalarFieldEnum | Prisma.PropertyAmenityScalarFieldEnum[];
3167
2660
  };
3168
2661
  /**
3169
- * Property.mortgages
3170
- */
3171
- export type Property$mortgagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3172
- /**
3173
- * Select specific fields to fetch from the Mortgage
3174
- */
3175
- select?: Prisma.MortgageSelect<ExtArgs> | null;
3176
- /**
3177
- * Omit specific fields from the Mortgage
3178
- */
3179
- omit?: Prisma.MortgageOmit<ExtArgs> | null;
3180
- /**
3181
- * Choose, which related nodes to fetch as well
3182
- */
3183
- include?: Prisma.MortgageInclude<ExtArgs> | null;
3184
- where?: Prisma.MortgageWhereInput;
3185
- orderBy?: Prisma.MortgageOrderByWithRelationInput | Prisma.MortgageOrderByWithRelationInput[];
3186
- cursor?: Prisma.MortgageWhereUniqueInput;
3187
- take?: number;
3188
- skip?: number;
3189
- distinct?: Prisma.MortgageScalarFieldEnum | Prisma.MortgageScalarFieldEnum[];
3190
- };
3191
- /**
3192
- * Property.paymentPlans
2662
+ * Property.paymentMethods
3193
2663
  */
3194
- export type Property$paymentPlansArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2664
+ export type Property$paymentMethodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3195
2665
  /**
3196
- * Select specific fields to fetch from the PaymentPlan
2666
+ * Select specific fields to fetch from the PropertyPaymentMethodLink
3197
2667
  */
3198
- select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
2668
+ select?: Prisma.PropertyPaymentMethodLinkSelect<ExtArgs> | null;
3199
2669
  /**
3200
- * Omit specific fields from the PaymentPlan
2670
+ * Omit specific fields from the PropertyPaymentMethodLink
3201
2671
  */
3202
- omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
2672
+ omit?: Prisma.PropertyPaymentMethodLinkOmit<ExtArgs> | null;
3203
2673
  /**
3204
2674
  * Choose, which related nodes to fetch as well
3205
2675
  */
3206
- include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
3207
- where?: Prisma.PaymentPlanWhereInput;
3208
- orderBy?: Prisma.PaymentPlanOrderByWithRelationInput | Prisma.PaymentPlanOrderByWithRelationInput[];
3209
- cursor?: Prisma.PaymentPlanWhereUniqueInput;
2676
+ include?: Prisma.PropertyPaymentMethodLinkInclude<ExtArgs> | null;
2677
+ where?: Prisma.PropertyPaymentMethodLinkWhereInput;
2678
+ orderBy?: Prisma.PropertyPaymentMethodLinkOrderByWithRelationInput | Prisma.PropertyPaymentMethodLinkOrderByWithRelationInput[];
2679
+ cursor?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput;
3210
2680
  take?: number;
3211
2681
  skip?: number;
3212
- distinct?: Prisma.PaymentPlanScalarFieldEnum | Prisma.PaymentPlanScalarFieldEnum[];
2682
+ distinct?: Prisma.PropertyPaymentMethodLinkScalarFieldEnum | Prisma.PropertyPaymentMethodLinkScalarFieldEnum[];
3213
2683
  };
3214
2684
  /**
3215
- * Property.contracts
2685
+ * Property.variants
3216
2686
  */
3217
- export type Property$contractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2687
+ export type Property$variantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3218
2688
  /**
3219
- * Select specific fields to fetch from the Contract
2689
+ * Select specific fields to fetch from the PropertyVariant
3220
2690
  */
3221
- select?: Prisma.ContractSelect<ExtArgs> | null;
2691
+ select?: Prisma.PropertyVariantSelect<ExtArgs> | null;
3222
2692
  /**
3223
- * Omit specific fields from the Contract
2693
+ * Omit specific fields from the PropertyVariant
3224
2694
  */
3225
- omit?: Prisma.ContractOmit<ExtArgs> | null;
2695
+ omit?: Prisma.PropertyVariantOmit<ExtArgs> | null;
3226
2696
  /**
3227
2697
  * Choose, which related nodes to fetch as well
3228
2698
  */
3229
- include?: Prisma.ContractInclude<ExtArgs> | null;
3230
- where?: Prisma.ContractWhereInput;
3231
- orderBy?: Prisma.ContractOrderByWithRelationInput | Prisma.ContractOrderByWithRelationInput[];
3232
- cursor?: Prisma.ContractWhereUniqueInput;
2699
+ include?: Prisma.PropertyVariantInclude<ExtArgs> | null;
2700
+ where?: Prisma.PropertyVariantWhereInput;
2701
+ orderBy?: Prisma.PropertyVariantOrderByWithRelationInput | Prisma.PropertyVariantOrderByWithRelationInput[];
2702
+ cursor?: Prisma.PropertyVariantWhereUniqueInput;
3233
2703
  take?: number;
3234
2704
  skip?: number;
3235
- distinct?: Prisma.ContractScalarFieldEnum | Prisma.ContractScalarFieldEnum[];
2705
+ distinct?: Prisma.PropertyVariantScalarFieldEnum | Prisma.PropertyVariantScalarFieldEnum[];
3236
2706
  };
3237
2707
  /**
3238
2708
  * Property without action