@valentine-efagene/qshelter-common 2.0.152 → 2.0.154
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 +2 -0
- package/dist/generated/client/internal/prismaNamespace.js +2 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +2 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +2 -0
- package/dist/generated/client/models/Organization.d.ts +221 -0
- package/dist/generated/client/models/Property.d.ts +301 -1
- package/package.json +1 -1
- package/prisma/migrations/20260126031132_add_organization_id_to_property/migration.sql +8 -0
- package/prisma/schema.prisma +10 -2
|
@@ -25,6 +25,7 @@ export type PropertyMinAggregateOutputType = {
|
|
|
25
25
|
id: string | null;
|
|
26
26
|
tenantId: string | null;
|
|
27
27
|
userId: string | null;
|
|
28
|
+
organizationId: string | null;
|
|
28
29
|
title: string | null;
|
|
29
30
|
category: string | null;
|
|
30
31
|
propertyType: string | null;
|
|
@@ -47,6 +48,7 @@ export type PropertyMaxAggregateOutputType = {
|
|
|
47
48
|
id: string | null;
|
|
48
49
|
tenantId: string | null;
|
|
49
50
|
userId: string | null;
|
|
51
|
+
organizationId: string | null;
|
|
50
52
|
title: string | null;
|
|
51
53
|
category: string | null;
|
|
52
54
|
propertyType: string | null;
|
|
@@ -69,6 +71,7 @@ export type PropertyCountAggregateOutputType = {
|
|
|
69
71
|
id: number;
|
|
70
72
|
tenantId: number;
|
|
71
73
|
userId: number;
|
|
74
|
+
organizationId: number;
|
|
72
75
|
title: number;
|
|
73
76
|
category: number;
|
|
74
77
|
propertyType: number;
|
|
@@ -100,6 +103,7 @@ export type PropertyMinAggregateInputType = {
|
|
|
100
103
|
id?: true;
|
|
101
104
|
tenantId?: true;
|
|
102
105
|
userId?: true;
|
|
106
|
+
organizationId?: true;
|
|
103
107
|
title?: true;
|
|
104
108
|
category?: true;
|
|
105
109
|
propertyType?: true;
|
|
@@ -122,6 +126,7 @@ export type PropertyMaxAggregateInputType = {
|
|
|
122
126
|
id?: true;
|
|
123
127
|
tenantId?: true;
|
|
124
128
|
userId?: true;
|
|
129
|
+
organizationId?: true;
|
|
125
130
|
title?: true;
|
|
126
131
|
category?: true;
|
|
127
132
|
propertyType?: true;
|
|
@@ -144,6 +149,7 @@ export type PropertyCountAggregateInputType = {
|
|
|
144
149
|
id?: true;
|
|
145
150
|
tenantId?: true;
|
|
146
151
|
userId?: true;
|
|
152
|
+
organizationId?: true;
|
|
147
153
|
title?: true;
|
|
148
154
|
category?: true;
|
|
149
155
|
propertyType?: true;
|
|
@@ -243,6 +249,7 @@ export type PropertyGroupByOutputType = {
|
|
|
243
249
|
id: string;
|
|
244
250
|
tenantId: string;
|
|
245
251
|
userId: string;
|
|
252
|
+
organizationId: string | null;
|
|
246
253
|
title: string;
|
|
247
254
|
category: string;
|
|
248
255
|
propertyType: string;
|
|
@@ -276,6 +283,7 @@ export type PropertyWhereInput = {
|
|
|
276
283
|
id?: Prisma.StringFilter<"Property"> | string;
|
|
277
284
|
tenantId?: Prisma.StringFilter<"Property"> | string;
|
|
278
285
|
userId?: Prisma.StringFilter<"Property"> | string;
|
|
286
|
+
organizationId?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
279
287
|
title?: Prisma.StringFilter<"Property"> | string;
|
|
280
288
|
category?: Prisma.StringFilter<"Property"> | string;
|
|
281
289
|
propertyType?: Prisma.StringFilter<"Property"> | string;
|
|
@@ -295,6 +303,7 @@ export type PropertyWhereInput = {
|
|
|
295
303
|
updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
296
304
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
297
305
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
306
|
+
organization?: Prisma.XOR<Prisma.OrganizationNullableScalarRelationFilter, Prisma.OrganizationWhereInput> | null;
|
|
298
307
|
displayImage?: Prisma.XOR<Prisma.PropertyMediaNullableScalarRelationFilter, Prisma.PropertyMediaWhereInput> | null;
|
|
299
308
|
documents?: Prisma.PropertyDocumentListRelationFilter;
|
|
300
309
|
media?: Prisma.PropertyMediaListRelationFilter;
|
|
@@ -306,6 +315,7 @@ export type PropertyOrderByWithRelationInput = {
|
|
|
306
315
|
id?: Prisma.SortOrder;
|
|
307
316
|
tenantId?: Prisma.SortOrder;
|
|
308
317
|
userId?: Prisma.SortOrder;
|
|
318
|
+
organizationId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
309
319
|
title?: Prisma.SortOrder;
|
|
310
320
|
category?: Prisma.SortOrder;
|
|
311
321
|
propertyType?: Prisma.SortOrder;
|
|
@@ -325,6 +335,7 @@ export type PropertyOrderByWithRelationInput = {
|
|
|
325
335
|
updatedAt?: Prisma.SortOrder;
|
|
326
336
|
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
327
337
|
user?: Prisma.UserOrderByWithRelationInput;
|
|
338
|
+
organization?: Prisma.OrganizationOrderByWithRelationInput;
|
|
328
339
|
displayImage?: Prisma.PropertyMediaOrderByWithRelationInput;
|
|
329
340
|
documents?: Prisma.PropertyDocumentOrderByRelationAggregateInput;
|
|
330
341
|
media?: Prisma.PropertyMediaOrderByRelationAggregateInput;
|
|
@@ -340,6 +351,7 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
|
|
|
340
351
|
NOT?: Prisma.PropertyWhereInput | Prisma.PropertyWhereInput[];
|
|
341
352
|
tenantId?: Prisma.StringFilter<"Property"> | string;
|
|
342
353
|
userId?: Prisma.StringFilter<"Property"> | string;
|
|
354
|
+
organizationId?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
343
355
|
title?: Prisma.StringFilter<"Property"> | string;
|
|
344
356
|
category?: Prisma.StringFilter<"Property"> | string;
|
|
345
357
|
propertyType?: Prisma.StringFilter<"Property"> | string;
|
|
@@ -359,6 +371,7 @@ export type PropertyWhereUniqueInput = Prisma.AtLeast<{
|
|
|
359
371
|
updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
360
372
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
361
373
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
374
|
+
organization?: Prisma.XOR<Prisma.OrganizationNullableScalarRelationFilter, Prisma.OrganizationWhereInput> | null;
|
|
362
375
|
displayImage?: Prisma.XOR<Prisma.PropertyMediaNullableScalarRelationFilter, Prisma.PropertyMediaWhereInput> | null;
|
|
363
376
|
documents?: Prisma.PropertyDocumentListRelationFilter;
|
|
364
377
|
media?: Prisma.PropertyMediaListRelationFilter;
|
|
@@ -370,6 +383,7 @@ export type PropertyOrderByWithAggregationInput = {
|
|
|
370
383
|
id?: Prisma.SortOrder;
|
|
371
384
|
tenantId?: Prisma.SortOrder;
|
|
372
385
|
userId?: Prisma.SortOrder;
|
|
386
|
+
organizationId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
373
387
|
title?: Prisma.SortOrder;
|
|
374
388
|
category?: Prisma.SortOrder;
|
|
375
389
|
propertyType?: Prisma.SortOrder;
|
|
@@ -400,6 +414,7 @@ export type PropertyScalarWhereWithAggregatesInput = {
|
|
|
400
414
|
id?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
401
415
|
tenantId?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
402
416
|
userId?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
417
|
+
organizationId?: Prisma.StringNullableWithAggregatesFilter<"Property"> | string | null;
|
|
403
418
|
title?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
404
419
|
category?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
405
420
|
propertyType?: Prisma.StringWithAggregatesFilter<"Property"> | string;
|
|
@@ -438,6 +453,7 @@ export type PropertyCreateInput = {
|
|
|
438
453
|
updatedAt?: Date | string;
|
|
439
454
|
tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
|
|
440
455
|
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
456
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutPropertiesInput;
|
|
441
457
|
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
442
458
|
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
443
459
|
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
@@ -449,6 +465,7 @@ export type PropertyUncheckedCreateInput = {
|
|
|
449
465
|
id?: string;
|
|
450
466
|
tenantId: string;
|
|
451
467
|
userId: string;
|
|
468
|
+
organizationId?: string | null;
|
|
452
469
|
title: string;
|
|
453
470
|
category: string;
|
|
454
471
|
propertyType: string;
|
|
@@ -492,6 +509,7 @@ export type PropertyUpdateInput = {
|
|
|
492
509
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
493
510
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
494
511
|
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
512
|
+
organization?: Prisma.OrganizationUpdateOneWithoutPropertiesNestedInput;
|
|
495
513
|
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
496
514
|
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
497
515
|
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
@@ -503,6 +521,7 @@ export type PropertyUncheckedUpdateInput = {
|
|
|
503
521
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
504
522
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
505
523
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
524
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
506
525
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
507
526
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
508
527
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -530,6 +549,7 @@ export type PropertyCreateManyInput = {
|
|
|
530
549
|
id?: string;
|
|
531
550
|
tenantId: string;
|
|
532
551
|
userId: string;
|
|
552
|
+
organizationId?: string | null;
|
|
533
553
|
title: string;
|
|
534
554
|
category: string;
|
|
535
555
|
propertyType: string;
|
|
@@ -571,6 +591,7 @@ export type PropertyUncheckedUpdateManyInput = {
|
|
|
571
591
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
572
592
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
573
593
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
594
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
574
595
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
575
596
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
576
597
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -606,6 +627,7 @@ export type PropertyCountOrderByAggregateInput = {
|
|
|
606
627
|
id?: Prisma.SortOrder;
|
|
607
628
|
tenantId?: Prisma.SortOrder;
|
|
608
629
|
userId?: Prisma.SortOrder;
|
|
630
|
+
organizationId?: Prisma.SortOrder;
|
|
609
631
|
title?: Prisma.SortOrder;
|
|
610
632
|
category?: Prisma.SortOrder;
|
|
611
633
|
propertyType?: Prisma.SortOrder;
|
|
@@ -632,6 +654,7 @@ export type PropertyMaxOrderByAggregateInput = {
|
|
|
632
654
|
id?: Prisma.SortOrder;
|
|
633
655
|
tenantId?: Prisma.SortOrder;
|
|
634
656
|
userId?: Prisma.SortOrder;
|
|
657
|
+
organizationId?: Prisma.SortOrder;
|
|
635
658
|
title?: Prisma.SortOrder;
|
|
636
659
|
category?: Prisma.SortOrder;
|
|
637
660
|
propertyType?: Prisma.SortOrder;
|
|
@@ -654,6 +677,7 @@ export type PropertyMinOrderByAggregateInput = {
|
|
|
654
677
|
id?: Prisma.SortOrder;
|
|
655
678
|
tenantId?: Prisma.SortOrder;
|
|
656
679
|
userId?: Prisma.SortOrder;
|
|
680
|
+
organizationId?: Prisma.SortOrder;
|
|
657
681
|
title?: Prisma.SortOrder;
|
|
658
682
|
category?: Prisma.SortOrder;
|
|
659
683
|
propertyType?: Prisma.SortOrder;
|
|
@@ -718,6 +742,44 @@ export type PropertyUncheckedUpdateManyWithoutUserNestedInput = {
|
|
|
718
742
|
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutUserInput | Prisma.PropertyUpdateManyWithWhereWithoutUserInput[];
|
|
719
743
|
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
|
|
720
744
|
};
|
|
745
|
+
export type PropertyCreateNestedManyWithoutOrganizationInput = {
|
|
746
|
+
create?: Prisma.XOR<Prisma.PropertyCreateWithoutOrganizationInput, Prisma.PropertyUncheckedCreateWithoutOrganizationInput> | Prisma.PropertyCreateWithoutOrganizationInput[] | Prisma.PropertyUncheckedCreateWithoutOrganizationInput[];
|
|
747
|
+
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutOrganizationInput | Prisma.PropertyCreateOrConnectWithoutOrganizationInput[];
|
|
748
|
+
createMany?: Prisma.PropertyCreateManyOrganizationInputEnvelope;
|
|
749
|
+
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
750
|
+
};
|
|
751
|
+
export type PropertyUncheckedCreateNestedManyWithoutOrganizationInput = {
|
|
752
|
+
create?: Prisma.XOR<Prisma.PropertyCreateWithoutOrganizationInput, Prisma.PropertyUncheckedCreateWithoutOrganizationInput> | Prisma.PropertyCreateWithoutOrganizationInput[] | Prisma.PropertyUncheckedCreateWithoutOrganizationInput[];
|
|
753
|
+
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutOrganizationInput | Prisma.PropertyCreateOrConnectWithoutOrganizationInput[];
|
|
754
|
+
createMany?: Prisma.PropertyCreateManyOrganizationInputEnvelope;
|
|
755
|
+
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
756
|
+
};
|
|
757
|
+
export type PropertyUpdateManyWithoutOrganizationNestedInput = {
|
|
758
|
+
create?: Prisma.XOR<Prisma.PropertyCreateWithoutOrganizationInput, Prisma.PropertyUncheckedCreateWithoutOrganizationInput> | Prisma.PropertyCreateWithoutOrganizationInput[] | Prisma.PropertyUncheckedCreateWithoutOrganizationInput[];
|
|
759
|
+
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutOrganizationInput | Prisma.PropertyCreateOrConnectWithoutOrganizationInput[];
|
|
760
|
+
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.PropertyUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
761
|
+
createMany?: Prisma.PropertyCreateManyOrganizationInputEnvelope;
|
|
762
|
+
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
763
|
+
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
764
|
+
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
765
|
+
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
766
|
+
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.PropertyUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
767
|
+
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutOrganizationInput | Prisma.PropertyUpdateManyWithWhereWithoutOrganizationInput[];
|
|
768
|
+
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
|
|
769
|
+
};
|
|
770
|
+
export type PropertyUncheckedUpdateManyWithoutOrganizationNestedInput = {
|
|
771
|
+
create?: Prisma.XOR<Prisma.PropertyCreateWithoutOrganizationInput, Prisma.PropertyUncheckedCreateWithoutOrganizationInput> | Prisma.PropertyCreateWithoutOrganizationInput[] | Prisma.PropertyUncheckedCreateWithoutOrganizationInput[];
|
|
772
|
+
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutOrganizationInput | Prisma.PropertyCreateOrConnectWithoutOrganizationInput[];
|
|
773
|
+
upsert?: Prisma.PropertyUpsertWithWhereUniqueWithoutOrganizationInput | Prisma.PropertyUpsertWithWhereUniqueWithoutOrganizationInput[];
|
|
774
|
+
createMany?: Prisma.PropertyCreateManyOrganizationInputEnvelope;
|
|
775
|
+
set?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
776
|
+
disconnect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
777
|
+
delete?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
778
|
+
connect?: Prisma.PropertyWhereUniqueInput | Prisma.PropertyWhereUniqueInput[];
|
|
779
|
+
update?: Prisma.PropertyUpdateWithWhereUniqueWithoutOrganizationInput | Prisma.PropertyUpdateWithWhereUniqueWithoutOrganizationInput[];
|
|
780
|
+
updateMany?: Prisma.PropertyUpdateManyWithWhereWithoutOrganizationInput | Prisma.PropertyUpdateManyWithWhereWithoutOrganizationInput[];
|
|
781
|
+
deleteMany?: Prisma.PropertyScalarWhereInput | Prisma.PropertyScalarWhereInput[];
|
|
782
|
+
};
|
|
721
783
|
export type PropertyCreateNestedManyWithoutTenantInput = {
|
|
722
784
|
create?: Prisma.XOR<Prisma.PropertyCreateWithoutTenantInput, Prisma.PropertyUncheckedCreateWithoutTenantInput> | Prisma.PropertyCreateWithoutTenantInput[] | Prisma.PropertyUncheckedCreateWithoutTenantInput[];
|
|
723
785
|
connectOrCreate?: Prisma.PropertyCreateOrConnectWithoutTenantInput | Prisma.PropertyCreateOrConnectWithoutTenantInput[];
|
|
@@ -883,6 +945,7 @@ export type PropertyCreateWithoutUserInput = {
|
|
|
883
945
|
createdAt?: Date | string;
|
|
884
946
|
updatedAt?: Date | string;
|
|
885
947
|
tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
|
|
948
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutPropertiesInput;
|
|
886
949
|
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
887
950
|
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
888
951
|
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
@@ -893,6 +956,7 @@ export type PropertyCreateWithoutUserInput = {
|
|
|
893
956
|
export type PropertyUncheckedCreateWithoutUserInput = {
|
|
894
957
|
id?: string;
|
|
895
958
|
tenantId: string;
|
|
959
|
+
organizationId?: string | null;
|
|
896
960
|
title: string;
|
|
897
961
|
category: string;
|
|
898
962
|
propertyType: string;
|
|
@@ -944,6 +1008,7 @@ export type PropertyScalarWhereInput = {
|
|
|
944
1008
|
id?: Prisma.StringFilter<"Property"> | string;
|
|
945
1009
|
tenantId?: Prisma.StringFilter<"Property"> | string;
|
|
946
1010
|
userId?: Prisma.StringFilter<"Property"> | string;
|
|
1011
|
+
organizationId?: Prisma.StringNullableFilter<"Property"> | string | null;
|
|
947
1012
|
title?: Prisma.StringFilter<"Property"> | string;
|
|
948
1013
|
category?: Prisma.StringFilter<"Property"> | string;
|
|
949
1014
|
propertyType?: Prisma.StringFilter<"Property"> | string;
|
|
@@ -962,6 +1027,81 @@ export type PropertyScalarWhereInput = {
|
|
|
962
1027
|
createdAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
963
1028
|
updatedAt?: Prisma.DateTimeFilter<"Property"> | Date | string;
|
|
964
1029
|
};
|
|
1030
|
+
export type PropertyCreateWithoutOrganizationInput = {
|
|
1031
|
+
id?: string;
|
|
1032
|
+
title: string;
|
|
1033
|
+
category: string;
|
|
1034
|
+
propertyType: string;
|
|
1035
|
+
country: string;
|
|
1036
|
+
currency: string;
|
|
1037
|
+
city: string;
|
|
1038
|
+
district?: string | null;
|
|
1039
|
+
zipCode?: string | null;
|
|
1040
|
+
streetAddress?: string | null;
|
|
1041
|
+
longitude?: number | null;
|
|
1042
|
+
latitude?: number | null;
|
|
1043
|
+
status?: $Enums.PropertyStatus;
|
|
1044
|
+
description?: string | null;
|
|
1045
|
+
publishedAt?: Date | string | null;
|
|
1046
|
+
createdAt?: Date | string;
|
|
1047
|
+
updatedAt?: Date | string;
|
|
1048
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
|
|
1049
|
+
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1050
|
+
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1051
|
+
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1052
|
+
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
1053
|
+
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
1054
|
+
paymentMethods?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput;
|
|
1055
|
+
variants?: Prisma.PropertyVariantCreateNestedManyWithoutPropertyInput;
|
|
1056
|
+
};
|
|
1057
|
+
export type PropertyUncheckedCreateWithoutOrganizationInput = {
|
|
1058
|
+
id?: string;
|
|
1059
|
+
tenantId: string;
|
|
1060
|
+
userId: string;
|
|
1061
|
+
title: string;
|
|
1062
|
+
category: string;
|
|
1063
|
+
propertyType: string;
|
|
1064
|
+
country: string;
|
|
1065
|
+
currency: string;
|
|
1066
|
+
city: string;
|
|
1067
|
+
district?: string | null;
|
|
1068
|
+
zipCode?: string | null;
|
|
1069
|
+
streetAddress?: string | null;
|
|
1070
|
+
longitude?: number | null;
|
|
1071
|
+
latitude?: number | null;
|
|
1072
|
+
status?: $Enums.PropertyStatus;
|
|
1073
|
+
description?: string | null;
|
|
1074
|
+
displayImageId?: string | null;
|
|
1075
|
+
publishedAt?: Date | string | null;
|
|
1076
|
+
createdAt?: Date | string;
|
|
1077
|
+
updatedAt?: Date | string;
|
|
1078
|
+
documents?: Prisma.PropertyDocumentUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1079
|
+
media?: Prisma.PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1080
|
+
amenities?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1081
|
+
paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1082
|
+
variants?: Prisma.PropertyVariantUncheckedCreateNestedManyWithoutPropertyInput;
|
|
1083
|
+
};
|
|
1084
|
+
export type PropertyCreateOrConnectWithoutOrganizationInput = {
|
|
1085
|
+
where: Prisma.PropertyWhereUniqueInput;
|
|
1086
|
+
create: Prisma.XOR<Prisma.PropertyCreateWithoutOrganizationInput, Prisma.PropertyUncheckedCreateWithoutOrganizationInput>;
|
|
1087
|
+
};
|
|
1088
|
+
export type PropertyCreateManyOrganizationInputEnvelope = {
|
|
1089
|
+
data: Prisma.PropertyCreateManyOrganizationInput | Prisma.PropertyCreateManyOrganizationInput[];
|
|
1090
|
+
skipDuplicates?: boolean;
|
|
1091
|
+
};
|
|
1092
|
+
export type PropertyUpsertWithWhereUniqueWithoutOrganizationInput = {
|
|
1093
|
+
where: Prisma.PropertyWhereUniqueInput;
|
|
1094
|
+
update: Prisma.XOR<Prisma.PropertyUpdateWithoutOrganizationInput, Prisma.PropertyUncheckedUpdateWithoutOrganizationInput>;
|
|
1095
|
+
create: Prisma.XOR<Prisma.PropertyCreateWithoutOrganizationInput, Prisma.PropertyUncheckedCreateWithoutOrganizationInput>;
|
|
1096
|
+
};
|
|
1097
|
+
export type PropertyUpdateWithWhereUniqueWithoutOrganizationInput = {
|
|
1098
|
+
where: Prisma.PropertyWhereUniqueInput;
|
|
1099
|
+
data: Prisma.XOR<Prisma.PropertyUpdateWithoutOrganizationInput, Prisma.PropertyUncheckedUpdateWithoutOrganizationInput>;
|
|
1100
|
+
};
|
|
1101
|
+
export type PropertyUpdateManyWithWhereWithoutOrganizationInput = {
|
|
1102
|
+
where: Prisma.PropertyScalarWhereInput;
|
|
1103
|
+
data: Prisma.XOR<Prisma.PropertyUpdateManyMutationInput, Prisma.PropertyUncheckedUpdateManyWithoutOrganizationInput>;
|
|
1104
|
+
};
|
|
965
1105
|
export type PropertyCreateWithoutTenantInput = {
|
|
966
1106
|
id?: string;
|
|
967
1107
|
title: string;
|
|
@@ -981,6 +1121,7 @@ export type PropertyCreateWithoutTenantInput = {
|
|
|
981
1121
|
createdAt?: Date | string;
|
|
982
1122
|
updatedAt?: Date | string;
|
|
983
1123
|
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1124
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutPropertiesInput;
|
|
984
1125
|
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
985
1126
|
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
986
1127
|
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
@@ -991,6 +1132,7 @@ export type PropertyCreateWithoutTenantInput = {
|
|
|
991
1132
|
export type PropertyUncheckedCreateWithoutTenantInput = {
|
|
992
1133
|
id?: string;
|
|
993
1134
|
userId: string;
|
|
1135
|
+
organizationId?: string | null;
|
|
994
1136
|
title: string;
|
|
995
1137
|
category: string;
|
|
996
1138
|
propertyType: string;
|
|
@@ -1055,6 +1197,7 @@ export type PropertyCreateWithoutMediaInput = {
|
|
|
1055
1197
|
updatedAt?: Date | string;
|
|
1056
1198
|
tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
|
|
1057
1199
|
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1200
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutPropertiesInput;
|
|
1058
1201
|
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1059
1202
|
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1060
1203
|
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
@@ -1065,6 +1208,7 @@ export type PropertyUncheckedCreateWithoutMediaInput = {
|
|
|
1065
1208
|
id?: string;
|
|
1066
1209
|
tenantId: string;
|
|
1067
1210
|
userId: string;
|
|
1211
|
+
organizationId?: string | null;
|
|
1068
1212
|
title: string;
|
|
1069
1213
|
category: string;
|
|
1070
1214
|
propertyType: string;
|
|
@@ -1111,6 +1255,7 @@ export type PropertyCreateWithoutDisplayImageInput = {
|
|
|
1111
1255
|
updatedAt?: Date | string;
|
|
1112
1256
|
tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
|
|
1113
1257
|
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1258
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutPropertiesInput;
|
|
1114
1259
|
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1115
1260
|
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
1116
1261
|
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
@@ -1121,6 +1266,7 @@ export type PropertyUncheckedCreateWithoutDisplayImageInput = {
|
|
|
1121
1266
|
id?: string;
|
|
1122
1267
|
tenantId: string;
|
|
1123
1268
|
userId: string;
|
|
1269
|
+
organizationId?: string | null;
|
|
1124
1270
|
title: string;
|
|
1125
1271
|
category: string;
|
|
1126
1272
|
propertyType: string;
|
|
@@ -1180,6 +1326,7 @@ export type PropertyUpdateWithoutMediaInput = {
|
|
|
1180
1326
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1181
1327
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1182
1328
|
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1329
|
+
organization?: Prisma.OrganizationUpdateOneWithoutPropertiesNestedInput;
|
|
1183
1330
|
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1184
1331
|
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1185
1332
|
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
@@ -1190,6 +1337,7 @@ export type PropertyUncheckedUpdateWithoutMediaInput = {
|
|
|
1190
1337
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1191
1338
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1192
1339
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1340
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1193
1341
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1194
1342
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1195
1343
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1245,6 +1393,7 @@ export type PropertyCreateWithoutDocumentsInput = {
|
|
|
1245
1393
|
updatedAt?: Date | string;
|
|
1246
1394
|
tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
|
|
1247
1395
|
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1396
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutPropertiesInput;
|
|
1248
1397
|
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1249
1398
|
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
1250
1399
|
amenities?: Prisma.PropertyAmenityCreateNestedManyWithoutPropertyInput;
|
|
@@ -1255,6 +1404,7 @@ export type PropertyUncheckedCreateWithoutDocumentsInput = {
|
|
|
1255
1404
|
id?: string;
|
|
1256
1405
|
tenantId: string;
|
|
1257
1406
|
userId: string;
|
|
1407
|
+
organizationId?: string | null;
|
|
1258
1408
|
title: string;
|
|
1259
1409
|
category: string;
|
|
1260
1410
|
propertyType: string;
|
|
@@ -1310,6 +1460,7 @@ export type PropertyUpdateWithoutDocumentsInput = {
|
|
|
1310
1460
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1311
1461
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1312
1462
|
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1463
|
+
organization?: Prisma.OrganizationUpdateOneWithoutPropertiesNestedInput;
|
|
1313
1464
|
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1314
1465
|
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
1315
1466
|
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
@@ -1320,6 +1471,7 @@ export type PropertyUncheckedUpdateWithoutDocumentsInput = {
|
|
|
1320
1471
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1321
1472
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1322
1473
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1474
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1323
1475
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1324
1476
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1325
1477
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1362,6 +1514,7 @@ export type PropertyCreateWithoutVariantsInput = {
|
|
|
1362
1514
|
updatedAt?: Date | string;
|
|
1363
1515
|
tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
|
|
1364
1516
|
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1517
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutPropertiesInput;
|
|
1365
1518
|
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1366
1519
|
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1367
1520
|
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
@@ -1372,6 +1525,7 @@ export type PropertyUncheckedCreateWithoutVariantsInput = {
|
|
|
1372
1525
|
id?: string;
|
|
1373
1526
|
tenantId: string;
|
|
1374
1527
|
userId: string;
|
|
1528
|
+
organizationId?: string | null;
|
|
1375
1529
|
title: string;
|
|
1376
1530
|
category: string;
|
|
1377
1531
|
propertyType: string;
|
|
@@ -1427,6 +1581,7 @@ export type PropertyUpdateWithoutVariantsInput = {
|
|
|
1427
1581
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1428
1582
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1429
1583
|
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1584
|
+
organization?: Prisma.OrganizationUpdateOneWithoutPropertiesNestedInput;
|
|
1430
1585
|
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1431
1586
|
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1432
1587
|
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
@@ -1437,6 +1592,7 @@ export type PropertyUncheckedUpdateWithoutVariantsInput = {
|
|
|
1437
1592
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1438
1593
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1439
1594
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1595
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1440
1596
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1441
1597
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1442
1598
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1479,6 +1635,7 @@ export type PropertyCreateWithoutAmenitiesInput = {
|
|
|
1479
1635
|
updatedAt?: Date | string;
|
|
1480
1636
|
tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
|
|
1481
1637
|
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1638
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutPropertiesInput;
|
|
1482
1639
|
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1483
1640
|
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1484
1641
|
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
@@ -1489,6 +1646,7 @@ export type PropertyUncheckedCreateWithoutAmenitiesInput = {
|
|
|
1489
1646
|
id?: string;
|
|
1490
1647
|
tenantId: string;
|
|
1491
1648
|
userId: string;
|
|
1649
|
+
organizationId?: string | null;
|
|
1492
1650
|
title: string;
|
|
1493
1651
|
category: string;
|
|
1494
1652
|
propertyType: string;
|
|
@@ -1544,6 +1702,7 @@ export type PropertyUpdateWithoutAmenitiesInput = {
|
|
|
1544
1702
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1545
1703
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1546
1704
|
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1705
|
+
organization?: Prisma.OrganizationUpdateOneWithoutPropertiesNestedInput;
|
|
1547
1706
|
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1548
1707
|
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1549
1708
|
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
@@ -1554,6 +1713,7 @@ export type PropertyUncheckedUpdateWithoutAmenitiesInput = {
|
|
|
1554
1713
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1555
1714
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1556
1715
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1716
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1557
1717
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1558
1718
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1559
1719
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1596,6 +1756,7 @@ export type PropertyCreateWithoutPaymentMethodsInput = {
|
|
|
1596
1756
|
updatedAt?: Date | string;
|
|
1597
1757
|
tenant: Prisma.TenantCreateNestedOneWithoutPropertiesInput;
|
|
1598
1758
|
user: Prisma.UserCreateNestedOneWithoutPropertiesInput;
|
|
1759
|
+
organization?: Prisma.OrganizationCreateNestedOneWithoutPropertiesInput;
|
|
1599
1760
|
displayImage?: Prisma.PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput;
|
|
1600
1761
|
documents?: Prisma.PropertyDocumentCreateNestedManyWithoutPropertyInput;
|
|
1601
1762
|
media?: Prisma.PropertyMediaCreateNestedManyWithoutPropertyInput;
|
|
@@ -1606,6 +1767,7 @@ export type PropertyUncheckedCreateWithoutPaymentMethodsInput = {
|
|
|
1606
1767
|
id?: string;
|
|
1607
1768
|
tenantId: string;
|
|
1608
1769
|
userId: string;
|
|
1770
|
+
organizationId?: string | null;
|
|
1609
1771
|
title: string;
|
|
1610
1772
|
category: string;
|
|
1611
1773
|
propertyType: string;
|
|
@@ -1661,6 +1823,7 @@ export type PropertyUpdateWithoutPaymentMethodsInput = {
|
|
|
1661
1823
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1662
1824
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1663
1825
|
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1826
|
+
organization?: Prisma.OrganizationUpdateOneWithoutPropertiesNestedInput;
|
|
1664
1827
|
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1665
1828
|
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1666
1829
|
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
@@ -1671,6 +1834,7 @@ export type PropertyUncheckedUpdateWithoutPaymentMethodsInput = {
|
|
|
1671
1834
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1672
1835
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1673
1836
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1837
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1674
1838
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1675
1839
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1676
1840
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1696,6 +1860,7 @@ export type PropertyUncheckedUpdateWithoutPaymentMethodsInput = {
|
|
|
1696
1860
|
export type PropertyCreateManyUserInput = {
|
|
1697
1861
|
id?: string;
|
|
1698
1862
|
tenantId: string;
|
|
1863
|
+
organizationId?: string | null;
|
|
1699
1864
|
title: string;
|
|
1700
1865
|
category: string;
|
|
1701
1866
|
propertyType: string;
|
|
@@ -1733,6 +1898,7 @@ export type PropertyUpdateWithoutUserInput = {
|
|
|
1733
1898
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1734
1899
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1735
1900
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1901
|
+
organization?: Prisma.OrganizationUpdateOneWithoutPropertiesNestedInput;
|
|
1736
1902
|
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1737
1903
|
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1738
1904
|
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
@@ -1743,6 +1909,7 @@ export type PropertyUpdateWithoutUserInput = {
|
|
|
1743
1909
|
export type PropertyUncheckedUpdateWithoutUserInput = {
|
|
1744
1910
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1745
1911
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1912
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1746
1913
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1747
1914
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1748
1915
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1769,6 +1936,105 @@ export type PropertyUncheckedUpdateWithoutUserInput = {
|
|
|
1769
1936
|
export type PropertyUncheckedUpdateManyWithoutUserInput = {
|
|
1770
1937
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1771
1938
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1939
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1940
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1941
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1942
|
+
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1943
|
+
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1944
|
+
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1945
|
+
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1946
|
+
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1947
|
+
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1948
|
+
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1949
|
+
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1950
|
+
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1951
|
+
status?: Prisma.EnumPropertyStatusFieldUpdateOperationsInput | $Enums.PropertyStatus;
|
|
1952
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1953
|
+
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1954
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1955
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1956
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1957
|
+
};
|
|
1958
|
+
export type PropertyCreateManyOrganizationInput = {
|
|
1959
|
+
id?: string;
|
|
1960
|
+
tenantId: string;
|
|
1961
|
+
userId: string;
|
|
1962
|
+
title: string;
|
|
1963
|
+
category: string;
|
|
1964
|
+
propertyType: string;
|
|
1965
|
+
country: string;
|
|
1966
|
+
currency: string;
|
|
1967
|
+
city: string;
|
|
1968
|
+
district?: string | null;
|
|
1969
|
+
zipCode?: string | null;
|
|
1970
|
+
streetAddress?: string | null;
|
|
1971
|
+
longitude?: number | null;
|
|
1972
|
+
latitude?: number | null;
|
|
1973
|
+
status?: $Enums.PropertyStatus;
|
|
1974
|
+
description?: string | null;
|
|
1975
|
+
displayImageId?: string | null;
|
|
1976
|
+
publishedAt?: Date | string | null;
|
|
1977
|
+
createdAt?: Date | string;
|
|
1978
|
+
updatedAt?: Date | string;
|
|
1979
|
+
};
|
|
1980
|
+
export type PropertyUpdateWithoutOrganizationInput = {
|
|
1981
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1982
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1983
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1984
|
+
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1985
|
+
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1986
|
+
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1987
|
+
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1988
|
+
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1989
|
+
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1990
|
+
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1991
|
+
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1992
|
+
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1993
|
+
status?: Prisma.EnumPropertyStatusFieldUpdateOperationsInput | $Enums.PropertyStatus;
|
|
1994
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1995
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1996
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1997
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1998
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1999
|
+
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
2000
|
+
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
2001
|
+
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
2002
|
+
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
2003
|
+
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
2004
|
+
paymentMethods?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPropertyNestedInput;
|
|
2005
|
+
variants?: Prisma.PropertyVariantUpdateManyWithoutPropertyNestedInput;
|
|
2006
|
+
};
|
|
2007
|
+
export type PropertyUncheckedUpdateWithoutOrganizationInput = {
|
|
2008
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2009
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2010
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2011
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2012
|
+
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2013
|
+
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2014
|
+
country?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2015
|
+
currency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2016
|
+
city?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2017
|
+
district?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2018
|
+
zipCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2019
|
+
streetAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2020
|
+
longitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2021
|
+
latitude?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2022
|
+
status?: Prisma.EnumPropertyStatusFieldUpdateOperationsInput | $Enums.PropertyStatus;
|
|
2023
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2024
|
+
displayImageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2025
|
+
publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2026
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2027
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
2028
|
+
documents?: Prisma.PropertyDocumentUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2029
|
+
media?: Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2030
|
+
amenities?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2031
|
+
paymentMethods?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2032
|
+
variants?: Prisma.PropertyVariantUncheckedUpdateManyWithoutPropertyNestedInput;
|
|
2033
|
+
};
|
|
2034
|
+
export type PropertyUncheckedUpdateManyWithoutOrganizationInput = {
|
|
2035
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2036
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2037
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1772
2038
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1773
2039
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1774
2040
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1790,6 +2056,7 @@ export type PropertyUncheckedUpdateManyWithoutUserInput = {
|
|
|
1790
2056
|
export type PropertyCreateManyTenantInput = {
|
|
1791
2057
|
id?: string;
|
|
1792
2058
|
userId: string;
|
|
2059
|
+
organizationId?: string | null;
|
|
1793
2060
|
title: string;
|
|
1794
2061
|
category: string;
|
|
1795
2062
|
propertyType: string;
|
|
@@ -1827,6 +2094,7 @@ export type PropertyUpdateWithoutTenantInput = {
|
|
|
1827
2094
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1828
2095
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1829
2096
|
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
2097
|
+
organization?: Prisma.OrganizationUpdateOneWithoutPropertiesNestedInput;
|
|
1830
2098
|
displayImage?: Prisma.PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput;
|
|
1831
2099
|
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1832
2100
|
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
@@ -1837,6 +2105,7 @@ export type PropertyUpdateWithoutTenantInput = {
|
|
|
1837
2105
|
export type PropertyUncheckedUpdateWithoutTenantInput = {
|
|
1838
2106
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1839
2107
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2108
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1840
2109
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1841
2110
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1842
2111
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1863,6 +2132,7 @@ export type PropertyUncheckedUpdateWithoutTenantInput = {
|
|
|
1863
2132
|
export type PropertyUncheckedUpdateManyWithoutTenantInput = {
|
|
1864
2133
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1865
2134
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2135
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1866
2136
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1867
2137
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1868
2138
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1885,6 +2155,7 @@ export type PropertyCreateManyDisplayImageInput = {
|
|
|
1885
2155
|
id?: string;
|
|
1886
2156
|
tenantId: string;
|
|
1887
2157
|
userId: string;
|
|
2158
|
+
organizationId?: string | null;
|
|
1888
2159
|
title: string;
|
|
1889
2160
|
category: string;
|
|
1890
2161
|
propertyType: string;
|
|
@@ -1922,6 +2193,7 @@ export type PropertyUpdateWithoutDisplayImageInput = {
|
|
|
1922
2193
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1923
2194
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
1924
2195
|
user?: Prisma.UserUpdateOneRequiredWithoutPropertiesNestedInput;
|
|
2196
|
+
organization?: Prisma.OrganizationUpdateOneWithoutPropertiesNestedInput;
|
|
1925
2197
|
documents?: Prisma.PropertyDocumentUpdateManyWithoutPropertyNestedInput;
|
|
1926
2198
|
media?: Prisma.PropertyMediaUpdateManyWithoutPropertyNestedInput;
|
|
1927
2199
|
amenities?: Prisma.PropertyAmenityUpdateManyWithoutPropertyNestedInput;
|
|
@@ -1932,6 +2204,7 @@ export type PropertyUncheckedUpdateWithoutDisplayImageInput = {
|
|
|
1932
2204
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1933
2205
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1934
2206
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2207
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1935
2208
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1936
2209
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1937
2210
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1958,6 +2231,7 @@ export type PropertyUncheckedUpdateManyWithoutDisplayImageInput = {
|
|
|
1958
2231
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1959
2232
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1960
2233
|
userId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2234
|
+
organizationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1961
2235
|
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1962
2236
|
category?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1963
2237
|
propertyType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -2035,6 +2309,7 @@ export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
2035
2309
|
id?: boolean;
|
|
2036
2310
|
tenantId?: boolean;
|
|
2037
2311
|
userId?: boolean;
|
|
2312
|
+
organizationId?: boolean;
|
|
2038
2313
|
title?: boolean;
|
|
2039
2314
|
category?: boolean;
|
|
2040
2315
|
propertyType?: boolean;
|
|
@@ -2054,6 +2329,7 @@ export type PropertySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
2054
2329
|
updatedAt?: boolean;
|
|
2055
2330
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
2056
2331
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
2332
|
+
organization?: boolean | Prisma.Property$organizationArgs<ExtArgs>;
|
|
2057
2333
|
displayImage?: boolean | Prisma.Property$displayImageArgs<ExtArgs>;
|
|
2058
2334
|
documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
|
|
2059
2335
|
media?: boolean | Prisma.Property$mediaArgs<ExtArgs>;
|
|
@@ -2066,6 +2342,7 @@ export type PropertySelectScalar = {
|
|
|
2066
2342
|
id?: boolean;
|
|
2067
2343
|
tenantId?: boolean;
|
|
2068
2344
|
userId?: boolean;
|
|
2345
|
+
organizationId?: boolean;
|
|
2069
2346
|
title?: boolean;
|
|
2070
2347
|
category?: boolean;
|
|
2071
2348
|
propertyType?: boolean;
|
|
@@ -2084,10 +2361,11 @@ export type PropertySelectScalar = {
|
|
|
2084
2361
|
createdAt?: boolean;
|
|
2085
2362
|
updatedAt?: boolean;
|
|
2086
2363
|
};
|
|
2087
|
-
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" | "publishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["property"]>;
|
|
2364
|
+
export type PropertyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "userId" | "organizationId" | "title" | "category" | "propertyType" | "country" | "currency" | "city" | "district" | "zipCode" | "streetAddress" | "longitude" | "latitude" | "status" | "description" | "displayImageId" | "publishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["property"]>;
|
|
2088
2365
|
export type PropertyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2089
2366
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
2090
2367
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
2368
|
+
organization?: boolean | Prisma.Property$organizationArgs<ExtArgs>;
|
|
2091
2369
|
displayImage?: boolean | Prisma.Property$displayImageArgs<ExtArgs>;
|
|
2092
2370
|
documents?: boolean | Prisma.Property$documentsArgs<ExtArgs>;
|
|
2093
2371
|
media?: boolean | Prisma.Property$mediaArgs<ExtArgs>;
|
|
@@ -2101,6 +2379,7 @@ export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
2101
2379
|
objects: {
|
|
2102
2380
|
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
2103
2381
|
user: Prisma.$UserPayload<ExtArgs>;
|
|
2382
|
+
organization: Prisma.$OrganizationPayload<ExtArgs> | null;
|
|
2104
2383
|
displayImage: Prisma.$PropertyMediaPayload<ExtArgs> | null;
|
|
2105
2384
|
documents: Prisma.$PropertyDocumentPayload<ExtArgs>[];
|
|
2106
2385
|
media: Prisma.$PropertyMediaPayload<ExtArgs>[];
|
|
@@ -2112,6 +2391,7 @@ export type $PropertyPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
2112
2391
|
id: string;
|
|
2113
2392
|
tenantId: string;
|
|
2114
2393
|
userId: string;
|
|
2394
|
+
organizationId: string | null;
|
|
2115
2395
|
title: string;
|
|
2116
2396
|
category: string;
|
|
2117
2397
|
propertyType: string;
|
|
@@ -2408,6 +2688,7 @@ export interface Prisma__PropertyClient<T, Null = never, ExtArgs extends runtime
|
|
|
2408
2688
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
2409
2689
|
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>;
|
|
2410
2690
|
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>;
|
|
2691
|
+
organization<T extends Prisma.Property$organizationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Property$organizationArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2411
2692
|
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>;
|
|
2412
2693
|
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>;
|
|
2413
2694
|
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>;
|
|
@@ -2442,6 +2723,7 @@ export interface PropertyFieldRefs {
|
|
|
2442
2723
|
readonly id: Prisma.FieldRef<"Property", 'String'>;
|
|
2443
2724
|
readonly tenantId: Prisma.FieldRef<"Property", 'String'>;
|
|
2444
2725
|
readonly userId: Prisma.FieldRef<"Property", 'String'>;
|
|
2726
|
+
readonly organizationId: Prisma.FieldRef<"Property", 'String'>;
|
|
2445
2727
|
readonly title: Prisma.FieldRef<"Property", 'String'>;
|
|
2446
2728
|
readonly category: Prisma.FieldRef<"Property", 'String'>;
|
|
2447
2729
|
readonly propertyType: Prisma.FieldRef<"Property", 'String'>;
|
|
@@ -2786,6 +3068,24 @@ export type PropertyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
2786
3068
|
*/
|
|
2787
3069
|
limit?: number;
|
|
2788
3070
|
};
|
|
3071
|
+
/**
|
|
3072
|
+
* Property.organization
|
|
3073
|
+
*/
|
|
3074
|
+
export type Property$organizationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3075
|
+
/**
|
|
3076
|
+
* Select specific fields to fetch from the Organization
|
|
3077
|
+
*/
|
|
3078
|
+
select?: Prisma.OrganizationSelect<ExtArgs> | null;
|
|
3079
|
+
/**
|
|
3080
|
+
* Omit specific fields from the Organization
|
|
3081
|
+
*/
|
|
3082
|
+
omit?: Prisma.OrganizationOmit<ExtArgs> | null;
|
|
3083
|
+
/**
|
|
3084
|
+
* Choose, which related nodes to fetch as well
|
|
3085
|
+
*/
|
|
3086
|
+
include?: Prisma.OrganizationInclude<ExtArgs> | null;
|
|
3087
|
+
where?: Prisma.OrganizationWhereInput;
|
|
3088
|
+
};
|
|
2789
3089
|
/**
|
|
2790
3090
|
* Property.displayImage
|
|
2791
3091
|
*/
|