@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.
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespace.js +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +56 -0
- package/dist/generated/client/models/Amenity.d.ts +183 -3
- package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
- package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
- package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
- package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
- package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
- package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
- package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
- package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
- package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
- package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
- package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
- package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
- package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
- package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
- package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
- package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
- package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
- package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
- package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/Tenant.d.ts +11653 -1153
- package/dist/src/prisma/tenant.js +26 -32
- package/package.json +1 -1
- package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
- package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
- package/prisma/schema.prisma +143 -30
|
@@ -38,6 +38,7 @@ export type PropertyVariantSumAggregateOutputType = {
|
|
|
38
38
|
};
|
|
39
39
|
export type PropertyVariantMinAggregateOutputType = {
|
|
40
40
|
id: string | null;
|
|
41
|
+
tenantId: string | null;
|
|
41
42
|
propertyId: string | null;
|
|
42
43
|
name: string | null;
|
|
43
44
|
description: string | null;
|
|
@@ -58,6 +59,7 @@ export type PropertyVariantMinAggregateOutputType = {
|
|
|
58
59
|
};
|
|
59
60
|
export type PropertyVariantMaxAggregateOutputType = {
|
|
60
61
|
id: string | null;
|
|
62
|
+
tenantId: string | null;
|
|
61
63
|
propertyId: string | null;
|
|
62
64
|
name: string | null;
|
|
63
65
|
description: string | null;
|
|
@@ -78,6 +80,7 @@ export type PropertyVariantMaxAggregateOutputType = {
|
|
|
78
80
|
};
|
|
79
81
|
export type PropertyVariantCountAggregateOutputType = {
|
|
80
82
|
id: number;
|
|
83
|
+
tenantId: number;
|
|
81
84
|
propertyId: number;
|
|
82
85
|
name: number;
|
|
83
86
|
description: number;
|
|
@@ -123,6 +126,7 @@ export type PropertyVariantSumAggregateInputType = {
|
|
|
123
126
|
};
|
|
124
127
|
export type PropertyVariantMinAggregateInputType = {
|
|
125
128
|
id?: true;
|
|
129
|
+
tenantId?: true;
|
|
126
130
|
propertyId?: true;
|
|
127
131
|
name?: true;
|
|
128
132
|
description?: true;
|
|
@@ -143,6 +147,7 @@ export type PropertyVariantMinAggregateInputType = {
|
|
|
143
147
|
};
|
|
144
148
|
export type PropertyVariantMaxAggregateInputType = {
|
|
145
149
|
id?: true;
|
|
150
|
+
tenantId?: true;
|
|
146
151
|
propertyId?: true;
|
|
147
152
|
name?: true;
|
|
148
153
|
description?: true;
|
|
@@ -163,6 +168,7 @@ export type PropertyVariantMaxAggregateInputType = {
|
|
|
163
168
|
};
|
|
164
169
|
export type PropertyVariantCountAggregateInputType = {
|
|
165
170
|
id?: true;
|
|
171
|
+
tenantId?: true;
|
|
166
172
|
propertyId?: true;
|
|
167
173
|
name?: true;
|
|
168
174
|
description?: true;
|
|
@@ -260,6 +266,7 @@ export type PropertyVariantGroupByArgs<ExtArgs extends runtime.Types.Extensions.
|
|
|
260
266
|
};
|
|
261
267
|
export type PropertyVariantGroupByOutputType = {
|
|
262
268
|
id: string;
|
|
269
|
+
tenantId: string;
|
|
263
270
|
propertyId: string;
|
|
264
271
|
name: string;
|
|
265
272
|
description: string | null;
|
|
@@ -291,6 +298,7 @@ export type PropertyVariantWhereInput = {
|
|
|
291
298
|
OR?: Prisma.PropertyVariantWhereInput[];
|
|
292
299
|
NOT?: Prisma.PropertyVariantWhereInput | Prisma.PropertyVariantWhereInput[];
|
|
293
300
|
id?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
301
|
+
tenantId?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
294
302
|
propertyId?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
295
303
|
name?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
296
304
|
description?: Prisma.StringNullableFilter<"PropertyVariant"> | string | null;
|
|
@@ -308,6 +316,7 @@ export type PropertyVariantWhereInput = {
|
|
|
308
316
|
isActive?: Prisma.BoolFilter<"PropertyVariant"> | boolean;
|
|
309
317
|
createdAt?: Prisma.DateTimeFilter<"PropertyVariant"> | Date | string;
|
|
310
318
|
updatedAt?: Prisma.DateTimeFilter<"PropertyVariant"> | Date | string;
|
|
319
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
311
320
|
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
312
321
|
amenities?: Prisma.PropertyVariantAmenityListRelationFilter;
|
|
313
322
|
units?: Prisma.PropertyUnitListRelationFilter;
|
|
@@ -315,6 +324,7 @@ export type PropertyVariantWhereInput = {
|
|
|
315
324
|
};
|
|
316
325
|
export type PropertyVariantOrderByWithRelationInput = {
|
|
317
326
|
id?: Prisma.SortOrder;
|
|
327
|
+
tenantId?: Prisma.SortOrder;
|
|
318
328
|
propertyId?: Prisma.SortOrder;
|
|
319
329
|
name?: Prisma.SortOrder;
|
|
320
330
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -332,6 +342,7 @@ export type PropertyVariantOrderByWithRelationInput = {
|
|
|
332
342
|
isActive?: Prisma.SortOrder;
|
|
333
343
|
createdAt?: Prisma.SortOrder;
|
|
334
344
|
updatedAt?: Prisma.SortOrder;
|
|
345
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
335
346
|
property?: Prisma.PropertyOrderByWithRelationInput;
|
|
336
347
|
amenities?: Prisma.PropertyVariantAmenityOrderByRelationAggregateInput;
|
|
337
348
|
units?: Prisma.PropertyUnitOrderByRelationAggregateInput;
|
|
@@ -343,6 +354,7 @@ export type PropertyVariantWhereUniqueInput = Prisma.AtLeast<{
|
|
|
343
354
|
AND?: Prisma.PropertyVariantWhereInput | Prisma.PropertyVariantWhereInput[];
|
|
344
355
|
OR?: Prisma.PropertyVariantWhereInput[];
|
|
345
356
|
NOT?: Prisma.PropertyVariantWhereInput | Prisma.PropertyVariantWhereInput[];
|
|
357
|
+
tenantId?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
346
358
|
propertyId?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
347
359
|
name?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
348
360
|
description?: Prisma.StringNullableFilter<"PropertyVariant"> | string | null;
|
|
@@ -360,6 +372,7 @@ export type PropertyVariantWhereUniqueInput = Prisma.AtLeast<{
|
|
|
360
372
|
isActive?: Prisma.BoolFilter<"PropertyVariant"> | boolean;
|
|
361
373
|
createdAt?: Prisma.DateTimeFilter<"PropertyVariant"> | Date | string;
|
|
362
374
|
updatedAt?: Prisma.DateTimeFilter<"PropertyVariant"> | Date | string;
|
|
375
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
363
376
|
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
364
377
|
amenities?: Prisma.PropertyVariantAmenityListRelationFilter;
|
|
365
378
|
units?: Prisma.PropertyUnitListRelationFilter;
|
|
@@ -367,6 +380,7 @@ export type PropertyVariantWhereUniqueInput = Prisma.AtLeast<{
|
|
|
367
380
|
}, "id">;
|
|
368
381
|
export type PropertyVariantOrderByWithAggregationInput = {
|
|
369
382
|
id?: Prisma.SortOrder;
|
|
383
|
+
tenantId?: Prisma.SortOrder;
|
|
370
384
|
propertyId?: Prisma.SortOrder;
|
|
371
385
|
name?: Prisma.SortOrder;
|
|
372
386
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -395,6 +409,7 @@ export type PropertyVariantScalarWhereWithAggregatesInput = {
|
|
|
395
409
|
OR?: Prisma.PropertyVariantScalarWhereWithAggregatesInput[];
|
|
396
410
|
NOT?: Prisma.PropertyVariantScalarWhereWithAggregatesInput | Prisma.PropertyVariantScalarWhereWithAggregatesInput[];
|
|
397
411
|
id?: Prisma.StringWithAggregatesFilter<"PropertyVariant"> | string;
|
|
412
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"PropertyVariant"> | string;
|
|
398
413
|
propertyId?: Prisma.StringWithAggregatesFilter<"PropertyVariant"> | string;
|
|
399
414
|
name?: Prisma.StringWithAggregatesFilter<"PropertyVariant"> | string;
|
|
400
415
|
description?: Prisma.StringNullableWithAggregatesFilter<"PropertyVariant"> | string | null;
|
|
@@ -431,6 +446,7 @@ export type PropertyVariantCreateInput = {
|
|
|
431
446
|
isActive?: boolean;
|
|
432
447
|
createdAt?: Date | string;
|
|
433
448
|
updatedAt?: Date | string;
|
|
449
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantsInput;
|
|
434
450
|
property: Prisma.PropertyCreateNestedOneWithoutVariantsInput;
|
|
435
451
|
amenities?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutVariantInput;
|
|
436
452
|
units?: Prisma.PropertyUnitCreateNestedManyWithoutVariantInput;
|
|
@@ -438,6 +454,7 @@ export type PropertyVariantCreateInput = {
|
|
|
438
454
|
};
|
|
439
455
|
export type PropertyVariantUncheckedCreateInput = {
|
|
440
456
|
id?: string;
|
|
457
|
+
tenantId: string;
|
|
441
458
|
propertyId: string;
|
|
442
459
|
name: string;
|
|
443
460
|
description?: string | null;
|
|
@@ -477,6 +494,7 @@ export type PropertyVariantUpdateInput = {
|
|
|
477
494
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
478
495
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
479
496
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
497
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantsNestedInput;
|
|
480
498
|
property?: Prisma.PropertyUpdateOneRequiredWithoutVariantsNestedInput;
|
|
481
499
|
amenities?: Prisma.PropertyVariantAmenityUpdateManyWithoutVariantNestedInput;
|
|
482
500
|
units?: Prisma.PropertyUnitUpdateManyWithoutVariantNestedInput;
|
|
@@ -484,6 +502,7 @@ export type PropertyVariantUpdateInput = {
|
|
|
484
502
|
};
|
|
485
503
|
export type PropertyVariantUncheckedUpdateInput = {
|
|
486
504
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
505
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
487
506
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
488
507
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
489
508
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -507,6 +526,7 @@ export type PropertyVariantUncheckedUpdateInput = {
|
|
|
507
526
|
};
|
|
508
527
|
export type PropertyVariantCreateManyInput = {
|
|
509
528
|
id?: string;
|
|
529
|
+
tenantId: string;
|
|
510
530
|
propertyId: string;
|
|
511
531
|
name: string;
|
|
512
532
|
description?: string | null;
|
|
@@ -546,6 +566,7 @@ export type PropertyVariantUpdateManyMutationInput = {
|
|
|
546
566
|
};
|
|
547
567
|
export type PropertyVariantUncheckedUpdateManyInput = {
|
|
548
568
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
569
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
549
570
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
550
571
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
551
572
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -579,6 +600,7 @@ export type PropertyVariantOrderByRelevanceInput = {
|
|
|
579
600
|
};
|
|
580
601
|
export type PropertyVariantCountOrderByAggregateInput = {
|
|
581
602
|
id?: Prisma.SortOrder;
|
|
603
|
+
tenantId?: Prisma.SortOrder;
|
|
582
604
|
propertyId?: Prisma.SortOrder;
|
|
583
605
|
name?: Prisma.SortOrder;
|
|
584
606
|
description?: Prisma.SortOrder;
|
|
@@ -611,6 +633,7 @@ export type PropertyVariantAvgOrderByAggregateInput = {
|
|
|
611
633
|
};
|
|
612
634
|
export type PropertyVariantMaxOrderByAggregateInput = {
|
|
613
635
|
id?: Prisma.SortOrder;
|
|
636
|
+
tenantId?: Prisma.SortOrder;
|
|
614
637
|
propertyId?: Prisma.SortOrder;
|
|
615
638
|
name?: Prisma.SortOrder;
|
|
616
639
|
description?: Prisma.SortOrder;
|
|
@@ -631,6 +654,7 @@ export type PropertyVariantMaxOrderByAggregateInput = {
|
|
|
631
654
|
};
|
|
632
655
|
export type PropertyVariantMinOrderByAggregateInput = {
|
|
633
656
|
id?: Prisma.SortOrder;
|
|
657
|
+
tenantId?: Prisma.SortOrder;
|
|
634
658
|
propertyId?: Prisma.SortOrder;
|
|
635
659
|
name?: Prisma.SortOrder;
|
|
636
660
|
description?: Prisma.SortOrder;
|
|
@@ -665,6 +689,44 @@ export type PropertyVariantScalarRelationFilter = {
|
|
|
665
689
|
is?: Prisma.PropertyVariantWhereInput;
|
|
666
690
|
isNot?: Prisma.PropertyVariantWhereInput;
|
|
667
691
|
};
|
|
692
|
+
export type PropertyVariantCreateNestedManyWithoutTenantInput = {
|
|
693
|
+
create?: Prisma.XOR<Prisma.PropertyVariantCreateWithoutTenantInput, Prisma.PropertyVariantUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantCreateWithoutTenantInput[] | Prisma.PropertyVariantUncheckedCreateWithoutTenantInput[];
|
|
694
|
+
connectOrCreate?: Prisma.PropertyVariantCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantCreateOrConnectWithoutTenantInput[];
|
|
695
|
+
createMany?: Prisma.PropertyVariantCreateManyTenantInputEnvelope;
|
|
696
|
+
connect?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
697
|
+
};
|
|
698
|
+
export type PropertyVariantUncheckedCreateNestedManyWithoutTenantInput = {
|
|
699
|
+
create?: Prisma.XOR<Prisma.PropertyVariantCreateWithoutTenantInput, Prisma.PropertyVariantUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantCreateWithoutTenantInput[] | Prisma.PropertyVariantUncheckedCreateWithoutTenantInput[];
|
|
700
|
+
connectOrCreate?: Prisma.PropertyVariantCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantCreateOrConnectWithoutTenantInput[];
|
|
701
|
+
createMany?: Prisma.PropertyVariantCreateManyTenantInputEnvelope;
|
|
702
|
+
connect?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
703
|
+
};
|
|
704
|
+
export type PropertyVariantUpdateManyWithoutTenantNestedInput = {
|
|
705
|
+
create?: Prisma.XOR<Prisma.PropertyVariantCreateWithoutTenantInput, Prisma.PropertyVariantUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantCreateWithoutTenantInput[] | Prisma.PropertyVariantUncheckedCreateWithoutTenantInput[];
|
|
706
|
+
connectOrCreate?: Prisma.PropertyVariantCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantCreateOrConnectWithoutTenantInput[];
|
|
707
|
+
upsert?: Prisma.PropertyVariantUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantUpsertWithWhereUniqueWithoutTenantInput[];
|
|
708
|
+
createMany?: Prisma.PropertyVariantCreateManyTenantInputEnvelope;
|
|
709
|
+
set?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
710
|
+
disconnect?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
711
|
+
delete?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
712
|
+
connect?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
713
|
+
update?: Prisma.PropertyVariantUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantUpdateWithWhereUniqueWithoutTenantInput[];
|
|
714
|
+
updateMany?: Prisma.PropertyVariantUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyVariantUpdateManyWithWhereWithoutTenantInput[];
|
|
715
|
+
deleteMany?: Prisma.PropertyVariantScalarWhereInput | Prisma.PropertyVariantScalarWhereInput[];
|
|
716
|
+
};
|
|
717
|
+
export type PropertyVariantUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
718
|
+
create?: Prisma.XOR<Prisma.PropertyVariantCreateWithoutTenantInput, Prisma.PropertyVariantUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantCreateWithoutTenantInput[] | Prisma.PropertyVariantUncheckedCreateWithoutTenantInput[];
|
|
719
|
+
connectOrCreate?: Prisma.PropertyVariantCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantCreateOrConnectWithoutTenantInput[];
|
|
720
|
+
upsert?: Prisma.PropertyVariantUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantUpsertWithWhereUniqueWithoutTenantInput[];
|
|
721
|
+
createMany?: Prisma.PropertyVariantCreateManyTenantInputEnvelope;
|
|
722
|
+
set?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
723
|
+
disconnect?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
724
|
+
delete?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
725
|
+
connect?: Prisma.PropertyVariantWhereUniqueInput | Prisma.PropertyVariantWhereUniqueInput[];
|
|
726
|
+
update?: Prisma.PropertyVariantUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantUpdateWithWhereUniqueWithoutTenantInput[];
|
|
727
|
+
updateMany?: Prisma.PropertyVariantUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyVariantUpdateManyWithWhereWithoutTenantInput[];
|
|
728
|
+
deleteMany?: Prisma.PropertyVariantScalarWhereInput | Prisma.PropertyVariantScalarWhereInput[];
|
|
729
|
+
};
|
|
668
730
|
export type PropertyVariantCreateNestedManyWithoutPropertyInput = {
|
|
669
731
|
create?: Prisma.XOR<Prisma.PropertyVariantCreateWithoutPropertyInput, Prisma.PropertyVariantUncheckedCreateWithoutPropertyInput> | Prisma.PropertyVariantCreateWithoutPropertyInput[] | Prisma.PropertyVariantUncheckedCreateWithoutPropertyInput[];
|
|
670
732
|
connectOrCreate?: Prisma.PropertyVariantCreateOrConnectWithoutPropertyInput | Prisma.PropertyVariantCreateOrConnectWithoutPropertyInput[];
|
|
@@ -746,7 +808,7 @@ export type PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput = {
|
|
|
746
808
|
connect?: Prisma.PropertyVariantWhereUniqueInput;
|
|
747
809
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyVariantUpdateToOneWithWhereWithoutUnitsInput, Prisma.PropertyVariantUpdateWithoutUnitsInput>, Prisma.PropertyVariantUncheckedUpdateWithoutUnitsInput>;
|
|
748
810
|
};
|
|
749
|
-
export type
|
|
811
|
+
export type PropertyVariantCreateWithoutTenantInput = {
|
|
750
812
|
id?: string;
|
|
751
813
|
name: string;
|
|
752
814
|
description?: string | null;
|
|
@@ -764,12 +826,14 @@ export type PropertyVariantCreateWithoutPropertyInput = {
|
|
|
764
826
|
isActive?: boolean;
|
|
765
827
|
createdAt?: Date | string;
|
|
766
828
|
updatedAt?: Date | string;
|
|
829
|
+
property: Prisma.PropertyCreateNestedOneWithoutVariantsInput;
|
|
767
830
|
amenities?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutVariantInput;
|
|
768
831
|
units?: Prisma.PropertyUnitCreateNestedManyWithoutVariantInput;
|
|
769
832
|
media?: Prisma.PropertyVariantMediaCreateNestedManyWithoutVariantInput;
|
|
770
833
|
};
|
|
771
|
-
export type
|
|
834
|
+
export type PropertyVariantUncheckedCreateWithoutTenantInput = {
|
|
772
835
|
id?: string;
|
|
836
|
+
propertyId: string;
|
|
773
837
|
name: string;
|
|
774
838
|
description?: string | null;
|
|
775
839
|
nBedrooms?: number | null;
|
|
@@ -790,32 +854,33 @@ export type PropertyVariantUncheckedCreateWithoutPropertyInput = {
|
|
|
790
854
|
units?: Prisma.PropertyUnitUncheckedCreateNestedManyWithoutVariantInput;
|
|
791
855
|
media?: Prisma.PropertyVariantMediaUncheckedCreateNestedManyWithoutVariantInput;
|
|
792
856
|
};
|
|
793
|
-
export type
|
|
857
|
+
export type PropertyVariantCreateOrConnectWithoutTenantInput = {
|
|
794
858
|
where: Prisma.PropertyVariantWhereUniqueInput;
|
|
795
|
-
create: Prisma.XOR<Prisma.
|
|
859
|
+
create: Prisma.XOR<Prisma.PropertyVariantCreateWithoutTenantInput, Prisma.PropertyVariantUncheckedCreateWithoutTenantInput>;
|
|
796
860
|
};
|
|
797
|
-
export type
|
|
798
|
-
data: Prisma.
|
|
861
|
+
export type PropertyVariantCreateManyTenantInputEnvelope = {
|
|
862
|
+
data: Prisma.PropertyVariantCreateManyTenantInput | Prisma.PropertyVariantCreateManyTenantInput[];
|
|
799
863
|
skipDuplicates?: boolean;
|
|
800
864
|
};
|
|
801
|
-
export type
|
|
865
|
+
export type PropertyVariantUpsertWithWhereUniqueWithoutTenantInput = {
|
|
802
866
|
where: Prisma.PropertyVariantWhereUniqueInput;
|
|
803
|
-
update: Prisma.XOR<Prisma.
|
|
804
|
-
create: Prisma.XOR<Prisma.
|
|
867
|
+
update: Prisma.XOR<Prisma.PropertyVariantUpdateWithoutTenantInput, Prisma.PropertyVariantUncheckedUpdateWithoutTenantInput>;
|
|
868
|
+
create: Prisma.XOR<Prisma.PropertyVariantCreateWithoutTenantInput, Prisma.PropertyVariantUncheckedCreateWithoutTenantInput>;
|
|
805
869
|
};
|
|
806
|
-
export type
|
|
870
|
+
export type PropertyVariantUpdateWithWhereUniqueWithoutTenantInput = {
|
|
807
871
|
where: Prisma.PropertyVariantWhereUniqueInput;
|
|
808
|
-
data: Prisma.XOR<Prisma.
|
|
872
|
+
data: Prisma.XOR<Prisma.PropertyVariantUpdateWithoutTenantInput, Prisma.PropertyVariantUncheckedUpdateWithoutTenantInput>;
|
|
809
873
|
};
|
|
810
|
-
export type
|
|
874
|
+
export type PropertyVariantUpdateManyWithWhereWithoutTenantInput = {
|
|
811
875
|
where: Prisma.PropertyVariantScalarWhereInput;
|
|
812
|
-
data: Prisma.XOR<Prisma.PropertyVariantUpdateManyMutationInput, Prisma.
|
|
876
|
+
data: Prisma.XOR<Prisma.PropertyVariantUpdateManyMutationInput, Prisma.PropertyVariantUncheckedUpdateManyWithoutTenantInput>;
|
|
813
877
|
};
|
|
814
878
|
export type PropertyVariantScalarWhereInput = {
|
|
815
879
|
AND?: Prisma.PropertyVariantScalarWhereInput | Prisma.PropertyVariantScalarWhereInput[];
|
|
816
880
|
OR?: Prisma.PropertyVariantScalarWhereInput[];
|
|
817
881
|
NOT?: Prisma.PropertyVariantScalarWhereInput | Prisma.PropertyVariantScalarWhereInput[];
|
|
818
882
|
id?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
883
|
+
tenantId?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
819
884
|
propertyId?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
820
885
|
name?: Prisma.StringFilter<"PropertyVariant"> | string;
|
|
821
886
|
description?: Prisma.StringNullableFilter<"PropertyVariant"> | string | null;
|
|
@@ -834,6 +899,73 @@ export type PropertyVariantScalarWhereInput = {
|
|
|
834
899
|
createdAt?: Prisma.DateTimeFilter<"PropertyVariant"> | Date | string;
|
|
835
900
|
updatedAt?: Prisma.DateTimeFilter<"PropertyVariant"> | Date | string;
|
|
836
901
|
};
|
|
902
|
+
export type PropertyVariantCreateWithoutPropertyInput = {
|
|
903
|
+
id?: string;
|
|
904
|
+
name: string;
|
|
905
|
+
description?: string | null;
|
|
906
|
+
nBedrooms?: number | null;
|
|
907
|
+
nBathrooms?: number | null;
|
|
908
|
+
nParkingSpots?: number | null;
|
|
909
|
+
area?: number | null;
|
|
910
|
+
price: number;
|
|
911
|
+
pricePerSqm?: number | null;
|
|
912
|
+
totalUnits?: number;
|
|
913
|
+
availableUnits?: number;
|
|
914
|
+
reservedUnits?: number;
|
|
915
|
+
soldUnits?: number;
|
|
916
|
+
status?: string;
|
|
917
|
+
isActive?: boolean;
|
|
918
|
+
createdAt?: Date | string;
|
|
919
|
+
updatedAt?: Date | string;
|
|
920
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantsInput;
|
|
921
|
+
amenities?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutVariantInput;
|
|
922
|
+
units?: Prisma.PropertyUnitCreateNestedManyWithoutVariantInput;
|
|
923
|
+
media?: Prisma.PropertyVariantMediaCreateNestedManyWithoutVariantInput;
|
|
924
|
+
};
|
|
925
|
+
export type PropertyVariantUncheckedCreateWithoutPropertyInput = {
|
|
926
|
+
id?: string;
|
|
927
|
+
tenantId: string;
|
|
928
|
+
name: string;
|
|
929
|
+
description?: string | null;
|
|
930
|
+
nBedrooms?: number | null;
|
|
931
|
+
nBathrooms?: number | null;
|
|
932
|
+
nParkingSpots?: number | null;
|
|
933
|
+
area?: number | null;
|
|
934
|
+
price: number;
|
|
935
|
+
pricePerSqm?: number | null;
|
|
936
|
+
totalUnits?: number;
|
|
937
|
+
availableUnits?: number;
|
|
938
|
+
reservedUnits?: number;
|
|
939
|
+
soldUnits?: number;
|
|
940
|
+
status?: string;
|
|
941
|
+
isActive?: boolean;
|
|
942
|
+
createdAt?: Date | string;
|
|
943
|
+
updatedAt?: Date | string;
|
|
944
|
+
amenities?: Prisma.PropertyVariantAmenityUncheckedCreateNestedManyWithoutVariantInput;
|
|
945
|
+
units?: Prisma.PropertyUnitUncheckedCreateNestedManyWithoutVariantInput;
|
|
946
|
+
media?: Prisma.PropertyVariantMediaUncheckedCreateNestedManyWithoutVariantInput;
|
|
947
|
+
};
|
|
948
|
+
export type PropertyVariantCreateOrConnectWithoutPropertyInput = {
|
|
949
|
+
where: Prisma.PropertyVariantWhereUniqueInput;
|
|
950
|
+
create: Prisma.XOR<Prisma.PropertyVariantCreateWithoutPropertyInput, Prisma.PropertyVariantUncheckedCreateWithoutPropertyInput>;
|
|
951
|
+
};
|
|
952
|
+
export type PropertyVariantCreateManyPropertyInputEnvelope = {
|
|
953
|
+
data: Prisma.PropertyVariantCreateManyPropertyInput | Prisma.PropertyVariantCreateManyPropertyInput[];
|
|
954
|
+
skipDuplicates?: boolean;
|
|
955
|
+
};
|
|
956
|
+
export type PropertyVariantUpsertWithWhereUniqueWithoutPropertyInput = {
|
|
957
|
+
where: Prisma.PropertyVariantWhereUniqueInput;
|
|
958
|
+
update: Prisma.XOR<Prisma.PropertyVariantUpdateWithoutPropertyInput, Prisma.PropertyVariantUncheckedUpdateWithoutPropertyInput>;
|
|
959
|
+
create: Prisma.XOR<Prisma.PropertyVariantCreateWithoutPropertyInput, Prisma.PropertyVariantUncheckedCreateWithoutPropertyInput>;
|
|
960
|
+
};
|
|
961
|
+
export type PropertyVariantUpdateWithWhereUniqueWithoutPropertyInput = {
|
|
962
|
+
where: Prisma.PropertyVariantWhereUniqueInput;
|
|
963
|
+
data: Prisma.XOR<Prisma.PropertyVariantUpdateWithoutPropertyInput, Prisma.PropertyVariantUncheckedUpdateWithoutPropertyInput>;
|
|
964
|
+
};
|
|
965
|
+
export type PropertyVariantUpdateManyWithWhereWithoutPropertyInput = {
|
|
966
|
+
where: Prisma.PropertyVariantScalarWhereInput;
|
|
967
|
+
data: Prisma.XOR<Prisma.PropertyVariantUpdateManyMutationInput, Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyInput>;
|
|
968
|
+
};
|
|
837
969
|
export type PropertyVariantCreateWithoutAmenitiesInput = {
|
|
838
970
|
id?: string;
|
|
839
971
|
name: string;
|
|
@@ -852,12 +984,14 @@ export type PropertyVariantCreateWithoutAmenitiesInput = {
|
|
|
852
984
|
isActive?: boolean;
|
|
853
985
|
createdAt?: Date | string;
|
|
854
986
|
updatedAt?: Date | string;
|
|
987
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantsInput;
|
|
855
988
|
property: Prisma.PropertyCreateNestedOneWithoutVariantsInput;
|
|
856
989
|
units?: Prisma.PropertyUnitCreateNestedManyWithoutVariantInput;
|
|
857
990
|
media?: Prisma.PropertyVariantMediaCreateNestedManyWithoutVariantInput;
|
|
858
991
|
};
|
|
859
992
|
export type PropertyVariantUncheckedCreateWithoutAmenitiesInput = {
|
|
860
993
|
id?: string;
|
|
994
|
+
tenantId: string;
|
|
861
995
|
propertyId: string;
|
|
862
996
|
name: string;
|
|
863
997
|
description?: string | null;
|
|
@@ -909,12 +1043,14 @@ export type PropertyVariantUpdateWithoutAmenitiesInput = {
|
|
|
909
1043
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
910
1044
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
911
1045
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1046
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantsNestedInput;
|
|
912
1047
|
property?: Prisma.PropertyUpdateOneRequiredWithoutVariantsNestedInput;
|
|
913
1048
|
units?: Prisma.PropertyUnitUpdateManyWithoutVariantNestedInput;
|
|
914
1049
|
media?: Prisma.PropertyVariantMediaUpdateManyWithoutVariantNestedInput;
|
|
915
1050
|
};
|
|
916
1051
|
export type PropertyVariantUncheckedUpdateWithoutAmenitiesInput = {
|
|
917
1052
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1053
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
918
1054
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
919
1055
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
920
1056
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -953,12 +1089,14 @@ export type PropertyVariantCreateWithoutMediaInput = {
|
|
|
953
1089
|
isActive?: boolean;
|
|
954
1090
|
createdAt?: Date | string;
|
|
955
1091
|
updatedAt?: Date | string;
|
|
1092
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantsInput;
|
|
956
1093
|
property: Prisma.PropertyCreateNestedOneWithoutVariantsInput;
|
|
957
1094
|
amenities?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutVariantInput;
|
|
958
1095
|
units?: Prisma.PropertyUnitCreateNestedManyWithoutVariantInput;
|
|
959
1096
|
};
|
|
960
1097
|
export type PropertyVariantUncheckedCreateWithoutMediaInput = {
|
|
961
1098
|
id?: string;
|
|
1099
|
+
tenantId: string;
|
|
962
1100
|
propertyId: string;
|
|
963
1101
|
name: string;
|
|
964
1102
|
description?: string | null;
|
|
@@ -1010,12 +1148,14 @@ export type PropertyVariantUpdateWithoutMediaInput = {
|
|
|
1010
1148
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1011
1149
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1012
1150
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1151
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantsNestedInput;
|
|
1013
1152
|
property?: Prisma.PropertyUpdateOneRequiredWithoutVariantsNestedInput;
|
|
1014
1153
|
amenities?: Prisma.PropertyVariantAmenityUpdateManyWithoutVariantNestedInput;
|
|
1015
1154
|
units?: Prisma.PropertyUnitUpdateManyWithoutVariantNestedInput;
|
|
1016
1155
|
};
|
|
1017
1156
|
export type PropertyVariantUncheckedUpdateWithoutMediaInput = {
|
|
1018
1157
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1158
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1019
1159
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1020
1160
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1021
1161
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1054,12 +1194,14 @@ export type PropertyVariantCreateWithoutUnitsInput = {
|
|
|
1054
1194
|
isActive?: boolean;
|
|
1055
1195
|
createdAt?: Date | string;
|
|
1056
1196
|
updatedAt?: Date | string;
|
|
1197
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantsInput;
|
|
1057
1198
|
property: Prisma.PropertyCreateNestedOneWithoutVariantsInput;
|
|
1058
1199
|
amenities?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutVariantInput;
|
|
1059
1200
|
media?: Prisma.PropertyVariantMediaCreateNestedManyWithoutVariantInput;
|
|
1060
1201
|
};
|
|
1061
1202
|
export type PropertyVariantUncheckedCreateWithoutUnitsInput = {
|
|
1062
1203
|
id?: string;
|
|
1204
|
+
tenantId: string;
|
|
1063
1205
|
propertyId: string;
|
|
1064
1206
|
name: string;
|
|
1065
1207
|
description?: string | null;
|
|
@@ -1111,12 +1253,14 @@ export type PropertyVariantUpdateWithoutUnitsInput = {
|
|
|
1111
1253
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1112
1254
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1113
1255
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1256
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantsNestedInput;
|
|
1114
1257
|
property?: Prisma.PropertyUpdateOneRequiredWithoutVariantsNestedInput;
|
|
1115
1258
|
amenities?: Prisma.PropertyVariantAmenityUpdateManyWithoutVariantNestedInput;
|
|
1116
1259
|
media?: Prisma.PropertyVariantMediaUpdateManyWithoutVariantNestedInput;
|
|
1117
1260
|
};
|
|
1118
1261
|
export type PropertyVariantUncheckedUpdateWithoutUnitsInput = {
|
|
1119
1262
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1263
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1120
1264
|
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1121
1265
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1122
1266
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1137,8 +1281,95 @@ export type PropertyVariantUncheckedUpdateWithoutUnitsInput = {
|
|
|
1137
1281
|
amenities?: Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutVariantNestedInput;
|
|
1138
1282
|
media?: Prisma.PropertyVariantMediaUncheckedUpdateManyWithoutVariantNestedInput;
|
|
1139
1283
|
};
|
|
1284
|
+
export type PropertyVariantCreateManyTenantInput = {
|
|
1285
|
+
id?: string;
|
|
1286
|
+
propertyId: string;
|
|
1287
|
+
name: string;
|
|
1288
|
+
description?: string | null;
|
|
1289
|
+
nBedrooms?: number | null;
|
|
1290
|
+
nBathrooms?: number | null;
|
|
1291
|
+
nParkingSpots?: number | null;
|
|
1292
|
+
area?: number | null;
|
|
1293
|
+
price: number;
|
|
1294
|
+
pricePerSqm?: number | null;
|
|
1295
|
+
totalUnits?: number;
|
|
1296
|
+
availableUnits?: number;
|
|
1297
|
+
reservedUnits?: number;
|
|
1298
|
+
soldUnits?: number;
|
|
1299
|
+
status?: string;
|
|
1300
|
+
isActive?: boolean;
|
|
1301
|
+
createdAt?: Date | string;
|
|
1302
|
+
updatedAt?: Date | string;
|
|
1303
|
+
};
|
|
1304
|
+
export type PropertyVariantUpdateWithoutTenantInput = {
|
|
1305
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1306
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1307
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1308
|
+
nBedrooms?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1309
|
+
nBathrooms?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1310
|
+
nParkingSpots?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1311
|
+
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1312
|
+
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1313
|
+
pricePerSqm?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1314
|
+
totalUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1315
|
+
availableUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1316
|
+
reservedUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1317
|
+
soldUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1318
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1319
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1320
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1321
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1322
|
+
property?: Prisma.PropertyUpdateOneRequiredWithoutVariantsNestedInput;
|
|
1323
|
+
amenities?: Prisma.PropertyVariantAmenityUpdateManyWithoutVariantNestedInput;
|
|
1324
|
+
units?: Prisma.PropertyUnitUpdateManyWithoutVariantNestedInput;
|
|
1325
|
+
media?: Prisma.PropertyVariantMediaUpdateManyWithoutVariantNestedInput;
|
|
1326
|
+
};
|
|
1327
|
+
export type PropertyVariantUncheckedUpdateWithoutTenantInput = {
|
|
1328
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1329
|
+
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1330
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1331
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1332
|
+
nBedrooms?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1333
|
+
nBathrooms?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1334
|
+
nParkingSpots?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1335
|
+
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1336
|
+
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1337
|
+
pricePerSqm?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1338
|
+
totalUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1339
|
+
availableUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1340
|
+
reservedUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1341
|
+
soldUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1342
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1343
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1344
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1345
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1346
|
+
amenities?: Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutVariantNestedInput;
|
|
1347
|
+
units?: Prisma.PropertyUnitUncheckedUpdateManyWithoutVariantNestedInput;
|
|
1348
|
+
media?: Prisma.PropertyVariantMediaUncheckedUpdateManyWithoutVariantNestedInput;
|
|
1349
|
+
};
|
|
1350
|
+
export type PropertyVariantUncheckedUpdateManyWithoutTenantInput = {
|
|
1351
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1352
|
+
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1353
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1354
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1355
|
+
nBedrooms?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1356
|
+
nBathrooms?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1357
|
+
nParkingSpots?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
1358
|
+
area?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1359
|
+
price?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1360
|
+
pricePerSqm?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1361
|
+
totalUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1362
|
+
availableUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1363
|
+
reservedUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1364
|
+
soldUnits?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1365
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1366
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1367
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1368
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1369
|
+
};
|
|
1140
1370
|
export type PropertyVariantCreateManyPropertyInput = {
|
|
1141
1371
|
id?: string;
|
|
1372
|
+
tenantId: string;
|
|
1142
1373
|
name: string;
|
|
1143
1374
|
description?: string | null;
|
|
1144
1375
|
nBedrooms?: number | null;
|
|
@@ -1174,12 +1405,14 @@ export type PropertyVariantUpdateWithoutPropertyInput = {
|
|
|
1174
1405
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1175
1406
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1176
1407
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1408
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantsNestedInput;
|
|
1177
1409
|
amenities?: Prisma.PropertyVariantAmenityUpdateManyWithoutVariantNestedInput;
|
|
1178
1410
|
units?: Prisma.PropertyUnitUpdateManyWithoutVariantNestedInput;
|
|
1179
1411
|
media?: Prisma.PropertyVariantMediaUpdateManyWithoutVariantNestedInput;
|
|
1180
1412
|
};
|
|
1181
1413
|
export type PropertyVariantUncheckedUpdateWithoutPropertyInput = {
|
|
1182
1414
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1415
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1183
1416
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1184
1417
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1185
1418
|
nBedrooms?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
@@ -1202,6 +1435,7 @@ export type PropertyVariantUncheckedUpdateWithoutPropertyInput = {
|
|
|
1202
1435
|
};
|
|
1203
1436
|
export type PropertyVariantUncheckedUpdateManyWithoutPropertyInput = {
|
|
1204
1437
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1438
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1205
1439
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1206
1440
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1207
1441
|
nBedrooms?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
@@ -1261,6 +1495,7 @@ export type PropertyVariantCountOutputTypeCountMediaArgs<ExtArgs extends runtime
|
|
|
1261
1495
|
};
|
|
1262
1496
|
export type PropertyVariantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1263
1497
|
id?: boolean;
|
|
1498
|
+
tenantId?: boolean;
|
|
1264
1499
|
propertyId?: boolean;
|
|
1265
1500
|
name?: boolean;
|
|
1266
1501
|
description?: boolean;
|
|
@@ -1278,6 +1513,7 @@ export type PropertyVariantSelect<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1278
1513
|
isActive?: boolean;
|
|
1279
1514
|
createdAt?: boolean;
|
|
1280
1515
|
updatedAt?: boolean;
|
|
1516
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1281
1517
|
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
1282
1518
|
amenities?: boolean | Prisma.PropertyVariant$amenitiesArgs<ExtArgs>;
|
|
1283
1519
|
units?: boolean | Prisma.PropertyVariant$unitsArgs<ExtArgs>;
|
|
@@ -1286,6 +1522,7 @@ export type PropertyVariantSelect<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1286
1522
|
}, ExtArgs["result"]["propertyVariant"]>;
|
|
1287
1523
|
export type PropertyVariantSelectScalar = {
|
|
1288
1524
|
id?: boolean;
|
|
1525
|
+
tenantId?: boolean;
|
|
1289
1526
|
propertyId?: boolean;
|
|
1290
1527
|
name?: boolean;
|
|
1291
1528
|
description?: boolean;
|
|
@@ -1304,8 +1541,9 @@ export type PropertyVariantSelectScalar = {
|
|
|
1304
1541
|
createdAt?: boolean;
|
|
1305
1542
|
updatedAt?: boolean;
|
|
1306
1543
|
};
|
|
1307
|
-
export type PropertyVariantOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "propertyId" | "name" | "description" | "nBedrooms" | "nBathrooms" | "nParkingSpots" | "area" | "price" | "pricePerSqm" | "totalUnits" | "availableUnits" | "reservedUnits" | "soldUnits" | "status" | "isActive" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyVariant"]>;
|
|
1544
|
+
export type PropertyVariantOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "propertyId" | "name" | "description" | "nBedrooms" | "nBathrooms" | "nParkingSpots" | "area" | "price" | "pricePerSqm" | "totalUnits" | "availableUnits" | "reservedUnits" | "soldUnits" | "status" | "isActive" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyVariant"]>;
|
|
1308
1545
|
export type PropertyVariantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1546
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1309
1547
|
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
1310
1548
|
amenities?: boolean | Prisma.PropertyVariant$amenitiesArgs<ExtArgs>;
|
|
1311
1549
|
units?: boolean | Prisma.PropertyVariant$unitsArgs<ExtArgs>;
|
|
@@ -1315,6 +1553,7 @@ export type PropertyVariantInclude<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
1315
1553
|
export type $PropertyVariantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1316
1554
|
name: "PropertyVariant";
|
|
1317
1555
|
objects: {
|
|
1556
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
1318
1557
|
property: Prisma.$PropertyPayload<ExtArgs>;
|
|
1319
1558
|
amenities: Prisma.$PropertyVariantAmenityPayload<ExtArgs>[];
|
|
1320
1559
|
units: Prisma.$PropertyUnitPayload<ExtArgs>[];
|
|
@@ -1322,6 +1561,7 @@ export type $PropertyVariantPayload<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
1322
1561
|
};
|
|
1323
1562
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1324
1563
|
id: string;
|
|
1564
|
+
tenantId: string;
|
|
1325
1565
|
propertyId: string;
|
|
1326
1566
|
name: string;
|
|
1327
1567
|
description: string | null;
|
|
@@ -1616,6 +1856,7 @@ export interface PropertyVariantDelegate<ExtArgs extends runtime.Types.Extension
|
|
|
1616
1856
|
*/
|
|
1617
1857
|
export interface Prisma__PropertyVariantClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1618
1858
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1859
|
+
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>;
|
|
1619
1860
|
property<T extends Prisma.PropertyDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1620
1861
|
amenities<T extends Prisma.PropertyVariant$amenitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyVariant$amenitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1621
1862
|
units<T extends Prisma.PropertyVariant$unitsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyVariant$unitsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyUnitPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
@@ -1646,6 +1887,7 @@ export interface Prisma__PropertyVariantClient<T, Null = never, ExtArgs extends
|
|
|
1646
1887
|
*/
|
|
1647
1888
|
export interface PropertyVariantFieldRefs {
|
|
1648
1889
|
readonly id: Prisma.FieldRef<"PropertyVariant", 'String'>;
|
|
1890
|
+
readonly tenantId: Prisma.FieldRef<"PropertyVariant", 'String'>;
|
|
1649
1891
|
readonly propertyId: Prisma.FieldRef<"PropertyVariant", 'String'>;
|
|
1650
1892
|
readonly name: Prisma.FieldRef<"PropertyVariant", 'String'>;
|
|
1651
1893
|
readonly description: Prisma.FieldRef<"PropertyVariant", 'String'>;
|