@valentine-efagene/qshelter-common 2.0.99 → 2.0.100

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 (39) hide show
  1. package/dist/generated/client/internal/class.js +2 -2
  2. package/dist/generated/client/internal/prismaNamespace.d.ts +56 -0
  3. package/dist/generated/client/internal/prismaNamespace.js +56 -0
  4. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +56 -0
  5. package/dist/generated/client/internal/prismaNamespaceBrowser.js +56 -0
  6. package/dist/generated/client/models/Amenity.d.ts +183 -3
  7. package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
  8. package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
  9. package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
  10. package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
  11. package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
  12. package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
  13. package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
  14. package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
  15. package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
  16. package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
  17. package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
  18. package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
  19. package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
  20. package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
  21. package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
  22. package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
  23. package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
  24. package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
  25. package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
  26. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
  27. package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
  28. package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
  29. package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
  30. package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
  31. package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
  32. package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
  33. package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
  34. package/dist/generated/client/models/Tenant.d.ts +11653 -1153
  35. package/dist/src/prisma/tenant.js +26 -32
  36. package/package.json +1 -1
  37. package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
  38. package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
  39. package/prisma/schema.prisma +143 -30
@@ -24,6 +24,7 @@ export type PropertyUnitSumAggregateOutputType = {
24
24
  };
25
25
  export type PropertyUnitMinAggregateOutputType = {
26
26
  id: string | null;
27
+ tenantId: string | null;
27
28
  variantId: string | null;
28
29
  unitNumber: string | null;
29
30
  floorNumber: number | null;
@@ -41,6 +42,7 @@ export type PropertyUnitMinAggregateOutputType = {
41
42
  };
42
43
  export type PropertyUnitMaxAggregateOutputType = {
43
44
  id: string | null;
45
+ tenantId: string | null;
44
46
  variantId: string | null;
45
47
  unitNumber: string | null;
46
48
  floorNumber: number | null;
@@ -58,6 +60,7 @@ export type PropertyUnitMaxAggregateOutputType = {
58
60
  };
59
61
  export type PropertyUnitCountAggregateOutputType = {
60
62
  id: number;
63
+ tenantId: number;
61
64
  variantId: number;
62
65
  unitNumber: number;
63
66
  floorNumber: number;
@@ -86,6 +89,7 @@ export type PropertyUnitSumAggregateInputType = {
86
89
  };
87
90
  export type PropertyUnitMinAggregateInputType = {
88
91
  id?: true;
92
+ tenantId?: true;
89
93
  variantId?: true;
90
94
  unitNumber?: true;
91
95
  floorNumber?: true;
@@ -103,6 +107,7 @@ export type PropertyUnitMinAggregateInputType = {
103
107
  };
104
108
  export type PropertyUnitMaxAggregateInputType = {
105
109
  id?: true;
110
+ tenantId?: true;
106
111
  variantId?: true;
107
112
  unitNumber?: true;
108
113
  floorNumber?: true;
@@ -120,6 +125,7 @@ export type PropertyUnitMaxAggregateInputType = {
120
125
  };
121
126
  export type PropertyUnitCountAggregateInputType = {
122
127
  id?: true;
128
+ tenantId?: true;
123
129
  variantId?: true;
124
130
  unitNumber?: true;
125
131
  floorNumber?: true;
@@ -214,6 +220,7 @@ export type PropertyUnitGroupByArgs<ExtArgs extends runtime.Types.Extensions.Int
214
220
  };
215
221
  export type PropertyUnitGroupByOutputType = {
216
222
  id: string;
223
+ tenantId: string;
217
224
  variantId: string;
218
225
  unitNumber: string;
219
226
  floorNumber: number | null;
@@ -242,6 +249,7 @@ export type PropertyUnitWhereInput = {
242
249
  OR?: Prisma.PropertyUnitWhereInput[];
243
250
  NOT?: Prisma.PropertyUnitWhereInput | Prisma.PropertyUnitWhereInput[];
244
251
  id?: Prisma.StringFilter<"PropertyUnit"> | string;
252
+ tenantId?: Prisma.StringFilter<"PropertyUnit"> | string;
245
253
  variantId?: Prisma.StringFilter<"PropertyUnit"> | string;
246
254
  unitNumber?: Prisma.StringFilter<"PropertyUnit"> | string;
247
255
  floorNumber?: Prisma.IntNullableFilter<"PropertyUnit"> | number | null;
@@ -256,12 +264,14 @@ export type PropertyUnitWhereInput = {
256
264
  ownerId?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
257
265
  createdAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
258
266
  updatedAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
267
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
259
268
  variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
260
269
  applications?: Prisma.ApplicationListRelationFilter;
261
270
  transferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
262
271
  };
263
272
  export type PropertyUnitOrderByWithRelationInput = {
264
273
  id?: Prisma.SortOrder;
274
+ tenantId?: Prisma.SortOrder;
265
275
  variantId?: Prisma.SortOrder;
266
276
  unitNumber?: Prisma.SortOrder;
267
277
  floorNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -276,6 +286,7 @@ export type PropertyUnitOrderByWithRelationInput = {
276
286
  ownerId?: Prisma.SortOrderInput | Prisma.SortOrder;
277
287
  createdAt?: Prisma.SortOrder;
278
288
  updatedAt?: Prisma.SortOrder;
289
+ tenant?: Prisma.TenantOrderByWithRelationInput;
279
290
  variant?: Prisma.PropertyVariantOrderByWithRelationInput;
280
291
  applications?: Prisma.ApplicationOrderByRelationAggregateInput;
281
292
  transferRequests?: Prisma.PropertyTransferRequestOrderByRelationAggregateInput;
@@ -287,6 +298,7 @@ export type PropertyUnitWhereUniqueInput = Prisma.AtLeast<{
287
298
  AND?: Prisma.PropertyUnitWhereInput | Prisma.PropertyUnitWhereInput[];
288
299
  OR?: Prisma.PropertyUnitWhereInput[];
289
300
  NOT?: Prisma.PropertyUnitWhereInput | Prisma.PropertyUnitWhereInput[];
301
+ tenantId?: Prisma.StringFilter<"PropertyUnit"> | string;
290
302
  variantId?: Prisma.StringFilter<"PropertyUnit"> | string;
291
303
  unitNumber?: Prisma.StringFilter<"PropertyUnit"> | string;
292
304
  floorNumber?: Prisma.IntNullableFilter<"PropertyUnit"> | number | null;
@@ -301,12 +313,14 @@ export type PropertyUnitWhereUniqueInput = Prisma.AtLeast<{
301
313
  ownerId?: Prisma.StringNullableFilter<"PropertyUnit"> | string | null;
302
314
  createdAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
303
315
  updatedAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
316
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
304
317
  variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
305
318
  applications?: Prisma.ApplicationListRelationFilter;
306
319
  transferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
307
320
  }, "id" | "variantId_unitNumber">;
308
321
  export type PropertyUnitOrderByWithAggregationInput = {
309
322
  id?: Prisma.SortOrder;
323
+ tenantId?: Prisma.SortOrder;
310
324
  variantId?: Prisma.SortOrder;
311
325
  unitNumber?: Prisma.SortOrder;
312
326
  floorNumber?: Prisma.SortOrderInput | Prisma.SortOrder;
@@ -332,6 +346,7 @@ export type PropertyUnitScalarWhereWithAggregatesInput = {
332
346
  OR?: Prisma.PropertyUnitScalarWhereWithAggregatesInput[];
333
347
  NOT?: Prisma.PropertyUnitScalarWhereWithAggregatesInput | Prisma.PropertyUnitScalarWhereWithAggregatesInput[];
334
348
  id?: Prisma.StringWithAggregatesFilter<"PropertyUnit"> | string;
349
+ tenantId?: Prisma.StringWithAggregatesFilter<"PropertyUnit"> | string;
335
350
  variantId?: Prisma.StringWithAggregatesFilter<"PropertyUnit"> | string;
336
351
  unitNumber?: Prisma.StringWithAggregatesFilter<"PropertyUnit"> | string;
337
352
  floorNumber?: Prisma.IntNullableWithAggregatesFilter<"PropertyUnit"> | number | null;
@@ -362,12 +377,14 @@ export type PropertyUnitCreateInput = {
362
377
  ownerId?: string | null;
363
378
  createdAt?: Date | string;
364
379
  updatedAt?: Date | string;
380
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyUnitsInput;
365
381
  variant: Prisma.PropertyVariantCreateNestedOneWithoutUnitsInput;
366
382
  applications?: Prisma.ApplicationCreateNestedManyWithoutPropertyUnitInput;
367
383
  transferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetPropertyUnitInput;
368
384
  };
369
385
  export type PropertyUnitUncheckedCreateInput = {
370
386
  id?: string;
387
+ tenantId: string;
371
388
  variantId: string;
372
389
  unitNumber: string;
373
390
  floorNumber?: number | null;
@@ -400,12 +417,14 @@ export type PropertyUnitUpdateInput = {
400
417
  ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
401
418
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
402
419
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
420
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyUnitsNestedInput;
403
421
  variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput;
404
422
  applications?: Prisma.ApplicationUpdateManyWithoutPropertyUnitNestedInput;
405
423
  transferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetPropertyUnitNestedInput;
406
424
  };
407
425
  export type PropertyUnitUncheckedUpdateInput = {
408
426
  id?: Prisma.StringFieldUpdateOperationsInput | string;
427
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
409
428
  variantId?: Prisma.StringFieldUpdateOperationsInput | string;
410
429
  unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
411
430
  floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
@@ -425,6 +444,7 @@ export type PropertyUnitUncheckedUpdateInput = {
425
444
  };
426
445
  export type PropertyUnitCreateManyInput = {
427
446
  id?: string;
447
+ tenantId: string;
428
448
  variantId: string;
429
449
  unitNumber: string;
430
450
  floorNumber?: number | null;
@@ -458,6 +478,7 @@ export type PropertyUnitUpdateManyMutationInput = {
458
478
  };
459
479
  export type PropertyUnitUncheckedUpdateManyInput = {
460
480
  id?: Prisma.StringFieldUpdateOperationsInput | string;
481
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
461
482
  variantId?: Prisma.StringFieldUpdateOperationsInput | string;
462
483
  unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
463
484
  floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
@@ -492,6 +513,7 @@ export type PropertyUnitVariantIdUnitNumberCompoundUniqueInput = {
492
513
  };
493
514
  export type PropertyUnitCountOrderByAggregateInput = {
494
515
  id?: Prisma.SortOrder;
516
+ tenantId?: Prisma.SortOrder;
495
517
  variantId?: Prisma.SortOrder;
496
518
  unitNumber?: Prisma.SortOrder;
497
519
  floorNumber?: Prisma.SortOrder;
@@ -514,6 +536,7 @@ export type PropertyUnitAvgOrderByAggregateInput = {
514
536
  };
515
537
  export type PropertyUnitMaxOrderByAggregateInput = {
516
538
  id?: Prisma.SortOrder;
539
+ tenantId?: Prisma.SortOrder;
517
540
  variantId?: Prisma.SortOrder;
518
541
  unitNumber?: Prisma.SortOrder;
519
542
  floorNumber?: Prisma.SortOrder;
@@ -531,6 +554,7 @@ export type PropertyUnitMaxOrderByAggregateInput = {
531
554
  };
532
555
  export type PropertyUnitMinOrderByAggregateInput = {
533
556
  id?: Prisma.SortOrder;
557
+ tenantId?: Prisma.SortOrder;
534
558
  variantId?: Prisma.SortOrder;
535
559
  unitNumber?: Prisma.SortOrder;
536
560
  floorNumber?: Prisma.SortOrder;
@@ -555,6 +579,44 @@ export type PropertyUnitScalarRelationFilter = {
555
579
  is?: Prisma.PropertyUnitWhereInput;
556
580
  isNot?: Prisma.PropertyUnitWhereInput;
557
581
  };
582
+ export type PropertyUnitCreateNestedManyWithoutTenantInput = {
583
+ create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutTenantInput, Prisma.PropertyUnitUncheckedCreateWithoutTenantInput> | Prisma.PropertyUnitCreateWithoutTenantInput[] | Prisma.PropertyUnitUncheckedCreateWithoutTenantInput[];
584
+ connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutTenantInput | Prisma.PropertyUnitCreateOrConnectWithoutTenantInput[];
585
+ createMany?: Prisma.PropertyUnitCreateManyTenantInputEnvelope;
586
+ connect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
587
+ };
588
+ export type PropertyUnitUncheckedCreateNestedManyWithoutTenantInput = {
589
+ create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutTenantInput, Prisma.PropertyUnitUncheckedCreateWithoutTenantInput> | Prisma.PropertyUnitCreateWithoutTenantInput[] | Prisma.PropertyUnitUncheckedCreateWithoutTenantInput[];
590
+ connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutTenantInput | Prisma.PropertyUnitCreateOrConnectWithoutTenantInput[];
591
+ createMany?: Prisma.PropertyUnitCreateManyTenantInputEnvelope;
592
+ connect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
593
+ };
594
+ export type PropertyUnitUpdateManyWithoutTenantNestedInput = {
595
+ create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutTenantInput, Prisma.PropertyUnitUncheckedCreateWithoutTenantInput> | Prisma.PropertyUnitCreateWithoutTenantInput[] | Prisma.PropertyUnitUncheckedCreateWithoutTenantInput[];
596
+ connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutTenantInput | Prisma.PropertyUnitCreateOrConnectWithoutTenantInput[];
597
+ upsert?: Prisma.PropertyUnitUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyUnitUpsertWithWhereUniqueWithoutTenantInput[];
598
+ createMany?: Prisma.PropertyUnitCreateManyTenantInputEnvelope;
599
+ set?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
600
+ disconnect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
601
+ delete?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
602
+ connect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
603
+ update?: Prisma.PropertyUnitUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyUnitUpdateWithWhereUniqueWithoutTenantInput[];
604
+ updateMany?: Prisma.PropertyUnitUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyUnitUpdateManyWithWhereWithoutTenantInput[];
605
+ deleteMany?: Prisma.PropertyUnitScalarWhereInput | Prisma.PropertyUnitScalarWhereInput[];
606
+ };
607
+ export type PropertyUnitUncheckedUpdateManyWithoutTenantNestedInput = {
608
+ create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutTenantInput, Prisma.PropertyUnitUncheckedCreateWithoutTenantInput> | Prisma.PropertyUnitCreateWithoutTenantInput[] | Prisma.PropertyUnitUncheckedCreateWithoutTenantInput[];
609
+ connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutTenantInput | Prisma.PropertyUnitCreateOrConnectWithoutTenantInput[];
610
+ upsert?: Prisma.PropertyUnitUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyUnitUpsertWithWhereUniqueWithoutTenantInput[];
611
+ createMany?: Prisma.PropertyUnitCreateManyTenantInputEnvelope;
612
+ set?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
613
+ disconnect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
614
+ delete?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
615
+ connect?: Prisma.PropertyUnitWhereUniqueInput | Prisma.PropertyUnitWhereUniqueInput[];
616
+ update?: Prisma.PropertyUnitUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyUnitUpdateWithWhereUniqueWithoutTenantInput[];
617
+ updateMany?: Prisma.PropertyUnitUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyUnitUpdateManyWithWhereWithoutTenantInput[];
618
+ deleteMany?: Prisma.PropertyUnitScalarWhereInput | Prisma.PropertyUnitScalarWhereInput[];
619
+ };
558
620
  export type PropertyUnitCreateNestedManyWithoutVariantInput = {
559
621
  create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput> | Prisma.PropertyUnitCreateWithoutVariantInput[] | Prisma.PropertyUnitUncheckedCreateWithoutVariantInput[];
560
622
  connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutVariantInput | Prisma.PropertyUnitCreateOrConnectWithoutVariantInput[];
@@ -617,7 +679,7 @@ export type PropertyUnitUpdateOneRequiredWithoutTransferRequestsNestedInput = {
617
679
  connect?: Prisma.PropertyUnitWhereUniqueInput;
618
680
  update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUnitUpdateToOneWithWhereWithoutTransferRequestsInput, Prisma.PropertyUnitUpdateWithoutTransferRequestsInput>, Prisma.PropertyUnitUncheckedUpdateWithoutTransferRequestsInput>;
619
681
  };
620
- export type PropertyUnitCreateWithoutVariantInput = {
682
+ export type PropertyUnitCreateWithoutTenantInput = {
621
683
  id?: string;
622
684
  unitNumber: string;
623
685
  floorNumber?: number | null;
@@ -632,11 +694,13 @@ export type PropertyUnitCreateWithoutVariantInput = {
632
694
  ownerId?: string | null;
633
695
  createdAt?: Date | string;
634
696
  updatedAt?: Date | string;
697
+ variant: Prisma.PropertyVariantCreateNestedOneWithoutUnitsInput;
635
698
  applications?: Prisma.ApplicationCreateNestedManyWithoutPropertyUnitInput;
636
699
  transferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetPropertyUnitInput;
637
700
  };
638
- export type PropertyUnitUncheckedCreateWithoutVariantInput = {
701
+ export type PropertyUnitUncheckedCreateWithoutTenantInput = {
639
702
  id?: string;
703
+ variantId: string;
640
704
  unitNumber: string;
641
705
  floorNumber?: number | null;
642
706
  blockName?: string | null;
@@ -653,32 +717,33 @@ export type PropertyUnitUncheckedCreateWithoutVariantInput = {
653
717
  applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutPropertyUnitInput;
654
718
  transferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetPropertyUnitInput;
655
719
  };
656
- export type PropertyUnitCreateOrConnectWithoutVariantInput = {
720
+ export type PropertyUnitCreateOrConnectWithoutTenantInput = {
657
721
  where: Prisma.PropertyUnitWhereUniqueInput;
658
- create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput>;
722
+ create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutTenantInput, Prisma.PropertyUnitUncheckedCreateWithoutTenantInput>;
659
723
  };
660
- export type PropertyUnitCreateManyVariantInputEnvelope = {
661
- data: Prisma.PropertyUnitCreateManyVariantInput | Prisma.PropertyUnitCreateManyVariantInput[];
724
+ export type PropertyUnitCreateManyTenantInputEnvelope = {
725
+ data: Prisma.PropertyUnitCreateManyTenantInput | Prisma.PropertyUnitCreateManyTenantInput[];
662
726
  skipDuplicates?: boolean;
663
727
  };
664
- export type PropertyUnitUpsertWithWhereUniqueWithoutVariantInput = {
728
+ export type PropertyUnitUpsertWithWhereUniqueWithoutTenantInput = {
665
729
  where: Prisma.PropertyUnitWhereUniqueInput;
666
- update: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutVariantInput, Prisma.PropertyUnitUncheckedUpdateWithoutVariantInput>;
667
- create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput>;
730
+ update: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutTenantInput, Prisma.PropertyUnitUncheckedUpdateWithoutTenantInput>;
731
+ create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutTenantInput, Prisma.PropertyUnitUncheckedCreateWithoutTenantInput>;
668
732
  };
669
- export type PropertyUnitUpdateWithWhereUniqueWithoutVariantInput = {
733
+ export type PropertyUnitUpdateWithWhereUniqueWithoutTenantInput = {
670
734
  where: Prisma.PropertyUnitWhereUniqueInput;
671
- data: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutVariantInput, Prisma.PropertyUnitUncheckedUpdateWithoutVariantInput>;
735
+ data: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutTenantInput, Prisma.PropertyUnitUncheckedUpdateWithoutTenantInput>;
672
736
  };
673
- export type PropertyUnitUpdateManyWithWhereWithoutVariantInput = {
737
+ export type PropertyUnitUpdateManyWithWhereWithoutTenantInput = {
674
738
  where: Prisma.PropertyUnitScalarWhereInput;
675
- data: Prisma.XOR<Prisma.PropertyUnitUpdateManyMutationInput, Prisma.PropertyUnitUncheckedUpdateManyWithoutVariantInput>;
739
+ data: Prisma.XOR<Prisma.PropertyUnitUpdateManyMutationInput, Prisma.PropertyUnitUncheckedUpdateManyWithoutTenantInput>;
676
740
  };
677
741
  export type PropertyUnitScalarWhereInput = {
678
742
  AND?: Prisma.PropertyUnitScalarWhereInput | Prisma.PropertyUnitScalarWhereInput[];
679
743
  OR?: Prisma.PropertyUnitScalarWhereInput[];
680
744
  NOT?: Prisma.PropertyUnitScalarWhereInput | Prisma.PropertyUnitScalarWhereInput[];
681
745
  id?: Prisma.StringFilter<"PropertyUnit"> | string;
746
+ tenantId?: Prisma.StringFilter<"PropertyUnit"> | string;
682
747
  variantId?: Prisma.StringFilter<"PropertyUnit"> | string;
683
748
  unitNumber?: Prisma.StringFilter<"PropertyUnit"> | string;
684
749
  floorNumber?: Prisma.IntNullableFilter<"PropertyUnit"> | number | null;
@@ -694,6 +759,65 @@ export type PropertyUnitScalarWhereInput = {
694
759
  createdAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
695
760
  updatedAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
696
761
  };
762
+ export type PropertyUnitCreateWithoutVariantInput = {
763
+ id?: string;
764
+ unitNumber: string;
765
+ floorNumber?: number | null;
766
+ blockName?: string | null;
767
+ priceOverride?: number | null;
768
+ areaOverride?: number | null;
769
+ notes?: string | null;
770
+ status?: string;
771
+ reservedAt?: Date | string | null;
772
+ reservedUntil?: Date | string | null;
773
+ reservedById?: string | null;
774
+ ownerId?: string | null;
775
+ createdAt?: Date | string;
776
+ updatedAt?: Date | string;
777
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyUnitsInput;
778
+ applications?: Prisma.ApplicationCreateNestedManyWithoutPropertyUnitInput;
779
+ transferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetPropertyUnitInput;
780
+ };
781
+ export type PropertyUnitUncheckedCreateWithoutVariantInput = {
782
+ id?: string;
783
+ tenantId: string;
784
+ unitNumber: string;
785
+ floorNumber?: number | null;
786
+ blockName?: string | null;
787
+ priceOverride?: number | null;
788
+ areaOverride?: number | null;
789
+ notes?: string | null;
790
+ status?: string;
791
+ reservedAt?: Date | string | null;
792
+ reservedUntil?: Date | string | null;
793
+ reservedById?: string | null;
794
+ ownerId?: string | null;
795
+ createdAt?: Date | string;
796
+ updatedAt?: Date | string;
797
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutPropertyUnitInput;
798
+ transferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetPropertyUnitInput;
799
+ };
800
+ export type PropertyUnitCreateOrConnectWithoutVariantInput = {
801
+ where: Prisma.PropertyUnitWhereUniqueInput;
802
+ create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput>;
803
+ };
804
+ export type PropertyUnitCreateManyVariantInputEnvelope = {
805
+ data: Prisma.PropertyUnitCreateManyVariantInput | Prisma.PropertyUnitCreateManyVariantInput[];
806
+ skipDuplicates?: boolean;
807
+ };
808
+ export type PropertyUnitUpsertWithWhereUniqueWithoutVariantInput = {
809
+ where: Prisma.PropertyUnitWhereUniqueInput;
810
+ update: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutVariantInput, Prisma.PropertyUnitUncheckedUpdateWithoutVariantInput>;
811
+ create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutVariantInput, Prisma.PropertyUnitUncheckedCreateWithoutVariantInput>;
812
+ };
813
+ export type PropertyUnitUpdateWithWhereUniqueWithoutVariantInput = {
814
+ where: Prisma.PropertyUnitWhereUniqueInput;
815
+ data: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutVariantInput, Prisma.PropertyUnitUncheckedUpdateWithoutVariantInput>;
816
+ };
817
+ export type PropertyUnitUpdateManyWithWhereWithoutVariantInput = {
818
+ where: Prisma.PropertyUnitScalarWhereInput;
819
+ data: Prisma.XOR<Prisma.PropertyUnitUpdateManyMutationInput, Prisma.PropertyUnitUncheckedUpdateManyWithoutVariantInput>;
820
+ };
697
821
  export type PropertyUnitCreateWithoutApplicationsInput = {
698
822
  id?: string;
699
823
  unitNumber: string;
@@ -709,11 +833,13 @@ export type PropertyUnitCreateWithoutApplicationsInput = {
709
833
  ownerId?: string | null;
710
834
  createdAt?: Date | string;
711
835
  updatedAt?: Date | string;
836
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyUnitsInput;
712
837
  variant: Prisma.PropertyVariantCreateNestedOneWithoutUnitsInput;
713
838
  transferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetPropertyUnitInput;
714
839
  };
715
840
  export type PropertyUnitUncheckedCreateWithoutApplicationsInput = {
716
841
  id?: string;
842
+ tenantId: string;
717
843
  variantId: string;
718
844
  unitNumber: string;
719
845
  floorNumber?: number | null;
@@ -758,11 +884,13 @@ export type PropertyUnitUpdateWithoutApplicationsInput = {
758
884
  ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
759
885
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
760
886
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
887
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyUnitsNestedInput;
761
888
  variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput;
762
889
  transferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetPropertyUnitNestedInput;
763
890
  };
764
891
  export type PropertyUnitUncheckedUpdateWithoutApplicationsInput = {
765
892
  id?: Prisma.StringFieldUpdateOperationsInput | string;
893
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
766
894
  variantId?: Prisma.StringFieldUpdateOperationsInput | string;
767
895
  unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
768
896
  floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
@@ -794,11 +922,13 @@ export type PropertyUnitCreateWithoutTransferRequestsInput = {
794
922
  ownerId?: string | null;
795
923
  createdAt?: Date | string;
796
924
  updatedAt?: Date | string;
925
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyUnitsInput;
797
926
  variant: Prisma.PropertyVariantCreateNestedOneWithoutUnitsInput;
798
927
  applications?: Prisma.ApplicationCreateNestedManyWithoutPropertyUnitInput;
799
928
  };
800
929
  export type PropertyUnitUncheckedCreateWithoutTransferRequestsInput = {
801
930
  id?: string;
931
+ tenantId: string;
802
932
  variantId: string;
803
933
  unitNumber: string;
804
934
  floorNumber?: number | null;
@@ -843,10 +973,66 @@ export type PropertyUnitUpdateWithoutTransferRequestsInput = {
843
973
  ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
844
974
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
845
975
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
976
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyUnitsNestedInput;
846
977
  variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput;
847
978
  applications?: Prisma.ApplicationUpdateManyWithoutPropertyUnitNestedInput;
848
979
  };
849
980
  export type PropertyUnitUncheckedUpdateWithoutTransferRequestsInput = {
981
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
982
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
983
+ variantId?: Prisma.StringFieldUpdateOperationsInput | string;
984
+ unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
985
+ floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
986
+ blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
987
+ priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
988
+ areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
989
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
990
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
991
+ reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
992
+ reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
993
+ reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
994
+ ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
995
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
996
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
997
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutPropertyUnitNestedInput;
998
+ };
999
+ export type PropertyUnitCreateManyTenantInput = {
1000
+ id?: string;
1001
+ variantId: string;
1002
+ unitNumber: string;
1003
+ floorNumber?: number | null;
1004
+ blockName?: string | null;
1005
+ priceOverride?: number | null;
1006
+ areaOverride?: number | null;
1007
+ notes?: string | null;
1008
+ status?: string;
1009
+ reservedAt?: Date | string | null;
1010
+ reservedUntil?: Date | string | null;
1011
+ reservedById?: string | null;
1012
+ ownerId?: string | null;
1013
+ createdAt?: Date | string;
1014
+ updatedAt?: Date | string;
1015
+ };
1016
+ export type PropertyUnitUpdateWithoutTenantInput = {
1017
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1018
+ unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
1019
+ floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1020
+ blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1021
+ priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1022
+ areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1023
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1024
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
1025
+ reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1026
+ reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1027
+ reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1028
+ ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1029
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1030
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1031
+ variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput;
1032
+ applications?: Prisma.ApplicationUpdateManyWithoutPropertyUnitNestedInput;
1033
+ transferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetPropertyUnitNestedInput;
1034
+ };
1035
+ export type PropertyUnitUncheckedUpdateWithoutTenantInput = {
850
1036
  id?: Prisma.StringFieldUpdateOperationsInput | string;
851
1037
  variantId?: Prisma.StringFieldUpdateOperationsInput | string;
852
1038
  unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -863,9 +1049,28 @@ export type PropertyUnitUncheckedUpdateWithoutTransferRequestsInput = {
863
1049
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
864
1050
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
865
1051
  applications?: Prisma.ApplicationUncheckedUpdateManyWithoutPropertyUnitNestedInput;
1052
+ transferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetPropertyUnitNestedInput;
1053
+ };
1054
+ export type PropertyUnitUncheckedUpdateManyWithoutTenantInput = {
1055
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1056
+ variantId?: Prisma.StringFieldUpdateOperationsInput | string;
1057
+ unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
1058
+ floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1059
+ blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1060
+ priceOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1061
+ areaOverride?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1062
+ notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1063
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
1064
+ reservedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1065
+ reservedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1066
+ reservedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1067
+ ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1068
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1069
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
866
1070
  };
867
1071
  export type PropertyUnitCreateManyVariantInput = {
868
1072
  id?: string;
1073
+ tenantId: string;
869
1074
  unitNumber: string;
870
1075
  floorNumber?: number | null;
871
1076
  blockName?: string | null;
@@ -895,11 +1100,13 @@ export type PropertyUnitUpdateWithoutVariantInput = {
895
1100
  ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
896
1101
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
897
1102
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1103
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyUnitsNestedInput;
898
1104
  applications?: Prisma.ApplicationUpdateManyWithoutPropertyUnitNestedInput;
899
1105
  transferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetPropertyUnitNestedInput;
900
1106
  };
901
1107
  export type PropertyUnitUncheckedUpdateWithoutVariantInput = {
902
1108
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1109
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
903
1110
  unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
904
1111
  floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
905
1112
  blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -918,6 +1125,7 @@ export type PropertyUnitUncheckedUpdateWithoutVariantInput = {
918
1125
  };
919
1126
  export type PropertyUnitUncheckedUpdateManyWithoutVariantInput = {
920
1127
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1128
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
921
1129
  unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
922
1130
  floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
923
1131
  blockName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -966,6 +1174,7 @@ export type PropertyUnitCountOutputTypeCountTransferRequestsArgs<ExtArgs extends
966
1174
  };
967
1175
  export type PropertyUnitSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
968
1176
  id?: boolean;
1177
+ tenantId?: boolean;
969
1178
  variantId?: boolean;
970
1179
  unitNumber?: boolean;
971
1180
  floorNumber?: boolean;
@@ -980,6 +1189,7 @@ export type PropertyUnitSelect<ExtArgs extends runtime.Types.Extensions.Internal
980
1189
  ownerId?: boolean;
981
1190
  createdAt?: boolean;
982
1191
  updatedAt?: boolean;
1192
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
983
1193
  variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
984
1194
  applications?: boolean | Prisma.PropertyUnit$applicationsArgs<ExtArgs>;
985
1195
  transferRequests?: boolean | Prisma.PropertyUnit$transferRequestsArgs<ExtArgs>;
@@ -987,6 +1197,7 @@ export type PropertyUnitSelect<ExtArgs extends runtime.Types.Extensions.Internal
987
1197
  }, ExtArgs["result"]["propertyUnit"]>;
988
1198
  export type PropertyUnitSelectScalar = {
989
1199
  id?: boolean;
1200
+ tenantId?: boolean;
990
1201
  variantId?: boolean;
991
1202
  unitNumber?: boolean;
992
1203
  floorNumber?: boolean;
@@ -1002,8 +1213,9 @@ export type PropertyUnitSelectScalar = {
1002
1213
  createdAt?: boolean;
1003
1214
  updatedAt?: boolean;
1004
1215
  };
1005
- export type PropertyUnitOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "variantId" | "unitNumber" | "floorNumber" | "blockName" | "priceOverride" | "areaOverride" | "notes" | "status" | "reservedAt" | "reservedUntil" | "reservedById" | "ownerId" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyUnit"]>;
1216
+ export type PropertyUnitOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "variantId" | "unitNumber" | "floorNumber" | "blockName" | "priceOverride" | "areaOverride" | "notes" | "status" | "reservedAt" | "reservedUntil" | "reservedById" | "ownerId" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyUnit"]>;
1006
1217
  export type PropertyUnitInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1218
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1007
1219
  variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
1008
1220
  applications?: boolean | Prisma.PropertyUnit$applicationsArgs<ExtArgs>;
1009
1221
  transferRequests?: boolean | Prisma.PropertyUnit$transferRequestsArgs<ExtArgs>;
@@ -1012,12 +1224,14 @@ export type PropertyUnitInclude<ExtArgs extends runtime.Types.Extensions.Interna
1012
1224
  export type $PropertyUnitPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1013
1225
  name: "PropertyUnit";
1014
1226
  objects: {
1227
+ tenant: Prisma.$TenantPayload<ExtArgs>;
1015
1228
  variant: Prisma.$PropertyVariantPayload<ExtArgs>;
1016
1229
  applications: Prisma.$ApplicationPayload<ExtArgs>[];
1017
1230
  transferRequests: Prisma.$PropertyTransferRequestPayload<ExtArgs>[];
1018
1231
  };
1019
1232
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1020
1233
  id: string;
1234
+ tenantId: string;
1021
1235
  variantId: string;
1022
1236
  unitNumber: string;
1023
1237
  floorNumber: number | null;
@@ -1309,6 +1523,7 @@ export interface PropertyUnitDelegate<ExtArgs extends runtime.Types.Extensions.I
1309
1523
  */
1310
1524
  export interface Prisma__PropertyUnitClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1311
1525
  readonly [Symbol.toStringTag]: "PrismaPromise";
1526
+ 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>;
1312
1527
  variant<T extends Prisma.PropertyVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1313
1528
  applications<T extends Prisma.PropertyUnit$applicationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyUnit$applicationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1314
1529
  transferRequests<T extends Prisma.PropertyUnit$transferRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyUnit$transferRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyTransferRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -1338,6 +1553,7 @@ export interface Prisma__PropertyUnitClient<T, Null = never, ExtArgs extends run
1338
1553
  */
1339
1554
  export interface PropertyUnitFieldRefs {
1340
1555
  readonly id: Prisma.FieldRef<"PropertyUnit", 'String'>;
1556
+ readonly tenantId: Prisma.FieldRef<"PropertyUnit", 'String'>;
1341
1557
  readonly variantId: Prisma.FieldRef<"PropertyUnit", 'String'>;
1342
1558
  readonly unitNumber: Prisma.FieldRef<"PropertyUnit", 'String'>;
1343
1559
  readonly floorNumber: Prisma.FieldRef<"PropertyUnit", 'Int'>;