@valentine-efagene/qshelter-common 2.0.53 → 2.0.55
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 +0 -10
- package/dist/generated/client/client.d.ts +0 -10
- package/dist/generated/client/commonInputTypes.d.ts +0 -60
- package/dist/generated/client/enums.d.ts +2 -16
- package/dist/generated/client/enums.js +3 -15
- package/dist/generated/client/internal/class.d.ts +0 -22
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +13 -207
- package/dist/generated/client/internal/prismaNamespace.js +12 -60
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +12 -64
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +12 -60
- package/dist/generated/client/models/Contract.d.ts +464 -273
- package/dist/generated/client/models/DocumentationStep.d.ts +242 -1
- package/dist/generated/client/models/Property.d.ts +0 -211
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +0 -187
- package/dist/generated/client/models/Tenant.d.ts +0 -366
- package/dist/generated/client/models/User.d.ts +0 -311
- package/dist/generated/client/models/index.d.ts +0 -2
- package/dist/generated/client/models/index.js +0 -2
- package/dist/generated/client/models.d.ts +0 -2
- package/package.json +1 -1
- package/prisma/migrations/20260105004059_add_superseded_phase_status/migration.sql +2 -0
- package/prisma/migrations/20260105074701_add_underwriting_step_types/migration.sql +17 -0
- package/prisma/schema.prisma +25 -137
|
@@ -23,6 +23,10 @@ export type ContractAvgAggregateOutputType = {
|
|
|
23
23
|
periodicPayment: number | null;
|
|
24
24
|
totalPaidToDate: number | null;
|
|
25
25
|
totalInterestPaid: number | null;
|
|
26
|
+
monthlyIncome: number | null;
|
|
27
|
+
monthlyExpenses: number | null;
|
|
28
|
+
underwritingScore: number | null;
|
|
29
|
+
debtToIncomeRatio: number | null;
|
|
26
30
|
};
|
|
27
31
|
export type ContractSumAggregateOutputType = {
|
|
28
32
|
totalAmount: number | null;
|
|
@@ -34,6 +38,10 @@ export type ContractSumAggregateOutputType = {
|
|
|
34
38
|
periodicPayment: number | null;
|
|
35
39
|
totalPaidToDate: number | null;
|
|
36
40
|
totalInterestPaid: number | null;
|
|
41
|
+
monthlyIncome: number | null;
|
|
42
|
+
monthlyExpenses: number | null;
|
|
43
|
+
underwritingScore: number | null;
|
|
44
|
+
debtToIncomeRatio: number | null;
|
|
37
45
|
};
|
|
38
46
|
export type ContractMinAggregateOutputType = {
|
|
39
47
|
id: string | null;
|
|
@@ -55,6 +63,10 @@ export type ContractMinAggregateOutputType = {
|
|
|
55
63
|
periodicPayment: number | null;
|
|
56
64
|
totalPaidToDate: number | null;
|
|
57
65
|
totalInterestPaid: number | null;
|
|
66
|
+
monthlyIncome: number | null;
|
|
67
|
+
monthlyExpenses: number | null;
|
|
68
|
+
underwritingScore: number | null;
|
|
69
|
+
debtToIncomeRatio: number | null;
|
|
58
70
|
status: $Enums.ContractStatus | null;
|
|
59
71
|
state: $Enums.ContractStatus | null;
|
|
60
72
|
currentPhaseId: string | null;
|
|
@@ -87,6 +99,10 @@ export type ContractMaxAggregateOutputType = {
|
|
|
87
99
|
periodicPayment: number | null;
|
|
88
100
|
totalPaidToDate: number | null;
|
|
89
101
|
totalInterestPaid: number | null;
|
|
102
|
+
monthlyIncome: number | null;
|
|
103
|
+
monthlyExpenses: number | null;
|
|
104
|
+
underwritingScore: number | null;
|
|
105
|
+
debtToIncomeRatio: number | null;
|
|
90
106
|
status: $Enums.ContractStatus | null;
|
|
91
107
|
state: $Enums.ContractStatus | null;
|
|
92
108
|
currentPhaseId: string | null;
|
|
@@ -119,6 +135,11 @@ export type ContractCountAggregateOutputType = {
|
|
|
119
135
|
periodicPayment: number;
|
|
120
136
|
totalPaidToDate: number;
|
|
121
137
|
totalInterestPaid: number;
|
|
138
|
+
monthlyIncome: number;
|
|
139
|
+
monthlyExpenses: number;
|
|
140
|
+
preApprovalAnswers: number;
|
|
141
|
+
underwritingScore: number;
|
|
142
|
+
debtToIncomeRatio: number;
|
|
122
143
|
status: number;
|
|
123
144
|
state: number;
|
|
124
145
|
currentPhaseId: number;
|
|
@@ -142,6 +163,10 @@ export type ContractAvgAggregateInputType = {
|
|
|
142
163
|
periodicPayment?: true;
|
|
143
164
|
totalPaidToDate?: true;
|
|
144
165
|
totalInterestPaid?: true;
|
|
166
|
+
monthlyIncome?: true;
|
|
167
|
+
monthlyExpenses?: true;
|
|
168
|
+
underwritingScore?: true;
|
|
169
|
+
debtToIncomeRatio?: true;
|
|
145
170
|
};
|
|
146
171
|
export type ContractSumAggregateInputType = {
|
|
147
172
|
totalAmount?: true;
|
|
@@ -153,6 +178,10 @@ export type ContractSumAggregateInputType = {
|
|
|
153
178
|
periodicPayment?: true;
|
|
154
179
|
totalPaidToDate?: true;
|
|
155
180
|
totalInterestPaid?: true;
|
|
181
|
+
monthlyIncome?: true;
|
|
182
|
+
monthlyExpenses?: true;
|
|
183
|
+
underwritingScore?: true;
|
|
184
|
+
debtToIncomeRatio?: true;
|
|
156
185
|
};
|
|
157
186
|
export type ContractMinAggregateInputType = {
|
|
158
187
|
id?: true;
|
|
@@ -174,6 +203,10 @@ export type ContractMinAggregateInputType = {
|
|
|
174
203
|
periodicPayment?: true;
|
|
175
204
|
totalPaidToDate?: true;
|
|
176
205
|
totalInterestPaid?: true;
|
|
206
|
+
monthlyIncome?: true;
|
|
207
|
+
monthlyExpenses?: true;
|
|
208
|
+
underwritingScore?: true;
|
|
209
|
+
debtToIncomeRatio?: true;
|
|
177
210
|
status?: true;
|
|
178
211
|
state?: true;
|
|
179
212
|
currentPhaseId?: true;
|
|
@@ -206,6 +239,10 @@ export type ContractMaxAggregateInputType = {
|
|
|
206
239
|
periodicPayment?: true;
|
|
207
240
|
totalPaidToDate?: true;
|
|
208
241
|
totalInterestPaid?: true;
|
|
242
|
+
monthlyIncome?: true;
|
|
243
|
+
monthlyExpenses?: true;
|
|
244
|
+
underwritingScore?: true;
|
|
245
|
+
debtToIncomeRatio?: true;
|
|
209
246
|
status?: true;
|
|
210
247
|
state?: true;
|
|
211
248
|
currentPhaseId?: true;
|
|
@@ -238,6 +275,11 @@ export type ContractCountAggregateInputType = {
|
|
|
238
275
|
periodicPayment?: true;
|
|
239
276
|
totalPaidToDate?: true;
|
|
240
277
|
totalInterestPaid?: true;
|
|
278
|
+
monthlyIncome?: true;
|
|
279
|
+
monthlyExpenses?: true;
|
|
280
|
+
preApprovalAnswers?: true;
|
|
281
|
+
underwritingScore?: true;
|
|
282
|
+
debtToIncomeRatio?: true;
|
|
241
283
|
status?: true;
|
|
242
284
|
state?: true;
|
|
243
285
|
currentPhaseId?: true;
|
|
@@ -347,6 +389,11 @@ export type ContractGroupByOutputType = {
|
|
|
347
389
|
periodicPayment: number | null;
|
|
348
390
|
totalPaidToDate: number;
|
|
349
391
|
totalInterestPaid: number;
|
|
392
|
+
monthlyIncome: number | null;
|
|
393
|
+
monthlyExpenses: number | null;
|
|
394
|
+
preApprovalAnswers: runtime.JsonValue | null;
|
|
395
|
+
underwritingScore: number | null;
|
|
396
|
+
debtToIncomeRatio: number | null;
|
|
350
397
|
status: $Enums.ContractStatus;
|
|
351
398
|
state: $Enums.ContractStatus;
|
|
352
399
|
currentPhaseId: string | null;
|
|
@@ -390,6 +437,11 @@ export type ContractWhereInput = {
|
|
|
390
437
|
periodicPayment?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
391
438
|
totalPaidToDate?: Prisma.FloatFilter<"Contract"> | number;
|
|
392
439
|
totalInterestPaid?: Prisma.FloatFilter<"Contract"> | number;
|
|
440
|
+
monthlyIncome?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
441
|
+
monthlyExpenses?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
442
|
+
preApprovalAnswers?: Prisma.JsonNullableFilter<"Contract">;
|
|
443
|
+
underwritingScore?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
444
|
+
debtToIncomeRatio?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
393
445
|
status?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
394
446
|
state?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
395
447
|
currentPhaseId?: Prisma.StringNullableFilter<"Contract"> | string | null;
|
|
@@ -413,7 +465,6 @@ export type ContractWhereInput = {
|
|
|
413
465
|
events?: Prisma.ContractEventListRelationFilter;
|
|
414
466
|
terminations?: Prisma.ContractTerminationListRelationFilter;
|
|
415
467
|
offerLetters?: Prisma.OfferLetterListRelationFilter;
|
|
416
|
-
prequalification?: Prisma.XOR<Prisma.PrequalificationNullableScalarRelationFilter, Prisma.PrequalificationWhereInput> | null;
|
|
417
468
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
|
|
418
469
|
};
|
|
419
470
|
export type ContractOrderByWithRelationInput = {
|
|
@@ -436,6 +487,11 @@ export type ContractOrderByWithRelationInput = {
|
|
|
436
487
|
periodicPayment?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
437
488
|
totalPaidToDate?: Prisma.SortOrder;
|
|
438
489
|
totalInterestPaid?: Prisma.SortOrder;
|
|
490
|
+
monthlyIncome?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
491
|
+
monthlyExpenses?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
492
|
+
preApprovalAnswers?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
493
|
+
underwritingScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
494
|
+
debtToIncomeRatio?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
439
495
|
status?: Prisma.SortOrder;
|
|
440
496
|
state?: Prisma.SortOrder;
|
|
441
497
|
currentPhaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -459,7 +515,6 @@ export type ContractOrderByWithRelationInput = {
|
|
|
459
515
|
events?: Prisma.ContractEventOrderByRelationAggregateInput;
|
|
460
516
|
terminations?: Prisma.ContractTerminationOrderByRelationAggregateInput;
|
|
461
517
|
offerLetters?: Prisma.OfferLetterOrderByRelationAggregateInput;
|
|
462
|
-
prequalification?: Prisma.PrequalificationOrderByWithRelationInput;
|
|
463
518
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
|
|
464
519
|
_relevance?: Prisma.ContractOrderByRelevanceInput;
|
|
465
520
|
};
|
|
@@ -486,6 +541,11 @@ export type ContractWhereUniqueInput = Prisma.AtLeast<{
|
|
|
486
541
|
periodicPayment?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
487
542
|
totalPaidToDate?: Prisma.FloatFilter<"Contract"> | number;
|
|
488
543
|
totalInterestPaid?: Prisma.FloatFilter<"Contract"> | number;
|
|
544
|
+
monthlyIncome?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
545
|
+
monthlyExpenses?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
546
|
+
preApprovalAnswers?: Prisma.JsonNullableFilter<"Contract">;
|
|
547
|
+
underwritingScore?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
548
|
+
debtToIncomeRatio?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
489
549
|
status?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
490
550
|
state?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
491
551
|
currentPhaseId?: Prisma.StringNullableFilter<"Contract"> | string | null;
|
|
@@ -509,7 +569,6 @@ export type ContractWhereUniqueInput = Prisma.AtLeast<{
|
|
|
509
569
|
events?: Prisma.ContractEventListRelationFilter;
|
|
510
570
|
terminations?: Prisma.ContractTerminationListRelationFilter;
|
|
511
571
|
offerLetters?: Prisma.OfferLetterListRelationFilter;
|
|
512
|
-
prequalification?: Prisma.XOR<Prisma.PrequalificationNullableScalarRelationFilter, Prisma.PrequalificationWhereInput> | null;
|
|
513
572
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
|
|
514
573
|
}, "id" | "contractNumber">;
|
|
515
574
|
export type ContractOrderByWithAggregationInput = {
|
|
@@ -532,6 +591,11 @@ export type ContractOrderByWithAggregationInput = {
|
|
|
532
591
|
periodicPayment?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
533
592
|
totalPaidToDate?: Prisma.SortOrder;
|
|
534
593
|
totalInterestPaid?: Prisma.SortOrder;
|
|
594
|
+
monthlyIncome?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
595
|
+
monthlyExpenses?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
596
|
+
preApprovalAnswers?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
597
|
+
underwritingScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
598
|
+
debtToIncomeRatio?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
535
599
|
status?: Prisma.SortOrder;
|
|
536
600
|
state?: Prisma.SortOrder;
|
|
537
601
|
currentPhaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -572,6 +636,11 @@ export type ContractScalarWhereWithAggregatesInput = {
|
|
|
572
636
|
periodicPayment?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
573
637
|
totalPaidToDate?: Prisma.FloatWithAggregatesFilter<"Contract"> | number;
|
|
574
638
|
totalInterestPaid?: Prisma.FloatWithAggregatesFilter<"Contract"> | number;
|
|
639
|
+
monthlyIncome?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
640
|
+
monthlyExpenses?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
641
|
+
preApprovalAnswers?: Prisma.JsonNullableWithAggregatesFilter<"Contract">;
|
|
642
|
+
underwritingScore?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
643
|
+
debtToIncomeRatio?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
575
644
|
status?: Prisma.EnumContractStatusWithAggregatesFilter<"Contract"> | $Enums.ContractStatus;
|
|
576
645
|
state?: Prisma.EnumContractStatusWithAggregatesFilter<"Contract"> | $Enums.ContractStatus;
|
|
577
646
|
currentPhaseId?: Prisma.StringNullableWithAggregatesFilter<"Contract"> | string | null;
|
|
@@ -599,6 +668,11 @@ export type ContractCreateInput = {
|
|
|
599
668
|
periodicPayment?: number | null;
|
|
600
669
|
totalPaidToDate?: number;
|
|
601
670
|
totalInterestPaid?: number;
|
|
671
|
+
monthlyIncome?: number | null;
|
|
672
|
+
monthlyExpenses?: number | null;
|
|
673
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
674
|
+
underwritingScore?: number | null;
|
|
675
|
+
debtToIncomeRatio?: number | null;
|
|
602
676
|
status?: $Enums.ContractStatus;
|
|
603
677
|
state?: $Enums.ContractStatus;
|
|
604
678
|
currentPhaseId?: string | null;
|
|
@@ -622,7 +696,6 @@ export type ContractCreateInput = {
|
|
|
622
696
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
623
697
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
624
698
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
625
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
626
699
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
627
700
|
};
|
|
628
701
|
export type ContractUncheckedCreateInput = {
|
|
@@ -645,6 +718,11 @@ export type ContractUncheckedCreateInput = {
|
|
|
645
718
|
periodicPayment?: number | null;
|
|
646
719
|
totalPaidToDate?: number;
|
|
647
720
|
totalInterestPaid?: number;
|
|
721
|
+
monthlyIncome?: number | null;
|
|
722
|
+
monthlyExpenses?: number | null;
|
|
723
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
724
|
+
underwritingScore?: number | null;
|
|
725
|
+
debtToIncomeRatio?: number | null;
|
|
648
726
|
status?: $Enums.ContractStatus;
|
|
649
727
|
state?: $Enums.ContractStatus;
|
|
650
728
|
currentPhaseId?: string | null;
|
|
@@ -663,7 +741,6 @@ export type ContractUncheckedCreateInput = {
|
|
|
663
741
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
664
742
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
665
743
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
666
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
667
744
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
668
745
|
};
|
|
669
746
|
export type ContractUpdateInput = {
|
|
@@ -681,6 +758,11 @@ export type ContractUpdateInput = {
|
|
|
681
758
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
682
759
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
683
760
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
761
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
762
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
763
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
764
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
765
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
684
766
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
685
767
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
686
768
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -704,7 +786,6 @@ export type ContractUpdateInput = {
|
|
|
704
786
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
705
787
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
706
788
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
707
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
708
789
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
709
790
|
};
|
|
710
791
|
export type ContractUncheckedUpdateInput = {
|
|
@@ -727,6 +808,11 @@ export type ContractUncheckedUpdateInput = {
|
|
|
727
808
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
728
809
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
729
810
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
811
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
812
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
813
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
814
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
815
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
730
816
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
731
817
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
732
818
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -745,7 +831,6 @@ export type ContractUncheckedUpdateInput = {
|
|
|
745
831
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
746
832
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
747
833
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
748
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
749
834
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
750
835
|
};
|
|
751
836
|
export type ContractCreateManyInput = {
|
|
@@ -768,6 +853,11 @@ export type ContractCreateManyInput = {
|
|
|
768
853
|
periodicPayment?: number | null;
|
|
769
854
|
totalPaidToDate?: number;
|
|
770
855
|
totalInterestPaid?: number;
|
|
856
|
+
monthlyIncome?: number | null;
|
|
857
|
+
monthlyExpenses?: number | null;
|
|
858
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
859
|
+
underwritingScore?: number | null;
|
|
860
|
+
debtToIncomeRatio?: number | null;
|
|
771
861
|
status?: $Enums.ContractStatus;
|
|
772
862
|
state?: $Enums.ContractStatus;
|
|
773
863
|
currentPhaseId?: string | null;
|
|
@@ -795,6 +885,11 @@ export type ContractUpdateManyMutationInput = {
|
|
|
795
885
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
796
886
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
797
887
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
888
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
889
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
890
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
891
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
892
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
798
893
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
799
894
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
800
895
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -827,6 +922,11 @@ export type ContractUncheckedUpdateManyInput = {
|
|
|
827
922
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
828
923
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
829
924
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
925
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
926
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
927
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
928
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
929
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
830
930
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
831
931
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
832
932
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -872,6 +972,11 @@ export type ContractCountOrderByAggregateInput = {
|
|
|
872
972
|
periodicPayment?: Prisma.SortOrder;
|
|
873
973
|
totalPaidToDate?: Prisma.SortOrder;
|
|
874
974
|
totalInterestPaid?: Prisma.SortOrder;
|
|
975
|
+
monthlyIncome?: Prisma.SortOrder;
|
|
976
|
+
monthlyExpenses?: Prisma.SortOrder;
|
|
977
|
+
preApprovalAnswers?: Prisma.SortOrder;
|
|
978
|
+
underwritingScore?: Prisma.SortOrder;
|
|
979
|
+
debtToIncomeRatio?: Prisma.SortOrder;
|
|
875
980
|
status?: Prisma.SortOrder;
|
|
876
981
|
state?: Prisma.SortOrder;
|
|
877
982
|
currentPhaseId?: Prisma.SortOrder;
|
|
@@ -894,6 +999,10 @@ export type ContractAvgOrderByAggregateInput = {
|
|
|
894
999
|
periodicPayment?: Prisma.SortOrder;
|
|
895
1000
|
totalPaidToDate?: Prisma.SortOrder;
|
|
896
1001
|
totalInterestPaid?: Prisma.SortOrder;
|
|
1002
|
+
monthlyIncome?: Prisma.SortOrder;
|
|
1003
|
+
monthlyExpenses?: Prisma.SortOrder;
|
|
1004
|
+
underwritingScore?: Prisma.SortOrder;
|
|
1005
|
+
debtToIncomeRatio?: Prisma.SortOrder;
|
|
897
1006
|
};
|
|
898
1007
|
export type ContractMaxOrderByAggregateInput = {
|
|
899
1008
|
id?: Prisma.SortOrder;
|
|
@@ -915,6 +1024,10 @@ export type ContractMaxOrderByAggregateInput = {
|
|
|
915
1024
|
periodicPayment?: Prisma.SortOrder;
|
|
916
1025
|
totalPaidToDate?: Prisma.SortOrder;
|
|
917
1026
|
totalInterestPaid?: Prisma.SortOrder;
|
|
1027
|
+
monthlyIncome?: Prisma.SortOrder;
|
|
1028
|
+
monthlyExpenses?: Prisma.SortOrder;
|
|
1029
|
+
underwritingScore?: Prisma.SortOrder;
|
|
1030
|
+
debtToIncomeRatio?: Prisma.SortOrder;
|
|
918
1031
|
status?: Prisma.SortOrder;
|
|
919
1032
|
state?: Prisma.SortOrder;
|
|
920
1033
|
currentPhaseId?: Prisma.SortOrder;
|
|
@@ -947,6 +1060,10 @@ export type ContractMinOrderByAggregateInput = {
|
|
|
947
1060
|
periodicPayment?: Prisma.SortOrder;
|
|
948
1061
|
totalPaidToDate?: Prisma.SortOrder;
|
|
949
1062
|
totalInterestPaid?: Prisma.SortOrder;
|
|
1063
|
+
monthlyIncome?: Prisma.SortOrder;
|
|
1064
|
+
monthlyExpenses?: Prisma.SortOrder;
|
|
1065
|
+
underwritingScore?: Prisma.SortOrder;
|
|
1066
|
+
debtToIncomeRatio?: Prisma.SortOrder;
|
|
950
1067
|
status?: Prisma.SortOrder;
|
|
951
1068
|
state?: Prisma.SortOrder;
|
|
952
1069
|
currentPhaseId?: Prisma.SortOrder;
|
|
@@ -969,15 +1086,15 @@ export type ContractSumOrderByAggregateInput = {
|
|
|
969
1086
|
periodicPayment?: Prisma.SortOrder;
|
|
970
1087
|
totalPaidToDate?: Prisma.SortOrder;
|
|
971
1088
|
totalInterestPaid?: Prisma.SortOrder;
|
|
1089
|
+
monthlyIncome?: Prisma.SortOrder;
|
|
1090
|
+
monthlyExpenses?: Prisma.SortOrder;
|
|
1091
|
+
underwritingScore?: Prisma.SortOrder;
|
|
1092
|
+
debtToIncomeRatio?: Prisma.SortOrder;
|
|
972
1093
|
};
|
|
973
1094
|
export type ContractScalarRelationFilter = {
|
|
974
1095
|
is?: Prisma.ContractWhereInput;
|
|
975
1096
|
isNot?: Prisma.ContractWhereInput;
|
|
976
1097
|
};
|
|
977
|
-
export type ContractNullableScalarRelationFilter = {
|
|
978
|
-
is?: Prisma.ContractWhereInput | null;
|
|
979
|
-
isNot?: Prisma.ContractWhereInput | null;
|
|
980
|
-
};
|
|
981
1098
|
export type ContractCreateNestedManyWithoutBuyerInput = {
|
|
982
1099
|
create?: Prisma.XOR<Prisma.ContractCreateWithoutBuyerInput, Prisma.ContractUncheckedCreateWithoutBuyerInput> | Prisma.ContractCreateWithoutBuyerInput[] | Prisma.ContractUncheckedCreateWithoutBuyerInput[];
|
|
983
1100
|
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutBuyerInput | Prisma.ContractCreateOrConnectWithoutBuyerInput[];
|
|
@@ -1255,20 +1372,6 @@ export type ContractUpdateOneRequiredWithoutTerminationsNestedInput = {
|
|
|
1255
1372
|
connect?: Prisma.ContractWhereUniqueInput;
|
|
1256
1373
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutTerminationsInput, Prisma.ContractUpdateWithoutTerminationsInput>, Prisma.ContractUncheckedUpdateWithoutTerminationsInput>;
|
|
1257
1374
|
};
|
|
1258
|
-
export type ContractCreateNestedOneWithoutPrequalificationInput = {
|
|
1259
|
-
create?: Prisma.XOR<Prisma.ContractCreateWithoutPrequalificationInput, Prisma.ContractUncheckedCreateWithoutPrequalificationInput>;
|
|
1260
|
-
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPrequalificationInput;
|
|
1261
|
-
connect?: Prisma.ContractWhereUniqueInput;
|
|
1262
|
-
};
|
|
1263
|
-
export type ContractUpdateOneWithoutPrequalificationNestedInput = {
|
|
1264
|
-
create?: Prisma.XOR<Prisma.ContractCreateWithoutPrequalificationInput, Prisma.ContractUncheckedCreateWithoutPrequalificationInput>;
|
|
1265
|
-
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPrequalificationInput;
|
|
1266
|
-
upsert?: Prisma.ContractUpsertWithoutPrequalificationInput;
|
|
1267
|
-
disconnect?: Prisma.ContractWhereInput | boolean;
|
|
1268
|
-
delete?: Prisma.ContractWhereInput | boolean;
|
|
1269
|
-
connect?: Prisma.ContractWhereUniqueInput;
|
|
1270
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutPrequalificationInput, Prisma.ContractUpdateWithoutPrequalificationInput>, Prisma.ContractUncheckedUpdateWithoutPrequalificationInput>;
|
|
1271
|
-
};
|
|
1272
1375
|
export type ContractCreateNestedOneWithoutPaymentMethodChangeRequestsInput = {
|
|
1273
1376
|
create?: Prisma.XOR<Prisma.ContractCreateWithoutPaymentMethodChangeRequestsInput, Prisma.ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
|
|
1274
1377
|
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPaymentMethodChangeRequestsInput;
|
|
@@ -1296,6 +1399,11 @@ export type ContractCreateWithoutBuyerInput = {
|
|
|
1296
1399
|
periodicPayment?: number | null;
|
|
1297
1400
|
totalPaidToDate?: number;
|
|
1298
1401
|
totalInterestPaid?: number;
|
|
1402
|
+
monthlyIncome?: number | null;
|
|
1403
|
+
monthlyExpenses?: number | null;
|
|
1404
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1405
|
+
underwritingScore?: number | null;
|
|
1406
|
+
debtToIncomeRatio?: number | null;
|
|
1299
1407
|
status?: $Enums.ContractStatus;
|
|
1300
1408
|
state?: $Enums.ContractStatus;
|
|
1301
1409
|
currentPhaseId?: string | null;
|
|
@@ -1318,7 +1426,6 @@ export type ContractCreateWithoutBuyerInput = {
|
|
|
1318
1426
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1319
1427
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
1320
1428
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
1321
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1322
1429
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1323
1430
|
};
|
|
1324
1431
|
export type ContractUncheckedCreateWithoutBuyerInput = {
|
|
@@ -1340,6 +1447,11 @@ export type ContractUncheckedCreateWithoutBuyerInput = {
|
|
|
1340
1447
|
periodicPayment?: number | null;
|
|
1341
1448
|
totalPaidToDate?: number;
|
|
1342
1449
|
totalInterestPaid?: number;
|
|
1450
|
+
monthlyIncome?: number | null;
|
|
1451
|
+
monthlyExpenses?: number | null;
|
|
1452
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1453
|
+
underwritingScore?: number | null;
|
|
1454
|
+
debtToIncomeRatio?: number | null;
|
|
1343
1455
|
status?: $Enums.ContractStatus;
|
|
1344
1456
|
state?: $Enums.ContractStatus;
|
|
1345
1457
|
currentPhaseId?: string | null;
|
|
@@ -1358,7 +1470,6 @@ export type ContractUncheckedCreateWithoutBuyerInput = {
|
|
|
1358
1470
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1359
1471
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
1360
1472
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
1361
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1362
1473
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1363
1474
|
};
|
|
1364
1475
|
export type ContractCreateOrConnectWithoutBuyerInput = {
|
|
@@ -1384,6 +1495,11 @@ export type ContractCreateWithoutSellerInput = {
|
|
|
1384
1495
|
periodicPayment?: number | null;
|
|
1385
1496
|
totalPaidToDate?: number;
|
|
1386
1497
|
totalInterestPaid?: number;
|
|
1498
|
+
monthlyIncome?: number | null;
|
|
1499
|
+
monthlyExpenses?: number | null;
|
|
1500
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1501
|
+
underwritingScore?: number | null;
|
|
1502
|
+
debtToIncomeRatio?: number | null;
|
|
1387
1503
|
status?: $Enums.ContractStatus;
|
|
1388
1504
|
state?: $Enums.ContractStatus;
|
|
1389
1505
|
currentPhaseId?: string | null;
|
|
@@ -1406,7 +1522,6 @@ export type ContractCreateWithoutSellerInput = {
|
|
|
1406
1522
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1407
1523
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
1408
1524
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
1409
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1410
1525
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1411
1526
|
};
|
|
1412
1527
|
export type ContractUncheckedCreateWithoutSellerInput = {
|
|
@@ -1428,6 +1543,11 @@ export type ContractUncheckedCreateWithoutSellerInput = {
|
|
|
1428
1543
|
periodicPayment?: number | null;
|
|
1429
1544
|
totalPaidToDate?: number;
|
|
1430
1545
|
totalInterestPaid?: number;
|
|
1546
|
+
monthlyIncome?: number | null;
|
|
1547
|
+
monthlyExpenses?: number | null;
|
|
1548
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1549
|
+
underwritingScore?: number | null;
|
|
1550
|
+
debtToIncomeRatio?: number | null;
|
|
1431
1551
|
status?: $Enums.ContractStatus;
|
|
1432
1552
|
state?: $Enums.ContractStatus;
|
|
1433
1553
|
currentPhaseId?: string | null;
|
|
@@ -1446,7 +1566,6 @@ export type ContractUncheckedCreateWithoutSellerInput = {
|
|
|
1446
1566
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1447
1567
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
1448
1568
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
1449
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1450
1569
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1451
1570
|
};
|
|
1452
1571
|
export type ContractCreateOrConnectWithoutSellerInput = {
|
|
@@ -1493,6 +1612,11 @@ export type ContractScalarWhereInput = {
|
|
|
1493
1612
|
periodicPayment?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1494
1613
|
totalPaidToDate?: Prisma.FloatFilter<"Contract"> | number;
|
|
1495
1614
|
totalInterestPaid?: Prisma.FloatFilter<"Contract"> | number;
|
|
1615
|
+
monthlyIncome?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1616
|
+
monthlyExpenses?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1617
|
+
preApprovalAnswers?: Prisma.JsonNullableFilter<"Contract">;
|
|
1618
|
+
underwritingScore?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1619
|
+
debtToIncomeRatio?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1496
1620
|
status?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
1497
1621
|
state?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
1498
1622
|
currentPhaseId?: Prisma.StringNullableFilter<"Contract"> | string | null;
|
|
@@ -1533,6 +1657,11 @@ export type ContractCreateWithoutTenantInput = {
|
|
|
1533
1657
|
periodicPayment?: number | null;
|
|
1534
1658
|
totalPaidToDate?: number;
|
|
1535
1659
|
totalInterestPaid?: number;
|
|
1660
|
+
monthlyIncome?: number | null;
|
|
1661
|
+
monthlyExpenses?: number | null;
|
|
1662
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1663
|
+
underwritingScore?: number | null;
|
|
1664
|
+
debtToIncomeRatio?: number | null;
|
|
1536
1665
|
status?: $Enums.ContractStatus;
|
|
1537
1666
|
state?: $Enums.ContractStatus;
|
|
1538
1667
|
currentPhaseId?: string | null;
|
|
@@ -1555,7 +1684,6 @@ export type ContractCreateWithoutTenantInput = {
|
|
|
1555
1684
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1556
1685
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
1557
1686
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
1558
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1559
1687
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1560
1688
|
};
|
|
1561
1689
|
export type ContractUncheckedCreateWithoutTenantInput = {
|
|
@@ -1577,6 +1705,11 @@ export type ContractUncheckedCreateWithoutTenantInput = {
|
|
|
1577
1705
|
periodicPayment?: number | null;
|
|
1578
1706
|
totalPaidToDate?: number;
|
|
1579
1707
|
totalInterestPaid?: number;
|
|
1708
|
+
monthlyIncome?: number | null;
|
|
1709
|
+
monthlyExpenses?: number | null;
|
|
1710
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1711
|
+
underwritingScore?: number | null;
|
|
1712
|
+
debtToIncomeRatio?: number | null;
|
|
1580
1713
|
status?: $Enums.ContractStatus;
|
|
1581
1714
|
state?: $Enums.ContractStatus;
|
|
1582
1715
|
currentPhaseId?: string | null;
|
|
@@ -1595,7 +1728,6 @@ export type ContractUncheckedCreateWithoutTenantInput = {
|
|
|
1595
1728
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1596
1729
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
1597
1730
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
1598
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1599
1731
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1600
1732
|
};
|
|
1601
1733
|
export type ContractCreateOrConnectWithoutTenantInput = {
|
|
@@ -1634,6 +1766,11 @@ export type ContractCreateWithoutPropertyUnitInput = {
|
|
|
1634
1766
|
periodicPayment?: number | null;
|
|
1635
1767
|
totalPaidToDate?: number;
|
|
1636
1768
|
totalInterestPaid?: number;
|
|
1769
|
+
monthlyIncome?: number | null;
|
|
1770
|
+
monthlyExpenses?: number | null;
|
|
1771
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1772
|
+
underwritingScore?: number | null;
|
|
1773
|
+
debtToIncomeRatio?: number | null;
|
|
1637
1774
|
status?: $Enums.ContractStatus;
|
|
1638
1775
|
state?: $Enums.ContractStatus;
|
|
1639
1776
|
currentPhaseId?: string | null;
|
|
@@ -1656,7 +1793,6 @@ export type ContractCreateWithoutPropertyUnitInput = {
|
|
|
1656
1793
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1657
1794
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
1658
1795
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
1659
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1660
1796
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1661
1797
|
};
|
|
1662
1798
|
export type ContractUncheckedCreateWithoutPropertyUnitInput = {
|
|
@@ -1678,6 +1814,11 @@ export type ContractUncheckedCreateWithoutPropertyUnitInput = {
|
|
|
1678
1814
|
periodicPayment?: number | null;
|
|
1679
1815
|
totalPaidToDate?: number;
|
|
1680
1816
|
totalInterestPaid?: number;
|
|
1817
|
+
monthlyIncome?: number | null;
|
|
1818
|
+
monthlyExpenses?: number | null;
|
|
1819
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1820
|
+
underwritingScore?: number | null;
|
|
1821
|
+
debtToIncomeRatio?: number | null;
|
|
1681
1822
|
status?: $Enums.ContractStatus;
|
|
1682
1823
|
state?: $Enums.ContractStatus;
|
|
1683
1824
|
currentPhaseId?: string | null;
|
|
@@ -1696,7 +1837,6 @@ export type ContractUncheckedCreateWithoutPropertyUnitInput = {
|
|
|
1696
1837
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1697
1838
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
1698
1839
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
1699
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1700
1840
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1701
1841
|
};
|
|
1702
1842
|
export type ContractCreateOrConnectWithoutPropertyUnitInput = {
|
|
@@ -1735,6 +1875,11 @@ export type ContractCreateWithoutPaymentMethodInput = {
|
|
|
1735
1875
|
periodicPayment?: number | null;
|
|
1736
1876
|
totalPaidToDate?: number;
|
|
1737
1877
|
totalInterestPaid?: number;
|
|
1878
|
+
monthlyIncome?: number | null;
|
|
1879
|
+
monthlyExpenses?: number | null;
|
|
1880
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1881
|
+
underwritingScore?: number | null;
|
|
1882
|
+
debtToIncomeRatio?: number | null;
|
|
1738
1883
|
status?: $Enums.ContractStatus;
|
|
1739
1884
|
state?: $Enums.ContractStatus;
|
|
1740
1885
|
currentPhaseId?: string | null;
|
|
@@ -1757,7 +1902,6 @@ export type ContractCreateWithoutPaymentMethodInput = {
|
|
|
1757
1902
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1758
1903
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
1759
1904
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
1760
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1761
1905
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1762
1906
|
};
|
|
1763
1907
|
export type ContractUncheckedCreateWithoutPaymentMethodInput = {
|
|
@@ -1779,6 +1923,11 @@ export type ContractUncheckedCreateWithoutPaymentMethodInput = {
|
|
|
1779
1923
|
periodicPayment?: number | null;
|
|
1780
1924
|
totalPaidToDate?: number;
|
|
1781
1925
|
totalInterestPaid?: number;
|
|
1926
|
+
monthlyIncome?: number | null;
|
|
1927
|
+
monthlyExpenses?: number | null;
|
|
1928
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1929
|
+
underwritingScore?: number | null;
|
|
1930
|
+
debtToIncomeRatio?: number | null;
|
|
1782
1931
|
status?: $Enums.ContractStatus;
|
|
1783
1932
|
state?: $Enums.ContractStatus;
|
|
1784
1933
|
currentPhaseId?: string | null;
|
|
@@ -1797,7 +1946,6 @@ export type ContractUncheckedCreateWithoutPaymentMethodInput = {
|
|
|
1797
1946
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1798
1947
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
1799
1948
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
1800
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1801
1949
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1802
1950
|
};
|
|
1803
1951
|
export type ContractCreateOrConnectWithoutPaymentMethodInput = {
|
|
@@ -1836,6 +1984,11 @@ export type ContractCreateWithoutPhasesInput = {
|
|
|
1836
1984
|
periodicPayment?: number | null;
|
|
1837
1985
|
totalPaidToDate?: number;
|
|
1838
1986
|
totalInterestPaid?: number;
|
|
1987
|
+
monthlyIncome?: number | null;
|
|
1988
|
+
monthlyExpenses?: number | null;
|
|
1989
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1990
|
+
underwritingScore?: number | null;
|
|
1991
|
+
debtToIncomeRatio?: number | null;
|
|
1839
1992
|
status?: $Enums.ContractStatus;
|
|
1840
1993
|
state?: $Enums.ContractStatus;
|
|
1841
1994
|
currentPhaseId?: string | null;
|
|
@@ -1858,7 +2011,6 @@ export type ContractCreateWithoutPhasesInput = {
|
|
|
1858
2011
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
1859
2012
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
1860
2013
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
1861
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
1862
2014
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
1863
2015
|
};
|
|
1864
2016
|
export type ContractUncheckedCreateWithoutPhasesInput = {
|
|
@@ -1881,6 +2033,11 @@ export type ContractUncheckedCreateWithoutPhasesInput = {
|
|
|
1881
2033
|
periodicPayment?: number | null;
|
|
1882
2034
|
totalPaidToDate?: number;
|
|
1883
2035
|
totalInterestPaid?: number;
|
|
2036
|
+
monthlyIncome?: number | null;
|
|
2037
|
+
monthlyExpenses?: number | null;
|
|
2038
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2039
|
+
underwritingScore?: number | null;
|
|
2040
|
+
debtToIncomeRatio?: number | null;
|
|
1884
2041
|
status?: $Enums.ContractStatus;
|
|
1885
2042
|
state?: $Enums.ContractStatus;
|
|
1886
2043
|
currentPhaseId?: string | null;
|
|
@@ -1898,7 +2055,6 @@ export type ContractUncheckedCreateWithoutPhasesInput = {
|
|
|
1898
2055
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
1899
2056
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
1900
2057
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
1901
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
1902
2058
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
1903
2059
|
};
|
|
1904
2060
|
export type ContractCreateOrConnectWithoutPhasesInput = {
|
|
@@ -1929,6 +2085,11 @@ export type ContractUpdateWithoutPhasesInput = {
|
|
|
1929
2085
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1930
2086
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1931
2087
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2088
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2089
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2090
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2091
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2092
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1932
2093
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
1933
2094
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
1934
2095
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1951,7 +2112,6 @@ export type ContractUpdateWithoutPhasesInput = {
|
|
|
1951
2112
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
1952
2113
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
1953
2114
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
1954
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
1955
2115
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
1956
2116
|
};
|
|
1957
2117
|
export type ContractUncheckedUpdateWithoutPhasesInput = {
|
|
@@ -1974,6 +2134,11 @@ export type ContractUncheckedUpdateWithoutPhasesInput = {
|
|
|
1974
2134
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1975
2135
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1976
2136
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2137
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2138
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2139
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2140
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2141
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1977
2142
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
1978
2143
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
1979
2144
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1991,7 +2156,6 @@ export type ContractUncheckedUpdateWithoutPhasesInput = {
|
|
|
1991
2156
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
1992
2157
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
1993
2158
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
1994
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
1995
2159
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
1996
2160
|
};
|
|
1997
2161
|
export type ContractCreateWithoutPaymentsInput = {
|
|
@@ -2009,6 +2173,11 @@ export type ContractCreateWithoutPaymentsInput = {
|
|
|
2009
2173
|
periodicPayment?: number | null;
|
|
2010
2174
|
totalPaidToDate?: number;
|
|
2011
2175
|
totalInterestPaid?: number;
|
|
2176
|
+
monthlyIncome?: number | null;
|
|
2177
|
+
monthlyExpenses?: number | null;
|
|
2178
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2179
|
+
underwritingScore?: number | null;
|
|
2180
|
+
debtToIncomeRatio?: number | null;
|
|
2012
2181
|
status?: $Enums.ContractStatus;
|
|
2013
2182
|
state?: $Enums.ContractStatus;
|
|
2014
2183
|
currentPhaseId?: string | null;
|
|
@@ -2031,7 +2200,6 @@ export type ContractCreateWithoutPaymentsInput = {
|
|
|
2031
2200
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2032
2201
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
2033
2202
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
2034
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2035
2203
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2036
2204
|
};
|
|
2037
2205
|
export type ContractUncheckedCreateWithoutPaymentsInput = {
|
|
@@ -2054,6 +2222,11 @@ export type ContractUncheckedCreateWithoutPaymentsInput = {
|
|
|
2054
2222
|
periodicPayment?: number | null;
|
|
2055
2223
|
totalPaidToDate?: number;
|
|
2056
2224
|
totalInterestPaid?: number;
|
|
2225
|
+
monthlyIncome?: number | null;
|
|
2226
|
+
monthlyExpenses?: number | null;
|
|
2227
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2228
|
+
underwritingScore?: number | null;
|
|
2229
|
+
debtToIncomeRatio?: number | null;
|
|
2057
2230
|
status?: $Enums.ContractStatus;
|
|
2058
2231
|
state?: $Enums.ContractStatus;
|
|
2059
2232
|
currentPhaseId?: string | null;
|
|
@@ -2071,7 +2244,6 @@ export type ContractUncheckedCreateWithoutPaymentsInput = {
|
|
|
2071
2244
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2072
2245
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
2073
2246
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
2074
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2075
2247
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2076
2248
|
};
|
|
2077
2249
|
export type ContractCreateOrConnectWithoutPaymentsInput = {
|
|
@@ -2102,6 +2274,11 @@ export type ContractUpdateWithoutPaymentsInput = {
|
|
|
2102
2274
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2103
2275
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2104
2276
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2277
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2278
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2279
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2280
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2281
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2105
2282
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2106
2283
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2107
2284
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2124,7 +2301,6 @@ export type ContractUpdateWithoutPaymentsInput = {
|
|
|
2124
2301
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2125
2302
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
2126
2303
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
2127
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2128
2304
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2129
2305
|
};
|
|
2130
2306
|
export type ContractUncheckedUpdateWithoutPaymentsInput = {
|
|
@@ -2147,6 +2323,11 @@ export type ContractUncheckedUpdateWithoutPaymentsInput = {
|
|
|
2147
2323
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2148
2324
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2149
2325
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2326
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2327
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2328
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2329
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2330
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2150
2331
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2151
2332
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2152
2333
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2164,7 +2345,6 @@ export type ContractUncheckedUpdateWithoutPaymentsInput = {
|
|
|
2164
2345
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2165
2346
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
2166
2347
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
2167
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2168
2348
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2169
2349
|
};
|
|
2170
2350
|
export type ContractCreateWithoutDocumentsInput = {
|
|
@@ -2182,6 +2362,11 @@ export type ContractCreateWithoutDocumentsInput = {
|
|
|
2182
2362
|
periodicPayment?: number | null;
|
|
2183
2363
|
totalPaidToDate?: number;
|
|
2184
2364
|
totalInterestPaid?: number;
|
|
2365
|
+
monthlyIncome?: number | null;
|
|
2366
|
+
monthlyExpenses?: number | null;
|
|
2367
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2368
|
+
underwritingScore?: number | null;
|
|
2369
|
+
debtToIncomeRatio?: number | null;
|
|
2185
2370
|
status?: $Enums.ContractStatus;
|
|
2186
2371
|
state?: $Enums.ContractStatus;
|
|
2187
2372
|
currentPhaseId?: string | null;
|
|
@@ -2204,7 +2389,6 @@ export type ContractCreateWithoutDocumentsInput = {
|
|
|
2204
2389
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2205
2390
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
2206
2391
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
2207
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2208
2392
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2209
2393
|
};
|
|
2210
2394
|
export type ContractUncheckedCreateWithoutDocumentsInput = {
|
|
@@ -2227,6 +2411,11 @@ export type ContractUncheckedCreateWithoutDocumentsInput = {
|
|
|
2227
2411
|
periodicPayment?: number | null;
|
|
2228
2412
|
totalPaidToDate?: number;
|
|
2229
2413
|
totalInterestPaid?: number;
|
|
2414
|
+
monthlyIncome?: number | null;
|
|
2415
|
+
monthlyExpenses?: number | null;
|
|
2416
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2417
|
+
underwritingScore?: number | null;
|
|
2418
|
+
debtToIncomeRatio?: number | null;
|
|
2230
2419
|
status?: $Enums.ContractStatus;
|
|
2231
2420
|
state?: $Enums.ContractStatus;
|
|
2232
2421
|
currentPhaseId?: string | null;
|
|
@@ -2244,7 +2433,6 @@ export type ContractUncheckedCreateWithoutDocumentsInput = {
|
|
|
2244
2433
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2245
2434
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
2246
2435
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
2247
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2248
2436
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2249
2437
|
};
|
|
2250
2438
|
export type ContractCreateOrConnectWithoutDocumentsInput = {
|
|
@@ -2275,6 +2463,11 @@ export type ContractUpdateWithoutDocumentsInput = {
|
|
|
2275
2463
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2276
2464
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2277
2465
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2466
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2467
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2468
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2469
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2470
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2278
2471
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2279
2472
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2280
2473
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2297,7 +2490,6 @@ export type ContractUpdateWithoutDocumentsInput = {
|
|
|
2297
2490
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2298
2491
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
2299
2492
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
2300
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2301
2493
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2302
2494
|
};
|
|
2303
2495
|
export type ContractUncheckedUpdateWithoutDocumentsInput = {
|
|
@@ -2320,6 +2512,11 @@ export type ContractUncheckedUpdateWithoutDocumentsInput = {
|
|
|
2320
2512
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2321
2513
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2322
2514
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2515
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2516
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2517
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2518
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2519
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2323
2520
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2324
2521
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2325
2522
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2337,7 +2534,6 @@ export type ContractUncheckedUpdateWithoutDocumentsInput = {
|
|
|
2337
2534
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2338
2535
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
2339
2536
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
2340
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2341
2537
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2342
2538
|
};
|
|
2343
2539
|
export type ContractCreateWithoutTransitionsInput = {
|
|
@@ -2355,6 +2551,11 @@ export type ContractCreateWithoutTransitionsInput = {
|
|
|
2355
2551
|
periodicPayment?: number | null;
|
|
2356
2552
|
totalPaidToDate?: number;
|
|
2357
2553
|
totalInterestPaid?: number;
|
|
2554
|
+
monthlyIncome?: number | null;
|
|
2555
|
+
monthlyExpenses?: number | null;
|
|
2556
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2557
|
+
underwritingScore?: number | null;
|
|
2558
|
+
debtToIncomeRatio?: number | null;
|
|
2358
2559
|
status?: $Enums.ContractStatus;
|
|
2359
2560
|
state?: $Enums.ContractStatus;
|
|
2360
2561
|
currentPhaseId?: string | null;
|
|
@@ -2377,7 +2578,6 @@ export type ContractCreateWithoutTransitionsInput = {
|
|
|
2377
2578
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2378
2579
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
2379
2580
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
2380
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2381
2581
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2382
2582
|
};
|
|
2383
2583
|
export type ContractUncheckedCreateWithoutTransitionsInput = {
|
|
@@ -2400,6 +2600,11 @@ export type ContractUncheckedCreateWithoutTransitionsInput = {
|
|
|
2400
2600
|
periodicPayment?: number | null;
|
|
2401
2601
|
totalPaidToDate?: number;
|
|
2402
2602
|
totalInterestPaid?: number;
|
|
2603
|
+
monthlyIncome?: number | null;
|
|
2604
|
+
monthlyExpenses?: number | null;
|
|
2605
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2606
|
+
underwritingScore?: number | null;
|
|
2607
|
+
debtToIncomeRatio?: number | null;
|
|
2403
2608
|
status?: $Enums.ContractStatus;
|
|
2404
2609
|
state?: $Enums.ContractStatus;
|
|
2405
2610
|
currentPhaseId?: string | null;
|
|
@@ -2417,7 +2622,6 @@ export type ContractUncheckedCreateWithoutTransitionsInput = {
|
|
|
2417
2622
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2418
2623
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
2419
2624
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
2420
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2421
2625
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2422
2626
|
};
|
|
2423
2627
|
export type ContractCreateOrConnectWithoutTransitionsInput = {
|
|
@@ -2448,6 +2652,11 @@ export type ContractUpdateWithoutTransitionsInput = {
|
|
|
2448
2652
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2449
2653
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2450
2654
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2655
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2656
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2657
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2658
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2659
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2451
2660
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2452
2661
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2453
2662
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2470,7 +2679,6 @@ export type ContractUpdateWithoutTransitionsInput = {
|
|
|
2470
2679
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2471
2680
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
2472
2681
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
2473
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2474
2682
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2475
2683
|
};
|
|
2476
2684
|
export type ContractUncheckedUpdateWithoutTransitionsInput = {
|
|
@@ -2493,6 +2701,11 @@ export type ContractUncheckedUpdateWithoutTransitionsInput = {
|
|
|
2493
2701
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2494
2702
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2495
2703
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2704
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2705
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2706
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2707
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2708
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2496
2709
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2497
2710
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2498
2711
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2510,7 +2723,6 @@ export type ContractUncheckedUpdateWithoutTransitionsInput = {
|
|
|
2510
2723
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2511
2724
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
2512
2725
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
2513
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2514
2726
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2515
2727
|
};
|
|
2516
2728
|
export type ContractCreateWithoutEventsInput = {
|
|
@@ -2528,6 +2740,11 @@ export type ContractCreateWithoutEventsInput = {
|
|
|
2528
2740
|
periodicPayment?: number | null;
|
|
2529
2741
|
totalPaidToDate?: number;
|
|
2530
2742
|
totalInterestPaid?: number;
|
|
2743
|
+
monthlyIncome?: number | null;
|
|
2744
|
+
monthlyExpenses?: number | null;
|
|
2745
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2746
|
+
underwritingScore?: number | null;
|
|
2747
|
+
debtToIncomeRatio?: number | null;
|
|
2531
2748
|
status?: $Enums.ContractStatus;
|
|
2532
2749
|
state?: $Enums.ContractStatus;
|
|
2533
2750
|
currentPhaseId?: string | null;
|
|
@@ -2550,7 +2767,6 @@ export type ContractCreateWithoutEventsInput = {
|
|
|
2550
2767
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
2551
2768
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
2552
2769
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
2553
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2554
2770
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2555
2771
|
};
|
|
2556
2772
|
export type ContractUncheckedCreateWithoutEventsInput = {
|
|
@@ -2573,6 +2789,11 @@ export type ContractUncheckedCreateWithoutEventsInput = {
|
|
|
2573
2789
|
periodicPayment?: number | null;
|
|
2574
2790
|
totalPaidToDate?: number;
|
|
2575
2791
|
totalInterestPaid?: number;
|
|
2792
|
+
monthlyIncome?: number | null;
|
|
2793
|
+
monthlyExpenses?: number | null;
|
|
2794
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2795
|
+
underwritingScore?: number | null;
|
|
2796
|
+
debtToIncomeRatio?: number | null;
|
|
2576
2797
|
status?: $Enums.ContractStatus;
|
|
2577
2798
|
state?: $Enums.ContractStatus;
|
|
2578
2799
|
currentPhaseId?: string | null;
|
|
@@ -2590,7 +2811,6 @@ export type ContractUncheckedCreateWithoutEventsInput = {
|
|
|
2590
2811
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
2591
2812
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
2592
2813
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
2593
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2594
2814
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2595
2815
|
};
|
|
2596
2816
|
export type ContractCreateOrConnectWithoutEventsInput = {
|
|
@@ -2621,6 +2841,11 @@ export type ContractUpdateWithoutEventsInput = {
|
|
|
2621
2841
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2622
2842
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2623
2843
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2844
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2845
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2846
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2847
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2848
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2624
2849
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2625
2850
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2626
2851
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2643,7 +2868,6 @@ export type ContractUpdateWithoutEventsInput = {
|
|
|
2643
2868
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2644
2869
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
2645
2870
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
2646
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2647
2871
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2648
2872
|
};
|
|
2649
2873
|
export type ContractUncheckedUpdateWithoutEventsInput = {
|
|
@@ -2666,6 +2890,11 @@ export type ContractUncheckedUpdateWithoutEventsInput = {
|
|
|
2666
2890
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2667
2891
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2668
2892
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2893
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2894
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2895
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2896
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2897
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2669
2898
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2670
2899
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2671
2900
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2683,7 +2912,6 @@ export type ContractUncheckedUpdateWithoutEventsInput = {
|
|
|
2683
2912
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2684
2913
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
2685
2914
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
2686
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2687
2915
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2688
2916
|
};
|
|
2689
2917
|
export type ContractCreateWithoutOfferLettersInput = {
|
|
@@ -2701,6 +2929,11 @@ export type ContractCreateWithoutOfferLettersInput = {
|
|
|
2701
2929
|
periodicPayment?: number | null;
|
|
2702
2930
|
totalPaidToDate?: number;
|
|
2703
2931
|
totalInterestPaid?: number;
|
|
2932
|
+
monthlyIncome?: number | null;
|
|
2933
|
+
monthlyExpenses?: number | null;
|
|
2934
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2935
|
+
underwritingScore?: number | null;
|
|
2936
|
+
debtToIncomeRatio?: number | null;
|
|
2704
2937
|
status?: $Enums.ContractStatus;
|
|
2705
2938
|
state?: $Enums.ContractStatus;
|
|
2706
2939
|
currentPhaseId?: string | null;
|
|
@@ -2723,7 +2956,6 @@ export type ContractCreateWithoutOfferLettersInput = {
|
|
|
2723
2956
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
2724
2957
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2725
2958
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
2726
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2727
2959
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2728
2960
|
};
|
|
2729
2961
|
export type ContractUncheckedCreateWithoutOfferLettersInput = {
|
|
@@ -2746,6 +2978,11 @@ export type ContractUncheckedCreateWithoutOfferLettersInput = {
|
|
|
2746
2978
|
periodicPayment?: number | null;
|
|
2747
2979
|
totalPaidToDate?: number;
|
|
2748
2980
|
totalInterestPaid?: number;
|
|
2981
|
+
monthlyIncome?: number | null;
|
|
2982
|
+
monthlyExpenses?: number | null;
|
|
2983
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2984
|
+
underwritingScore?: number | null;
|
|
2985
|
+
debtToIncomeRatio?: number | null;
|
|
2749
2986
|
status?: $Enums.ContractStatus;
|
|
2750
2987
|
state?: $Enums.ContractStatus;
|
|
2751
2988
|
currentPhaseId?: string | null;
|
|
@@ -2763,7 +3000,6 @@ export type ContractUncheckedCreateWithoutOfferLettersInput = {
|
|
|
2763
3000
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
2764
3001
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2765
3002
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
2766
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2767
3003
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2768
3004
|
};
|
|
2769
3005
|
export type ContractCreateOrConnectWithoutOfferLettersInput = {
|
|
@@ -2794,6 +3030,11 @@ export type ContractUpdateWithoutOfferLettersInput = {
|
|
|
2794
3030
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2795
3031
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2796
3032
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3033
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3034
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3035
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3036
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3037
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2797
3038
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2798
3039
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2799
3040
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2816,7 +3057,6 @@ export type ContractUpdateWithoutOfferLettersInput = {
|
|
|
2816
3057
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2817
3058
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2818
3059
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
2819
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2820
3060
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2821
3061
|
};
|
|
2822
3062
|
export type ContractUncheckedUpdateWithoutOfferLettersInput = {
|
|
@@ -2839,6 +3079,11 @@ export type ContractUncheckedUpdateWithoutOfferLettersInput = {
|
|
|
2839
3079
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2840
3080
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2841
3081
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3082
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3083
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3084
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3085
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3086
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2842
3087
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2843
3088
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2844
3089
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2856,7 +3101,6 @@ export type ContractUncheckedUpdateWithoutOfferLettersInput = {
|
|
|
2856
3101
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
2857
3102
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2858
3103
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
2859
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
2860
3104
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
2861
3105
|
};
|
|
2862
3106
|
export type ContractCreateWithoutTerminationsInput = {
|
|
@@ -2874,6 +3118,11 @@ export type ContractCreateWithoutTerminationsInput = {
|
|
|
2874
3118
|
periodicPayment?: number | null;
|
|
2875
3119
|
totalPaidToDate?: number;
|
|
2876
3120
|
totalInterestPaid?: number;
|
|
3121
|
+
monthlyIncome?: number | null;
|
|
3122
|
+
monthlyExpenses?: number | null;
|
|
3123
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3124
|
+
underwritingScore?: number | null;
|
|
3125
|
+
debtToIncomeRatio?: number | null;
|
|
2877
3126
|
status?: $Enums.ContractStatus;
|
|
2878
3127
|
state?: $Enums.ContractStatus;
|
|
2879
3128
|
currentPhaseId?: string | null;
|
|
@@ -2896,7 +3145,6 @@ export type ContractCreateWithoutTerminationsInput = {
|
|
|
2896
3145
|
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
2897
3146
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2898
3147
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
2899
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
2900
3148
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2901
3149
|
};
|
|
2902
3150
|
export type ContractUncheckedCreateWithoutTerminationsInput = {
|
|
@@ -2919,6 +3167,11 @@ export type ContractUncheckedCreateWithoutTerminationsInput = {
|
|
|
2919
3167
|
periodicPayment?: number | null;
|
|
2920
3168
|
totalPaidToDate?: number;
|
|
2921
3169
|
totalInterestPaid?: number;
|
|
3170
|
+
monthlyIncome?: number | null;
|
|
3171
|
+
monthlyExpenses?: number | null;
|
|
3172
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3173
|
+
underwritingScore?: number | null;
|
|
3174
|
+
debtToIncomeRatio?: number | null;
|
|
2922
3175
|
status?: $Enums.ContractStatus;
|
|
2923
3176
|
state?: $Enums.ContractStatus;
|
|
2924
3177
|
currentPhaseId?: string | null;
|
|
@@ -2936,7 +3189,6 @@ export type ContractUncheckedCreateWithoutTerminationsInput = {
|
|
|
2936
3189
|
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
2937
3190
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2938
3191
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
2939
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
2940
3192
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2941
3193
|
};
|
|
2942
3194
|
export type ContractCreateOrConnectWithoutTerminationsInput = {
|
|
@@ -2967,6 +3219,11 @@ export type ContractUpdateWithoutTerminationsInput = {
|
|
|
2967
3219
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2968
3220
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2969
3221
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3222
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3223
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3224
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3225
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3226
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2970
3227
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2971
3228
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2972
3229
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -2989,7 +3246,6 @@ export type ContractUpdateWithoutTerminationsInput = {
|
|
|
2989
3246
|
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
2990
3247
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
2991
3248
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
2992
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
2993
3249
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
2994
3250
|
};
|
|
2995
3251
|
export type ContractUncheckedUpdateWithoutTerminationsInput = {
|
|
@@ -3012,6 +3268,11 @@ export type ContractUncheckedUpdateWithoutTerminationsInput = {
|
|
|
3012
3268
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3013
3269
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3014
3270
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3271
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3272
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3273
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3274
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3275
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3015
3276
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3016
3277
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3017
3278
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3029,180 +3290,6 @@ export type ContractUncheckedUpdateWithoutTerminationsInput = {
|
|
|
3029
3290
|
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
3030
3291
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3031
3292
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
3032
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3033
|
-
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
3034
|
-
};
|
|
3035
|
-
export type ContractCreateWithoutPrequalificationInput = {
|
|
3036
|
-
id?: string;
|
|
3037
|
-
contractNumber: string;
|
|
3038
|
-
title: string;
|
|
3039
|
-
description?: string | null;
|
|
3040
|
-
contractType: string;
|
|
3041
|
-
totalAmount: number;
|
|
3042
|
-
downPayment?: number;
|
|
3043
|
-
downPaymentPaid?: number;
|
|
3044
|
-
principal?: number | null;
|
|
3045
|
-
interestRate?: number | null;
|
|
3046
|
-
termMonths?: number | null;
|
|
3047
|
-
periodicPayment?: number | null;
|
|
3048
|
-
totalPaidToDate?: number;
|
|
3049
|
-
totalInterestPaid?: number;
|
|
3050
|
-
status?: $Enums.ContractStatus;
|
|
3051
|
-
state?: $Enums.ContractStatus;
|
|
3052
|
-
currentPhaseId?: string | null;
|
|
3053
|
-
nextPaymentDueDate?: Date | string | null;
|
|
3054
|
-
lastReminderSentAt?: Date | string | null;
|
|
3055
|
-
startDate?: Date | string | null;
|
|
3056
|
-
endDate?: Date | string | null;
|
|
3057
|
-
signedAt?: Date | string | null;
|
|
3058
|
-
terminatedAt?: Date | string | null;
|
|
3059
|
-
createdAt?: Date | string;
|
|
3060
|
-
updatedAt?: Date | string;
|
|
3061
|
-
tenant: Prisma.TenantCreateNestedOneWithoutContractsInput;
|
|
3062
|
-
propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutContractsInput;
|
|
3063
|
-
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
3064
|
-
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
3065
|
-
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
3066
|
-
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
3067
|
-
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
3068
|
-
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
3069
|
-
transitions?: Prisma.ContractTransitionCreateNestedManyWithoutContractInput;
|
|
3070
|
-
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
3071
|
-
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
3072
|
-
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
3073
|
-
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
3074
|
-
};
|
|
3075
|
-
export type ContractUncheckedCreateWithoutPrequalificationInput = {
|
|
3076
|
-
id?: string;
|
|
3077
|
-
tenantId: string;
|
|
3078
|
-
propertyUnitId: string;
|
|
3079
|
-
buyerId: string;
|
|
3080
|
-
sellerId?: string | null;
|
|
3081
|
-
paymentMethodId?: string | null;
|
|
3082
|
-
contractNumber: string;
|
|
3083
|
-
title: string;
|
|
3084
|
-
description?: string | null;
|
|
3085
|
-
contractType: string;
|
|
3086
|
-
totalAmount: number;
|
|
3087
|
-
downPayment?: number;
|
|
3088
|
-
downPaymentPaid?: number;
|
|
3089
|
-
principal?: number | null;
|
|
3090
|
-
interestRate?: number | null;
|
|
3091
|
-
termMonths?: number | null;
|
|
3092
|
-
periodicPayment?: number | null;
|
|
3093
|
-
totalPaidToDate?: number;
|
|
3094
|
-
totalInterestPaid?: number;
|
|
3095
|
-
status?: $Enums.ContractStatus;
|
|
3096
|
-
state?: $Enums.ContractStatus;
|
|
3097
|
-
currentPhaseId?: string | null;
|
|
3098
|
-
nextPaymentDueDate?: Date | string | null;
|
|
3099
|
-
lastReminderSentAt?: Date | string | null;
|
|
3100
|
-
startDate?: Date | string | null;
|
|
3101
|
-
endDate?: Date | string | null;
|
|
3102
|
-
signedAt?: Date | string | null;
|
|
3103
|
-
terminatedAt?: Date | string | null;
|
|
3104
|
-
createdAt?: Date | string;
|
|
3105
|
-
updatedAt?: Date | string;
|
|
3106
|
-
phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
|
|
3107
|
-
documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
|
|
3108
|
-
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
3109
|
-
transitions?: Prisma.ContractTransitionUncheckedCreateNestedManyWithoutContractInput;
|
|
3110
|
-
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
3111
|
-
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
3112
|
-
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
3113
|
-
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
3114
|
-
};
|
|
3115
|
-
export type ContractCreateOrConnectWithoutPrequalificationInput = {
|
|
3116
|
-
where: Prisma.ContractWhereUniqueInput;
|
|
3117
|
-
create: Prisma.XOR<Prisma.ContractCreateWithoutPrequalificationInput, Prisma.ContractUncheckedCreateWithoutPrequalificationInput>;
|
|
3118
|
-
};
|
|
3119
|
-
export type ContractUpsertWithoutPrequalificationInput = {
|
|
3120
|
-
update: Prisma.XOR<Prisma.ContractUpdateWithoutPrequalificationInput, Prisma.ContractUncheckedUpdateWithoutPrequalificationInput>;
|
|
3121
|
-
create: Prisma.XOR<Prisma.ContractCreateWithoutPrequalificationInput, Prisma.ContractUncheckedCreateWithoutPrequalificationInput>;
|
|
3122
|
-
where?: Prisma.ContractWhereInput;
|
|
3123
|
-
};
|
|
3124
|
-
export type ContractUpdateToOneWithWhereWithoutPrequalificationInput = {
|
|
3125
|
-
where?: Prisma.ContractWhereInput;
|
|
3126
|
-
data: Prisma.XOR<Prisma.ContractUpdateWithoutPrequalificationInput, Prisma.ContractUncheckedUpdateWithoutPrequalificationInput>;
|
|
3127
|
-
};
|
|
3128
|
-
export type ContractUpdateWithoutPrequalificationInput = {
|
|
3129
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3130
|
-
contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3131
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3132
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3133
|
-
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3134
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3135
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3136
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3137
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3138
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3139
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3140
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3141
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3142
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3143
|
-
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3144
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3145
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3146
|
-
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3147
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3148
|
-
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3149
|
-
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3150
|
-
signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3151
|
-
terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3152
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
3153
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
3154
|
-
tenant?: Prisma.TenantUpdateOneRequiredWithoutContractsNestedInput;
|
|
3155
|
-
propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutContractsNestedInput;
|
|
3156
|
-
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
3157
|
-
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
3158
|
-
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
3159
|
-
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
3160
|
-
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
3161
|
-
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
3162
|
-
transitions?: Prisma.ContractTransitionUpdateManyWithoutContractNestedInput;
|
|
3163
|
-
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3164
|
-
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
3165
|
-
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
3166
|
-
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
3167
|
-
};
|
|
3168
|
-
export type ContractUncheckedUpdateWithoutPrequalificationInput = {
|
|
3169
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3170
|
-
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3171
|
-
propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3172
|
-
buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3173
|
-
sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3174
|
-
paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3175
|
-
contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3176
|
-
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3177
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3178
|
-
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3179
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3180
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3181
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3182
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3183
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3184
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3185
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3186
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3187
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3188
|
-
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3189
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3190
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3191
|
-
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3192
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3193
|
-
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3194
|
-
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3195
|
-
signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3196
|
-
terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3197
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
3198
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
3199
|
-
phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
|
|
3200
|
-
documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
|
|
3201
|
-
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
3202
|
-
transitions?: Prisma.ContractTransitionUncheckedUpdateManyWithoutContractNestedInput;
|
|
3203
|
-
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3204
|
-
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
3205
|
-
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
3206
3293
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
3207
3294
|
};
|
|
3208
3295
|
export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
@@ -3220,6 +3307,11 @@ export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
3220
3307
|
periodicPayment?: number | null;
|
|
3221
3308
|
totalPaidToDate?: number;
|
|
3222
3309
|
totalInterestPaid?: number;
|
|
3310
|
+
monthlyIncome?: number | null;
|
|
3311
|
+
monthlyExpenses?: number | null;
|
|
3312
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3313
|
+
underwritingScore?: number | null;
|
|
3314
|
+
debtToIncomeRatio?: number | null;
|
|
3223
3315
|
status?: $Enums.ContractStatus;
|
|
3224
3316
|
state?: $Enums.ContractStatus;
|
|
3225
3317
|
currentPhaseId?: string | null;
|
|
@@ -3243,7 +3335,6 @@ export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
3243
3335
|
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
3244
3336
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
3245
3337
|
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
3246
|
-
prequalification?: Prisma.PrequalificationCreateNestedOneWithoutContractInput;
|
|
3247
3338
|
};
|
|
3248
3339
|
export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
3249
3340
|
id?: string;
|
|
@@ -3265,6 +3356,11 @@ export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
3265
3356
|
periodicPayment?: number | null;
|
|
3266
3357
|
totalPaidToDate?: number;
|
|
3267
3358
|
totalInterestPaid?: number;
|
|
3359
|
+
monthlyIncome?: number | null;
|
|
3360
|
+
monthlyExpenses?: number | null;
|
|
3361
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3362
|
+
underwritingScore?: number | null;
|
|
3363
|
+
debtToIncomeRatio?: number | null;
|
|
3268
3364
|
status?: $Enums.ContractStatus;
|
|
3269
3365
|
state?: $Enums.ContractStatus;
|
|
3270
3366
|
currentPhaseId?: string | null;
|
|
@@ -3283,7 +3379,6 @@ export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
3283
3379
|
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
3284
3380
|
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
3285
3381
|
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
3286
|
-
prequalification?: Prisma.PrequalificationUncheckedCreateNestedOneWithoutContractInput;
|
|
3287
3382
|
};
|
|
3288
3383
|
export type ContractCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
|
|
3289
3384
|
where: Prisma.ContractWhereUniqueInput;
|
|
@@ -3313,6 +3408,11 @@ export type ContractUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
3313
3408
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3314
3409
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3315
3410
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3411
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3412
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3413
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3414
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3415
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3316
3416
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3317
3417
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3318
3418
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3336,7 +3436,6 @@ export type ContractUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
3336
3436
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3337
3437
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
3338
3438
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
3339
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3340
3439
|
};
|
|
3341
3440
|
export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
3342
3441
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -3358,6 +3457,11 @@ export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
3358
3457
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3359
3458
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3360
3459
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3460
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3461
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3462
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3463
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3464
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3361
3465
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3362
3466
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3363
3467
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3376,7 +3480,6 @@ export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
3376
3480
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3377
3481
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
3378
3482
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
3379
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3380
3483
|
};
|
|
3381
3484
|
export type ContractCreateManyBuyerInput = {
|
|
3382
3485
|
id?: string;
|
|
@@ -3397,6 +3500,11 @@ export type ContractCreateManyBuyerInput = {
|
|
|
3397
3500
|
periodicPayment?: number | null;
|
|
3398
3501
|
totalPaidToDate?: number;
|
|
3399
3502
|
totalInterestPaid?: number;
|
|
3503
|
+
monthlyIncome?: number | null;
|
|
3504
|
+
monthlyExpenses?: number | null;
|
|
3505
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3506
|
+
underwritingScore?: number | null;
|
|
3507
|
+
debtToIncomeRatio?: number | null;
|
|
3400
3508
|
status?: $Enums.ContractStatus;
|
|
3401
3509
|
state?: $Enums.ContractStatus;
|
|
3402
3510
|
currentPhaseId?: string | null;
|
|
@@ -3428,6 +3536,11 @@ export type ContractCreateManySellerInput = {
|
|
|
3428
3536
|
periodicPayment?: number | null;
|
|
3429
3537
|
totalPaidToDate?: number;
|
|
3430
3538
|
totalInterestPaid?: number;
|
|
3539
|
+
monthlyIncome?: number | null;
|
|
3540
|
+
monthlyExpenses?: number | null;
|
|
3541
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3542
|
+
underwritingScore?: number | null;
|
|
3543
|
+
debtToIncomeRatio?: number | null;
|
|
3431
3544
|
status?: $Enums.ContractStatus;
|
|
3432
3545
|
state?: $Enums.ContractStatus;
|
|
3433
3546
|
currentPhaseId?: string | null;
|
|
@@ -3455,6 +3568,11 @@ export type ContractUpdateWithoutBuyerInput = {
|
|
|
3455
3568
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3456
3569
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3457
3570
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3571
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3572
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3573
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3574
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3575
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3458
3576
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3459
3577
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3460
3578
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3477,7 +3595,6 @@ export type ContractUpdateWithoutBuyerInput = {
|
|
|
3477
3595
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3478
3596
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
3479
3597
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
3480
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3481
3598
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
3482
3599
|
};
|
|
3483
3600
|
export type ContractUncheckedUpdateWithoutBuyerInput = {
|
|
@@ -3499,6 +3616,11 @@ export type ContractUncheckedUpdateWithoutBuyerInput = {
|
|
|
3499
3616
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3500
3617
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3501
3618
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3619
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3620
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3621
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3622
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3623
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3502
3624
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3503
3625
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3504
3626
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3517,7 +3639,6 @@ export type ContractUncheckedUpdateWithoutBuyerInput = {
|
|
|
3517
3639
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3518
3640
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
3519
3641
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
3520
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3521
3642
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
3522
3643
|
};
|
|
3523
3644
|
export type ContractUncheckedUpdateManyWithoutBuyerInput = {
|
|
@@ -3539,6 +3660,11 @@ export type ContractUncheckedUpdateManyWithoutBuyerInput = {
|
|
|
3539
3660
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3540
3661
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3541
3662
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3663
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3664
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3665
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3666
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3667
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3542
3668
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3543
3669
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3544
3670
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3566,6 +3692,11 @@ export type ContractUpdateWithoutSellerInput = {
|
|
|
3566
3692
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3567
3693
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3568
3694
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3695
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3696
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3697
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3698
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3699
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3569
3700
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3570
3701
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3571
3702
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3588,7 +3719,6 @@ export type ContractUpdateWithoutSellerInput = {
|
|
|
3588
3719
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3589
3720
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
3590
3721
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
3591
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3592
3722
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
3593
3723
|
};
|
|
3594
3724
|
export type ContractUncheckedUpdateWithoutSellerInput = {
|
|
@@ -3610,6 +3740,11 @@ export type ContractUncheckedUpdateWithoutSellerInput = {
|
|
|
3610
3740
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3611
3741
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3612
3742
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3743
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3744
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3745
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3746
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3747
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3613
3748
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3614
3749
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3615
3750
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3628,7 +3763,6 @@ export type ContractUncheckedUpdateWithoutSellerInput = {
|
|
|
3628
3763
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3629
3764
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
3630
3765
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
3631
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3632
3766
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
3633
3767
|
};
|
|
3634
3768
|
export type ContractUncheckedUpdateManyWithoutSellerInput = {
|
|
@@ -3650,6 +3784,11 @@ export type ContractUncheckedUpdateManyWithoutSellerInput = {
|
|
|
3650
3784
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3651
3785
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3652
3786
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3787
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3788
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3789
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3790
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3791
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3653
3792
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3654
3793
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3655
3794
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3681,6 +3820,11 @@ export type ContractCreateManyTenantInput = {
|
|
|
3681
3820
|
periodicPayment?: number | null;
|
|
3682
3821
|
totalPaidToDate?: number;
|
|
3683
3822
|
totalInterestPaid?: number;
|
|
3823
|
+
monthlyIncome?: number | null;
|
|
3824
|
+
monthlyExpenses?: number | null;
|
|
3825
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3826
|
+
underwritingScore?: number | null;
|
|
3827
|
+
debtToIncomeRatio?: number | null;
|
|
3684
3828
|
status?: $Enums.ContractStatus;
|
|
3685
3829
|
state?: $Enums.ContractStatus;
|
|
3686
3830
|
currentPhaseId?: string | null;
|
|
@@ -3708,6 +3852,11 @@ export type ContractUpdateWithoutTenantInput = {
|
|
|
3708
3852
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3709
3853
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3710
3854
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3855
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3856
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3857
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3858
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3859
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3711
3860
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3712
3861
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3713
3862
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3730,7 +3879,6 @@ export type ContractUpdateWithoutTenantInput = {
|
|
|
3730
3879
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3731
3880
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
3732
3881
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
3733
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3734
3882
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
3735
3883
|
};
|
|
3736
3884
|
export type ContractUncheckedUpdateWithoutTenantInput = {
|
|
@@ -3752,6 +3900,11 @@ export type ContractUncheckedUpdateWithoutTenantInput = {
|
|
|
3752
3900
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3753
3901
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3754
3902
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3903
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3904
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3905
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3906
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3907
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3755
3908
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3756
3909
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3757
3910
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3770,7 +3923,6 @@ export type ContractUncheckedUpdateWithoutTenantInput = {
|
|
|
3770
3923
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3771
3924
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
3772
3925
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
3773
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3774
3926
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
3775
3927
|
};
|
|
3776
3928
|
export type ContractUncheckedUpdateManyWithoutTenantInput = {
|
|
@@ -3792,6 +3944,11 @@ export type ContractUncheckedUpdateManyWithoutTenantInput = {
|
|
|
3792
3944
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3793
3945
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3794
3946
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3947
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3948
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3949
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3950
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3951
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3795
3952
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3796
3953
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3797
3954
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3823,6 +3980,11 @@ export type ContractCreateManyPropertyUnitInput = {
|
|
|
3823
3980
|
periodicPayment?: number | null;
|
|
3824
3981
|
totalPaidToDate?: number;
|
|
3825
3982
|
totalInterestPaid?: number;
|
|
3983
|
+
monthlyIncome?: number | null;
|
|
3984
|
+
monthlyExpenses?: number | null;
|
|
3985
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3986
|
+
underwritingScore?: number | null;
|
|
3987
|
+
debtToIncomeRatio?: number | null;
|
|
3826
3988
|
status?: $Enums.ContractStatus;
|
|
3827
3989
|
state?: $Enums.ContractStatus;
|
|
3828
3990
|
currentPhaseId?: string | null;
|
|
@@ -3850,6 +4012,11 @@ export type ContractUpdateWithoutPropertyUnitInput = {
|
|
|
3850
4012
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3851
4013
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3852
4014
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4015
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4016
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4017
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4018
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4019
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3853
4020
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3854
4021
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3855
4022
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3872,7 +4039,6 @@ export type ContractUpdateWithoutPropertyUnitInput = {
|
|
|
3872
4039
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
3873
4040
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
3874
4041
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
3875
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
3876
4042
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
3877
4043
|
};
|
|
3878
4044
|
export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
|
|
@@ -3894,6 +4060,11 @@ export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
|
|
|
3894
4060
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3895
4061
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3896
4062
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4063
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4064
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4065
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4066
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4067
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3897
4068
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3898
4069
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3899
4070
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3912,7 +4083,6 @@ export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
|
|
|
3912
4083
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
3913
4084
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
3914
4085
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
3915
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
3916
4086
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
3917
4087
|
};
|
|
3918
4088
|
export type ContractUncheckedUpdateManyWithoutPropertyUnitInput = {
|
|
@@ -3934,6 +4104,11 @@ export type ContractUncheckedUpdateManyWithoutPropertyUnitInput = {
|
|
|
3934
4104
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3935
4105
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3936
4106
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4107
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4108
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4109
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4110
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4111
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3937
4112
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3938
4113
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3939
4114
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -3965,6 +4140,11 @@ export type ContractCreateManyPaymentMethodInput = {
|
|
|
3965
4140
|
periodicPayment?: number | null;
|
|
3966
4141
|
totalPaidToDate?: number;
|
|
3967
4142
|
totalInterestPaid?: number;
|
|
4143
|
+
monthlyIncome?: number | null;
|
|
4144
|
+
monthlyExpenses?: number | null;
|
|
4145
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4146
|
+
underwritingScore?: number | null;
|
|
4147
|
+
debtToIncomeRatio?: number | null;
|
|
3968
4148
|
status?: $Enums.ContractStatus;
|
|
3969
4149
|
state?: $Enums.ContractStatus;
|
|
3970
4150
|
currentPhaseId?: string | null;
|
|
@@ -3992,6 +4172,11 @@ export type ContractUpdateWithoutPaymentMethodInput = {
|
|
|
3992
4172
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3993
4173
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3994
4174
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4175
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4176
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4177
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4178
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4179
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3995
4180
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3996
4181
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3997
4182
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -4014,7 +4199,6 @@ export type ContractUpdateWithoutPaymentMethodInput = {
|
|
|
4014
4199
|
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
4015
4200
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
4016
4201
|
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
4017
|
-
prequalification?: Prisma.PrequalificationUpdateOneWithoutContractNestedInput;
|
|
4018
4202
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
4019
4203
|
};
|
|
4020
4204
|
export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
|
|
@@ -4036,6 +4220,11 @@ export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
|
|
|
4036
4220
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4037
4221
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4038
4222
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4223
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4224
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4225
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4226
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4227
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4039
4228
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4040
4229
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4041
4230
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -4054,7 +4243,6 @@ export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
|
|
|
4054
4243
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
4055
4244
|
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
4056
4245
|
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
4057
|
-
prequalification?: Prisma.PrequalificationUncheckedUpdateOneWithoutContractNestedInput;
|
|
4058
4246
|
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
4059
4247
|
};
|
|
4060
4248
|
export type ContractUncheckedUpdateManyWithoutPaymentMethodInput = {
|
|
@@ -4076,6 +4264,11 @@ export type ContractUncheckedUpdateManyWithoutPaymentMethodInput = {
|
|
|
4076
4264
|
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4077
4265
|
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4078
4266
|
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4267
|
+
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4268
|
+
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4269
|
+
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4270
|
+
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4271
|
+
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4079
4272
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4080
4273
|
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4081
4274
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -4188,6 +4381,11 @@ export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
4188
4381
|
periodicPayment?: boolean;
|
|
4189
4382
|
totalPaidToDate?: boolean;
|
|
4190
4383
|
totalInterestPaid?: boolean;
|
|
4384
|
+
monthlyIncome?: boolean;
|
|
4385
|
+
monthlyExpenses?: boolean;
|
|
4386
|
+
preApprovalAnswers?: boolean;
|
|
4387
|
+
underwritingScore?: boolean;
|
|
4388
|
+
debtToIncomeRatio?: boolean;
|
|
4191
4389
|
status?: boolean;
|
|
4192
4390
|
state?: boolean;
|
|
4193
4391
|
currentPhaseId?: boolean;
|
|
@@ -4211,7 +4409,6 @@ export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
4211
4409
|
events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
|
|
4212
4410
|
terminations?: boolean | Prisma.Contract$terminationsArgs<ExtArgs>;
|
|
4213
4411
|
offerLetters?: boolean | Prisma.Contract$offerLettersArgs<ExtArgs>;
|
|
4214
|
-
prequalification?: boolean | Prisma.Contract$prequalificationArgs<ExtArgs>;
|
|
4215
4412
|
paymentMethodChangeRequests?: boolean | Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>;
|
|
4216
4413
|
_count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
|
|
4217
4414
|
}, ExtArgs["result"]["contract"]>;
|
|
@@ -4235,6 +4432,11 @@ export type ContractSelectScalar = {
|
|
|
4235
4432
|
periodicPayment?: boolean;
|
|
4236
4433
|
totalPaidToDate?: boolean;
|
|
4237
4434
|
totalInterestPaid?: boolean;
|
|
4435
|
+
monthlyIncome?: boolean;
|
|
4436
|
+
monthlyExpenses?: boolean;
|
|
4437
|
+
preApprovalAnswers?: boolean;
|
|
4438
|
+
underwritingScore?: boolean;
|
|
4439
|
+
debtToIncomeRatio?: boolean;
|
|
4238
4440
|
status?: boolean;
|
|
4239
4441
|
state?: boolean;
|
|
4240
4442
|
currentPhaseId?: boolean;
|
|
@@ -4247,7 +4449,7 @@ export type ContractSelectScalar = {
|
|
|
4247
4449
|
createdAt?: boolean;
|
|
4248
4450
|
updatedAt?: boolean;
|
|
4249
4451
|
};
|
|
4250
|
-
export type ContractOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "propertyUnitId" | "buyerId" | "sellerId" | "paymentMethodId" | "contractNumber" | "title" | "description" | "contractType" | "totalAmount" | "downPayment" | "downPaymentPaid" | "principal" | "interestRate" | "termMonths" | "periodicPayment" | "totalPaidToDate" | "totalInterestPaid" | "status" | "state" | "currentPhaseId" | "nextPaymentDueDate" | "lastReminderSentAt" | "startDate" | "endDate" | "signedAt" | "terminatedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["contract"]>;
|
|
4452
|
+
export type ContractOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "propertyUnitId" | "buyerId" | "sellerId" | "paymentMethodId" | "contractNumber" | "title" | "description" | "contractType" | "totalAmount" | "downPayment" | "downPaymentPaid" | "principal" | "interestRate" | "termMonths" | "periodicPayment" | "totalPaidToDate" | "totalInterestPaid" | "monthlyIncome" | "monthlyExpenses" | "preApprovalAnswers" | "underwritingScore" | "debtToIncomeRatio" | "status" | "state" | "currentPhaseId" | "nextPaymentDueDate" | "lastReminderSentAt" | "startDate" | "endDate" | "signedAt" | "terminatedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["contract"]>;
|
|
4251
4453
|
export type ContractInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
4252
4454
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
4253
4455
|
propertyUnit?: boolean | Prisma.PropertyUnitDefaultArgs<ExtArgs>;
|
|
@@ -4261,7 +4463,6 @@ export type ContractInclude<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
4261
4463
|
events?: boolean | Prisma.Contract$eventsArgs<ExtArgs>;
|
|
4262
4464
|
terminations?: boolean | Prisma.Contract$terminationsArgs<ExtArgs>;
|
|
4263
4465
|
offerLetters?: boolean | Prisma.Contract$offerLettersArgs<ExtArgs>;
|
|
4264
|
-
prequalification?: boolean | Prisma.Contract$prequalificationArgs<ExtArgs>;
|
|
4265
4466
|
paymentMethodChangeRequests?: boolean | Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>;
|
|
4266
4467
|
_count?: boolean | Prisma.ContractCountOutputTypeDefaultArgs<ExtArgs>;
|
|
4267
4468
|
};
|
|
@@ -4280,7 +4481,6 @@ export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
4280
4481
|
events: Prisma.$ContractEventPayload<ExtArgs>[];
|
|
4281
4482
|
terminations: Prisma.$ContractTerminationPayload<ExtArgs>[];
|
|
4282
4483
|
offerLetters: Prisma.$OfferLetterPayload<ExtArgs>[];
|
|
4283
|
-
prequalification: Prisma.$PrequalificationPayload<ExtArgs> | null;
|
|
4284
4484
|
paymentMethodChangeRequests: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
|
|
4285
4485
|
};
|
|
4286
4486
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
@@ -4303,6 +4503,11 @@ export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
4303
4503
|
periodicPayment: number | null;
|
|
4304
4504
|
totalPaidToDate: number;
|
|
4305
4505
|
totalInterestPaid: number;
|
|
4506
|
+
monthlyIncome: number | null;
|
|
4507
|
+
monthlyExpenses: number | null;
|
|
4508
|
+
preApprovalAnswers: runtime.JsonValue | null;
|
|
4509
|
+
underwritingScore: number | null;
|
|
4510
|
+
debtToIncomeRatio: number | null;
|
|
4306
4511
|
status: $Enums.ContractStatus;
|
|
4307
4512
|
state: $Enums.ContractStatus;
|
|
4308
4513
|
currentPhaseId: string | null;
|
|
@@ -4603,7 +4808,6 @@ export interface Prisma__ContractClient<T, Null = never, ExtArgs extends runtime
|
|
|
4603
4808
|
events<T extends Prisma.Contract$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$eventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
4604
4809
|
terminations<T extends Prisma.Contract$terminationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$terminationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractTerminationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
4605
4810
|
offerLetters<T extends Prisma.Contract$offerLettersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$offerLettersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OfferLetterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
4606
|
-
prequalification<T extends Prisma.Contract$prequalificationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$prequalificationArgs<ExtArgs>>): Prisma.Prisma__PrequalificationClient<runtime.Types.Result.GetResult<Prisma.$PrequalificationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
4607
4811
|
paymentMethodChangeRequests<T extends Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$paymentMethodChangeRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
4608
4812
|
/**
|
|
4609
4813
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -4649,6 +4853,11 @@ export interface ContractFieldRefs {
|
|
|
4649
4853
|
readonly periodicPayment: Prisma.FieldRef<"Contract", 'Float'>;
|
|
4650
4854
|
readonly totalPaidToDate: Prisma.FieldRef<"Contract", 'Float'>;
|
|
4651
4855
|
readonly totalInterestPaid: Prisma.FieldRef<"Contract", 'Float'>;
|
|
4856
|
+
readonly monthlyIncome: Prisma.FieldRef<"Contract", 'Float'>;
|
|
4857
|
+
readonly monthlyExpenses: Prisma.FieldRef<"Contract", 'Float'>;
|
|
4858
|
+
readonly preApprovalAnswers: Prisma.FieldRef<"Contract", 'Json'>;
|
|
4859
|
+
readonly underwritingScore: Prisma.FieldRef<"Contract", 'Float'>;
|
|
4860
|
+
readonly debtToIncomeRatio: Prisma.FieldRef<"Contract", 'Float'>;
|
|
4652
4861
|
readonly status: Prisma.FieldRef<"Contract", 'ContractStatus'>;
|
|
4653
4862
|
readonly state: Prisma.FieldRef<"Contract", 'ContractStatus'>;
|
|
4654
4863
|
readonly currentPhaseId: Prisma.FieldRef<"Contract", 'String'>;
|
|
@@ -5184,24 +5393,6 @@ export type Contract$offerLettersArgs<ExtArgs extends runtime.Types.Extensions.I
|
|
|
5184
5393
|
skip?: number;
|
|
5185
5394
|
distinct?: Prisma.OfferLetterScalarFieldEnum | Prisma.OfferLetterScalarFieldEnum[];
|
|
5186
5395
|
};
|
|
5187
|
-
/**
|
|
5188
|
-
* Contract.prequalification
|
|
5189
|
-
*/
|
|
5190
|
-
export type Contract$prequalificationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
5191
|
-
/**
|
|
5192
|
-
* Select specific fields to fetch from the Prequalification
|
|
5193
|
-
*/
|
|
5194
|
-
select?: Prisma.PrequalificationSelect<ExtArgs> | null;
|
|
5195
|
-
/**
|
|
5196
|
-
* Omit specific fields from the Prequalification
|
|
5197
|
-
*/
|
|
5198
|
-
omit?: Prisma.PrequalificationOmit<ExtArgs> | null;
|
|
5199
|
-
/**
|
|
5200
|
-
* Choose, which related nodes to fetch as well
|
|
5201
|
-
*/
|
|
5202
|
-
include?: Prisma.PrequalificationInclude<ExtArgs> | null;
|
|
5203
|
-
where?: Prisma.PrequalificationWhereInput;
|
|
5204
|
-
};
|
|
5205
5396
|
/**
|
|
5206
5397
|
* Contract.paymentMethodChangeRequests
|
|
5207
5398
|
*/
|