@valentine-efagene/qshelter-common 2.0.93 → 2.0.95
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/browser.d.ts +16 -16
- package/dist/generated/client/client.d.ts +16 -16
- package/dist/generated/client/commonInputTypes.d.ts +72 -72
- package/dist/generated/client/enums.d.ts +13 -13
- package/dist/generated/client/enums.js +10 -10
- package/dist/generated/client/internal/class.d.ts +32 -32
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +328 -321
- package/dist/generated/client/internal/prismaNamespace.js +57 -50
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +73 -66
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +57 -50
- package/dist/generated/client/models/Application.d.ts +5439 -0
- package/dist/generated/client/models/Application.js +1 -0
- package/dist/generated/client/models/ApplicationDocument.d.ts +1409 -0
- package/dist/generated/client/models/ApplicationDocument.js +1 -0
- package/dist/generated/client/models/ApplicationEvent.d.ts +1254 -0
- package/dist/generated/client/models/ApplicationEvent.js +1 -0
- package/dist/generated/client/models/ApplicationPayment.d.ts +2030 -0
- package/dist/generated/client/models/ApplicationPayment.js +1 -0
- package/dist/generated/client/models/ApplicationPhase.d.ts +2243 -0
- package/dist/generated/client/models/ApplicationPhase.js +1 -0
- package/dist/generated/client/models/ApplicationRefund.d.ts +2560 -0
- package/dist/generated/client/models/ApplicationRefund.js +1 -0
- package/dist/generated/client/models/ApplicationTermination.d.ts +3446 -0
- package/dist/generated/client/models/ApplicationTermination.js +1 -0
- package/dist/generated/client/models/DocumentationPhase.d.ts +13 -13
- package/dist/generated/client/models/OfferLetter.d.ts +97 -97
- package/dist/generated/client/models/PaymentInstallment.d.ts +1660 -0
- package/dist/generated/client/models/PaymentInstallment.js +1 -0
- package/dist/generated/client/models/PaymentMethodChangeRequest.d.ts +103 -103
- package/dist/generated/client/models/PaymentPhase.d.ts +135 -41
- package/dist/generated/client/models/PaymentPlan.d.ts +259 -30
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +77 -77
- package/dist/generated/client/models/PropertyTransferRequest.d.ts +213 -213
- package/dist/generated/client/models/PropertyUnit.d.ts +53 -53
- package/dist/generated/client/models/QuestionnairePhase.d.ts +11 -11
- package/dist/generated/client/models/Tenant.d.ts +323 -323
- package/dist/generated/client/models/User.d.ts +1329 -1329
- package/dist/generated/client/models/index.d.ts +8 -8
- package/dist/generated/client/models/index.js +8 -8
- package/dist/generated/client/models.d.ts +8 -8
- package/package.json +1 -1
- package/prisma/migrations/20260112041159_add_flexible_term_configuration/migration.sql +11 -0
- package/prisma/migrations/20260112080730_rename_contract_to_application/migration.sql +529 -0
- package/prisma/schema.prisma +123 -108
- package/prisma/schema.prisma.backup +2601 -0
|
@@ -257,7 +257,7 @@ export type PropertyUnitWhereInput = {
|
|
|
257
257
|
createdAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
258
258
|
updatedAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
259
259
|
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
260
|
-
|
|
260
|
+
applications?: Prisma.ApplicationListRelationFilter;
|
|
261
261
|
transferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
|
|
262
262
|
};
|
|
263
263
|
export type PropertyUnitOrderByWithRelationInput = {
|
|
@@ -277,7 +277,7 @@ export type PropertyUnitOrderByWithRelationInput = {
|
|
|
277
277
|
createdAt?: Prisma.SortOrder;
|
|
278
278
|
updatedAt?: Prisma.SortOrder;
|
|
279
279
|
variant?: Prisma.PropertyVariantOrderByWithRelationInput;
|
|
280
|
-
|
|
280
|
+
applications?: Prisma.ApplicationOrderByRelationAggregateInput;
|
|
281
281
|
transferRequests?: Prisma.PropertyTransferRequestOrderByRelationAggregateInput;
|
|
282
282
|
_relevance?: Prisma.PropertyUnitOrderByRelevanceInput;
|
|
283
283
|
};
|
|
@@ -302,7 +302,7 @@ export type PropertyUnitWhereUniqueInput = Prisma.AtLeast<{
|
|
|
302
302
|
createdAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
303
303
|
updatedAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
304
304
|
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
305
|
-
|
|
305
|
+
applications?: Prisma.ApplicationListRelationFilter;
|
|
306
306
|
transferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
|
|
307
307
|
}, "id" | "variantId_unitNumber">;
|
|
308
308
|
export type PropertyUnitOrderByWithAggregationInput = {
|
|
@@ -363,7 +363,7 @@ export type PropertyUnitCreateInput = {
|
|
|
363
363
|
createdAt?: Date | string;
|
|
364
364
|
updatedAt?: Date | string;
|
|
365
365
|
variant: Prisma.PropertyVariantCreateNestedOneWithoutUnitsInput;
|
|
366
|
-
|
|
366
|
+
applications?: Prisma.ApplicationCreateNestedManyWithoutPropertyUnitInput;
|
|
367
367
|
transferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetPropertyUnitInput;
|
|
368
368
|
};
|
|
369
369
|
export type PropertyUnitUncheckedCreateInput = {
|
|
@@ -382,7 +382,7 @@ export type PropertyUnitUncheckedCreateInput = {
|
|
|
382
382
|
ownerId?: string | null;
|
|
383
383
|
createdAt?: Date | string;
|
|
384
384
|
updatedAt?: Date | string;
|
|
385
|
-
|
|
385
|
+
applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutPropertyUnitInput;
|
|
386
386
|
transferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetPropertyUnitInput;
|
|
387
387
|
};
|
|
388
388
|
export type PropertyUnitUpdateInput = {
|
|
@@ -401,7 +401,7 @@ export type PropertyUnitUpdateInput = {
|
|
|
401
401
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
402
402
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
403
403
|
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput;
|
|
404
|
-
|
|
404
|
+
applications?: Prisma.ApplicationUpdateManyWithoutPropertyUnitNestedInput;
|
|
405
405
|
transferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetPropertyUnitNestedInput;
|
|
406
406
|
};
|
|
407
407
|
export type PropertyUnitUncheckedUpdateInput = {
|
|
@@ -420,7 +420,7 @@ export type PropertyUnitUncheckedUpdateInput = {
|
|
|
420
420
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
421
421
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
422
422
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
423
|
-
|
|
423
|
+
applications?: Prisma.ApplicationUncheckedUpdateManyWithoutPropertyUnitNestedInput;
|
|
424
424
|
transferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetPropertyUnitNestedInput;
|
|
425
425
|
};
|
|
426
426
|
export type PropertyUnitCreateManyInput = {
|
|
@@ -593,17 +593,17 @@ export type PropertyUnitUncheckedUpdateManyWithoutVariantNestedInput = {
|
|
|
593
593
|
updateMany?: Prisma.PropertyUnitUpdateManyWithWhereWithoutVariantInput | Prisma.PropertyUnitUpdateManyWithWhereWithoutVariantInput[];
|
|
594
594
|
deleteMany?: Prisma.PropertyUnitScalarWhereInput | Prisma.PropertyUnitScalarWhereInput[];
|
|
595
595
|
};
|
|
596
|
-
export type
|
|
597
|
-
create?: Prisma.XOR<Prisma.
|
|
598
|
-
connectOrCreate?: Prisma.
|
|
596
|
+
export type PropertyUnitCreateNestedOneWithoutApplicationsInput = {
|
|
597
|
+
create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutApplicationsInput, Prisma.PropertyUnitUncheckedCreateWithoutApplicationsInput>;
|
|
598
|
+
connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutApplicationsInput;
|
|
599
599
|
connect?: Prisma.PropertyUnitWhereUniqueInput;
|
|
600
600
|
};
|
|
601
|
-
export type
|
|
602
|
-
create?: Prisma.XOR<Prisma.
|
|
603
|
-
connectOrCreate?: Prisma.
|
|
604
|
-
upsert?: Prisma.
|
|
601
|
+
export type PropertyUnitUpdateOneRequiredWithoutApplicationsNestedInput = {
|
|
602
|
+
create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutApplicationsInput, Prisma.PropertyUnitUncheckedCreateWithoutApplicationsInput>;
|
|
603
|
+
connectOrCreate?: Prisma.PropertyUnitCreateOrConnectWithoutApplicationsInput;
|
|
604
|
+
upsert?: Prisma.PropertyUnitUpsertWithoutApplicationsInput;
|
|
605
605
|
connect?: Prisma.PropertyUnitWhereUniqueInput;
|
|
606
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.
|
|
606
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyUnitUpdateToOneWithWhereWithoutApplicationsInput, Prisma.PropertyUnitUpdateWithoutApplicationsInput>, Prisma.PropertyUnitUncheckedUpdateWithoutApplicationsInput>;
|
|
607
607
|
};
|
|
608
608
|
export type PropertyUnitCreateNestedOneWithoutTransferRequestsInput = {
|
|
609
609
|
create?: Prisma.XOR<Prisma.PropertyUnitCreateWithoutTransferRequestsInput, Prisma.PropertyUnitUncheckedCreateWithoutTransferRequestsInput>;
|
|
@@ -632,7 +632,7 @@ export type PropertyUnitCreateWithoutVariantInput = {
|
|
|
632
632
|
ownerId?: string | null;
|
|
633
633
|
createdAt?: Date | string;
|
|
634
634
|
updatedAt?: Date | string;
|
|
635
|
-
|
|
635
|
+
applications?: Prisma.ApplicationCreateNestedManyWithoutPropertyUnitInput;
|
|
636
636
|
transferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetPropertyUnitInput;
|
|
637
637
|
};
|
|
638
638
|
export type PropertyUnitUncheckedCreateWithoutVariantInput = {
|
|
@@ -650,7 +650,7 @@ export type PropertyUnitUncheckedCreateWithoutVariantInput = {
|
|
|
650
650
|
ownerId?: string | null;
|
|
651
651
|
createdAt?: Date | string;
|
|
652
652
|
updatedAt?: Date | string;
|
|
653
|
-
|
|
653
|
+
applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutPropertyUnitInput;
|
|
654
654
|
transferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetPropertyUnitInput;
|
|
655
655
|
};
|
|
656
656
|
export type PropertyUnitCreateOrConnectWithoutVariantInput = {
|
|
@@ -694,7 +694,7 @@ export type PropertyUnitScalarWhereInput = {
|
|
|
694
694
|
createdAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
695
695
|
updatedAt?: Prisma.DateTimeFilter<"PropertyUnit"> | Date | string;
|
|
696
696
|
};
|
|
697
|
-
export type
|
|
697
|
+
export type PropertyUnitCreateWithoutApplicationsInput = {
|
|
698
698
|
id?: string;
|
|
699
699
|
unitNumber: string;
|
|
700
700
|
floorNumber?: number | null;
|
|
@@ -712,7 +712,7 @@ export type PropertyUnitCreateWithoutContractsInput = {
|
|
|
712
712
|
variant: Prisma.PropertyVariantCreateNestedOneWithoutUnitsInput;
|
|
713
713
|
transferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetPropertyUnitInput;
|
|
714
714
|
};
|
|
715
|
-
export type
|
|
715
|
+
export type PropertyUnitUncheckedCreateWithoutApplicationsInput = {
|
|
716
716
|
id?: string;
|
|
717
717
|
variantId: string;
|
|
718
718
|
unitNumber: string;
|
|
@@ -730,20 +730,20 @@ export type PropertyUnitUncheckedCreateWithoutContractsInput = {
|
|
|
730
730
|
updatedAt?: Date | string;
|
|
731
731
|
transferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetPropertyUnitInput;
|
|
732
732
|
};
|
|
733
|
-
export type
|
|
733
|
+
export type PropertyUnitCreateOrConnectWithoutApplicationsInput = {
|
|
734
734
|
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
735
|
-
create: Prisma.XOR<Prisma.
|
|
735
|
+
create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutApplicationsInput, Prisma.PropertyUnitUncheckedCreateWithoutApplicationsInput>;
|
|
736
736
|
};
|
|
737
|
-
export type
|
|
738
|
-
update: Prisma.XOR<Prisma.
|
|
739
|
-
create: Prisma.XOR<Prisma.
|
|
737
|
+
export type PropertyUnitUpsertWithoutApplicationsInput = {
|
|
738
|
+
update: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutApplicationsInput, Prisma.PropertyUnitUncheckedUpdateWithoutApplicationsInput>;
|
|
739
|
+
create: Prisma.XOR<Prisma.PropertyUnitCreateWithoutApplicationsInput, Prisma.PropertyUnitUncheckedCreateWithoutApplicationsInput>;
|
|
740
740
|
where?: Prisma.PropertyUnitWhereInput;
|
|
741
741
|
};
|
|
742
|
-
export type
|
|
742
|
+
export type PropertyUnitUpdateToOneWithWhereWithoutApplicationsInput = {
|
|
743
743
|
where?: Prisma.PropertyUnitWhereInput;
|
|
744
|
-
data: Prisma.XOR<Prisma.
|
|
744
|
+
data: Prisma.XOR<Prisma.PropertyUnitUpdateWithoutApplicationsInput, Prisma.PropertyUnitUncheckedUpdateWithoutApplicationsInput>;
|
|
745
745
|
};
|
|
746
|
-
export type
|
|
746
|
+
export type PropertyUnitUpdateWithoutApplicationsInput = {
|
|
747
747
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
748
748
|
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
749
749
|
floorNumber?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
@@ -761,7 +761,7 @@ export type PropertyUnitUpdateWithoutContractsInput = {
|
|
|
761
761
|
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput;
|
|
762
762
|
transferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetPropertyUnitNestedInput;
|
|
763
763
|
};
|
|
764
|
-
export type
|
|
764
|
+
export type PropertyUnitUncheckedUpdateWithoutApplicationsInput = {
|
|
765
765
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
766
766
|
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
767
767
|
unitNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -795,7 +795,7 @@ export type PropertyUnitCreateWithoutTransferRequestsInput = {
|
|
|
795
795
|
createdAt?: Date | string;
|
|
796
796
|
updatedAt?: Date | string;
|
|
797
797
|
variant: Prisma.PropertyVariantCreateNestedOneWithoutUnitsInput;
|
|
798
|
-
|
|
798
|
+
applications?: Prisma.ApplicationCreateNestedManyWithoutPropertyUnitInput;
|
|
799
799
|
};
|
|
800
800
|
export type PropertyUnitUncheckedCreateWithoutTransferRequestsInput = {
|
|
801
801
|
id?: string;
|
|
@@ -813,7 +813,7 @@ export type PropertyUnitUncheckedCreateWithoutTransferRequestsInput = {
|
|
|
813
813
|
ownerId?: string | null;
|
|
814
814
|
createdAt?: Date | string;
|
|
815
815
|
updatedAt?: Date | string;
|
|
816
|
-
|
|
816
|
+
applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutPropertyUnitInput;
|
|
817
817
|
};
|
|
818
818
|
export type PropertyUnitCreateOrConnectWithoutTransferRequestsInput = {
|
|
819
819
|
where: Prisma.PropertyUnitWhereUniqueInput;
|
|
@@ -844,7 +844,7 @@ export type PropertyUnitUpdateWithoutTransferRequestsInput = {
|
|
|
844
844
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
845
845
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
846
846
|
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutUnitsNestedInput;
|
|
847
|
-
|
|
847
|
+
applications?: Prisma.ApplicationUpdateManyWithoutPropertyUnitNestedInput;
|
|
848
848
|
};
|
|
849
849
|
export type PropertyUnitUncheckedUpdateWithoutTransferRequestsInput = {
|
|
850
850
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -862,7 +862,7 @@ export type PropertyUnitUncheckedUpdateWithoutTransferRequestsInput = {
|
|
|
862
862
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
863
863
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
864
864
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
865
|
-
|
|
865
|
+
applications?: Prisma.ApplicationUncheckedUpdateManyWithoutPropertyUnitNestedInput;
|
|
866
866
|
};
|
|
867
867
|
export type PropertyUnitCreateManyVariantInput = {
|
|
868
868
|
id?: string;
|
|
@@ -895,7 +895,7 @@ export type PropertyUnitUpdateWithoutVariantInput = {
|
|
|
895
895
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
896
896
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
897
897
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
898
|
-
|
|
898
|
+
applications?: Prisma.ApplicationUpdateManyWithoutPropertyUnitNestedInput;
|
|
899
899
|
transferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetPropertyUnitNestedInput;
|
|
900
900
|
};
|
|
901
901
|
export type PropertyUnitUncheckedUpdateWithoutVariantInput = {
|
|
@@ -913,7 +913,7 @@ export type PropertyUnitUncheckedUpdateWithoutVariantInput = {
|
|
|
913
913
|
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
914
914
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
915
915
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
916
|
-
|
|
916
|
+
applications?: Prisma.ApplicationUncheckedUpdateManyWithoutPropertyUnitNestedInput;
|
|
917
917
|
transferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetPropertyUnitNestedInput;
|
|
918
918
|
};
|
|
919
919
|
export type PropertyUnitUncheckedUpdateManyWithoutVariantInput = {
|
|
@@ -936,11 +936,11 @@ export type PropertyUnitUncheckedUpdateManyWithoutVariantInput = {
|
|
|
936
936
|
* Count Type PropertyUnitCountOutputType
|
|
937
937
|
*/
|
|
938
938
|
export type PropertyUnitCountOutputType = {
|
|
939
|
-
|
|
939
|
+
applications: number;
|
|
940
940
|
transferRequests: number;
|
|
941
941
|
};
|
|
942
942
|
export type PropertyUnitCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
943
|
-
|
|
943
|
+
applications?: boolean | PropertyUnitCountOutputTypeCountApplicationsArgs;
|
|
944
944
|
transferRequests?: boolean | PropertyUnitCountOutputTypeCountTransferRequestsArgs;
|
|
945
945
|
};
|
|
946
946
|
/**
|
|
@@ -955,8 +955,8 @@ export type PropertyUnitCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types
|
|
|
955
955
|
/**
|
|
956
956
|
* PropertyUnitCountOutputType without action
|
|
957
957
|
*/
|
|
958
|
-
export type
|
|
959
|
-
where?: Prisma.
|
|
958
|
+
export type PropertyUnitCountOutputTypeCountApplicationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
where?: Prisma.ApplicationWhereInput;
|
|
960
960
|
};
|
|
961
961
|
/**
|
|
962
962
|
* PropertyUnitCountOutputType without action
|
|
@@ -981,7 +981,7 @@ export type PropertyUnitSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
981
981
|
createdAt?: boolean;
|
|
982
982
|
updatedAt?: boolean;
|
|
983
983
|
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
984
|
-
|
|
984
|
+
applications?: boolean | Prisma.PropertyUnit$applicationsArgs<ExtArgs>;
|
|
985
985
|
transferRequests?: boolean | Prisma.PropertyUnit$transferRequestsArgs<ExtArgs>;
|
|
986
986
|
_count?: boolean | Prisma.PropertyUnitCountOutputTypeDefaultArgs<ExtArgs>;
|
|
987
987
|
}, ExtArgs["result"]["propertyUnit"]>;
|
|
@@ -1005,7 +1005,7 @@ export type PropertyUnitSelectScalar = {
|
|
|
1005
1005
|
export type PropertyUnitOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "variantId" | "unitNumber" | "floorNumber" | "blockName" | "priceOverride" | "areaOverride" | "notes" | "status" | "reservedAt" | "reservedUntil" | "reservedById" | "ownerId" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyUnit"]>;
|
|
1006
1006
|
export type PropertyUnitInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1007
1007
|
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
1008
|
-
|
|
1008
|
+
applications?: boolean | Prisma.PropertyUnit$applicationsArgs<ExtArgs>;
|
|
1009
1009
|
transferRequests?: boolean | Prisma.PropertyUnit$transferRequestsArgs<ExtArgs>;
|
|
1010
1010
|
_count?: boolean | Prisma.PropertyUnitCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1011
1011
|
};
|
|
@@ -1013,7 +1013,7 @@ export type $PropertyUnitPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
1013
1013
|
name: "PropertyUnit";
|
|
1014
1014
|
objects: {
|
|
1015
1015
|
variant: Prisma.$PropertyVariantPayload<ExtArgs>;
|
|
1016
|
-
|
|
1016
|
+
applications: Prisma.$ApplicationPayload<ExtArgs>[];
|
|
1017
1017
|
transferRequests: Prisma.$PropertyTransferRequestPayload<ExtArgs>[];
|
|
1018
1018
|
};
|
|
1019
1019
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
@@ -1310,7 +1310,7 @@ export interface PropertyUnitDelegate<ExtArgs extends runtime.Types.Extensions.I
|
|
|
1310
1310
|
export interface Prisma__PropertyUnitClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1311
1311
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1312
1312
|
variant<T extends Prisma.PropertyVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1313
|
-
|
|
1313
|
+
applications<T extends Prisma.PropertyUnit$applicationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyUnit$applicationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1314
1314
|
transferRequests<T extends Prisma.PropertyUnit$transferRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyUnit$transferRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyTransferRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1315
1315
|
/**
|
|
1316
1316
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -1680,27 +1680,27 @@ export type PropertyUnitDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.
|
|
|
1680
1680
|
limit?: number;
|
|
1681
1681
|
};
|
|
1682
1682
|
/**
|
|
1683
|
-
* PropertyUnit.
|
|
1683
|
+
* PropertyUnit.applications
|
|
1684
1684
|
*/
|
|
1685
|
-
export type PropertyUnit$
|
|
1685
|
+
export type PropertyUnit$applicationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1686
1686
|
/**
|
|
1687
|
-
* Select specific fields to fetch from the
|
|
1687
|
+
* Select specific fields to fetch from the Application
|
|
1688
1688
|
*/
|
|
1689
|
-
select?: Prisma.
|
|
1689
|
+
select?: Prisma.ApplicationSelect<ExtArgs> | null;
|
|
1690
1690
|
/**
|
|
1691
|
-
* Omit specific fields from the
|
|
1691
|
+
* Omit specific fields from the Application
|
|
1692
1692
|
*/
|
|
1693
|
-
omit?: Prisma.
|
|
1693
|
+
omit?: Prisma.ApplicationOmit<ExtArgs> | null;
|
|
1694
1694
|
/**
|
|
1695
1695
|
* Choose, which related nodes to fetch as well
|
|
1696
1696
|
*/
|
|
1697
|
-
include?: Prisma.
|
|
1698
|
-
where?: Prisma.
|
|
1699
|
-
orderBy?: Prisma.
|
|
1700
|
-
cursor?: Prisma.
|
|
1697
|
+
include?: Prisma.ApplicationInclude<ExtArgs> | null;
|
|
1698
|
+
where?: Prisma.ApplicationWhereInput;
|
|
1699
|
+
orderBy?: Prisma.ApplicationOrderByWithRelationInput | Prisma.ApplicationOrderByWithRelationInput[];
|
|
1700
|
+
cursor?: Prisma.ApplicationWhereUniqueInput;
|
|
1701
1701
|
take?: number;
|
|
1702
1702
|
skip?: number;
|
|
1703
|
-
distinct?: Prisma.
|
|
1703
|
+
distinct?: Prisma.ApplicationScalarFieldEnum | Prisma.ApplicationScalarFieldEnum[];
|
|
1704
1704
|
};
|
|
1705
1705
|
/**
|
|
1706
1706
|
* PropertyUnit.transferRequests
|
|
@@ -224,7 +224,7 @@ export type QuestionnairePhaseWhereInput = {
|
|
|
224
224
|
fieldsSnapshot?: Prisma.JsonNullableFilter<"QuestionnairePhase">;
|
|
225
225
|
createdAt?: Prisma.DateTimeFilter<"QuestionnairePhase"> | Date | string;
|
|
226
226
|
updatedAt?: Prisma.DateTimeFilter<"QuestionnairePhase"> | Date | string;
|
|
227
|
-
phase?: Prisma.XOR<Prisma.
|
|
227
|
+
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
228
228
|
fields?: Prisma.QuestionnaireFieldListRelationFilter;
|
|
229
229
|
};
|
|
230
230
|
export type QuestionnairePhaseOrderByWithRelationInput = {
|
|
@@ -239,7 +239,7 @@ export type QuestionnairePhaseOrderByWithRelationInput = {
|
|
|
239
239
|
fieldsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
240
240
|
createdAt?: Prisma.SortOrder;
|
|
241
241
|
updatedAt?: Prisma.SortOrder;
|
|
242
|
-
phase?: Prisma.
|
|
242
|
+
phase?: Prisma.ApplicationPhaseOrderByWithRelationInput;
|
|
243
243
|
fields?: Prisma.QuestionnaireFieldOrderByRelationAggregateInput;
|
|
244
244
|
_relevance?: Prisma.QuestionnairePhaseOrderByRelevanceInput;
|
|
245
245
|
};
|
|
@@ -258,7 +258,7 @@ export type QuestionnairePhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
258
258
|
fieldsSnapshot?: Prisma.JsonNullableFilter<"QuestionnairePhase">;
|
|
259
259
|
createdAt?: Prisma.DateTimeFilter<"QuestionnairePhase"> | Date | string;
|
|
260
260
|
updatedAt?: Prisma.DateTimeFilter<"QuestionnairePhase"> | Date | string;
|
|
261
|
-
phase?: Prisma.XOR<Prisma.
|
|
261
|
+
phase?: Prisma.XOR<Prisma.ApplicationPhaseScalarRelationFilter, Prisma.ApplicationPhaseWhereInput>;
|
|
262
262
|
fields?: Prisma.QuestionnaireFieldListRelationFilter;
|
|
263
263
|
}, "id" | "phaseId">;
|
|
264
264
|
export type QuestionnairePhaseOrderByWithAggregationInput = {
|
|
@@ -306,7 +306,7 @@ export type QuestionnairePhaseCreateInput = {
|
|
|
306
306
|
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
307
307
|
createdAt?: Date | string;
|
|
308
308
|
updatedAt?: Date | string;
|
|
309
|
-
phase: Prisma.
|
|
309
|
+
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
310
310
|
fields?: Prisma.QuestionnaireFieldCreateNestedManyWithoutQuestionnairePhaseInput;
|
|
311
311
|
};
|
|
312
312
|
export type QuestionnairePhaseUncheckedCreateInput = {
|
|
@@ -334,7 +334,7 @@ export type QuestionnairePhaseUpdateInput = {
|
|
|
334
334
|
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
335
335
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
336
336
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
337
|
-
phase?: Prisma.
|
|
337
|
+
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
338
338
|
fields?: Prisma.QuestionnaireFieldUpdateManyWithoutQuestionnairePhaseNestedInput;
|
|
339
339
|
};
|
|
340
340
|
export type QuestionnairePhaseUncheckedUpdateInput = {
|
|
@@ -567,7 +567,7 @@ export type QuestionnairePhaseCreateWithoutFieldsInput = {
|
|
|
567
567
|
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
568
568
|
createdAt?: Date | string;
|
|
569
569
|
updatedAt?: Date | string;
|
|
570
|
-
phase: Prisma.
|
|
570
|
+
phase: Prisma.ApplicationPhaseCreateNestedOneWithoutQuestionnairePhaseInput;
|
|
571
571
|
};
|
|
572
572
|
export type QuestionnairePhaseUncheckedCreateWithoutFieldsInput = {
|
|
573
573
|
id?: string;
|
|
@@ -606,7 +606,7 @@ export type QuestionnairePhaseUpdateWithoutFieldsInput = {
|
|
|
606
606
|
fieldsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
607
607
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
608
608
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
609
|
-
phase?: Prisma.
|
|
609
|
+
phase?: Prisma.ApplicationPhaseUpdateOneRequiredWithoutQuestionnairePhaseNestedInput;
|
|
610
610
|
};
|
|
611
611
|
export type QuestionnairePhaseUncheckedUpdateWithoutFieldsInput = {
|
|
612
612
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -657,7 +657,7 @@ export type QuestionnairePhaseSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
657
657
|
fieldsSnapshot?: boolean;
|
|
658
658
|
createdAt?: boolean;
|
|
659
659
|
updatedAt?: boolean;
|
|
660
|
-
phase?: boolean | Prisma.
|
|
660
|
+
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
661
661
|
fields?: boolean | Prisma.QuestionnairePhase$fieldsArgs<ExtArgs>;
|
|
662
662
|
_count?: boolean | Prisma.QuestionnairePhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
663
663
|
}, ExtArgs["result"]["questionnairePhase"]>;
|
|
@@ -676,14 +676,14 @@ export type QuestionnairePhaseSelectScalar = {
|
|
|
676
676
|
};
|
|
677
677
|
export type QuestionnairePhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phaseId" | "completedFieldsCount" | "totalFieldsCount" | "underwritingScore" | "debtToIncomeRatio" | "underwritingDecision" | "underwritingNotes" | "fieldsSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["questionnairePhase"]>;
|
|
678
678
|
export type QuestionnairePhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
679
|
-
phase?: boolean | Prisma.
|
|
679
|
+
phase?: boolean | Prisma.ApplicationPhaseDefaultArgs<ExtArgs>;
|
|
680
680
|
fields?: boolean | Prisma.QuestionnairePhase$fieldsArgs<ExtArgs>;
|
|
681
681
|
_count?: boolean | Prisma.QuestionnairePhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
682
682
|
};
|
|
683
683
|
export type $QuestionnairePhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
684
684
|
name: "QuestionnairePhase";
|
|
685
685
|
objects: {
|
|
686
|
-
phase: Prisma.$
|
|
686
|
+
phase: Prisma.$ApplicationPhasePayload<ExtArgs>;
|
|
687
687
|
fields: Prisma.$QuestionnaireFieldPayload<ExtArgs>[];
|
|
688
688
|
};
|
|
689
689
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
@@ -975,7 +975,7 @@ export interface QuestionnairePhaseDelegate<ExtArgs extends runtime.Types.Extens
|
|
|
975
975
|
*/
|
|
976
976
|
export interface Prisma__QuestionnairePhaseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
977
977
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
978
|
-
phase<T extends Prisma.
|
|
978
|
+
phase<T extends Prisma.ApplicationPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationPhaseClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
979
979
|
fields<T extends Prisma.QuestionnairePhase$fieldsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.QuestionnairePhase$fieldsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuestionnaireFieldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
980
980
|
/**
|
|
981
981
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|