@valentine-efagene/qshelter-common 2.0.86 → 2.0.87
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 +25 -0
- package/dist/generated/client/client.d.ts +25 -0
- package/dist/generated/client/commonInputTypes.d.ts +30 -0
- package/dist/generated/client/enums.d.ts +18 -0
- package/dist/generated/client/enums.js +17 -0
- package/dist/generated/client/internal/class.d.ts +55 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +469 -42
- package/dist/generated/client/internal/prismaNamespace.js +118 -40
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +129 -41
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +118 -40
- package/dist/generated/client/models/Contract.d.ts +303 -1574
- package/dist/generated/client/models/ContractInstallment.d.ts +77 -77
- package/dist/generated/client/models/ContractPhase.d.ts +339 -1376
- package/dist/generated/client/models/DocumentationPhase.d.ts +1649 -0
- package/dist/generated/client/models/DocumentationPhase.js +1 -0
- package/dist/generated/client/models/DocumentationStep.d.ts +126 -387
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +1378 -0
- package/dist/generated/client/models/PaymentMethodPhaseField.js +1 -0
- package/dist/generated/client/models/PaymentPhase.d.ts +1566 -0
- package/dist/generated/client/models/PaymentPhase.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +53 -53
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +171 -0
- package/dist/generated/client/models/PropertyTransferRequest.d.ts +196 -70
- package/dist/generated/client/models/QuestionnaireField.d.ts +1495 -0
- package/dist/generated/client/models/QuestionnaireField.js +1 -0
- package/dist/generated/client/models/QuestionnairePhase.d.ts +1383 -0
- package/dist/generated/client/models/QuestionnairePhase.js +1 -0
- package/dist/generated/client/models.d.ts +5 -0
- package/package.json +1 -1
|
@@ -15,33 +15,9 @@ export type AggregateContract = {
|
|
|
15
15
|
};
|
|
16
16
|
export type ContractAvgAggregateOutputType = {
|
|
17
17
|
totalAmount: number | null;
|
|
18
|
-
downPayment: number | null;
|
|
19
|
-
downPaymentPaid: number | null;
|
|
20
|
-
principal: number | null;
|
|
21
|
-
interestRate: number | null;
|
|
22
|
-
termMonths: number | null;
|
|
23
|
-
periodicPayment: number | null;
|
|
24
|
-
totalPaidToDate: number | null;
|
|
25
|
-
totalInterestPaid: number | null;
|
|
26
|
-
monthlyIncome: number | null;
|
|
27
|
-
monthlyExpenses: number | null;
|
|
28
|
-
underwritingScore: number | null;
|
|
29
|
-
debtToIncomeRatio: number | null;
|
|
30
18
|
};
|
|
31
19
|
export type ContractSumAggregateOutputType = {
|
|
32
20
|
totalAmount: number | null;
|
|
33
|
-
downPayment: number | null;
|
|
34
|
-
downPaymentPaid: number | null;
|
|
35
|
-
principal: number | null;
|
|
36
|
-
interestRate: number | null;
|
|
37
|
-
termMonths: number | null;
|
|
38
|
-
periodicPayment: number | null;
|
|
39
|
-
totalPaidToDate: number | null;
|
|
40
|
-
totalInterestPaid: number | null;
|
|
41
|
-
monthlyIncome: number | null;
|
|
42
|
-
monthlyExpenses: number | null;
|
|
43
|
-
underwritingScore: number | null;
|
|
44
|
-
debtToIncomeRatio: number | null;
|
|
45
21
|
};
|
|
46
22
|
export type ContractMinAggregateOutputType = {
|
|
47
23
|
id: string | null;
|
|
@@ -55,20 +31,7 @@ export type ContractMinAggregateOutputType = {
|
|
|
55
31
|
description: string | null;
|
|
56
32
|
contractType: string | null;
|
|
57
33
|
totalAmount: number | null;
|
|
58
|
-
downPayment: number | null;
|
|
59
|
-
downPaymentPaid: number | null;
|
|
60
|
-
principal: number | null;
|
|
61
|
-
interestRate: number | null;
|
|
62
|
-
termMonths: number | null;
|
|
63
|
-
periodicPayment: number | null;
|
|
64
|
-
totalPaidToDate: number | null;
|
|
65
|
-
totalInterestPaid: number | null;
|
|
66
|
-
monthlyIncome: number | null;
|
|
67
|
-
monthlyExpenses: number | null;
|
|
68
|
-
underwritingScore: number | null;
|
|
69
|
-
debtToIncomeRatio: number | null;
|
|
70
34
|
status: $Enums.ContractStatus | null;
|
|
71
|
-
state: $Enums.ContractStatus | null;
|
|
72
35
|
currentPhaseId: string | null;
|
|
73
36
|
nextPaymentDueDate: Date | null;
|
|
74
37
|
lastReminderSentAt: Date | null;
|
|
@@ -92,20 +55,7 @@ export type ContractMaxAggregateOutputType = {
|
|
|
92
55
|
description: string | null;
|
|
93
56
|
contractType: string | null;
|
|
94
57
|
totalAmount: number | null;
|
|
95
|
-
downPayment: number | null;
|
|
96
|
-
downPaymentPaid: number | null;
|
|
97
|
-
principal: number | null;
|
|
98
|
-
interestRate: number | null;
|
|
99
|
-
termMonths: number | null;
|
|
100
|
-
periodicPayment: number | null;
|
|
101
|
-
totalPaidToDate: number | null;
|
|
102
|
-
totalInterestPaid: number | null;
|
|
103
|
-
monthlyIncome: number | null;
|
|
104
|
-
monthlyExpenses: number | null;
|
|
105
|
-
underwritingScore: number | null;
|
|
106
|
-
debtToIncomeRatio: number | null;
|
|
107
58
|
status: $Enums.ContractStatus | null;
|
|
108
|
-
state: $Enums.ContractStatus | null;
|
|
109
59
|
currentPhaseId: string | null;
|
|
110
60
|
nextPaymentDueDate: Date | null;
|
|
111
61
|
lastReminderSentAt: Date | null;
|
|
@@ -129,21 +79,7 @@ export type ContractCountAggregateOutputType = {
|
|
|
129
79
|
description: number;
|
|
130
80
|
contractType: number;
|
|
131
81
|
totalAmount: number;
|
|
132
|
-
downPayment: number;
|
|
133
|
-
downPaymentPaid: number;
|
|
134
|
-
principal: number;
|
|
135
|
-
interestRate: number;
|
|
136
|
-
termMonths: number;
|
|
137
|
-
periodicPayment: number;
|
|
138
|
-
totalPaidToDate: number;
|
|
139
|
-
totalInterestPaid: number;
|
|
140
|
-
monthlyIncome: number;
|
|
141
|
-
monthlyExpenses: number;
|
|
142
|
-
preApprovalAnswers: number;
|
|
143
|
-
underwritingScore: number;
|
|
144
|
-
debtToIncomeRatio: number;
|
|
145
82
|
status: number;
|
|
146
|
-
state: number;
|
|
147
83
|
currentPhaseId: number;
|
|
148
84
|
nextPaymentDueDate: number;
|
|
149
85
|
lastReminderSentAt: number;
|
|
@@ -158,33 +94,9 @@ export type ContractCountAggregateOutputType = {
|
|
|
158
94
|
};
|
|
159
95
|
export type ContractAvgAggregateInputType = {
|
|
160
96
|
totalAmount?: true;
|
|
161
|
-
downPayment?: true;
|
|
162
|
-
downPaymentPaid?: true;
|
|
163
|
-
principal?: true;
|
|
164
|
-
interestRate?: true;
|
|
165
|
-
termMonths?: true;
|
|
166
|
-
periodicPayment?: true;
|
|
167
|
-
totalPaidToDate?: true;
|
|
168
|
-
totalInterestPaid?: true;
|
|
169
|
-
monthlyIncome?: true;
|
|
170
|
-
monthlyExpenses?: true;
|
|
171
|
-
underwritingScore?: true;
|
|
172
|
-
debtToIncomeRatio?: true;
|
|
173
97
|
};
|
|
174
98
|
export type ContractSumAggregateInputType = {
|
|
175
99
|
totalAmount?: true;
|
|
176
|
-
downPayment?: true;
|
|
177
|
-
downPaymentPaid?: true;
|
|
178
|
-
principal?: true;
|
|
179
|
-
interestRate?: true;
|
|
180
|
-
termMonths?: true;
|
|
181
|
-
periodicPayment?: true;
|
|
182
|
-
totalPaidToDate?: true;
|
|
183
|
-
totalInterestPaid?: true;
|
|
184
|
-
monthlyIncome?: true;
|
|
185
|
-
monthlyExpenses?: true;
|
|
186
|
-
underwritingScore?: true;
|
|
187
|
-
debtToIncomeRatio?: true;
|
|
188
100
|
};
|
|
189
101
|
export type ContractMinAggregateInputType = {
|
|
190
102
|
id?: true;
|
|
@@ -198,20 +110,7 @@ export type ContractMinAggregateInputType = {
|
|
|
198
110
|
description?: true;
|
|
199
111
|
contractType?: true;
|
|
200
112
|
totalAmount?: true;
|
|
201
|
-
downPayment?: true;
|
|
202
|
-
downPaymentPaid?: true;
|
|
203
|
-
principal?: true;
|
|
204
|
-
interestRate?: true;
|
|
205
|
-
termMonths?: true;
|
|
206
|
-
periodicPayment?: true;
|
|
207
|
-
totalPaidToDate?: true;
|
|
208
|
-
totalInterestPaid?: true;
|
|
209
|
-
monthlyIncome?: true;
|
|
210
|
-
monthlyExpenses?: true;
|
|
211
|
-
underwritingScore?: true;
|
|
212
|
-
debtToIncomeRatio?: true;
|
|
213
113
|
status?: true;
|
|
214
|
-
state?: true;
|
|
215
114
|
currentPhaseId?: true;
|
|
216
115
|
nextPaymentDueDate?: true;
|
|
217
116
|
lastReminderSentAt?: true;
|
|
@@ -235,20 +134,7 @@ export type ContractMaxAggregateInputType = {
|
|
|
235
134
|
description?: true;
|
|
236
135
|
contractType?: true;
|
|
237
136
|
totalAmount?: true;
|
|
238
|
-
downPayment?: true;
|
|
239
|
-
downPaymentPaid?: true;
|
|
240
|
-
principal?: true;
|
|
241
|
-
interestRate?: true;
|
|
242
|
-
termMonths?: true;
|
|
243
|
-
periodicPayment?: true;
|
|
244
|
-
totalPaidToDate?: true;
|
|
245
|
-
totalInterestPaid?: true;
|
|
246
|
-
monthlyIncome?: true;
|
|
247
|
-
monthlyExpenses?: true;
|
|
248
|
-
underwritingScore?: true;
|
|
249
|
-
debtToIncomeRatio?: true;
|
|
250
137
|
status?: true;
|
|
251
|
-
state?: true;
|
|
252
138
|
currentPhaseId?: true;
|
|
253
139
|
nextPaymentDueDate?: true;
|
|
254
140
|
lastReminderSentAt?: true;
|
|
@@ -272,21 +158,7 @@ export type ContractCountAggregateInputType = {
|
|
|
272
158
|
description?: true;
|
|
273
159
|
contractType?: true;
|
|
274
160
|
totalAmount?: true;
|
|
275
|
-
downPayment?: true;
|
|
276
|
-
downPaymentPaid?: true;
|
|
277
|
-
principal?: true;
|
|
278
|
-
interestRate?: true;
|
|
279
|
-
termMonths?: true;
|
|
280
|
-
periodicPayment?: true;
|
|
281
|
-
totalPaidToDate?: true;
|
|
282
|
-
totalInterestPaid?: true;
|
|
283
|
-
monthlyIncome?: true;
|
|
284
|
-
monthlyExpenses?: true;
|
|
285
|
-
preApprovalAnswers?: true;
|
|
286
|
-
underwritingScore?: true;
|
|
287
|
-
debtToIncomeRatio?: true;
|
|
288
161
|
status?: true;
|
|
289
|
-
state?: true;
|
|
290
162
|
currentPhaseId?: true;
|
|
291
163
|
nextPaymentDueDate?: true;
|
|
292
164
|
lastReminderSentAt?: true;
|
|
@@ -387,21 +259,7 @@ export type ContractGroupByOutputType = {
|
|
|
387
259
|
description: string | null;
|
|
388
260
|
contractType: string;
|
|
389
261
|
totalAmount: number;
|
|
390
|
-
downPayment: number;
|
|
391
|
-
downPaymentPaid: number;
|
|
392
|
-
principal: number | null;
|
|
393
|
-
interestRate: number | null;
|
|
394
|
-
termMonths: number | null;
|
|
395
|
-
periodicPayment: number | null;
|
|
396
|
-
totalPaidToDate: number;
|
|
397
|
-
totalInterestPaid: number;
|
|
398
|
-
monthlyIncome: number | null;
|
|
399
|
-
monthlyExpenses: number | null;
|
|
400
|
-
preApprovalAnswers: runtime.JsonValue | null;
|
|
401
|
-
underwritingScore: number | null;
|
|
402
|
-
debtToIncomeRatio: number | null;
|
|
403
262
|
status: $Enums.ContractStatus;
|
|
404
|
-
state: $Enums.ContractStatus;
|
|
405
263
|
currentPhaseId: string | null;
|
|
406
264
|
nextPaymentDueDate: Date | null;
|
|
407
265
|
lastReminderSentAt: Date | null;
|
|
@@ -436,21 +294,7 @@ export type ContractWhereInput = {
|
|
|
436
294
|
description?: Prisma.StringNullableFilter<"Contract"> | string | null;
|
|
437
295
|
contractType?: Prisma.StringFilter<"Contract"> | string;
|
|
438
296
|
totalAmount?: Prisma.FloatFilter<"Contract"> | number;
|
|
439
|
-
downPayment?: Prisma.FloatFilter<"Contract"> | number;
|
|
440
|
-
downPaymentPaid?: Prisma.FloatFilter<"Contract"> | number;
|
|
441
|
-
principal?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
442
|
-
interestRate?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
443
|
-
termMonths?: Prisma.IntNullableFilter<"Contract"> | number | null;
|
|
444
|
-
periodicPayment?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
445
|
-
totalPaidToDate?: Prisma.FloatFilter<"Contract"> | number;
|
|
446
|
-
totalInterestPaid?: Prisma.FloatFilter<"Contract"> | number;
|
|
447
|
-
monthlyIncome?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
448
|
-
monthlyExpenses?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
449
|
-
preApprovalAnswers?: Prisma.JsonNullableFilter<"Contract">;
|
|
450
|
-
underwritingScore?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
451
|
-
debtToIncomeRatio?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
452
297
|
status?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
453
|
-
state?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
454
298
|
currentPhaseId?: Prisma.StringNullableFilter<"Contract"> | string | null;
|
|
455
299
|
nextPaymentDueDate?: Prisma.DateTimeNullableFilter<"Contract"> | Date | string | null;
|
|
456
300
|
lastReminderSentAt?: Prisma.DateTimeNullableFilter<"Contract"> | Date | string | null;
|
|
@@ -466,6 +310,7 @@ export type ContractWhereInput = {
|
|
|
466
310
|
buyer?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
467
311
|
seller?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
468
312
|
paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodNullableScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput> | null;
|
|
313
|
+
currentPhase?: Prisma.XOR<Prisma.ContractPhaseNullableScalarRelationFilter, Prisma.ContractPhaseWhereInput> | null;
|
|
469
314
|
phases?: Prisma.ContractPhaseListRelationFilter;
|
|
470
315
|
documents?: Prisma.ContractDocumentListRelationFilter;
|
|
471
316
|
payments?: Prisma.ContractPaymentListRelationFilter;
|
|
@@ -491,21 +336,7 @@ export type ContractOrderByWithRelationInput = {
|
|
|
491
336
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
492
337
|
contractType?: Prisma.SortOrder;
|
|
493
338
|
totalAmount?: Prisma.SortOrder;
|
|
494
|
-
downPayment?: Prisma.SortOrder;
|
|
495
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
496
|
-
principal?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
497
|
-
interestRate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
498
|
-
termMonths?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
499
|
-
periodicPayment?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
500
|
-
totalPaidToDate?: Prisma.SortOrder;
|
|
501
|
-
totalInterestPaid?: Prisma.SortOrder;
|
|
502
|
-
monthlyIncome?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
503
|
-
monthlyExpenses?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
504
|
-
preApprovalAnswers?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
505
|
-
underwritingScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
506
|
-
debtToIncomeRatio?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
507
339
|
status?: Prisma.SortOrder;
|
|
508
|
-
state?: Prisma.SortOrder;
|
|
509
340
|
currentPhaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
510
341
|
nextPaymentDueDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
511
342
|
lastReminderSentAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -521,6 +352,7 @@ export type ContractOrderByWithRelationInput = {
|
|
|
521
352
|
buyer?: Prisma.UserOrderByWithRelationInput;
|
|
522
353
|
seller?: Prisma.UserOrderByWithRelationInput;
|
|
523
354
|
paymentMethod?: Prisma.PropertyPaymentMethodOrderByWithRelationInput;
|
|
355
|
+
currentPhase?: Prisma.ContractPhaseOrderByWithRelationInput;
|
|
524
356
|
phases?: Prisma.ContractPhaseOrderByRelationAggregateInput;
|
|
525
357
|
documents?: Prisma.ContractDocumentOrderByRelationAggregateInput;
|
|
526
358
|
payments?: Prisma.ContractPaymentOrderByRelationAggregateInput;
|
|
@@ -551,21 +383,7 @@ export type ContractWhereUniqueInput = Prisma.AtLeast<{
|
|
|
551
383
|
description?: Prisma.StringNullableFilter<"Contract"> | string | null;
|
|
552
384
|
contractType?: Prisma.StringFilter<"Contract"> | string;
|
|
553
385
|
totalAmount?: Prisma.FloatFilter<"Contract"> | number;
|
|
554
|
-
downPayment?: Prisma.FloatFilter<"Contract"> | number;
|
|
555
|
-
downPaymentPaid?: Prisma.FloatFilter<"Contract"> | number;
|
|
556
|
-
principal?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
557
|
-
interestRate?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
558
|
-
termMonths?: Prisma.IntNullableFilter<"Contract"> | number | null;
|
|
559
|
-
periodicPayment?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
560
|
-
totalPaidToDate?: Prisma.FloatFilter<"Contract"> | number;
|
|
561
|
-
totalInterestPaid?: Prisma.FloatFilter<"Contract"> | number;
|
|
562
|
-
monthlyIncome?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
563
|
-
monthlyExpenses?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
564
|
-
preApprovalAnswers?: Prisma.JsonNullableFilter<"Contract">;
|
|
565
|
-
underwritingScore?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
566
|
-
debtToIncomeRatio?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
567
386
|
status?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
568
|
-
state?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
569
387
|
currentPhaseId?: Prisma.StringNullableFilter<"Contract"> | string | null;
|
|
570
388
|
nextPaymentDueDate?: Prisma.DateTimeNullableFilter<"Contract"> | Date | string | null;
|
|
571
389
|
lastReminderSentAt?: Prisma.DateTimeNullableFilter<"Contract"> | Date | string | null;
|
|
@@ -580,6 +398,7 @@ export type ContractWhereUniqueInput = Prisma.AtLeast<{
|
|
|
580
398
|
buyer?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
581
399
|
seller?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
582
400
|
paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodNullableScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput> | null;
|
|
401
|
+
currentPhase?: Prisma.XOR<Prisma.ContractPhaseNullableScalarRelationFilter, Prisma.ContractPhaseWhereInput> | null;
|
|
583
402
|
phases?: Prisma.ContractPhaseListRelationFilter;
|
|
584
403
|
documents?: Prisma.ContractDocumentListRelationFilter;
|
|
585
404
|
payments?: Prisma.ContractPaymentListRelationFilter;
|
|
@@ -605,21 +424,7 @@ export type ContractOrderByWithAggregationInput = {
|
|
|
605
424
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
606
425
|
contractType?: Prisma.SortOrder;
|
|
607
426
|
totalAmount?: Prisma.SortOrder;
|
|
608
|
-
downPayment?: Prisma.SortOrder;
|
|
609
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
610
|
-
principal?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
611
|
-
interestRate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
612
|
-
termMonths?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
613
|
-
periodicPayment?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
614
|
-
totalPaidToDate?: Prisma.SortOrder;
|
|
615
|
-
totalInterestPaid?: Prisma.SortOrder;
|
|
616
|
-
monthlyIncome?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
617
|
-
monthlyExpenses?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
618
|
-
preApprovalAnswers?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
619
|
-
underwritingScore?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
620
|
-
debtToIncomeRatio?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
621
427
|
status?: Prisma.SortOrder;
|
|
622
|
-
state?: Prisma.SortOrder;
|
|
623
428
|
currentPhaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
624
429
|
nextPaymentDueDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
625
430
|
lastReminderSentAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -651,21 +456,7 @@ export type ContractScalarWhereWithAggregatesInput = {
|
|
|
651
456
|
description?: Prisma.StringNullableWithAggregatesFilter<"Contract"> | string | null;
|
|
652
457
|
contractType?: Prisma.StringWithAggregatesFilter<"Contract"> | string;
|
|
653
458
|
totalAmount?: Prisma.FloatWithAggregatesFilter<"Contract"> | number;
|
|
654
|
-
downPayment?: Prisma.FloatWithAggregatesFilter<"Contract"> | number;
|
|
655
|
-
downPaymentPaid?: Prisma.FloatWithAggregatesFilter<"Contract"> | number;
|
|
656
|
-
principal?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
657
|
-
interestRate?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
658
|
-
termMonths?: Prisma.IntNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
659
|
-
periodicPayment?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
660
|
-
totalPaidToDate?: Prisma.FloatWithAggregatesFilter<"Contract"> | number;
|
|
661
|
-
totalInterestPaid?: Prisma.FloatWithAggregatesFilter<"Contract"> | number;
|
|
662
|
-
monthlyIncome?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
663
|
-
monthlyExpenses?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
664
|
-
preApprovalAnswers?: Prisma.JsonNullableWithAggregatesFilter<"Contract">;
|
|
665
|
-
underwritingScore?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
666
|
-
debtToIncomeRatio?: Prisma.FloatNullableWithAggregatesFilter<"Contract"> | number | null;
|
|
667
459
|
status?: Prisma.EnumContractStatusWithAggregatesFilter<"Contract"> | $Enums.ContractStatus;
|
|
668
|
-
state?: Prisma.EnumContractStatusWithAggregatesFilter<"Contract"> | $Enums.ContractStatus;
|
|
669
460
|
currentPhaseId?: Prisma.StringNullableWithAggregatesFilter<"Contract"> | string | null;
|
|
670
461
|
nextPaymentDueDate?: Prisma.DateTimeNullableWithAggregatesFilter<"Contract"> | Date | string | null;
|
|
671
462
|
lastReminderSentAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Contract"> | Date | string | null;
|
|
@@ -684,22 +475,7 @@ export type ContractCreateInput = {
|
|
|
684
475
|
description?: string | null;
|
|
685
476
|
contractType: string;
|
|
686
477
|
totalAmount: number;
|
|
687
|
-
downPayment?: number;
|
|
688
|
-
downPaymentPaid?: number;
|
|
689
|
-
principal?: number | null;
|
|
690
|
-
interestRate?: number | null;
|
|
691
|
-
termMonths?: number | null;
|
|
692
|
-
periodicPayment?: number | null;
|
|
693
|
-
totalPaidToDate?: number;
|
|
694
|
-
totalInterestPaid?: number;
|
|
695
|
-
monthlyIncome?: number | null;
|
|
696
|
-
monthlyExpenses?: number | null;
|
|
697
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
698
|
-
underwritingScore?: number | null;
|
|
699
|
-
debtToIncomeRatio?: number | null;
|
|
700
478
|
status?: $Enums.ContractStatus;
|
|
701
|
-
state?: $Enums.ContractStatus;
|
|
702
|
-
currentPhaseId?: string | null;
|
|
703
479
|
nextPaymentDueDate?: Date | string | null;
|
|
704
480
|
lastReminderSentAt?: Date | string | null;
|
|
705
481
|
startDate?: Date | string | null;
|
|
@@ -713,6 +489,7 @@ export type ContractCreateInput = {
|
|
|
713
489
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
714
490
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
715
491
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
492
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
716
493
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
717
494
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
718
495
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -738,21 +515,7 @@ export type ContractUncheckedCreateInput = {
|
|
|
738
515
|
description?: string | null;
|
|
739
516
|
contractType: string;
|
|
740
517
|
totalAmount: number;
|
|
741
|
-
downPayment?: number;
|
|
742
|
-
downPaymentPaid?: number;
|
|
743
|
-
principal?: number | null;
|
|
744
|
-
interestRate?: number | null;
|
|
745
|
-
termMonths?: number | null;
|
|
746
|
-
periodicPayment?: number | null;
|
|
747
|
-
totalPaidToDate?: number;
|
|
748
|
-
totalInterestPaid?: number;
|
|
749
|
-
monthlyIncome?: number | null;
|
|
750
|
-
monthlyExpenses?: number | null;
|
|
751
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
752
|
-
underwritingScore?: number | null;
|
|
753
|
-
debtToIncomeRatio?: number | null;
|
|
754
518
|
status?: $Enums.ContractStatus;
|
|
755
|
-
state?: $Enums.ContractStatus;
|
|
756
519
|
currentPhaseId?: string | null;
|
|
757
520
|
nextPaymentDueDate?: Date | string | null;
|
|
758
521
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -782,22 +545,7 @@ export type ContractUpdateInput = {
|
|
|
782
545
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
783
546
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
784
547
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
785
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
786
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
787
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
788
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
789
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
790
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
791
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
792
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
793
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
794
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
795
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
796
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
797
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
798
548
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
799
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
800
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
801
549
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
802
550
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
803
551
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -811,6 +559,7 @@ export type ContractUpdateInput = {
|
|
|
811
559
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
812
560
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
813
561
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
562
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
814
563
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
815
564
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
816
565
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -836,21 +585,7 @@ export type ContractUncheckedUpdateInput = {
|
|
|
836
585
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
837
586
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
838
587
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
839
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
840
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
841
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
842
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
843
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
844
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
845
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
846
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
847
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
848
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
849
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
850
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
851
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
852
588
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
853
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
854
589
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
855
590
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
856
591
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -885,21 +620,7 @@ export type ContractCreateManyInput = {
|
|
|
885
620
|
description?: string | null;
|
|
886
621
|
contractType: string;
|
|
887
622
|
totalAmount: number;
|
|
888
|
-
downPayment?: number;
|
|
889
|
-
downPaymentPaid?: number;
|
|
890
|
-
principal?: number | null;
|
|
891
|
-
interestRate?: number | null;
|
|
892
|
-
termMonths?: number | null;
|
|
893
|
-
periodicPayment?: number | null;
|
|
894
|
-
totalPaidToDate?: number;
|
|
895
|
-
totalInterestPaid?: number;
|
|
896
|
-
monthlyIncome?: number | null;
|
|
897
|
-
monthlyExpenses?: number | null;
|
|
898
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
899
|
-
underwritingScore?: number | null;
|
|
900
|
-
debtToIncomeRatio?: number | null;
|
|
901
623
|
status?: $Enums.ContractStatus;
|
|
902
|
-
state?: $Enums.ContractStatus;
|
|
903
624
|
currentPhaseId?: string | null;
|
|
904
625
|
nextPaymentDueDate?: Date | string | null;
|
|
905
626
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -918,22 +639,7 @@ export type ContractUpdateManyMutationInput = {
|
|
|
918
639
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
919
640
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
920
641
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
921
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
922
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
923
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
924
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
925
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
926
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
927
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
928
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
929
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
930
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
931
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
932
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
933
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
934
642
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
935
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
936
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
937
643
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
938
644
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
939
645
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -955,21 +661,7 @@ export type ContractUncheckedUpdateManyInput = {
|
|
|
955
661
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
956
662
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
957
663
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
958
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
959
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
960
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
961
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
962
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
963
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
964
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
965
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
966
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
967
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
968
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
969
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
970
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
971
664
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
972
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
973
665
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
974
666
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
975
667
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -1010,21 +702,7 @@ export type ContractCountOrderByAggregateInput = {
|
|
|
1010
702
|
description?: Prisma.SortOrder;
|
|
1011
703
|
contractType?: Prisma.SortOrder;
|
|
1012
704
|
totalAmount?: Prisma.SortOrder;
|
|
1013
|
-
downPayment?: Prisma.SortOrder;
|
|
1014
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
1015
|
-
principal?: Prisma.SortOrder;
|
|
1016
|
-
interestRate?: Prisma.SortOrder;
|
|
1017
|
-
termMonths?: Prisma.SortOrder;
|
|
1018
|
-
periodicPayment?: Prisma.SortOrder;
|
|
1019
|
-
totalPaidToDate?: Prisma.SortOrder;
|
|
1020
|
-
totalInterestPaid?: Prisma.SortOrder;
|
|
1021
|
-
monthlyIncome?: Prisma.SortOrder;
|
|
1022
|
-
monthlyExpenses?: Prisma.SortOrder;
|
|
1023
|
-
preApprovalAnswers?: Prisma.SortOrder;
|
|
1024
|
-
underwritingScore?: Prisma.SortOrder;
|
|
1025
|
-
debtToIncomeRatio?: Prisma.SortOrder;
|
|
1026
705
|
status?: Prisma.SortOrder;
|
|
1027
|
-
state?: Prisma.SortOrder;
|
|
1028
706
|
currentPhaseId?: Prisma.SortOrder;
|
|
1029
707
|
nextPaymentDueDate?: Prisma.SortOrder;
|
|
1030
708
|
lastReminderSentAt?: Prisma.SortOrder;
|
|
@@ -1038,18 +716,6 @@ export type ContractCountOrderByAggregateInput = {
|
|
|
1038
716
|
};
|
|
1039
717
|
export type ContractAvgOrderByAggregateInput = {
|
|
1040
718
|
totalAmount?: Prisma.SortOrder;
|
|
1041
|
-
downPayment?: Prisma.SortOrder;
|
|
1042
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
1043
|
-
principal?: Prisma.SortOrder;
|
|
1044
|
-
interestRate?: Prisma.SortOrder;
|
|
1045
|
-
termMonths?: Prisma.SortOrder;
|
|
1046
|
-
periodicPayment?: Prisma.SortOrder;
|
|
1047
|
-
totalPaidToDate?: Prisma.SortOrder;
|
|
1048
|
-
totalInterestPaid?: Prisma.SortOrder;
|
|
1049
|
-
monthlyIncome?: Prisma.SortOrder;
|
|
1050
|
-
monthlyExpenses?: Prisma.SortOrder;
|
|
1051
|
-
underwritingScore?: Prisma.SortOrder;
|
|
1052
|
-
debtToIncomeRatio?: Prisma.SortOrder;
|
|
1053
719
|
};
|
|
1054
720
|
export type ContractMaxOrderByAggregateInput = {
|
|
1055
721
|
id?: Prisma.SortOrder;
|
|
@@ -1063,20 +729,7 @@ export type ContractMaxOrderByAggregateInput = {
|
|
|
1063
729
|
description?: Prisma.SortOrder;
|
|
1064
730
|
contractType?: Prisma.SortOrder;
|
|
1065
731
|
totalAmount?: Prisma.SortOrder;
|
|
1066
|
-
downPayment?: Prisma.SortOrder;
|
|
1067
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
1068
|
-
principal?: Prisma.SortOrder;
|
|
1069
|
-
interestRate?: Prisma.SortOrder;
|
|
1070
|
-
termMonths?: Prisma.SortOrder;
|
|
1071
|
-
periodicPayment?: Prisma.SortOrder;
|
|
1072
|
-
totalPaidToDate?: Prisma.SortOrder;
|
|
1073
|
-
totalInterestPaid?: Prisma.SortOrder;
|
|
1074
|
-
monthlyIncome?: Prisma.SortOrder;
|
|
1075
|
-
monthlyExpenses?: Prisma.SortOrder;
|
|
1076
|
-
underwritingScore?: Prisma.SortOrder;
|
|
1077
|
-
debtToIncomeRatio?: Prisma.SortOrder;
|
|
1078
732
|
status?: Prisma.SortOrder;
|
|
1079
|
-
state?: Prisma.SortOrder;
|
|
1080
733
|
currentPhaseId?: Prisma.SortOrder;
|
|
1081
734
|
nextPaymentDueDate?: Prisma.SortOrder;
|
|
1082
735
|
lastReminderSentAt?: Prisma.SortOrder;
|
|
@@ -1100,20 +753,7 @@ export type ContractMinOrderByAggregateInput = {
|
|
|
1100
753
|
description?: Prisma.SortOrder;
|
|
1101
754
|
contractType?: Prisma.SortOrder;
|
|
1102
755
|
totalAmount?: Prisma.SortOrder;
|
|
1103
|
-
downPayment?: Prisma.SortOrder;
|
|
1104
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
1105
|
-
principal?: Prisma.SortOrder;
|
|
1106
|
-
interestRate?: Prisma.SortOrder;
|
|
1107
|
-
termMonths?: Prisma.SortOrder;
|
|
1108
|
-
periodicPayment?: Prisma.SortOrder;
|
|
1109
|
-
totalPaidToDate?: Prisma.SortOrder;
|
|
1110
|
-
totalInterestPaid?: Prisma.SortOrder;
|
|
1111
|
-
monthlyIncome?: Prisma.SortOrder;
|
|
1112
|
-
monthlyExpenses?: Prisma.SortOrder;
|
|
1113
|
-
underwritingScore?: Prisma.SortOrder;
|
|
1114
|
-
debtToIncomeRatio?: Prisma.SortOrder;
|
|
1115
756
|
status?: Prisma.SortOrder;
|
|
1116
|
-
state?: Prisma.SortOrder;
|
|
1117
757
|
currentPhaseId?: Prisma.SortOrder;
|
|
1118
758
|
nextPaymentDueDate?: Prisma.SortOrder;
|
|
1119
759
|
lastReminderSentAt?: Prisma.SortOrder;
|
|
@@ -1127,18 +767,6 @@ export type ContractMinOrderByAggregateInput = {
|
|
|
1127
767
|
};
|
|
1128
768
|
export type ContractSumOrderByAggregateInput = {
|
|
1129
769
|
totalAmount?: Prisma.SortOrder;
|
|
1130
|
-
downPayment?: Prisma.SortOrder;
|
|
1131
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
1132
|
-
principal?: Prisma.SortOrder;
|
|
1133
|
-
interestRate?: Prisma.SortOrder;
|
|
1134
|
-
termMonths?: Prisma.SortOrder;
|
|
1135
|
-
periodicPayment?: Prisma.SortOrder;
|
|
1136
|
-
totalPaidToDate?: Prisma.SortOrder;
|
|
1137
|
-
totalInterestPaid?: Prisma.SortOrder;
|
|
1138
|
-
monthlyIncome?: Prisma.SortOrder;
|
|
1139
|
-
monthlyExpenses?: Prisma.SortOrder;
|
|
1140
|
-
underwritingScore?: Prisma.SortOrder;
|
|
1141
|
-
debtToIncomeRatio?: Prisma.SortOrder;
|
|
1142
770
|
};
|
|
1143
771
|
export type ContractScalarRelationFilter = {
|
|
1144
772
|
is?: Prisma.ContractWhereInput;
|
|
@@ -1396,6 +1024,18 @@ export type ContractCreateNestedOneWithoutPhasesInput = {
|
|
|
1396
1024
|
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPhasesInput;
|
|
1397
1025
|
connect?: Prisma.ContractWhereUniqueInput;
|
|
1398
1026
|
};
|
|
1027
|
+
export type ContractCreateNestedManyWithoutCurrentPhaseInput = {
|
|
1028
|
+
create?: Prisma.XOR<Prisma.ContractCreateWithoutCurrentPhaseInput, Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput> | Prisma.ContractCreateWithoutCurrentPhaseInput[] | Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput[];
|
|
1029
|
+
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutCurrentPhaseInput | Prisma.ContractCreateOrConnectWithoutCurrentPhaseInput[];
|
|
1030
|
+
createMany?: Prisma.ContractCreateManyCurrentPhaseInputEnvelope;
|
|
1031
|
+
connect?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1032
|
+
};
|
|
1033
|
+
export type ContractUncheckedCreateNestedManyWithoutCurrentPhaseInput = {
|
|
1034
|
+
create?: Prisma.XOR<Prisma.ContractCreateWithoutCurrentPhaseInput, Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput> | Prisma.ContractCreateWithoutCurrentPhaseInput[] | Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput[];
|
|
1035
|
+
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutCurrentPhaseInput | Prisma.ContractCreateOrConnectWithoutCurrentPhaseInput[];
|
|
1036
|
+
createMany?: Prisma.ContractCreateManyCurrentPhaseInputEnvelope;
|
|
1037
|
+
connect?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1038
|
+
};
|
|
1399
1039
|
export type ContractUpdateOneRequiredWithoutPhasesNestedInput = {
|
|
1400
1040
|
create?: Prisma.XOR<Prisma.ContractCreateWithoutPhasesInput, Prisma.ContractUncheckedCreateWithoutPhasesInput>;
|
|
1401
1041
|
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutPhasesInput;
|
|
@@ -1403,6 +1043,32 @@ export type ContractUpdateOneRequiredWithoutPhasesNestedInput = {
|
|
|
1403
1043
|
connect?: Prisma.ContractWhereUniqueInput;
|
|
1404
1044
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractUpdateToOneWithWhereWithoutPhasesInput, Prisma.ContractUpdateWithoutPhasesInput>, Prisma.ContractUncheckedUpdateWithoutPhasesInput>;
|
|
1405
1045
|
};
|
|
1046
|
+
export type ContractUpdateManyWithoutCurrentPhaseNestedInput = {
|
|
1047
|
+
create?: Prisma.XOR<Prisma.ContractCreateWithoutCurrentPhaseInput, Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput> | Prisma.ContractCreateWithoutCurrentPhaseInput[] | Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput[];
|
|
1048
|
+
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutCurrentPhaseInput | Prisma.ContractCreateOrConnectWithoutCurrentPhaseInput[];
|
|
1049
|
+
upsert?: Prisma.ContractUpsertWithWhereUniqueWithoutCurrentPhaseInput | Prisma.ContractUpsertWithWhereUniqueWithoutCurrentPhaseInput[];
|
|
1050
|
+
createMany?: Prisma.ContractCreateManyCurrentPhaseInputEnvelope;
|
|
1051
|
+
set?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1052
|
+
disconnect?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1053
|
+
delete?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1054
|
+
connect?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1055
|
+
update?: Prisma.ContractUpdateWithWhereUniqueWithoutCurrentPhaseInput | Prisma.ContractUpdateWithWhereUniqueWithoutCurrentPhaseInput[];
|
|
1056
|
+
updateMany?: Prisma.ContractUpdateManyWithWhereWithoutCurrentPhaseInput | Prisma.ContractUpdateManyWithWhereWithoutCurrentPhaseInput[];
|
|
1057
|
+
deleteMany?: Prisma.ContractScalarWhereInput | Prisma.ContractScalarWhereInput[];
|
|
1058
|
+
};
|
|
1059
|
+
export type ContractUncheckedUpdateManyWithoutCurrentPhaseNestedInput = {
|
|
1060
|
+
create?: Prisma.XOR<Prisma.ContractCreateWithoutCurrentPhaseInput, Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput> | Prisma.ContractCreateWithoutCurrentPhaseInput[] | Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput[];
|
|
1061
|
+
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutCurrentPhaseInput | Prisma.ContractCreateOrConnectWithoutCurrentPhaseInput[];
|
|
1062
|
+
upsert?: Prisma.ContractUpsertWithWhereUniqueWithoutCurrentPhaseInput | Prisma.ContractUpsertWithWhereUniqueWithoutCurrentPhaseInput[];
|
|
1063
|
+
createMany?: Prisma.ContractCreateManyCurrentPhaseInputEnvelope;
|
|
1064
|
+
set?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1065
|
+
disconnect?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1066
|
+
delete?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1067
|
+
connect?: Prisma.ContractWhereUniqueInput | Prisma.ContractWhereUniqueInput[];
|
|
1068
|
+
update?: Prisma.ContractUpdateWithWhereUniqueWithoutCurrentPhaseInput | Prisma.ContractUpdateWithWhereUniqueWithoutCurrentPhaseInput[];
|
|
1069
|
+
updateMany?: Prisma.ContractUpdateManyWithWhereWithoutCurrentPhaseInput | Prisma.ContractUpdateManyWithWhereWithoutCurrentPhaseInput[];
|
|
1070
|
+
deleteMany?: Prisma.ContractScalarWhereInput | Prisma.ContractScalarWhereInput[];
|
|
1071
|
+
};
|
|
1406
1072
|
export type ContractCreateNestedOneWithoutEventsInput = {
|
|
1407
1073
|
create?: Prisma.XOR<Prisma.ContractCreateWithoutEventsInput, Prisma.ContractUncheckedCreateWithoutEventsInput>;
|
|
1408
1074
|
connectOrCreate?: Prisma.ContractCreateOrConnectWithoutEventsInput;
|
|
@@ -1508,22 +1174,7 @@ export type ContractCreateWithoutBuyerInput = {
|
|
|
1508
1174
|
description?: string | null;
|
|
1509
1175
|
contractType: string;
|
|
1510
1176
|
totalAmount: number;
|
|
1511
|
-
downPayment?: number;
|
|
1512
|
-
downPaymentPaid?: number;
|
|
1513
|
-
principal?: number | null;
|
|
1514
|
-
interestRate?: number | null;
|
|
1515
|
-
termMonths?: number | null;
|
|
1516
|
-
periodicPayment?: number | null;
|
|
1517
|
-
totalPaidToDate?: number;
|
|
1518
|
-
totalInterestPaid?: number;
|
|
1519
|
-
monthlyIncome?: number | null;
|
|
1520
|
-
monthlyExpenses?: number | null;
|
|
1521
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1522
|
-
underwritingScore?: number | null;
|
|
1523
|
-
debtToIncomeRatio?: number | null;
|
|
1524
1177
|
status?: $Enums.ContractStatus;
|
|
1525
|
-
state?: $Enums.ContractStatus;
|
|
1526
|
-
currentPhaseId?: string | null;
|
|
1527
1178
|
nextPaymentDueDate?: Date | string | null;
|
|
1528
1179
|
lastReminderSentAt?: Date | string | null;
|
|
1529
1180
|
startDate?: Date | string | null;
|
|
@@ -1536,6 +1187,7 @@ export type ContractCreateWithoutBuyerInput = {
|
|
|
1536
1187
|
propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutContractsInput;
|
|
1537
1188
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
1538
1189
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
1190
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
1539
1191
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
1540
1192
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
1541
1193
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -1560,21 +1212,7 @@ export type ContractUncheckedCreateWithoutBuyerInput = {
|
|
|
1560
1212
|
description?: string | null;
|
|
1561
1213
|
contractType: string;
|
|
1562
1214
|
totalAmount: number;
|
|
1563
|
-
downPayment?: number;
|
|
1564
|
-
downPaymentPaid?: number;
|
|
1565
|
-
principal?: number | null;
|
|
1566
|
-
interestRate?: number | null;
|
|
1567
|
-
termMonths?: number | null;
|
|
1568
|
-
periodicPayment?: number | null;
|
|
1569
|
-
totalPaidToDate?: number;
|
|
1570
|
-
totalInterestPaid?: number;
|
|
1571
|
-
monthlyIncome?: number | null;
|
|
1572
|
-
monthlyExpenses?: number | null;
|
|
1573
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1574
|
-
underwritingScore?: number | null;
|
|
1575
|
-
debtToIncomeRatio?: number | null;
|
|
1576
1215
|
status?: $Enums.ContractStatus;
|
|
1577
|
-
state?: $Enums.ContractStatus;
|
|
1578
1216
|
currentPhaseId?: string | null;
|
|
1579
1217
|
nextPaymentDueDate?: Date | string | null;
|
|
1580
1218
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -1612,22 +1250,7 @@ export type ContractCreateWithoutSellerInput = {
|
|
|
1612
1250
|
description?: string | null;
|
|
1613
1251
|
contractType: string;
|
|
1614
1252
|
totalAmount: number;
|
|
1615
|
-
downPayment?: number;
|
|
1616
|
-
downPaymentPaid?: number;
|
|
1617
|
-
principal?: number | null;
|
|
1618
|
-
interestRate?: number | null;
|
|
1619
|
-
termMonths?: number | null;
|
|
1620
|
-
periodicPayment?: number | null;
|
|
1621
|
-
totalPaidToDate?: number;
|
|
1622
|
-
totalInterestPaid?: number;
|
|
1623
|
-
monthlyIncome?: number | null;
|
|
1624
|
-
monthlyExpenses?: number | null;
|
|
1625
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1626
|
-
underwritingScore?: number | null;
|
|
1627
|
-
debtToIncomeRatio?: number | null;
|
|
1628
1253
|
status?: $Enums.ContractStatus;
|
|
1629
|
-
state?: $Enums.ContractStatus;
|
|
1630
|
-
currentPhaseId?: string | null;
|
|
1631
1254
|
nextPaymentDueDate?: Date | string | null;
|
|
1632
1255
|
lastReminderSentAt?: Date | string | null;
|
|
1633
1256
|
startDate?: Date | string | null;
|
|
@@ -1640,6 +1263,7 @@ export type ContractCreateWithoutSellerInput = {
|
|
|
1640
1263
|
propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutContractsInput;
|
|
1641
1264
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
1642
1265
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
1266
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
1643
1267
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
1644
1268
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
1645
1269
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -1664,21 +1288,7 @@ export type ContractUncheckedCreateWithoutSellerInput = {
|
|
|
1664
1288
|
description?: string | null;
|
|
1665
1289
|
contractType: string;
|
|
1666
1290
|
totalAmount: number;
|
|
1667
|
-
downPayment?: number;
|
|
1668
|
-
downPaymentPaid?: number;
|
|
1669
|
-
principal?: number | null;
|
|
1670
|
-
interestRate?: number | null;
|
|
1671
|
-
termMonths?: number | null;
|
|
1672
|
-
periodicPayment?: number | null;
|
|
1673
|
-
totalPaidToDate?: number;
|
|
1674
|
-
totalInterestPaid?: number;
|
|
1675
|
-
monthlyIncome?: number | null;
|
|
1676
|
-
monthlyExpenses?: number | null;
|
|
1677
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1678
|
-
underwritingScore?: number | null;
|
|
1679
|
-
debtToIncomeRatio?: number | null;
|
|
1680
1291
|
status?: $Enums.ContractStatus;
|
|
1681
|
-
state?: $Enums.ContractStatus;
|
|
1682
1292
|
currentPhaseId?: string | null;
|
|
1683
1293
|
nextPaymentDueDate?: Date | string | null;
|
|
1684
1294
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -1737,21 +1347,7 @@ export type ContractScalarWhereInput = {
|
|
|
1737
1347
|
description?: Prisma.StringNullableFilter<"Contract"> | string | null;
|
|
1738
1348
|
contractType?: Prisma.StringFilter<"Contract"> | string;
|
|
1739
1349
|
totalAmount?: Prisma.FloatFilter<"Contract"> | number;
|
|
1740
|
-
downPayment?: Prisma.FloatFilter<"Contract"> | number;
|
|
1741
|
-
downPaymentPaid?: Prisma.FloatFilter<"Contract"> | number;
|
|
1742
|
-
principal?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1743
|
-
interestRate?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1744
|
-
termMonths?: Prisma.IntNullableFilter<"Contract"> | number | null;
|
|
1745
|
-
periodicPayment?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1746
|
-
totalPaidToDate?: Prisma.FloatFilter<"Contract"> | number;
|
|
1747
|
-
totalInterestPaid?: Prisma.FloatFilter<"Contract"> | number;
|
|
1748
|
-
monthlyIncome?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1749
|
-
monthlyExpenses?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1750
|
-
preApprovalAnswers?: Prisma.JsonNullableFilter<"Contract">;
|
|
1751
|
-
underwritingScore?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1752
|
-
debtToIncomeRatio?: Prisma.FloatNullableFilter<"Contract"> | number | null;
|
|
1753
1350
|
status?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
1754
|
-
state?: Prisma.EnumContractStatusFilter<"Contract"> | $Enums.ContractStatus;
|
|
1755
1351
|
currentPhaseId?: Prisma.StringNullableFilter<"Contract"> | string | null;
|
|
1756
1352
|
nextPaymentDueDate?: Prisma.DateTimeNullableFilter<"Contract"> | Date | string | null;
|
|
1757
1353
|
lastReminderSentAt?: Prisma.DateTimeNullableFilter<"Contract"> | Date | string | null;
|
|
@@ -1783,22 +1379,7 @@ export type ContractCreateWithoutTenantInput = {
|
|
|
1783
1379
|
description?: string | null;
|
|
1784
1380
|
contractType: string;
|
|
1785
1381
|
totalAmount: number;
|
|
1786
|
-
downPayment?: number;
|
|
1787
|
-
downPaymentPaid?: number;
|
|
1788
|
-
principal?: number | null;
|
|
1789
|
-
interestRate?: number | null;
|
|
1790
|
-
termMonths?: number | null;
|
|
1791
|
-
periodicPayment?: number | null;
|
|
1792
|
-
totalPaidToDate?: number;
|
|
1793
|
-
totalInterestPaid?: number;
|
|
1794
|
-
monthlyIncome?: number | null;
|
|
1795
|
-
monthlyExpenses?: number | null;
|
|
1796
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1797
|
-
underwritingScore?: number | null;
|
|
1798
|
-
debtToIncomeRatio?: number | null;
|
|
1799
1382
|
status?: $Enums.ContractStatus;
|
|
1800
|
-
state?: $Enums.ContractStatus;
|
|
1801
|
-
currentPhaseId?: string | null;
|
|
1802
1383
|
nextPaymentDueDate?: Date | string | null;
|
|
1803
1384
|
lastReminderSentAt?: Date | string | null;
|
|
1804
1385
|
startDate?: Date | string | null;
|
|
@@ -1811,6 +1392,7 @@ export type ContractCreateWithoutTenantInput = {
|
|
|
1811
1392
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
1812
1393
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
1813
1394
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
1395
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
1814
1396
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
1815
1397
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
1816
1398
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -1835,21 +1417,7 @@ export type ContractUncheckedCreateWithoutTenantInput = {
|
|
|
1835
1417
|
description?: string | null;
|
|
1836
1418
|
contractType: string;
|
|
1837
1419
|
totalAmount: number;
|
|
1838
|
-
downPayment?: number;
|
|
1839
|
-
downPaymentPaid?: number;
|
|
1840
|
-
principal?: number | null;
|
|
1841
|
-
interestRate?: number | null;
|
|
1842
|
-
termMonths?: number | null;
|
|
1843
|
-
periodicPayment?: number | null;
|
|
1844
|
-
totalPaidToDate?: number;
|
|
1845
|
-
totalInterestPaid?: number;
|
|
1846
|
-
monthlyIncome?: number | null;
|
|
1847
|
-
monthlyExpenses?: number | null;
|
|
1848
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1849
|
-
underwritingScore?: number | null;
|
|
1850
|
-
debtToIncomeRatio?: number | null;
|
|
1851
1420
|
status?: $Enums.ContractStatus;
|
|
1852
|
-
state?: $Enums.ContractStatus;
|
|
1853
1421
|
currentPhaseId?: string | null;
|
|
1854
1422
|
nextPaymentDueDate?: Date | string | null;
|
|
1855
1423
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -1900,22 +1468,7 @@ export type ContractCreateWithoutPropertyUnitInput = {
|
|
|
1900
1468
|
description?: string | null;
|
|
1901
1469
|
contractType: string;
|
|
1902
1470
|
totalAmount: number;
|
|
1903
|
-
downPayment?: number;
|
|
1904
|
-
downPaymentPaid?: number;
|
|
1905
|
-
principal?: number | null;
|
|
1906
|
-
interestRate?: number | null;
|
|
1907
|
-
termMonths?: number | null;
|
|
1908
|
-
periodicPayment?: number | null;
|
|
1909
|
-
totalPaidToDate?: number;
|
|
1910
|
-
totalInterestPaid?: number;
|
|
1911
|
-
monthlyIncome?: number | null;
|
|
1912
|
-
monthlyExpenses?: number | null;
|
|
1913
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1914
|
-
underwritingScore?: number | null;
|
|
1915
|
-
debtToIncomeRatio?: number | null;
|
|
1916
1471
|
status?: $Enums.ContractStatus;
|
|
1917
|
-
state?: $Enums.ContractStatus;
|
|
1918
|
-
currentPhaseId?: string | null;
|
|
1919
1472
|
nextPaymentDueDate?: Date | string | null;
|
|
1920
1473
|
lastReminderSentAt?: Date | string | null;
|
|
1921
1474
|
startDate?: Date | string | null;
|
|
@@ -1928,6 +1481,7 @@ export type ContractCreateWithoutPropertyUnitInput = {
|
|
|
1928
1481
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
1929
1482
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
1930
1483
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
1484
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
1931
1485
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
1932
1486
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
1933
1487
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -1952,21 +1506,7 @@ export type ContractUncheckedCreateWithoutPropertyUnitInput = {
|
|
|
1952
1506
|
description?: string | null;
|
|
1953
1507
|
contractType: string;
|
|
1954
1508
|
totalAmount: number;
|
|
1955
|
-
downPayment?: number;
|
|
1956
|
-
downPaymentPaid?: number;
|
|
1957
|
-
principal?: number | null;
|
|
1958
|
-
interestRate?: number | null;
|
|
1959
|
-
termMonths?: number | null;
|
|
1960
|
-
periodicPayment?: number | null;
|
|
1961
|
-
totalPaidToDate?: number;
|
|
1962
|
-
totalInterestPaid?: number;
|
|
1963
|
-
monthlyIncome?: number | null;
|
|
1964
|
-
monthlyExpenses?: number | null;
|
|
1965
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1966
|
-
underwritingScore?: number | null;
|
|
1967
|
-
debtToIncomeRatio?: number | null;
|
|
1968
1509
|
status?: $Enums.ContractStatus;
|
|
1969
|
-
state?: $Enums.ContractStatus;
|
|
1970
1510
|
currentPhaseId?: string | null;
|
|
1971
1511
|
nextPaymentDueDate?: Date | string | null;
|
|
1972
1512
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -2017,22 +1557,7 @@ export type ContractCreateWithoutPaymentMethodInput = {
|
|
|
2017
1557
|
description?: string | null;
|
|
2018
1558
|
contractType: string;
|
|
2019
1559
|
totalAmount: number;
|
|
2020
|
-
downPayment?: number;
|
|
2021
|
-
downPaymentPaid?: number;
|
|
2022
|
-
principal?: number | null;
|
|
2023
|
-
interestRate?: number | null;
|
|
2024
|
-
termMonths?: number | null;
|
|
2025
|
-
periodicPayment?: number | null;
|
|
2026
|
-
totalPaidToDate?: number;
|
|
2027
|
-
totalInterestPaid?: number;
|
|
2028
|
-
monthlyIncome?: number | null;
|
|
2029
|
-
monthlyExpenses?: number | null;
|
|
2030
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2031
|
-
underwritingScore?: number | null;
|
|
2032
|
-
debtToIncomeRatio?: number | null;
|
|
2033
1560
|
status?: $Enums.ContractStatus;
|
|
2034
|
-
state?: $Enums.ContractStatus;
|
|
2035
|
-
currentPhaseId?: string | null;
|
|
2036
1561
|
nextPaymentDueDate?: Date | string | null;
|
|
2037
1562
|
lastReminderSentAt?: Date | string | null;
|
|
2038
1563
|
startDate?: Date | string | null;
|
|
@@ -2045,6 +1570,7 @@ export type ContractCreateWithoutPaymentMethodInput = {
|
|
|
2045
1570
|
propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutContractsInput;
|
|
2046
1571
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
2047
1572
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
1573
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
2048
1574
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
2049
1575
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2050
1576
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -2069,21 +1595,7 @@ export type ContractUncheckedCreateWithoutPaymentMethodInput = {
|
|
|
2069
1595
|
description?: string | null;
|
|
2070
1596
|
contractType: string;
|
|
2071
1597
|
totalAmount: number;
|
|
2072
|
-
downPayment?: number;
|
|
2073
|
-
downPaymentPaid?: number;
|
|
2074
|
-
principal?: number | null;
|
|
2075
|
-
interestRate?: number | null;
|
|
2076
|
-
termMonths?: number | null;
|
|
2077
|
-
periodicPayment?: number | null;
|
|
2078
|
-
totalPaidToDate?: number;
|
|
2079
|
-
totalInterestPaid?: number;
|
|
2080
|
-
monthlyIncome?: number | null;
|
|
2081
|
-
monthlyExpenses?: number | null;
|
|
2082
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2083
|
-
underwritingScore?: number | null;
|
|
2084
|
-
debtToIncomeRatio?: number | null;
|
|
2085
1598
|
status?: $Enums.ContractStatus;
|
|
2086
|
-
state?: $Enums.ContractStatus;
|
|
2087
1599
|
currentPhaseId?: string | null;
|
|
2088
1600
|
nextPaymentDueDate?: Date | string | null;
|
|
2089
1601
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -2134,22 +1646,7 @@ export type ContractCreateWithoutTransferredToInput = {
|
|
|
2134
1646
|
description?: string | null;
|
|
2135
1647
|
contractType: string;
|
|
2136
1648
|
totalAmount: number;
|
|
2137
|
-
downPayment?: number;
|
|
2138
|
-
downPaymentPaid?: number;
|
|
2139
|
-
principal?: number | null;
|
|
2140
|
-
interestRate?: number | null;
|
|
2141
|
-
termMonths?: number | null;
|
|
2142
|
-
periodicPayment?: number | null;
|
|
2143
|
-
totalPaidToDate?: number;
|
|
2144
|
-
totalInterestPaid?: number;
|
|
2145
|
-
monthlyIncome?: number | null;
|
|
2146
|
-
monthlyExpenses?: number | null;
|
|
2147
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2148
|
-
underwritingScore?: number | null;
|
|
2149
|
-
debtToIncomeRatio?: number | null;
|
|
2150
1649
|
status?: $Enums.ContractStatus;
|
|
2151
|
-
state?: $Enums.ContractStatus;
|
|
2152
|
-
currentPhaseId?: string | null;
|
|
2153
1650
|
nextPaymentDueDate?: Date | string | null;
|
|
2154
1651
|
lastReminderSentAt?: Date | string | null;
|
|
2155
1652
|
startDate?: Date | string | null;
|
|
@@ -2163,6 +1660,7 @@ export type ContractCreateWithoutTransferredToInput = {
|
|
|
2163
1660
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
2164
1661
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
2165
1662
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
1663
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
2166
1664
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
2167
1665
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2168
1666
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -2187,21 +1685,7 @@ export type ContractUncheckedCreateWithoutTransferredToInput = {
|
|
|
2187
1685
|
description?: string | null;
|
|
2188
1686
|
contractType: string;
|
|
2189
1687
|
totalAmount: number;
|
|
2190
|
-
downPayment?: number;
|
|
2191
|
-
downPaymentPaid?: number;
|
|
2192
|
-
principal?: number | null;
|
|
2193
|
-
interestRate?: number | null;
|
|
2194
|
-
termMonths?: number | null;
|
|
2195
|
-
periodicPayment?: number | null;
|
|
2196
|
-
totalPaidToDate?: number;
|
|
2197
|
-
totalInterestPaid?: number;
|
|
2198
|
-
monthlyIncome?: number | null;
|
|
2199
|
-
monthlyExpenses?: number | null;
|
|
2200
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2201
|
-
underwritingScore?: number | null;
|
|
2202
|
-
debtToIncomeRatio?: number | null;
|
|
2203
1688
|
status?: $Enums.ContractStatus;
|
|
2204
|
-
state?: $Enums.ContractStatus;
|
|
2205
1689
|
currentPhaseId?: string | null;
|
|
2206
1690
|
nextPaymentDueDate?: Date | string | null;
|
|
2207
1691
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -2234,22 +1718,7 @@ export type ContractCreateWithoutTransferredFromInput = {
|
|
|
2234
1718
|
description?: string | null;
|
|
2235
1719
|
contractType: string;
|
|
2236
1720
|
totalAmount: number;
|
|
2237
|
-
downPayment?: number;
|
|
2238
|
-
downPaymentPaid?: number;
|
|
2239
|
-
principal?: number | null;
|
|
2240
|
-
interestRate?: number | null;
|
|
2241
|
-
termMonths?: number | null;
|
|
2242
|
-
periodicPayment?: number | null;
|
|
2243
|
-
totalPaidToDate?: number;
|
|
2244
|
-
totalInterestPaid?: number;
|
|
2245
|
-
monthlyIncome?: number | null;
|
|
2246
|
-
monthlyExpenses?: number | null;
|
|
2247
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2248
|
-
underwritingScore?: number | null;
|
|
2249
|
-
debtToIncomeRatio?: number | null;
|
|
2250
1721
|
status?: $Enums.ContractStatus;
|
|
2251
|
-
state?: $Enums.ContractStatus;
|
|
2252
|
-
currentPhaseId?: string | null;
|
|
2253
1722
|
nextPaymentDueDate?: Date | string | null;
|
|
2254
1723
|
lastReminderSentAt?: Date | string | null;
|
|
2255
1724
|
startDate?: Date | string | null;
|
|
@@ -2263,6 +1732,7 @@ export type ContractCreateWithoutTransferredFromInput = {
|
|
|
2263
1732
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
2264
1733
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
2265
1734
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
1735
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
2266
1736
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
2267
1737
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2268
1738
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -2287,21 +1757,7 @@ export type ContractUncheckedCreateWithoutTransferredFromInput = {
|
|
|
2287
1757
|
description?: string | null;
|
|
2288
1758
|
contractType: string;
|
|
2289
1759
|
totalAmount: number;
|
|
2290
|
-
downPayment?: number;
|
|
2291
|
-
downPaymentPaid?: number;
|
|
2292
|
-
principal?: number | null;
|
|
2293
|
-
interestRate?: number | null;
|
|
2294
|
-
termMonths?: number | null;
|
|
2295
|
-
periodicPayment?: number | null;
|
|
2296
|
-
totalPaidToDate?: number;
|
|
2297
|
-
totalInterestPaid?: number;
|
|
2298
|
-
monthlyIncome?: number | null;
|
|
2299
|
-
monthlyExpenses?: number | null;
|
|
2300
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2301
|
-
underwritingScore?: number | null;
|
|
2302
|
-
debtToIncomeRatio?: number | null;
|
|
2303
1760
|
status?: $Enums.ContractStatus;
|
|
2304
|
-
state?: $Enums.ContractStatus;
|
|
2305
1761
|
currentPhaseId?: string | null;
|
|
2306
1762
|
nextPaymentDueDate?: Date | string | null;
|
|
2307
1763
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -2343,22 +1799,7 @@ export type ContractUpdateWithoutTransferredToInput = {
|
|
|
2343
1799
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2344
1800
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2345
1801
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2346
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2347
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2348
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2349
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2350
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2351
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2352
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2353
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2354
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2355
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2356
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2357
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2358
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2359
1802
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2360
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2361
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2362
1803
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2363
1804
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2364
1805
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -2372,6 +1813,7 @@ export type ContractUpdateWithoutTransferredToInput = {
|
|
|
2372
1813
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
2373
1814
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
2374
1815
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
1816
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
2375
1817
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
2376
1818
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
2377
1819
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -2396,21 +1838,7 @@ export type ContractUncheckedUpdateWithoutTransferredToInput = {
|
|
|
2396
1838
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2397
1839
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2398
1840
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2399
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2400
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2401
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2402
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2403
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2404
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2405
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2406
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2407
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2408
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2409
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2410
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2411
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2412
1841
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2413
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2414
1842
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2415
1843
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2416
1844
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -2448,22 +1876,7 @@ export type ContractUpdateWithoutTransferredFromInput = {
|
|
|
2448
1876
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2449
1877
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2450
1878
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2451
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2452
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2453
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2454
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2455
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2456
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2457
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2458
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2459
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2460
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2461
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2462
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2463
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2464
1879
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2465
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2466
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2467
1880
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2468
1881
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2469
1882
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -2477,6 +1890,7 @@ export type ContractUpdateWithoutTransferredFromInput = {
|
|
|
2477
1890
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
2478
1891
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
2479
1892
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
1893
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
2480
1894
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
2481
1895
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
2482
1896
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -2501,21 +1915,7 @@ export type ContractUncheckedUpdateWithoutTransferredFromInput = {
|
|
|
2501
1915
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2502
1916
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2503
1917
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2504
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2505
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2506
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2507
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2508
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2509
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2510
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2511
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2512
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2513
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2514
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2515
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2516
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2517
1918
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2518
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2519
1919
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2520
1920
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2521
1921
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -2544,22 +1944,7 @@ export type ContractCreateWithoutRefundsInput = {
|
|
|
2544
1944
|
description?: string | null;
|
|
2545
1945
|
contractType: string;
|
|
2546
1946
|
totalAmount: number;
|
|
2547
|
-
downPayment?: number;
|
|
2548
|
-
downPaymentPaid?: number;
|
|
2549
|
-
principal?: number | null;
|
|
2550
|
-
interestRate?: number | null;
|
|
2551
|
-
termMonths?: number | null;
|
|
2552
|
-
periodicPayment?: number | null;
|
|
2553
|
-
totalPaidToDate?: number;
|
|
2554
|
-
totalInterestPaid?: number;
|
|
2555
|
-
monthlyIncome?: number | null;
|
|
2556
|
-
monthlyExpenses?: number | null;
|
|
2557
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2558
|
-
underwritingScore?: number | null;
|
|
2559
|
-
debtToIncomeRatio?: number | null;
|
|
2560
1947
|
status?: $Enums.ContractStatus;
|
|
2561
|
-
state?: $Enums.ContractStatus;
|
|
2562
|
-
currentPhaseId?: string | null;
|
|
2563
1948
|
nextPaymentDueDate?: Date | string | null;
|
|
2564
1949
|
lastReminderSentAt?: Date | string | null;
|
|
2565
1950
|
startDate?: Date | string | null;
|
|
@@ -2573,6 +1958,7 @@ export type ContractCreateWithoutRefundsInput = {
|
|
|
2573
1958
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
2574
1959
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
2575
1960
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
1961
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
2576
1962
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
2577
1963
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2578
1964
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -2597,21 +1983,7 @@ export type ContractUncheckedCreateWithoutRefundsInput = {
|
|
|
2597
1983
|
description?: string | null;
|
|
2598
1984
|
contractType: string;
|
|
2599
1985
|
totalAmount: number;
|
|
2600
|
-
downPayment?: number;
|
|
2601
|
-
downPaymentPaid?: number;
|
|
2602
|
-
principal?: number | null;
|
|
2603
|
-
interestRate?: number | null;
|
|
2604
|
-
termMonths?: number | null;
|
|
2605
|
-
periodicPayment?: number | null;
|
|
2606
|
-
totalPaidToDate?: number;
|
|
2607
|
-
totalInterestPaid?: number;
|
|
2608
|
-
monthlyIncome?: number | null;
|
|
2609
|
-
monthlyExpenses?: number | null;
|
|
2610
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2611
|
-
underwritingScore?: number | null;
|
|
2612
|
-
debtToIncomeRatio?: number | null;
|
|
2613
1986
|
status?: $Enums.ContractStatus;
|
|
2614
|
-
state?: $Enums.ContractStatus;
|
|
2615
1987
|
currentPhaseId?: string | null;
|
|
2616
1988
|
nextPaymentDueDate?: Date | string | null;
|
|
2617
1989
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -2653,22 +2025,7 @@ export type ContractUpdateWithoutRefundsInput = {
|
|
|
2653
2025
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2654
2026
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2655
2027
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2656
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2657
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2658
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2659
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2660
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2661
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2662
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2663
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2664
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2665
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2666
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2667
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2668
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2669
2028
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2670
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2671
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2672
2029
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2673
2030
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2674
2031
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -2682,6 +2039,7 @@ export type ContractUpdateWithoutRefundsInput = {
|
|
|
2682
2039
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
2683
2040
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
2684
2041
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
2042
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
2685
2043
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
2686
2044
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
2687
2045
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -2706,21 +2064,7 @@ export type ContractUncheckedUpdateWithoutRefundsInput = {
|
|
|
2706
2064
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2707
2065
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2708
2066
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2709
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2710
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2711
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2712
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2713
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2714
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2715
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2716
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2717
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2718
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2719
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2720
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2721
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2722
2067
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2723
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2724
2068
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2725
2069
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2726
2070
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -2749,22 +2093,7 @@ export type ContractCreateWithoutPhasesInput = {
|
|
|
2749
2093
|
description?: string | null;
|
|
2750
2094
|
contractType: string;
|
|
2751
2095
|
totalAmount: number;
|
|
2752
|
-
downPayment?: number;
|
|
2753
|
-
downPaymentPaid?: number;
|
|
2754
|
-
principal?: number | null;
|
|
2755
|
-
interestRate?: number | null;
|
|
2756
|
-
termMonths?: number | null;
|
|
2757
|
-
periodicPayment?: number | null;
|
|
2758
|
-
totalPaidToDate?: number;
|
|
2759
|
-
totalInterestPaid?: number;
|
|
2760
|
-
monthlyIncome?: number | null;
|
|
2761
|
-
monthlyExpenses?: number | null;
|
|
2762
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2763
|
-
underwritingScore?: number | null;
|
|
2764
|
-
debtToIncomeRatio?: number | null;
|
|
2765
2096
|
status?: $Enums.ContractStatus;
|
|
2766
|
-
state?: $Enums.ContractStatus;
|
|
2767
|
-
currentPhaseId?: string | null;
|
|
2768
2097
|
nextPaymentDueDate?: Date | string | null;
|
|
2769
2098
|
lastReminderSentAt?: Date | string | null;
|
|
2770
2099
|
startDate?: Date | string | null;
|
|
@@ -2778,6 +2107,7 @@ export type ContractCreateWithoutPhasesInput = {
|
|
|
2778
2107
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
2779
2108
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
2780
2109
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
2110
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
2781
2111
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2782
2112
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
2783
2113
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
@@ -2802,21 +2132,7 @@ export type ContractUncheckedCreateWithoutPhasesInput = {
|
|
|
2802
2132
|
description?: string | null;
|
|
2803
2133
|
contractType: string;
|
|
2804
2134
|
totalAmount: number;
|
|
2805
|
-
downPayment?: number;
|
|
2806
|
-
downPaymentPaid?: number;
|
|
2807
|
-
principal?: number | null;
|
|
2808
|
-
interestRate?: number | null;
|
|
2809
|
-
termMonths?: number | null;
|
|
2810
|
-
periodicPayment?: number | null;
|
|
2811
|
-
totalPaidToDate?: number;
|
|
2812
|
-
totalInterestPaid?: number;
|
|
2813
|
-
monthlyIncome?: number | null;
|
|
2814
|
-
monthlyExpenses?: number | null;
|
|
2815
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2816
|
-
underwritingScore?: number | null;
|
|
2817
|
-
debtToIncomeRatio?: number | null;
|
|
2818
2135
|
status?: $Enums.ContractStatus;
|
|
2819
|
-
state?: $Enums.ContractStatus;
|
|
2820
2136
|
currentPhaseId?: string | null;
|
|
2821
2137
|
nextPaymentDueDate?: Date | string | null;
|
|
2822
2138
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -2842,6 +2158,82 @@ export type ContractCreateOrConnectWithoutPhasesInput = {
|
|
|
2842
2158
|
where: Prisma.ContractWhereUniqueInput;
|
|
2843
2159
|
create: Prisma.XOR<Prisma.ContractCreateWithoutPhasesInput, Prisma.ContractUncheckedCreateWithoutPhasesInput>;
|
|
2844
2160
|
};
|
|
2161
|
+
export type ContractCreateWithoutCurrentPhaseInput = {
|
|
2162
|
+
id?: string;
|
|
2163
|
+
contractNumber: string;
|
|
2164
|
+
title: string;
|
|
2165
|
+
description?: string | null;
|
|
2166
|
+
contractType: string;
|
|
2167
|
+
totalAmount: number;
|
|
2168
|
+
status?: $Enums.ContractStatus;
|
|
2169
|
+
nextPaymentDueDate?: Date | string | null;
|
|
2170
|
+
lastReminderSentAt?: Date | string | null;
|
|
2171
|
+
startDate?: Date | string | null;
|
|
2172
|
+
endDate?: Date | string | null;
|
|
2173
|
+
signedAt?: Date | string | null;
|
|
2174
|
+
terminatedAt?: Date | string | null;
|
|
2175
|
+
createdAt?: Date | string;
|
|
2176
|
+
updatedAt?: Date | string;
|
|
2177
|
+
tenant: Prisma.TenantCreateNestedOneWithoutContractsInput;
|
|
2178
|
+
propertyUnit: Prisma.PropertyUnitCreateNestedOneWithoutContractsInput;
|
|
2179
|
+
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
2180
|
+
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
2181
|
+
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
2182
|
+
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
2183
|
+
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2184
|
+
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
2185
|
+
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
2186
|
+
offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutContractInput;
|
|
2187
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutContractInput;
|
|
2188
|
+
transferredFrom?: Prisma.ContractCreateNestedOneWithoutTransferredToInput;
|
|
2189
|
+
transferredTo?: Prisma.ContractCreateNestedOneWithoutTransferredFromInput;
|
|
2190
|
+
outgoingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutSourceContractInput;
|
|
2191
|
+
incomingTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTargetContractInput;
|
|
2192
|
+
events?: Prisma.ContractEventCreateNestedManyWithoutContractInput;
|
|
2193
|
+
refunds?: Prisma.ContractRefundCreateNestedManyWithoutContractInput;
|
|
2194
|
+
};
|
|
2195
|
+
export type ContractUncheckedCreateWithoutCurrentPhaseInput = {
|
|
2196
|
+
id?: string;
|
|
2197
|
+
tenantId: string;
|
|
2198
|
+
propertyUnitId: string;
|
|
2199
|
+
buyerId: string;
|
|
2200
|
+
sellerId?: string | null;
|
|
2201
|
+
paymentMethodId?: string | null;
|
|
2202
|
+
contractNumber: string;
|
|
2203
|
+
title: string;
|
|
2204
|
+
description?: string | null;
|
|
2205
|
+
contractType: string;
|
|
2206
|
+
totalAmount: number;
|
|
2207
|
+
status?: $Enums.ContractStatus;
|
|
2208
|
+
nextPaymentDueDate?: Date | string | null;
|
|
2209
|
+
lastReminderSentAt?: Date | string | null;
|
|
2210
|
+
startDate?: Date | string | null;
|
|
2211
|
+
endDate?: Date | string | null;
|
|
2212
|
+
signedAt?: Date | string | null;
|
|
2213
|
+
terminatedAt?: Date | string | null;
|
|
2214
|
+
createdAt?: Date | string;
|
|
2215
|
+
updatedAt?: Date | string;
|
|
2216
|
+
transferredFromId?: string | null;
|
|
2217
|
+
phases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutContractInput;
|
|
2218
|
+
documents?: Prisma.ContractDocumentUncheckedCreateNestedManyWithoutContractInput;
|
|
2219
|
+
payments?: Prisma.ContractPaymentUncheckedCreateNestedManyWithoutContractInput;
|
|
2220
|
+
terminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutContractInput;
|
|
2221
|
+
offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutContractInput;
|
|
2222
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutContractInput;
|
|
2223
|
+
transferredTo?: Prisma.ContractUncheckedCreateNestedOneWithoutTransferredFromInput;
|
|
2224
|
+
outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutSourceContractInput;
|
|
2225
|
+
incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTargetContractInput;
|
|
2226
|
+
events?: Prisma.ContractEventUncheckedCreateNestedManyWithoutContractInput;
|
|
2227
|
+
refunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutContractInput;
|
|
2228
|
+
};
|
|
2229
|
+
export type ContractCreateOrConnectWithoutCurrentPhaseInput = {
|
|
2230
|
+
where: Prisma.ContractWhereUniqueInput;
|
|
2231
|
+
create: Prisma.XOR<Prisma.ContractCreateWithoutCurrentPhaseInput, Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput>;
|
|
2232
|
+
};
|
|
2233
|
+
export type ContractCreateManyCurrentPhaseInputEnvelope = {
|
|
2234
|
+
data: Prisma.ContractCreateManyCurrentPhaseInput | Prisma.ContractCreateManyCurrentPhaseInput[];
|
|
2235
|
+
skipDuplicates?: boolean;
|
|
2236
|
+
};
|
|
2845
2237
|
export type ContractUpsertWithoutPhasesInput = {
|
|
2846
2238
|
update: Prisma.XOR<Prisma.ContractUpdateWithoutPhasesInput, Prisma.ContractUncheckedUpdateWithoutPhasesInput>;
|
|
2847
2239
|
create: Prisma.XOR<Prisma.ContractCreateWithoutPhasesInput, Prisma.ContractUncheckedCreateWithoutPhasesInput>;
|
|
@@ -2858,22 +2250,7 @@ export type ContractUpdateWithoutPhasesInput = {
|
|
|
2858
2250
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2859
2251
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2860
2252
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2861
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2862
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2863
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2864
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2865
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2866
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2867
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2868
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2869
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2870
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2871
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2872
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2873
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2874
2253
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2875
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2876
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2877
2254
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2878
2255
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2879
2256
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -2887,6 +2264,7 @@ export type ContractUpdateWithoutPhasesInput = {
|
|
|
2887
2264
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
2888
2265
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
2889
2266
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
2267
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
2890
2268
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
2891
2269
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
2892
2270
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
@@ -2911,21 +2289,7 @@ export type ContractUncheckedUpdateWithoutPhasesInput = {
|
|
|
2911
2289
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2912
2290
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
2913
2291
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2914
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2915
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2916
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2917
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2918
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
2919
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2920
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2921
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
2922
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2923
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2924
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2925
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2926
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
2927
2292
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2928
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
2929
2293
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
2930
2294
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
2931
2295
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -2947,6 +2311,19 @@ export type ContractUncheckedUpdateWithoutPhasesInput = {
|
|
|
2947
2311
|
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
2948
2312
|
refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
|
|
2949
2313
|
};
|
|
2314
|
+
export type ContractUpsertWithWhereUniqueWithoutCurrentPhaseInput = {
|
|
2315
|
+
where: Prisma.ContractWhereUniqueInput;
|
|
2316
|
+
update: Prisma.XOR<Prisma.ContractUpdateWithoutCurrentPhaseInput, Prisma.ContractUncheckedUpdateWithoutCurrentPhaseInput>;
|
|
2317
|
+
create: Prisma.XOR<Prisma.ContractCreateWithoutCurrentPhaseInput, Prisma.ContractUncheckedCreateWithoutCurrentPhaseInput>;
|
|
2318
|
+
};
|
|
2319
|
+
export type ContractUpdateWithWhereUniqueWithoutCurrentPhaseInput = {
|
|
2320
|
+
where: Prisma.ContractWhereUniqueInput;
|
|
2321
|
+
data: Prisma.XOR<Prisma.ContractUpdateWithoutCurrentPhaseInput, Prisma.ContractUncheckedUpdateWithoutCurrentPhaseInput>;
|
|
2322
|
+
};
|
|
2323
|
+
export type ContractUpdateManyWithWhereWithoutCurrentPhaseInput = {
|
|
2324
|
+
where: Prisma.ContractScalarWhereInput;
|
|
2325
|
+
data: Prisma.XOR<Prisma.ContractUpdateManyMutationInput, Prisma.ContractUncheckedUpdateManyWithoutCurrentPhaseInput>;
|
|
2326
|
+
};
|
|
2950
2327
|
export type ContractCreateWithoutEventsInput = {
|
|
2951
2328
|
id?: string;
|
|
2952
2329
|
contractNumber: string;
|
|
@@ -2954,22 +2331,7 @@ export type ContractCreateWithoutEventsInput = {
|
|
|
2954
2331
|
description?: string | null;
|
|
2955
2332
|
contractType: string;
|
|
2956
2333
|
totalAmount: number;
|
|
2957
|
-
downPayment?: number;
|
|
2958
|
-
downPaymentPaid?: number;
|
|
2959
|
-
principal?: number | null;
|
|
2960
|
-
interestRate?: number | null;
|
|
2961
|
-
termMonths?: number | null;
|
|
2962
|
-
periodicPayment?: number | null;
|
|
2963
|
-
totalPaidToDate?: number;
|
|
2964
|
-
totalInterestPaid?: number;
|
|
2965
|
-
monthlyIncome?: number | null;
|
|
2966
|
-
monthlyExpenses?: number | null;
|
|
2967
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
2968
|
-
underwritingScore?: number | null;
|
|
2969
|
-
debtToIncomeRatio?: number | null;
|
|
2970
2334
|
status?: $Enums.ContractStatus;
|
|
2971
|
-
state?: $Enums.ContractStatus;
|
|
2972
|
-
currentPhaseId?: string | null;
|
|
2973
2335
|
nextPaymentDueDate?: Date | string | null;
|
|
2974
2336
|
lastReminderSentAt?: Date | string | null;
|
|
2975
2337
|
startDate?: Date | string | null;
|
|
@@ -2983,6 +2345,7 @@ export type ContractCreateWithoutEventsInput = {
|
|
|
2983
2345
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
2984
2346
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
2985
2347
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
2348
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
2986
2349
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
2987
2350
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
2988
2351
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -3007,21 +2370,7 @@ export type ContractUncheckedCreateWithoutEventsInput = {
|
|
|
3007
2370
|
description?: string | null;
|
|
3008
2371
|
contractType: string;
|
|
3009
2372
|
totalAmount: number;
|
|
3010
|
-
downPayment?: number;
|
|
3011
|
-
downPaymentPaid?: number;
|
|
3012
|
-
principal?: number | null;
|
|
3013
|
-
interestRate?: number | null;
|
|
3014
|
-
termMonths?: number | null;
|
|
3015
|
-
periodicPayment?: number | null;
|
|
3016
|
-
totalPaidToDate?: number;
|
|
3017
|
-
totalInterestPaid?: number;
|
|
3018
|
-
monthlyIncome?: number | null;
|
|
3019
|
-
monthlyExpenses?: number | null;
|
|
3020
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3021
|
-
underwritingScore?: number | null;
|
|
3022
|
-
debtToIncomeRatio?: number | null;
|
|
3023
2373
|
status?: $Enums.ContractStatus;
|
|
3024
|
-
state?: $Enums.ContractStatus;
|
|
3025
2374
|
currentPhaseId?: string | null;
|
|
3026
2375
|
nextPaymentDueDate?: Date | string | null;
|
|
3027
2376
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -3063,22 +2412,7 @@ export type ContractUpdateWithoutEventsInput = {
|
|
|
3063
2412
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3064
2413
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3065
2414
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3066
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3067
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3068
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3069
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3070
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3071
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3072
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3073
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3074
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3075
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3076
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3077
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3078
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3079
2415
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3080
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3081
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3082
2416
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3083
2417
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3084
2418
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3092,6 +2426,7 @@ export type ContractUpdateWithoutEventsInput = {
|
|
|
3092
2426
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
3093
2427
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
3094
2428
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
2429
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
3095
2430
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
3096
2431
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
3097
2432
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -3116,21 +2451,7 @@ export type ContractUncheckedUpdateWithoutEventsInput = {
|
|
|
3116
2451
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3117
2452
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3118
2453
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3119
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3120
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3121
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3122
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3123
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3124
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3125
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3126
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3127
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3128
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3129
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3130
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3131
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3132
2454
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3133
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3134
2455
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3135
2456
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3136
2457
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3159,22 +2480,7 @@ export type ContractCreateWithoutPaymentsInput = {
|
|
|
3159
2480
|
description?: string | null;
|
|
3160
2481
|
contractType: string;
|
|
3161
2482
|
totalAmount: number;
|
|
3162
|
-
downPayment?: number;
|
|
3163
|
-
downPaymentPaid?: number;
|
|
3164
|
-
principal?: number | null;
|
|
3165
|
-
interestRate?: number | null;
|
|
3166
|
-
termMonths?: number | null;
|
|
3167
|
-
periodicPayment?: number | null;
|
|
3168
|
-
totalPaidToDate?: number;
|
|
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;
|
|
3175
2483
|
status?: $Enums.ContractStatus;
|
|
3176
|
-
state?: $Enums.ContractStatus;
|
|
3177
|
-
currentPhaseId?: string | null;
|
|
3178
2484
|
nextPaymentDueDate?: Date | string | null;
|
|
3179
2485
|
lastReminderSentAt?: Date | string | null;
|
|
3180
2486
|
startDate?: Date | string | null;
|
|
@@ -3188,6 +2494,7 @@ export type ContractCreateWithoutPaymentsInput = {
|
|
|
3188
2494
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
3189
2495
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
3190
2496
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
2497
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
3191
2498
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
3192
2499
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
3193
2500
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
@@ -3212,21 +2519,7 @@ export type ContractUncheckedCreateWithoutPaymentsInput = {
|
|
|
3212
2519
|
description?: string | null;
|
|
3213
2520
|
contractType: string;
|
|
3214
2521
|
totalAmount: number;
|
|
3215
|
-
downPayment?: number;
|
|
3216
|
-
downPaymentPaid?: number;
|
|
3217
|
-
principal?: number | null;
|
|
3218
|
-
interestRate?: number | null;
|
|
3219
|
-
termMonths?: number | null;
|
|
3220
|
-
periodicPayment?: number | null;
|
|
3221
|
-
totalPaidToDate?: number;
|
|
3222
|
-
totalInterestPaid?: number;
|
|
3223
|
-
monthlyIncome?: number | null;
|
|
3224
|
-
monthlyExpenses?: number | null;
|
|
3225
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3226
|
-
underwritingScore?: number | null;
|
|
3227
|
-
debtToIncomeRatio?: number | null;
|
|
3228
2522
|
status?: $Enums.ContractStatus;
|
|
3229
|
-
state?: $Enums.ContractStatus;
|
|
3230
2523
|
currentPhaseId?: string | null;
|
|
3231
2524
|
nextPaymentDueDate?: Date | string | null;
|
|
3232
2525
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -3268,22 +2561,7 @@ export type ContractUpdateWithoutPaymentsInput = {
|
|
|
3268
2561
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3269
2562
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3270
2563
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3271
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3272
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3273
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3274
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3275
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3276
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3277
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3278
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3279
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3280
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3281
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3282
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3283
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3284
2564
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3285
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3286
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3287
2565
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3288
2566
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3289
2567
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3297,6 +2575,7 @@ export type ContractUpdateWithoutPaymentsInput = {
|
|
|
3297
2575
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
3298
2576
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
3299
2577
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
2578
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
3300
2579
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
3301
2580
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
3302
2581
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
@@ -3321,21 +2600,7 @@ export type ContractUncheckedUpdateWithoutPaymentsInput = {
|
|
|
3321
2600
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3322
2601
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3323
2602
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3324
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3325
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3326
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3327
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3328
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3329
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3330
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3331
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3332
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3333
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3334
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3335
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3336
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3337
2603
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3338
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3339
2604
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3340
2605
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3341
2606
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3364,22 +2629,7 @@ export type ContractCreateWithoutDocumentsInput = {
|
|
|
3364
2629
|
description?: string | null;
|
|
3365
2630
|
contractType: string;
|
|
3366
2631
|
totalAmount: number;
|
|
3367
|
-
downPayment?: number;
|
|
3368
|
-
downPaymentPaid?: number;
|
|
3369
|
-
principal?: number | null;
|
|
3370
|
-
interestRate?: number | null;
|
|
3371
|
-
termMonths?: number | null;
|
|
3372
|
-
periodicPayment?: number | null;
|
|
3373
|
-
totalPaidToDate?: number;
|
|
3374
|
-
totalInterestPaid?: number;
|
|
3375
|
-
monthlyIncome?: number | null;
|
|
3376
|
-
monthlyExpenses?: number | null;
|
|
3377
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3378
|
-
underwritingScore?: number | null;
|
|
3379
|
-
debtToIncomeRatio?: number | null;
|
|
3380
2632
|
status?: $Enums.ContractStatus;
|
|
3381
|
-
state?: $Enums.ContractStatus;
|
|
3382
|
-
currentPhaseId?: string | null;
|
|
3383
2633
|
nextPaymentDueDate?: Date | string | null;
|
|
3384
2634
|
lastReminderSentAt?: Date | string | null;
|
|
3385
2635
|
startDate?: Date | string | null;
|
|
@@ -3393,6 +2643,7 @@ export type ContractCreateWithoutDocumentsInput = {
|
|
|
3393
2643
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
3394
2644
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
3395
2645
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
2646
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
3396
2647
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
3397
2648
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
3398
2649
|
terminations?: Prisma.ContractTerminationCreateNestedManyWithoutContractInput;
|
|
@@ -3417,21 +2668,7 @@ export type ContractUncheckedCreateWithoutDocumentsInput = {
|
|
|
3417
2668
|
description?: string | null;
|
|
3418
2669
|
contractType: string;
|
|
3419
2670
|
totalAmount: number;
|
|
3420
|
-
downPayment?: number;
|
|
3421
|
-
downPaymentPaid?: number;
|
|
3422
|
-
principal?: number | null;
|
|
3423
|
-
interestRate?: number | null;
|
|
3424
|
-
termMonths?: number | null;
|
|
3425
|
-
periodicPayment?: number | null;
|
|
3426
|
-
totalPaidToDate?: number;
|
|
3427
|
-
totalInterestPaid?: number;
|
|
3428
|
-
monthlyIncome?: number | null;
|
|
3429
|
-
monthlyExpenses?: number | null;
|
|
3430
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3431
|
-
underwritingScore?: number | null;
|
|
3432
|
-
debtToIncomeRatio?: number | null;
|
|
3433
2671
|
status?: $Enums.ContractStatus;
|
|
3434
|
-
state?: $Enums.ContractStatus;
|
|
3435
2672
|
currentPhaseId?: string | null;
|
|
3436
2673
|
nextPaymentDueDate?: Date | string | null;
|
|
3437
2674
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -3473,22 +2710,7 @@ export type ContractUpdateWithoutDocumentsInput = {
|
|
|
3473
2710
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3474
2711
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3475
2712
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3476
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3477
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3478
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3479
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3480
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3481
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3482
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3483
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3484
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3485
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3486
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3487
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3488
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3489
2713
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3490
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3491
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3492
2714
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3493
2715
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3494
2716
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3502,6 +2724,7 @@ export type ContractUpdateWithoutDocumentsInput = {
|
|
|
3502
2724
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
3503
2725
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
3504
2726
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
2727
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
3505
2728
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
3506
2729
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
3507
2730
|
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
@@ -3526,21 +2749,7 @@ export type ContractUncheckedUpdateWithoutDocumentsInput = {
|
|
|
3526
2749
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3527
2750
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3528
2751
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3529
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3530
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3531
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3532
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3533
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3534
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3535
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3536
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3537
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3538
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3539
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3540
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3541
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3542
2752
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3543
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3544
2753
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3545
2754
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3546
2755
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3569,22 +2778,7 @@ export type ContractCreateWithoutOfferLettersInput = {
|
|
|
3569
2778
|
description?: string | null;
|
|
3570
2779
|
contractType: string;
|
|
3571
2780
|
totalAmount: number;
|
|
3572
|
-
downPayment?: number;
|
|
3573
|
-
downPaymentPaid?: number;
|
|
3574
|
-
principal?: number | null;
|
|
3575
|
-
interestRate?: number | null;
|
|
3576
|
-
termMonths?: number | null;
|
|
3577
|
-
periodicPayment?: number | null;
|
|
3578
|
-
totalPaidToDate?: number;
|
|
3579
|
-
totalInterestPaid?: number;
|
|
3580
|
-
monthlyIncome?: number | null;
|
|
3581
|
-
monthlyExpenses?: number | null;
|
|
3582
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3583
|
-
underwritingScore?: number | null;
|
|
3584
|
-
debtToIncomeRatio?: number | null;
|
|
3585
2781
|
status?: $Enums.ContractStatus;
|
|
3586
|
-
state?: $Enums.ContractStatus;
|
|
3587
|
-
currentPhaseId?: string | null;
|
|
3588
2782
|
nextPaymentDueDate?: Date | string | null;
|
|
3589
2783
|
lastReminderSentAt?: Date | string | null;
|
|
3590
2784
|
startDate?: Date | string | null;
|
|
@@ -3598,6 +2792,7 @@ export type ContractCreateWithoutOfferLettersInput = {
|
|
|
3598
2792
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
3599
2793
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
3600
2794
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
2795
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
3601
2796
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
3602
2797
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
3603
2798
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -3622,21 +2817,7 @@ export type ContractUncheckedCreateWithoutOfferLettersInput = {
|
|
|
3622
2817
|
description?: string | null;
|
|
3623
2818
|
contractType: string;
|
|
3624
2819
|
totalAmount: number;
|
|
3625
|
-
downPayment?: number;
|
|
3626
|
-
downPaymentPaid?: number;
|
|
3627
|
-
principal?: number | null;
|
|
3628
|
-
interestRate?: number | null;
|
|
3629
|
-
termMonths?: number | null;
|
|
3630
|
-
periodicPayment?: number | null;
|
|
3631
|
-
totalPaidToDate?: number;
|
|
3632
|
-
totalInterestPaid?: number;
|
|
3633
|
-
monthlyIncome?: number | null;
|
|
3634
|
-
monthlyExpenses?: number | null;
|
|
3635
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3636
|
-
underwritingScore?: number | null;
|
|
3637
|
-
debtToIncomeRatio?: number | null;
|
|
3638
2820
|
status?: $Enums.ContractStatus;
|
|
3639
|
-
state?: $Enums.ContractStatus;
|
|
3640
2821
|
currentPhaseId?: string | null;
|
|
3641
2822
|
nextPaymentDueDate?: Date | string | null;
|
|
3642
2823
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -3678,22 +2859,7 @@ export type ContractUpdateWithoutOfferLettersInput = {
|
|
|
3678
2859
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3679
2860
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3680
2861
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3681
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3682
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3683
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3684
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3685
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3686
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3687
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3688
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3689
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3690
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3691
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3692
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3693
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3694
2862
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3695
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3696
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3697
2863
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3698
2864
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3699
2865
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3707,6 +2873,7 @@ export type ContractUpdateWithoutOfferLettersInput = {
|
|
|
3707
2873
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
3708
2874
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
3709
2875
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
2876
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
3710
2877
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
3711
2878
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
3712
2879
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -3731,21 +2898,7 @@ export type ContractUncheckedUpdateWithoutOfferLettersInput = {
|
|
|
3731
2898
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3732
2899
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3733
2900
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3734
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3735
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3736
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3737
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3738
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3739
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3740
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3741
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3742
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3743
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3744
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3745
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3746
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3747
2901
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3748
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3749
2902
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3750
2903
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3751
2904
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3774,22 +2927,7 @@ export type ContractCreateWithoutTerminationsInput = {
|
|
|
3774
2927
|
description?: string | null;
|
|
3775
2928
|
contractType: string;
|
|
3776
2929
|
totalAmount: number;
|
|
3777
|
-
downPayment?: number;
|
|
3778
|
-
downPaymentPaid?: number;
|
|
3779
|
-
principal?: number | null;
|
|
3780
|
-
interestRate?: number | null;
|
|
3781
|
-
termMonths?: number | null;
|
|
3782
|
-
periodicPayment?: number | null;
|
|
3783
|
-
totalPaidToDate?: number;
|
|
3784
|
-
totalInterestPaid?: number;
|
|
3785
|
-
monthlyIncome?: number | null;
|
|
3786
|
-
monthlyExpenses?: number | null;
|
|
3787
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3788
|
-
underwritingScore?: number | null;
|
|
3789
|
-
debtToIncomeRatio?: number | null;
|
|
3790
2930
|
status?: $Enums.ContractStatus;
|
|
3791
|
-
state?: $Enums.ContractStatus;
|
|
3792
|
-
currentPhaseId?: string | null;
|
|
3793
2931
|
nextPaymentDueDate?: Date | string | null;
|
|
3794
2932
|
lastReminderSentAt?: Date | string | null;
|
|
3795
2933
|
startDate?: Date | string | null;
|
|
@@ -3803,6 +2941,7 @@ export type ContractCreateWithoutTerminationsInput = {
|
|
|
3803
2941
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
3804
2942
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
3805
2943
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
2944
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
3806
2945
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
3807
2946
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
3808
2947
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -3827,21 +2966,7 @@ export type ContractUncheckedCreateWithoutTerminationsInput = {
|
|
|
3827
2966
|
description?: string | null;
|
|
3828
2967
|
contractType: string;
|
|
3829
2968
|
totalAmount: number;
|
|
3830
|
-
downPayment?: number;
|
|
3831
|
-
downPaymentPaid?: number;
|
|
3832
|
-
principal?: number | null;
|
|
3833
|
-
interestRate?: number | null;
|
|
3834
|
-
termMonths?: number | null;
|
|
3835
|
-
periodicPayment?: number | null;
|
|
3836
|
-
totalPaidToDate?: number;
|
|
3837
|
-
totalInterestPaid?: number;
|
|
3838
|
-
monthlyIncome?: number | null;
|
|
3839
|
-
monthlyExpenses?: number | null;
|
|
3840
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3841
|
-
underwritingScore?: number | null;
|
|
3842
|
-
debtToIncomeRatio?: number | null;
|
|
3843
2969
|
status?: $Enums.ContractStatus;
|
|
3844
|
-
state?: $Enums.ContractStatus;
|
|
3845
2970
|
currentPhaseId?: string | null;
|
|
3846
2971
|
nextPaymentDueDate?: Date | string | null;
|
|
3847
2972
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -3883,22 +3008,7 @@ export type ContractUpdateWithoutTerminationsInput = {
|
|
|
3883
3008
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3884
3009
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3885
3010
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3886
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3887
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3888
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3889
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3890
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3891
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3892
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3893
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3894
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3895
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3896
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3897
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3898
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3899
3011
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3900
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3901
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3902
3012
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3903
3013
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3904
3014
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3912,6 +3022,7 @@ export type ContractUpdateWithoutTerminationsInput = {
|
|
|
3912
3022
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
3913
3023
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
3914
3024
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
3025
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
3915
3026
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
3916
3027
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
3917
3028
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -3936,21 +3047,7 @@ export type ContractUncheckedUpdateWithoutTerminationsInput = {
|
|
|
3936
3047
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3937
3048
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
3938
3049
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3939
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3940
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
3941
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3942
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3943
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
3944
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
3945
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
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;
|
|
3952
3050
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3953
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
3954
3051
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
3955
3052
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
3956
3053
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -3979,22 +3076,7 @@ export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
3979
3076
|
description?: string | null;
|
|
3980
3077
|
contractType: string;
|
|
3981
3078
|
totalAmount: number;
|
|
3982
|
-
downPayment?: number;
|
|
3983
|
-
downPaymentPaid?: number;
|
|
3984
|
-
principal?: number | null;
|
|
3985
|
-
interestRate?: number | null;
|
|
3986
|
-
termMonths?: number | null;
|
|
3987
|
-
periodicPayment?: number | null;
|
|
3988
|
-
totalPaidToDate?: number;
|
|
3989
|
-
totalInterestPaid?: number;
|
|
3990
|
-
monthlyIncome?: number | null;
|
|
3991
|
-
monthlyExpenses?: number | null;
|
|
3992
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
3993
|
-
underwritingScore?: number | null;
|
|
3994
|
-
debtToIncomeRatio?: number | null;
|
|
3995
3079
|
status?: $Enums.ContractStatus;
|
|
3996
|
-
state?: $Enums.ContractStatus;
|
|
3997
|
-
currentPhaseId?: string | null;
|
|
3998
3080
|
nextPaymentDueDate?: Date | string | null;
|
|
3999
3081
|
lastReminderSentAt?: Date | string | null;
|
|
4000
3082
|
startDate?: Date | string | null;
|
|
@@ -4008,6 +3090,7 @@ export type ContractCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
4008
3090
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
4009
3091
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
4010
3092
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
3093
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
4011
3094
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
4012
3095
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
4013
3096
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -4032,21 +3115,7 @@ export type ContractUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
4032
3115
|
description?: string | null;
|
|
4033
3116
|
contractType: string;
|
|
4034
3117
|
totalAmount: number;
|
|
4035
|
-
downPayment?: number;
|
|
4036
|
-
downPaymentPaid?: number;
|
|
4037
|
-
principal?: number | null;
|
|
4038
|
-
interestRate?: number | null;
|
|
4039
|
-
termMonths?: number | null;
|
|
4040
|
-
periodicPayment?: number | null;
|
|
4041
|
-
totalPaidToDate?: number;
|
|
4042
|
-
totalInterestPaid?: number;
|
|
4043
|
-
monthlyIncome?: number | null;
|
|
4044
|
-
monthlyExpenses?: number | null;
|
|
4045
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4046
|
-
underwritingScore?: number | null;
|
|
4047
|
-
debtToIncomeRatio?: number | null;
|
|
4048
3118
|
status?: $Enums.ContractStatus;
|
|
4049
|
-
state?: $Enums.ContractStatus;
|
|
4050
3119
|
currentPhaseId?: string | null;
|
|
4051
3120
|
nextPaymentDueDate?: Date | string | null;
|
|
4052
3121
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -4088,22 +3157,7 @@ export type ContractUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
4088
3157
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4089
3158
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4090
3159
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4091
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4092
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4093
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4094
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4095
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4096
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4097
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4098
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4099
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4100
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4101
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4102
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4103
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4104
3160
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4105
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4106
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4107
3161
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4108
3162
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4109
3163
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4117,6 +3171,7 @@ export type ContractUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
4117
3171
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
4118
3172
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
4119
3173
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
3174
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
4120
3175
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
4121
3176
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
4122
3177
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -4141,21 +3196,7 @@ export type ContractUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
|
|
|
4141
3196
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4142
3197
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4143
3198
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4144
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4145
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4146
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4147
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4148
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4149
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4150
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4151
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4152
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4153
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4154
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4155
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4156
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4157
3199
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4158
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4159
3200
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4160
3201
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4161
3202
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4184,22 +3225,7 @@ export type ContractCreateWithoutOutgoingTransferRequestsInput = {
|
|
|
4184
3225
|
description?: string | null;
|
|
4185
3226
|
contractType: string;
|
|
4186
3227
|
totalAmount: number;
|
|
4187
|
-
downPayment?: number;
|
|
4188
|
-
downPaymentPaid?: number;
|
|
4189
|
-
principal?: number | null;
|
|
4190
|
-
interestRate?: number | null;
|
|
4191
|
-
termMonths?: number | null;
|
|
4192
|
-
periodicPayment?: number | null;
|
|
4193
|
-
totalPaidToDate?: number;
|
|
4194
|
-
totalInterestPaid?: number;
|
|
4195
|
-
monthlyIncome?: number | null;
|
|
4196
|
-
monthlyExpenses?: number | null;
|
|
4197
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4198
|
-
underwritingScore?: number | null;
|
|
4199
|
-
debtToIncomeRatio?: number | null;
|
|
4200
3228
|
status?: $Enums.ContractStatus;
|
|
4201
|
-
state?: $Enums.ContractStatus;
|
|
4202
|
-
currentPhaseId?: string | null;
|
|
4203
3229
|
nextPaymentDueDate?: Date | string | null;
|
|
4204
3230
|
lastReminderSentAt?: Date | string | null;
|
|
4205
3231
|
startDate?: Date | string | null;
|
|
@@ -4213,6 +3239,7 @@ export type ContractCreateWithoutOutgoingTransferRequestsInput = {
|
|
|
4213
3239
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
4214
3240
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
4215
3241
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
3242
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
4216
3243
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
4217
3244
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
4218
3245
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -4237,21 +3264,7 @@ export type ContractUncheckedCreateWithoutOutgoingTransferRequestsInput = {
|
|
|
4237
3264
|
description?: string | null;
|
|
4238
3265
|
contractType: string;
|
|
4239
3266
|
totalAmount: number;
|
|
4240
|
-
downPayment?: number;
|
|
4241
|
-
downPaymentPaid?: number;
|
|
4242
|
-
principal?: number | null;
|
|
4243
|
-
interestRate?: number | null;
|
|
4244
|
-
termMonths?: number | null;
|
|
4245
|
-
periodicPayment?: number | null;
|
|
4246
|
-
totalPaidToDate?: number;
|
|
4247
|
-
totalInterestPaid?: number;
|
|
4248
|
-
monthlyIncome?: number | null;
|
|
4249
|
-
monthlyExpenses?: number | null;
|
|
4250
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4251
|
-
underwritingScore?: number | null;
|
|
4252
|
-
debtToIncomeRatio?: number | null;
|
|
4253
3267
|
status?: $Enums.ContractStatus;
|
|
4254
|
-
state?: $Enums.ContractStatus;
|
|
4255
3268
|
currentPhaseId?: string | null;
|
|
4256
3269
|
nextPaymentDueDate?: Date | string | null;
|
|
4257
3270
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -4284,22 +3297,7 @@ export type ContractCreateWithoutIncomingTransferRequestsInput = {
|
|
|
4284
3297
|
description?: string | null;
|
|
4285
3298
|
contractType: string;
|
|
4286
3299
|
totalAmount: number;
|
|
4287
|
-
downPayment?: number;
|
|
4288
|
-
downPaymentPaid?: number;
|
|
4289
|
-
principal?: number | null;
|
|
4290
|
-
interestRate?: number | null;
|
|
4291
|
-
termMonths?: number | null;
|
|
4292
|
-
periodicPayment?: number | null;
|
|
4293
|
-
totalPaidToDate?: number;
|
|
4294
|
-
totalInterestPaid?: number;
|
|
4295
|
-
monthlyIncome?: number | null;
|
|
4296
|
-
monthlyExpenses?: number | null;
|
|
4297
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4298
|
-
underwritingScore?: number | null;
|
|
4299
|
-
debtToIncomeRatio?: number | null;
|
|
4300
3300
|
status?: $Enums.ContractStatus;
|
|
4301
|
-
state?: $Enums.ContractStatus;
|
|
4302
|
-
currentPhaseId?: string | null;
|
|
4303
3301
|
nextPaymentDueDate?: Date | string | null;
|
|
4304
3302
|
lastReminderSentAt?: Date | string | null;
|
|
4305
3303
|
startDate?: Date | string | null;
|
|
@@ -4313,6 +3311,7 @@ export type ContractCreateWithoutIncomingTransferRequestsInput = {
|
|
|
4313
3311
|
buyer: Prisma.UserCreateNestedOneWithoutContractsInput;
|
|
4314
3312
|
seller?: Prisma.UserCreateNestedOneWithoutSoldContractsInput;
|
|
4315
3313
|
paymentMethod?: Prisma.PropertyPaymentMethodCreateNestedOneWithoutContractsInput;
|
|
3314
|
+
currentPhase?: Prisma.ContractPhaseCreateNestedOneWithoutCurrentForContractsInput;
|
|
4316
3315
|
phases?: Prisma.ContractPhaseCreateNestedManyWithoutContractInput;
|
|
4317
3316
|
documents?: Prisma.ContractDocumentCreateNestedManyWithoutContractInput;
|
|
4318
3317
|
payments?: Prisma.ContractPaymentCreateNestedManyWithoutContractInput;
|
|
@@ -4337,21 +3336,7 @@ export type ContractUncheckedCreateWithoutIncomingTransferRequestsInput = {
|
|
|
4337
3336
|
description?: string | null;
|
|
4338
3337
|
contractType: string;
|
|
4339
3338
|
totalAmount: number;
|
|
4340
|
-
downPayment?: number;
|
|
4341
|
-
downPaymentPaid?: number;
|
|
4342
|
-
principal?: number | null;
|
|
4343
|
-
interestRate?: number | null;
|
|
4344
|
-
termMonths?: number | null;
|
|
4345
|
-
periodicPayment?: number | null;
|
|
4346
|
-
totalPaidToDate?: number;
|
|
4347
|
-
totalInterestPaid?: number;
|
|
4348
|
-
monthlyIncome?: number | null;
|
|
4349
|
-
monthlyExpenses?: number | null;
|
|
4350
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4351
|
-
underwritingScore?: number | null;
|
|
4352
|
-
debtToIncomeRatio?: number | null;
|
|
4353
3339
|
status?: $Enums.ContractStatus;
|
|
4354
|
-
state?: $Enums.ContractStatus;
|
|
4355
3340
|
currentPhaseId?: string | null;
|
|
4356
3341
|
nextPaymentDueDate?: Date | string | null;
|
|
4357
3342
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -4393,22 +3378,7 @@ export type ContractUpdateWithoutOutgoingTransferRequestsInput = {
|
|
|
4393
3378
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4394
3379
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4395
3380
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4396
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4397
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4398
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4399
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4400
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4401
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4402
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4403
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4404
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4405
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4406
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4407
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4408
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4409
3381
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4410
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4411
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4412
3382
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4413
3383
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4414
3384
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4422,6 +3392,7 @@ export type ContractUpdateWithoutOutgoingTransferRequestsInput = {
|
|
|
4422
3392
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
4423
3393
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
4424
3394
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
3395
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
4425
3396
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
4426
3397
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
4427
3398
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -4446,21 +3417,7 @@ export type ContractUncheckedUpdateWithoutOutgoingTransferRequestsInput = {
|
|
|
4446
3417
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4447
3418
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4448
3419
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4449
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4450
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4451
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4452
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4453
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4454
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4455
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4456
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4457
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4458
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4459
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4460
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4461
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4462
3420
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4463
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4464
3421
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4465
3422
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4466
3423
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4498,22 +3455,7 @@ export type ContractUpdateWithoutIncomingTransferRequestsInput = {
|
|
|
4498
3455
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4499
3456
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4500
3457
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4501
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4502
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4503
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4504
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4505
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4506
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4507
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4508
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4509
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4510
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4511
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4512
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4513
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4514
3458
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4515
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4516
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4517
3459
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4518
3460
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4519
3461
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4527,6 +3469,7 @@ export type ContractUpdateWithoutIncomingTransferRequestsInput = {
|
|
|
4527
3469
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
4528
3470
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
4529
3471
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
3472
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
4530
3473
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
4531
3474
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
4532
3475
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -4551,21 +3494,7 @@ export type ContractUncheckedUpdateWithoutIncomingTransferRequestsInput = {
|
|
|
4551
3494
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4552
3495
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4553
3496
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4554
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4555
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4556
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4557
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4558
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4559
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4560
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4561
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4562
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4563
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4564
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4565
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4566
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4567
3497
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4568
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4569
3498
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4570
3499
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4571
3500
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4598,21 +3527,7 @@ export type ContractCreateManyBuyerInput = {
|
|
|
4598
3527
|
description?: string | null;
|
|
4599
3528
|
contractType: string;
|
|
4600
3529
|
totalAmount: number;
|
|
4601
|
-
downPayment?: number;
|
|
4602
|
-
downPaymentPaid?: number;
|
|
4603
|
-
principal?: number | null;
|
|
4604
|
-
interestRate?: number | null;
|
|
4605
|
-
termMonths?: number | null;
|
|
4606
|
-
periodicPayment?: number | null;
|
|
4607
|
-
totalPaidToDate?: number;
|
|
4608
|
-
totalInterestPaid?: number;
|
|
4609
|
-
monthlyIncome?: number | null;
|
|
4610
|
-
monthlyExpenses?: number | null;
|
|
4611
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4612
|
-
underwritingScore?: number | null;
|
|
4613
|
-
debtToIncomeRatio?: number | null;
|
|
4614
3530
|
status?: $Enums.ContractStatus;
|
|
4615
|
-
state?: $Enums.ContractStatus;
|
|
4616
3531
|
currentPhaseId?: string | null;
|
|
4617
3532
|
nextPaymentDueDate?: Date | string | null;
|
|
4618
3533
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -4635,21 +3550,7 @@ export type ContractCreateManySellerInput = {
|
|
|
4635
3550
|
description?: string | null;
|
|
4636
3551
|
contractType: string;
|
|
4637
3552
|
totalAmount: number;
|
|
4638
|
-
downPayment?: number;
|
|
4639
|
-
downPaymentPaid?: number;
|
|
4640
|
-
principal?: number | null;
|
|
4641
|
-
interestRate?: number | null;
|
|
4642
|
-
termMonths?: number | null;
|
|
4643
|
-
periodicPayment?: number | null;
|
|
4644
|
-
totalPaidToDate?: number;
|
|
4645
|
-
totalInterestPaid?: number;
|
|
4646
|
-
monthlyIncome?: number | null;
|
|
4647
|
-
monthlyExpenses?: number | null;
|
|
4648
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4649
|
-
underwritingScore?: number | null;
|
|
4650
|
-
debtToIncomeRatio?: number | null;
|
|
4651
3553
|
status?: $Enums.ContractStatus;
|
|
4652
|
-
state?: $Enums.ContractStatus;
|
|
4653
3554
|
currentPhaseId?: string | null;
|
|
4654
3555
|
nextPaymentDueDate?: Date | string | null;
|
|
4655
3556
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -4668,22 +3569,7 @@ export type ContractUpdateWithoutBuyerInput = {
|
|
|
4668
3569
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4669
3570
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4670
3571
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4671
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4672
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4673
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4674
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4675
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4676
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4677
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4678
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4679
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4680
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4681
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4682
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4683
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4684
3572
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4685
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4686
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4687
3573
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4688
3574
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4689
3575
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4696,6 +3582,7 @@ export type ContractUpdateWithoutBuyerInput = {
|
|
|
4696
3582
|
propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutContractsNestedInput;
|
|
4697
3583
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
4698
3584
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
3585
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
4699
3586
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
4700
3587
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
4701
3588
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -4720,21 +3607,7 @@ export type ContractUncheckedUpdateWithoutBuyerInput = {
|
|
|
4720
3607
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4721
3608
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4722
3609
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4723
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4724
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4725
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4726
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4727
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4728
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4729
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4730
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4731
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4732
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4733
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4734
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4735
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4736
3610
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4737
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4738
3611
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4739
3612
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4740
3613
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4768,21 +3641,7 @@ export type ContractUncheckedUpdateManyWithoutBuyerInput = {
|
|
|
4768
3641
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4769
3642
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4770
3643
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4771
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4772
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4773
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4774
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4775
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4776
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4777
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4778
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4779
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4780
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4781
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4782
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4783
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4784
3644
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4785
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4786
3645
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4787
3646
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4788
3647
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4801,22 +3660,7 @@ export type ContractUpdateWithoutSellerInput = {
|
|
|
4801
3660
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4802
3661
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4803
3662
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4804
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4805
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4806
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4807
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4808
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4809
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4810
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4811
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4812
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4813
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4814
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4815
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4816
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4817
3663
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4818
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4819
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4820
3664
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4821
3665
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4822
3666
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4829,6 +3673,7 @@ export type ContractUpdateWithoutSellerInput = {
|
|
|
4829
3673
|
propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutContractsNestedInput;
|
|
4830
3674
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
4831
3675
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
3676
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
4832
3677
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
4833
3678
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
4834
3679
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -4853,21 +3698,7 @@ export type ContractUncheckedUpdateWithoutSellerInput = {
|
|
|
4853
3698
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4854
3699
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4855
3700
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4856
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4857
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4858
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4859
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4860
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4861
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4862
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4863
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4864
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4865
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4866
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4867
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4868
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4869
3701
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4870
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4871
3702
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4872
3703
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4873
3704
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4901,21 +3732,7 @@ export type ContractUncheckedUpdateManyWithoutSellerInput = {
|
|
|
4901
3732
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4902
3733
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4903
3734
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4904
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4905
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4906
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4907
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4908
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4909
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4910
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4911
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4912
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4913
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4914
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4915
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4916
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4917
3735
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4918
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4919
3736
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4920
3737
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4921
3738
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4938,21 +3755,7 @@ export type ContractCreateManyTenantInput = {
|
|
|
4938
3755
|
description?: string | null;
|
|
4939
3756
|
contractType: string;
|
|
4940
3757
|
totalAmount: number;
|
|
4941
|
-
downPayment?: number;
|
|
4942
|
-
downPaymentPaid?: number;
|
|
4943
|
-
principal?: number | null;
|
|
4944
|
-
interestRate?: number | null;
|
|
4945
|
-
termMonths?: number | null;
|
|
4946
|
-
periodicPayment?: number | null;
|
|
4947
|
-
totalPaidToDate?: number;
|
|
4948
|
-
totalInterestPaid?: number;
|
|
4949
|
-
monthlyIncome?: number | null;
|
|
4950
|
-
monthlyExpenses?: number | null;
|
|
4951
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4952
|
-
underwritingScore?: number | null;
|
|
4953
|
-
debtToIncomeRatio?: number | null;
|
|
4954
3758
|
status?: $Enums.ContractStatus;
|
|
4955
|
-
state?: $Enums.ContractStatus;
|
|
4956
3759
|
currentPhaseId?: string | null;
|
|
4957
3760
|
nextPaymentDueDate?: Date | string | null;
|
|
4958
3761
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -4971,22 +3774,7 @@ export type ContractUpdateWithoutTenantInput = {
|
|
|
4971
3774
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4972
3775
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4973
3776
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4974
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4975
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4976
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4977
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4978
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
4979
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4980
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4981
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4982
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4983
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4984
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
4985
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4986
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
4987
3777
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4988
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4989
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4990
3778
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4991
3779
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4992
3780
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -4999,6 +3787,7 @@ export type ContractUpdateWithoutTenantInput = {
|
|
|
4999
3787
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
5000
3788
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
5001
3789
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
3790
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
5002
3791
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
5003
3792
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
5004
3793
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -5023,21 +3812,7 @@ export type ContractUncheckedUpdateWithoutTenantInput = {
|
|
|
5023
3812
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5024
3813
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
5025
3814
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5026
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5027
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5028
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5029
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5030
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
5031
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5032
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5033
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5034
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5035
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5036
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5037
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5038
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5039
3815
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5040
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5041
3816
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5042
3817
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5043
3818
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -5071,21 +3846,7 @@ export type ContractUncheckedUpdateManyWithoutTenantInput = {
|
|
|
5071
3846
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5072
3847
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
5073
3848
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5074
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5075
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5076
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5077
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5078
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
5079
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5080
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5081
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5082
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5083
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5084
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5085
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5086
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5087
3849
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5088
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5089
3850
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5090
3851
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5091
3852
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -5108,21 +3869,7 @@ export type ContractCreateManyPropertyUnitInput = {
|
|
|
5108
3869
|
description?: string | null;
|
|
5109
3870
|
contractType: string;
|
|
5110
3871
|
totalAmount: number;
|
|
5111
|
-
downPayment?: number;
|
|
5112
|
-
downPaymentPaid?: number;
|
|
5113
|
-
principal?: number | null;
|
|
5114
|
-
interestRate?: number | null;
|
|
5115
|
-
termMonths?: number | null;
|
|
5116
|
-
periodicPayment?: number | null;
|
|
5117
|
-
totalPaidToDate?: number;
|
|
5118
|
-
totalInterestPaid?: number;
|
|
5119
|
-
monthlyIncome?: number | null;
|
|
5120
|
-
monthlyExpenses?: number | null;
|
|
5121
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5122
|
-
underwritingScore?: number | null;
|
|
5123
|
-
debtToIncomeRatio?: number | null;
|
|
5124
3872
|
status?: $Enums.ContractStatus;
|
|
5125
|
-
state?: $Enums.ContractStatus;
|
|
5126
3873
|
currentPhaseId?: string | null;
|
|
5127
3874
|
nextPaymentDueDate?: Date | string | null;
|
|
5128
3875
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -5141,22 +3888,7 @@ export type ContractUpdateWithoutPropertyUnitInput = {
|
|
|
5141
3888
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5142
3889
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
5143
3890
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5144
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5145
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5146
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5147
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5148
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
5149
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5150
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5151
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5152
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5153
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5154
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5155
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5156
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5157
3891
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5158
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5159
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5160
3892
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5161
3893
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5162
3894
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -5169,6 +3901,7 @@ export type ContractUpdateWithoutPropertyUnitInput = {
|
|
|
5169
3901
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
5170
3902
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
5171
3903
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
3904
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
5172
3905
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
5173
3906
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
5174
3907
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -5193,21 +3926,7 @@ export type ContractUncheckedUpdateWithoutPropertyUnitInput = {
|
|
|
5193
3926
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5194
3927
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
5195
3928
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5196
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5197
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5198
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5199
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5200
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
5201
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5202
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5203
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5204
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5205
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5206
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5207
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5208
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5209
3929
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5210
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5211
3930
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5212
3931
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5213
3932
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -5241,21 +3960,7 @@ export type ContractUncheckedUpdateManyWithoutPropertyUnitInput = {
|
|
|
5241
3960
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5242
3961
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
5243
3962
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5244
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5245
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5246
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5247
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5248
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
5249
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5250
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5251
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5252
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5253
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5254
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5255
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5256
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5257
3963
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5258
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5259
3964
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5260
3965
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5261
3966
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -5278,21 +3983,7 @@ export type ContractCreateManyPaymentMethodInput = {
|
|
|
5278
3983
|
description?: string | null;
|
|
5279
3984
|
contractType: string;
|
|
5280
3985
|
totalAmount: number;
|
|
5281
|
-
downPayment?: number;
|
|
5282
|
-
downPaymentPaid?: number;
|
|
5283
|
-
principal?: number | null;
|
|
5284
|
-
interestRate?: number | null;
|
|
5285
|
-
termMonths?: number | null;
|
|
5286
|
-
periodicPayment?: number | null;
|
|
5287
|
-
totalPaidToDate?: number;
|
|
5288
|
-
totalInterestPaid?: number;
|
|
5289
|
-
monthlyIncome?: number | null;
|
|
5290
|
-
monthlyExpenses?: number | null;
|
|
5291
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5292
|
-
underwritingScore?: number | null;
|
|
5293
|
-
debtToIncomeRatio?: number | null;
|
|
5294
3986
|
status?: $Enums.ContractStatus;
|
|
5295
|
-
state?: $Enums.ContractStatus;
|
|
5296
3987
|
currentPhaseId?: string | null;
|
|
5297
3988
|
nextPaymentDueDate?: Date | string | null;
|
|
5298
3989
|
lastReminderSentAt?: Date | string | null;
|
|
@@ -5311,22 +4002,7 @@ export type ContractUpdateWithoutPaymentMethodInput = {
|
|
|
5311
4002
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5312
4003
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
5313
4004
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5314
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5315
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5316
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5317
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5318
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
5319
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5320
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5321
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5322
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5323
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5324
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5325
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5326
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5327
4005
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5328
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5329
|
-
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5330
4006
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5331
4007
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5332
4008
|
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -5339,6 +4015,7 @@ export type ContractUpdateWithoutPaymentMethodInput = {
|
|
|
5339
4015
|
propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutContractsNestedInput;
|
|
5340
4016
|
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
5341
4017
|
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
4018
|
+
currentPhase?: Prisma.ContractPhaseUpdateOneWithoutCurrentForContractsNestedInput;
|
|
5342
4019
|
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
5343
4020
|
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
5344
4021
|
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
@@ -5363,21 +4040,7 @@ export type ContractUncheckedUpdateWithoutPaymentMethodInput = {
|
|
|
5363
4040
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5364
4041
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
5365
4042
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5366
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5367
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5368
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5369
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5370
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
5371
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5372
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5373
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5374
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5375
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5376
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5377
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5378
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5379
4043
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5380
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5381
4044
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5382
4045
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5383
4046
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -5411,21 +4074,7 @@ export type ContractUncheckedUpdateManyWithoutPaymentMethodInput = {
|
|
|
5411
4074
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5412
4075
|
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
5413
4076
|
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5414
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5415
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5416
|
-
principal?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5417
|
-
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5418
|
-
termMonths?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
5419
|
-
periodicPayment?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5420
|
-
totalPaidToDate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5421
|
-
totalInterestPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
5422
|
-
monthlyIncome?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5423
|
-
monthlyExpenses?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5424
|
-
preApprovalAnswers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
5425
|
-
underwritingScore?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5426
|
-
debtToIncomeRatio?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
5427
4077
|
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5428
|
-
state?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
5429
4078
|
currentPhaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5430
4079
|
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
5431
4080
|
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
@@ -5437,6 +4086,120 @@ export type ContractUncheckedUpdateManyWithoutPaymentMethodInput = {
|
|
|
5437
4086
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
5438
4087
|
transferredFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
5439
4088
|
};
|
|
4089
|
+
export type ContractCreateManyCurrentPhaseInput = {
|
|
4090
|
+
id?: string;
|
|
4091
|
+
tenantId: string;
|
|
4092
|
+
propertyUnitId: string;
|
|
4093
|
+
buyerId: string;
|
|
4094
|
+
sellerId?: string | null;
|
|
4095
|
+
paymentMethodId?: string | null;
|
|
4096
|
+
contractNumber: string;
|
|
4097
|
+
title: string;
|
|
4098
|
+
description?: string | null;
|
|
4099
|
+
contractType: string;
|
|
4100
|
+
totalAmount: number;
|
|
4101
|
+
status?: $Enums.ContractStatus;
|
|
4102
|
+
nextPaymentDueDate?: Date | string | null;
|
|
4103
|
+
lastReminderSentAt?: Date | string | null;
|
|
4104
|
+
startDate?: Date | string | null;
|
|
4105
|
+
endDate?: Date | string | null;
|
|
4106
|
+
signedAt?: Date | string | null;
|
|
4107
|
+
terminatedAt?: Date | string | null;
|
|
4108
|
+
createdAt?: Date | string;
|
|
4109
|
+
updatedAt?: Date | string;
|
|
4110
|
+
transferredFromId?: string | null;
|
|
4111
|
+
};
|
|
4112
|
+
export type ContractUpdateWithoutCurrentPhaseInput = {
|
|
4113
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4114
|
+
contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4115
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4116
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4117
|
+
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4118
|
+
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4119
|
+
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4120
|
+
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4121
|
+
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4122
|
+
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4123
|
+
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4124
|
+
signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4125
|
+
terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4126
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
4127
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
4128
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutContractsNestedInput;
|
|
4129
|
+
propertyUnit?: Prisma.PropertyUnitUpdateOneRequiredWithoutContractsNestedInput;
|
|
4130
|
+
buyer?: Prisma.UserUpdateOneRequiredWithoutContractsNestedInput;
|
|
4131
|
+
seller?: Prisma.UserUpdateOneWithoutSoldContractsNestedInput;
|
|
4132
|
+
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneWithoutContractsNestedInput;
|
|
4133
|
+
phases?: Prisma.ContractPhaseUpdateManyWithoutContractNestedInput;
|
|
4134
|
+
documents?: Prisma.ContractDocumentUpdateManyWithoutContractNestedInput;
|
|
4135
|
+
payments?: Prisma.ContractPaymentUpdateManyWithoutContractNestedInput;
|
|
4136
|
+
terminations?: Prisma.ContractTerminationUpdateManyWithoutContractNestedInput;
|
|
4137
|
+
offerLetters?: Prisma.OfferLetterUpdateManyWithoutContractNestedInput;
|
|
4138
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutContractNestedInput;
|
|
4139
|
+
transferredFrom?: Prisma.ContractUpdateOneWithoutTransferredToNestedInput;
|
|
4140
|
+
transferredTo?: Prisma.ContractUpdateOneWithoutTransferredFromNestedInput;
|
|
4141
|
+
outgoingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutSourceContractNestedInput;
|
|
4142
|
+
incomingTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTargetContractNestedInput;
|
|
4143
|
+
events?: Prisma.ContractEventUpdateManyWithoutContractNestedInput;
|
|
4144
|
+
refunds?: Prisma.ContractRefundUpdateManyWithoutContractNestedInput;
|
|
4145
|
+
};
|
|
4146
|
+
export type ContractUncheckedUpdateWithoutCurrentPhaseInput = {
|
|
4147
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4148
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4149
|
+
propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4150
|
+
buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4151
|
+
sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4152
|
+
paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4153
|
+
contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4154
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4155
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4156
|
+
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4157
|
+
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4158
|
+
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4159
|
+
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4160
|
+
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4161
|
+
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4162
|
+
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4163
|
+
signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4164
|
+
terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4165
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
4166
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
4167
|
+
transferredFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4168
|
+
phases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutContractNestedInput;
|
|
4169
|
+
documents?: Prisma.ContractDocumentUncheckedUpdateManyWithoutContractNestedInput;
|
|
4170
|
+
payments?: Prisma.ContractPaymentUncheckedUpdateManyWithoutContractNestedInput;
|
|
4171
|
+
terminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutContractNestedInput;
|
|
4172
|
+
offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutContractNestedInput;
|
|
4173
|
+
paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutContractNestedInput;
|
|
4174
|
+
transferredTo?: Prisma.ContractUncheckedUpdateOneWithoutTransferredFromNestedInput;
|
|
4175
|
+
outgoingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutSourceContractNestedInput;
|
|
4176
|
+
incomingTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTargetContractNestedInput;
|
|
4177
|
+
events?: Prisma.ContractEventUncheckedUpdateManyWithoutContractNestedInput;
|
|
4178
|
+
refunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutContractNestedInput;
|
|
4179
|
+
};
|
|
4180
|
+
export type ContractUncheckedUpdateManyWithoutCurrentPhaseInput = {
|
|
4181
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4182
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4183
|
+
propertyUnitId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4184
|
+
buyerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4185
|
+
sellerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4186
|
+
paymentMethodId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4187
|
+
contractNumber?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4188
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4189
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4190
|
+
contractType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
4191
|
+
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
4192
|
+
status?: Prisma.EnumContractStatusFieldUpdateOperationsInput | $Enums.ContractStatus;
|
|
4193
|
+
nextPaymentDueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4194
|
+
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4195
|
+
startDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4196
|
+
endDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4197
|
+
signedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4198
|
+
terminatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
4199
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
4200
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
4201
|
+
transferredFromId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
4202
|
+
};
|
|
5440
4203
|
/**
|
|
5441
4204
|
* Count Type ContractCountOutputType
|
|
5442
4205
|
*/
|
|
@@ -5545,21 +4308,7 @@ export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
5545
4308
|
description?: boolean;
|
|
5546
4309
|
contractType?: boolean;
|
|
5547
4310
|
totalAmount?: boolean;
|
|
5548
|
-
downPayment?: boolean;
|
|
5549
|
-
downPaymentPaid?: boolean;
|
|
5550
|
-
principal?: boolean;
|
|
5551
|
-
interestRate?: boolean;
|
|
5552
|
-
termMonths?: boolean;
|
|
5553
|
-
periodicPayment?: boolean;
|
|
5554
|
-
totalPaidToDate?: boolean;
|
|
5555
|
-
totalInterestPaid?: boolean;
|
|
5556
|
-
monthlyIncome?: boolean;
|
|
5557
|
-
monthlyExpenses?: boolean;
|
|
5558
|
-
preApprovalAnswers?: boolean;
|
|
5559
|
-
underwritingScore?: boolean;
|
|
5560
|
-
debtToIncomeRatio?: boolean;
|
|
5561
4311
|
status?: boolean;
|
|
5562
|
-
state?: boolean;
|
|
5563
4312
|
currentPhaseId?: boolean;
|
|
5564
4313
|
nextPaymentDueDate?: boolean;
|
|
5565
4314
|
lastReminderSentAt?: boolean;
|
|
@@ -5575,6 +4324,7 @@ export type ContractSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
5575
4324
|
buyer?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
5576
4325
|
seller?: boolean | Prisma.Contract$sellerArgs<ExtArgs>;
|
|
5577
4326
|
paymentMethod?: boolean | Prisma.Contract$paymentMethodArgs<ExtArgs>;
|
|
4327
|
+
currentPhase?: boolean | Prisma.Contract$currentPhaseArgs<ExtArgs>;
|
|
5578
4328
|
phases?: boolean | Prisma.Contract$phasesArgs<ExtArgs>;
|
|
5579
4329
|
documents?: boolean | Prisma.Contract$documentsArgs<ExtArgs>;
|
|
5580
4330
|
payments?: boolean | Prisma.Contract$paymentsArgs<ExtArgs>;
|
|
@@ -5601,21 +4351,7 @@ export type ContractSelectScalar = {
|
|
|
5601
4351
|
description?: boolean;
|
|
5602
4352
|
contractType?: boolean;
|
|
5603
4353
|
totalAmount?: boolean;
|
|
5604
|
-
downPayment?: boolean;
|
|
5605
|
-
downPaymentPaid?: boolean;
|
|
5606
|
-
principal?: boolean;
|
|
5607
|
-
interestRate?: boolean;
|
|
5608
|
-
termMonths?: boolean;
|
|
5609
|
-
periodicPayment?: boolean;
|
|
5610
|
-
totalPaidToDate?: boolean;
|
|
5611
|
-
totalInterestPaid?: boolean;
|
|
5612
|
-
monthlyIncome?: boolean;
|
|
5613
|
-
monthlyExpenses?: boolean;
|
|
5614
|
-
preApprovalAnswers?: boolean;
|
|
5615
|
-
underwritingScore?: boolean;
|
|
5616
|
-
debtToIncomeRatio?: boolean;
|
|
5617
4354
|
status?: boolean;
|
|
5618
|
-
state?: boolean;
|
|
5619
4355
|
currentPhaseId?: boolean;
|
|
5620
4356
|
nextPaymentDueDate?: boolean;
|
|
5621
4357
|
lastReminderSentAt?: boolean;
|
|
@@ -5627,13 +4363,14 @@ export type ContractSelectScalar = {
|
|
|
5627
4363
|
updatedAt?: boolean;
|
|
5628
4364
|
transferredFromId?: boolean;
|
|
5629
4365
|
};
|
|
5630
|
-
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" | "
|
|
4366
|
+
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" | "status" | "currentPhaseId" | "nextPaymentDueDate" | "lastReminderSentAt" | "startDate" | "endDate" | "signedAt" | "terminatedAt" | "createdAt" | "updatedAt" | "transferredFromId", ExtArgs["result"]["contract"]>;
|
|
5631
4367
|
export type ContractInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
5632
4368
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
5633
4369
|
propertyUnit?: boolean | Prisma.PropertyUnitDefaultArgs<ExtArgs>;
|
|
5634
4370
|
buyer?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
5635
4371
|
seller?: boolean | Prisma.Contract$sellerArgs<ExtArgs>;
|
|
5636
4372
|
paymentMethod?: boolean | Prisma.Contract$paymentMethodArgs<ExtArgs>;
|
|
4373
|
+
currentPhase?: boolean | Prisma.Contract$currentPhaseArgs<ExtArgs>;
|
|
5637
4374
|
phases?: boolean | Prisma.Contract$phasesArgs<ExtArgs>;
|
|
5638
4375
|
documents?: boolean | Prisma.Contract$documentsArgs<ExtArgs>;
|
|
5639
4376
|
payments?: boolean | Prisma.Contract$paymentsArgs<ExtArgs>;
|
|
@@ -5656,6 +4393,7 @@ export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
5656
4393
|
buyer: Prisma.$UserPayload<ExtArgs>;
|
|
5657
4394
|
seller: Prisma.$UserPayload<ExtArgs> | null;
|
|
5658
4395
|
paymentMethod: Prisma.$PropertyPaymentMethodPayload<ExtArgs> | null;
|
|
4396
|
+
currentPhase: Prisma.$ContractPhasePayload<ExtArgs> | null;
|
|
5659
4397
|
phases: Prisma.$ContractPhasePayload<ExtArgs>[];
|
|
5660
4398
|
documents: Prisma.$ContractDocumentPayload<ExtArgs>[];
|
|
5661
4399
|
payments: Prisma.$ContractPaymentPayload<ExtArgs>[];
|
|
@@ -5681,21 +4419,7 @@ export type $ContractPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
5681
4419
|
description: string | null;
|
|
5682
4420
|
contractType: string;
|
|
5683
4421
|
totalAmount: number;
|
|
5684
|
-
downPayment: number;
|
|
5685
|
-
downPaymentPaid: number;
|
|
5686
|
-
principal: number | null;
|
|
5687
|
-
interestRate: number | null;
|
|
5688
|
-
termMonths: number | null;
|
|
5689
|
-
periodicPayment: number | null;
|
|
5690
|
-
totalPaidToDate: number;
|
|
5691
|
-
totalInterestPaid: number;
|
|
5692
|
-
monthlyIncome: number | null;
|
|
5693
|
-
monthlyExpenses: number | null;
|
|
5694
|
-
preApprovalAnswers: runtime.JsonValue | null;
|
|
5695
|
-
underwritingScore: number | null;
|
|
5696
|
-
debtToIncomeRatio: number | null;
|
|
5697
4422
|
status: $Enums.ContractStatus;
|
|
5698
|
-
state: $Enums.ContractStatus;
|
|
5699
4423
|
currentPhaseId: string | null;
|
|
5700
4424
|
nextPaymentDueDate: Date | null;
|
|
5701
4425
|
lastReminderSentAt: Date | null;
|
|
@@ -5988,6 +4712,7 @@ export interface Prisma__ContractClient<T, Null = never, ExtArgs extends runtime
|
|
|
5988
4712
|
buyer<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
5989
4713
|
seller<T extends Prisma.Contract$sellerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$sellerArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
5990
4714
|
paymentMethod<T extends Prisma.Contract$paymentMethodArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$paymentMethodArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
4715
|
+
currentPhase<T extends Prisma.Contract$currentPhaseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$currentPhaseArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseClient<runtime.Types.Result.GetResult<Prisma.$ContractPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
5991
4716
|
phases<T extends Prisma.Contract$phasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$phasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
5992
4717
|
documents<T extends Prisma.Contract$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
5993
4718
|
payments<T extends Prisma.Contract$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Contract$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
@@ -6036,21 +4761,7 @@ export interface ContractFieldRefs {
|
|
|
6036
4761
|
readonly description: Prisma.FieldRef<"Contract", 'String'>;
|
|
6037
4762
|
readonly contractType: Prisma.FieldRef<"Contract", 'String'>;
|
|
6038
4763
|
readonly totalAmount: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6039
|
-
readonly downPayment: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6040
|
-
readonly downPaymentPaid: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6041
|
-
readonly principal: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6042
|
-
readonly interestRate: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6043
|
-
readonly termMonths: Prisma.FieldRef<"Contract", 'Int'>;
|
|
6044
|
-
readonly periodicPayment: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6045
|
-
readonly totalPaidToDate: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6046
|
-
readonly totalInterestPaid: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6047
|
-
readonly monthlyIncome: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6048
|
-
readonly monthlyExpenses: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6049
|
-
readonly preApprovalAnswers: Prisma.FieldRef<"Contract", 'Json'>;
|
|
6050
|
-
readonly underwritingScore: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6051
|
-
readonly debtToIncomeRatio: Prisma.FieldRef<"Contract", 'Float'>;
|
|
6052
4764
|
readonly status: Prisma.FieldRef<"Contract", 'ContractStatus'>;
|
|
6053
|
-
readonly state: Prisma.FieldRef<"Contract", 'ContractStatus'>;
|
|
6054
4765
|
readonly currentPhaseId: Prisma.FieldRef<"Contract", 'String'>;
|
|
6055
4766
|
readonly nextPaymentDueDate: Prisma.FieldRef<"Contract", 'DateTime'>;
|
|
6056
4767
|
readonly lastReminderSentAt: Prisma.FieldRef<"Contract", 'DateTime'>;
|
|
@@ -6424,6 +5135,24 @@ export type Contract$paymentMethodArgs<ExtArgs extends runtime.Types.Extensions.
|
|
|
6424
5135
|
include?: Prisma.PropertyPaymentMethodInclude<ExtArgs> | null;
|
|
6425
5136
|
where?: Prisma.PropertyPaymentMethodWhereInput;
|
|
6426
5137
|
};
|
|
5138
|
+
/**
|
|
5139
|
+
* Contract.currentPhase
|
|
5140
|
+
*/
|
|
5141
|
+
export type Contract$currentPhaseArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
5142
|
+
/**
|
|
5143
|
+
* Select specific fields to fetch from the ContractPhase
|
|
5144
|
+
*/
|
|
5145
|
+
select?: Prisma.ContractPhaseSelect<ExtArgs> | null;
|
|
5146
|
+
/**
|
|
5147
|
+
* Omit specific fields from the ContractPhase
|
|
5148
|
+
*/
|
|
5149
|
+
omit?: Prisma.ContractPhaseOmit<ExtArgs> | null;
|
|
5150
|
+
/**
|
|
5151
|
+
* Choose, which related nodes to fetch as well
|
|
5152
|
+
*/
|
|
5153
|
+
include?: Prisma.ContractPhaseInclude<ExtArgs> | null;
|
|
5154
|
+
where?: Prisma.ContractPhaseWhereInput;
|
|
5155
|
+
};
|
|
6427
5156
|
/**
|
|
6428
5157
|
* Contract.phases
|
|
6429
5158
|
*/
|