@valentine-efagene/qshelter-common 2.0.52 → 2.0.54
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/enums.d.ts +2 -0
- package/dist/generated/client/enums.js +3 -1
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespace.js +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +12 -0
- package/dist/generated/client/models/Contract.d.ts +484 -1
- package/dist/generated/client/models/DocumentationStep.d.ts +242 -1
- package/dist/src/middleware/tenant.js +3 -3
- package/package.json +1 -1
- package/prisma/migrations/20260105004059_add_superseded_phase_status/migration.sql +2 -0
- package/prisma/migrations/20260105074701_add_underwriting_step_types/migration.sql +17 -0
- package/prisma/schema.prisma +18 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
- package/dist/generated/client/models/ContractPhaseStep.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
- package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
- package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
- package/dist/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/generated/client/models/Mortgage.js +0 -1
- package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/generated/client/models/MortgageDocument.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/generated/client/models/MortgageStep.js +0 -1
- package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/generated/client/models/MortgageTransition.js +0 -1
- package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/generated/client/models/MortgageType.js +0 -1
- package/dist/generated/client/models/Payment.d.ts +0 -2026
- package/dist/generated/client/models/Payment.js +0 -1
- package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -6
- package/dist/src/generated/client/client.d.ts +0 -201
- package/dist/src/generated/client/client.js +0 -32
- package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
- package/dist/src/generated/client/commonInputTypes.js +0 -10
- package/dist/src/generated/client/enums.d.ts +0 -1
- package/dist/src/generated/client/enums.js +0 -10
- package/dist/src/generated/client/internal/class.d.ts +0 -511
- package/dist/src/generated/client/internal/class.js +0 -40
- package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
- package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
- package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
- package/dist/src/generated/client/models/Amenity.js +0 -1
- package/dist/src/generated/client/models/Contract.d.ts +0 -2099
- package/dist/src/generated/client/models/Contract.js +0 -1
- package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/ContractDocument.js +0 -1
- package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
- package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
- package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
- package/dist/src/generated/client/models/EmailPreference.js +0 -1
- package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/src/generated/client/models/Mortgage.js +0 -1
- package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageDocument.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/src/generated/client/models/MortgageStep.js +0 -1
- package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageTransition.js +0 -1
- package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageType.js +0 -1
- package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
- package/dist/src/generated/client/models/OAuthState.js +0 -1
- package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
- package/dist/src/generated/client/models/PasswordReset.js +0 -1
- package/dist/src/generated/client/models/Payment.d.ts +0 -2026
- package/dist/src/generated/client/models/Payment.js +0 -1
- package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
- package/dist/src/generated/client/models/PaymentPlan.js +0 -1
- package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/src/generated/client/models/Permission.d.ts +0 -1115
- package/dist/src/generated/client/models/Permission.js +0 -1
- package/dist/src/generated/client/models/Property.d.ts +0 -3254
- package/dist/src/generated/client/models/Property.js +0 -1
- package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
- package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
- package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/PropertyDocument.js +0 -1
- package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
- package/dist/src/generated/client/models/PropertyMedia.js +0 -1
- package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
- package/dist/src/generated/client/models/RefreshToken.js +0 -1
- package/dist/src/generated/client/models/Role.d.ts +0 -1153
- package/dist/src/generated/client/models/Role.js +0 -1
- package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
- package/dist/src/generated/client/models/RolePermission.js +0 -1
- package/dist/src/generated/client/models/Settings.d.ts +0 -916
- package/dist/src/generated/client/models/Settings.js +0 -1
- package/dist/src/generated/client/models/Social.d.ts +0 -1090
- package/dist/src/generated/client/models/Social.js +0 -1
- package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
- package/dist/src/generated/client/models/Tenant.js +0 -1
- package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
- package/dist/src/generated/client/models/Transaction.js +0 -1
- package/dist/src/generated/client/models/User.d.ts +0 -4239
- package/dist/src/generated/client/models/User.js +0 -1
- package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
- package/dist/src/generated/client/models/UserRole.js +0 -1
- package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
- package/dist/src/generated/client/models/UserSuspension.js +0 -1
- package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
- package/dist/src/generated/client/models/Wallet.js +0 -1
- package/dist/src/generated/client/models.d.ts +0 -37
- package/dist/src/generated/client/models.js +0 -1
|
@@ -1,2777 +0,0 @@
|
|
|
1
|
-
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
-
/**
|
|
4
|
-
* Model Mortgage
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export type MortgageModel = runtime.Types.Result.DefaultSelection<Prisma.$MortgagePayload>;
|
|
8
|
-
export type AggregateMortgage = {
|
|
9
|
-
_count: MortgageCountAggregateOutputType | null;
|
|
10
|
-
_avg: MortgageAvgAggregateOutputType | null;
|
|
11
|
-
_sum: MortgageSumAggregateOutputType | null;
|
|
12
|
-
_min: MortgageMinAggregateOutputType | null;
|
|
13
|
-
_max: MortgageMaxAggregateOutputType | null;
|
|
14
|
-
};
|
|
15
|
-
export type MortgageAvgAggregateOutputType = {
|
|
16
|
-
principal: number | null;
|
|
17
|
-
downPayment: number | null;
|
|
18
|
-
downPaymentPaid: number | null;
|
|
19
|
-
termMonths: number | null;
|
|
20
|
-
interestRate: number | null;
|
|
21
|
-
monthlyPayment: number | null;
|
|
22
|
-
};
|
|
23
|
-
export type MortgageSumAggregateOutputType = {
|
|
24
|
-
principal: number | null;
|
|
25
|
-
downPayment: number | null;
|
|
26
|
-
downPaymentPaid: number | null;
|
|
27
|
-
termMonths: number | null;
|
|
28
|
-
interestRate: number | null;
|
|
29
|
-
monthlyPayment: number | null;
|
|
30
|
-
};
|
|
31
|
-
export type MortgageMinAggregateOutputType = {
|
|
32
|
-
id: string | null;
|
|
33
|
-
propertyId: string | null;
|
|
34
|
-
borrowerId: string | null;
|
|
35
|
-
mortgageTypeId: string | null;
|
|
36
|
-
downpaymentPlanId: string | null;
|
|
37
|
-
principal: number | null;
|
|
38
|
-
downPayment: number | null;
|
|
39
|
-
downPaymentPaid: number | null;
|
|
40
|
-
termMonths: number | null;
|
|
41
|
-
interestRate: number | null;
|
|
42
|
-
monthlyPayment: number | null;
|
|
43
|
-
status: string | null;
|
|
44
|
-
state: string | null;
|
|
45
|
-
stateMetadata: string | null;
|
|
46
|
-
lastReminderSentAt: Date | null;
|
|
47
|
-
createdAt: Date | null;
|
|
48
|
-
updatedAt: Date | null;
|
|
49
|
-
};
|
|
50
|
-
export type MortgageMaxAggregateOutputType = {
|
|
51
|
-
id: string | null;
|
|
52
|
-
propertyId: string | null;
|
|
53
|
-
borrowerId: string | null;
|
|
54
|
-
mortgageTypeId: string | null;
|
|
55
|
-
downpaymentPlanId: string | null;
|
|
56
|
-
principal: number | null;
|
|
57
|
-
downPayment: number | null;
|
|
58
|
-
downPaymentPaid: number | null;
|
|
59
|
-
termMonths: number | null;
|
|
60
|
-
interestRate: number | null;
|
|
61
|
-
monthlyPayment: number | null;
|
|
62
|
-
status: string | null;
|
|
63
|
-
state: string | null;
|
|
64
|
-
stateMetadata: string | null;
|
|
65
|
-
lastReminderSentAt: Date | null;
|
|
66
|
-
createdAt: Date | null;
|
|
67
|
-
updatedAt: Date | null;
|
|
68
|
-
};
|
|
69
|
-
export type MortgageCountAggregateOutputType = {
|
|
70
|
-
id: number;
|
|
71
|
-
propertyId: number;
|
|
72
|
-
borrowerId: number;
|
|
73
|
-
mortgageTypeId: number;
|
|
74
|
-
downpaymentPlanId: number;
|
|
75
|
-
principal: number;
|
|
76
|
-
downPayment: number;
|
|
77
|
-
downPaymentPaid: number;
|
|
78
|
-
termMonths: number;
|
|
79
|
-
interestRate: number;
|
|
80
|
-
monthlyPayment: number;
|
|
81
|
-
status: number;
|
|
82
|
-
state: number;
|
|
83
|
-
stateMetadata: number;
|
|
84
|
-
lastReminderSentAt: number;
|
|
85
|
-
createdAt: number;
|
|
86
|
-
updatedAt: number;
|
|
87
|
-
_all: number;
|
|
88
|
-
};
|
|
89
|
-
export type MortgageAvgAggregateInputType = {
|
|
90
|
-
principal?: true;
|
|
91
|
-
downPayment?: true;
|
|
92
|
-
downPaymentPaid?: true;
|
|
93
|
-
termMonths?: true;
|
|
94
|
-
interestRate?: true;
|
|
95
|
-
monthlyPayment?: true;
|
|
96
|
-
};
|
|
97
|
-
export type MortgageSumAggregateInputType = {
|
|
98
|
-
principal?: true;
|
|
99
|
-
downPayment?: true;
|
|
100
|
-
downPaymentPaid?: true;
|
|
101
|
-
termMonths?: true;
|
|
102
|
-
interestRate?: true;
|
|
103
|
-
monthlyPayment?: true;
|
|
104
|
-
};
|
|
105
|
-
export type MortgageMinAggregateInputType = {
|
|
106
|
-
id?: true;
|
|
107
|
-
propertyId?: true;
|
|
108
|
-
borrowerId?: true;
|
|
109
|
-
mortgageTypeId?: true;
|
|
110
|
-
downpaymentPlanId?: true;
|
|
111
|
-
principal?: true;
|
|
112
|
-
downPayment?: true;
|
|
113
|
-
downPaymentPaid?: true;
|
|
114
|
-
termMonths?: true;
|
|
115
|
-
interestRate?: true;
|
|
116
|
-
monthlyPayment?: true;
|
|
117
|
-
status?: true;
|
|
118
|
-
state?: true;
|
|
119
|
-
stateMetadata?: true;
|
|
120
|
-
lastReminderSentAt?: true;
|
|
121
|
-
createdAt?: true;
|
|
122
|
-
updatedAt?: true;
|
|
123
|
-
};
|
|
124
|
-
export type MortgageMaxAggregateInputType = {
|
|
125
|
-
id?: true;
|
|
126
|
-
propertyId?: true;
|
|
127
|
-
borrowerId?: true;
|
|
128
|
-
mortgageTypeId?: true;
|
|
129
|
-
downpaymentPlanId?: true;
|
|
130
|
-
principal?: true;
|
|
131
|
-
downPayment?: true;
|
|
132
|
-
downPaymentPaid?: true;
|
|
133
|
-
termMonths?: true;
|
|
134
|
-
interestRate?: true;
|
|
135
|
-
monthlyPayment?: true;
|
|
136
|
-
status?: true;
|
|
137
|
-
state?: true;
|
|
138
|
-
stateMetadata?: true;
|
|
139
|
-
lastReminderSentAt?: true;
|
|
140
|
-
createdAt?: true;
|
|
141
|
-
updatedAt?: true;
|
|
142
|
-
};
|
|
143
|
-
export type MortgageCountAggregateInputType = {
|
|
144
|
-
id?: true;
|
|
145
|
-
propertyId?: true;
|
|
146
|
-
borrowerId?: true;
|
|
147
|
-
mortgageTypeId?: true;
|
|
148
|
-
downpaymentPlanId?: true;
|
|
149
|
-
principal?: true;
|
|
150
|
-
downPayment?: true;
|
|
151
|
-
downPaymentPaid?: true;
|
|
152
|
-
termMonths?: true;
|
|
153
|
-
interestRate?: true;
|
|
154
|
-
monthlyPayment?: true;
|
|
155
|
-
status?: true;
|
|
156
|
-
state?: true;
|
|
157
|
-
stateMetadata?: true;
|
|
158
|
-
lastReminderSentAt?: true;
|
|
159
|
-
createdAt?: true;
|
|
160
|
-
updatedAt?: true;
|
|
161
|
-
_all?: true;
|
|
162
|
-
};
|
|
163
|
-
export type MortgageAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
164
|
-
/**
|
|
165
|
-
* Filter which Mortgage to aggregate.
|
|
166
|
-
*/
|
|
167
|
-
where?: Prisma.MortgageWhereInput;
|
|
168
|
-
/**
|
|
169
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
170
|
-
*
|
|
171
|
-
* Determine the order of Mortgages to fetch.
|
|
172
|
-
*/
|
|
173
|
-
orderBy?: Prisma.MortgageOrderByWithRelationInput | Prisma.MortgageOrderByWithRelationInput[];
|
|
174
|
-
/**
|
|
175
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
176
|
-
*
|
|
177
|
-
* Sets the start position
|
|
178
|
-
*/
|
|
179
|
-
cursor?: Prisma.MortgageWhereUniqueInput;
|
|
180
|
-
/**
|
|
181
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
182
|
-
*
|
|
183
|
-
* Take `±n` Mortgages from the position of the cursor.
|
|
184
|
-
*/
|
|
185
|
-
take?: number;
|
|
186
|
-
/**
|
|
187
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
188
|
-
*
|
|
189
|
-
* Skip the first `n` Mortgages.
|
|
190
|
-
*/
|
|
191
|
-
skip?: number;
|
|
192
|
-
/**
|
|
193
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
194
|
-
*
|
|
195
|
-
* Count returned Mortgages
|
|
196
|
-
**/
|
|
197
|
-
_count?: true | MortgageCountAggregateInputType;
|
|
198
|
-
/**
|
|
199
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
200
|
-
*
|
|
201
|
-
* Select which fields to average
|
|
202
|
-
**/
|
|
203
|
-
_avg?: MortgageAvgAggregateInputType;
|
|
204
|
-
/**
|
|
205
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
206
|
-
*
|
|
207
|
-
* Select which fields to sum
|
|
208
|
-
**/
|
|
209
|
-
_sum?: MortgageSumAggregateInputType;
|
|
210
|
-
/**
|
|
211
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
212
|
-
*
|
|
213
|
-
* Select which fields to find the minimum value
|
|
214
|
-
**/
|
|
215
|
-
_min?: MortgageMinAggregateInputType;
|
|
216
|
-
/**
|
|
217
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
218
|
-
*
|
|
219
|
-
* Select which fields to find the maximum value
|
|
220
|
-
**/
|
|
221
|
-
_max?: MortgageMaxAggregateInputType;
|
|
222
|
-
};
|
|
223
|
-
export type GetMortgageAggregateType<T extends MortgageAggregateArgs> = {
|
|
224
|
-
[P in keyof T & keyof AggregateMortgage]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMortgage[P]> : Prisma.GetScalarType<T[P], AggregateMortgage[P]>;
|
|
225
|
-
};
|
|
226
|
-
export type MortgageGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
227
|
-
where?: Prisma.MortgageWhereInput;
|
|
228
|
-
orderBy?: Prisma.MortgageOrderByWithAggregationInput | Prisma.MortgageOrderByWithAggregationInput[];
|
|
229
|
-
by: Prisma.MortgageScalarFieldEnum[] | Prisma.MortgageScalarFieldEnum;
|
|
230
|
-
having?: Prisma.MortgageScalarWhereWithAggregatesInput;
|
|
231
|
-
take?: number;
|
|
232
|
-
skip?: number;
|
|
233
|
-
_count?: MortgageCountAggregateInputType | true;
|
|
234
|
-
_avg?: MortgageAvgAggregateInputType;
|
|
235
|
-
_sum?: MortgageSumAggregateInputType;
|
|
236
|
-
_min?: MortgageMinAggregateInputType;
|
|
237
|
-
_max?: MortgageMaxAggregateInputType;
|
|
238
|
-
};
|
|
239
|
-
export type MortgageGroupByOutputType = {
|
|
240
|
-
id: string;
|
|
241
|
-
propertyId: string;
|
|
242
|
-
borrowerId: string;
|
|
243
|
-
mortgageTypeId: string | null;
|
|
244
|
-
downpaymentPlanId: string | null;
|
|
245
|
-
principal: number;
|
|
246
|
-
downPayment: number;
|
|
247
|
-
downPaymentPaid: number;
|
|
248
|
-
termMonths: number;
|
|
249
|
-
interestRate: number;
|
|
250
|
-
monthlyPayment: number;
|
|
251
|
-
status: string;
|
|
252
|
-
state: string;
|
|
253
|
-
stateMetadata: string | null;
|
|
254
|
-
lastReminderSentAt: Date | null;
|
|
255
|
-
createdAt: Date;
|
|
256
|
-
updatedAt: Date;
|
|
257
|
-
_count: MortgageCountAggregateOutputType | null;
|
|
258
|
-
_avg: MortgageAvgAggregateOutputType | null;
|
|
259
|
-
_sum: MortgageSumAggregateOutputType | null;
|
|
260
|
-
_min: MortgageMinAggregateOutputType | null;
|
|
261
|
-
_max: MortgageMaxAggregateOutputType | null;
|
|
262
|
-
};
|
|
263
|
-
type GetMortgageGroupByPayload<T extends MortgageGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<MortgageGroupByOutputType, T['by']> & {
|
|
264
|
-
[P in ((keyof T) & (keyof MortgageGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], MortgageGroupByOutputType[P]> : Prisma.GetScalarType<T[P], MortgageGroupByOutputType[P]>;
|
|
265
|
-
}>>;
|
|
266
|
-
export type MortgageWhereInput = {
|
|
267
|
-
AND?: Prisma.MortgageWhereInput | Prisma.MortgageWhereInput[];
|
|
268
|
-
OR?: Prisma.MortgageWhereInput[];
|
|
269
|
-
NOT?: Prisma.MortgageWhereInput | Prisma.MortgageWhereInput[];
|
|
270
|
-
id?: Prisma.StringFilter<"Mortgage"> | string;
|
|
271
|
-
propertyId?: Prisma.StringFilter<"Mortgage"> | string;
|
|
272
|
-
borrowerId?: Prisma.StringFilter<"Mortgage"> | string;
|
|
273
|
-
mortgageTypeId?: Prisma.StringNullableFilter<"Mortgage"> | string | null;
|
|
274
|
-
downpaymentPlanId?: Prisma.StringNullableFilter<"Mortgage"> | string | null;
|
|
275
|
-
principal?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
276
|
-
downPayment?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
277
|
-
downPaymentPaid?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
278
|
-
termMonths?: Prisma.IntFilter<"Mortgage"> | number;
|
|
279
|
-
interestRate?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
280
|
-
monthlyPayment?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
281
|
-
status?: Prisma.StringFilter<"Mortgage"> | string;
|
|
282
|
-
state?: Prisma.StringFilter<"Mortgage"> | string;
|
|
283
|
-
stateMetadata?: Prisma.StringNullableFilter<"Mortgage"> | string | null;
|
|
284
|
-
lastReminderSentAt?: Prisma.DateTimeNullableFilter<"Mortgage"> | Date | string | null;
|
|
285
|
-
createdAt?: Prisma.DateTimeFilter<"Mortgage"> | Date | string;
|
|
286
|
-
updatedAt?: Prisma.DateTimeFilter<"Mortgage"> | Date | string;
|
|
287
|
-
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
288
|
-
borrower?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
289
|
-
mortgageType?: Prisma.XOR<Prisma.MortgageTypeNullableScalarRelationFilter, Prisma.MortgageTypeWhereInput> | null;
|
|
290
|
-
downpaymentPlan?: Prisma.XOR<Prisma.MortgageDownpaymentPlanNullableScalarRelationFilter, Prisma.MortgageDownpaymentPlanWhereInput> | null;
|
|
291
|
-
documents?: Prisma.MortgageDocumentListRelationFilter;
|
|
292
|
-
steps?: Prisma.MortgageStepListRelationFilter;
|
|
293
|
-
transitions?: Prisma.MortgageTransitionListRelationFilter;
|
|
294
|
-
transitionEvents?: Prisma.MortgageTransitionEventListRelationFilter;
|
|
295
|
-
};
|
|
296
|
-
export type MortgageOrderByWithRelationInput = {
|
|
297
|
-
id?: Prisma.SortOrder;
|
|
298
|
-
propertyId?: Prisma.SortOrder;
|
|
299
|
-
borrowerId?: Prisma.SortOrder;
|
|
300
|
-
mortgageTypeId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
301
|
-
downpaymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
302
|
-
principal?: Prisma.SortOrder;
|
|
303
|
-
downPayment?: Prisma.SortOrder;
|
|
304
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
305
|
-
termMonths?: Prisma.SortOrder;
|
|
306
|
-
interestRate?: Prisma.SortOrder;
|
|
307
|
-
monthlyPayment?: Prisma.SortOrder;
|
|
308
|
-
status?: Prisma.SortOrder;
|
|
309
|
-
state?: Prisma.SortOrder;
|
|
310
|
-
stateMetadata?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
311
|
-
lastReminderSentAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
312
|
-
createdAt?: Prisma.SortOrder;
|
|
313
|
-
updatedAt?: Prisma.SortOrder;
|
|
314
|
-
property?: Prisma.PropertyOrderByWithRelationInput;
|
|
315
|
-
borrower?: Prisma.UserOrderByWithRelationInput;
|
|
316
|
-
mortgageType?: Prisma.MortgageTypeOrderByWithRelationInput;
|
|
317
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanOrderByWithRelationInput;
|
|
318
|
-
documents?: Prisma.MortgageDocumentOrderByRelationAggregateInput;
|
|
319
|
-
steps?: Prisma.MortgageStepOrderByRelationAggregateInput;
|
|
320
|
-
transitions?: Prisma.MortgageTransitionOrderByRelationAggregateInput;
|
|
321
|
-
transitionEvents?: Prisma.MortgageTransitionEventOrderByRelationAggregateInput;
|
|
322
|
-
_relevance?: Prisma.MortgageOrderByRelevanceInput;
|
|
323
|
-
};
|
|
324
|
-
export type MortgageWhereUniqueInput = Prisma.AtLeast<{
|
|
325
|
-
id?: string;
|
|
326
|
-
AND?: Prisma.MortgageWhereInput | Prisma.MortgageWhereInput[];
|
|
327
|
-
OR?: Prisma.MortgageWhereInput[];
|
|
328
|
-
NOT?: Prisma.MortgageWhereInput | Prisma.MortgageWhereInput[];
|
|
329
|
-
propertyId?: Prisma.StringFilter<"Mortgage"> | string;
|
|
330
|
-
borrowerId?: Prisma.StringFilter<"Mortgage"> | string;
|
|
331
|
-
mortgageTypeId?: Prisma.StringNullableFilter<"Mortgage"> | string | null;
|
|
332
|
-
downpaymentPlanId?: Prisma.StringNullableFilter<"Mortgage"> | string | null;
|
|
333
|
-
principal?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
334
|
-
downPayment?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
335
|
-
downPaymentPaid?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
336
|
-
termMonths?: Prisma.IntFilter<"Mortgage"> | number;
|
|
337
|
-
interestRate?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
338
|
-
monthlyPayment?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
339
|
-
status?: Prisma.StringFilter<"Mortgage"> | string;
|
|
340
|
-
state?: Prisma.StringFilter<"Mortgage"> | string;
|
|
341
|
-
stateMetadata?: Prisma.StringNullableFilter<"Mortgage"> | string | null;
|
|
342
|
-
lastReminderSentAt?: Prisma.DateTimeNullableFilter<"Mortgage"> | Date | string | null;
|
|
343
|
-
createdAt?: Prisma.DateTimeFilter<"Mortgage"> | Date | string;
|
|
344
|
-
updatedAt?: Prisma.DateTimeFilter<"Mortgage"> | Date | string;
|
|
345
|
-
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
346
|
-
borrower?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
347
|
-
mortgageType?: Prisma.XOR<Prisma.MortgageTypeNullableScalarRelationFilter, Prisma.MortgageTypeWhereInput> | null;
|
|
348
|
-
downpaymentPlan?: Prisma.XOR<Prisma.MortgageDownpaymentPlanNullableScalarRelationFilter, Prisma.MortgageDownpaymentPlanWhereInput> | null;
|
|
349
|
-
documents?: Prisma.MortgageDocumentListRelationFilter;
|
|
350
|
-
steps?: Prisma.MortgageStepListRelationFilter;
|
|
351
|
-
transitions?: Prisma.MortgageTransitionListRelationFilter;
|
|
352
|
-
transitionEvents?: Prisma.MortgageTransitionEventListRelationFilter;
|
|
353
|
-
}, "id">;
|
|
354
|
-
export type MortgageOrderByWithAggregationInput = {
|
|
355
|
-
id?: Prisma.SortOrder;
|
|
356
|
-
propertyId?: Prisma.SortOrder;
|
|
357
|
-
borrowerId?: Prisma.SortOrder;
|
|
358
|
-
mortgageTypeId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
359
|
-
downpaymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
360
|
-
principal?: Prisma.SortOrder;
|
|
361
|
-
downPayment?: Prisma.SortOrder;
|
|
362
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
363
|
-
termMonths?: Prisma.SortOrder;
|
|
364
|
-
interestRate?: Prisma.SortOrder;
|
|
365
|
-
monthlyPayment?: Prisma.SortOrder;
|
|
366
|
-
status?: Prisma.SortOrder;
|
|
367
|
-
state?: Prisma.SortOrder;
|
|
368
|
-
stateMetadata?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
369
|
-
lastReminderSentAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
370
|
-
createdAt?: Prisma.SortOrder;
|
|
371
|
-
updatedAt?: Prisma.SortOrder;
|
|
372
|
-
_count?: Prisma.MortgageCountOrderByAggregateInput;
|
|
373
|
-
_avg?: Prisma.MortgageAvgOrderByAggregateInput;
|
|
374
|
-
_max?: Prisma.MortgageMaxOrderByAggregateInput;
|
|
375
|
-
_min?: Prisma.MortgageMinOrderByAggregateInput;
|
|
376
|
-
_sum?: Prisma.MortgageSumOrderByAggregateInput;
|
|
377
|
-
};
|
|
378
|
-
export type MortgageScalarWhereWithAggregatesInput = {
|
|
379
|
-
AND?: Prisma.MortgageScalarWhereWithAggregatesInput | Prisma.MortgageScalarWhereWithAggregatesInput[];
|
|
380
|
-
OR?: Prisma.MortgageScalarWhereWithAggregatesInput[];
|
|
381
|
-
NOT?: Prisma.MortgageScalarWhereWithAggregatesInput | Prisma.MortgageScalarWhereWithAggregatesInput[];
|
|
382
|
-
id?: Prisma.StringWithAggregatesFilter<"Mortgage"> | string;
|
|
383
|
-
propertyId?: Prisma.StringWithAggregatesFilter<"Mortgage"> | string;
|
|
384
|
-
borrowerId?: Prisma.StringWithAggregatesFilter<"Mortgage"> | string;
|
|
385
|
-
mortgageTypeId?: Prisma.StringNullableWithAggregatesFilter<"Mortgage"> | string | null;
|
|
386
|
-
downpaymentPlanId?: Prisma.StringNullableWithAggregatesFilter<"Mortgage"> | string | null;
|
|
387
|
-
principal?: Prisma.FloatWithAggregatesFilter<"Mortgage"> | number;
|
|
388
|
-
downPayment?: Prisma.FloatWithAggregatesFilter<"Mortgage"> | number;
|
|
389
|
-
downPaymentPaid?: Prisma.FloatWithAggregatesFilter<"Mortgage"> | number;
|
|
390
|
-
termMonths?: Prisma.IntWithAggregatesFilter<"Mortgage"> | number;
|
|
391
|
-
interestRate?: Prisma.FloatWithAggregatesFilter<"Mortgage"> | number;
|
|
392
|
-
monthlyPayment?: Prisma.FloatWithAggregatesFilter<"Mortgage"> | number;
|
|
393
|
-
status?: Prisma.StringWithAggregatesFilter<"Mortgage"> | string;
|
|
394
|
-
state?: Prisma.StringWithAggregatesFilter<"Mortgage"> | string;
|
|
395
|
-
stateMetadata?: Prisma.StringNullableWithAggregatesFilter<"Mortgage"> | string | null;
|
|
396
|
-
lastReminderSentAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Mortgage"> | Date | string | null;
|
|
397
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Mortgage"> | Date | string;
|
|
398
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Mortgage"> | Date | string;
|
|
399
|
-
};
|
|
400
|
-
export type MortgageCreateInput = {
|
|
401
|
-
id?: string;
|
|
402
|
-
principal: number;
|
|
403
|
-
downPayment: number;
|
|
404
|
-
downPaymentPaid?: number;
|
|
405
|
-
termMonths: number;
|
|
406
|
-
interestRate: number;
|
|
407
|
-
monthlyPayment: number;
|
|
408
|
-
status?: string;
|
|
409
|
-
state?: string;
|
|
410
|
-
stateMetadata?: string | null;
|
|
411
|
-
lastReminderSentAt?: Date | string | null;
|
|
412
|
-
createdAt?: Date | string;
|
|
413
|
-
updatedAt?: Date | string;
|
|
414
|
-
property: Prisma.PropertyCreateNestedOneWithoutMortgagesInput;
|
|
415
|
-
borrower: Prisma.UserCreateNestedOneWithoutMortgagesInput;
|
|
416
|
-
mortgageType?: Prisma.MortgageTypeCreateNestedOneWithoutMortgagesInput;
|
|
417
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanCreateNestedOneWithoutMortgagesInput;
|
|
418
|
-
documents?: Prisma.MortgageDocumentCreateNestedManyWithoutMortgageInput;
|
|
419
|
-
steps?: Prisma.MortgageStepCreateNestedManyWithoutMortgageInput;
|
|
420
|
-
transitions?: Prisma.MortgageTransitionCreateNestedManyWithoutMortgageInput;
|
|
421
|
-
transitionEvents?: Prisma.MortgageTransitionEventCreateNestedManyWithoutMortgageInput;
|
|
422
|
-
};
|
|
423
|
-
export type MortgageUncheckedCreateInput = {
|
|
424
|
-
id?: string;
|
|
425
|
-
propertyId: string;
|
|
426
|
-
borrowerId: string;
|
|
427
|
-
mortgageTypeId?: string | null;
|
|
428
|
-
downpaymentPlanId?: string | null;
|
|
429
|
-
principal: number;
|
|
430
|
-
downPayment: number;
|
|
431
|
-
downPaymentPaid?: number;
|
|
432
|
-
termMonths: number;
|
|
433
|
-
interestRate: number;
|
|
434
|
-
monthlyPayment: number;
|
|
435
|
-
status?: string;
|
|
436
|
-
state?: string;
|
|
437
|
-
stateMetadata?: string | null;
|
|
438
|
-
lastReminderSentAt?: Date | string | null;
|
|
439
|
-
createdAt?: Date | string;
|
|
440
|
-
updatedAt?: Date | string;
|
|
441
|
-
documents?: Prisma.MortgageDocumentUncheckedCreateNestedManyWithoutMortgageInput;
|
|
442
|
-
steps?: Prisma.MortgageStepUncheckedCreateNestedManyWithoutMortgageInput;
|
|
443
|
-
transitions?: Prisma.MortgageTransitionUncheckedCreateNestedManyWithoutMortgageInput;
|
|
444
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedCreateNestedManyWithoutMortgageInput;
|
|
445
|
-
};
|
|
446
|
-
export type MortgageUpdateInput = {
|
|
447
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
448
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
449
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
450
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
451
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
452
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
453
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
454
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
455
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
456
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
457
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
458
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
459
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
460
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
461
|
-
borrower?: Prisma.UserUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
462
|
-
mortgageType?: Prisma.MortgageTypeUpdateOneWithoutMortgagesNestedInput;
|
|
463
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanUpdateOneWithoutMortgagesNestedInput;
|
|
464
|
-
documents?: Prisma.MortgageDocumentUpdateManyWithoutMortgageNestedInput;
|
|
465
|
-
steps?: Prisma.MortgageStepUpdateManyWithoutMortgageNestedInput;
|
|
466
|
-
transitions?: Prisma.MortgageTransitionUpdateManyWithoutMortgageNestedInput;
|
|
467
|
-
transitionEvents?: Prisma.MortgageTransitionEventUpdateManyWithoutMortgageNestedInput;
|
|
468
|
-
};
|
|
469
|
-
export type MortgageUncheckedUpdateInput = {
|
|
470
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
471
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
472
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
473
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
474
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
475
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
476
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
477
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
478
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
479
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
480
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
481
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
482
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
483
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
484
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
485
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
486
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
487
|
-
documents?: Prisma.MortgageDocumentUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
488
|
-
steps?: Prisma.MortgageStepUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
489
|
-
transitions?: Prisma.MortgageTransitionUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
490
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
491
|
-
};
|
|
492
|
-
export type MortgageCreateManyInput = {
|
|
493
|
-
id?: string;
|
|
494
|
-
propertyId: string;
|
|
495
|
-
borrowerId: string;
|
|
496
|
-
mortgageTypeId?: string | null;
|
|
497
|
-
downpaymentPlanId?: string | null;
|
|
498
|
-
principal: number;
|
|
499
|
-
downPayment: number;
|
|
500
|
-
downPaymentPaid?: number;
|
|
501
|
-
termMonths: number;
|
|
502
|
-
interestRate: number;
|
|
503
|
-
monthlyPayment: number;
|
|
504
|
-
status?: string;
|
|
505
|
-
state?: string;
|
|
506
|
-
stateMetadata?: string | null;
|
|
507
|
-
lastReminderSentAt?: Date | string | null;
|
|
508
|
-
createdAt?: Date | string;
|
|
509
|
-
updatedAt?: Date | string;
|
|
510
|
-
};
|
|
511
|
-
export type MortgageUpdateManyMutationInput = {
|
|
512
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
513
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
514
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
515
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
516
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
517
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
518
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
519
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
520
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
521
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
522
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
523
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
524
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
525
|
-
};
|
|
526
|
-
export type MortgageUncheckedUpdateManyInput = {
|
|
527
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
528
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
529
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
530
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
531
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
532
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
533
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
534
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
535
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
536
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
537
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
538
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
539
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
540
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
541
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
542
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
543
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
544
|
-
};
|
|
545
|
-
export type MortgageListRelationFilter = {
|
|
546
|
-
every?: Prisma.MortgageWhereInput;
|
|
547
|
-
some?: Prisma.MortgageWhereInput;
|
|
548
|
-
none?: Prisma.MortgageWhereInput;
|
|
549
|
-
};
|
|
550
|
-
export type MortgageOrderByRelationAggregateInput = {
|
|
551
|
-
_count?: Prisma.SortOrder;
|
|
552
|
-
};
|
|
553
|
-
export type MortgageOrderByRelevanceInput = {
|
|
554
|
-
fields: Prisma.MortgageOrderByRelevanceFieldEnum | Prisma.MortgageOrderByRelevanceFieldEnum[];
|
|
555
|
-
sort: Prisma.SortOrder;
|
|
556
|
-
search: string;
|
|
557
|
-
};
|
|
558
|
-
export type MortgageCountOrderByAggregateInput = {
|
|
559
|
-
id?: Prisma.SortOrder;
|
|
560
|
-
propertyId?: Prisma.SortOrder;
|
|
561
|
-
borrowerId?: Prisma.SortOrder;
|
|
562
|
-
mortgageTypeId?: Prisma.SortOrder;
|
|
563
|
-
downpaymentPlanId?: Prisma.SortOrder;
|
|
564
|
-
principal?: Prisma.SortOrder;
|
|
565
|
-
downPayment?: Prisma.SortOrder;
|
|
566
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
567
|
-
termMonths?: Prisma.SortOrder;
|
|
568
|
-
interestRate?: Prisma.SortOrder;
|
|
569
|
-
monthlyPayment?: Prisma.SortOrder;
|
|
570
|
-
status?: Prisma.SortOrder;
|
|
571
|
-
state?: Prisma.SortOrder;
|
|
572
|
-
stateMetadata?: Prisma.SortOrder;
|
|
573
|
-
lastReminderSentAt?: Prisma.SortOrder;
|
|
574
|
-
createdAt?: Prisma.SortOrder;
|
|
575
|
-
updatedAt?: Prisma.SortOrder;
|
|
576
|
-
};
|
|
577
|
-
export type MortgageAvgOrderByAggregateInput = {
|
|
578
|
-
principal?: Prisma.SortOrder;
|
|
579
|
-
downPayment?: Prisma.SortOrder;
|
|
580
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
581
|
-
termMonths?: Prisma.SortOrder;
|
|
582
|
-
interestRate?: Prisma.SortOrder;
|
|
583
|
-
monthlyPayment?: Prisma.SortOrder;
|
|
584
|
-
};
|
|
585
|
-
export type MortgageMaxOrderByAggregateInput = {
|
|
586
|
-
id?: Prisma.SortOrder;
|
|
587
|
-
propertyId?: Prisma.SortOrder;
|
|
588
|
-
borrowerId?: Prisma.SortOrder;
|
|
589
|
-
mortgageTypeId?: Prisma.SortOrder;
|
|
590
|
-
downpaymentPlanId?: Prisma.SortOrder;
|
|
591
|
-
principal?: Prisma.SortOrder;
|
|
592
|
-
downPayment?: Prisma.SortOrder;
|
|
593
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
594
|
-
termMonths?: Prisma.SortOrder;
|
|
595
|
-
interestRate?: Prisma.SortOrder;
|
|
596
|
-
monthlyPayment?: Prisma.SortOrder;
|
|
597
|
-
status?: Prisma.SortOrder;
|
|
598
|
-
state?: Prisma.SortOrder;
|
|
599
|
-
stateMetadata?: Prisma.SortOrder;
|
|
600
|
-
lastReminderSentAt?: Prisma.SortOrder;
|
|
601
|
-
createdAt?: Prisma.SortOrder;
|
|
602
|
-
updatedAt?: Prisma.SortOrder;
|
|
603
|
-
};
|
|
604
|
-
export type MortgageMinOrderByAggregateInput = {
|
|
605
|
-
id?: Prisma.SortOrder;
|
|
606
|
-
propertyId?: Prisma.SortOrder;
|
|
607
|
-
borrowerId?: Prisma.SortOrder;
|
|
608
|
-
mortgageTypeId?: Prisma.SortOrder;
|
|
609
|
-
downpaymentPlanId?: Prisma.SortOrder;
|
|
610
|
-
principal?: Prisma.SortOrder;
|
|
611
|
-
downPayment?: Prisma.SortOrder;
|
|
612
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
613
|
-
termMonths?: Prisma.SortOrder;
|
|
614
|
-
interestRate?: Prisma.SortOrder;
|
|
615
|
-
monthlyPayment?: Prisma.SortOrder;
|
|
616
|
-
status?: Prisma.SortOrder;
|
|
617
|
-
state?: Prisma.SortOrder;
|
|
618
|
-
stateMetadata?: Prisma.SortOrder;
|
|
619
|
-
lastReminderSentAt?: Prisma.SortOrder;
|
|
620
|
-
createdAt?: Prisma.SortOrder;
|
|
621
|
-
updatedAt?: Prisma.SortOrder;
|
|
622
|
-
};
|
|
623
|
-
export type MortgageSumOrderByAggregateInput = {
|
|
624
|
-
principal?: Prisma.SortOrder;
|
|
625
|
-
downPayment?: Prisma.SortOrder;
|
|
626
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
627
|
-
termMonths?: Prisma.SortOrder;
|
|
628
|
-
interestRate?: Prisma.SortOrder;
|
|
629
|
-
monthlyPayment?: Prisma.SortOrder;
|
|
630
|
-
};
|
|
631
|
-
export type MortgageScalarRelationFilter = {
|
|
632
|
-
is?: Prisma.MortgageWhereInput;
|
|
633
|
-
isNot?: Prisma.MortgageWhereInput;
|
|
634
|
-
};
|
|
635
|
-
export type MortgageCreateNestedManyWithoutBorrowerInput = {
|
|
636
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutBorrowerInput, Prisma.MortgageUncheckedCreateWithoutBorrowerInput> | Prisma.MortgageCreateWithoutBorrowerInput[] | Prisma.MortgageUncheckedCreateWithoutBorrowerInput[];
|
|
637
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutBorrowerInput | Prisma.MortgageCreateOrConnectWithoutBorrowerInput[];
|
|
638
|
-
createMany?: Prisma.MortgageCreateManyBorrowerInputEnvelope;
|
|
639
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
640
|
-
};
|
|
641
|
-
export type MortgageUncheckedCreateNestedManyWithoutBorrowerInput = {
|
|
642
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutBorrowerInput, Prisma.MortgageUncheckedCreateWithoutBorrowerInput> | Prisma.MortgageCreateWithoutBorrowerInput[] | Prisma.MortgageUncheckedCreateWithoutBorrowerInput[];
|
|
643
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutBorrowerInput | Prisma.MortgageCreateOrConnectWithoutBorrowerInput[];
|
|
644
|
-
createMany?: Prisma.MortgageCreateManyBorrowerInputEnvelope;
|
|
645
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
646
|
-
};
|
|
647
|
-
export type MortgageUpdateManyWithoutBorrowerNestedInput = {
|
|
648
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutBorrowerInput, Prisma.MortgageUncheckedCreateWithoutBorrowerInput> | Prisma.MortgageCreateWithoutBorrowerInput[] | Prisma.MortgageUncheckedCreateWithoutBorrowerInput[];
|
|
649
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutBorrowerInput | Prisma.MortgageCreateOrConnectWithoutBorrowerInput[];
|
|
650
|
-
upsert?: Prisma.MortgageUpsertWithWhereUniqueWithoutBorrowerInput | Prisma.MortgageUpsertWithWhereUniqueWithoutBorrowerInput[];
|
|
651
|
-
createMany?: Prisma.MortgageCreateManyBorrowerInputEnvelope;
|
|
652
|
-
set?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
653
|
-
disconnect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
654
|
-
delete?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
655
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
656
|
-
update?: Prisma.MortgageUpdateWithWhereUniqueWithoutBorrowerInput | Prisma.MortgageUpdateWithWhereUniqueWithoutBorrowerInput[];
|
|
657
|
-
updateMany?: Prisma.MortgageUpdateManyWithWhereWithoutBorrowerInput | Prisma.MortgageUpdateManyWithWhereWithoutBorrowerInput[];
|
|
658
|
-
deleteMany?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
659
|
-
};
|
|
660
|
-
export type MortgageUncheckedUpdateManyWithoutBorrowerNestedInput = {
|
|
661
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutBorrowerInput, Prisma.MortgageUncheckedCreateWithoutBorrowerInput> | Prisma.MortgageCreateWithoutBorrowerInput[] | Prisma.MortgageUncheckedCreateWithoutBorrowerInput[];
|
|
662
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutBorrowerInput | Prisma.MortgageCreateOrConnectWithoutBorrowerInput[];
|
|
663
|
-
upsert?: Prisma.MortgageUpsertWithWhereUniqueWithoutBorrowerInput | Prisma.MortgageUpsertWithWhereUniqueWithoutBorrowerInput[];
|
|
664
|
-
createMany?: Prisma.MortgageCreateManyBorrowerInputEnvelope;
|
|
665
|
-
set?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
666
|
-
disconnect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
667
|
-
delete?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
668
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
669
|
-
update?: Prisma.MortgageUpdateWithWhereUniqueWithoutBorrowerInput | Prisma.MortgageUpdateWithWhereUniqueWithoutBorrowerInput[];
|
|
670
|
-
updateMany?: Prisma.MortgageUpdateManyWithWhereWithoutBorrowerInput | Prisma.MortgageUpdateManyWithWhereWithoutBorrowerInput[];
|
|
671
|
-
deleteMany?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
672
|
-
};
|
|
673
|
-
export type MortgageCreateNestedManyWithoutPropertyInput = {
|
|
674
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutPropertyInput, Prisma.MortgageUncheckedCreateWithoutPropertyInput> | Prisma.MortgageCreateWithoutPropertyInput[] | Prisma.MortgageUncheckedCreateWithoutPropertyInput[];
|
|
675
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutPropertyInput | Prisma.MortgageCreateOrConnectWithoutPropertyInput[];
|
|
676
|
-
createMany?: Prisma.MortgageCreateManyPropertyInputEnvelope;
|
|
677
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
678
|
-
};
|
|
679
|
-
export type MortgageUncheckedCreateNestedManyWithoutPropertyInput = {
|
|
680
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutPropertyInput, Prisma.MortgageUncheckedCreateWithoutPropertyInput> | Prisma.MortgageCreateWithoutPropertyInput[] | Prisma.MortgageUncheckedCreateWithoutPropertyInput[];
|
|
681
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutPropertyInput | Prisma.MortgageCreateOrConnectWithoutPropertyInput[];
|
|
682
|
-
createMany?: Prisma.MortgageCreateManyPropertyInputEnvelope;
|
|
683
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
684
|
-
};
|
|
685
|
-
export type MortgageUpdateManyWithoutPropertyNestedInput = {
|
|
686
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutPropertyInput, Prisma.MortgageUncheckedCreateWithoutPropertyInput> | Prisma.MortgageCreateWithoutPropertyInput[] | Prisma.MortgageUncheckedCreateWithoutPropertyInput[];
|
|
687
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutPropertyInput | Prisma.MortgageCreateOrConnectWithoutPropertyInput[];
|
|
688
|
-
upsert?: Prisma.MortgageUpsertWithWhereUniqueWithoutPropertyInput | Prisma.MortgageUpsertWithWhereUniqueWithoutPropertyInput[];
|
|
689
|
-
createMany?: Prisma.MortgageCreateManyPropertyInputEnvelope;
|
|
690
|
-
set?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
691
|
-
disconnect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
692
|
-
delete?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
693
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
694
|
-
update?: Prisma.MortgageUpdateWithWhereUniqueWithoutPropertyInput | Prisma.MortgageUpdateWithWhereUniqueWithoutPropertyInput[];
|
|
695
|
-
updateMany?: Prisma.MortgageUpdateManyWithWhereWithoutPropertyInput | Prisma.MortgageUpdateManyWithWhereWithoutPropertyInput[];
|
|
696
|
-
deleteMany?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
697
|
-
};
|
|
698
|
-
export type MortgageUncheckedUpdateManyWithoutPropertyNestedInput = {
|
|
699
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutPropertyInput, Prisma.MortgageUncheckedCreateWithoutPropertyInput> | Prisma.MortgageCreateWithoutPropertyInput[] | Prisma.MortgageUncheckedCreateWithoutPropertyInput[];
|
|
700
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutPropertyInput | Prisma.MortgageCreateOrConnectWithoutPropertyInput[];
|
|
701
|
-
upsert?: Prisma.MortgageUpsertWithWhereUniqueWithoutPropertyInput | Prisma.MortgageUpsertWithWhereUniqueWithoutPropertyInput[];
|
|
702
|
-
createMany?: Prisma.MortgageCreateManyPropertyInputEnvelope;
|
|
703
|
-
set?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
704
|
-
disconnect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
705
|
-
delete?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
706
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
707
|
-
update?: Prisma.MortgageUpdateWithWhereUniqueWithoutPropertyInput | Prisma.MortgageUpdateWithWhereUniqueWithoutPropertyInput[];
|
|
708
|
-
updateMany?: Prisma.MortgageUpdateManyWithWhereWithoutPropertyInput | Prisma.MortgageUpdateManyWithWhereWithoutPropertyInput[];
|
|
709
|
-
deleteMany?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
710
|
-
};
|
|
711
|
-
export type MortgageCreateNestedManyWithoutMortgageTypeInput = {
|
|
712
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutMortgageTypeInput, Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput> | Prisma.MortgageCreateWithoutMortgageTypeInput[] | Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput[];
|
|
713
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutMortgageTypeInput | Prisma.MortgageCreateOrConnectWithoutMortgageTypeInput[];
|
|
714
|
-
createMany?: Prisma.MortgageCreateManyMortgageTypeInputEnvelope;
|
|
715
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
716
|
-
};
|
|
717
|
-
export type MortgageUncheckedCreateNestedManyWithoutMortgageTypeInput = {
|
|
718
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutMortgageTypeInput, Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput> | Prisma.MortgageCreateWithoutMortgageTypeInput[] | Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput[];
|
|
719
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutMortgageTypeInput | Prisma.MortgageCreateOrConnectWithoutMortgageTypeInput[];
|
|
720
|
-
createMany?: Prisma.MortgageCreateManyMortgageTypeInputEnvelope;
|
|
721
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
722
|
-
};
|
|
723
|
-
export type MortgageUpdateManyWithoutMortgageTypeNestedInput = {
|
|
724
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutMortgageTypeInput, Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput> | Prisma.MortgageCreateWithoutMortgageTypeInput[] | Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput[];
|
|
725
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutMortgageTypeInput | Prisma.MortgageCreateOrConnectWithoutMortgageTypeInput[];
|
|
726
|
-
upsert?: Prisma.MortgageUpsertWithWhereUniqueWithoutMortgageTypeInput | Prisma.MortgageUpsertWithWhereUniqueWithoutMortgageTypeInput[];
|
|
727
|
-
createMany?: Prisma.MortgageCreateManyMortgageTypeInputEnvelope;
|
|
728
|
-
set?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
729
|
-
disconnect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
730
|
-
delete?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
731
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
732
|
-
update?: Prisma.MortgageUpdateWithWhereUniqueWithoutMortgageTypeInput | Prisma.MortgageUpdateWithWhereUniqueWithoutMortgageTypeInput[];
|
|
733
|
-
updateMany?: Prisma.MortgageUpdateManyWithWhereWithoutMortgageTypeInput | Prisma.MortgageUpdateManyWithWhereWithoutMortgageTypeInput[];
|
|
734
|
-
deleteMany?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
735
|
-
};
|
|
736
|
-
export type MortgageUncheckedUpdateManyWithoutMortgageTypeNestedInput = {
|
|
737
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutMortgageTypeInput, Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput> | Prisma.MortgageCreateWithoutMortgageTypeInput[] | Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput[];
|
|
738
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutMortgageTypeInput | Prisma.MortgageCreateOrConnectWithoutMortgageTypeInput[];
|
|
739
|
-
upsert?: Prisma.MortgageUpsertWithWhereUniqueWithoutMortgageTypeInput | Prisma.MortgageUpsertWithWhereUniqueWithoutMortgageTypeInput[];
|
|
740
|
-
createMany?: Prisma.MortgageCreateManyMortgageTypeInputEnvelope;
|
|
741
|
-
set?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
742
|
-
disconnect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
743
|
-
delete?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
744
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
745
|
-
update?: Prisma.MortgageUpdateWithWhereUniqueWithoutMortgageTypeInput | Prisma.MortgageUpdateWithWhereUniqueWithoutMortgageTypeInput[];
|
|
746
|
-
updateMany?: Prisma.MortgageUpdateManyWithWhereWithoutMortgageTypeInput | Prisma.MortgageUpdateManyWithWhereWithoutMortgageTypeInput[];
|
|
747
|
-
deleteMany?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
748
|
-
};
|
|
749
|
-
export type MortgageCreateNestedOneWithoutDocumentsInput = {
|
|
750
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutDocumentsInput, Prisma.MortgageUncheckedCreateWithoutDocumentsInput>;
|
|
751
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutDocumentsInput;
|
|
752
|
-
connect?: Prisma.MortgageWhereUniqueInput;
|
|
753
|
-
};
|
|
754
|
-
export type MortgageUpdateOneRequiredWithoutDocumentsNestedInput = {
|
|
755
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutDocumentsInput, Prisma.MortgageUncheckedCreateWithoutDocumentsInput>;
|
|
756
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutDocumentsInput;
|
|
757
|
-
upsert?: Prisma.MortgageUpsertWithoutDocumentsInput;
|
|
758
|
-
connect?: Prisma.MortgageWhereUniqueInput;
|
|
759
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.MortgageUpdateToOneWithWhereWithoutDocumentsInput, Prisma.MortgageUpdateWithoutDocumentsInput>, Prisma.MortgageUncheckedUpdateWithoutDocumentsInput>;
|
|
760
|
-
};
|
|
761
|
-
export type MortgageCreateNestedOneWithoutStepsInput = {
|
|
762
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutStepsInput, Prisma.MortgageUncheckedCreateWithoutStepsInput>;
|
|
763
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutStepsInput;
|
|
764
|
-
connect?: Prisma.MortgageWhereUniqueInput;
|
|
765
|
-
};
|
|
766
|
-
export type MortgageUpdateOneRequiredWithoutStepsNestedInput = {
|
|
767
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutStepsInput, Prisma.MortgageUncheckedCreateWithoutStepsInput>;
|
|
768
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutStepsInput;
|
|
769
|
-
upsert?: Prisma.MortgageUpsertWithoutStepsInput;
|
|
770
|
-
connect?: Prisma.MortgageWhereUniqueInput;
|
|
771
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.MortgageUpdateToOneWithWhereWithoutStepsInput, Prisma.MortgageUpdateWithoutStepsInput>, Prisma.MortgageUncheckedUpdateWithoutStepsInput>;
|
|
772
|
-
};
|
|
773
|
-
export type MortgageCreateNestedManyWithoutDownpaymentPlanInput = {
|
|
774
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutDownpaymentPlanInput, Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput> | Prisma.MortgageCreateWithoutDownpaymentPlanInput[] | Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput[];
|
|
775
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutDownpaymentPlanInput | Prisma.MortgageCreateOrConnectWithoutDownpaymentPlanInput[];
|
|
776
|
-
createMany?: Prisma.MortgageCreateManyDownpaymentPlanInputEnvelope;
|
|
777
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
778
|
-
};
|
|
779
|
-
export type MortgageUncheckedCreateNestedManyWithoutDownpaymentPlanInput = {
|
|
780
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutDownpaymentPlanInput, Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput> | Prisma.MortgageCreateWithoutDownpaymentPlanInput[] | Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput[];
|
|
781
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutDownpaymentPlanInput | Prisma.MortgageCreateOrConnectWithoutDownpaymentPlanInput[];
|
|
782
|
-
createMany?: Prisma.MortgageCreateManyDownpaymentPlanInputEnvelope;
|
|
783
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
784
|
-
};
|
|
785
|
-
export type MortgageUpdateManyWithoutDownpaymentPlanNestedInput = {
|
|
786
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutDownpaymentPlanInput, Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput> | Prisma.MortgageCreateWithoutDownpaymentPlanInput[] | Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput[];
|
|
787
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutDownpaymentPlanInput | Prisma.MortgageCreateOrConnectWithoutDownpaymentPlanInput[];
|
|
788
|
-
upsert?: Prisma.MortgageUpsertWithWhereUniqueWithoutDownpaymentPlanInput | Prisma.MortgageUpsertWithWhereUniqueWithoutDownpaymentPlanInput[];
|
|
789
|
-
createMany?: Prisma.MortgageCreateManyDownpaymentPlanInputEnvelope;
|
|
790
|
-
set?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
791
|
-
disconnect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
792
|
-
delete?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
793
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
794
|
-
update?: Prisma.MortgageUpdateWithWhereUniqueWithoutDownpaymentPlanInput | Prisma.MortgageUpdateWithWhereUniqueWithoutDownpaymentPlanInput[];
|
|
795
|
-
updateMany?: Prisma.MortgageUpdateManyWithWhereWithoutDownpaymentPlanInput | Prisma.MortgageUpdateManyWithWhereWithoutDownpaymentPlanInput[];
|
|
796
|
-
deleteMany?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
797
|
-
};
|
|
798
|
-
export type MortgageUncheckedUpdateManyWithoutDownpaymentPlanNestedInput = {
|
|
799
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutDownpaymentPlanInput, Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput> | Prisma.MortgageCreateWithoutDownpaymentPlanInput[] | Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput[];
|
|
800
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutDownpaymentPlanInput | Prisma.MortgageCreateOrConnectWithoutDownpaymentPlanInput[];
|
|
801
|
-
upsert?: Prisma.MortgageUpsertWithWhereUniqueWithoutDownpaymentPlanInput | Prisma.MortgageUpsertWithWhereUniqueWithoutDownpaymentPlanInput[];
|
|
802
|
-
createMany?: Prisma.MortgageCreateManyDownpaymentPlanInputEnvelope;
|
|
803
|
-
set?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
804
|
-
disconnect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
805
|
-
delete?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
806
|
-
connect?: Prisma.MortgageWhereUniqueInput | Prisma.MortgageWhereUniqueInput[];
|
|
807
|
-
update?: Prisma.MortgageUpdateWithWhereUniqueWithoutDownpaymentPlanInput | Prisma.MortgageUpdateWithWhereUniqueWithoutDownpaymentPlanInput[];
|
|
808
|
-
updateMany?: Prisma.MortgageUpdateManyWithWhereWithoutDownpaymentPlanInput | Prisma.MortgageUpdateManyWithWhereWithoutDownpaymentPlanInput[];
|
|
809
|
-
deleteMany?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
810
|
-
};
|
|
811
|
-
export type MortgageCreateNestedOneWithoutTransitionsInput = {
|
|
812
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutTransitionsInput, Prisma.MortgageUncheckedCreateWithoutTransitionsInput>;
|
|
813
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutTransitionsInput;
|
|
814
|
-
connect?: Prisma.MortgageWhereUniqueInput;
|
|
815
|
-
};
|
|
816
|
-
export type MortgageUpdateOneRequiredWithoutTransitionsNestedInput = {
|
|
817
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutTransitionsInput, Prisma.MortgageUncheckedCreateWithoutTransitionsInput>;
|
|
818
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutTransitionsInput;
|
|
819
|
-
upsert?: Prisma.MortgageUpsertWithoutTransitionsInput;
|
|
820
|
-
connect?: Prisma.MortgageWhereUniqueInput;
|
|
821
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.MortgageUpdateToOneWithWhereWithoutTransitionsInput, Prisma.MortgageUpdateWithoutTransitionsInput>, Prisma.MortgageUncheckedUpdateWithoutTransitionsInput>;
|
|
822
|
-
};
|
|
823
|
-
export type MortgageCreateNestedOneWithoutTransitionEventsInput = {
|
|
824
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutTransitionEventsInput, Prisma.MortgageUncheckedCreateWithoutTransitionEventsInput>;
|
|
825
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutTransitionEventsInput;
|
|
826
|
-
connect?: Prisma.MortgageWhereUniqueInput;
|
|
827
|
-
};
|
|
828
|
-
export type MortgageUpdateOneRequiredWithoutTransitionEventsNestedInput = {
|
|
829
|
-
create?: Prisma.XOR<Prisma.MortgageCreateWithoutTransitionEventsInput, Prisma.MortgageUncheckedCreateWithoutTransitionEventsInput>;
|
|
830
|
-
connectOrCreate?: Prisma.MortgageCreateOrConnectWithoutTransitionEventsInput;
|
|
831
|
-
upsert?: Prisma.MortgageUpsertWithoutTransitionEventsInput;
|
|
832
|
-
connect?: Prisma.MortgageWhereUniqueInput;
|
|
833
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.MortgageUpdateToOneWithWhereWithoutTransitionEventsInput, Prisma.MortgageUpdateWithoutTransitionEventsInput>, Prisma.MortgageUncheckedUpdateWithoutTransitionEventsInput>;
|
|
834
|
-
};
|
|
835
|
-
export type MortgageCreateWithoutBorrowerInput = {
|
|
836
|
-
id?: string;
|
|
837
|
-
principal: number;
|
|
838
|
-
downPayment: number;
|
|
839
|
-
downPaymentPaid?: number;
|
|
840
|
-
termMonths: number;
|
|
841
|
-
interestRate: number;
|
|
842
|
-
monthlyPayment: number;
|
|
843
|
-
status?: string;
|
|
844
|
-
state?: string;
|
|
845
|
-
stateMetadata?: string | null;
|
|
846
|
-
lastReminderSentAt?: Date | string | null;
|
|
847
|
-
createdAt?: Date | string;
|
|
848
|
-
updatedAt?: Date | string;
|
|
849
|
-
property: Prisma.PropertyCreateNestedOneWithoutMortgagesInput;
|
|
850
|
-
mortgageType?: Prisma.MortgageTypeCreateNestedOneWithoutMortgagesInput;
|
|
851
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanCreateNestedOneWithoutMortgagesInput;
|
|
852
|
-
documents?: Prisma.MortgageDocumentCreateNestedManyWithoutMortgageInput;
|
|
853
|
-
steps?: Prisma.MortgageStepCreateNestedManyWithoutMortgageInput;
|
|
854
|
-
transitions?: Prisma.MortgageTransitionCreateNestedManyWithoutMortgageInput;
|
|
855
|
-
transitionEvents?: Prisma.MortgageTransitionEventCreateNestedManyWithoutMortgageInput;
|
|
856
|
-
};
|
|
857
|
-
export type MortgageUncheckedCreateWithoutBorrowerInput = {
|
|
858
|
-
id?: string;
|
|
859
|
-
propertyId: string;
|
|
860
|
-
mortgageTypeId?: string | null;
|
|
861
|
-
downpaymentPlanId?: string | null;
|
|
862
|
-
principal: number;
|
|
863
|
-
downPayment: number;
|
|
864
|
-
downPaymentPaid?: number;
|
|
865
|
-
termMonths: number;
|
|
866
|
-
interestRate: number;
|
|
867
|
-
monthlyPayment: number;
|
|
868
|
-
status?: string;
|
|
869
|
-
state?: string;
|
|
870
|
-
stateMetadata?: string | null;
|
|
871
|
-
lastReminderSentAt?: Date | string | null;
|
|
872
|
-
createdAt?: Date | string;
|
|
873
|
-
updatedAt?: Date | string;
|
|
874
|
-
documents?: Prisma.MortgageDocumentUncheckedCreateNestedManyWithoutMortgageInput;
|
|
875
|
-
steps?: Prisma.MortgageStepUncheckedCreateNestedManyWithoutMortgageInput;
|
|
876
|
-
transitions?: Prisma.MortgageTransitionUncheckedCreateNestedManyWithoutMortgageInput;
|
|
877
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedCreateNestedManyWithoutMortgageInput;
|
|
878
|
-
};
|
|
879
|
-
export type MortgageCreateOrConnectWithoutBorrowerInput = {
|
|
880
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
881
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutBorrowerInput, Prisma.MortgageUncheckedCreateWithoutBorrowerInput>;
|
|
882
|
-
};
|
|
883
|
-
export type MortgageCreateManyBorrowerInputEnvelope = {
|
|
884
|
-
data: Prisma.MortgageCreateManyBorrowerInput | Prisma.MortgageCreateManyBorrowerInput[];
|
|
885
|
-
skipDuplicates?: boolean;
|
|
886
|
-
};
|
|
887
|
-
export type MortgageUpsertWithWhereUniqueWithoutBorrowerInput = {
|
|
888
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
889
|
-
update: Prisma.XOR<Prisma.MortgageUpdateWithoutBorrowerInput, Prisma.MortgageUncheckedUpdateWithoutBorrowerInput>;
|
|
890
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutBorrowerInput, Prisma.MortgageUncheckedCreateWithoutBorrowerInput>;
|
|
891
|
-
};
|
|
892
|
-
export type MortgageUpdateWithWhereUniqueWithoutBorrowerInput = {
|
|
893
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
894
|
-
data: Prisma.XOR<Prisma.MortgageUpdateWithoutBorrowerInput, Prisma.MortgageUncheckedUpdateWithoutBorrowerInput>;
|
|
895
|
-
};
|
|
896
|
-
export type MortgageUpdateManyWithWhereWithoutBorrowerInput = {
|
|
897
|
-
where: Prisma.MortgageScalarWhereInput;
|
|
898
|
-
data: Prisma.XOR<Prisma.MortgageUpdateManyMutationInput, Prisma.MortgageUncheckedUpdateManyWithoutBorrowerInput>;
|
|
899
|
-
};
|
|
900
|
-
export type MortgageScalarWhereInput = {
|
|
901
|
-
AND?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
902
|
-
OR?: Prisma.MortgageScalarWhereInput[];
|
|
903
|
-
NOT?: Prisma.MortgageScalarWhereInput | Prisma.MortgageScalarWhereInput[];
|
|
904
|
-
id?: Prisma.StringFilter<"Mortgage"> | string;
|
|
905
|
-
propertyId?: Prisma.StringFilter<"Mortgage"> | string;
|
|
906
|
-
borrowerId?: Prisma.StringFilter<"Mortgage"> | string;
|
|
907
|
-
mortgageTypeId?: Prisma.StringNullableFilter<"Mortgage"> | string | null;
|
|
908
|
-
downpaymentPlanId?: Prisma.StringNullableFilter<"Mortgage"> | string | null;
|
|
909
|
-
principal?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
910
|
-
downPayment?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
911
|
-
downPaymentPaid?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
912
|
-
termMonths?: Prisma.IntFilter<"Mortgage"> | number;
|
|
913
|
-
interestRate?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
914
|
-
monthlyPayment?: Prisma.FloatFilter<"Mortgage"> | number;
|
|
915
|
-
status?: Prisma.StringFilter<"Mortgage"> | string;
|
|
916
|
-
state?: Prisma.StringFilter<"Mortgage"> | string;
|
|
917
|
-
stateMetadata?: Prisma.StringNullableFilter<"Mortgage"> | string | null;
|
|
918
|
-
lastReminderSentAt?: Prisma.DateTimeNullableFilter<"Mortgage"> | Date | string | null;
|
|
919
|
-
createdAt?: Prisma.DateTimeFilter<"Mortgage"> | Date | string;
|
|
920
|
-
updatedAt?: Prisma.DateTimeFilter<"Mortgage"> | Date | string;
|
|
921
|
-
};
|
|
922
|
-
export type MortgageCreateWithoutPropertyInput = {
|
|
923
|
-
id?: string;
|
|
924
|
-
principal: number;
|
|
925
|
-
downPayment: number;
|
|
926
|
-
downPaymentPaid?: number;
|
|
927
|
-
termMonths: number;
|
|
928
|
-
interestRate: number;
|
|
929
|
-
monthlyPayment: number;
|
|
930
|
-
status?: string;
|
|
931
|
-
state?: string;
|
|
932
|
-
stateMetadata?: string | null;
|
|
933
|
-
lastReminderSentAt?: Date | string | null;
|
|
934
|
-
createdAt?: Date | string;
|
|
935
|
-
updatedAt?: Date | string;
|
|
936
|
-
borrower: Prisma.UserCreateNestedOneWithoutMortgagesInput;
|
|
937
|
-
mortgageType?: Prisma.MortgageTypeCreateNestedOneWithoutMortgagesInput;
|
|
938
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanCreateNestedOneWithoutMortgagesInput;
|
|
939
|
-
documents?: Prisma.MortgageDocumentCreateNestedManyWithoutMortgageInput;
|
|
940
|
-
steps?: Prisma.MortgageStepCreateNestedManyWithoutMortgageInput;
|
|
941
|
-
transitions?: Prisma.MortgageTransitionCreateNestedManyWithoutMortgageInput;
|
|
942
|
-
transitionEvents?: Prisma.MortgageTransitionEventCreateNestedManyWithoutMortgageInput;
|
|
943
|
-
};
|
|
944
|
-
export type MortgageUncheckedCreateWithoutPropertyInput = {
|
|
945
|
-
id?: string;
|
|
946
|
-
borrowerId: string;
|
|
947
|
-
mortgageTypeId?: string | null;
|
|
948
|
-
downpaymentPlanId?: string | null;
|
|
949
|
-
principal: number;
|
|
950
|
-
downPayment: number;
|
|
951
|
-
downPaymentPaid?: number;
|
|
952
|
-
termMonths: number;
|
|
953
|
-
interestRate: number;
|
|
954
|
-
monthlyPayment: number;
|
|
955
|
-
status?: string;
|
|
956
|
-
state?: string;
|
|
957
|
-
stateMetadata?: string | null;
|
|
958
|
-
lastReminderSentAt?: Date | string | null;
|
|
959
|
-
createdAt?: Date | string;
|
|
960
|
-
updatedAt?: Date | string;
|
|
961
|
-
documents?: Prisma.MortgageDocumentUncheckedCreateNestedManyWithoutMortgageInput;
|
|
962
|
-
steps?: Prisma.MortgageStepUncheckedCreateNestedManyWithoutMortgageInput;
|
|
963
|
-
transitions?: Prisma.MortgageTransitionUncheckedCreateNestedManyWithoutMortgageInput;
|
|
964
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedCreateNestedManyWithoutMortgageInput;
|
|
965
|
-
};
|
|
966
|
-
export type MortgageCreateOrConnectWithoutPropertyInput = {
|
|
967
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
968
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutPropertyInput, Prisma.MortgageUncheckedCreateWithoutPropertyInput>;
|
|
969
|
-
};
|
|
970
|
-
export type MortgageCreateManyPropertyInputEnvelope = {
|
|
971
|
-
data: Prisma.MortgageCreateManyPropertyInput | Prisma.MortgageCreateManyPropertyInput[];
|
|
972
|
-
skipDuplicates?: boolean;
|
|
973
|
-
};
|
|
974
|
-
export type MortgageUpsertWithWhereUniqueWithoutPropertyInput = {
|
|
975
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
976
|
-
update: Prisma.XOR<Prisma.MortgageUpdateWithoutPropertyInput, Prisma.MortgageUncheckedUpdateWithoutPropertyInput>;
|
|
977
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutPropertyInput, Prisma.MortgageUncheckedCreateWithoutPropertyInput>;
|
|
978
|
-
};
|
|
979
|
-
export type MortgageUpdateWithWhereUniqueWithoutPropertyInput = {
|
|
980
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
981
|
-
data: Prisma.XOR<Prisma.MortgageUpdateWithoutPropertyInput, Prisma.MortgageUncheckedUpdateWithoutPropertyInput>;
|
|
982
|
-
};
|
|
983
|
-
export type MortgageUpdateManyWithWhereWithoutPropertyInput = {
|
|
984
|
-
where: Prisma.MortgageScalarWhereInput;
|
|
985
|
-
data: Prisma.XOR<Prisma.MortgageUpdateManyMutationInput, Prisma.MortgageUncheckedUpdateManyWithoutPropertyInput>;
|
|
986
|
-
};
|
|
987
|
-
export type MortgageCreateWithoutMortgageTypeInput = {
|
|
988
|
-
id?: string;
|
|
989
|
-
principal: number;
|
|
990
|
-
downPayment: number;
|
|
991
|
-
downPaymentPaid?: number;
|
|
992
|
-
termMonths: number;
|
|
993
|
-
interestRate: number;
|
|
994
|
-
monthlyPayment: number;
|
|
995
|
-
status?: string;
|
|
996
|
-
state?: string;
|
|
997
|
-
stateMetadata?: string | null;
|
|
998
|
-
lastReminderSentAt?: Date | string | null;
|
|
999
|
-
createdAt?: Date | string;
|
|
1000
|
-
updatedAt?: Date | string;
|
|
1001
|
-
property: Prisma.PropertyCreateNestedOneWithoutMortgagesInput;
|
|
1002
|
-
borrower: Prisma.UserCreateNestedOneWithoutMortgagesInput;
|
|
1003
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanCreateNestedOneWithoutMortgagesInput;
|
|
1004
|
-
documents?: Prisma.MortgageDocumentCreateNestedManyWithoutMortgageInput;
|
|
1005
|
-
steps?: Prisma.MortgageStepCreateNestedManyWithoutMortgageInput;
|
|
1006
|
-
transitions?: Prisma.MortgageTransitionCreateNestedManyWithoutMortgageInput;
|
|
1007
|
-
transitionEvents?: Prisma.MortgageTransitionEventCreateNestedManyWithoutMortgageInput;
|
|
1008
|
-
};
|
|
1009
|
-
export type MortgageUncheckedCreateWithoutMortgageTypeInput = {
|
|
1010
|
-
id?: string;
|
|
1011
|
-
propertyId: string;
|
|
1012
|
-
borrowerId: string;
|
|
1013
|
-
downpaymentPlanId?: string | null;
|
|
1014
|
-
principal: number;
|
|
1015
|
-
downPayment: number;
|
|
1016
|
-
downPaymentPaid?: number;
|
|
1017
|
-
termMonths: number;
|
|
1018
|
-
interestRate: number;
|
|
1019
|
-
monthlyPayment: number;
|
|
1020
|
-
status?: string;
|
|
1021
|
-
state?: string;
|
|
1022
|
-
stateMetadata?: string | null;
|
|
1023
|
-
lastReminderSentAt?: Date | string | null;
|
|
1024
|
-
createdAt?: Date | string;
|
|
1025
|
-
updatedAt?: Date | string;
|
|
1026
|
-
documents?: Prisma.MortgageDocumentUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1027
|
-
steps?: Prisma.MortgageStepUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1028
|
-
transitions?: Prisma.MortgageTransitionUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1029
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1030
|
-
};
|
|
1031
|
-
export type MortgageCreateOrConnectWithoutMortgageTypeInput = {
|
|
1032
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1033
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutMortgageTypeInput, Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput>;
|
|
1034
|
-
};
|
|
1035
|
-
export type MortgageCreateManyMortgageTypeInputEnvelope = {
|
|
1036
|
-
data: Prisma.MortgageCreateManyMortgageTypeInput | Prisma.MortgageCreateManyMortgageTypeInput[];
|
|
1037
|
-
skipDuplicates?: boolean;
|
|
1038
|
-
};
|
|
1039
|
-
export type MortgageUpsertWithWhereUniqueWithoutMortgageTypeInput = {
|
|
1040
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1041
|
-
update: Prisma.XOR<Prisma.MortgageUpdateWithoutMortgageTypeInput, Prisma.MortgageUncheckedUpdateWithoutMortgageTypeInput>;
|
|
1042
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutMortgageTypeInput, Prisma.MortgageUncheckedCreateWithoutMortgageTypeInput>;
|
|
1043
|
-
};
|
|
1044
|
-
export type MortgageUpdateWithWhereUniqueWithoutMortgageTypeInput = {
|
|
1045
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1046
|
-
data: Prisma.XOR<Prisma.MortgageUpdateWithoutMortgageTypeInput, Prisma.MortgageUncheckedUpdateWithoutMortgageTypeInput>;
|
|
1047
|
-
};
|
|
1048
|
-
export type MortgageUpdateManyWithWhereWithoutMortgageTypeInput = {
|
|
1049
|
-
where: Prisma.MortgageScalarWhereInput;
|
|
1050
|
-
data: Prisma.XOR<Prisma.MortgageUpdateManyMutationInput, Prisma.MortgageUncheckedUpdateManyWithoutMortgageTypeInput>;
|
|
1051
|
-
};
|
|
1052
|
-
export type MortgageCreateWithoutDocumentsInput = {
|
|
1053
|
-
id?: string;
|
|
1054
|
-
principal: number;
|
|
1055
|
-
downPayment: number;
|
|
1056
|
-
downPaymentPaid?: number;
|
|
1057
|
-
termMonths: number;
|
|
1058
|
-
interestRate: number;
|
|
1059
|
-
monthlyPayment: number;
|
|
1060
|
-
status?: string;
|
|
1061
|
-
state?: string;
|
|
1062
|
-
stateMetadata?: string | null;
|
|
1063
|
-
lastReminderSentAt?: Date | string | null;
|
|
1064
|
-
createdAt?: Date | string;
|
|
1065
|
-
updatedAt?: Date | string;
|
|
1066
|
-
property: Prisma.PropertyCreateNestedOneWithoutMortgagesInput;
|
|
1067
|
-
borrower: Prisma.UserCreateNestedOneWithoutMortgagesInput;
|
|
1068
|
-
mortgageType?: Prisma.MortgageTypeCreateNestedOneWithoutMortgagesInput;
|
|
1069
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanCreateNestedOneWithoutMortgagesInput;
|
|
1070
|
-
steps?: Prisma.MortgageStepCreateNestedManyWithoutMortgageInput;
|
|
1071
|
-
transitions?: Prisma.MortgageTransitionCreateNestedManyWithoutMortgageInput;
|
|
1072
|
-
transitionEvents?: Prisma.MortgageTransitionEventCreateNestedManyWithoutMortgageInput;
|
|
1073
|
-
};
|
|
1074
|
-
export type MortgageUncheckedCreateWithoutDocumentsInput = {
|
|
1075
|
-
id?: string;
|
|
1076
|
-
propertyId: string;
|
|
1077
|
-
borrowerId: string;
|
|
1078
|
-
mortgageTypeId?: string | null;
|
|
1079
|
-
downpaymentPlanId?: string | null;
|
|
1080
|
-
principal: number;
|
|
1081
|
-
downPayment: number;
|
|
1082
|
-
downPaymentPaid?: number;
|
|
1083
|
-
termMonths: number;
|
|
1084
|
-
interestRate: number;
|
|
1085
|
-
monthlyPayment: number;
|
|
1086
|
-
status?: string;
|
|
1087
|
-
state?: string;
|
|
1088
|
-
stateMetadata?: string | null;
|
|
1089
|
-
lastReminderSentAt?: Date | string | null;
|
|
1090
|
-
createdAt?: Date | string;
|
|
1091
|
-
updatedAt?: Date | string;
|
|
1092
|
-
steps?: Prisma.MortgageStepUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1093
|
-
transitions?: Prisma.MortgageTransitionUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1094
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1095
|
-
};
|
|
1096
|
-
export type MortgageCreateOrConnectWithoutDocumentsInput = {
|
|
1097
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1098
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutDocumentsInput, Prisma.MortgageUncheckedCreateWithoutDocumentsInput>;
|
|
1099
|
-
};
|
|
1100
|
-
export type MortgageUpsertWithoutDocumentsInput = {
|
|
1101
|
-
update: Prisma.XOR<Prisma.MortgageUpdateWithoutDocumentsInput, Prisma.MortgageUncheckedUpdateWithoutDocumentsInput>;
|
|
1102
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutDocumentsInput, Prisma.MortgageUncheckedCreateWithoutDocumentsInput>;
|
|
1103
|
-
where?: Prisma.MortgageWhereInput;
|
|
1104
|
-
};
|
|
1105
|
-
export type MortgageUpdateToOneWithWhereWithoutDocumentsInput = {
|
|
1106
|
-
where?: Prisma.MortgageWhereInput;
|
|
1107
|
-
data: Prisma.XOR<Prisma.MortgageUpdateWithoutDocumentsInput, Prisma.MortgageUncheckedUpdateWithoutDocumentsInput>;
|
|
1108
|
-
};
|
|
1109
|
-
export type MortgageUpdateWithoutDocumentsInput = {
|
|
1110
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1111
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1112
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1113
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1114
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1115
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1116
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1117
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1118
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1119
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1120
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1121
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1122
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1123
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1124
|
-
borrower?: Prisma.UserUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1125
|
-
mortgageType?: Prisma.MortgageTypeUpdateOneWithoutMortgagesNestedInput;
|
|
1126
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanUpdateOneWithoutMortgagesNestedInput;
|
|
1127
|
-
steps?: Prisma.MortgageStepUpdateManyWithoutMortgageNestedInput;
|
|
1128
|
-
transitions?: Prisma.MortgageTransitionUpdateManyWithoutMortgageNestedInput;
|
|
1129
|
-
transitionEvents?: Prisma.MortgageTransitionEventUpdateManyWithoutMortgageNestedInput;
|
|
1130
|
-
};
|
|
1131
|
-
export type MortgageUncheckedUpdateWithoutDocumentsInput = {
|
|
1132
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1133
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1134
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1135
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1136
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1137
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1138
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1139
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1140
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1141
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1142
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1143
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1144
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1145
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1146
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1147
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1148
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1149
|
-
steps?: Prisma.MortgageStepUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1150
|
-
transitions?: Prisma.MortgageTransitionUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1151
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1152
|
-
};
|
|
1153
|
-
export type MortgageCreateWithoutStepsInput = {
|
|
1154
|
-
id?: string;
|
|
1155
|
-
principal: number;
|
|
1156
|
-
downPayment: number;
|
|
1157
|
-
downPaymentPaid?: number;
|
|
1158
|
-
termMonths: number;
|
|
1159
|
-
interestRate: number;
|
|
1160
|
-
monthlyPayment: number;
|
|
1161
|
-
status?: string;
|
|
1162
|
-
state?: string;
|
|
1163
|
-
stateMetadata?: string | null;
|
|
1164
|
-
lastReminderSentAt?: Date | string | null;
|
|
1165
|
-
createdAt?: Date | string;
|
|
1166
|
-
updatedAt?: Date | string;
|
|
1167
|
-
property: Prisma.PropertyCreateNestedOneWithoutMortgagesInput;
|
|
1168
|
-
borrower: Prisma.UserCreateNestedOneWithoutMortgagesInput;
|
|
1169
|
-
mortgageType?: Prisma.MortgageTypeCreateNestedOneWithoutMortgagesInput;
|
|
1170
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanCreateNestedOneWithoutMortgagesInput;
|
|
1171
|
-
documents?: Prisma.MortgageDocumentCreateNestedManyWithoutMortgageInput;
|
|
1172
|
-
transitions?: Prisma.MortgageTransitionCreateNestedManyWithoutMortgageInput;
|
|
1173
|
-
transitionEvents?: Prisma.MortgageTransitionEventCreateNestedManyWithoutMortgageInput;
|
|
1174
|
-
};
|
|
1175
|
-
export type MortgageUncheckedCreateWithoutStepsInput = {
|
|
1176
|
-
id?: string;
|
|
1177
|
-
propertyId: string;
|
|
1178
|
-
borrowerId: string;
|
|
1179
|
-
mortgageTypeId?: string | null;
|
|
1180
|
-
downpaymentPlanId?: string | null;
|
|
1181
|
-
principal: number;
|
|
1182
|
-
downPayment: number;
|
|
1183
|
-
downPaymentPaid?: number;
|
|
1184
|
-
termMonths: number;
|
|
1185
|
-
interestRate: number;
|
|
1186
|
-
monthlyPayment: number;
|
|
1187
|
-
status?: string;
|
|
1188
|
-
state?: string;
|
|
1189
|
-
stateMetadata?: string | null;
|
|
1190
|
-
lastReminderSentAt?: Date | string | null;
|
|
1191
|
-
createdAt?: Date | string;
|
|
1192
|
-
updatedAt?: Date | string;
|
|
1193
|
-
documents?: Prisma.MortgageDocumentUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1194
|
-
transitions?: Prisma.MortgageTransitionUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1195
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1196
|
-
};
|
|
1197
|
-
export type MortgageCreateOrConnectWithoutStepsInput = {
|
|
1198
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1199
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutStepsInput, Prisma.MortgageUncheckedCreateWithoutStepsInput>;
|
|
1200
|
-
};
|
|
1201
|
-
export type MortgageUpsertWithoutStepsInput = {
|
|
1202
|
-
update: Prisma.XOR<Prisma.MortgageUpdateWithoutStepsInput, Prisma.MortgageUncheckedUpdateWithoutStepsInput>;
|
|
1203
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutStepsInput, Prisma.MortgageUncheckedCreateWithoutStepsInput>;
|
|
1204
|
-
where?: Prisma.MortgageWhereInput;
|
|
1205
|
-
};
|
|
1206
|
-
export type MortgageUpdateToOneWithWhereWithoutStepsInput = {
|
|
1207
|
-
where?: Prisma.MortgageWhereInput;
|
|
1208
|
-
data: Prisma.XOR<Prisma.MortgageUpdateWithoutStepsInput, Prisma.MortgageUncheckedUpdateWithoutStepsInput>;
|
|
1209
|
-
};
|
|
1210
|
-
export type MortgageUpdateWithoutStepsInput = {
|
|
1211
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1212
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1213
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1214
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1215
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1216
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1217
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1218
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1219
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1220
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1221
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1222
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1223
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1224
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1225
|
-
borrower?: Prisma.UserUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1226
|
-
mortgageType?: Prisma.MortgageTypeUpdateOneWithoutMortgagesNestedInput;
|
|
1227
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanUpdateOneWithoutMortgagesNestedInput;
|
|
1228
|
-
documents?: Prisma.MortgageDocumentUpdateManyWithoutMortgageNestedInput;
|
|
1229
|
-
transitions?: Prisma.MortgageTransitionUpdateManyWithoutMortgageNestedInput;
|
|
1230
|
-
transitionEvents?: Prisma.MortgageTransitionEventUpdateManyWithoutMortgageNestedInput;
|
|
1231
|
-
};
|
|
1232
|
-
export type MortgageUncheckedUpdateWithoutStepsInput = {
|
|
1233
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1234
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1235
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1236
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1237
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1238
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1239
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1240
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1241
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1242
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1243
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1244
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1245
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1246
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1247
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1248
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1249
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1250
|
-
documents?: Prisma.MortgageDocumentUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1251
|
-
transitions?: Prisma.MortgageTransitionUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1252
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1253
|
-
};
|
|
1254
|
-
export type MortgageCreateWithoutDownpaymentPlanInput = {
|
|
1255
|
-
id?: string;
|
|
1256
|
-
principal: number;
|
|
1257
|
-
downPayment: number;
|
|
1258
|
-
downPaymentPaid?: number;
|
|
1259
|
-
termMonths: number;
|
|
1260
|
-
interestRate: number;
|
|
1261
|
-
monthlyPayment: number;
|
|
1262
|
-
status?: string;
|
|
1263
|
-
state?: string;
|
|
1264
|
-
stateMetadata?: string | null;
|
|
1265
|
-
lastReminderSentAt?: Date | string | null;
|
|
1266
|
-
createdAt?: Date | string;
|
|
1267
|
-
updatedAt?: Date | string;
|
|
1268
|
-
property: Prisma.PropertyCreateNestedOneWithoutMortgagesInput;
|
|
1269
|
-
borrower: Prisma.UserCreateNestedOneWithoutMortgagesInput;
|
|
1270
|
-
mortgageType?: Prisma.MortgageTypeCreateNestedOneWithoutMortgagesInput;
|
|
1271
|
-
documents?: Prisma.MortgageDocumentCreateNestedManyWithoutMortgageInput;
|
|
1272
|
-
steps?: Prisma.MortgageStepCreateNestedManyWithoutMortgageInput;
|
|
1273
|
-
transitions?: Prisma.MortgageTransitionCreateNestedManyWithoutMortgageInput;
|
|
1274
|
-
transitionEvents?: Prisma.MortgageTransitionEventCreateNestedManyWithoutMortgageInput;
|
|
1275
|
-
};
|
|
1276
|
-
export type MortgageUncheckedCreateWithoutDownpaymentPlanInput = {
|
|
1277
|
-
id?: string;
|
|
1278
|
-
propertyId: string;
|
|
1279
|
-
borrowerId: string;
|
|
1280
|
-
mortgageTypeId?: string | null;
|
|
1281
|
-
principal: number;
|
|
1282
|
-
downPayment: number;
|
|
1283
|
-
downPaymentPaid?: number;
|
|
1284
|
-
termMonths: number;
|
|
1285
|
-
interestRate: number;
|
|
1286
|
-
monthlyPayment: number;
|
|
1287
|
-
status?: string;
|
|
1288
|
-
state?: string;
|
|
1289
|
-
stateMetadata?: string | null;
|
|
1290
|
-
lastReminderSentAt?: Date | string | null;
|
|
1291
|
-
createdAt?: Date | string;
|
|
1292
|
-
updatedAt?: Date | string;
|
|
1293
|
-
documents?: Prisma.MortgageDocumentUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1294
|
-
steps?: Prisma.MortgageStepUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1295
|
-
transitions?: Prisma.MortgageTransitionUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1296
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1297
|
-
};
|
|
1298
|
-
export type MortgageCreateOrConnectWithoutDownpaymentPlanInput = {
|
|
1299
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1300
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutDownpaymentPlanInput, Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput>;
|
|
1301
|
-
};
|
|
1302
|
-
export type MortgageCreateManyDownpaymentPlanInputEnvelope = {
|
|
1303
|
-
data: Prisma.MortgageCreateManyDownpaymentPlanInput | Prisma.MortgageCreateManyDownpaymentPlanInput[];
|
|
1304
|
-
skipDuplicates?: boolean;
|
|
1305
|
-
};
|
|
1306
|
-
export type MortgageUpsertWithWhereUniqueWithoutDownpaymentPlanInput = {
|
|
1307
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1308
|
-
update: Prisma.XOR<Prisma.MortgageUpdateWithoutDownpaymentPlanInput, Prisma.MortgageUncheckedUpdateWithoutDownpaymentPlanInput>;
|
|
1309
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutDownpaymentPlanInput, Prisma.MortgageUncheckedCreateWithoutDownpaymentPlanInput>;
|
|
1310
|
-
};
|
|
1311
|
-
export type MortgageUpdateWithWhereUniqueWithoutDownpaymentPlanInput = {
|
|
1312
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1313
|
-
data: Prisma.XOR<Prisma.MortgageUpdateWithoutDownpaymentPlanInput, Prisma.MortgageUncheckedUpdateWithoutDownpaymentPlanInput>;
|
|
1314
|
-
};
|
|
1315
|
-
export type MortgageUpdateManyWithWhereWithoutDownpaymentPlanInput = {
|
|
1316
|
-
where: Prisma.MortgageScalarWhereInput;
|
|
1317
|
-
data: Prisma.XOR<Prisma.MortgageUpdateManyMutationInput, Prisma.MortgageUncheckedUpdateManyWithoutDownpaymentPlanInput>;
|
|
1318
|
-
};
|
|
1319
|
-
export type MortgageCreateWithoutTransitionsInput = {
|
|
1320
|
-
id?: string;
|
|
1321
|
-
principal: number;
|
|
1322
|
-
downPayment: number;
|
|
1323
|
-
downPaymentPaid?: number;
|
|
1324
|
-
termMonths: number;
|
|
1325
|
-
interestRate: number;
|
|
1326
|
-
monthlyPayment: number;
|
|
1327
|
-
status?: string;
|
|
1328
|
-
state?: string;
|
|
1329
|
-
stateMetadata?: string | null;
|
|
1330
|
-
lastReminderSentAt?: Date | string | null;
|
|
1331
|
-
createdAt?: Date | string;
|
|
1332
|
-
updatedAt?: Date | string;
|
|
1333
|
-
property: Prisma.PropertyCreateNestedOneWithoutMortgagesInput;
|
|
1334
|
-
borrower: Prisma.UserCreateNestedOneWithoutMortgagesInput;
|
|
1335
|
-
mortgageType?: Prisma.MortgageTypeCreateNestedOneWithoutMortgagesInput;
|
|
1336
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanCreateNestedOneWithoutMortgagesInput;
|
|
1337
|
-
documents?: Prisma.MortgageDocumentCreateNestedManyWithoutMortgageInput;
|
|
1338
|
-
steps?: Prisma.MortgageStepCreateNestedManyWithoutMortgageInput;
|
|
1339
|
-
transitionEvents?: Prisma.MortgageTransitionEventCreateNestedManyWithoutMortgageInput;
|
|
1340
|
-
};
|
|
1341
|
-
export type MortgageUncheckedCreateWithoutTransitionsInput = {
|
|
1342
|
-
id?: string;
|
|
1343
|
-
propertyId: string;
|
|
1344
|
-
borrowerId: string;
|
|
1345
|
-
mortgageTypeId?: string | null;
|
|
1346
|
-
downpaymentPlanId?: string | null;
|
|
1347
|
-
principal: number;
|
|
1348
|
-
downPayment: number;
|
|
1349
|
-
downPaymentPaid?: number;
|
|
1350
|
-
termMonths: number;
|
|
1351
|
-
interestRate: number;
|
|
1352
|
-
monthlyPayment: number;
|
|
1353
|
-
status?: string;
|
|
1354
|
-
state?: string;
|
|
1355
|
-
stateMetadata?: string | null;
|
|
1356
|
-
lastReminderSentAt?: Date | string | null;
|
|
1357
|
-
createdAt?: Date | string;
|
|
1358
|
-
updatedAt?: Date | string;
|
|
1359
|
-
documents?: Prisma.MortgageDocumentUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1360
|
-
steps?: Prisma.MortgageStepUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1361
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1362
|
-
};
|
|
1363
|
-
export type MortgageCreateOrConnectWithoutTransitionsInput = {
|
|
1364
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1365
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutTransitionsInput, Prisma.MortgageUncheckedCreateWithoutTransitionsInput>;
|
|
1366
|
-
};
|
|
1367
|
-
export type MortgageUpsertWithoutTransitionsInput = {
|
|
1368
|
-
update: Prisma.XOR<Prisma.MortgageUpdateWithoutTransitionsInput, Prisma.MortgageUncheckedUpdateWithoutTransitionsInput>;
|
|
1369
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutTransitionsInput, Prisma.MortgageUncheckedCreateWithoutTransitionsInput>;
|
|
1370
|
-
where?: Prisma.MortgageWhereInput;
|
|
1371
|
-
};
|
|
1372
|
-
export type MortgageUpdateToOneWithWhereWithoutTransitionsInput = {
|
|
1373
|
-
where?: Prisma.MortgageWhereInput;
|
|
1374
|
-
data: Prisma.XOR<Prisma.MortgageUpdateWithoutTransitionsInput, Prisma.MortgageUncheckedUpdateWithoutTransitionsInput>;
|
|
1375
|
-
};
|
|
1376
|
-
export type MortgageUpdateWithoutTransitionsInput = {
|
|
1377
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1378
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1379
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1380
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1381
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1382
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1383
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1384
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1385
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1386
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1387
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1388
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1389
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1390
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1391
|
-
borrower?: Prisma.UserUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1392
|
-
mortgageType?: Prisma.MortgageTypeUpdateOneWithoutMortgagesNestedInput;
|
|
1393
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanUpdateOneWithoutMortgagesNestedInput;
|
|
1394
|
-
documents?: Prisma.MortgageDocumentUpdateManyWithoutMortgageNestedInput;
|
|
1395
|
-
steps?: Prisma.MortgageStepUpdateManyWithoutMortgageNestedInput;
|
|
1396
|
-
transitionEvents?: Prisma.MortgageTransitionEventUpdateManyWithoutMortgageNestedInput;
|
|
1397
|
-
};
|
|
1398
|
-
export type MortgageUncheckedUpdateWithoutTransitionsInput = {
|
|
1399
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1400
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1401
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1402
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1403
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1404
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1405
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1406
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1407
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1408
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1409
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1410
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1411
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1412
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1413
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1414
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1415
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1416
|
-
documents?: Prisma.MortgageDocumentUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1417
|
-
steps?: Prisma.MortgageStepUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1418
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1419
|
-
};
|
|
1420
|
-
export type MortgageCreateWithoutTransitionEventsInput = {
|
|
1421
|
-
id?: string;
|
|
1422
|
-
principal: number;
|
|
1423
|
-
downPayment: number;
|
|
1424
|
-
downPaymentPaid?: number;
|
|
1425
|
-
termMonths: number;
|
|
1426
|
-
interestRate: number;
|
|
1427
|
-
monthlyPayment: number;
|
|
1428
|
-
status?: string;
|
|
1429
|
-
state?: string;
|
|
1430
|
-
stateMetadata?: string | null;
|
|
1431
|
-
lastReminderSentAt?: Date | string | null;
|
|
1432
|
-
createdAt?: Date | string;
|
|
1433
|
-
updatedAt?: Date | string;
|
|
1434
|
-
property: Prisma.PropertyCreateNestedOneWithoutMortgagesInput;
|
|
1435
|
-
borrower: Prisma.UserCreateNestedOneWithoutMortgagesInput;
|
|
1436
|
-
mortgageType?: Prisma.MortgageTypeCreateNestedOneWithoutMortgagesInput;
|
|
1437
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanCreateNestedOneWithoutMortgagesInput;
|
|
1438
|
-
documents?: Prisma.MortgageDocumentCreateNestedManyWithoutMortgageInput;
|
|
1439
|
-
steps?: Prisma.MortgageStepCreateNestedManyWithoutMortgageInput;
|
|
1440
|
-
transitions?: Prisma.MortgageTransitionCreateNestedManyWithoutMortgageInput;
|
|
1441
|
-
};
|
|
1442
|
-
export type MortgageUncheckedCreateWithoutTransitionEventsInput = {
|
|
1443
|
-
id?: string;
|
|
1444
|
-
propertyId: string;
|
|
1445
|
-
borrowerId: string;
|
|
1446
|
-
mortgageTypeId?: string | null;
|
|
1447
|
-
downpaymentPlanId?: string | null;
|
|
1448
|
-
principal: number;
|
|
1449
|
-
downPayment: number;
|
|
1450
|
-
downPaymentPaid?: number;
|
|
1451
|
-
termMonths: number;
|
|
1452
|
-
interestRate: number;
|
|
1453
|
-
monthlyPayment: number;
|
|
1454
|
-
status?: string;
|
|
1455
|
-
state?: string;
|
|
1456
|
-
stateMetadata?: string | null;
|
|
1457
|
-
lastReminderSentAt?: Date | string | null;
|
|
1458
|
-
createdAt?: Date | string;
|
|
1459
|
-
updatedAt?: Date | string;
|
|
1460
|
-
documents?: Prisma.MortgageDocumentUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1461
|
-
steps?: Prisma.MortgageStepUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1462
|
-
transitions?: Prisma.MortgageTransitionUncheckedCreateNestedManyWithoutMortgageInput;
|
|
1463
|
-
};
|
|
1464
|
-
export type MortgageCreateOrConnectWithoutTransitionEventsInput = {
|
|
1465
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
1466
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutTransitionEventsInput, Prisma.MortgageUncheckedCreateWithoutTransitionEventsInput>;
|
|
1467
|
-
};
|
|
1468
|
-
export type MortgageUpsertWithoutTransitionEventsInput = {
|
|
1469
|
-
update: Prisma.XOR<Prisma.MortgageUpdateWithoutTransitionEventsInput, Prisma.MortgageUncheckedUpdateWithoutTransitionEventsInput>;
|
|
1470
|
-
create: Prisma.XOR<Prisma.MortgageCreateWithoutTransitionEventsInput, Prisma.MortgageUncheckedCreateWithoutTransitionEventsInput>;
|
|
1471
|
-
where?: Prisma.MortgageWhereInput;
|
|
1472
|
-
};
|
|
1473
|
-
export type MortgageUpdateToOneWithWhereWithoutTransitionEventsInput = {
|
|
1474
|
-
where?: Prisma.MortgageWhereInput;
|
|
1475
|
-
data: Prisma.XOR<Prisma.MortgageUpdateWithoutTransitionEventsInput, Prisma.MortgageUncheckedUpdateWithoutTransitionEventsInput>;
|
|
1476
|
-
};
|
|
1477
|
-
export type MortgageUpdateWithoutTransitionEventsInput = {
|
|
1478
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1479
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1480
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1481
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1482
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1483
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1484
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1485
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1486
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1487
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1488
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1489
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1490
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1491
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1492
|
-
borrower?: Prisma.UserUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1493
|
-
mortgageType?: Prisma.MortgageTypeUpdateOneWithoutMortgagesNestedInput;
|
|
1494
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanUpdateOneWithoutMortgagesNestedInput;
|
|
1495
|
-
documents?: Prisma.MortgageDocumentUpdateManyWithoutMortgageNestedInput;
|
|
1496
|
-
steps?: Prisma.MortgageStepUpdateManyWithoutMortgageNestedInput;
|
|
1497
|
-
transitions?: Prisma.MortgageTransitionUpdateManyWithoutMortgageNestedInput;
|
|
1498
|
-
};
|
|
1499
|
-
export type MortgageUncheckedUpdateWithoutTransitionEventsInput = {
|
|
1500
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1501
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1502
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1503
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1504
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1505
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1506
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1507
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1508
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1509
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1510
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1511
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1512
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1513
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1514
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1515
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1516
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1517
|
-
documents?: Prisma.MortgageDocumentUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1518
|
-
steps?: Prisma.MortgageStepUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1519
|
-
transitions?: Prisma.MortgageTransitionUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1520
|
-
};
|
|
1521
|
-
export type MortgageCreateManyBorrowerInput = {
|
|
1522
|
-
id?: string;
|
|
1523
|
-
propertyId: string;
|
|
1524
|
-
mortgageTypeId?: string | null;
|
|
1525
|
-
downpaymentPlanId?: string | null;
|
|
1526
|
-
principal: number;
|
|
1527
|
-
downPayment: number;
|
|
1528
|
-
downPaymentPaid?: number;
|
|
1529
|
-
termMonths: number;
|
|
1530
|
-
interestRate: number;
|
|
1531
|
-
monthlyPayment: number;
|
|
1532
|
-
status?: string;
|
|
1533
|
-
state?: string;
|
|
1534
|
-
stateMetadata?: string | null;
|
|
1535
|
-
lastReminderSentAt?: Date | string | null;
|
|
1536
|
-
createdAt?: Date | string;
|
|
1537
|
-
updatedAt?: Date | string;
|
|
1538
|
-
};
|
|
1539
|
-
export type MortgageUpdateWithoutBorrowerInput = {
|
|
1540
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1541
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1542
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1543
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1544
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1545
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1546
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1547
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1548
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1549
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1550
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1551
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1552
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1553
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1554
|
-
mortgageType?: Prisma.MortgageTypeUpdateOneWithoutMortgagesNestedInput;
|
|
1555
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanUpdateOneWithoutMortgagesNestedInput;
|
|
1556
|
-
documents?: Prisma.MortgageDocumentUpdateManyWithoutMortgageNestedInput;
|
|
1557
|
-
steps?: Prisma.MortgageStepUpdateManyWithoutMortgageNestedInput;
|
|
1558
|
-
transitions?: Prisma.MortgageTransitionUpdateManyWithoutMortgageNestedInput;
|
|
1559
|
-
transitionEvents?: Prisma.MortgageTransitionEventUpdateManyWithoutMortgageNestedInput;
|
|
1560
|
-
};
|
|
1561
|
-
export type MortgageUncheckedUpdateWithoutBorrowerInput = {
|
|
1562
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1563
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1564
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1565
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1566
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1567
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1568
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1569
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1570
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1571
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1572
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1573
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1574
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1575
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1576
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1577
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1578
|
-
documents?: Prisma.MortgageDocumentUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1579
|
-
steps?: Prisma.MortgageStepUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1580
|
-
transitions?: Prisma.MortgageTransitionUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1581
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1582
|
-
};
|
|
1583
|
-
export type MortgageUncheckedUpdateManyWithoutBorrowerInput = {
|
|
1584
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1585
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1586
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1587
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1588
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1589
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1590
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1591
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1592
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1593
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1594
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1595
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1596
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1597
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1598
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1599
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1600
|
-
};
|
|
1601
|
-
export type MortgageCreateManyPropertyInput = {
|
|
1602
|
-
id?: string;
|
|
1603
|
-
borrowerId: string;
|
|
1604
|
-
mortgageTypeId?: string | null;
|
|
1605
|
-
downpaymentPlanId?: string | null;
|
|
1606
|
-
principal: number;
|
|
1607
|
-
downPayment: number;
|
|
1608
|
-
downPaymentPaid?: number;
|
|
1609
|
-
termMonths: number;
|
|
1610
|
-
interestRate: number;
|
|
1611
|
-
monthlyPayment: number;
|
|
1612
|
-
status?: string;
|
|
1613
|
-
state?: string;
|
|
1614
|
-
stateMetadata?: string | null;
|
|
1615
|
-
lastReminderSentAt?: Date | string | null;
|
|
1616
|
-
createdAt?: Date | string;
|
|
1617
|
-
updatedAt?: Date | string;
|
|
1618
|
-
};
|
|
1619
|
-
export type MortgageUpdateWithoutPropertyInput = {
|
|
1620
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1621
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1622
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1623
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1624
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1625
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1626
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1627
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1628
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1629
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1630
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1631
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1632
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1633
|
-
borrower?: Prisma.UserUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1634
|
-
mortgageType?: Prisma.MortgageTypeUpdateOneWithoutMortgagesNestedInput;
|
|
1635
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanUpdateOneWithoutMortgagesNestedInput;
|
|
1636
|
-
documents?: Prisma.MortgageDocumentUpdateManyWithoutMortgageNestedInput;
|
|
1637
|
-
steps?: Prisma.MortgageStepUpdateManyWithoutMortgageNestedInput;
|
|
1638
|
-
transitions?: Prisma.MortgageTransitionUpdateManyWithoutMortgageNestedInput;
|
|
1639
|
-
transitionEvents?: Prisma.MortgageTransitionEventUpdateManyWithoutMortgageNestedInput;
|
|
1640
|
-
};
|
|
1641
|
-
export type MortgageUncheckedUpdateWithoutPropertyInput = {
|
|
1642
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1643
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1644
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1645
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1646
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1647
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1648
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1649
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1650
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1651
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1652
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1653
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1654
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1655
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1656
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1657
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1658
|
-
documents?: Prisma.MortgageDocumentUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1659
|
-
steps?: Prisma.MortgageStepUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1660
|
-
transitions?: Prisma.MortgageTransitionUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1661
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1662
|
-
};
|
|
1663
|
-
export type MortgageUncheckedUpdateManyWithoutPropertyInput = {
|
|
1664
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1665
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1666
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1667
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1668
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1669
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1670
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1671
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1672
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1673
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1674
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1675
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1676
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1677
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1678
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1679
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1680
|
-
};
|
|
1681
|
-
export type MortgageCreateManyMortgageTypeInput = {
|
|
1682
|
-
id?: string;
|
|
1683
|
-
propertyId: string;
|
|
1684
|
-
borrowerId: string;
|
|
1685
|
-
downpaymentPlanId?: string | null;
|
|
1686
|
-
principal: number;
|
|
1687
|
-
downPayment: number;
|
|
1688
|
-
downPaymentPaid?: number;
|
|
1689
|
-
termMonths: number;
|
|
1690
|
-
interestRate: number;
|
|
1691
|
-
monthlyPayment: number;
|
|
1692
|
-
status?: string;
|
|
1693
|
-
state?: string;
|
|
1694
|
-
stateMetadata?: string | null;
|
|
1695
|
-
lastReminderSentAt?: Date | string | null;
|
|
1696
|
-
createdAt?: Date | string;
|
|
1697
|
-
updatedAt?: Date | string;
|
|
1698
|
-
};
|
|
1699
|
-
export type MortgageUpdateWithoutMortgageTypeInput = {
|
|
1700
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1701
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1702
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1703
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1704
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1705
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1706
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1707
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1708
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1709
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1710
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1711
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1712
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1713
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1714
|
-
borrower?: Prisma.UserUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1715
|
-
downpaymentPlan?: Prisma.MortgageDownpaymentPlanUpdateOneWithoutMortgagesNestedInput;
|
|
1716
|
-
documents?: Prisma.MortgageDocumentUpdateManyWithoutMortgageNestedInput;
|
|
1717
|
-
steps?: Prisma.MortgageStepUpdateManyWithoutMortgageNestedInput;
|
|
1718
|
-
transitions?: Prisma.MortgageTransitionUpdateManyWithoutMortgageNestedInput;
|
|
1719
|
-
transitionEvents?: Prisma.MortgageTransitionEventUpdateManyWithoutMortgageNestedInput;
|
|
1720
|
-
};
|
|
1721
|
-
export type MortgageUncheckedUpdateWithoutMortgageTypeInput = {
|
|
1722
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1723
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1724
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1725
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1726
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1727
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1728
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1729
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1730
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1731
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1732
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1733
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1734
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1735
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1736
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1737
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1738
|
-
documents?: Prisma.MortgageDocumentUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1739
|
-
steps?: Prisma.MortgageStepUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1740
|
-
transitions?: Prisma.MortgageTransitionUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1741
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1742
|
-
};
|
|
1743
|
-
export type MortgageUncheckedUpdateManyWithoutMortgageTypeInput = {
|
|
1744
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1745
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1746
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1747
|
-
downpaymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1748
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1749
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1750
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1751
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1752
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1753
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1754
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1755
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1756
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1757
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1758
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1759
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1760
|
-
};
|
|
1761
|
-
export type MortgageCreateManyDownpaymentPlanInput = {
|
|
1762
|
-
id?: string;
|
|
1763
|
-
propertyId: string;
|
|
1764
|
-
borrowerId: string;
|
|
1765
|
-
mortgageTypeId?: string | null;
|
|
1766
|
-
principal: number;
|
|
1767
|
-
downPayment: number;
|
|
1768
|
-
downPaymentPaid?: number;
|
|
1769
|
-
termMonths: number;
|
|
1770
|
-
interestRate: number;
|
|
1771
|
-
monthlyPayment: number;
|
|
1772
|
-
status?: string;
|
|
1773
|
-
state?: string;
|
|
1774
|
-
stateMetadata?: string | null;
|
|
1775
|
-
lastReminderSentAt?: Date | string | null;
|
|
1776
|
-
createdAt?: Date | string;
|
|
1777
|
-
updatedAt?: Date | string;
|
|
1778
|
-
};
|
|
1779
|
-
export type MortgageUpdateWithoutDownpaymentPlanInput = {
|
|
1780
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1781
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1782
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1783
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1784
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1785
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1786
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1787
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1788
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1789
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1790
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1791
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1792
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1793
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1794
|
-
borrower?: Prisma.UserUpdateOneRequiredWithoutMortgagesNestedInput;
|
|
1795
|
-
mortgageType?: Prisma.MortgageTypeUpdateOneWithoutMortgagesNestedInput;
|
|
1796
|
-
documents?: Prisma.MortgageDocumentUpdateManyWithoutMortgageNestedInput;
|
|
1797
|
-
steps?: Prisma.MortgageStepUpdateManyWithoutMortgageNestedInput;
|
|
1798
|
-
transitions?: Prisma.MortgageTransitionUpdateManyWithoutMortgageNestedInput;
|
|
1799
|
-
transitionEvents?: Prisma.MortgageTransitionEventUpdateManyWithoutMortgageNestedInput;
|
|
1800
|
-
};
|
|
1801
|
-
export type MortgageUncheckedUpdateWithoutDownpaymentPlanInput = {
|
|
1802
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1803
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1804
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1805
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1806
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1807
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1808
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1809
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1810
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1811
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1812
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1813
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1814
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1815
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1816
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1817
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1818
|
-
documents?: Prisma.MortgageDocumentUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1819
|
-
steps?: Prisma.MortgageStepUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1820
|
-
transitions?: Prisma.MortgageTransitionUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1821
|
-
transitionEvents?: Prisma.MortgageTransitionEventUncheckedUpdateManyWithoutMortgageNestedInput;
|
|
1822
|
-
};
|
|
1823
|
-
export type MortgageUncheckedUpdateManyWithoutDownpaymentPlanInput = {
|
|
1824
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1825
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1826
|
-
borrowerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1827
|
-
mortgageTypeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1828
|
-
principal?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1829
|
-
downPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1830
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1831
|
-
termMonths?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1832
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1833
|
-
monthlyPayment?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1834
|
-
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1835
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1836
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1837
|
-
lastReminderSentAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1838
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1839
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1840
|
-
};
|
|
1841
|
-
/**
|
|
1842
|
-
* Count Type MortgageCountOutputType
|
|
1843
|
-
*/
|
|
1844
|
-
export type MortgageCountOutputType = {
|
|
1845
|
-
documents: number;
|
|
1846
|
-
steps: number;
|
|
1847
|
-
transitions: number;
|
|
1848
|
-
transitionEvents: number;
|
|
1849
|
-
};
|
|
1850
|
-
export type MortgageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1851
|
-
documents?: boolean | MortgageCountOutputTypeCountDocumentsArgs;
|
|
1852
|
-
steps?: boolean | MortgageCountOutputTypeCountStepsArgs;
|
|
1853
|
-
transitions?: boolean | MortgageCountOutputTypeCountTransitionsArgs;
|
|
1854
|
-
transitionEvents?: boolean | MortgageCountOutputTypeCountTransitionEventsArgs;
|
|
1855
|
-
};
|
|
1856
|
-
/**
|
|
1857
|
-
* MortgageCountOutputType without action
|
|
1858
|
-
*/
|
|
1859
|
-
export type MortgageCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1860
|
-
/**
|
|
1861
|
-
* Select specific fields to fetch from the MortgageCountOutputType
|
|
1862
|
-
*/
|
|
1863
|
-
select?: Prisma.MortgageCountOutputTypeSelect<ExtArgs> | null;
|
|
1864
|
-
};
|
|
1865
|
-
/**
|
|
1866
|
-
* MortgageCountOutputType without action
|
|
1867
|
-
*/
|
|
1868
|
-
export type MortgageCountOutputTypeCountDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1869
|
-
where?: Prisma.MortgageDocumentWhereInput;
|
|
1870
|
-
};
|
|
1871
|
-
/**
|
|
1872
|
-
* MortgageCountOutputType without action
|
|
1873
|
-
*/
|
|
1874
|
-
export type MortgageCountOutputTypeCountStepsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1875
|
-
where?: Prisma.MortgageStepWhereInput;
|
|
1876
|
-
};
|
|
1877
|
-
/**
|
|
1878
|
-
* MortgageCountOutputType without action
|
|
1879
|
-
*/
|
|
1880
|
-
export type MortgageCountOutputTypeCountTransitionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1881
|
-
where?: Prisma.MortgageTransitionWhereInput;
|
|
1882
|
-
};
|
|
1883
|
-
/**
|
|
1884
|
-
* MortgageCountOutputType without action
|
|
1885
|
-
*/
|
|
1886
|
-
export type MortgageCountOutputTypeCountTransitionEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1887
|
-
where?: Prisma.MortgageTransitionEventWhereInput;
|
|
1888
|
-
};
|
|
1889
|
-
export type MortgageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1890
|
-
id?: boolean;
|
|
1891
|
-
propertyId?: boolean;
|
|
1892
|
-
borrowerId?: boolean;
|
|
1893
|
-
mortgageTypeId?: boolean;
|
|
1894
|
-
downpaymentPlanId?: boolean;
|
|
1895
|
-
principal?: boolean;
|
|
1896
|
-
downPayment?: boolean;
|
|
1897
|
-
downPaymentPaid?: boolean;
|
|
1898
|
-
termMonths?: boolean;
|
|
1899
|
-
interestRate?: boolean;
|
|
1900
|
-
monthlyPayment?: boolean;
|
|
1901
|
-
status?: boolean;
|
|
1902
|
-
state?: boolean;
|
|
1903
|
-
stateMetadata?: boolean;
|
|
1904
|
-
lastReminderSentAt?: boolean;
|
|
1905
|
-
createdAt?: boolean;
|
|
1906
|
-
updatedAt?: boolean;
|
|
1907
|
-
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
1908
|
-
borrower?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1909
|
-
mortgageType?: boolean | Prisma.Mortgage$mortgageTypeArgs<ExtArgs>;
|
|
1910
|
-
downpaymentPlan?: boolean | Prisma.Mortgage$downpaymentPlanArgs<ExtArgs>;
|
|
1911
|
-
documents?: boolean | Prisma.Mortgage$documentsArgs<ExtArgs>;
|
|
1912
|
-
steps?: boolean | Prisma.Mortgage$stepsArgs<ExtArgs>;
|
|
1913
|
-
transitions?: boolean | Prisma.Mortgage$transitionsArgs<ExtArgs>;
|
|
1914
|
-
transitionEvents?: boolean | Prisma.Mortgage$transitionEventsArgs<ExtArgs>;
|
|
1915
|
-
_count?: boolean | Prisma.MortgageCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1916
|
-
}, ExtArgs["result"]["mortgage"]>;
|
|
1917
|
-
export type MortgageSelectScalar = {
|
|
1918
|
-
id?: boolean;
|
|
1919
|
-
propertyId?: boolean;
|
|
1920
|
-
borrowerId?: boolean;
|
|
1921
|
-
mortgageTypeId?: boolean;
|
|
1922
|
-
downpaymentPlanId?: boolean;
|
|
1923
|
-
principal?: boolean;
|
|
1924
|
-
downPayment?: boolean;
|
|
1925
|
-
downPaymentPaid?: boolean;
|
|
1926
|
-
termMonths?: boolean;
|
|
1927
|
-
interestRate?: boolean;
|
|
1928
|
-
monthlyPayment?: boolean;
|
|
1929
|
-
status?: boolean;
|
|
1930
|
-
state?: boolean;
|
|
1931
|
-
stateMetadata?: boolean;
|
|
1932
|
-
lastReminderSentAt?: boolean;
|
|
1933
|
-
createdAt?: boolean;
|
|
1934
|
-
updatedAt?: boolean;
|
|
1935
|
-
};
|
|
1936
|
-
export type MortgageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "propertyId" | "borrowerId" | "mortgageTypeId" | "downpaymentPlanId" | "principal" | "downPayment" | "downPaymentPaid" | "termMonths" | "interestRate" | "monthlyPayment" | "status" | "state" | "stateMetadata" | "lastReminderSentAt" | "createdAt" | "updatedAt", ExtArgs["result"]["mortgage"]>;
|
|
1937
|
-
export type MortgageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1938
|
-
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
1939
|
-
borrower?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1940
|
-
mortgageType?: boolean | Prisma.Mortgage$mortgageTypeArgs<ExtArgs>;
|
|
1941
|
-
downpaymentPlan?: boolean | Prisma.Mortgage$downpaymentPlanArgs<ExtArgs>;
|
|
1942
|
-
documents?: boolean | Prisma.Mortgage$documentsArgs<ExtArgs>;
|
|
1943
|
-
steps?: boolean | Prisma.Mortgage$stepsArgs<ExtArgs>;
|
|
1944
|
-
transitions?: boolean | Prisma.Mortgage$transitionsArgs<ExtArgs>;
|
|
1945
|
-
transitionEvents?: boolean | Prisma.Mortgage$transitionEventsArgs<ExtArgs>;
|
|
1946
|
-
_count?: boolean | Prisma.MortgageCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1947
|
-
};
|
|
1948
|
-
export type $MortgagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1949
|
-
name: "Mortgage";
|
|
1950
|
-
objects: {
|
|
1951
|
-
property: Prisma.$PropertyPayload<ExtArgs>;
|
|
1952
|
-
borrower: Prisma.$UserPayload<ExtArgs>;
|
|
1953
|
-
mortgageType: Prisma.$MortgageTypePayload<ExtArgs> | null;
|
|
1954
|
-
downpaymentPlan: Prisma.$MortgageDownpaymentPlanPayload<ExtArgs> | null;
|
|
1955
|
-
documents: Prisma.$MortgageDocumentPayload<ExtArgs>[];
|
|
1956
|
-
steps: Prisma.$MortgageStepPayload<ExtArgs>[];
|
|
1957
|
-
transitions: Prisma.$MortgageTransitionPayload<ExtArgs>[];
|
|
1958
|
-
transitionEvents: Prisma.$MortgageTransitionEventPayload<ExtArgs>[];
|
|
1959
|
-
};
|
|
1960
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1961
|
-
id: string;
|
|
1962
|
-
propertyId: string;
|
|
1963
|
-
borrowerId: string;
|
|
1964
|
-
mortgageTypeId: string | null;
|
|
1965
|
-
downpaymentPlanId: string | null;
|
|
1966
|
-
principal: number;
|
|
1967
|
-
downPayment: number;
|
|
1968
|
-
downPaymentPaid: number;
|
|
1969
|
-
termMonths: number;
|
|
1970
|
-
interestRate: number;
|
|
1971
|
-
monthlyPayment: number;
|
|
1972
|
-
status: string;
|
|
1973
|
-
state: string;
|
|
1974
|
-
stateMetadata: string | null;
|
|
1975
|
-
lastReminderSentAt: Date | null;
|
|
1976
|
-
createdAt: Date;
|
|
1977
|
-
updatedAt: Date;
|
|
1978
|
-
}, ExtArgs["result"]["mortgage"]>;
|
|
1979
|
-
composites: {};
|
|
1980
|
-
};
|
|
1981
|
-
export type MortgageGetPayload<S extends boolean | null | undefined | MortgageDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$MortgagePayload, S>;
|
|
1982
|
-
export type MortgageCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<MortgageFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1983
|
-
select?: MortgageCountAggregateInputType | true;
|
|
1984
|
-
};
|
|
1985
|
-
export interface MortgageDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1986
|
-
[K: symbol]: {
|
|
1987
|
-
types: Prisma.TypeMap<ExtArgs>['model']['Mortgage'];
|
|
1988
|
-
meta: {
|
|
1989
|
-
name: 'Mortgage';
|
|
1990
|
-
};
|
|
1991
|
-
};
|
|
1992
|
-
/**
|
|
1993
|
-
* Find zero or one Mortgage that matches the filter.
|
|
1994
|
-
* @param {MortgageFindUniqueArgs} args - Arguments to find a Mortgage
|
|
1995
|
-
* @example
|
|
1996
|
-
* // Get one Mortgage
|
|
1997
|
-
* const mortgage = await prisma.mortgage.findUnique({
|
|
1998
|
-
* where: {
|
|
1999
|
-
* // ... provide filter here
|
|
2000
|
-
* }
|
|
2001
|
-
* })
|
|
2002
|
-
*/
|
|
2003
|
-
findUnique<T extends MortgageFindUniqueArgs>(args: Prisma.SelectSubset<T, MortgageFindUniqueArgs<ExtArgs>>): Prisma.Prisma__MortgageClient<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2004
|
-
/**
|
|
2005
|
-
* Find one Mortgage that matches the filter or throw an error with `error.code='P2025'`
|
|
2006
|
-
* if no matches were found.
|
|
2007
|
-
* @param {MortgageFindUniqueOrThrowArgs} args - Arguments to find a Mortgage
|
|
2008
|
-
* @example
|
|
2009
|
-
* // Get one Mortgage
|
|
2010
|
-
* const mortgage = await prisma.mortgage.findUniqueOrThrow({
|
|
2011
|
-
* where: {
|
|
2012
|
-
* // ... provide filter here
|
|
2013
|
-
* }
|
|
2014
|
-
* })
|
|
2015
|
-
*/
|
|
2016
|
-
findUniqueOrThrow<T extends MortgageFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, MortgageFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__MortgageClient<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2017
|
-
/**
|
|
2018
|
-
* Find the first Mortgage that matches the filter.
|
|
2019
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2020
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2021
|
-
* @param {MortgageFindFirstArgs} args - Arguments to find a Mortgage
|
|
2022
|
-
* @example
|
|
2023
|
-
* // Get one Mortgage
|
|
2024
|
-
* const mortgage = await prisma.mortgage.findFirst({
|
|
2025
|
-
* where: {
|
|
2026
|
-
* // ... provide filter here
|
|
2027
|
-
* }
|
|
2028
|
-
* })
|
|
2029
|
-
*/
|
|
2030
|
-
findFirst<T extends MortgageFindFirstArgs>(args?: Prisma.SelectSubset<T, MortgageFindFirstArgs<ExtArgs>>): Prisma.Prisma__MortgageClient<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2031
|
-
/**
|
|
2032
|
-
* Find the first Mortgage that matches the filter or
|
|
2033
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2034
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2035
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2036
|
-
* @param {MortgageFindFirstOrThrowArgs} args - Arguments to find a Mortgage
|
|
2037
|
-
* @example
|
|
2038
|
-
* // Get one Mortgage
|
|
2039
|
-
* const mortgage = await prisma.mortgage.findFirstOrThrow({
|
|
2040
|
-
* where: {
|
|
2041
|
-
* // ... provide filter here
|
|
2042
|
-
* }
|
|
2043
|
-
* })
|
|
2044
|
-
*/
|
|
2045
|
-
findFirstOrThrow<T extends MortgageFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, MortgageFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__MortgageClient<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2046
|
-
/**
|
|
2047
|
-
* Find zero or more Mortgages that matches the filter.
|
|
2048
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2049
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2050
|
-
* @param {MortgageFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2051
|
-
* @example
|
|
2052
|
-
* // Get all Mortgages
|
|
2053
|
-
* const mortgages = await prisma.mortgage.findMany()
|
|
2054
|
-
*
|
|
2055
|
-
* // Get first 10 Mortgages
|
|
2056
|
-
* const mortgages = await prisma.mortgage.findMany({ take: 10 })
|
|
2057
|
-
*
|
|
2058
|
-
* // Only select the `id`
|
|
2059
|
-
* const mortgageWithIdOnly = await prisma.mortgage.findMany({ select: { id: true } })
|
|
2060
|
-
*
|
|
2061
|
-
*/
|
|
2062
|
-
findMany<T extends MortgageFindManyArgs>(args?: Prisma.SelectSubset<T, MortgageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
2063
|
-
/**
|
|
2064
|
-
* Create a Mortgage.
|
|
2065
|
-
* @param {MortgageCreateArgs} args - Arguments to create a Mortgage.
|
|
2066
|
-
* @example
|
|
2067
|
-
* // Create one Mortgage
|
|
2068
|
-
* const Mortgage = await prisma.mortgage.create({
|
|
2069
|
-
* data: {
|
|
2070
|
-
* // ... data to create a Mortgage
|
|
2071
|
-
* }
|
|
2072
|
-
* })
|
|
2073
|
-
*
|
|
2074
|
-
*/
|
|
2075
|
-
create<T extends MortgageCreateArgs>(args: Prisma.SelectSubset<T, MortgageCreateArgs<ExtArgs>>): Prisma.Prisma__MortgageClient<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2076
|
-
/**
|
|
2077
|
-
* Create many Mortgages.
|
|
2078
|
-
* @param {MortgageCreateManyArgs} args - Arguments to create many Mortgages.
|
|
2079
|
-
* @example
|
|
2080
|
-
* // Create many Mortgages
|
|
2081
|
-
* const mortgage = await prisma.mortgage.createMany({
|
|
2082
|
-
* data: [
|
|
2083
|
-
* // ... provide data here
|
|
2084
|
-
* ]
|
|
2085
|
-
* })
|
|
2086
|
-
*
|
|
2087
|
-
*/
|
|
2088
|
-
createMany<T extends MortgageCreateManyArgs>(args?: Prisma.SelectSubset<T, MortgageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2089
|
-
/**
|
|
2090
|
-
* Delete a Mortgage.
|
|
2091
|
-
* @param {MortgageDeleteArgs} args - Arguments to delete one Mortgage.
|
|
2092
|
-
* @example
|
|
2093
|
-
* // Delete one Mortgage
|
|
2094
|
-
* const Mortgage = await prisma.mortgage.delete({
|
|
2095
|
-
* where: {
|
|
2096
|
-
* // ... filter to delete one Mortgage
|
|
2097
|
-
* }
|
|
2098
|
-
* })
|
|
2099
|
-
*
|
|
2100
|
-
*/
|
|
2101
|
-
delete<T extends MortgageDeleteArgs>(args: Prisma.SelectSubset<T, MortgageDeleteArgs<ExtArgs>>): Prisma.Prisma__MortgageClient<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2102
|
-
/**
|
|
2103
|
-
* Update one Mortgage.
|
|
2104
|
-
* @param {MortgageUpdateArgs} args - Arguments to update one Mortgage.
|
|
2105
|
-
* @example
|
|
2106
|
-
* // Update one Mortgage
|
|
2107
|
-
* const mortgage = await prisma.mortgage.update({
|
|
2108
|
-
* where: {
|
|
2109
|
-
* // ... provide filter here
|
|
2110
|
-
* },
|
|
2111
|
-
* data: {
|
|
2112
|
-
* // ... provide data here
|
|
2113
|
-
* }
|
|
2114
|
-
* })
|
|
2115
|
-
*
|
|
2116
|
-
*/
|
|
2117
|
-
update<T extends MortgageUpdateArgs>(args: Prisma.SelectSubset<T, MortgageUpdateArgs<ExtArgs>>): Prisma.Prisma__MortgageClient<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2118
|
-
/**
|
|
2119
|
-
* Delete zero or more Mortgages.
|
|
2120
|
-
* @param {MortgageDeleteManyArgs} args - Arguments to filter Mortgages to delete.
|
|
2121
|
-
* @example
|
|
2122
|
-
* // Delete a few Mortgages
|
|
2123
|
-
* const { count } = await prisma.mortgage.deleteMany({
|
|
2124
|
-
* where: {
|
|
2125
|
-
* // ... provide filter here
|
|
2126
|
-
* }
|
|
2127
|
-
* })
|
|
2128
|
-
*
|
|
2129
|
-
*/
|
|
2130
|
-
deleteMany<T extends MortgageDeleteManyArgs>(args?: Prisma.SelectSubset<T, MortgageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2131
|
-
/**
|
|
2132
|
-
* Update zero or more Mortgages.
|
|
2133
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2134
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2135
|
-
* @param {MortgageUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2136
|
-
* @example
|
|
2137
|
-
* // Update many Mortgages
|
|
2138
|
-
* const mortgage = await prisma.mortgage.updateMany({
|
|
2139
|
-
* where: {
|
|
2140
|
-
* // ... provide filter here
|
|
2141
|
-
* },
|
|
2142
|
-
* data: {
|
|
2143
|
-
* // ... provide data here
|
|
2144
|
-
* }
|
|
2145
|
-
* })
|
|
2146
|
-
*
|
|
2147
|
-
*/
|
|
2148
|
-
updateMany<T extends MortgageUpdateManyArgs>(args: Prisma.SelectSubset<T, MortgageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2149
|
-
/**
|
|
2150
|
-
* Create or update one Mortgage.
|
|
2151
|
-
* @param {MortgageUpsertArgs} args - Arguments to update or create a Mortgage.
|
|
2152
|
-
* @example
|
|
2153
|
-
* // Update or create a Mortgage
|
|
2154
|
-
* const mortgage = await prisma.mortgage.upsert({
|
|
2155
|
-
* create: {
|
|
2156
|
-
* // ... data to create a Mortgage
|
|
2157
|
-
* },
|
|
2158
|
-
* update: {
|
|
2159
|
-
* // ... in case it already exists, update
|
|
2160
|
-
* },
|
|
2161
|
-
* where: {
|
|
2162
|
-
* // ... the filter for the Mortgage we want to update
|
|
2163
|
-
* }
|
|
2164
|
-
* })
|
|
2165
|
-
*/
|
|
2166
|
-
upsert<T extends MortgageUpsertArgs>(args: Prisma.SelectSubset<T, MortgageUpsertArgs<ExtArgs>>): Prisma.Prisma__MortgageClient<runtime.Types.Result.GetResult<Prisma.$MortgagePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2167
|
-
/**
|
|
2168
|
-
* Count the number of Mortgages.
|
|
2169
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2170
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2171
|
-
* @param {MortgageCountArgs} args - Arguments to filter Mortgages to count.
|
|
2172
|
-
* @example
|
|
2173
|
-
* // Count the number of Mortgages
|
|
2174
|
-
* const count = await prisma.mortgage.count({
|
|
2175
|
-
* where: {
|
|
2176
|
-
* // ... the filter for the Mortgages we want to count
|
|
2177
|
-
* }
|
|
2178
|
-
* })
|
|
2179
|
-
**/
|
|
2180
|
-
count<T extends MortgageCountArgs>(args?: Prisma.Subset<T, MortgageCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], MortgageCountAggregateOutputType> : number>;
|
|
2181
|
-
/**
|
|
2182
|
-
* Allows you to perform aggregations operations on a Mortgage.
|
|
2183
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2184
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2185
|
-
* @param {MortgageAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2186
|
-
* @example
|
|
2187
|
-
* // Ordered by age ascending
|
|
2188
|
-
* // Where email contains prisma.io
|
|
2189
|
-
* // Limited to the 10 users
|
|
2190
|
-
* const aggregations = await prisma.user.aggregate({
|
|
2191
|
-
* _avg: {
|
|
2192
|
-
* age: true,
|
|
2193
|
-
* },
|
|
2194
|
-
* where: {
|
|
2195
|
-
* email: {
|
|
2196
|
-
* contains: "prisma.io",
|
|
2197
|
-
* },
|
|
2198
|
-
* },
|
|
2199
|
-
* orderBy: {
|
|
2200
|
-
* age: "asc",
|
|
2201
|
-
* },
|
|
2202
|
-
* take: 10,
|
|
2203
|
-
* })
|
|
2204
|
-
**/
|
|
2205
|
-
aggregate<T extends MortgageAggregateArgs>(args: Prisma.Subset<T, MortgageAggregateArgs>): Prisma.PrismaPromise<GetMortgageAggregateType<T>>;
|
|
2206
|
-
/**
|
|
2207
|
-
* Group by Mortgage.
|
|
2208
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
2209
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
2210
|
-
* @param {MortgageGroupByArgs} args - Group by arguments.
|
|
2211
|
-
* @example
|
|
2212
|
-
* // Group by city, order by createdAt, get count
|
|
2213
|
-
* const result = await prisma.user.groupBy({
|
|
2214
|
-
* by: ['city', 'createdAt'],
|
|
2215
|
-
* orderBy: {
|
|
2216
|
-
* createdAt: true
|
|
2217
|
-
* },
|
|
2218
|
-
* _count: {
|
|
2219
|
-
* _all: true
|
|
2220
|
-
* },
|
|
2221
|
-
* })
|
|
2222
|
-
*
|
|
2223
|
-
**/
|
|
2224
|
-
groupBy<T extends MortgageGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
2225
|
-
orderBy: MortgageGroupByArgs['orderBy'];
|
|
2226
|
-
} : {
|
|
2227
|
-
orderBy?: MortgageGroupByArgs['orderBy'];
|
|
2228
|
-
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
2229
|
-
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
2230
|
-
Error,
|
|
2231
|
-
'Field ',
|
|
2232
|
-
P,
|
|
2233
|
-
` in "having" needs to be provided in "by"`
|
|
2234
|
-
];
|
|
2235
|
-
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
2236
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2237
|
-
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
2238
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2239
|
-
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
2240
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2241
|
-
}[OrderFields]>(args: Prisma.SubsetIntersection<T, MortgageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMortgageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
2242
|
-
/**
|
|
2243
|
-
* Fields of the Mortgage model
|
|
2244
|
-
*/
|
|
2245
|
-
readonly fields: MortgageFieldRefs;
|
|
2246
|
-
}
|
|
2247
|
-
/**
|
|
2248
|
-
* The delegate class that acts as a "Promise-like" for Mortgage.
|
|
2249
|
-
* Why is this prefixed with `Prisma__`?
|
|
2250
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
2251
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2252
|
-
*/
|
|
2253
|
-
export interface Prisma__MortgageClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2254
|
-
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
2255
|
-
property<T extends Prisma.PropertyDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2256
|
-
borrower<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>;
|
|
2257
|
-
mortgageType<T extends Prisma.Mortgage$mortgageTypeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Mortgage$mortgageTypeArgs<ExtArgs>>): Prisma.Prisma__MortgageTypeClient<runtime.Types.Result.GetResult<Prisma.$MortgageTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2258
|
-
downpaymentPlan<T extends Prisma.Mortgage$downpaymentPlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Mortgage$downpaymentPlanArgs<ExtArgs>>): Prisma.Prisma__MortgageDownpaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$MortgageDownpaymentPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2259
|
-
documents<T extends Prisma.Mortgage$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Mortgage$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MortgageDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2260
|
-
steps<T extends Prisma.Mortgage$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Mortgage$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MortgageStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2261
|
-
transitions<T extends Prisma.Mortgage$transitionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Mortgage$transitionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MortgageTransitionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2262
|
-
transitionEvents<T extends Prisma.Mortgage$transitionEventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Mortgage$transitionEventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MortgageTransitionEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2263
|
-
/**
|
|
2264
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2265
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2266
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2267
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
2268
|
-
*/
|
|
2269
|
-
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
2270
|
-
/**
|
|
2271
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
2272
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2273
|
-
* @returns A Promise for the completion of the callback.
|
|
2274
|
-
*/
|
|
2275
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
2276
|
-
/**
|
|
2277
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2278
|
-
* resolved value cannot be modified from the callback.
|
|
2279
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2280
|
-
* @returns A Promise for the completion of the callback.
|
|
2281
|
-
*/
|
|
2282
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
2283
|
-
}
|
|
2284
|
-
/**
|
|
2285
|
-
* Fields of the Mortgage model
|
|
2286
|
-
*/
|
|
2287
|
-
export interface MortgageFieldRefs {
|
|
2288
|
-
readonly id: Prisma.FieldRef<"Mortgage", 'String'>;
|
|
2289
|
-
readonly propertyId: Prisma.FieldRef<"Mortgage", 'String'>;
|
|
2290
|
-
readonly borrowerId: Prisma.FieldRef<"Mortgage", 'String'>;
|
|
2291
|
-
readonly mortgageTypeId: Prisma.FieldRef<"Mortgage", 'String'>;
|
|
2292
|
-
readonly downpaymentPlanId: Prisma.FieldRef<"Mortgage", 'String'>;
|
|
2293
|
-
readonly principal: Prisma.FieldRef<"Mortgage", 'Float'>;
|
|
2294
|
-
readonly downPayment: Prisma.FieldRef<"Mortgage", 'Float'>;
|
|
2295
|
-
readonly downPaymentPaid: Prisma.FieldRef<"Mortgage", 'Float'>;
|
|
2296
|
-
readonly termMonths: Prisma.FieldRef<"Mortgage", 'Int'>;
|
|
2297
|
-
readonly interestRate: Prisma.FieldRef<"Mortgage", 'Float'>;
|
|
2298
|
-
readonly monthlyPayment: Prisma.FieldRef<"Mortgage", 'Float'>;
|
|
2299
|
-
readonly status: Prisma.FieldRef<"Mortgage", 'String'>;
|
|
2300
|
-
readonly state: Prisma.FieldRef<"Mortgage", 'String'>;
|
|
2301
|
-
readonly stateMetadata: Prisma.FieldRef<"Mortgage", 'String'>;
|
|
2302
|
-
readonly lastReminderSentAt: Prisma.FieldRef<"Mortgage", 'DateTime'>;
|
|
2303
|
-
readonly createdAt: Prisma.FieldRef<"Mortgage", 'DateTime'>;
|
|
2304
|
-
readonly updatedAt: Prisma.FieldRef<"Mortgage", 'DateTime'>;
|
|
2305
|
-
}
|
|
2306
|
-
/**
|
|
2307
|
-
* Mortgage findUnique
|
|
2308
|
-
*/
|
|
2309
|
-
export type MortgageFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2310
|
-
/**
|
|
2311
|
-
* Select specific fields to fetch from the Mortgage
|
|
2312
|
-
*/
|
|
2313
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2314
|
-
/**
|
|
2315
|
-
* Omit specific fields from the Mortgage
|
|
2316
|
-
*/
|
|
2317
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2318
|
-
/**
|
|
2319
|
-
* Choose, which related nodes to fetch as well
|
|
2320
|
-
*/
|
|
2321
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2322
|
-
/**
|
|
2323
|
-
* Filter, which Mortgage to fetch.
|
|
2324
|
-
*/
|
|
2325
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
2326
|
-
};
|
|
2327
|
-
/**
|
|
2328
|
-
* Mortgage findUniqueOrThrow
|
|
2329
|
-
*/
|
|
2330
|
-
export type MortgageFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2331
|
-
/**
|
|
2332
|
-
* Select specific fields to fetch from the Mortgage
|
|
2333
|
-
*/
|
|
2334
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2335
|
-
/**
|
|
2336
|
-
* Omit specific fields from the Mortgage
|
|
2337
|
-
*/
|
|
2338
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2339
|
-
/**
|
|
2340
|
-
* Choose, which related nodes to fetch as well
|
|
2341
|
-
*/
|
|
2342
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2343
|
-
/**
|
|
2344
|
-
* Filter, which Mortgage to fetch.
|
|
2345
|
-
*/
|
|
2346
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
2347
|
-
};
|
|
2348
|
-
/**
|
|
2349
|
-
* Mortgage findFirst
|
|
2350
|
-
*/
|
|
2351
|
-
export type MortgageFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2352
|
-
/**
|
|
2353
|
-
* Select specific fields to fetch from the Mortgage
|
|
2354
|
-
*/
|
|
2355
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2356
|
-
/**
|
|
2357
|
-
* Omit specific fields from the Mortgage
|
|
2358
|
-
*/
|
|
2359
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2360
|
-
/**
|
|
2361
|
-
* Choose, which related nodes to fetch as well
|
|
2362
|
-
*/
|
|
2363
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2364
|
-
/**
|
|
2365
|
-
* Filter, which Mortgage to fetch.
|
|
2366
|
-
*/
|
|
2367
|
-
where?: Prisma.MortgageWhereInput;
|
|
2368
|
-
/**
|
|
2369
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2370
|
-
*
|
|
2371
|
-
* Determine the order of Mortgages to fetch.
|
|
2372
|
-
*/
|
|
2373
|
-
orderBy?: Prisma.MortgageOrderByWithRelationInput | Prisma.MortgageOrderByWithRelationInput[];
|
|
2374
|
-
/**
|
|
2375
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2376
|
-
*
|
|
2377
|
-
* Sets the position for searching for Mortgages.
|
|
2378
|
-
*/
|
|
2379
|
-
cursor?: Prisma.MortgageWhereUniqueInput;
|
|
2380
|
-
/**
|
|
2381
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2382
|
-
*
|
|
2383
|
-
* Take `±n` Mortgages from the position of the cursor.
|
|
2384
|
-
*/
|
|
2385
|
-
take?: number;
|
|
2386
|
-
/**
|
|
2387
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2388
|
-
*
|
|
2389
|
-
* Skip the first `n` Mortgages.
|
|
2390
|
-
*/
|
|
2391
|
-
skip?: number;
|
|
2392
|
-
/**
|
|
2393
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2394
|
-
*
|
|
2395
|
-
* Filter by unique combinations of Mortgages.
|
|
2396
|
-
*/
|
|
2397
|
-
distinct?: Prisma.MortgageScalarFieldEnum | Prisma.MortgageScalarFieldEnum[];
|
|
2398
|
-
};
|
|
2399
|
-
/**
|
|
2400
|
-
* Mortgage findFirstOrThrow
|
|
2401
|
-
*/
|
|
2402
|
-
export type MortgageFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2403
|
-
/**
|
|
2404
|
-
* Select specific fields to fetch from the Mortgage
|
|
2405
|
-
*/
|
|
2406
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2407
|
-
/**
|
|
2408
|
-
* Omit specific fields from the Mortgage
|
|
2409
|
-
*/
|
|
2410
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2411
|
-
/**
|
|
2412
|
-
* Choose, which related nodes to fetch as well
|
|
2413
|
-
*/
|
|
2414
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2415
|
-
/**
|
|
2416
|
-
* Filter, which Mortgage to fetch.
|
|
2417
|
-
*/
|
|
2418
|
-
where?: Prisma.MortgageWhereInput;
|
|
2419
|
-
/**
|
|
2420
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2421
|
-
*
|
|
2422
|
-
* Determine the order of Mortgages to fetch.
|
|
2423
|
-
*/
|
|
2424
|
-
orderBy?: Prisma.MortgageOrderByWithRelationInput | Prisma.MortgageOrderByWithRelationInput[];
|
|
2425
|
-
/**
|
|
2426
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2427
|
-
*
|
|
2428
|
-
* Sets the position for searching for Mortgages.
|
|
2429
|
-
*/
|
|
2430
|
-
cursor?: Prisma.MortgageWhereUniqueInput;
|
|
2431
|
-
/**
|
|
2432
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2433
|
-
*
|
|
2434
|
-
* Take `±n` Mortgages from the position of the cursor.
|
|
2435
|
-
*/
|
|
2436
|
-
take?: number;
|
|
2437
|
-
/**
|
|
2438
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2439
|
-
*
|
|
2440
|
-
* Skip the first `n` Mortgages.
|
|
2441
|
-
*/
|
|
2442
|
-
skip?: number;
|
|
2443
|
-
/**
|
|
2444
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2445
|
-
*
|
|
2446
|
-
* Filter by unique combinations of Mortgages.
|
|
2447
|
-
*/
|
|
2448
|
-
distinct?: Prisma.MortgageScalarFieldEnum | Prisma.MortgageScalarFieldEnum[];
|
|
2449
|
-
};
|
|
2450
|
-
/**
|
|
2451
|
-
* Mortgage findMany
|
|
2452
|
-
*/
|
|
2453
|
-
export type MortgageFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2454
|
-
/**
|
|
2455
|
-
* Select specific fields to fetch from the Mortgage
|
|
2456
|
-
*/
|
|
2457
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2458
|
-
/**
|
|
2459
|
-
* Omit specific fields from the Mortgage
|
|
2460
|
-
*/
|
|
2461
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2462
|
-
/**
|
|
2463
|
-
* Choose, which related nodes to fetch as well
|
|
2464
|
-
*/
|
|
2465
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2466
|
-
/**
|
|
2467
|
-
* Filter, which Mortgages to fetch.
|
|
2468
|
-
*/
|
|
2469
|
-
where?: Prisma.MortgageWhereInput;
|
|
2470
|
-
/**
|
|
2471
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2472
|
-
*
|
|
2473
|
-
* Determine the order of Mortgages to fetch.
|
|
2474
|
-
*/
|
|
2475
|
-
orderBy?: Prisma.MortgageOrderByWithRelationInput | Prisma.MortgageOrderByWithRelationInput[];
|
|
2476
|
-
/**
|
|
2477
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2478
|
-
*
|
|
2479
|
-
* Sets the position for listing Mortgages.
|
|
2480
|
-
*/
|
|
2481
|
-
cursor?: Prisma.MortgageWhereUniqueInput;
|
|
2482
|
-
/**
|
|
2483
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2484
|
-
*
|
|
2485
|
-
* Take `±n` Mortgages from the position of the cursor.
|
|
2486
|
-
*/
|
|
2487
|
-
take?: number;
|
|
2488
|
-
/**
|
|
2489
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2490
|
-
*
|
|
2491
|
-
* Skip the first `n` Mortgages.
|
|
2492
|
-
*/
|
|
2493
|
-
skip?: number;
|
|
2494
|
-
distinct?: Prisma.MortgageScalarFieldEnum | Prisma.MortgageScalarFieldEnum[];
|
|
2495
|
-
};
|
|
2496
|
-
/**
|
|
2497
|
-
* Mortgage create
|
|
2498
|
-
*/
|
|
2499
|
-
export type MortgageCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2500
|
-
/**
|
|
2501
|
-
* Select specific fields to fetch from the Mortgage
|
|
2502
|
-
*/
|
|
2503
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2504
|
-
/**
|
|
2505
|
-
* Omit specific fields from the Mortgage
|
|
2506
|
-
*/
|
|
2507
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2508
|
-
/**
|
|
2509
|
-
* Choose, which related nodes to fetch as well
|
|
2510
|
-
*/
|
|
2511
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2512
|
-
/**
|
|
2513
|
-
* The data needed to create a Mortgage.
|
|
2514
|
-
*/
|
|
2515
|
-
data: Prisma.XOR<Prisma.MortgageCreateInput, Prisma.MortgageUncheckedCreateInput>;
|
|
2516
|
-
};
|
|
2517
|
-
/**
|
|
2518
|
-
* Mortgage createMany
|
|
2519
|
-
*/
|
|
2520
|
-
export type MortgageCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2521
|
-
/**
|
|
2522
|
-
* The data used to create many Mortgages.
|
|
2523
|
-
*/
|
|
2524
|
-
data: Prisma.MortgageCreateManyInput | Prisma.MortgageCreateManyInput[];
|
|
2525
|
-
skipDuplicates?: boolean;
|
|
2526
|
-
};
|
|
2527
|
-
/**
|
|
2528
|
-
* Mortgage update
|
|
2529
|
-
*/
|
|
2530
|
-
export type MortgageUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2531
|
-
/**
|
|
2532
|
-
* Select specific fields to fetch from the Mortgage
|
|
2533
|
-
*/
|
|
2534
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2535
|
-
/**
|
|
2536
|
-
* Omit specific fields from the Mortgage
|
|
2537
|
-
*/
|
|
2538
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2539
|
-
/**
|
|
2540
|
-
* Choose, which related nodes to fetch as well
|
|
2541
|
-
*/
|
|
2542
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2543
|
-
/**
|
|
2544
|
-
* The data needed to update a Mortgage.
|
|
2545
|
-
*/
|
|
2546
|
-
data: Prisma.XOR<Prisma.MortgageUpdateInput, Prisma.MortgageUncheckedUpdateInput>;
|
|
2547
|
-
/**
|
|
2548
|
-
* Choose, which Mortgage to update.
|
|
2549
|
-
*/
|
|
2550
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
2551
|
-
};
|
|
2552
|
-
/**
|
|
2553
|
-
* Mortgage updateMany
|
|
2554
|
-
*/
|
|
2555
|
-
export type MortgageUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2556
|
-
/**
|
|
2557
|
-
* The data used to update Mortgages.
|
|
2558
|
-
*/
|
|
2559
|
-
data: Prisma.XOR<Prisma.MortgageUpdateManyMutationInput, Prisma.MortgageUncheckedUpdateManyInput>;
|
|
2560
|
-
/**
|
|
2561
|
-
* Filter which Mortgages to update
|
|
2562
|
-
*/
|
|
2563
|
-
where?: Prisma.MortgageWhereInput;
|
|
2564
|
-
/**
|
|
2565
|
-
* Limit how many Mortgages to update.
|
|
2566
|
-
*/
|
|
2567
|
-
limit?: number;
|
|
2568
|
-
};
|
|
2569
|
-
/**
|
|
2570
|
-
* Mortgage upsert
|
|
2571
|
-
*/
|
|
2572
|
-
export type MortgageUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2573
|
-
/**
|
|
2574
|
-
* Select specific fields to fetch from the Mortgage
|
|
2575
|
-
*/
|
|
2576
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2577
|
-
/**
|
|
2578
|
-
* Omit specific fields from the Mortgage
|
|
2579
|
-
*/
|
|
2580
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2581
|
-
/**
|
|
2582
|
-
* Choose, which related nodes to fetch as well
|
|
2583
|
-
*/
|
|
2584
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2585
|
-
/**
|
|
2586
|
-
* The filter to search for the Mortgage to update in case it exists.
|
|
2587
|
-
*/
|
|
2588
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
2589
|
-
/**
|
|
2590
|
-
* In case the Mortgage found by the `where` argument doesn't exist, create a new Mortgage with this data.
|
|
2591
|
-
*/
|
|
2592
|
-
create: Prisma.XOR<Prisma.MortgageCreateInput, Prisma.MortgageUncheckedCreateInput>;
|
|
2593
|
-
/**
|
|
2594
|
-
* In case the Mortgage was found with the provided `where` argument, update it with this data.
|
|
2595
|
-
*/
|
|
2596
|
-
update: Prisma.XOR<Prisma.MortgageUpdateInput, Prisma.MortgageUncheckedUpdateInput>;
|
|
2597
|
-
};
|
|
2598
|
-
/**
|
|
2599
|
-
* Mortgage delete
|
|
2600
|
-
*/
|
|
2601
|
-
export type MortgageDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2602
|
-
/**
|
|
2603
|
-
* Select specific fields to fetch from the Mortgage
|
|
2604
|
-
*/
|
|
2605
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2606
|
-
/**
|
|
2607
|
-
* Omit specific fields from the Mortgage
|
|
2608
|
-
*/
|
|
2609
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2610
|
-
/**
|
|
2611
|
-
* Choose, which related nodes to fetch as well
|
|
2612
|
-
*/
|
|
2613
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2614
|
-
/**
|
|
2615
|
-
* Filter which Mortgage to delete.
|
|
2616
|
-
*/
|
|
2617
|
-
where: Prisma.MortgageWhereUniqueInput;
|
|
2618
|
-
};
|
|
2619
|
-
/**
|
|
2620
|
-
* Mortgage deleteMany
|
|
2621
|
-
*/
|
|
2622
|
-
export type MortgageDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2623
|
-
/**
|
|
2624
|
-
* Filter which Mortgages to delete
|
|
2625
|
-
*/
|
|
2626
|
-
where?: Prisma.MortgageWhereInput;
|
|
2627
|
-
/**
|
|
2628
|
-
* Limit how many Mortgages to delete.
|
|
2629
|
-
*/
|
|
2630
|
-
limit?: number;
|
|
2631
|
-
};
|
|
2632
|
-
/**
|
|
2633
|
-
* Mortgage.mortgageType
|
|
2634
|
-
*/
|
|
2635
|
-
export type Mortgage$mortgageTypeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2636
|
-
/**
|
|
2637
|
-
* Select specific fields to fetch from the MortgageType
|
|
2638
|
-
*/
|
|
2639
|
-
select?: Prisma.MortgageTypeSelect<ExtArgs> | null;
|
|
2640
|
-
/**
|
|
2641
|
-
* Omit specific fields from the MortgageType
|
|
2642
|
-
*/
|
|
2643
|
-
omit?: Prisma.MortgageTypeOmit<ExtArgs> | null;
|
|
2644
|
-
/**
|
|
2645
|
-
* Choose, which related nodes to fetch as well
|
|
2646
|
-
*/
|
|
2647
|
-
include?: Prisma.MortgageTypeInclude<ExtArgs> | null;
|
|
2648
|
-
where?: Prisma.MortgageTypeWhereInput;
|
|
2649
|
-
};
|
|
2650
|
-
/**
|
|
2651
|
-
* Mortgage.downpaymentPlan
|
|
2652
|
-
*/
|
|
2653
|
-
export type Mortgage$downpaymentPlanArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2654
|
-
/**
|
|
2655
|
-
* Select specific fields to fetch from the MortgageDownpaymentPlan
|
|
2656
|
-
*/
|
|
2657
|
-
select?: Prisma.MortgageDownpaymentPlanSelect<ExtArgs> | null;
|
|
2658
|
-
/**
|
|
2659
|
-
* Omit specific fields from the MortgageDownpaymentPlan
|
|
2660
|
-
*/
|
|
2661
|
-
omit?: Prisma.MortgageDownpaymentPlanOmit<ExtArgs> | null;
|
|
2662
|
-
/**
|
|
2663
|
-
* Choose, which related nodes to fetch as well
|
|
2664
|
-
*/
|
|
2665
|
-
include?: Prisma.MortgageDownpaymentPlanInclude<ExtArgs> | null;
|
|
2666
|
-
where?: Prisma.MortgageDownpaymentPlanWhereInput;
|
|
2667
|
-
};
|
|
2668
|
-
/**
|
|
2669
|
-
* Mortgage.documents
|
|
2670
|
-
*/
|
|
2671
|
-
export type Mortgage$documentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2672
|
-
/**
|
|
2673
|
-
* Select specific fields to fetch from the MortgageDocument
|
|
2674
|
-
*/
|
|
2675
|
-
select?: Prisma.MortgageDocumentSelect<ExtArgs> | null;
|
|
2676
|
-
/**
|
|
2677
|
-
* Omit specific fields from the MortgageDocument
|
|
2678
|
-
*/
|
|
2679
|
-
omit?: Prisma.MortgageDocumentOmit<ExtArgs> | null;
|
|
2680
|
-
/**
|
|
2681
|
-
* Choose, which related nodes to fetch as well
|
|
2682
|
-
*/
|
|
2683
|
-
include?: Prisma.MortgageDocumentInclude<ExtArgs> | null;
|
|
2684
|
-
where?: Prisma.MortgageDocumentWhereInput;
|
|
2685
|
-
orderBy?: Prisma.MortgageDocumentOrderByWithRelationInput | Prisma.MortgageDocumentOrderByWithRelationInput[];
|
|
2686
|
-
cursor?: Prisma.MortgageDocumentWhereUniqueInput;
|
|
2687
|
-
take?: number;
|
|
2688
|
-
skip?: number;
|
|
2689
|
-
distinct?: Prisma.MortgageDocumentScalarFieldEnum | Prisma.MortgageDocumentScalarFieldEnum[];
|
|
2690
|
-
};
|
|
2691
|
-
/**
|
|
2692
|
-
* Mortgage.steps
|
|
2693
|
-
*/
|
|
2694
|
-
export type Mortgage$stepsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2695
|
-
/**
|
|
2696
|
-
* Select specific fields to fetch from the MortgageStep
|
|
2697
|
-
*/
|
|
2698
|
-
select?: Prisma.MortgageStepSelect<ExtArgs> | null;
|
|
2699
|
-
/**
|
|
2700
|
-
* Omit specific fields from the MortgageStep
|
|
2701
|
-
*/
|
|
2702
|
-
omit?: Prisma.MortgageStepOmit<ExtArgs> | null;
|
|
2703
|
-
/**
|
|
2704
|
-
* Choose, which related nodes to fetch as well
|
|
2705
|
-
*/
|
|
2706
|
-
include?: Prisma.MortgageStepInclude<ExtArgs> | null;
|
|
2707
|
-
where?: Prisma.MortgageStepWhereInput;
|
|
2708
|
-
orderBy?: Prisma.MortgageStepOrderByWithRelationInput | Prisma.MortgageStepOrderByWithRelationInput[];
|
|
2709
|
-
cursor?: Prisma.MortgageStepWhereUniqueInput;
|
|
2710
|
-
take?: number;
|
|
2711
|
-
skip?: number;
|
|
2712
|
-
distinct?: Prisma.MortgageStepScalarFieldEnum | Prisma.MortgageStepScalarFieldEnum[];
|
|
2713
|
-
};
|
|
2714
|
-
/**
|
|
2715
|
-
* Mortgage.transitions
|
|
2716
|
-
*/
|
|
2717
|
-
export type Mortgage$transitionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2718
|
-
/**
|
|
2719
|
-
* Select specific fields to fetch from the MortgageTransition
|
|
2720
|
-
*/
|
|
2721
|
-
select?: Prisma.MortgageTransitionSelect<ExtArgs> | null;
|
|
2722
|
-
/**
|
|
2723
|
-
* Omit specific fields from the MortgageTransition
|
|
2724
|
-
*/
|
|
2725
|
-
omit?: Prisma.MortgageTransitionOmit<ExtArgs> | null;
|
|
2726
|
-
/**
|
|
2727
|
-
* Choose, which related nodes to fetch as well
|
|
2728
|
-
*/
|
|
2729
|
-
include?: Prisma.MortgageTransitionInclude<ExtArgs> | null;
|
|
2730
|
-
where?: Prisma.MortgageTransitionWhereInput;
|
|
2731
|
-
orderBy?: Prisma.MortgageTransitionOrderByWithRelationInput | Prisma.MortgageTransitionOrderByWithRelationInput[];
|
|
2732
|
-
cursor?: Prisma.MortgageTransitionWhereUniqueInput;
|
|
2733
|
-
take?: number;
|
|
2734
|
-
skip?: number;
|
|
2735
|
-
distinct?: Prisma.MortgageTransitionScalarFieldEnum | Prisma.MortgageTransitionScalarFieldEnum[];
|
|
2736
|
-
};
|
|
2737
|
-
/**
|
|
2738
|
-
* Mortgage.transitionEvents
|
|
2739
|
-
*/
|
|
2740
|
-
export type Mortgage$transitionEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2741
|
-
/**
|
|
2742
|
-
* Select specific fields to fetch from the MortgageTransitionEvent
|
|
2743
|
-
*/
|
|
2744
|
-
select?: Prisma.MortgageTransitionEventSelect<ExtArgs> | null;
|
|
2745
|
-
/**
|
|
2746
|
-
* Omit specific fields from the MortgageTransitionEvent
|
|
2747
|
-
*/
|
|
2748
|
-
omit?: Prisma.MortgageTransitionEventOmit<ExtArgs> | null;
|
|
2749
|
-
/**
|
|
2750
|
-
* Choose, which related nodes to fetch as well
|
|
2751
|
-
*/
|
|
2752
|
-
include?: Prisma.MortgageTransitionEventInclude<ExtArgs> | null;
|
|
2753
|
-
where?: Prisma.MortgageTransitionEventWhereInput;
|
|
2754
|
-
orderBy?: Prisma.MortgageTransitionEventOrderByWithRelationInput | Prisma.MortgageTransitionEventOrderByWithRelationInput[];
|
|
2755
|
-
cursor?: Prisma.MortgageTransitionEventWhereUniqueInput;
|
|
2756
|
-
take?: number;
|
|
2757
|
-
skip?: number;
|
|
2758
|
-
distinct?: Prisma.MortgageTransitionEventScalarFieldEnum | Prisma.MortgageTransitionEventScalarFieldEnum[];
|
|
2759
|
-
};
|
|
2760
|
-
/**
|
|
2761
|
-
* Mortgage without action
|
|
2762
|
-
*/
|
|
2763
|
-
export type MortgageDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2764
|
-
/**
|
|
2765
|
-
* Select specific fields to fetch from the Mortgage
|
|
2766
|
-
*/
|
|
2767
|
-
select?: Prisma.MortgageSelect<ExtArgs> | null;
|
|
2768
|
-
/**
|
|
2769
|
-
* Omit specific fields from the Mortgage
|
|
2770
|
-
*/
|
|
2771
|
-
omit?: Prisma.MortgageOmit<ExtArgs> | null;
|
|
2772
|
-
/**
|
|
2773
|
-
* Choose, which related nodes to fetch as well
|
|
2774
|
-
*/
|
|
2775
|
-
include?: Prisma.MortgageInclude<ExtArgs> | null;
|
|
2776
|
-
};
|
|
2777
|
-
export {};
|