@valentine-efagene/qshelter-common 2.0.21 → 2.0.24

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 (65) 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 +1058 -720
  7. package/dist/generated/client/internal/prismaNamespace.js +321 -190
  8. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +352 -215
  9. package/dist/generated/client/internal/prismaNamespaceBrowser.js +321 -190
  10. package/dist/generated/client/models/Amenity.d.ts +168 -1
  11. package/dist/generated/client/models/Contract.d.ts +2390 -309
  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 +467 -971
  30. package/dist/generated/client/models/Property.d.ts +372 -626
  31. package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1714 -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/Tenant.d.ts +482 -0
  46. package/dist/generated/client/models/User.d.ts +684 -427
  47. package/dist/generated/client/models/index.d.ts +15 -12
  48. package/dist/generated/client/models/index.js +15 -12
  49. package/dist/generated/client/models.d.ts +15 -12
  50. package/dist/src/index.d.ts +2 -0
  51. package/dist/src/index.js +2 -0
  52. package/dist/src/middleware/error-handler.d.ts +6 -0
  53. package/dist/src/middleware/error-handler.js +26 -0
  54. package/dist/src/middleware/index.d.ts +3 -0
  55. package/dist/src/middleware/index.js +3 -0
  56. package/dist/src/middleware/request-logger.d.ts +6 -0
  57. package/dist/src/middleware/request-logger.js +17 -0
  58. package/dist/src/middleware/tenant.d.ts +61 -0
  59. package/dist/src/middleware/tenant.js +85 -0
  60. package/dist/src/prisma/tenant.d.ts +51 -0
  61. package/dist/src/prisma/tenant.js +211 -0
  62. package/package.json +16 -2
  63. package/prisma/migrations/20251230104059_add_property_variants/migration.sql +622 -0
  64. package/prisma/migrations/20251230113413_add_multitenancy/migration.sql +54 -0
  65. package/prisma/schema.prisma +561 -267
@@ -13,19 +13,16 @@ 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;
25
+ tenantId: string | null;
29
26
  userId: string | null;
30
27
  title: string | null;
31
28
  category: string | null;
@@ -36,13 +33,8 @@ export type PropertyMinAggregateOutputType = {
36
33
  district: string | null;
37
34
  zipCode: string | null;
38
35
  streetAddress: string | null;
39
- nBedrooms: string | null;
40
- nBathrooms: string | null;
41
- nParkingSpots: string | null;
42
- price: number | null;
43
36
  longitude: number | null;
44
37
  latitude: number | null;
45
- area: number | null;
46
38
  status: string | null;
47
39
  description: string | null;
48
40
  displayImageId: string | null;
@@ -53,6 +45,7 @@ export type PropertyMinAggregateOutputType = {
53
45
  };
54
46
  export type PropertyMaxAggregateOutputType = {
55
47
  id: string | null;
48
+ tenantId: string | null;
56
49
  userId: string | null;
57
50
  title: string | null;
58
51
  category: string | null;
@@ -63,13 +56,8 @@ export type PropertyMaxAggregateOutputType = {
63
56
  district: string | null;
64
57
  zipCode: string | null;
65
58
  streetAddress: string | null;
66
- nBedrooms: string | null;
67
- nBathrooms: string | null;
68
- nParkingSpots: string | null;
69
- price: number | null;
70
59
  longitude: number | null;
71
60
  latitude: number | null;
72
- area: number | null;
73
61
  status: string | null;
74
62
  description: string | null;
75
63
  displayImageId: string | null;
@@ -80,6 +68,7 @@ export type PropertyMaxAggregateOutputType = {
80
68
  };
81
69
  export type PropertyCountAggregateOutputType = {
82
70
  id: number;
71
+ tenantId: number;
83
72
  userId: number;
84
73
  title: number;
85
74
  category: number;
@@ -90,13 +79,8 @@ export type PropertyCountAggregateOutputType = {
90
79
  district: number;
91
80
  zipCode: number;
92
81
  streetAddress: number;
93
- nBedrooms: number;
94
- nBathrooms: number;
95
- nParkingSpots: number;
96
- price: number;
97
82
  longitude: number;
98
83
  latitude: number;
99
- area: number;
100
84
  status: number;
101
85
  description: number;
102
86
  displayImageId: number;
@@ -107,19 +91,16 @@ export type PropertyCountAggregateOutputType = {
107
91
  _all: number;
108
92
  };
109
93
  export type PropertyAvgAggregateInputType = {
110
- price?: true;
111
94
  longitude?: true;
112
95
  latitude?: true;
113
- area?: true;
114
96
  };
115
97
  export type PropertySumAggregateInputType = {
116
- price?: true;
117
98
  longitude?: true;
118
99
  latitude?: true;
119
- area?: true;
120
100
  };
121
101
  export type PropertyMinAggregateInputType = {
122
102
  id?: true;
103
+ tenantId?: true;
123
104
  userId?: true;
124
105
  title?: true;
125
106
  category?: true;
@@ -130,13 +111,8 @@ export type PropertyMinAggregateInputType = {
130
111
  district?: true;
131
112
  zipCode?: true;
132
113
  streetAddress?: true;
133
- nBedrooms?: true;
134
- nBathrooms?: true;
135
- nParkingSpots?: true;
136
- price?: true;
137
114
  longitude?: true;
138
115
  latitude?: true;
139
- area?: true;
140
116
  status?: true;
141
117
  description?: true;
142
118
  displayImageId?: true;
@@ -147,6 +123,7 @@ export type PropertyMinAggregateInputType = {
147
123
  };
148
124
  export type PropertyMaxAggregateInputType = {
149
125
  id?: true;
126
+ tenantId?: true;
150
127
  userId?: true;
151
128
  title?: true;
152
129
  category?: true;
@@ -157,13 +134,8 @@ export type PropertyMaxAggregateInputType = {
157
134
  district?: true;
158
135
  zipCode?: true;
159
136
  streetAddress?: true;
160
- nBedrooms?: true;
161
- nBathrooms?: true;
162
- nParkingSpots?: true;
163
- price?: true;
164
137
  longitude?: true;
165
138
  latitude?: true;
166
- area?: true;
167
139
  status?: true;
168
140
  description?: true;
169
141
  displayImageId?: true;
@@ -174,6 +146,7 @@ export type PropertyMaxAggregateInputType = {
174
146
  };
175
147
  export type PropertyCountAggregateInputType = {
176
148
  id?: true;
149
+ tenantId?: true;
177
150
  userId?: true;
178
151
  title?: true;
179
152
  category?: true;
@@ -184,13 +157,8 @@ export type PropertyCountAggregateInputType = {
184
157
  district?: true;
185
158
  zipCode?: true;
186
159
  streetAddress?: true;
187
- nBedrooms?: true;
188
- nBathrooms?: true;
189
- nParkingSpots?: true;
190
- price?: true;
191
160
  longitude?: true;
192
161
  latitude?: true;
193
- area?: true;
194
162
  status?: true;
195
163
  description?: true;
196
164
  displayImageId?: true;
@@ -278,6 +246,7 @@ export type PropertyGroupByArgs<ExtArgs extends runtime.Types.Extensions.Interna
278
246
  };
279
247
  export type PropertyGroupByOutputType = {
280
248
  id: string;
249
+ tenantId: string;
281
250
  userId: string;
282
251
  title: string;
283
252
  category: string;
@@ -288,13 +257,8 @@ export type PropertyGroupByOutputType = {
288
257
  district: string | null;
289
258
  zipCode: string | null;
290
259
  streetAddress: string | null;
291
- nBedrooms: string;
292
- nBathrooms: string;
293
- nParkingSpots: string;
294
- price: number;
295
260
  longitude: number | null;
296
261
  latitude: number | null;
297
- area: number | null;
298
262
  status: string;
299
263
  description: string | null;
300
264
  displayImageId: string | null;
@@ -316,6 +280,7 @@ export type PropertyWhereInput = {
316
280
  OR?: Prisma.PropertyWhereInput[];
317
281
  NOT?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
318
282
  id?: Prisma.StringFilter<"Property"> | string;
283
+ tenantId?: Prisma.StringFilter<"Property"> | string;
319
284
  userId?: Prisma.StringFilter<"Property"> | string;
320
285
  title?: Prisma.StringFilter<"Property"> | string;
321
286
  category?: Prisma.StringFilter<"Property"> | string;
@@ -326,13 +291,8 @@ export type PropertyWhereInput = {
326
291
  district?: Prisma.StringNullableFilter<"Property"> | string | null;
327
292
  zipCode?: Prisma.StringNullableFilter<"Property"> | string | null;
328
293
  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
294
  longitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
334
295
  latitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
335
- area?: Prisma.FloatNullableFilter<"Property"> | number | null;
336
296
  status?: Prisma.StringFilter<"Property"> | string;
337
297
  description?: Prisma.StringNullableFilter<"Property"> | string | null;
338
298
  displayImageId?: Prisma.StringNullableFilter<"Property"> | string | null;
@@ -340,17 +300,18 @@ export type PropertyWhereInput = {
340
300
  publishedAt?: Prisma.DateTimeNullableFilter<"Property"> | Date | string | null;
341
301
  createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
342
302
  updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
303
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
343
304
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
344
305
  displayImage?: Prisma.XOR<Prisma.PropertyMediaNullableScalarRelationFilter, Prisma.PropertyMediaWhereInput> | null;
345
306
  documents?: Prisma.PropertyDocumentListRelationFilter;
346
307
  media?: Prisma.PropertyMediaListRelationFilter;
347
308
  amenities?: Prisma.PropertyAmenityListRelationFilter;
348
- mortgages?: Prisma.MortgageListRelationFilter;
349
- paymentPlans?: Prisma.PaymentPlanListRelationFilter;
350
- contracts?: Prisma.ContractListRelationFilter;
309
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkListRelationFilter;
310
+ variants?: Prisma.PropertyVariantListRelationFilter;
351
311
  };
352
312
  export type PropertyOrderByWithRelationInput = {
353
313
  id?: Prisma.SortOrder;
314
+ tenantId?: Prisma.SortOrder;
354
315
  userId?: Prisma.SortOrder;
355
316
  title?: Prisma.SortOrder;
356
317
  category?: Prisma.SortOrder;
@@ -361,13 +322,8 @@ export type PropertyOrderByWithRelationInput = {
361
322
  district?: Prisma.SortOrderInput | Prisma.SortOrder;
362
323
  zipCode?: Prisma.SortOrderInput | Prisma.SortOrder;
363
324
  streetAddress?: Prisma.SortOrderInput | Prisma.SortOrder;
364
- nBedrooms?: Prisma.SortOrder;
365
- nBathrooms?: Prisma.SortOrder;
366
- nParkingSpots?: Prisma.SortOrder;
367
- price?: Prisma.SortOrder;
368
325
  longitude?: Prisma.SortOrderInput | Prisma.SortOrder;
369
326
  latitude?: Prisma.SortOrderInput | Prisma.SortOrder;
370
- area?: Prisma.SortOrderInput | Prisma.SortOrder;
371
327
  status?: Prisma.SortOrder;
372
328
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
373
329
  displayImageId?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -375,14 +331,14 @@ export type PropertyOrderByWithRelationInput = {
375
331
  publishedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
376
332
  createdAt?: Prisma.SortOrder;
377
333
  updatedAt?: Prisma.SortOrder;
334
+ tenant?: Prisma.TenantOrderByWithRelationInput;
378
335
  user?: Prisma.UserOrderByWithRelationInput;
379
336
  displayImage?: Prisma.PropertyMediaOrderByWithRelationInput;
380
337
  documents?: Prisma.PropertyDocumentOrderByRelationAggregateInput;
381
338
  media?: Prisma.PropertyMediaOrderByRelationAggregateInput;
382
339
  amenities?: Prisma.PropertyAmenityOrderByRelationAggregateInput;
383
- mortgages?: Prisma.MortgageOrderByRelationAggregateInput;
384
- paymentPlans?: Prisma.PaymentPlanOrderByRelationAggregateInput;
385
- contracts?: Prisma.ContractOrderByRelationAggregateInput;
340
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkOrderByRelationAggregateInput;
341
+ variants?: Prisma.PropertyVariantOrderByRelationAggregateInput;
386
342
  _relevance?: Prisma.PropertyOrderByRelevanceInput;
387
343
  };
388
344
  export type PropertyWhereUniqueInput = Prisma.AtLeast<{
@@ -390,6 +346,7 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
390
346
  AND?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
391
347
  OR?: Prisma.PropertyWhereInput[];
392
348
  NOT?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
349
+ tenantId?: Prisma.StringFilter<"Property"> | string;
393
350
  userId?: Prisma.StringFilter<"Property"> | string;
394
351
  title?: Prisma.StringFilter<"Property"> | string;
395
352
  category?: Prisma.StringFilter<"Property"> | string;
@@ -400,13 +357,8 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
400
357
  district?: Prisma.StringNullableFilter<"Property"> | string | null;
401
358
  zipCode?: Prisma.StringNullableFilter<"Property"> | string | null;
402
359
  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
360
  longitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
408
361
  latitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
409
- area?: Prisma.FloatNullableFilter<"Property"> | number | null;
410
362
  status?: Prisma.StringFilter<"Property"> | string;
411
363
  description?: Prisma.StringNullableFilter<"Property"> | string | null;
412
364
  displayImageId?: Prisma.StringNullableFilter<"Property"> | string | null;
@@ -414,17 +366,18 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
414
366
  publishedAt?: Prisma.DateTimeNullableFilter<"Property"> | Date | string | null;
415
367
  createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
416
368
  updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
369
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
417
370
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
418
371
  displayImage?: Prisma.XOR<Prisma.PropertyMediaNullableScalarRelationFilter, Prisma.PropertyMediaWhereInput> | null;
419
372
  documents?: Prisma.PropertyDocumentListRelationFilter;
420
373
  media?: Prisma.PropertyMediaListRelationFilter;
421
374
  amenities?: Prisma.PropertyAmenityListRelationFilter;
422
- mortgages?: Prisma.MortgageListRelationFilter;
423
- paymentPlans?: Prisma.PaymentPlanListRelationFilter;
424
- contracts?: Prisma.ContractListRelationFilter;
375
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkListRelationFilter;
376
+ variants?: Prisma.PropertyVariantListRelationFilter;
425
377
  }, "id">;
426
378
  export type PropertyOrderByWithAggregationInput = {
427
379
  id?: Prisma.SortOrder;
380
+ tenantId?: Prisma.SortOrder;
428
381
  userId?: Prisma.SortOrder;
429
382
  title?: Prisma.SortOrder;
430
383
  category?: Prisma.SortOrder;
@@ -435,13 +388,8 @@ export type PropertyOrderByWithAggregationInput = {
435
388
  district?: Prisma.SortOrderInput | Prisma.SortOrder;
436
389
  zipCode?: Prisma.SortOrderInput | Prisma.SortOrder;
437
390
  streetAddress?: Prisma.SortOrderInput | Prisma.SortOrder;
438
- nBedrooms?: Prisma.SortOrder;
439
- nBathrooms?: Prisma.SortOrder;
440
- nParkingSpots?: Prisma.SortOrder;
441
- price?: Prisma.SortOrder;
442
391
  longitude?: Prisma.SortOrderInput | Prisma.SortOrder;
443
392
  latitude?: Prisma.SortOrderInput | Prisma.SortOrder;
444
- area?: Prisma.SortOrderInput | Prisma.SortOrder;
445
393
  status?: Prisma.SortOrder;
446
394
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
447
395
  displayImageId?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -460,6 +408,7 @@ export type PropertyScalarWhereWithAggregatesInput = {
460
408
  OR?: Prisma.PropertyScalarWhereWithAggregatesInput[];
461
409
  NOT?: Prisma.PropertyScalarWhereWithAggregatesInput | Prisma.PropertyScalarWhereWithAggregatesInput[];
462
410
  id?: Prisma.StringWithAggregatesFilter<"Property"> | string;
411
+ tenantId?: Prisma.StringWithAggregatesFilter<"Property"> | string;
463
412
  userId?: Prisma.StringWithAggregatesFilter<"Property"> | string;
464
413
  title?: Prisma.StringWithAggregatesFilter<"Property"> | string;
465
414
  category?: Prisma.StringWithAggregatesFilter<"Property"> | string;
@@ -470,13 +419,8 @@ export type PropertyScalarWhereWithAggregatesInput = {
470
419
  district?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
471
420
  zipCode?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
472
421
  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
422
  longitude?: Prisma.FloatNullableWithAggregatesFilter<"Property"> | number | null;
478
423
  latitude?: Prisma.FloatNullableWithAggregatesFilter<"Property"> | number | null;
479
- area?: Prisma.FloatNullableWithAggregatesFilter<"Property"> | number | null;
480
424
  status?: Prisma.StringWithAggregatesFilter<"Property"> | string;
481
425
  description?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
482
426
  displayImageId?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
@@ -496,30 +440,26 @@ export type PropertyCreateInput = {
496
440
  district?: string | null;
497
441
  zipCode?: string | null;
498
442
  streetAddress?: string | null;
499
- nBedrooms: string;
500
- nBathrooms: string;
501
- nParkingSpots: string;
502
- price: number;
503
443
  longitude?: number | null;
504
444
  latitude?: number | null;
505
- area?: number | null;
506
445
  status?: string;
507
446
  description?: string | null;
508
447
  isPublished?: boolean;
509
448
  publishedAt?: Date | string | null;
510
449
  createdAt?: Date | string;
511
450
  updatedAt?: Date | string;
451
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
512
452
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
513
453
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
514
454
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
515
455
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
516
456
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
517
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
518
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
519
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
457
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
458
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
520
459
  };
521
460
  export type PropertyUncheckedCreateInput = {
522
461
  id?: string;
462
+ tenantId: string;
523
463
  userId: string;
524
464
  title: string;
525
465
  category: string;
@@ -530,13 +470,8 @@ export type PropertyUncheckedCreateInput = {
530
470
  district?: string | null;
531
471
  zipCode?: string | null;
532
472
  streetAddress?: string | null;
533
- nBedrooms: string;
534
- nBathrooms: string;
535
- nParkingSpots: string;
536
- price: number;
537
473
  longitude?: number | null;
538
474
  latitude?: number | null;
539
- area?: number | null;
540
475
  status?: string;
541
476
  description?: string | null;
542
477
  displayImageId?: string | null;
@@ -547,9 +482,8 @@ export type PropertyUncheckedCreateInput = {
547
482
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
548
483
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
549
484
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
550
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
551
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
552
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
485
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
486
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
553
487
  };
554
488
  export type PropertyUpdateInput = {
555
489
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -562,30 +496,26 @@ export type PropertyUpdateInput = {
562
496
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
563
497
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
564
498
  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
499
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
570
500
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
571
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
572
501
  status?: Prisma.StringFieldUpdateOperationsInput | string;
573
502
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
574
503
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
575
504
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
576
505
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
577
506
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
507
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
578
508
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
579
509
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
580
510
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
581
511
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
582
512
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
583
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
584
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
585
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
513
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
514
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
586
515
  };
587
516
  export type PropertyUncheckedUpdateInput = {
588
517
  id?: Prisma.StringFieldUpdateOperationsInput | string;
518
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
589
519
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
590
520
  title?: Prisma.StringFieldUpdateOperationsInput | string;
591
521
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -596,13 +526,8 @@ export type PropertyUncheckedUpdateInput = {
596
526
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
597
527
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
598
528
  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
529
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
604
530
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
605
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
606
531
  status?: Prisma.StringFieldUpdateOperationsInput | string;
607
532
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
608
533
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -613,12 +538,12 @@ export type PropertyUncheckedUpdateInput = {
613
538
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
614
539
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
615
540
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
616
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
617
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
618
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
541
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
542
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
619
543
  };
620
544
  export type PropertyCreateManyInput = {
621
545
  id?: string;
546
+ tenantId: string;
622
547
  userId: string;
623
548
  title: string;
624
549
  category: string;
@@ -629,13 +554,8 @@ export type PropertyCreateManyInput = {
629
554
  district?: string | null;
630
555
  zipCode?: string | null;
631
556
  streetAddress?: string | null;
632
- nBedrooms: string;
633
- nBathrooms: string;
634
- nParkingSpots: string;
635
- price: number;
636
557
  longitude?: number | null;
637
558
  latitude?: number | null;
638
- area?: number | null;
639
559
  status?: string;
640
560
  description?: string | null;
641
561
  displayImageId?: string | null;
@@ -655,13 +575,8 @@ export type PropertyUpdateManyMutationInput = {
655
575
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
656
576
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
657
577
  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
578
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
663
579
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
664
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
665
580
  status?: Prisma.StringFieldUpdateOperationsInput | string;
666
581
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
667
582
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -671,6 +586,7 @@ export type PropertyUpdateManyMutationInput = {
671
586
  };
672
587
  export type PropertyUncheckedUpdateManyInput = {
673
588
  id?: Prisma.StringFieldUpdateOperationsInput | string;
589
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
674
590
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
675
591
  title?: Prisma.StringFieldUpdateOperationsInput | string;
676
592
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -681,13 +597,8 @@ export type PropertyUncheckedUpdateManyInput = {
681
597
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
682
598
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
683
599
  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
600
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
689
601
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
690
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
691
602
  status?: Prisma.StringFieldUpdateOperationsInput | string;
692
603
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
693
604
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -711,6 +622,7 @@ export type PropertyOrderByRelevanceInput = {
711
622
  };
712
623
  export type PropertyCountOrderByAggregateInput = {
713
624
  id?: Prisma.SortOrder;
625
+ tenantId?: Prisma.SortOrder;
714
626
  userId?: Prisma.SortOrder;
715
627
  title?: Prisma.SortOrder;
716
628
  category?: Prisma.SortOrder;
@@ -721,13 +633,8 @@ export type PropertyCountOrderByAggregateInput = {
721
633
  district?: Prisma.SortOrder;
722
634
  zipCode?: Prisma.SortOrder;
723
635
  streetAddress?: Prisma.SortOrder;
724
- nBedrooms?: Prisma.SortOrder;
725
- nBathrooms?: Prisma.SortOrder;
726
- nParkingSpots?: Prisma.SortOrder;
727
- price?: Prisma.SortOrder;
728
636
  longitude?: Prisma.SortOrder;
729
637
  latitude?: Prisma.SortOrder;
730
- area?: Prisma.SortOrder;
731
638
  status?: Prisma.SortOrder;
732
639
  description?: Prisma.SortOrder;
733
640
  displayImageId?: Prisma.SortOrder;
@@ -737,13 +644,12 @@ export type PropertyCountOrderByAggregateInput = {
737
644
  updatedAt?: Prisma.SortOrder;
738
645
  };
739
646
  export type PropertyAvgOrderByAggregateInput = {
740
- price?: Prisma.SortOrder;
741
647
  longitude?: Prisma.SortOrder;
742
648
  latitude?: Prisma.SortOrder;
743
- area?: Prisma.SortOrder;
744
649
  };
745
650
  export type PropertyMaxOrderByAggregateInput = {
746
651
  id?: Prisma.SortOrder;
652
+ tenantId?: Prisma.SortOrder;
747
653
  userId?: Prisma.SortOrder;
748
654
  title?: Prisma.SortOrder;
749
655
  category?: Prisma.SortOrder;
@@ -754,13 +660,8 @@ export type PropertyMaxOrderByAggregateInput = {
754
660
  district?: Prisma.SortOrder;
755
661
  zipCode?: Prisma.SortOrder;
756
662
  streetAddress?: Prisma.SortOrder;
757
- nBedrooms?: Prisma.SortOrder;
758
- nBathrooms?: Prisma.SortOrder;
759
- nParkingSpots?: Prisma.SortOrder;
760
- price?: Prisma.SortOrder;
761
663
  longitude?: Prisma.SortOrder;
762
664
  latitude?: Prisma.SortOrder;
763
- area?: Prisma.SortOrder;
764
665
  status?: Prisma.SortOrder;
765
666
  description?: Prisma.SortOrder;
766
667
  displayImageId?: Prisma.SortOrder;
@@ -771,6 +672,7 @@ export type PropertyMaxOrderByAggregateInput = {
771
672
  };
772
673
  export type PropertyMinOrderByAggregateInput = {
773
674
  id?: Prisma.SortOrder;
675
+ tenantId?: Prisma.SortOrder;
774
676
  userId?: Prisma.SortOrder;
775
677
  title?: Prisma.SortOrder;
776
678
  category?: Prisma.SortOrder;
@@ -781,13 +683,8 @@ export type PropertyMinOrderByAggregateInput = {
781
683
  district?: Prisma.SortOrder;
782
684
  zipCode?: Prisma.SortOrder;
783
685
  streetAddress?: Prisma.SortOrder;
784
- nBedrooms?: Prisma.SortOrder;
785
- nBathrooms?: Prisma.SortOrder;
786
- nParkingSpots?: Prisma.SortOrder;
787
- price?: Prisma.SortOrder;
788
686
  longitude?: Prisma.SortOrder;
789
687
  latitude?: Prisma.SortOrder;
790
- area?: Prisma.SortOrder;
791
688
  status?: Prisma.SortOrder;
792
689
  description?: Prisma.SortOrder;
793
690
  displayImageId?: Prisma.SortOrder;
@@ -797,10 +694,8 @@ export type PropertyMinOrderByAggregateInput = {
797
694
  updatedAt?: Prisma.SortOrder;
798
695
  };
799
696
  export type PropertySumOrderByAggregateInput = {
800
- price?: Prisma.SortOrder;
801
697
  longitude?: Prisma.SortOrder;
802
698
  latitude?: Prisma.SortOrder;
803
- area?: Prisma.SortOrder;
804
699
  };
805
700
  export type PropertyScalarRelationFilter = {
806
701
  is?: Prisma.PropertyWhereInput;
@@ -844,6 +739,44 @@ export type PropertyUncheckedUpdateManyWithoutUserNestedInput = {
844
739
  updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutUserInput | Prisma.PropertyUpdateManyWithWhereWithoutUserInput[];
845
740
  deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
846
741
  };
742
+ export type PropertyCreateNestedManyWithoutTenantInput = {
743
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[];
744
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[];
745
+ createMany?: Prisma.PropertyCreateManyTenantInputEnvelope;
746
+ connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
747
+ };
748
+ export type PropertyUncheckedCreateNestedManyWithoutTenantInput = {
749
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[];
750
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[];
751
+ createMany?: Prisma.PropertyCreateManyTenantInputEnvelope;
752
+ connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
753
+ };
754
+ export type PropertyUpdateManyWithoutTenantNestedInput = {
755
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[];
756
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[];
757
+ upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput[];
758
+ createMany?: Prisma.PropertyCreateManyTenantInputEnvelope;
759
+ set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
760
+ disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
761
+ delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
762
+ connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
763
+ update?: Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput[];
764
+ updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyUpdateManyWithWhereWithoutTenantInput[];
765
+ deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
766
+ };
767
+ export type PropertyUncheckedUpdateManyWithoutTenantNestedInput = {
768
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[];
769
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[];
770
+ upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpsertWithWhereUniqueWithoutTenantInput[];
771
+ createMany?: Prisma.PropertyCreateManyTenantInputEnvelope;
772
+ set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
773
+ disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
774
+ delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
775
+ connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
776
+ update?: Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyUpdateWithWhereUniqueWithoutTenantInput[];
777
+ updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyUpdateManyWithWhereWithoutTenantInput[];
778
+ deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
779
+ };
847
780
  export type NullableFloatFieldUpdateOperationsInput = {
848
781
  set?: number | null;
849
782
  increment?: number;
@@ -913,6 +846,18 @@ export type PropertyUpdateOneRequiredWithoutDocumentsNestedInput = {
913
846
  connect?: Prisma.PropertyWhereUniqueInput;
914
847
  update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutDocumentsInput, Prisma.PropertyUpdateWithoutDocumentsInput>, Prisma.PropertyUncheckedUpdateWithoutDocumentsInput>;
915
848
  };
849
+ export type PropertyCreateNestedOneWithoutVariantsInput = {
850
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutVariantsInput, Prisma.PropertyUncheckedCreateWithoutVariantsInput>;
851
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutVariantsInput;
852
+ connect?: Prisma.PropertyWhereUniqueInput;
853
+ };
854
+ export type PropertyUpdateOneRequiredWithoutVariantsNestedInput = {
855
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutVariantsInput, Prisma.PropertyUncheckedCreateWithoutVariantsInput>;
856
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutVariantsInput;
857
+ upsert?: Prisma.PropertyUpsertWithoutVariantsInput;
858
+ connect?: Prisma.PropertyWhereUniqueInput;
859
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutVariantsInput, Prisma.PropertyUpdateWithoutVariantsInput>, Prisma.PropertyUncheckedUpdateWithoutVariantsInput>;
860
+ };
916
861
  export type PropertyCreateNestedOneWithoutAmenitiesInput = {
917
862
  create?: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
918
863
  connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutAmenitiesInput;
@@ -925,41 +870,17 @@ export type PropertyUpdateOneRequiredWithoutAmenitiesNestedInput = {
925
870
  connect?: Prisma.PropertyWhereUniqueInput;
926
871
  update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutAmenitiesInput, Prisma.PropertyUpdateWithoutAmenitiesInput>, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
927
872
  };
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;
949
- connect?: Prisma.PropertyWhereUniqueInput;
950
- update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutPaymentPlansInput, Prisma.PropertyUpdateWithoutPaymentPlansInput>, Prisma.PropertyUncheckedUpdateWithoutPaymentPlansInput>;
951
- };
952
- export type PropertyCreateNestedOneWithoutContractsInput = {
953
- create?: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
954
- connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutContractsInput;
873
+ export type PropertyCreateNestedOneWithoutPaymentMethodsInput = {
874
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedCreateWithoutPaymentMethodsInput>;
875
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutPaymentMethodsInput;
955
876
  connect?: Prisma.PropertyWhereUniqueInput;
956
877
  };
957
- export type PropertyUpdateOneRequiredWithoutContractsNestedInput = {
958
- create?: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
959
- connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutContractsInput;
960
- upsert?: Prisma.PropertyUpsertWithoutContractsInput;
878
+ export type PropertyUpdateOneRequiredWithoutPaymentMethodsNestedInput = {
879
+ create?: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedCreateWithoutPaymentMethodsInput>;
880
+ connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutPaymentMethodsInput;
881
+ upsert?: Prisma.PropertyUpsertWithoutPaymentMethodsInput;
961
882
  connect?: Prisma.PropertyWhereUniqueInput;
962
- update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutContractsInput, Prisma.PropertyUpdateWithoutContractsInput>, Prisma.PropertyUncheckedUpdateWithoutContractsInput>;
883
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUpdateToOneWithWhereWithoutPaymentMethodsInput, Prisma.PropertyUpdateWithoutPaymentMethodsInput>, Prisma.PropertyUncheckedUpdateWithoutPaymentMethodsInput>;
963
884
  };
964
885
  export type PropertyCreateWithoutUserInput = {
965
886
  id?: string;
@@ -972,29 +893,25 @@ export type PropertyCreateWithoutUserInput = {
972
893
  district?: string | null;
973
894
  zipCode?: string | null;
974
895
  streetAddress?: string | null;
975
- nBedrooms: string;
976
- nBathrooms: string;
977
- nParkingSpots: string;
978
- price: number;
979
896
  longitude?: number | null;
980
897
  latitude?: number | null;
981
- area?: number | null;
982
898
  status?: string;
983
899
  description?: string | null;
984
900
  isPublished?: boolean;
985
901
  publishedAt?: Date | string | null;
986
902
  createdAt?: Date | string;
987
903
  updatedAt?: Date | string;
904
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
988
905
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
989
906
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
990
907
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
991
908
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
992
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
993
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
994
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
909
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
910
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
995
911
  };
996
912
  export type PropertyUncheckedCreateWithoutUserInput = {
997
913
  id?: string;
914
+ tenantId: string;
998
915
  title: string;
999
916
  category: string;
1000
917
  propertyType: string;
@@ -1004,13 +921,8 @@ export type PropertyUncheckedCreateWithoutUserInput = {
1004
921
  district?: string | null;
1005
922
  zipCode?: string | null;
1006
923
  streetAddress?: string | null;
1007
- nBedrooms: string;
1008
- nBathrooms: string;
1009
- nParkingSpots: string;
1010
- price: number;
1011
924
  longitude?: number | null;
1012
925
  latitude?: number | null;
1013
- area?: number | null;
1014
926
  status?: string;
1015
927
  description?: string | null;
1016
928
  displayImageId?: string | null;
@@ -1021,9 +933,8 @@ export type PropertyUncheckedCreateWithoutUserInput = {
1021
933
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1022
934
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1023
935
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1024
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1025
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1026
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
936
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
937
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1027
938
  };
1028
939
  export type PropertyCreateOrConnectWithoutUserInput = {
1029
940
  where: Prisma.PropertyWhereUniqueInput;
@@ -1051,6 +962,7 @@ export type PropertyScalarWhereInput = {
1051
962
  OR?: Prisma.PropertyScalarWhereInput[];
1052
963
  NOT?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
1053
964
  id?: Prisma.StringFilter<"Property"> | string;
965
+ tenantId?: Prisma.StringFilter<"Property"> | string;
1054
966
  userId?: Prisma.StringFilter<"Property"> | string;
1055
967
  title?: Prisma.StringFilter<"Property"> | string;
1056
968
  category?: Prisma.StringFilter<"Property"> | string;
@@ -1061,13 +973,8 @@ export type PropertyScalarWhereInput = {
1061
973
  district?: Prisma.StringNullableFilter<"Property"> | string | null;
1062
974
  zipCode?: Prisma.StringNullableFilter<"Property"> | string | null;
1063
975
  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
976
  longitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
1069
977
  latitude?: Prisma.FloatNullableFilter<"Property"> | number | null;
1070
- area?: Prisma.FloatNullableFilter<"Property"> | number | null;
1071
978
  status?: Prisma.StringFilter<"Property"> | string;
1072
979
  description?: Prisma.StringNullableFilter<"Property"> | string | null;
1073
980
  displayImageId?: Prisma.StringNullableFilter<"Property"> | string | null;
@@ -1076,6 +983,81 @@ export type PropertyScalarWhereInput = {
1076
983
  createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
1077
984
  updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
1078
985
  };
986
+ export type PropertyCreateWithoutTenantInput = {
987
+ id?: string;
988
+ title: string;
989
+ category: string;
990
+ propertyType: string;
991
+ country: string;
992
+ currency: string;
993
+ city: string;
994
+ district?: string | null;
995
+ zipCode?: string | null;
996
+ streetAddress?: string | null;
997
+ longitude?: number | null;
998
+ latitude?: number | null;
999
+ status?: string;
1000
+ description?: string | null;
1001
+ isPublished?: boolean;
1002
+ publishedAt?: Date | string | null;
1003
+ createdAt?: Date | string;
1004
+ updatedAt?: Date | string;
1005
+ user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1006
+ displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1007
+ documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1008
+ media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1009
+ amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1010
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1011
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1012
+ };
1013
+ export type PropertyUncheckedCreateWithoutTenantInput = {
1014
+ id?: string;
1015
+ userId: string;
1016
+ title: string;
1017
+ category: string;
1018
+ propertyType: string;
1019
+ country: string;
1020
+ currency: string;
1021
+ city: string;
1022
+ district?: string | null;
1023
+ zipCode?: string | null;
1024
+ streetAddress?: string | null;
1025
+ longitude?: number | null;
1026
+ latitude?: number | null;
1027
+ status?: string;
1028
+ description?: string | null;
1029
+ displayImageId?: string | null;
1030
+ isPublished?: boolean;
1031
+ publishedAt?: Date | string | null;
1032
+ createdAt?: Date | string;
1033
+ updatedAt?: Date | string;
1034
+ documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1035
+ media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1036
+ amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1037
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1038
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1039
+ };
1040
+ export type PropertyCreateOrConnectWithoutTenantInput = {
1041
+ where: Prisma.PropertyWhereUniqueInput;
1042
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput>;
1043
+ };
1044
+ export type PropertyCreateManyTenantInputEnvelope = {
1045
+ data: Prisma.PropertyCreateManyTenantInput | Prisma.PropertyCreateManyTenantInput[];
1046
+ skipDuplicates?: boolean;
1047
+ };
1048
+ export type PropertyUpsertWithWhereUniqueWithoutTenantInput = {
1049
+ where: Prisma.PropertyWhereUniqueInput;
1050
+ update: Prisma.XOR<Prisma.PropertyUpdateWithoutTenantInput, Prisma.PropertyUncheckedUpdateWithoutTenantInput>;
1051
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput>;
1052
+ };
1053
+ export type PropertyUpdateWithWhereUniqueWithoutTenantInput = {
1054
+ where: Prisma.PropertyWhereUniqueInput;
1055
+ data: Prisma.XOR<Prisma.PropertyUpdateWithoutTenantInput, Prisma.PropertyUncheckedUpdateWithoutTenantInput>;
1056
+ };
1057
+ export type PropertyUpdateManyWithWhereWithoutTenantInput = {
1058
+ where: Prisma.PropertyScalarWhereInput;
1059
+ data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyWithoutTenantInput>;
1060
+ };
1079
1061
  export type PropertyCreateWithoutMediaInput = {
1080
1062
  id?: string;
1081
1063
  title: string;
@@ -1087,29 +1069,25 @@ export type PropertyCreateWithoutMediaInput = {
1087
1069
  district?: string | null;
1088
1070
  zipCode?: string | null;
1089
1071
  streetAddress?: string | null;
1090
- nBedrooms: string;
1091
- nBathrooms: string;
1092
- nParkingSpots: string;
1093
- price: number;
1094
1072
  longitude?: number | null;
1095
1073
  latitude?: number | null;
1096
- area?: number | null;
1097
1074
  status?: string;
1098
1075
  description?: string | null;
1099
1076
  isPublished?: boolean;
1100
1077
  publishedAt?: Date | string | null;
1101
1078
  createdAt?: Date | string;
1102
1079
  updatedAt?: Date | string;
1080
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1103
1081
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1104
1082
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1105
1083
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1106
1084
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1107
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1108
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1109
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1085
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1086
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1110
1087
  };
1111
1088
  export type PropertyUncheckedCreateWithoutMediaInput = {
1112
1089
  id?: string;
1090
+ tenantId: string;
1113
1091
  userId: string;
1114
1092
  title: string;
1115
1093
  category: string;
@@ -1120,13 +1098,8 @@ export type PropertyUncheckedCreateWithoutMediaInput = {
1120
1098
  district?: string | null;
1121
1099
  zipCode?: string | null;
1122
1100
  streetAddress?: string | null;
1123
- nBedrooms: string;
1124
- nBathrooms: string;
1125
- nParkingSpots: string;
1126
- price: number;
1127
1101
  longitude?: number | null;
1128
1102
  latitude?: number | null;
1129
- area?: number | null;
1130
1103
  status?: string;
1131
1104
  description?: string | null;
1132
1105
  displayImageId?: string | null;
@@ -1136,9 +1109,8 @@ export type PropertyUncheckedCreateWithoutMediaInput = {
1136
1109
  updatedAt?: Date | string;
1137
1110
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1138
1111
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1139
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1140
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1141
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1112
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1113
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1142
1114
  };
1143
1115
  export type PropertyCreateOrConnectWithoutMediaInput = {
1144
1116
  where: Prisma.PropertyWhereUniqueInput;
@@ -1155,29 +1127,25 @@ export type PropertyCreateWithoutDisplayImageInput = {
1155
1127
  district?: string | null;
1156
1128
  zipCode?: string | null;
1157
1129
  streetAddress?: string | null;
1158
- nBedrooms: string;
1159
- nBathrooms: string;
1160
- nParkingSpots: string;
1161
- price: number;
1162
1130
  longitude?: number | null;
1163
1131
  latitude?: number | null;
1164
- area?: number | null;
1165
1132
  status?: string;
1166
1133
  description?: string | null;
1167
1134
  isPublished?: boolean;
1168
1135
  publishedAt?: Date | string | null;
1169
1136
  createdAt?: Date | string;
1170
1137
  updatedAt?: Date | string;
1138
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1171
1139
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1172
1140
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1173
1141
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1174
1142
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1175
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1176
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1177
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1143
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1144
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1178
1145
  };
1179
1146
  export type PropertyUncheckedCreateWithoutDisplayImageInput = {
1180
1147
  id?: string;
1148
+ tenantId: string;
1181
1149
  userId: string;
1182
1150
  title: string;
1183
1151
  category: string;
@@ -1188,13 +1156,8 @@ export type PropertyUncheckedCreateWithoutDisplayImageInput = {
1188
1156
  district?: string | null;
1189
1157
  zipCode?: string | null;
1190
1158
  streetAddress?: string | null;
1191
- nBedrooms: string;
1192
- nBathrooms: string;
1193
- nParkingSpots: string;
1194
- price: number;
1195
1159
  longitude?: number | null;
1196
1160
  latitude?: number | null;
1197
- area?: number | null;
1198
1161
  status?: string;
1199
1162
  description?: string | null;
1200
1163
  isPublished?: boolean;
@@ -1204,9 +1167,8 @@ export type PropertyUncheckedCreateWithoutDisplayImageInput = {
1204
1167
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1205
1168
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1206
1169
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1207
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1208
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1209
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1170
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1171
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1210
1172
  };
1211
1173
  export type PropertyCreateOrConnectWithoutDisplayImageInput = {
1212
1174
  where: Prisma.PropertyWhereUniqueInput;
@@ -1236,29 +1198,25 @@ export type PropertyUpdateWithoutMediaInput = {
1236
1198
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1237
1199
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1238
1200
  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
1201
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1244
1202
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1245
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1246
1203
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1247
1204
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1248
1205
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1249
1206
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1250
1207
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1251
1208
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1209
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1252
1210
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1253
1211
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1254
1212
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1255
1213
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1256
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1257
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1258
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1214
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1215
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1259
1216
  };
1260
1217
  export type PropertyUncheckedUpdateWithoutMediaInput = {
1261
1218
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1219
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1262
1220
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1263
1221
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1264
1222
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1269,13 +1227,8 @@ export type PropertyUncheckedUpdateWithoutMediaInput = {
1269
1227
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1270
1228
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1271
1229
  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
1230
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1277
1231
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1278
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1279
1232
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1280
1233
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1281
1234
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1285,9 +1238,8 @@ export type PropertyUncheckedUpdateWithoutMediaInput = {
1285
1238
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1286
1239
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
1287
1240
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1288
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
1289
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1290
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1241
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1242
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
1291
1243
  };
1292
1244
  export type PropertyUpsertWithWhereUniqueWithoutDisplayImageInput = {
1293
1245
  where: Prisma.PropertyWhereUniqueInput;
@@ -1313,29 +1265,25 @@ export type PropertyCreateWithoutDocumentsInput = {
1313
1265
  district?: string | null;
1314
1266
  zipCode?: string | null;
1315
1267
  streetAddress?: string | null;
1316
- nBedrooms: string;
1317
- nBathrooms: string;
1318
- nParkingSpots: string;
1319
- price: number;
1320
1268
  longitude?: number | null;
1321
1269
  latitude?: number | null;
1322
- area?: number | null;
1323
1270
  status?: string;
1324
1271
  description?: string | null;
1325
1272
  isPublished?: boolean;
1326
1273
  publishedAt?: Date | string | null;
1327
1274
  createdAt?: Date | string;
1328
1275
  updatedAt?: Date | string;
1276
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1329
1277
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1330
1278
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1331
1279
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1332
1280
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1333
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1334
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1335
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1281
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1282
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1336
1283
  };
1337
1284
  export type PropertyUncheckedCreateWithoutDocumentsInput = {
1338
1285
  id?: string;
1286
+ tenantId: string;
1339
1287
  userId: string;
1340
1288
  title: string;
1341
1289
  category: string;
@@ -1346,13 +1294,8 @@ export type PropertyUncheckedCreateWithoutDocumentsInput = {
1346
1294
  district?: string | null;
1347
1295
  zipCode?: string | null;
1348
1296
  streetAddress?: string | null;
1349
- nBedrooms: string;
1350
- nBathrooms: string;
1351
- nParkingSpots: string;
1352
- price: number;
1353
1297
  longitude?: number | null;
1354
1298
  latitude?: number | null;
1355
- area?: number | null;
1356
1299
  status?: string;
1357
1300
  description?: string | null;
1358
1301
  displayImageId?: string | null;
@@ -1362,9 +1305,8 @@ export type PropertyUncheckedCreateWithoutDocumentsInput = {
1362
1305
  updatedAt?: Date | string;
1363
1306
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1364
1307
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1365
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1366
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1367
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1308
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1309
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1368
1310
  };
1369
1311
  export type PropertyCreateOrConnectWithoutDocumentsInput = {
1370
1312
  where: Prisma.PropertyWhereUniqueInput;
@@ -1390,29 +1332,25 @@ export type PropertyUpdateWithoutDocumentsInput = {
1390
1332
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1391
1333
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1392
1334
  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
1335
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1398
1336
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1399
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1400
1337
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1401
1338
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1402
1339
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1403
1340
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1404
1341
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1405
1342
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1343
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1406
1344
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1407
1345
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1408
1346
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1409
1347
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1410
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1411
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1412
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1348
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1349
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1413
1350
  };
1414
1351
  export type PropertyUncheckedUpdateWithoutDocumentsInput = {
1415
1352
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1353
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1416
1354
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1417
1355
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1418
1356
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1423,13 +1361,8 @@ export type PropertyUncheckedUpdateWithoutDocumentsInput = {
1423
1361
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1424
1362
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1425
1363
  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
1364
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1431
1365
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1432
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1433
1366
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1434
1367
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1435
1368
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1439,11 +1372,10 @@ export type PropertyUncheckedUpdateWithoutDocumentsInput = {
1439
1372
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1440
1373
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
1441
1374
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1442
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
1443
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1444
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1375
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1376
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
1445
1377
  };
1446
- export type PropertyCreateWithoutAmenitiesInput = {
1378
+ export type PropertyCreateWithoutVariantsInput = {
1447
1379
  id?: string;
1448
1380
  title: string;
1449
1381
  category: string;
@@ -1454,29 +1386,25 @@ export type PropertyCreateWithoutAmenitiesInput = {
1454
1386
  district?: string | null;
1455
1387
  zipCode?: string | null;
1456
1388
  streetAddress?: string | null;
1457
- nBedrooms: string;
1458
- nBathrooms: string;
1459
- nParkingSpots: string;
1460
- price: number;
1461
1389
  longitude?: number | null;
1462
1390
  latitude?: number | null;
1463
- area?: number | null;
1464
1391
  status?: string;
1465
1392
  description?: string | null;
1466
1393
  isPublished?: boolean;
1467
1394
  publishedAt?: Date | string | null;
1468
1395
  createdAt?: Date | string;
1469
1396
  updatedAt?: Date | string;
1397
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1470
1398
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1471
1399
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1472
1400
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1473
1401
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1474
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1475
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1476
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1402
+ amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1403
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1477
1404
  };
1478
- export type PropertyUncheckedCreateWithoutAmenitiesInput = {
1405
+ export type PropertyUncheckedCreateWithoutVariantsInput = {
1479
1406
  id?: string;
1407
+ tenantId: string;
1480
1408
  userId: string;
1481
1409
  title: string;
1482
1410
  category: string;
@@ -1487,13 +1415,8 @@ export type PropertyUncheckedCreateWithoutAmenitiesInput = {
1487
1415
  district?: string | null;
1488
1416
  zipCode?: string | null;
1489
1417
  streetAddress?: string | null;
1490
- nBedrooms: string;
1491
- nBathrooms: string;
1492
- nParkingSpots: string;
1493
- price: number;
1494
1418
  longitude?: number | null;
1495
1419
  latitude?: number | null;
1496
- area?: number | null;
1497
1420
  status?: string;
1498
1421
  description?: string | null;
1499
1422
  displayImageId?: string | null;
@@ -1503,24 +1426,23 @@ export type PropertyUncheckedCreateWithoutAmenitiesInput = {
1503
1426
  updatedAt?: Date | string;
1504
1427
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1505
1428
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1506
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1507
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1508
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1429
+ amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1430
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1509
1431
  };
1510
- export type PropertyCreateOrConnectWithoutAmenitiesInput = {
1432
+ export type PropertyCreateOrConnectWithoutVariantsInput = {
1511
1433
  where: Prisma.PropertyWhereUniqueInput;
1512
- create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
1434
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutVariantsInput, Prisma.PropertyUncheckedCreateWithoutVariantsInput>;
1513
1435
  };
1514
- export type PropertyUpsertWithoutAmenitiesInput = {
1515
- update: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
1516
- create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
1436
+ export type PropertyUpsertWithoutVariantsInput = {
1437
+ update: Prisma.XOR<Prisma.PropertyUpdateWithoutVariantsInput, Prisma.PropertyUncheckedUpdateWithoutVariantsInput>;
1438
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutVariantsInput, Prisma.PropertyUncheckedCreateWithoutVariantsInput>;
1517
1439
  where?: Prisma.PropertyWhereInput;
1518
1440
  };
1519
- export type PropertyUpdateToOneWithWhereWithoutAmenitiesInput = {
1441
+ export type PropertyUpdateToOneWithWhereWithoutVariantsInput = {
1520
1442
  where?: Prisma.PropertyWhereInput;
1521
- data: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
1443
+ data: Prisma.XOR<Prisma.PropertyUpdateWithoutVariantsInput, Prisma.PropertyUncheckedUpdateWithoutVariantsInput>;
1522
1444
  };
1523
- export type PropertyUpdateWithoutAmenitiesInput = {
1445
+ export type PropertyUpdateWithoutVariantsInput = {
1524
1446
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1525
1447
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1526
1448
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1531,29 +1453,25 @@ export type PropertyUpdateWithoutAmenitiesInput = {
1531
1453
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1532
1454
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1533
1455
  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
1456
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1539
1457
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1540
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1541
1458
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1542
1459
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1543
1460
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1544
1461
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1545
1462
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1546
1463
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1464
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1547
1465
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1548
1466
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1549
1467
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1550
1468
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1551
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1552
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1553
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1469
+ amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1470
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1554
1471
  };
1555
- export type PropertyUncheckedUpdateWithoutAmenitiesInput = {
1472
+ export type PropertyUncheckedUpdateWithoutVariantsInput = {
1556
1473
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1474
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1557
1475
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1558
1476
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1559
1477
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1564,13 +1482,8 @@ export type PropertyUncheckedUpdateWithoutAmenitiesInput = {
1564
1482
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1565
1483
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1566
1484
  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
1485
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1572
1486
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1573
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1574
1487
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1575
1488
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1576
1489
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1580,11 +1493,10 @@ export type PropertyUncheckedUpdateWithoutAmenitiesInput = {
1580
1493
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1581
1494
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
1582
1495
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
1583
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
1584
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1585
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1496
+ amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1497
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1586
1498
  };
1587
- export type PropertyCreateWithoutMortgagesInput = {
1499
+ export type PropertyCreateWithoutAmenitiesInput = {
1588
1500
  id?: string;
1589
1501
  title: string;
1590
1502
  category: string;
@@ -1595,29 +1507,25 @@ export type PropertyCreateWithoutMortgagesInput = {
1595
1507
  district?: string | null;
1596
1508
  zipCode?: string | null;
1597
1509
  streetAddress?: string | null;
1598
- nBedrooms: string;
1599
- nBathrooms: string;
1600
- nParkingSpots: string;
1601
- price: number;
1602
1510
  longitude?: number | null;
1603
1511
  latitude?: number | null;
1604
- area?: number | null;
1605
1512
  status?: string;
1606
1513
  description?: string | null;
1607
1514
  isPublished?: boolean;
1608
1515
  publishedAt?: Date | string | null;
1609
1516
  createdAt?: Date | string;
1610
1517
  updatedAt?: Date | string;
1518
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1611
1519
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1612
1520
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1613
1521
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1614
1522
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1615
- amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1616
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1617
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1523
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
1524
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1618
1525
  };
1619
- export type PropertyUncheckedCreateWithoutMortgagesInput = {
1526
+ export type PropertyUncheckedCreateWithoutAmenitiesInput = {
1620
1527
  id?: string;
1528
+ tenantId: string;
1621
1529
  userId: string;
1622
1530
  title: string;
1623
1531
  category: string;
@@ -1628,13 +1536,8 @@ export type PropertyUncheckedCreateWithoutMortgagesInput = {
1628
1536
  district?: string | null;
1629
1537
  zipCode?: string | null;
1630
1538
  streetAddress?: string | null;
1631
- nBedrooms: string;
1632
- nBathrooms: string;
1633
- nParkingSpots: string;
1634
- price: number;
1635
1539
  longitude?: number | null;
1636
1540
  latitude?: number | null;
1637
- area?: number | null;
1638
1541
  status?: string;
1639
1542
  description?: string | null;
1640
1543
  displayImageId?: string | null;
@@ -1644,24 +1547,23 @@ export type PropertyUncheckedCreateWithoutMortgagesInput = {
1644
1547
  updatedAt?: Date | string;
1645
1548
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1646
1549
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1647
- amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1648
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1649
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1550
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
1551
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1650
1552
  };
1651
- export type PropertyCreateOrConnectWithoutMortgagesInput = {
1553
+ export type PropertyCreateOrConnectWithoutAmenitiesInput = {
1652
1554
  where: Prisma.PropertyWhereUniqueInput;
1653
- create: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
1555
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
1654
1556
  };
1655
- export type PropertyUpsertWithoutMortgagesInput = {
1656
- update: Prisma.XOR<Prisma.PropertyUpdateWithoutMortgagesInput, Prisma.PropertyUncheckedUpdateWithoutMortgagesInput>;
1657
- create: Prisma.XOR<Prisma.PropertyCreateWithoutMortgagesInput, Prisma.PropertyUncheckedCreateWithoutMortgagesInput>;
1557
+ export type PropertyUpsertWithoutAmenitiesInput = {
1558
+ update: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
1559
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutAmenitiesInput, Prisma.PropertyUncheckedCreateWithoutAmenitiesInput>;
1658
1560
  where?: Prisma.PropertyWhereInput;
1659
1561
  };
1660
- export type PropertyUpdateToOneWithWhereWithoutMortgagesInput = {
1562
+ export type PropertyUpdateToOneWithWhereWithoutAmenitiesInput = {
1661
1563
  where?: Prisma.PropertyWhereInput;
1662
- data: Prisma.XOR<Prisma.PropertyUpdateWithoutMortgagesInput, Prisma.PropertyUncheckedUpdateWithoutMortgagesInput>;
1564
+ data: Prisma.XOR<Prisma.PropertyUpdateWithoutAmenitiesInput, Prisma.PropertyUncheckedUpdateWithoutAmenitiesInput>;
1663
1565
  };
1664
- export type PropertyUpdateWithoutMortgagesInput = {
1566
+ export type PropertyUpdateWithoutAmenitiesInput = {
1665
1567
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1666
1568
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1667
1569
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1672,29 +1574,25 @@ export type PropertyUpdateWithoutMortgagesInput = {
1672
1574
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1673
1575
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1674
1576
  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
1577
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1680
1578
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1681
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1682
1579
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1683
1580
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1684
1581
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1685
1582
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1686
1583
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1687
1584
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1585
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1688
1586
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1689
1587
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1690
1588
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1691
1589
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1692
- amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1693
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1694
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1590
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1591
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1695
1592
  };
1696
- export type PropertyUncheckedUpdateWithoutMortgagesInput = {
1593
+ export type PropertyUncheckedUpdateWithoutAmenitiesInput = {
1697
1594
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1595
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1698
1596
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1699
1597
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1700
1598
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1705,13 +1603,8 @@ export type PropertyUncheckedUpdateWithoutMortgagesInput = {
1705
1603
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1706
1604
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1707
1605
  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
1606
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1713
1607
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1714
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1715
1608
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1716
1609
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1717
1610
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1721,11 +1614,10 @@ export type PropertyUncheckedUpdateWithoutMortgagesInput = {
1721
1614
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1722
1615
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
1723
1616
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
1724
- amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1725
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1726
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1617
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1618
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
1727
1619
  };
1728
- export type PropertyCreateWithoutPaymentPlansInput = {
1620
+ export type PropertyCreateWithoutPaymentMethodsInput = {
1729
1621
  id?: string;
1730
1622
  title: string;
1731
1623
  category: string;
@@ -1736,29 +1628,25 @@ export type PropertyCreateWithoutPaymentPlansInput = {
1736
1628
  district?: string | null;
1737
1629
  zipCode?: string | null;
1738
1630
  streetAddress?: string | null;
1739
- nBedrooms: string;
1740
- nBathrooms: string;
1741
- nParkingSpots: string;
1742
- price: number;
1743
1631
  longitude?: number | null;
1744
1632
  latitude?: number | null;
1745
- area?: number | null;
1746
1633
  status?: string;
1747
1634
  description?: string | null;
1748
1635
  isPublished?: boolean;
1749
1636
  publishedAt?: Date | string | null;
1750
1637
  createdAt?: Date | string;
1751
1638
  updatedAt?: Date | string;
1639
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
1752
1640
  user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1753
1641
  displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1754
1642
  documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1755
1643
  media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1756
1644
  amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1757
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1758
- contracts?: Prisma.ContractCreateNestedManyWithoutPropertyInput;
1645
+ variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
1759
1646
  };
1760
- export type PropertyUncheckedCreateWithoutPaymentPlansInput = {
1647
+ export type PropertyUncheckedCreateWithoutPaymentMethodsInput = {
1761
1648
  id?: string;
1649
+ tenantId: string;
1762
1650
  userId: string;
1763
1651
  title: string;
1764
1652
  category: string;
@@ -1769,13 +1657,8 @@ export type PropertyUncheckedCreateWithoutPaymentPlansInput = {
1769
1657
  district?: string | null;
1770
1658
  zipCode?: string | null;
1771
1659
  streetAddress?: string | null;
1772
- nBedrooms: string;
1773
- nBathrooms: string;
1774
- nParkingSpots: string;
1775
- price: number;
1776
1660
  longitude?: number | null;
1777
1661
  latitude?: number | null;
1778
- area?: number | null;
1779
1662
  status?: string;
1780
1663
  description?: string | null;
1781
1664
  displayImageId?: string | null;
@@ -1786,23 +1669,22 @@ export type PropertyUncheckedCreateWithoutPaymentPlansInput = {
1786
1669
  documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1787
1670
  media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1788
1671
  amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1789
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1790
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPropertyInput;
1672
+ variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
1791
1673
  };
1792
- export type PropertyCreateOrConnectWithoutPaymentPlansInput = {
1674
+ export type PropertyCreateOrConnectWithoutPaymentMethodsInput = {
1793
1675
  where: Prisma.PropertyWhereUniqueInput;
1794
- create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
1676
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedCreateWithoutPaymentMethodsInput>;
1795
1677
  };
1796
- export type PropertyUpsertWithoutPaymentPlansInput = {
1797
- update: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentPlansInput, Prisma.PropertyUncheckedUpdateWithoutPaymentPlansInput>;
1798
- create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentPlansInput, Prisma.PropertyUncheckedCreateWithoutPaymentPlansInput>;
1678
+ export type PropertyUpsertWithoutPaymentMethodsInput = {
1679
+ update: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedUpdateWithoutPaymentMethodsInput>;
1680
+ create: Prisma.XOR<Prisma.PropertyCreateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedCreateWithoutPaymentMethodsInput>;
1799
1681
  where?: Prisma.PropertyWhereInput;
1800
1682
  };
1801
- export type PropertyUpdateToOneWithWhereWithoutPaymentPlansInput = {
1683
+ export type PropertyUpdateToOneWithWhereWithoutPaymentMethodsInput = {
1802
1684
  where?: Prisma.PropertyWhereInput;
1803
- data: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentPlansInput, Prisma.PropertyUncheckedUpdateWithoutPaymentPlansInput>;
1685
+ data: Prisma.XOR<Prisma.PropertyUpdateWithoutPaymentMethodsInput, Prisma.PropertyUncheckedUpdateWithoutPaymentMethodsInput>;
1804
1686
  };
1805
- export type PropertyUpdateWithoutPaymentPlansInput = {
1687
+ export type PropertyUpdateWithoutPaymentMethodsInput = {
1806
1688
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1807
1689
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1808
1690
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1813,29 +1695,25 @@ export type PropertyUpdateWithoutPaymentPlansInput = {
1813
1695
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1814
1696
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1815
1697
  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
1698
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1821
1699
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1822
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1823
1700
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1824
1701
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1825
1702
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1826
1703
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1827
1704
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1828
1705
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1706
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1829
1707
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1830
1708
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1831
1709
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1832
1710
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1833
1711
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1834
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1835
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1712
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1836
1713
  };
1837
- export type PropertyUncheckedUpdateWithoutPaymentPlansInput = {
1714
+ export type PropertyUncheckedUpdateWithoutPaymentMethodsInput = {
1838
1715
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1716
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1839
1717
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
1840
1718
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1841
1719
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1846,13 +1724,8 @@ export type PropertyUncheckedUpdateWithoutPaymentPlansInput = {
1846
1724
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1847
1725
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1848
1726
  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
1727
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1854
1728
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1855
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1856
1729
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1857
1730
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1858
1731
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -1863,44 +1736,11 @@ export type PropertyUncheckedUpdateWithoutPaymentPlansInput = {
1863
1736
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
1864
1737
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
1865
1738
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
1866
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
1867
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1868
- };
1869
- export type PropertyCreateWithoutContractsInput = {
1870
- id?: string;
1871
- title: string;
1872
- category: string;
1873
- propertyType: string;
1874
- country: string;
1875
- currency: string;
1876
- city: string;
1877
- district?: string | null;
1878
- zipCode?: string | null;
1879
- streetAddress?: string | null;
1880
- nBedrooms: string;
1881
- nBathrooms: string;
1882
- nParkingSpots: string;
1883
- price: number;
1884
- longitude?: number | null;
1885
- latitude?: number | null;
1886
- area?: number | null;
1887
- status?: string;
1888
- description?: string | null;
1889
- isPublished?: boolean;
1890
- publishedAt?: Date | string | null;
1891
- createdAt?: Date | string;
1892
- updatedAt?: Date | string;
1893
- user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
1894
- displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
1895
- documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
1896
- media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
1897
- amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
1898
- mortgages?: Prisma.MortgageCreateNestedManyWithoutPropertyInput;
1899
- paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutPropertyInput;
1739
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
1900
1740
  };
1901
- export type PropertyUncheckedCreateWithoutContractsInput = {
1741
+ export type PropertyCreateManyUserInput = {
1902
1742
  id?: string;
1903
- userId: string;
1743
+ tenantId: string;
1904
1744
  title: string;
1905
1745
  category: string;
1906
1746
  propertyType: string;
@@ -1910,13 +1750,8 @@ export type PropertyUncheckedCreateWithoutContractsInput = {
1910
1750
  district?: string | null;
1911
1751
  zipCode?: string | null;
1912
1752
  streetAddress?: string | null;
1913
- nBedrooms: string;
1914
- nBathrooms: string;
1915
- nParkingSpots: string;
1916
- price: number;
1917
1753
  longitude?: number | null;
1918
1754
  latitude?: number | null;
1919
- area?: number | null;
1920
1755
  status?: string;
1921
1756
  description?: string | null;
1922
1757
  displayImageId?: string | null;
@@ -1924,26 +1759,8 @@ export type PropertyUncheckedCreateWithoutContractsInput = {
1924
1759
  publishedAt?: Date | string | null;
1925
1760
  createdAt?: Date | string;
1926
1761
  updatedAt?: Date | string;
1927
- documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
1928
- media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
1929
- amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
1930
- mortgages?: Prisma.MortgageUncheckedCreateNestedManyWithoutPropertyInput;
1931
- paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput;
1932
- };
1933
- export type PropertyCreateOrConnectWithoutContractsInput = {
1934
- where: Prisma.PropertyWhereUniqueInput;
1935
- create: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
1936
- };
1937
- export type PropertyUpsertWithoutContractsInput = {
1938
- update: Prisma.XOR<Prisma.PropertyUpdateWithoutContractsInput, Prisma.PropertyUncheckedUpdateWithoutContractsInput>;
1939
- create: Prisma.XOR<Prisma.PropertyCreateWithoutContractsInput, Prisma.PropertyUncheckedCreateWithoutContractsInput>;
1940
- where?: Prisma.PropertyWhereInput;
1941
- };
1942
- export type PropertyUpdateToOneWithWhereWithoutContractsInput = {
1943
- where?: Prisma.PropertyWhereInput;
1944
- data: Prisma.XOR<Prisma.PropertyUpdateWithoutContractsInput, Prisma.PropertyUncheckedUpdateWithoutContractsInput>;
1945
1762
  };
1946
- export type PropertyUpdateWithoutContractsInput = {
1763
+ export type PropertyUpdateWithoutUserInput = {
1947
1764
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1948
1765
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1949
1766
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1954,30 +1771,25 @@ export type PropertyUpdateWithoutContractsInput = {
1954
1771
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1955
1772
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1956
1773
  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
1774
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1962
1775
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1963
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1964
1776
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1965
1777
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1966
1778
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1967
1779
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1968
1780
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1969
1781
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1970
- user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
1782
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
1971
1783
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
1972
1784
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
1973
1785
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
1974
1786
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
1975
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
1976
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
1787
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1788
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
1977
1789
  };
1978
- export type PropertyUncheckedUpdateWithoutContractsInput = {
1790
+ export type PropertyUncheckedUpdateWithoutUserInput = {
1979
1791
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1980
- userId?: Prisma.StringFieldUpdateOperationsInput | string;
1792
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1981
1793
  title?: Prisma.StringFieldUpdateOperationsInput | string;
1982
1794
  category?: Prisma.StringFieldUpdateOperationsInput | string;
1983
1795
  propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1987,13 +1799,8 @@ export type PropertyUncheckedUpdateWithoutContractsInput = {
1987
1799
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1988
1800
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1989
1801
  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
1802
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1995
1803
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1996
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1997
1804
  status?: Prisma.StringFieldUpdateOperationsInput | string;
1998
1805
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1999
1806
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2004,11 +1811,34 @@ export type PropertyUncheckedUpdateWithoutContractsInput = {
2004
1811
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
2005
1812
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
2006
1813
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
2007
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
2008
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
1814
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1815
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
2009
1816
  };
2010
- export type PropertyCreateManyUserInput = {
1817
+ export type PropertyUncheckedUpdateManyWithoutUserInput = {
1818
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1819
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1820
+ title?: Prisma.StringFieldUpdateOperationsInput | string;
1821
+ category?: Prisma.StringFieldUpdateOperationsInput | string;
1822
+ propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
1823
+ country?: Prisma.StringFieldUpdateOperationsInput | string;
1824
+ currency?: Prisma.StringFieldUpdateOperationsInput | string;
1825
+ city?: Prisma.StringFieldUpdateOperationsInput | string;
1826
+ district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1827
+ zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1828
+ streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1829
+ longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1830
+ latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1831
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
1832
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1833
+ displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1834
+ isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1835
+ publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1836
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1837
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1838
+ };
1839
+ export type PropertyCreateManyTenantInput = {
2011
1840
  id?: string;
1841
+ userId: string;
2012
1842
  title: string;
2013
1843
  category: string;
2014
1844
  propertyType: string;
@@ -2018,13 +1848,8 @@ export type PropertyCreateManyUserInput = {
2018
1848
  district?: string | null;
2019
1849
  zipCode?: string | null;
2020
1850
  streetAddress?: string | null;
2021
- nBedrooms: string;
2022
- nBathrooms: string;
2023
- nParkingSpots: string;
2024
- price: number;
2025
1851
  longitude?: number | null;
2026
1852
  latitude?: number | null;
2027
- area?: number | null;
2028
1853
  status?: string;
2029
1854
  description?: string | null;
2030
1855
  displayImageId?: string | null;
@@ -2033,7 +1858,7 @@ export type PropertyCreateManyUserInput = {
2033
1858
  createdAt?: Date | string;
2034
1859
  updatedAt?: Date | string;
2035
1860
  };
2036
- export type PropertyUpdateWithoutUserInput = {
1861
+ export type PropertyUpdateWithoutTenantInput = {
2037
1862
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2038
1863
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2039
1864
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2044,29 +1869,25 @@ export type PropertyUpdateWithoutUserInput = {
2044
1869
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2045
1870
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2046
1871
  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
1872
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2052
1873
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2053
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2054
1874
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2055
1875
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2056
1876
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2057
1877
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2058
1878
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2059
1879
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1880
+ user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
2060
1881
  displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
2061
1882
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
2062
1883
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
2063
1884
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
2064
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
2065
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
2066
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1885
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1886
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
2067
1887
  };
2068
- export type PropertyUncheckedUpdateWithoutUserInput = {
1888
+ export type PropertyUncheckedUpdateWithoutTenantInput = {
2069
1889
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1890
+ userId?: Prisma.StringFieldUpdateOperationsInput | string;
2070
1891
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2071
1892
  category?: Prisma.StringFieldUpdateOperationsInput | string;
2072
1893
  propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2076,13 +1897,8 @@ export type PropertyUncheckedUpdateWithoutUserInput = {
2076
1897
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2077
1898
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2078
1899
  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
1900
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2084
1901
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2085
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2086
1902
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2087
1903
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2088
1904
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2093,12 +1909,12 @@ export type PropertyUncheckedUpdateWithoutUserInput = {
2093
1909
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
2094
1910
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
2095
1911
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
2096
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
2097
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
2098
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
1912
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
1913
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
2099
1914
  };
2100
- export type PropertyUncheckedUpdateManyWithoutUserInput = {
1915
+ export type PropertyUncheckedUpdateManyWithoutTenantInput = {
2101
1916
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1917
+ userId?: Prisma.StringFieldUpdateOperationsInput | string;
2102
1918
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2103
1919
  category?: Prisma.StringFieldUpdateOperationsInput | string;
2104
1920
  propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2108,13 +1924,8 @@ export type PropertyUncheckedUpdateManyWithoutUserInput = {
2108
1924
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2109
1925
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2110
1926
  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
1927
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2116
1928
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2117
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2118
1929
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2119
1930
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2120
1931
  displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -2125,6 +1936,7 @@ export type PropertyUncheckedUpdateManyWithoutUserInput = {
2125
1936
  };
2126
1937
  export type PropertyCreateManyDisplayImageInput = {
2127
1938
  id?: string;
1939
+ tenantId: string;
2128
1940
  userId: string;
2129
1941
  title: string;
2130
1942
  category: string;
@@ -2135,13 +1947,8 @@ export type PropertyCreateManyDisplayImageInput = {
2135
1947
  district?: string | null;
2136
1948
  zipCode?: string | null;
2137
1949
  streetAddress?: string | null;
2138
- nBedrooms: string;
2139
- nBathrooms: string;
2140
- nParkingSpots: string;
2141
- price: number;
2142
1950
  longitude?: number | null;
2143
1951
  latitude?: number | null;
2144
- area?: number | null;
2145
1952
  status?: string;
2146
1953
  description?: string | null;
2147
1954
  isPublished?: boolean;
@@ -2160,29 +1967,25 @@ export type PropertyUpdateWithoutDisplayImageInput = {
2160
1967
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2161
1968
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2162
1969
  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
1970
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2168
1971
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2169
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2170
1972
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2171
1973
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2172
1974
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2173
1975
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2174
1976
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2175
1977
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1978
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
2176
1979
  user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
2177
1980
  documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
2178
1981
  media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
2179
1982
  amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
2180
- mortgages?: Prisma.MortgageUpdateManyWithoutPropertyNestedInput;
2181
- paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutPropertyNestedInput;
2182
- contracts?: Prisma.ContractUpdateManyWithoutPropertyNestedInput;
1983
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
1984
+ variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
2183
1985
  };
2184
1986
  export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
2185
1987
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1988
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2186
1989
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
2187
1990
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2188
1991
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2193,13 +1996,8 @@ export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
2193
1996
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2194
1997
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2195
1998
  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
1999
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2201
2000
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2202
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2203
2001
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2204
2002
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2205
2003
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -2209,12 +2007,12 @@ export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
2209
2007
  documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
2210
2008
  media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
2211
2009
  amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
2212
- mortgages?: Prisma.MortgageUncheckedUpdateManyWithoutPropertyNestedInput;
2213
- paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput;
2214
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutPropertyNestedInput;
2010
+ paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
2011
+ variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
2215
2012
  };
2216
2013
  export type PropertyUncheckedUpdateManyWithoutDisplayImageInput = {
2217
2014
  id?: Prisma.StringFieldUpdateOperationsInput | string;
2015
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2218
2016
  userId?: Prisma.StringFieldUpdateOperationsInput | string;
2219
2017
  title?: Prisma.StringFieldUpdateOperationsInput | string;
2220
2018
  category?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2225,13 +2023,8 @@ export type PropertyUncheckedUpdateManyWithoutDisplayImageInput = {
2225
2023
  district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2226
2024
  zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2227
2025
  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
2026
  longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2233
2027
  latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2234
- area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2235
2028
  status?: Prisma.StringFieldUpdateOperationsInput | string;
2236
2029
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2237
2030
  isPublished?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -2246,17 +2039,15 @@ export type PropertyCountOutputType = {
2246
2039
  documents: number;
2247
2040
  media: number;
2248
2041
  amenities: number;
2249
- mortgages: number;
2250
- paymentPlans: number;
2251
- contracts: number;
2042
+ paymentMethods: number;
2043
+ variants: number;
2252
2044
  };
2253
2045
  export type PropertyCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2254
2046
  documents?: boolean | PropertyCountOutputTypeCountDocumentsArgs;
2255
2047
  media?: boolean | PropertyCountOutputTypeCountMediaArgs;
2256
2048
  amenities?: boolean | PropertyCountOutputTypeCountAmenitiesArgs;
2257
- mortgages?: boolean | PropertyCountOutputTypeCountMortgagesArgs;
2258
- paymentPlans?: boolean | PropertyCountOutputTypeCountPaymentPlansArgs;
2259
- contracts?: boolean | PropertyCountOutputTypeCountContractsArgs;
2049
+ paymentMethods?: boolean | PropertyCountOutputTypeCountPaymentMethodsArgs;
2050
+ variants?: boolean | PropertyCountOutputTypeCountVariantsArgs;
2260
2051
  };
2261
2052
  /**
2262
2053
  * PropertyCountOutputType without action
@@ -2288,23 +2079,18 @@ export type PropertyCountOutputTypeCountAmenitiesArgs<ExtArgs extends runtime.Ty
2288
2079
  /**
2289
2080
  * PropertyCountOutputType without action
2290
2081
  */
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;
2082
+ export type PropertyCountOutputTypeCountPaymentMethodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2083
+ where?: Prisma.PropertyPaymentMethodLinkWhereInput;
2299
2084
  };
2300
2085
  /**
2301
2086
  * PropertyCountOutputType without action
2302
2087
  */
2303
- export type PropertyCountOutputTypeCountContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2304
- where?: Prisma.ContractWhereInput;
2088
+ export type PropertyCountOutputTypeCountVariantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2089
+ where?: Prisma.PropertyVariantWhereInput;
2305
2090
  };
2306
2091
  export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2307
2092
  id?: boolean;
2093
+ tenantId?: boolean;
2308
2094
  userId?: boolean;
2309
2095
  title?: boolean;
2310
2096
  category?: boolean;
@@ -2315,13 +2101,8 @@ export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
2315
2101
  district?: boolean;
2316
2102
  zipCode?: boolean;
2317
2103
  streetAddress?: boolean;
2318
- nBedrooms?: boolean;
2319
- nBathrooms?: boolean;
2320
- nParkingSpots?: boolean;
2321
- price?: boolean;
2322
2104
  longitude?: boolean;
2323
2105
  latitude?: boolean;
2324
- area?: boolean;
2325
2106
  status?: boolean;
2326
2107
  description?: boolean;
2327
2108
  displayImageId?: boolean;
@@ -2329,18 +2110,19 @@ export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
2329
2110
  publishedAt?: boolean;
2330
2111
  createdAt?: boolean;
2331
2112
  updatedAt?: boolean;
2113
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
2332
2114
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
2333
2115
  displayImage?: boolean | Prisma.Property$displayImageArgs<ExtArgs>;
2334
2116
  documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
2335
2117
  media?: boolean | Prisma.Property$mediaArgs<ExtArgs>;
2336
2118
  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>;
2119
+ paymentMethods?: boolean | Prisma.Property$paymentMethodsArgs<ExtArgs>;
2120
+ variants?: boolean | Prisma.Property$variantsArgs<ExtArgs>;
2340
2121
  _count?: boolean | Prisma.PropertyCountOutputTypeDefaultArgs<ExtArgs>;
2341
2122
  }, ExtArgs["result"]["property"]>;
2342
2123
  export type PropertySelectScalar = {
2343
2124
  id?: boolean;
2125
+ tenantId?: boolean;
2344
2126
  userId?: boolean;
2345
2127
  title?: boolean;
2346
2128
  category?: boolean;
@@ -2351,13 +2133,8 @@ export type PropertySelectScalar = {
2351
2133
  district?: boolean;
2352
2134
  zipCode?: boolean;
2353
2135
  streetAddress?: boolean;
2354
- nBedrooms?: boolean;
2355
- nBathrooms?: boolean;
2356
- nParkingSpots?: boolean;
2357
- price?: boolean;
2358
2136
  longitude?: boolean;
2359
2137
  latitude?: boolean;
2360
- area?: boolean;
2361
2138
  status?: boolean;
2362
2139
  description?: boolean;
2363
2140
  displayImageId?: boolean;
@@ -2366,32 +2143,33 @@ export type PropertySelectScalar = {
2366
2143
  createdAt?: boolean;
2367
2144
  updatedAt?: boolean;
2368
2145
  };
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"]>;
2146
+ export type PropertyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "userId" | "title" | "category" | "propertyType" | "country" | "currency" | "city" | "district" | "zipCode" | "streetAddress" | "longitude" | "latitude" | "status" | "description" | "displayImageId" | "isPublished" | "publishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["property"]>;
2370
2147
  export type PropertyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2148
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
2371
2149
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
2372
2150
  displayImage?: boolean | Prisma.Property$displayImageArgs<ExtArgs>;
2373
2151
  documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
2374
2152
  media?: boolean | Prisma.Property$mediaArgs<ExtArgs>;
2375
2153
  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>;
2154
+ paymentMethods?: boolean | Prisma.Property$paymentMethodsArgs<ExtArgs>;
2155
+ variants?: boolean | Prisma.Property$variantsArgs<ExtArgs>;
2379
2156
  _count?: boolean | Prisma.PropertyCountOutputTypeDefaultArgs<ExtArgs>;
2380
2157
  };
2381
2158
  export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2382
2159
  name: "Property";
2383
2160
  objects: {
2161
+ tenant: Prisma.$TenantPayload<ExtArgs>;
2384
2162
  user: Prisma.$UserPayload<ExtArgs>;
2385
2163
  displayImage: Prisma.$PropertyMediaPayload<ExtArgs> | null;
2386
2164
  documents: Prisma.$PropertyDocumentPayload<ExtArgs>[];
2387
2165
  media: Prisma.$PropertyMediaPayload<ExtArgs>[];
2388
2166
  amenities: Prisma.$PropertyAmenityPayload<ExtArgs>[];
2389
- mortgages: Prisma.$MortgagePayload<ExtArgs>[];
2390
- paymentPlans: Prisma.$PaymentPlanPayload<ExtArgs>[];
2391
- contracts: Prisma.$ContractPayload<ExtArgs>[];
2167
+ paymentMethods: Prisma.$PropertyPaymentMethodLinkPayload<ExtArgs>[];
2168
+ variants: Prisma.$PropertyVariantPayload<ExtArgs>[];
2392
2169
  };
2393
2170
  scalars: runtime.Types.Extensions.GetPayloadResult<{
2394
2171
  id: string;
2172
+ tenantId: string;
2395
2173
  userId: string;
2396
2174
  title: string;
2397
2175
  category: string;
@@ -2402,13 +2180,8 @@ export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
2402
2180
  district: string | null;
2403
2181
  zipCode: string | null;
2404
2182
  streetAddress: string | null;
2405
- nBedrooms: string;
2406
- nBathrooms: string;
2407
- nParkingSpots: string;
2408
- price: number;
2409
2183
  longitude: number | null;
2410
2184
  latitude: number | null;
2411
- area: number | null;
2412
2185
  status: string;
2413
2186
  description: string | null;
2414
2187
  displayImageId: string | null;
@@ -2693,14 +2466,14 @@ export interface PropertyDelegate<ExtArgs extends runtime.Types.Extensions.Inter
2693
2466
  */
2694
2467
  export interface Prisma__PropertyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2695
2468
  readonly [Symbol.toStringTag]: "PrismaPromise";
2469
+ tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
2696
2470
  user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
2697
2471
  displayImage<T extends Prisma.Property$displayImageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$displayImageArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2698
2472
  documents<T extends Prisma.Property$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2699
2473
  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
2474
  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>;
2475
+ 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>;
2476
+ 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
2477
  /**
2705
2478
  * Attaches callbacks for the resolution and/or rejection of the Promise.
2706
2479
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2727,6 +2500,7 @@ export interface Prisma__PropertyClient<T, Null = never, ExtArgs extends runtime
2727
2500
  */
2728
2501
  export interface PropertyFieldRefs {
2729
2502
  readonly id: Prisma.FieldRef<"Property", 'String'>;
2503
+ readonly tenantId: Prisma.FieldRef<"Property", 'String'>;
2730
2504
  readonly userId: Prisma.FieldRef<"Property", 'String'>;
2731
2505
  readonly title: Prisma.FieldRef<"Property", 'String'>;
2732
2506
  readonly category: Prisma.FieldRef<"Property", 'String'>;
@@ -2737,13 +2511,8 @@ export interface PropertyFieldRefs {
2737
2511
  readonly district: Prisma.FieldRef<"Property", 'String'>;
2738
2512
  readonly zipCode: Prisma.FieldRef<"Property", 'String'>;
2739
2513
  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
2514
  readonly longitude: Prisma.FieldRef<"Property", 'Float'>;
2745
2515
  readonly latitude: Prisma.FieldRef<"Property", 'Float'>;
2746
- readonly area: Prisma.FieldRef<"Property", 'Float'>;
2747
2516
  readonly status: Prisma.FieldRef<"Property", 'String'>;
2748
2517
  readonly description: Prisma.FieldRef<"Property", 'String'>;
2749
2518
  readonly displayImageId: Prisma.FieldRef<"Property", 'String'>;
@@ -3166,73 +2935,50 @@ export type Property$amenitiesArgs<ExtArgs extends runtime.Types.Extensions.Inte
3166
2935
  distinct?: Prisma.PropertyAmenityScalarFieldEnum | Prisma.PropertyAmenityScalarFieldEnum[];
3167
2936
  };
3168
2937
  /**
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
2938
+ * Property.paymentMethods
3193
2939
  */
3194
- export type Property$paymentPlansArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2940
+ export type Property$paymentMethodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3195
2941
  /**
3196
- * Select specific fields to fetch from the PaymentPlan
2942
+ * Select specific fields to fetch from the PropertyPaymentMethodLink
3197
2943
  */
3198
- select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
2944
+ select?: Prisma.PropertyPaymentMethodLinkSelect<ExtArgs> | null;
3199
2945
  /**
3200
- * Omit specific fields from the PaymentPlan
2946
+ * Omit specific fields from the PropertyPaymentMethodLink
3201
2947
  */
3202
- omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
2948
+ omit?: Prisma.PropertyPaymentMethodLinkOmit<ExtArgs> | null;
3203
2949
  /**
3204
2950
  * Choose, which related nodes to fetch as well
3205
2951
  */
3206
- include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
3207
- where?: Prisma.PaymentPlanWhereInput;
3208
- orderBy?: Prisma.PaymentPlanOrderByWithRelationInput | Prisma.PaymentPlanOrderByWithRelationInput[];
3209
- cursor?: Prisma.PaymentPlanWhereUniqueInput;
2952
+ include?: Prisma.PropertyPaymentMethodLinkInclude<ExtArgs> | null;
2953
+ where?: Prisma.PropertyPaymentMethodLinkWhereInput;
2954
+ orderBy?: Prisma.PropertyPaymentMethodLinkOrderByWithRelationInput | Prisma.PropertyPaymentMethodLinkOrderByWithRelationInput[];
2955
+ cursor?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput;
3210
2956
  take?: number;
3211
2957
  skip?: number;
3212
- distinct?: Prisma.PaymentPlanScalarFieldEnum | Prisma.PaymentPlanScalarFieldEnum[];
2958
+ distinct?: Prisma.PropertyPaymentMethodLinkScalarFieldEnum | Prisma.PropertyPaymentMethodLinkScalarFieldEnum[];
3213
2959
  };
3214
2960
  /**
3215
- * Property.contracts
2961
+ * Property.variants
3216
2962
  */
3217
- export type Property$contractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2963
+ export type Property$variantsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3218
2964
  /**
3219
- * Select specific fields to fetch from the Contract
2965
+ * Select specific fields to fetch from the PropertyVariant
3220
2966
  */
3221
- select?: Prisma.ContractSelect<ExtArgs> | null;
2967
+ select?: Prisma.PropertyVariantSelect<ExtArgs> | null;
3222
2968
  /**
3223
- * Omit specific fields from the Contract
2969
+ * Omit specific fields from the PropertyVariant
3224
2970
  */
3225
- omit?: Prisma.ContractOmit<ExtArgs> | null;
2971
+ omit?: Prisma.PropertyVariantOmit<ExtArgs> | null;
3226
2972
  /**
3227
2973
  * Choose, which related nodes to fetch as well
3228
2974
  */
3229
- include?: Prisma.ContractInclude<ExtArgs> | null;
3230
- where?: Prisma.ContractWhereInput;
3231
- orderBy?: Prisma.ContractOrderByWithRelationInput | Prisma.ContractOrderByWithRelationInput[];
3232
- cursor?: Prisma.ContractWhereUniqueInput;
2975
+ include?: Prisma.PropertyVariantInclude<ExtArgs> | null;
2976
+ where?: Prisma.PropertyVariantWhereInput;
2977
+ orderBy?: Prisma.PropertyVariantOrderByWithRelationInput | Prisma.PropertyVariantOrderByWithRelationInput[];
2978
+ cursor?: Prisma.PropertyVariantWhereUniqueInput;
3233
2979
  take?: number;
3234
2980
  skip?: number;
3235
- distinct?: Prisma.ContractScalarFieldEnum | Prisma.ContractScalarFieldEnum[];
2981
+ distinct?: Prisma.PropertyVariantScalarFieldEnum | Prisma.PropertyVariantScalarFieldEnum[];
3236
2982
  };
3237
2983
  /**
3238
2984
  * Property without action