@valentine-efagene/qshelter-common 2.0.51 → 2.0.53
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/src/middleware/tenant.js +3 -3
- package/package.json +1 -1
- 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,2148 +0,0 @@
|
|
|
1
|
-
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
-
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
-
/**
|
|
4
|
-
* Model PaymentPlan
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
export type PaymentPlanModel = runtime.Types.Result.DefaultSelection<Prisma.$PaymentPlanPayload>;
|
|
8
|
-
export type AggregatePaymentPlan = {
|
|
9
|
-
_count: PaymentPlanCountAggregateOutputType | null;
|
|
10
|
-
_avg: PaymentPlanAvgAggregateOutputType | null;
|
|
11
|
-
_sum: PaymentPlanSumAggregateOutputType | null;
|
|
12
|
-
_min: PaymentPlanMinAggregateOutputType | null;
|
|
13
|
-
_max: PaymentPlanMaxAggregateOutputType | null;
|
|
14
|
-
};
|
|
15
|
-
export type PaymentPlanAvgAggregateOutputType = {
|
|
16
|
-
totalAmount: number | null;
|
|
17
|
-
downPaymentAmount: number | null;
|
|
18
|
-
downPaymentPaid: number | null;
|
|
19
|
-
principalAmount: number | null;
|
|
20
|
-
interestRate: number | null;
|
|
21
|
-
totalInterest: number | null;
|
|
22
|
-
};
|
|
23
|
-
export type PaymentPlanSumAggregateOutputType = {
|
|
24
|
-
totalAmount: number | null;
|
|
25
|
-
downPaymentAmount: number | null;
|
|
26
|
-
downPaymentPaid: number | null;
|
|
27
|
-
principalAmount: number | null;
|
|
28
|
-
interestRate: number | null;
|
|
29
|
-
totalInterest: number | null;
|
|
30
|
-
};
|
|
31
|
-
export type PaymentPlanMinAggregateOutputType = {
|
|
32
|
-
id: string | null;
|
|
33
|
-
propertyId: string | null;
|
|
34
|
-
buyerId: string | null;
|
|
35
|
-
planType: string | null;
|
|
36
|
-
name: string | null;
|
|
37
|
-
description: string | null;
|
|
38
|
-
totalAmount: number | null;
|
|
39
|
-
downPaymentAmount: number | null;
|
|
40
|
-
downPaymentPaid: number | null;
|
|
41
|
-
principalAmount: number | null;
|
|
42
|
-
interestRate: number | null;
|
|
43
|
-
totalInterest: number | null;
|
|
44
|
-
state: string | null;
|
|
45
|
-
stateMetadata: string | null;
|
|
46
|
-
createdAt: Date | null;
|
|
47
|
-
updatedAt: Date | null;
|
|
48
|
-
};
|
|
49
|
-
export type PaymentPlanMaxAggregateOutputType = {
|
|
50
|
-
id: string | null;
|
|
51
|
-
propertyId: string | null;
|
|
52
|
-
buyerId: string | null;
|
|
53
|
-
planType: string | null;
|
|
54
|
-
name: string | null;
|
|
55
|
-
description: string | null;
|
|
56
|
-
totalAmount: number | null;
|
|
57
|
-
downPaymentAmount: number | null;
|
|
58
|
-
downPaymentPaid: number | null;
|
|
59
|
-
principalAmount: number | null;
|
|
60
|
-
interestRate: number | null;
|
|
61
|
-
totalInterest: number | null;
|
|
62
|
-
state: string | null;
|
|
63
|
-
stateMetadata: string | null;
|
|
64
|
-
createdAt: Date | null;
|
|
65
|
-
updatedAt: Date | null;
|
|
66
|
-
};
|
|
67
|
-
export type PaymentPlanCountAggregateOutputType = {
|
|
68
|
-
id: number;
|
|
69
|
-
propertyId: number;
|
|
70
|
-
buyerId: number;
|
|
71
|
-
planType: number;
|
|
72
|
-
name: number;
|
|
73
|
-
description: number;
|
|
74
|
-
totalAmount: number;
|
|
75
|
-
downPaymentAmount: number;
|
|
76
|
-
downPaymentPaid: number;
|
|
77
|
-
principalAmount: number;
|
|
78
|
-
interestRate: number;
|
|
79
|
-
totalInterest: number;
|
|
80
|
-
state: number;
|
|
81
|
-
stateMetadata: number;
|
|
82
|
-
createdAt: number;
|
|
83
|
-
updatedAt: number;
|
|
84
|
-
_all: number;
|
|
85
|
-
};
|
|
86
|
-
export type PaymentPlanAvgAggregateInputType = {
|
|
87
|
-
totalAmount?: true;
|
|
88
|
-
downPaymentAmount?: true;
|
|
89
|
-
downPaymentPaid?: true;
|
|
90
|
-
principalAmount?: true;
|
|
91
|
-
interestRate?: true;
|
|
92
|
-
totalInterest?: true;
|
|
93
|
-
};
|
|
94
|
-
export type PaymentPlanSumAggregateInputType = {
|
|
95
|
-
totalAmount?: true;
|
|
96
|
-
downPaymentAmount?: true;
|
|
97
|
-
downPaymentPaid?: true;
|
|
98
|
-
principalAmount?: true;
|
|
99
|
-
interestRate?: true;
|
|
100
|
-
totalInterest?: true;
|
|
101
|
-
};
|
|
102
|
-
export type PaymentPlanMinAggregateInputType = {
|
|
103
|
-
id?: true;
|
|
104
|
-
propertyId?: true;
|
|
105
|
-
buyerId?: true;
|
|
106
|
-
planType?: true;
|
|
107
|
-
name?: true;
|
|
108
|
-
description?: true;
|
|
109
|
-
totalAmount?: true;
|
|
110
|
-
downPaymentAmount?: true;
|
|
111
|
-
downPaymentPaid?: true;
|
|
112
|
-
principalAmount?: true;
|
|
113
|
-
interestRate?: true;
|
|
114
|
-
totalInterest?: true;
|
|
115
|
-
state?: true;
|
|
116
|
-
stateMetadata?: true;
|
|
117
|
-
createdAt?: true;
|
|
118
|
-
updatedAt?: true;
|
|
119
|
-
};
|
|
120
|
-
export type PaymentPlanMaxAggregateInputType = {
|
|
121
|
-
id?: true;
|
|
122
|
-
propertyId?: true;
|
|
123
|
-
buyerId?: true;
|
|
124
|
-
planType?: true;
|
|
125
|
-
name?: true;
|
|
126
|
-
description?: true;
|
|
127
|
-
totalAmount?: true;
|
|
128
|
-
downPaymentAmount?: true;
|
|
129
|
-
downPaymentPaid?: true;
|
|
130
|
-
principalAmount?: true;
|
|
131
|
-
interestRate?: true;
|
|
132
|
-
totalInterest?: true;
|
|
133
|
-
state?: true;
|
|
134
|
-
stateMetadata?: true;
|
|
135
|
-
createdAt?: true;
|
|
136
|
-
updatedAt?: true;
|
|
137
|
-
};
|
|
138
|
-
export type PaymentPlanCountAggregateInputType = {
|
|
139
|
-
id?: true;
|
|
140
|
-
propertyId?: true;
|
|
141
|
-
buyerId?: true;
|
|
142
|
-
planType?: true;
|
|
143
|
-
name?: true;
|
|
144
|
-
description?: true;
|
|
145
|
-
totalAmount?: true;
|
|
146
|
-
downPaymentAmount?: true;
|
|
147
|
-
downPaymentPaid?: true;
|
|
148
|
-
principalAmount?: true;
|
|
149
|
-
interestRate?: true;
|
|
150
|
-
totalInterest?: true;
|
|
151
|
-
state?: true;
|
|
152
|
-
stateMetadata?: true;
|
|
153
|
-
createdAt?: true;
|
|
154
|
-
updatedAt?: true;
|
|
155
|
-
_all?: true;
|
|
156
|
-
};
|
|
157
|
-
export type PaymentPlanAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
158
|
-
/**
|
|
159
|
-
* Filter which PaymentPlan to aggregate.
|
|
160
|
-
*/
|
|
161
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
162
|
-
/**
|
|
163
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
164
|
-
*
|
|
165
|
-
* Determine the order of PaymentPlans to fetch.
|
|
166
|
-
*/
|
|
167
|
-
orderBy?: Prisma.PaymentPlanOrderByWithRelationInput | Prisma.PaymentPlanOrderByWithRelationInput[];
|
|
168
|
-
/**
|
|
169
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
170
|
-
*
|
|
171
|
-
* Sets the start position
|
|
172
|
-
*/
|
|
173
|
-
cursor?: Prisma.PaymentPlanWhereUniqueInput;
|
|
174
|
-
/**
|
|
175
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
176
|
-
*
|
|
177
|
-
* Take `±n` PaymentPlans from the position of the cursor.
|
|
178
|
-
*/
|
|
179
|
-
take?: number;
|
|
180
|
-
/**
|
|
181
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
182
|
-
*
|
|
183
|
-
* Skip the first `n` PaymentPlans.
|
|
184
|
-
*/
|
|
185
|
-
skip?: number;
|
|
186
|
-
/**
|
|
187
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
188
|
-
*
|
|
189
|
-
* Count returned PaymentPlans
|
|
190
|
-
**/
|
|
191
|
-
_count?: true | PaymentPlanCountAggregateInputType;
|
|
192
|
-
/**
|
|
193
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
194
|
-
*
|
|
195
|
-
* Select which fields to average
|
|
196
|
-
**/
|
|
197
|
-
_avg?: PaymentPlanAvgAggregateInputType;
|
|
198
|
-
/**
|
|
199
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
200
|
-
*
|
|
201
|
-
* Select which fields to sum
|
|
202
|
-
**/
|
|
203
|
-
_sum?: PaymentPlanSumAggregateInputType;
|
|
204
|
-
/**
|
|
205
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
206
|
-
*
|
|
207
|
-
* Select which fields to find the minimum value
|
|
208
|
-
**/
|
|
209
|
-
_min?: PaymentPlanMinAggregateInputType;
|
|
210
|
-
/**
|
|
211
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
212
|
-
*
|
|
213
|
-
* Select which fields to find the maximum value
|
|
214
|
-
**/
|
|
215
|
-
_max?: PaymentPlanMaxAggregateInputType;
|
|
216
|
-
};
|
|
217
|
-
export type GetPaymentPlanAggregateType<T extends PaymentPlanAggregateArgs> = {
|
|
218
|
-
[P in keyof T & keyof AggregatePaymentPlan]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePaymentPlan[P]> : Prisma.GetScalarType<T[P], AggregatePaymentPlan[P]>;
|
|
219
|
-
};
|
|
220
|
-
export type PaymentPlanGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
221
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
222
|
-
orderBy?: Prisma.PaymentPlanOrderByWithAggregationInput | Prisma.PaymentPlanOrderByWithAggregationInput[];
|
|
223
|
-
by: Prisma.PaymentPlanScalarFieldEnum[] | Prisma.PaymentPlanScalarFieldEnum;
|
|
224
|
-
having?: Prisma.PaymentPlanScalarWhereWithAggregatesInput;
|
|
225
|
-
take?: number;
|
|
226
|
-
skip?: number;
|
|
227
|
-
_count?: PaymentPlanCountAggregateInputType | true;
|
|
228
|
-
_avg?: PaymentPlanAvgAggregateInputType;
|
|
229
|
-
_sum?: PaymentPlanSumAggregateInputType;
|
|
230
|
-
_min?: PaymentPlanMinAggregateInputType;
|
|
231
|
-
_max?: PaymentPlanMaxAggregateInputType;
|
|
232
|
-
};
|
|
233
|
-
export type PaymentPlanGroupByOutputType = {
|
|
234
|
-
id: string;
|
|
235
|
-
propertyId: string;
|
|
236
|
-
buyerId: string | null;
|
|
237
|
-
planType: string;
|
|
238
|
-
name: string;
|
|
239
|
-
description: string | null;
|
|
240
|
-
totalAmount: number;
|
|
241
|
-
downPaymentAmount: number;
|
|
242
|
-
downPaymentPaid: number;
|
|
243
|
-
principalAmount: number;
|
|
244
|
-
interestRate: number;
|
|
245
|
-
totalInterest: number;
|
|
246
|
-
state: string;
|
|
247
|
-
stateMetadata: string | null;
|
|
248
|
-
createdAt: Date;
|
|
249
|
-
updatedAt: Date;
|
|
250
|
-
_count: PaymentPlanCountAggregateOutputType | null;
|
|
251
|
-
_avg: PaymentPlanAvgAggregateOutputType | null;
|
|
252
|
-
_sum: PaymentPlanSumAggregateOutputType | null;
|
|
253
|
-
_min: PaymentPlanMinAggregateOutputType | null;
|
|
254
|
-
_max: PaymentPlanMaxAggregateOutputType | null;
|
|
255
|
-
};
|
|
256
|
-
type GetPaymentPlanGroupByPayload<T extends PaymentPlanGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PaymentPlanGroupByOutputType, T['by']> & {
|
|
257
|
-
[P in ((keyof T) & (keyof PaymentPlanGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PaymentPlanGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PaymentPlanGroupByOutputType[P]>;
|
|
258
|
-
}>>;
|
|
259
|
-
export type PaymentPlanWhereInput = {
|
|
260
|
-
AND?: Prisma.PaymentPlanWhereInput | Prisma.PaymentPlanWhereInput[];
|
|
261
|
-
OR?: Prisma.PaymentPlanWhereInput[];
|
|
262
|
-
NOT?: Prisma.PaymentPlanWhereInput | Prisma.PaymentPlanWhereInput[];
|
|
263
|
-
id?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
264
|
-
propertyId?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
265
|
-
buyerId?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
266
|
-
planType?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
267
|
-
name?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
268
|
-
description?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
269
|
-
totalAmount?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
270
|
-
downPaymentAmount?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
271
|
-
downPaymentPaid?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
272
|
-
principalAmount?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
273
|
-
interestRate?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
274
|
-
totalInterest?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
275
|
-
state?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
276
|
-
stateMetadata?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
277
|
-
createdAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
278
|
-
updatedAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
279
|
-
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
280
|
-
buyer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
281
|
-
contract?: Prisma.XOR<Prisma.ContractNullableScalarRelationFilter, Prisma.ContractWhereInput> | null;
|
|
282
|
-
schedules?: Prisma.PaymentScheduleListRelationFilter;
|
|
283
|
-
payments?: Prisma.PaymentListRelationFilter;
|
|
284
|
-
};
|
|
285
|
-
export type PaymentPlanOrderByWithRelationInput = {
|
|
286
|
-
id?: Prisma.SortOrder;
|
|
287
|
-
propertyId?: Prisma.SortOrder;
|
|
288
|
-
buyerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
289
|
-
planType?: Prisma.SortOrder;
|
|
290
|
-
name?: Prisma.SortOrder;
|
|
291
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
292
|
-
totalAmount?: Prisma.SortOrder;
|
|
293
|
-
downPaymentAmount?: Prisma.SortOrder;
|
|
294
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
295
|
-
principalAmount?: Prisma.SortOrder;
|
|
296
|
-
interestRate?: Prisma.SortOrder;
|
|
297
|
-
totalInterest?: Prisma.SortOrder;
|
|
298
|
-
state?: Prisma.SortOrder;
|
|
299
|
-
stateMetadata?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
300
|
-
createdAt?: Prisma.SortOrder;
|
|
301
|
-
updatedAt?: Prisma.SortOrder;
|
|
302
|
-
property?: Prisma.PropertyOrderByWithRelationInput;
|
|
303
|
-
buyer?: Prisma.UserOrderByWithRelationInput;
|
|
304
|
-
contract?: Prisma.ContractOrderByWithRelationInput;
|
|
305
|
-
schedules?: Prisma.PaymentScheduleOrderByRelationAggregateInput;
|
|
306
|
-
payments?: Prisma.PaymentOrderByRelationAggregateInput;
|
|
307
|
-
_relevance?: Prisma.PaymentPlanOrderByRelevanceInput;
|
|
308
|
-
};
|
|
309
|
-
export type PaymentPlanWhereUniqueInput = Prisma.AtLeast<{
|
|
310
|
-
id?: string;
|
|
311
|
-
AND?: Prisma.PaymentPlanWhereInput | Prisma.PaymentPlanWhereInput[];
|
|
312
|
-
OR?: Prisma.PaymentPlanWhereInput[];
|
|
313
|
-
NOT?: Prisma.PaymentPlanWhereInput | Prisma.PaymentPlanWhereInput[];
|
|
314
|
-
propertyId?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
315
|
-
buyerId?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
316
|
-
planType?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
317
|
-
name?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
318
|
-
description?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
319
|
-
totalAmount?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
320
|
-
downPaymentAmount?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
321
|
-
downPaymentPaid?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
322
|
-
principalAmount?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
323
|
-
interestRate?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
324
|
-
totalInterest?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
325
|
-
state?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
326
|
-
stateMetadata?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
327
|
-
createdAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
328
|
-
updatedAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
329
|
-
property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
|
|
330
|
-
buyer?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
331
|
-
contract?: Prisma.XOR<Prisma.ContractNullableScalarRelationFilter, Prisma.ContractWhereInput> | null;
|
|
332
|
-
schedules?: Prisma.PaymentScheduleListRelationFilter;
|
|
333
|
-
payments?: Prisma.PaymentListRelationFilter;
|
|
334
|
-
}, "id">;
|
|
335
|
-
export type PaymentPlanOrderByWithAggregationInput = {
|
|
336
|
-
id?: Prisma.SortOrder;
|
|
337
|
-
propertyId?: Prisma.SortOrder;
|
|
338
|
-
buyerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
339
|
-
planType?: Prisma.SortOrder;
|
|
340
|
-
name?: Prisma.SortOrder;
|
|
341
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
342
|
-
totalAmount?: Prisma.SortOrder;
|
|
343
|
-
downPaymentAmount?: Prisma.SortOrder;
|
|
344
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
345
|
-
principalAmount?: Prisma.SortOrder;
|
|
346
|
-
interestRate?: Prisma.SortOrder;
|
|
347
|
-
totalInterest?: Prisma.SortOrder;
|
|
348
|
-
state?: Prisma.SortOrder;
|
|
349
|
-
stateMetadata?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
350
|
-
createdAt?: Prisma.SortOrder;
|
|
351
|
-
updatedAt?: Prisma.SortOrder;
|
|
352
|
-
_count?: Prisma.PaymentPlanCountOrderByAggregateInput;
|
|
353
|
-
_avg?: Prisma.PaymentPlanAvgOrderByAggregateInput;
|
|
354
|
-
_max?: Prisma.PaymentPlanMaxOrderByAggregateInput;
|
|
355
|
-
_min?: Prisma.PaymentPlanMinOrderByAggregateInput;
|
|
356
|
-
_sum?: Prisma.PaymentPlanSumOrderByAggregateInput;
|
|
357
|
-
};
|
|
358
|
-
export type PaymentPlanScalarWhereWithAggregatesInput = {
|
|
359
|
-
AND?: Prisma.PaymentPlanScalarWhereWithAggregatesInput | Prisma.PaymentPlanScalarWhereWithAggregatesInput[];
|
|
360
|
-
OR?: Prisma.PaymentPlanScalarWhereWithAggregatesInput[];
|
|
361
|
-
NOT?: Prisma.PaymentPlanScalarWhereWithAggregatesInput | Prisma.PaymentPlanScalarWhereWithAggregatesInput[];
|
|
362
|
-
id?: Prisma.StringWithAggregatesFilter<"PaymentPlan"> | string;
|
|
363
|
-
propertyId?: Prisma.StringWithAggregatesFilter<"PaymentPlan"> | string;
|
|
364
|
-
buyerId?: Prisma.StringNullableWithAggregatesFilter<"PaymentPlan"> | string | null;
|
|
365
|
-
planType?: Prisma.StringWithAggregatesFilter<"PaymentPlan"> | string;
|
|
366
|
-
name?: Prisma.StringWithAggregatesFilter<"PaymentPlan"> | string;
|
|
367
|
-
description?: Prisma.StringNullableWithAggregatesFilter<"PaymentPlan"> | string | null;
|
|
368
|
-
totalAmount?: Prisma.FloatWithAggregatesFilter<"PaymentPlan"> | number;
|
|
369
|
-
downPaymentAmount?: Prisma.FloatWithAggregatesFilter<"PaymentPlan"> | number;
|
|
370
|
-
downPaymentPaid?: Prisma.FloatWithAggregatesFilter<"PaymentPlan"> | number;
|
|
371
|
-
principalAmount?: Prisma.FloatWithAggregatesFilter<"PaymentPlan"> | number;
|
|
372
|
-
interestRate?: Prisma.FloatWithAggregatesFilter<"PaymentPlan"> | number;
|
|
373
|
-
totalInterest?: Prisma.FloatWithAggregatesFilter<"PaymentPlan"> | number;
|
|
374
|
-
state?: Prisma.StringWithAggregatesFilter<"PaymentPlan"> | string;
|
|
375
|
-
stateMetadata?: Prisma.StringNullableWithAggregatesFilter<"PaymentPlan"> | string | null;
|
|
376
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentPlan"> | Date | string;
|
|
377
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentPlan"> | Date | string;
|
|
378
|
-
};
|
|
379
|
-
export type PaymentPlanCreateInput = {
|
|
380
|
-
id?: string;
|
|
381
|
-
planType: string;
|
|
382
|
-
name: string;
|
|
383
|
-
description?: string | null;
|
|
384
|
-
totalAmount: number;
|
|
385
|
-
downPaymentAmount?: number;
|
|
386
|
-
downPaymentPaid?: number;
|
|
387
|
-
principalAmount: number;
|
|
388
|
-
interestRate?: number;
|
|
389
|
-
totalInterest?: number;
|
|
390
|
-
state?: string;
|
|
391
|
-
stateMetadata?: string | null;
|
|
392
|
-
createdAt?: Date | string;
|
|
393
|
-
updatedAt?: Date | string;
|
|
394
|
-
property: Prisma.PropertyCreateNestedOneWithoutPaymentPlansInput;
|
|
395
|
-
buyer?: Prisma.UserCreateNestedOneWithoutPaymentPlansInput;
|
|
396
|
-
contract?: Prisma.ContractCreateNestedOneWithoutPaymentPlanInput;
|
|
397
|
-
schedules?: Prisma.PaymentScheduleCreateNestedManyWithoutPlanInput;
|
|
398
|
-
payments?: Prisma.PaymentCreateNestedManyWithoutPlanInput;
|
|
399
|
-
};
|
|
400
|
-
export type PaymentPlanUncheckedCreateInput = {
|
|
401
|
-
id?: string;
|
|
402
|
-
propertyId: string;
|
|
403
|
-
buyerId?: string | null;
|
|
404
|
-
planType: string;
|
|
405
|
-
name: string;
|
|
406
|
-
description?: string | null;
|
|
407
|
-
totalAmount: number;
|
|
408
|
-
downPaymentAmount?: number;
|
|
409
|
-
downPaymentPaid?: number;
|
|
410
|
-
principalAmount: number;
|
|
411
|
-
interestRate?: number;
|
|
412
|
-
totalInterest?: number;
|
|
413
|
-
state?: string;
|
|
414
|
-
stateMetadata?: string | null;
|
|
415
|
-
createdAt?: Date | string;
|
|
416
|
-
updatedAt?: Date | string;
|
|
417
|
-
contract?: Prisma.ContractUncheckedCreateNestedOneWithoutPaymentPlanInput;
|
|
418
|
-
schedules?: Prisma.PaymentScheduleUncheckedCreateNestedManyWithoutPlanInput;
|
|
419
|
-
payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPlanInput;
|
|
420
|
-
};
|
|
421
|
-
export type PaymentPlanUpdateInput = {
|
|
422
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
423
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
424
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
425
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
426
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
427
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
428
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
429
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
430
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
431
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
432
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
433
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
434
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
435
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
436
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutPaymentPlansNestedInput;
|
|
437
|
-
buyer?: Prisma.UserUpdateOneWithoutPaymentPlansNestedInput;
|
|
438
|
-
contract?: Prisma.ContractUpdateOneWithoutPaymentPlanNestedInput;
|
|
439
|
-
schedules?: Prisma.PaymentScheduleUpdateManyWithoutPlanNestedInput;
|
|
440
|
-
payments?: Prisma.PaymentUpdateManyWithoutPlanNestedInput;
|
|
441
|
-
};
|
|
442
|
-
export type PaymentPlanUncheckedUpdateInput = {
|
|
443
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
444
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
445
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
446
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
447
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
448
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
449
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
450
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
451
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
452
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
453
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
454
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
455
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
456
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
457
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
458
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
459
|
-
contract?: Prisma.ContractUncheckedUpdateOneWithoutPaymentPlanNestedInput;
|
|
460
|
-
schedules?: Prisma.PaymentScheduleUncheckedUpdateManyWithoutPlanNestedInput;
|
|
461
|
-
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPlanNestedInput;
|
|
462
|
-
};
|
|
463
|
-
export type PaymentPlanCreateManyInput = {
|
|
464
|
-
id?: string;
|
|
465
|
-
propertyId: string;
|
|
466
|
-
buyerId?: string | null;
|
|
467
|
-
planType: string;
|
|
468
|
-
name: string;
|
|
469
|
-
description?: string | null;
|
|
470
|
-
totalAmount: number;
|
|
471
|
-
downPaymentAmount?: number;
|
|
472
|
-
downPaymentPaid?: number;
|
|
473
|
-
principalAmount: number;
|
|
474
|
-
interestRate?: number;
|
|
475
|
-
totalInterest?: number;
|
|
476
|
-
state?: string;
|
|
477
|
-
stateMetadata?: string | null;
|
|
478
|
-
createdAt?: Date | string;
|
|
479
|
-
updatedAt?: Date | string;
|
|
480
|
-
};
|
|
481
|
-
export type PaymentPlanUpdateManyMutationInput = {
|
|
482
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
483
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
484
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
485
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
486
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
487
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
488
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
489
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
490
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
491
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
492
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
493
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
494
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
495
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
496
|
-
};
|
|
497
|
-
export type PaymentPlanUncheckedUpdateManyInput = {
|
|
498
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
499
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
500
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
501
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
502
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
503
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
504
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
505
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
506
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
507
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
508
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
509
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
510
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
511
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
512
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
513
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
514
|
-
};
|
|
515
|
-
export type PaymentPlanListRelationFilter = {
|
|
516
|
-
every?: Prisma.PaymentPlanWhereInput;
|
|
517
|
-
some?: Prisma.PaymentPlanWhereInput;
|
|
518
|
-
none?: Prisma.PaymentPlanWhereInput;
|
|
519
|
-
};
|
|
520
|
-
export type PaymentPlanOrderByRelationAggregateInput = {
|
|
521
|
-
_count?: Prisma.SortOrder;
|
|
522
|
-
};
|
|
523
|
-
export type PaymentPlanOrderByRelevanceInput = {
|
|
524
|
-
fields: Prisma.PaymentPlanOrderByRelevanceFieldEnum | Prisma.PaymentPlanOrderByRelevanceFieldEnum[];
|
|
525
|
-
sort: Prisma.SortOrder;
|
|
526
|
-
search: string;
|
|
527
|
-
};
|
|
528
|
-
export type PaymentPlanCountOrderByAggregateInput = {
|
|
529
|
-
id?: Prisma.SortOrder;
|
|
530
|
-
propertyId?: Prisma.SortOrder;
|
|
531
|
-
buyerId?: Prisma.SortOrder;
|
|
532
|
-
planType?: Prisma.SortOrder;
|
|
533
|
-
name?: Prisma.SortOrder;
|
|
534
|
-
description?: Prisma.SortOrder;
|
|
535
|
-
totalAmount?: Prisma.SortOrder;
|
|
536
|
-
downPaymentAmount?: Prisma.SortOrder;
|
|
537
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
538
|
-
principalAmount?: Prisma.SortOrder;
|
|
539
|
-
interestRate?: Prisma.SortOrder;
|
|
540
|
-
totalInterest?: Prisma.SortOrder;
|
|
541
|
-
state?: Prisma.SortOrder;
|
|
542
|
-
stateMetadata?: Prisma.SortOrder;
|
|
543
|
-
createdAt?: Prisma.SortOrder;
|
|
544
|
-
updatedAt?: Prisma.SortOrder;
|
|
545
|
-
};
|
|
546
|
-
export type PaymentPlanAvgOrderByAggregateInput = {
|
|
547
|
-
totalAmount?: Prisma.SortOrder;
|
|
548
|
-
downPaymentAmount?: Prisma.SortOrder;
|
|
549
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
550
|
-
principalAmount?: Prisma.SortOrder;
|
|
551
|
-
interestRate?: Prisma.SortOrder;
|
|
552
|
-
totalInterest?: Prisma.SortOrder;
|
|
553
|
-
};
|
|
554
|
-
export type PaymentPlanMaxOrderByAggregateInput = {
|
|
555
|
-
id?: Prisma.SortOrder;
|
|
556
|
-
propertyId?: Prisma.SortOrder;
|
|
557
|
-
buyerId?: Prisma.SortOrder;
|
|
558
|
-
planType?: Prisma.SortOrder;
|
|
559
|
-
name?: Prisma.SortOrder;
|
|
560
|
-
description?: Prisma.SortOrder;
|
|
561
|
-
totalAmount?: Prisma.SortOrder;
|
|
562
|
-
downPaymentAmount?: Prisma.SortOrder;
|
|
563
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
564
|
-
principalAmount?: Prisma.SortOrder;
|
|
565
|
-
interestRate?: Prisma.SortOrder;
|
|
566
|
-
totalInterest?: Prisma.SortOrder;
|
|
567
|
-
state?: Prisma.SortOrder;
|
|
568
|
-
stateMetadata?: Prisma.SortOrder;
|
|
569
|
-
createdAt?: Prisma.SortOrder;
|
|
570
|
-
updatedAt?: Prisma.SortOrder;
|
|
571
|
-
};
|
|
572
|
-
export type PaymentPlanMinOrderByAggregateInput = {
|
|
573
|
-
id?: Prisma.SortOrder;
|
|
574
|
-
propertyId?: Prisma.SortOrder;
|
|
575
|
-
buyerId?: Prisma.SortOrder;
|
|
576
|
-
planType?: Prisma.SortOrder;
|
|
577
|
-
name?: Prisma.SortOrder;
|
|
578
|
-
description?: Prisma.SortOrder;
|
|
579
|
-
totalAmount?: Prisma.SortOrder;
|
|
580
|
-
downPaymentAmount?: Prisma.SortOrder;
|
|
581
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
582
|
-
principalAmount?: Prisma.SortOrder;
|
|
583
|
-
interestRate?: Prisma.SortOrder;
|
|
584
|
-
totalInterest?: Prisma.SortOrder;
|
|
585
|
-
state?: Prisma.SortOrder;
|
|
586
|
-
stateMetadata?: Prisma.SortOrder;
|
|
587
|
-
createdAt?: Prisma.SortOrder;
|
|
588
|
-
updatedAt?: Prisma.SortOrder;
|
|
589
|
-
};
|
|
590
|
-
export type PaymentPlanSumOrderByAggregateInput = {
|
|
591
|
-
totalAmount?: Prisma.SortOrder;
|
|
592
|
-
downPaymentAmount?: Prisma.SortOrder;
|
|
593
|
-
downPaymentPaid?: Prisma.SortOrder;
|
|
594
|
-
principalAmount?: Prisma.SortOrder;
|
|
595
|
-
interestRate?: Prisma.SortOrder;
|
|
596
|
-
totalInterest?: Prisma.SortOrder;
|
|
597
|
-
};
|
|
598
|
-
export type PaymentPlanScalarRelationFilter = {
|
|
599
|
-
is?: Prisma.PaymentPlanWhereInput;
|
|
600
|
-
isNot?: Prisma.PaymentPlanWhereInput;
|
|
601
|
-
};
|
|
602
|
-
export type PaymentPlanNullableScalarRelationFilter = {
|
|
603
|
-
is?: Prisma.PaymentPlanWhereInput | null;
|
|
604
|
-
isNot?: Prisma.PaymentPlanWhereInput | null;
|
|
605
|
-
};
|
|
606
|
-
export type PaymentPlanCreateNestedManyWithoutBuyerInput = {
|
|
607
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutBuyerInput, Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput> | Prisma.PaymentPlanCreateWithoutBuyerInput[] | Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput[];
|
|
608
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutBuyerInput | Prisma.PaymentPlanCreateOrConnectWithoutBuyerInput[];
|
|
609
|
-
createMany?: Prisma.PaymentPlanCreateManyBuyerInputEnvelope;
|
|
610
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
611
|
-
};
|
|
612
|
-
export type PaymentPlanUncheckedCreateNestedManyWithoutBuyerInput = {
|
|
613
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutBuyerInput, Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput> | Prisma.PaymentPlanCreateWithoutBuyerInput[] | Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput[];
|
|
614
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutBuyerInput | Prisma.PaymentPlanCreateOrConnectWithoutBuyerInput[];
|
|
615
|
-
createMany?: Prisma.PaymentPlanCreateManyBuyerInputEnvelope;
|
|
616
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
617
|
-
};
|
|
618
|
-
export type PaymentPlanUpdateManyWithoutBuyerNestedInput = {
|
|
619
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutBuyerInput, Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput> | Prisma.PaymentPlanCreateWithoutBuyerInput[] | Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput[];
|
|
620
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutBuyerInput | Prisma.PaymentPlanCreateOrConnectWithoutBuyerInput[];
|
|
621
|
-
upsert?: Prisma.PaymentPlanUpsertWithWhereUniqueWithoutBuyerInput | Prisma.PaymentPlanUpsertWithWhereUniqueWithoutBuyerInput[];
|
|
622
|
-
createMany?: Prisma.PaymentPlanCreateManyBuyerInputEnvelope;
|
|
623
|
-
set?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
624
|
-
disconnect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
625
|
-
delete?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
626
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
627
|
-
update?: Prisma.PaymentPlanUpdateWithWhereUniqueWithoutBuyerInput | Prisma.PaymentPlanUpdateWithWhereUniqueWithoutBuyerInput[];
|
|
628
|
-
updateMany?: Prisma.PaymentPlanUpdateManyWithWhereWithoutBuyerInput | Prisma.PaymentPlanUpdateManyWithWhereWithoutBuyerInput[];
|
|
629
|
-
deleteMany?: Prisma.PaymentPlanScalarWhereInput | Prisma.PaymentPlanScalarWhereInput[];
|
|
630
|
-
};
|
|
631
|
-
export type PaymentPlanUncheckedUpdateManyWithoutBuyerNestedInput = {
|
|
632
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutBuyerInput, Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput> | Prisma.PaymentPlanCreateWithoutBuyerInput[] | Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput[];
|
|
633
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutBuyerInput | Prisma.PaymentPlanCreateOrConnectWithoutBuyerInput[];
|
|
634
|
-
upsert?: Prisma.PaymentPlanUpsertWithWhereUniqueWithoutBuyerInput | Prisma.PaymentPlanUpsertWithWhereUniqueWithoutBuyerInput[];
|
|
635
|
-
createMany?: Prisma.PaymentPlanCreateManyBuyerInputEnvelope;
|
|
636
|
-
set?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
637
|
-
disconnect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
638
|
-
delete?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
639
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
640
|
-
update?: Prisma.PaymentPlanUpdateWithWhereUniqueWithoutBuyerInput | Prisma.PaymentPlanUpdateWithWhereUniqueWithoutBuyerInput[];
|
|
641
|
-
updateMany?: Prisma.PaymentPlanUpdateManyWithWhereWithoutBuyerInput | Prisma.PaymentPlanUpdateManyWithWhereWithoutBuyerInput[];
|
|
642
|
-
deleteMany?: Prisma.PaymentPlanScalarWhereInput | Prisma.PaymentPlanScalarWhereInput[];
|
|
643
|
-
};
|
|
644
|
-
export type PaymentPlanCreateNestedManyWithoutPropertyInput = {
|
|
645
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPropertyInput, Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput> | Prisma.PaymentPlanCreateWithoutPropertyInput[] | Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput[];
|
|
646
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutPropertyInput | Prisma.PaymentPlanCreateOrConnectWithoutPropertyInput[];
|
|
647
|
-
createMany?: Prisma.PaymentPlanCreateManyPropertyInputEnvelope;
|
|
648
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
649
|
-
};
|
|
650
|
-
export type PaymentPlanUncheckedCreateNestedManyWithoutPropertyInput = {
|
|
651
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPropertyInput, Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput> | Prisma.PaymentPlanCreateWithoutPropertyInput[] | Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput[];
|
|
652
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutPropertyInput | Prisma.PaymentPlanCreateOrConnectWithoutPropertyInput[];
|
|
653
|
-
createMany?: Prisma.PaymentPlanCreateManyPropertyInputEnvelope;
|
|
654
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
655
|
-
};
|
|
656
|
-
export type PaymentPlanUpdateManyWithoutPropertyNestedInput = {
|
|
657
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPropertyInput, Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput> | Prisma.PaymentPlanCreateWithoutPropertyInput[] | Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput[];
|
|
658
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutPropertyInput | Prisma.PaymentPlanCreateOrConnectWithoutPropertyInput[];
|
|
659
|
-
upsert?: Prisma.PaymentPlanUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PaymentPlanUpsertWithWhereUniqueWithoutPropertyInput[];
|
|
660
|
-
createMany?: Prisma.PaymentPlanCreateManyPropertyInputEnvelope;
|
|
661
|
-
set?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
662
|
-
disconnect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
663
|
-
delete?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
664
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
665
|
-
update?: Prisma.PaymentPlanUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PaymentPlanUpdateWithWhereUniqueWithoutPropertyInput[];
|
|
666
|
-
updateMany?: Prisma.PaymentPlanUpdateManyWithWhereWithoutPropertyInput | Prisma.PaymentPlanUpdateManyWithWhereWithoutPropertyInput[];
|
|
667
|
-
deleteMany?: Prisma.PaymentPlanScalarWhereInput | Prisma.PaymentPlanScalarWhereInput[];
|
|
668
|
-
};
|
|
669
|
-
export type PaymentPlanUncheckedUpdateManyWithoutPropertyNestedInput = {
|
|
670
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPropertyInput, Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput> | Prisma.PaymentPlanCreateWithoutPropertyInput[] | Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput[];
|
|
671
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutPropertyInput | Prisma.PaymentPlanCreateOrConnectWithoutPropertyInput[];
|
|
672
|
-
upsert?: Prisma.PaymentPlanUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PaymentPlanUpsertWithWhereUniqueWithoutPropertyInput[];
|
|
673
|
-
createMany?: Prisma.PaymentPlanCreateManyPropertyInputEnvelope;
|
|
674
|
-
set?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
675
|
-
disconnect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
676
|
-
delete?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
677
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput | Prisma.PaymentPlanWhereUniqueInput[];
|
|
678
|
-
update?: Prisma.PaymentPlanUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PaymentPlanUpdateWithWhereUniqueWithoutPropertyInput[];
|
|
679
|
-
updateMany?: Prisma.PaymentPlanUpdateManyWithWhereWithoutPropertyInput | Prisma.PaymentPlanUpdateManyWithWhereWithoutPropertyInput[];
|
|
680
|
-
deleteMany?: Prisma.PaymentPlanScalarWhereInput | Prisma.PaymentPlanScalarWhereInput[];
|
|
681
|
-
};
|
|
682
|
-
export type PaymentPlanCreateNestedOneWithoutSchedulesInput = {
|
|
683
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutSchedulesInput, Prisma.PaymentPlanUncheckedCreateWithoutSchedulesInput>;
|
|
684
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutSchedulesInput;
|
|
685
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
686
|
-
};
|
|
687
|
-
export type PaymentPlanUpdateOneRequiredWithoutSchedulesNestedInput = {
|
|
688
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutSchedulesInput, Prisma.PaymentPlanUncheckedCreateWithoutSchedulesInput>;
|
|
689
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutSchedulesInput;
|
|
690
|
-
upsert?: Prisma.PaymentPlanUpsertWithoutSchedulesInput;
|
|
691
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
692
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PaymentPlanUpdateToOneWithWhereWithoutSchedulesInput, Prisma.PaymentPlanUpdateWithoutSchedulesInput>, Prisma.PaymentPlanUncheckedUpdateWithoutSchedulesInput>;
|
|
693
|
-
};
|
|
694
|
-
export type PaymentPlanCreateNestedOneWithoutPaymentsInput = {
|
|
695
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPaymentsInput, Prisma.PaymentPlanUncheckedCreateWithoutPaymentsInput>;
|
|
696
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutPaymentsInput;
|
|
697
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
698
|
-
};
|
|
699
|
-
export type PaymentPlanUpdateOneRequiredWithoutPaymentsNestedInput = {
|
|
700
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPaymentsInput, Prisma.PaymentPlanUncheckedCreateWithoutPaymentsInput>;
|
|
701
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutPaymentsInput;
|
|
702
|
-
upsert?: Prisma.PaymentPlanUpsertWithoutPaymentsInput;
|
|
703
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
704
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PaymentPlanUpdateToOneWithWhereWithoutPaymentsInput, Prisma.PaymentPlanUpdateWithoutPaymentsInput>, Prisma.PaymentPlanUncheckedUpdateWithoutPaymentsInput>;
|
|
705
|
-
};
|
|
706
|
-
export type PaymentPlanCreateNestedOneWithoutContractInput = {
|
|
707
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutContractInput, Prisma.PaymentPlanUncheckedCreateWithoutContractInput>;
|
|
708
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutContractInput;
|
|
709
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
710
|
-
};
|
|
711
|
-
export type PaymentPlanUpdateOneWithoutContractNestedInput = {
|
|
712
|
-
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutContractInput, Prisma.PaymentPlanUncheckedCreateWithoutContractInput>;
|
|
713
|
-
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutContractInput;
|
|
714
|
-
upsert?: Prisma.PaymentPlanUpsertWithoutContractInput;
|
|
715
|
-
disconnect?: Prisma.PaymentPlanWhereInput | boolean;
|
|
716
|
-
delete?: Prisma.PaymentPlanWhereInput | boolean;
|
|
717
|
-
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
718
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.PaymentPlanUpdateToOneWithWhereWithoutContractInput, Prisma.PaymentPlanUpdateWithoutContractInput>, Prisma.PaymentPlanUncheckedUpdateWithoutContractInput>;
|
|
719
|
-
};
|
|
720
|
-
export type PaymentPlanCreateWithoutBuyerInput = {
|
|
721
|
-
id?: string;
|
|
722
|
-
planType: string;
|
|
723
|
-
name: string;
|
|
724
|
-
description?: string | null;
|
|
725
|
-
totalAmount: number;
|
|
726
|
-
downPaymentAmount?: number;
|
|
727
|
-
downPaymentPaid?: number;
|
|
728
|
-
principalAmount: number;
|
|
729
|
-
interestRate?: number;
|
|
730
|
-
totalInterest?: number;
|
|
731
|
-
state?: string;
|
|
732
|
-
stateMetadata?: string | null;
|
|
733
|
-
createdAt?: Date | string;
|
|
734
|
-
updatedAt?: Date | string;
|
|
735
|
-
property: Prisma.PropertyCreateNestedOneWithoutPaymentPlansInput;
|
|
736
|
-
contract?: Prisma.ContractCreateNestedOneWithoutPaymentPlanInput;
|
|
737
|
-
schedules?: Prisma.PaymentScheduleCreateNestedManyWithoutPlanInput;
|
|
738
|
-
payments?: Prisma.PaymentCreateNestedManyWithoutPlanInput;
|
|
739
|
-
};
|
|
740
|
-
export type PaymentPlanUncheckedCreateWithoutBuyerInput = {
|
|
741
|
-
id?: string;
|
|
742
|
-
propertyId: string;
|
|
743
|
-
planType: string;
|
|
744
|
-
name: string;
|
|
745
|
-
description?: string | null;
|
|
746
|
-
totalAmount: number;
|
|
747
|
-
downPaymentAmount?: number;
|
|
748
|
-
downPaymentPaid?: number;
|
|
749
|
-
principalAmount: number;
|
|
750
|
-
interestRate?: number;
|
|
751
|
-
totalInterest?: number;
|
|
752
|
-
state?: string;
|
|
753
|
-
stateMetadata?: string | null;
|
|
754
|
-
createdAt?: Date | string;
|
|
755
|
-
updatedAt?: Date | string;
|
|
756
|
-
contract?: Prisma.ContractUncheckedCreateNestedOneWithoutPaymentPlanInput;
|
|
757
|
-
schedules?: Prisma.PaymentScheduleUncheckedCreateNestedManyWithoutPlanInput;
|
|
758
|
-
payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPlanInput;
|
|
759
|
-
};
|
|
760
|
-
export type PaymentPlanCreateOrConnectWithoutBuyerInput = {
|
|
761
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
762
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutBuyerInput, Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput>;
|
|
763
|
-
};
|
|
764
|
-
export type PaymentPlanCreateManyBuyerInputEnvelope = {
|
|
765
|
-
data: Prisma.PaymentPlanCreateManyBuyerInput | Prisma.PaymentPlanCreateManyBuyerInput[];
|
|
766
|
-
skipDuplicates?: boolean;
|
|
767
|
-
};
|
|
768
|
-
export type PaymentPlanUpsertWithWhereUniqueWithoutBuyerInput = {
|
|
769
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
770
|
-
update: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutBuyerInput, Prisma.PaymentPlanUncheckedUpdateWithoutBuyerInput>;
|
|
771
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutBuyerInput, Prisma.PaymentPlanUncheckedCreateWithoutBuyerInput>;
|
|
772
|
-
};
|
|
773
|
-
export type PaymentPlanUpdateWithWhereUniqueWithoutBuyerInput = {
|
|
774
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
775
|
-
data: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutBuyerInput, Prisma.PaymentPlanUncheckedUpdateWithoutBuyerInput>;
|
|
776
|
-
};
|
|
777
|
-
export type PaymentPlanUpdateManyWithWhereWithoutBuyerInput = {
|
|
778
|
-
where: Prisma.PaymentPlanScalarWhereInput;
|
|
779
|
-
data: Prisma.XOR<Prisma.PaymentPlanUpdateManyMutationInput, Prisma.PaymentPlanUncheckedUpdateManyWithoutBuyerInput>;
|
|
780
|
-
};
|
|
781
|
-
export type PaymentPlanScalarWhereInput = {
|
|
782
|
-
AND?: Prisma.PaymentPlanScalarWhereInput | Prisma.PaymentPlanScalarWhereInput[];
|
|
783
|
-
OR?: Prisma.PaymentPlanScalarWhereInput[];
|
|
784
|
-
NOT?: Prisma.PaymentPlanScalarWhereInput | Prisma.PaymentPlanScalarWhereInput[];
|
|
785
|
-
id?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
786
|
-
propertyId?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
787
|
-
buyerId?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
788
|
-
planType?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
789
|
-
name?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
790
|
-
description?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
791
|
-
totalAmount?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
792
|
-
downPaymentAmount?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
793
|
-
downPaymentPaid?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
794
|
-
principalAmount?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
795
|
-
interestRate?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
796
|
-
totalInterest?: Prisma.FloatFilter<"PaymentPlan"> | number;
|
|
797
|
-
state?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
798
|
-
stateMetadata?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
799
|
-
createdAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
800
|
-
updatedAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
801
|
-
};
|
|
802
|
-
export type PaymentPlanCreateWithoutPropertyInput = {
|
|
803
|
-
id?: string;
|
|
804
|
-
planType: string;
|
|
805
|
-
name: string;
|
|
806
|
-
description?: string | null;
|
|
807
|
-
totalAmount: number;
|
|
808
|
-
downPaymentAmount?: number;
|
|
809
|
-
downPaymentPaid?: number;
|
|
810
|
-
principalAmount: number;
|
|
811
|
-
interestRate?: number;
|
|
812
|
-
totalInterest?: number;
|
|
813
|
-
state?: string;
|
|
814
|
-
stateMetadata?: string | null;
|
|
815
|
-
createdAt?: Date | string;
|
|
816
|
-
updatedAt?: Date | string;
|
|
817
|
-
buyer?: Prisma.UserCreateNestedOneWithoutPaymentPlansInput;
|
|
818
|
-
contract?: Prisma.ContractCreateNestedOneWithoutPaymentPlanInput;
|
|
819
|
-
schedules?: Prisma.PaymentScheduleCreateNestedManyWithoutPlanInput;
|
|
820
|
-
payments?: Prisma.PaymentCreateNestedManyWithoutPlanInput;
|
|
821
|
-
};
|
|
822
|
-
export type PaymentPlanUncheckedCreateWithoutPropertyInput = {
|
|
823
|
-
id?: string;
|
|
824
|
-
buyerId?: string | null;
|
|
825
|
-
planType: string;
|
|
826
|
-
name: string;
|
|
827
|
-
description?: string | null;
|
|
828
|
-
totalAmount: number;
|
|
829
|
-
downPaymentAmount?: number;
|
|
830
|
-
downPaymentPaid?: number;
|
|
831
|
-
principalAmount: number;
|
|
832
|
-
interestRate?: number;
|
|
833
|
-
totalInterest?: number;
|
|
834
|
-
state?: string;
|
|
835
|
-
stateMetadata?: string | null;
|
|
836
|
-
createdAt?: Date | string;
|
|
837
|
-
updatedAt?: Date | string;
|
|
838
|
-
contract?: Prisma.ContractUncheckedCreateNestedOneWithoutPaymentPlanInput;
|
|
839
|
-
schedules?: Prisma.PaymentScheduleUncheckedCreateNestedManyWithoutPlanInput;
|
|
840
|
-
payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPlanInput;
|
|
841
|
-
};
|
|
842
|
-
export type PaymentPlanCreateOrConnectWithoutPropertyInput = {
|
|
843
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
844
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPropertyInput, Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput>;
|
|
845
|
-
};
|
|
846
|
-
export type PaymentPlanCreateManyPropertyInputEnvelope = {
|
|
847
|
-
data: Prisma.PaymentPlanCreateManyPropertyInput | Prisma.PaymentPlanCreateManyPropertyInput[];
|
|
848
|
-
skipDuplicates?: boolean;
|
|
849
|
-
};
|
|
850
|
-
export type PaymentPlanUpsertWithWhereUniqueWithoutPropertyInput = {
|
|
851
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
852
|
-
update: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutPropertyInput, Prisma.PaymentPlanUncheckedUpdateWithoutPropertyInput>;
|
|
853
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPropertyInput, Prisma.PaymentPlanUncheckedCreateWithoutPropertyInput>;
|
|
854
|
-
};
|
|
855
|
-
export type PaymentPlanUpdateWithWhereUniqueWithoutPropertyInput = {
|
|
856
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
857
|
-
data: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutPropertyInput, Prisma.PaymentPlanUncheckedUpdateWithoutPropertyInput>;
|
|
858
|
-
};
|
|
859
|
-
export type PaymentPlanUpdateManyWithWhereWithoutPropertyInput = {
|
|
860
|
-
where: Prisma.PaymentPlanScalarWhereInput;
|
|
861
|
-
data: Prisma.XOR<Prisma.PaymentPlanUpdateManyMutationInput, Prisma.PaymentPlanUncheckedUpdateManyWithoutPropertyInput>;
|
|
862
|
-
};
|
|
863
|
-
export type PaymentPlanCreateWithoutSchedulesInput = {
|
|
864
|
-
id?: string;
|
|
865
|
-
planType: string;
|
|
866
|
-
name: string;
|
|
867
|
-
description?: string | null;
|
|
868
|
-
totalAmount: number;
|
|
869
|
-
downPaymentAmount?: number;
|
|
870
|
-
downPaymentPaid?: number;
|
|
871
|
-
principalAmount: number;
|
|
872
|
-
interestRate?: number;
|
|
873
|
-
totalInterest?: number;
|
|
874
|
-
state?: string;
|
|
875
|
-
stateMetadata?: string | null;
|
|
876
|
-
createdAt?: Date | string;
|
|
877
|
-
updatedAt?: Date | string;
|
|
878
|
-
property: Prisma.PropertyCreateNestedOneWithoutPaymentPlansInput;
|
|
879
|
-
buyer?: Prisma.UserCreateNestedOneWithoutPaymentPlansInput;
|
|
880
|
-
contract?: Prisma.ContractCreateNestedOneWithoutPaymentPlanInput;
|
|
881
|
-
payments?: Prisma.PaymentCreateNestedManyWithoutPlanInput;
|
|
882
|
-
};
|
|
883
|
-
export type PaymentPlanUncheckedCreateWithoutSchedulesInput = {
|
|
884
|
-
id?: string;
|
|
885
|
-
propertyId: string;
|
|
886
|
-
buyerId?: string | null;
|
|
887
|
-
planType: string;
|
|
888
|
-
name: string;
|
|
889
|
-
description?: string | null;
|
|
890
|
-
totalAmount: number;
|
|
891
|
-
downPaymentAmount?: number;
|
|
892
|
-
downPaymentPaid?: number;
|
|
893
|
-
principalAmount: number;
|
|
894
|
-
interestRate?: number;
|
|
895
|
-
totalInterest?: number;
|
|
896
|
-
state?: string;
|
|
897
|
-
stateMetadata?: string | null;
|
|
898
|
-
createdAt?: Date | string;
|
|
899
|
-
updatedAt?: Date | string;
|
|
900
|
-
contract?: Prisma.ContractUncheckedCreateNestedOneWithoutPaymentPlanInput;
|
|
901
|
-
payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPlanInput;
|
|
902
|
-
};
|
|
903
|
-
export type PaymentPlanCreateOrConnectWithoutSchedulesInput = {
|
|
904
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
905
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutSchedulesInput, Prisma.PaymentPlanUncheckedCreateWithoutSchedulesInput>;
|
|
906
|
-
};
|
|
907
|
-
export type PaymentPlanUpsertWithoutSchedulesInput = {
|
|
908
|
-
update: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutSchedulesInput, Prisma.PaymentPlanUncheckedUpdateWithoutSchedulesInput>;
|
|
909
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutSchedulesInput, Prisma.PaymentPlanUncheckedCreateWithoutSchedulesInput>;
|
|
910
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
911
|
-
};
|
|
912
|
-
export type PaymentPlanUpdateToOneWithWhereWithoutSchedulesInput = {
|
|
913
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
914
|
-
data: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutSchedulesInput, Prisma.PaymentPlanUncheckedUpdateWithoutSchedulesInput>;
|
|
915
|
-
};
|
|
916
|
-
export type PaymentPlanUpdateWithoutSchedulesInput = {
|
|
917
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
918
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
919
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
920
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
921
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
922
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
923
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
924
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
925
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
926
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
927
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
928
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
929
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
930
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
931
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutPaymentPlansNestedInput;
|
|
932
|
-
buyer?: Prisma.UserUpdateOneWithoutPaymentPlansNestedInput;
|
|
933
|
-
contract?: Prisma.ContractUpdateOneWithoutPaymentPlanNestedInput;
|
|
934
|
-
payments?: Prisma.PaymentUpdateManyWithoutPlanNestedInput;
|
|
935
|
-
};
|
|
936
|
-
export type PaymentPlanUncheckedUpdateWithoutSchedulesInput = {
|
|
937
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
938
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
939
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
940
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
941
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
942
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
943
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
944
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
945
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
946
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
947
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
948
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
949
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
950
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
951
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
952
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
953
|
-
contract?: Prisma.ContractUncheckedUpdateOneWithoutPaymentPlanNestedInput;
|
|
954
|
-
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPlanNestedInput;
|
|
955
|
-
};
|
|
956
|
-
export type PaymentPlanCreateWithoutPaymentsInput = {
|
|
957
|
-
id?: string;
|
|
958
|
-
planType: string;
|
|
959
|
-
name: string;
|
|
960
|
-
description?: string | null;
|
|
961
|
-
totalAmount: number;
|
|
962
|
-
downPaymentAmount?: number;
|
|
963
|
-
downPaymentPaid?: number;
|
|
964
|
-
principalAmount: number;
|
|
965
|
-
interestRate?: number;
|
|
966
|
-
totalInterest?: number;
|
|
967
|
-
state?: string;
|
|
968
|
-
stateMetadata?: string | null;
|
|
969
|
-
createdAt?: Date | string;
|
|
970
|
-
updatedAt?: Date | string;
|
|
971
|
-
property: Prisma.PropertyCreateNestedOneWithoutPaymentPlansInput;
|
|
972
|
-
buyer?: Prisma.UserCreateNestedOneWithoutPaymentPlansInput;
|
|
973
|
-
contract?: Prisma.ContractCreateNestedOneWithoutPaymentPlanInput;
|
|
974
|
-
schedules?: Prisma.PaymentScheduleCreateNestedManyWithoutPlanInput;
|
|
975
|
-
};
|
|
976
|
-
export type PaymentPlanUncheckedCreateWithoutPaymentsInput = {
|
|
977
|
-
id?: string;
|
|
978
|
-
propertyId: string;
|
|
979
|
-
buyerId?: string | null;
|
|
980
|
-
planType: string;
|
|
981
|
-
name: string;
|
|
982
|
-
description?: string | null;
|
|
983
|
-
totalAmount: number;
|
|
984
|
-
downPaymentAmount?: number;
|
|
985
|
-
downPaymentPaid?: number;
|
|
986
|
-
principalAmount: number;
|
|
987
|
-
interestRate?: number;
|
|
988
|
-
totalInterest?: number;
|
|
989
|
-
state?: string;
|
|
990
|
-
stateMetadata?: string | null;
|
|
991
|
-
createdAt?: Date | string;
|
|
992
|
-
updatedAt?: Date | string;
|
|
993
|
-
contract?: Prisma.ContractUncheckedCreateNestedOneWithoutPaymentPlanInput;
|
|
994
|
-
schedules?: Prisma.PaymentScheduleUncheckedCreateNestedManyWithoutPlanInput;
|
|
995
|
-
};
|
|
996
|
-
export type PaymentPlanCreateOrConnectWithoutPaymentsInput = {
|
|
997
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
998
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPaymentsInput, Prisma.PaymentPlanUncheckedCreateWithoutPaymentsInput>;
|
|
999
|
-
};
|
|
1000
|
-
export type PaymentPlanUpsertWithoutPaymentsInput = {
|
|
1001
|
-
update: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutPaymentsInput, Prisma.PaymentPlanUncheckedUpdateWithoutPaymentsInput>;
|
|
1002
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutPaymentsInput, Prisma.PaymentPlanUncheckedCreateWithoutPaymentsInput>;
|
|
1003
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
1004
|
-
};
|
|
1005
|
-
export type PaymentPlanUpdateToOneWithWhereWithoutPaymentsInput = {
|
|
1006
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
1007
|
-
data: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutPaymentsInput, Prisma.PaymentPlanUncheckedUpdateWithoutPaymentsInput>;
|
|
1008
|
-
};
|
|
1009
|
-
export type PaymentPlanUpdateWithoutPaymentsInput = {
|
|
1010
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1011
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1012
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1013
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1014
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1015
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1016
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1017
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1018
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1019
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1020
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1021
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1022
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1023
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1024
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutPaymentPlansNestedInput;
|
|
1025
|
-
buyer?: Prisma.UserUpdateOneWithoutPaymentPlansNestedInput;
|
|
1026
|
-
contract?: Prisma.ContractUpdateOneWithoutPaymentPlanNestedInput;
|
|
1027
|
-
schedules?: Prisma.PaymentScheduleUpdateManyWithoutPlanNestedInput;
|
|
1028
|
-
};
|
|
1029
|
-
export type PaymentPlanUncheckedUpdateWithoutPaymentsInput = {
|
|
1030
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1031
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1032
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1033
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1034
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1035
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1036
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1037
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1038
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1039
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1040
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1041
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1042
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1043
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1044
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1045
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1046
|
-
contract?: Prisma.ContractUncheckedUpdateOneWithoutPaymentPlanNestedInput;
|
|
1047
|
-
schedules?: Prisma.PaymentScheduleUncheckedUpdateManyWithoutPlanNestedInput;
|
|
1048
|
-
};
|
|
1049
|
-
export type PaymentPlanCreateWithoutContractInput = {
|
|
1050
|
-
id?: string;
|
|
1051
|
-
planType: string;
|
|
1052
|
-
name: string;
|
|
1053
|
-
description?: string | null;
|
|
1054
|
-
totalAmount: number;
|
|
1055
|
-
downPaymentAmount?: number;
|
|
1056
|
-
downPaymentPaid?: number;
|
|
1057
|
-
principalAmount: number;
|
|
1058
|
-
interestRate?: number;
|
|
1059
|
-
totalInterest?: number;
|
|
1060
|
-
state?: string;
|
|
1061
|
-
stateMetadata?: string | null;
|
|
1062
|
-
createdAt?: Date | string;
|
|
1063
|
-
updatedAt?: Date | string;
|
|
1064
|
-
property: Prisma.PropertyCreateNestedOneWithoutPaymentPlansInput;
|
|
1065
|
-
buyer?: Prisma.UserCreateNestedOneWithoutPaymentPlansInput;
|
|
1066
|
-
schedules?: Prisma.PaymentScheduleCreateNestedManyWithoutPlanInput;
|
|
1067
|
-
payments?: Prisma.PaymentCreateNestedManyWithoutPlanInput;
|
|
1068
|
-
};
|
|
1069
|
-
export type PaymentPlanUncheckedCreateWithoutContractInput = {
|
|
1070
|
-
id?: string;
|
|
1071
|
-
propertyId: string;
|
|
1072
|
-
buyerId?: string | null;
|
|
1073
|
-
planType: string;
|
|
1074
|
-
name: string;
|
|
1075
|
-
description?: string | null;
|
|
1076
|
-
totalAmount: number;
|
|
1077
|
-
downPaymentAmount?: number;
|
|
1078
|
-
downPaymentPaid?: number;
|
|
1079
|
-
principalAmount: number;
|
|
1080
|
-
interestRate?: number;
|
|
1081
|
-
totalInterest?: number;
|
|
1082
|
-
state?: string;
|
|
1083
|
-
stateMetadata?: string | null;
|
|
1084
|
-
createdAt?: Date | string;
|
|
1085
|
-
updatedAt?: Date | string;
|
|
1086
|
-
schedules?: Prisma.PaymentScheduleUncheckedCreateNestedManyWithoutPlanInput;
|
|
1087
|
-
payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPlanInput;
|
|
1088
|
-
};
|
|
1089
|
-
export type PaymentPlanCreateOrConnectWithoutContractInput = {
|
|
1090
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
1091
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutContractInput, Prisma.PaymentPlanUncheckedCreateWithoutContractInput>;
|
|
1092
|
-
};
|
|
1093
|
-
export type PaymentPlanUpsertWithoutContractInput = {
|
|
1094
|
-
update: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutContractInput, Prisma.PaymentPlanUncheckedUpdateWithoutContractInput>;
|
|
1095
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutContractInput, Prisma.PaymentPlanUncheckedCreateWithoutContractInput>;
|
|
1096
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
1097
|
-
};
|
|
1098
|
-
export type PaymentPlanUpdateToOneWithWhereWithoutContractInput = {
|
|
1099
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
1100
|
-
data: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutContractInput, Prisma.PaymentPlanUncheckedUpdateWithoutContractInput>;
|
|
1101
|
-
};
|
|
1102
|
-
export type PaymentPlanUpdateWithoutContractInput = {
|
|
1103
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1104
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1105
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1106
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1107
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1108
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1109
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1110
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1111
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1112
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1113
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1114
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1115
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1116
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1117
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutPaymentPlansNestedInput;
|
|
1118
|
-
buyer?: Prisma.UserUpdateOneWithoutPaymentPlansNestedInput;
|
|
1119
|
-
schedules?: Prisma.PaymentScheduleUpdateManyWithoutPlanNestedInput;
|
|
1120
|
-
payments?: Prisma.PaymentUpdateManyWithoutPlanNestedInput;
|
|
1121
|
-
};
|
|
1122
|
-
export type PaymentPlanUncheckedUpdateWithoutContractInput = {
|
|
1123
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1124
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1125
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1126
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1127
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1128
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1129
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1130
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1131
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1132
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1133
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1134
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1135
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1136
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1137
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1138
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1139
|
-
schedules?: Prisma.PaymentScheduleUncheckedUpdateManyWithoutPlanNestedInput;
|
|
1140
|
-
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPlanNestedInput;
|
|
1141
|
-
};
|
|
1142
|
-
export type PaymentPlanCreateManyBuyerInput = {
|
|
1143
|
-
id?: string;
|
|
1144
|
-
propertyId: string;
|
|
1145
|
-
planType: string;
|
|
1146
|
-
name: string;
|
|
1147
|
-
description?: string | null;
|
|
1148
|
-
totalAmount: number;
|
|
1149
|
-
downPaymentAmount?: number;
|
|
1150
|
-
downPaymentPaid?: number;
|
|
1151
|
-
principalAmount: number;
|
|
1152
|
-
interestRate?: number;
|
|
1153
|
-
totalInterest?: number;
|
|
1154
|
-
state?: string;
|
|
1155
|
-
stateMetadata?: string | null;
|
|
1156
|
-
createdAt?: Date | string;
|
|
1157
|
-
updatedAt?: Date | string;
|
|
1158
|
-
};
|
|
1159
|
-
export type PaymentPlanUpdateWithoutBuyerInput = {
|
|
1160
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1161
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1162
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1163
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1164
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1165
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1166
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1167
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1168
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1169
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1170
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1171
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1172
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1173
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1174
|
-
property?: Prisma.PropertyUpdateOneRequiredWithoutPaymentPlansNestedInput;
|
|
1175
|
-
contract?: Prisma.ContractUpdateOneWithoutPaymentPlanNestedInput;
|
|
1176
|
-
schedules?: Prisma.PaymentScheduleUpdateManyWithoutPlanNestedInput;
|
|
1177
|
-
payments?: Prisma.PaymentUpdateManyWithoutPlanNestedInput;
|
|
1178
|
-
};
|
|
1179
|
-
export type PaymentPlanUncheckedUpdateWithoutBuyerInput = {
|
|
1180
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1181
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1182
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1183
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1184
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1185
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1186
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1187
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1188
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1189
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1190
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1191
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1192
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1193
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1194
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1195
|
-
contract?: Prisma.ContractUncheckedUpdateOneWithoutPaymentPlanNestedInput;
|
|
1196
|
-
schedules?: Prisma.PaymentScheduleUncheckedUpdateManyWithoutPlanNestedInput;
|
|
1197
|
-
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPlanNestedInput;
|
|
1198
|
-
};
|
|
1199
|
-
export type PaymentPlanUncheckedUpdateManyWithoutBuyerInput = {
|
|
1200
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1201
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1202
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1203
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1204
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1205
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1206
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1207
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1208
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1209
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1210
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1211
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1212
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1213
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1214
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1215
|
-
};
|
|
1216
|
-
export type PaymentPlanCreateManyPropertyInput = {
|
|
1217
|
-
id?: string;
|
|
1218
|
-
buyerId?: string | null;
|
|
1219
|
-
planType: string;
|
|
1220
|
-
name: string;
|
|
1221
|
-
description?: string | null;
|
|
1222
|
-
totalAmount: number;
|
|
1223
|
-
downPaymentAmount?: number;
|
|
1224
|
-
downPaymentPaid?: number;
|
|
1225
|
-
principalAmount: number;
|
|
1226
|
-
interestRate?: number;
|
|
1227
|
-
totalInterest?: number;
|
|
1228
|
-
state?: string;
|
|
1229
|
-
stateMetadata?: string | null;
|
|
1230
|
-
createdAt?: Date | string;
|
|
1231
|
-
updatedAt?: Date | string;
|
|
1232
|
-
};
|
|
1233
|
-
export type PaymentPlanUpdateWithoutPropertyInput = {
|
|
1234
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1235
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1236
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1237
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1238
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1239
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1240
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1241
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1242
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1243
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1244
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1245
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1246
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1247
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1248
|
-
buyer?: Prisma.UserUpdateOneWithoutPaymentPlansNestedInput;
|
|
1249
|
-
contract?: Prisma.ContractUpdateOneWithoutPaymentPlanNestedInput;
|
|
1250
|
-
schedules?: Prisma.PaymentScheduleUpdateManyWithoutPlanNestedInput;
|
|
1251
|
-
payments?: Prisma.PaymentUpdateManyWithoutPlanNestedInput;
|
|
1252
|
-
};
|
|
1253
|
-
export type PaymentPlanUncheckedUpdateWithoutPropertyInput = {
|
|
1254
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1255
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1256
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1257
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1258
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1259
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1260
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1261
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1262
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1263
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1264
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1265
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1266
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1267
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1268
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1269
|
-
contract?: Prisma.ContractUncheckedUpdateOneWithoutPaymentPlanNestedInput;
|
|
1270
|
-
schedules?: Prisma.PaymentScheduleUncheckedUpdateManyWithoutPlanNestedInput;
|
|
1271
|
-
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPlanNestedInput;
|
|
1272
|
-
};
|
|
1273
|
-
export type PaymentPlanUncheckedUpdateManyWithoutPropertyInput = {
|
|
1274
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1275
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1276
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1277
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1278
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1279
|
-
totalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1280
|
-
downPaymentAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1281
|
-
downPaymentPaid?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1282
|
-
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1283
|
-
interestRate?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1284
|
-
totalInterest?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1285
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1286
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1287
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1288
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1289
|
-
};
|
|
1290
|
-
/**
|
|
1291
|
-
* Count Type PaymentPlanCountOutputType
|
|
1292
|
-
*/
|
|
1293
|
-
export type PaymentPlanCountOutputType = {
|
|
1294
|
-
schedules: number;
|
|
1295
|
-
payments: number;
|
|
1296
|
-
};
|
|
1297
|
-
export type PaymentPlanCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1298
|
-
schedules?: boolean | PaymentPlanCountOutputTypeCountSchedulesArgs;
|
|
1299
|
-
payments?: boolean | PaymentPlanCountOutputTypeCountPaymentsArgs;
|
|
1300
|
-
};
|
|
1301
|
-
/**
|
|
1302
|
-
* PaymentPlanCountOutputType without action
|
|
1303
|
-
*/
|
|
1304
|
-
export type PaymentPlanCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1305
|
-
/**
|
|
1306
|
-
* Select specific fields to fetch from the PaymentPlanCountOutputType
|
|
1307
|
-
*/
|
|
1308
|
-
select?: Prisma.PaymentPlanCountOutputTypeSelect<ExtArgs> | null;
|
|
1309
|
-
};
|
|
1310
|
-
/**
|
|
1311
|
-
* PaymentPlanCountOutputType without action
|
|
1312
|
-
*/
|
|
1313
|
-
export type PaymentPlanCountOutputTypeCountSchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1314
|
-
where?: Prisma.PaymentScheduleWhereInput;
|
|
1315
|
-
};
|
|
1316
|
-
/**
|
|
1317
|
-
* PaymentPlanCountOutputType without action
|
|
1318
|
-
*/
|
|
1319
|
-
export type PaymentPlanCountOutputTypeCountPaymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1320
|
-
where?: Prisma.PaymentWhereInput;
|
|
1321
|
-
};
|
|
1322
|
-
export type PaymentPlanSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1323
|
-
id?: boolean;
|
|
1324
|
-
propertyId?: boolean;
|
|
1325
|
-
buyerId?: boolean;
|
|
1326
|
-
planType?: boolean;
|
|
1327
|
-
name?: boolean;
|
|
1328
|
-
description?: boolean;
|
|
1329
|
-
totalAmount?: boolean;
|
|
1330
|
-
downPaymentAmount?: boolean;
|
|
1331
|
-
downPaymentPaid?: boolean;
|
|
1332
|
-
principalAmount?: boolean;
|
|
1333
|
-
interestRate?: boolean;
|
|
1334
|
-
totalInterest?: boolean;
|
|
1335
|
-
state?: boolean;
|
|
1336
|
-
stateMetadata?: boolean;
|
|
1337
|
-
createdAt?: boolean;
|
|
1338
|
-
updatedAt?: boolean;
|
|
1339
|
-
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
1340
|
-
buyer?: boolean | Prisma.PaymentPlan$buyerArgs<ExtArgs>;
|
|
1341
|
-
contract?: boolean | Prisma.PaymentPlan$contractArgs<ExtArgs>;
|
|
1342
|
-
schedules?: boolean | Prisma.PaymentPlan$schedulesArgs<ExtArgs>;
|
|
1343
|
-
payments?: boolean | Prisma.PaymentPlan$paymentsArgs<ExtArgs>;
|
|
1344
|
-
_count?: boolean | Prisma.PaymentPlanCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1345
|
-
}, ExtArgs["result"]["paymentPlan"]>;
|
|
1346
|
-
export type PaymentPlanSelectScalar = {
|
|
1347
|
-
id?: boolean;
|
|
1348
|
-
propertyId?: boolean;
|
|
1349
|
-
buyerId?: boolean;
|
|
1350
|
-
planType?: boolean;
|
|
1351
|
-
name?: boolean;
|
|
1352
|
-
description?: boolean;
|
|
1353
|
-
totalAmount?: boolean;
|
|
1354
|
-
downPaymentAmount?: boolean;
|
|
1355
|
-
downPaymentPaid?: boolean;
|
|
1356
|
-
principalAmount?: boolean;
|
|
1357
|
-
interestRate?: boolean;
|
|
1358
|
-
totalInterest?: boolean;
|
|
1359
|
-
state?: boolean;
|
|
1360
|
-
stateMetadata?: boolean;
|
|
1361
|
-
createdAt?: boolean;
|
|
1362
|
-
updatedAt?: boolean;
|
|
1363
|
-
};
|
|
1364
|
-
export type PaymentPlanOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "propertyId" | "buyerId" | "planType" | "name" | "description" | "totalAmount" | "downPaymentAmount" | "downPaymentPaid" | "principalAmount" | "interestRate" | "totalInterest" | "state" | "stateMetadata" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentPlan"]>;
|
|
1365
|
-
export type PaymentPlanInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1366
|
-
property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
|
|
1367
|
-
buyer?: boolean | Prisma.PaymentPlan$buyerArgs<ExtArgs>;
|
|
1368
|
-
contract?: boolean | Prisma.PaymentPlan$contractArgs<ExtArgs>;
|
|
1369
|
-
schedules?: boolean | Prisma.PaymentPlan$schedulesArgs<ExtArgs>;
|
|
1370
|
-
payments?: boolean | Prisma.PaymentPlan$paymentsArgs<ExtArgs>;
|
|
1371
|
-
_count?: boolean | Prisma.PaymentPlanCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1372
|
-
};
|
|
1373
|
-
export type $PaymentPlanPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
|
-
name: "PaymentPlan";
|
|
1375
|
-
objects: {
|
|
1376
|
-
property: Prisma.$PropertyPayload<ExtArgs>;
|
|
1377
|
-
buyer: Prisma.$UserPayload<ExtArgs> | null;
|
|
1378
|
-
contract: Prisma.$ContractPayload<ExtArgs> | null;
|
|
1379
|
-
schedules: Prisma.$PaymentSchedulePayload<ExtArgs>[];
|
|
1380
|
-
payments: Prisma.$PaymentPayload<ExtArgs>[];
|
|
1381
|
-
};
|
|
1382
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1383
|
-
id: string;
|
|
1384
|
-
propertyId: string;
|
|
1385
|
-
buyerId: string | null;
|
|
1386
|
-
planType: string;
|
|
1387
|
-
name: string;
|
|
1388
|
-
description: string | null;
|
|
1389
|
-
totalAmount: number;
|
|
1390
|
-
downPaymentAmount: number;
|
|
1391
|
-
downPaymentPaid: number;
|
|
1392
|
-
principalAmount: number;
|
|
1393
|
-
interestRate: number;
|
|
1394
|
-
totalInterest: number;
|
|
1395
|
-
state: string;
|
|
1396
|
-
stateMetadata: string | null;
|
|
1397
|
-
createdAt: Date;
|
|
1398
|
-
updatedAt: Date;
|
|
1399
|
-
}, ExtArgs["result"]["paymentPlan"]>;
|
|
1400
|
-
composites: {};
|
|
1401
|
-
};
|
|
1402
|
-
export type PaymentPlanGetPayload<S extends boolean | null | undefined | PaymentPlanDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload, S>;
|
|
1403
|
-
export type PaymentPlanCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PaymentPlanFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1404
|
-
select?: PaymentPlanCountAggregateInputType | true;
|
|
1405
|
-
};
|
|
1406
|
-
export interface PaymentPlanDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1407
|
-
[K: symbol]: {
|
|
1408
|
-
types: Prisma.TypeMap<ExtArgs>['model']['PaymentPlan'];
|
|
1409
|
-
meta: {
|
|
1410
|
-
name: 'PaymentPlan';
|
|
1411
|
-
};
|
|
1412
|
-
};
|
|
1413
|
-
/**
|
|
1414
|
-
* Find zero or one PaymentPlan that matches the filter.
|
|
1415
|
-
* @param {PaymentPlanFindUniqueArgs} args - Arguments to find a PaymentPlan
|
|
1416
|
-
* @example
|
|
1417
|
-
* // Get one PaymentPlan
|
|
1418
|
-
* const paymentPlan = await prisma.paymentPlan.findUnique({
|
|
1419
|
-
* where: {
|
|
1420
|
-
* // ... provide filter here
|
|
1421
|
-
* }
|
|
1422
|
-
* })
|
|
1423
|
-
*/
|
|
1424
|
-
findUnique<T extends PaymentPlanFindUniqueArgs>(args: Prisma.SelectSubset<T, PaymentPlanFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1425
|
-
/**
|
|
1426
|
-
* Find one PaymentPlan that matches the filter or throw an error with `error.code='P2025'`
|
|
1427
|
-
* if no matches were found.
|
|
1428
|
-
* @param {PaymentPlanFindUniqueOrThrowArgs} args - Arguments to find a PaymentPlan
|
|
1429
|
-
* @example
|
|
1430
|
-
* // Get one PaymentPlan
|
|
1431
|
-
* const paymentPlan = await prisma.paymentPlan.findUniqueOrThrow({
|
|
1432
|
-
* where: {
|
|
1433
|
-
* // ... provide filter here
|
|
1434
|
-
* }
|
|
1435
|
-
* })
|
|
1436
|
-
*/
|
|
1437
|
-
findUniqueOrThrow<T extends PaymentPlanFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PaymentPlanFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1438
|
-
/**
|
|
1439
|
-
* Find the first PaymentPlan that matches the filter.
|
|
1440
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1441
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1442
|
-
* @param {PaymentPlanFindFirstArgs} args - Arguments to find a PaymentPlan
|
|
1443
|
-
* @example
|
|
1444
|
-
* // Get one PaymentPlan
|
|
1445
|
-
* const paymentPlan = await prisma.paymentPlan.findFirst({
|
|
1446
|
-
* where: {
|
|
1447
|
-
* // ... provide filter here
|
|
1448
|
-
* }
|
|
1449
|
-
* })
|
|
1450
|
-
*/
|
|
1451
|
-
findFirst<T extends PaymentPlanFindFirstArgs>(args?: Prisma.SelectSubset<T, PaymentPlanFindFirstArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1452
|
-
/**
|
|
1453
|
-
* Find the first PaymentPlan that matches the filter or
|
|
1454
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1455
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1456
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1457
|
-
* @param {PaymentPlanFindFirstOrThrowArgs} args - Arguments to find a PaymentPlan
|
|
1458
|
-
* @example
|
|
1459
|
-
* // Get one PaymentPlan
|
|
1460
|
-
* const paymentPlan = await prisma.paymentPlan.findFirstOrThrow({
|
|
1461
|
-
* where: {
|
|
1462
|
-
* // ... provide filter here
|
|
1463
|
-
* }
|
|
1464
|
-
* })
|
|
1465
|
-
*/
|
|
1466
|
-
findFirstOrThrow<T extends PaymentPlanFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PaymentPlanFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1467
|
-
/**
|
|
1468
|
-
* Find zero or more PaymentPlans that matches the filter.
|
|
1469
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1470
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1471
|
-
* @param {PaymentPlanFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1472
|
-
* @example
|
|
1473
|
-
* // Get all PaymentPlans
|
|
1474
|
-
* const paymentPlans = await prisma.paymentPlan.findMany()
|
|
1475
|
-
*
|
|
1476
|
-
* // Get first 10 PaymentPlans
|
|
1477
|
-
* const paymentPlans = await prisma.paymentPlan.findMany({ take: 10 })
|
|
1478
|
-
*
|
|
1479
|
-
* // Only select the `id`
|
|
1480
|
-
* const paymentPlanWithIdOnly = await prisma.paymentPlan.findMany({ select: { id: true } })
|
|
1481
|
-
*
|
|
1482
|
-
*/
|
|
1483
|
-
findMany<T extends PaymentPlanFindManyArgs>(args?: Prisma.SelectSubset<T, PaymentPlanFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1484
|
-
/**
|
|
1485
|
-
* Create a PaymentPlan.
|
|
1486
|
-
* @param {PaymentPlanCreateArgs} args - Arguments to create a PaymentPlan.
|
|
1487
|
-
* @example
|
|
1488
|
-
* // Create one PaymentPlan
|
|
1489
|
-
* const PaymentPlan = await prisma.paymentPlan.create({
|
|
1490
|
-
* data: {
|
|
1491
|
-
* // ... data to create a PaymentPlan
|
|
1492
|
-
* }
|
|
1493
|
-
* })
|
|
1494
|
-
*
|
|
1495
|
-
*/
|
|
1496
|
-
create<T extends PaymentPlanCreateArgs>(args: Prisma.SelectSubset<T, PaymentPlanCreateArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1497
|
-
/**
|
|
1498
|
-
* Create many PaymentPlans.
|
|
1499
|
-
* @param {PaymentPlanCreateManyArgs} args - Arguments to create many PaymentPlans.
|
|
1500
|
-
* @example
|
|
1501
|
-
* // Create many PaymentPlans
|
|
1502
|
-
* const paymentPlan = await prisma.paymentPlan.createMany({
|
|
1503
|
-
* data: [
|
|
1504
|
-
* // ... provide data here
|
|
1505
|
-
* ]
|
|
1506
|
-
* })
|
|
1507
|
-
*
|
|
1508
|
-
*/
|
|
1509
|
-
createMany<T extends PaymentPlanCreateManyArgs>(args?: Prisma.SelectSubset<T, PaymentPlanCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1510
|
-
/**
|
|
1511
|
-
* Delete a PaymentPlan.
|
|
1512
|
-
* @param {PaymentPlanDeleteArgs} args - Arguments to delete one PaymentPlan.
|
|
1513
|
-
* @example
|
|
1514
|
-
* // Delete one PaymentPlan
|
|
1515
|
-
* const PaymentPlan = await prisma.paymentPlan.delete({
|
|
1516
|
-
* where: {
|
|
1517
|
-
* // ... filter to delete one PaymentPlan
|
|
1518
|
-
* }
|
|
1519
|
-
* })
|
|
1520
|
-
*
|
|
1521
|
-
*/
|
|
1522
|
-
delete<T extends PaymentPlanDeleteArgs>(args: Prisma.SelectSubset<T, PaymentPlanDeleteArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1523
|
-
/**
|
|
1524
|
-
* Update one PaymentPlan.
|
|
1525
|
-
* @param {PaymentPlanUpdateArgs} args - Arguments to update one PaymentPlan.
|
|
1526
|
-
* @example
|
|
1527
|
-
* // Update one PaymentPlan
|
|
1528
|
-
* const paymentPlan = await prisma.paymentPlan.update({
|
|
1529
|
-
* where: {
|
|
1530
|
-
* // ... provide filter here
|
|
1531
|
-
* },
|
|
1532
|
-
* data: {
|
|
1533
|
-
* // ... provide data here
|
|
1534
|
-
* }
|
|
1535
|
-
* })
|
|
1536
|
-
*
|
|
1537
|
-
*/
|
|
1538
|
-
update<T extends PaymentPlanUpdateArgs>(args: Prisma.SelectSubset<T, PaymentPlanUpdateArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1539
|
-
/**
|
|
1540
|
-
* Delete zero or more PaymentPlans.
|
|
1541
|
-
* @param {PaymentPlanDeleteManyArgs} args - Arguments to filter PaymentPlans to delete.
|
|
1542
|
-
* @example
|
|
1543
|
-
* // Delete a few PaymentPlans
|
|
1544
|
-
* const { count } = await prisma.paymentPlan.deleteMany({
|
|
1545
|
-
* where: {
|
|
1546
|
-
* // ... provide filter here
|
|
1547
|
-
* }
|
|
1548
|
-
* })
|
|
1549
|
-
*
|
|
1550
|
-
*/
|
|
1551
|
-
deleteMany<T extends PaymentPlanDeleteManyArgs>(args?: Prisma.SelectSubset<T, PaymentPlanDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1552
|
-
/**
|
|
1553
|
-
* Update zero or more PaymentPlans.
|
|
1554
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1555
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1556
|
-
* @param {PaymentPlanUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1557
|
-
* @example
|
|
1558
|
-
* // Update many PaymentPlans
|
|
1559
|
-
* const paymentPlan = await prisma.paymentPlan.updateMany({
|
|
1560
|
-
* where: {
|
|
1561
|
-
* // ... provide filter here
|
|
1562
|
-
* },
|
|
1563
|
-
* data: {
|
|
1564
|
-
* // ... provide data here
|
|
1565
|
-
* }
|
|
1566
|
-
* })
|
|
1567
|
-
*
|
|
1568
|
-
*/
|
|
1569
|
-
updateMany<T extends PaymentPlanUpdateManyArgs>(args: Prisma.SelectSubset<T, PaymentPlanUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1570
|
-
/**
|
|
1571
|
-
* Create or update one PaymentPlan.
|
|
1572
|
-
* @param {PaymentPlanUpsertArgs} args - Arguments to update or create a PaymentPlan.
|
|
1573
|
-
* @example
|
|
1574
|
-
* // Update or create a PaymentPlan
|
|
1575
|
-
* const paymentPlan = await prisma.paymentPlan.upsert({
|
|
1576
|
-
* create: {
|
|
1577
|
-
* // ... data to create a PaymentPlan
|
|
1578
|
-
* },
|
|
1579
|
-
* update: {
|
|
1580
|
-
* // ... in case it already exists, update
|
|
1581
|
-
* },
|
|
1582
|
-
* where: {
|
|
1583
|
-
* // ... the filter for the PaymentPlan we want to update
|
|
1584
|
-
* }
|
|
1585
|
-
* })
|
|
1586
|
-
*/
|
|
1587
|
-
upsert<T extends PaymentPlanUpsertArgs>(args: Prisma.SelectSubset<T, PaymentPlanUpsertArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1588
|
-
/**
|
|
1589
|
-
* Count the number of PaymentPlans.
|
|
1590
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1591
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1592
|
-
* @param {PaymentPlanCountArgs} args - Arguments to filter PaymentPlans to count.
|
|
1593
|
-
* @example
|
|
1594
|
-
* // Count the number of PaymentPlans
|
|
1595
|
-
* const count = await prisma.paymentPlan.count({
|
|
1596
|
-
* where: {
|
|
1597
|
-
* // ... the filter for the PaymentPlans we want to count
|
|
1598
|
-
* }
|
|
1599
|
-
* })
|
|
1600
|
-
**/
|
|
1601
|
-
count<T extends PaymentPlanCountArgs>(args?: Prisma.Subset<T, PaymentPlanCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PaymentPlanCountAggregateOutputType> : number>;
|
|
1602
|
-
/**
|
|
1603
|
-
* Allows you to perform aggregations operations on a PaymentPlan.
|
|
1604
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1605
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1606
|
-
* @param {PaymentPlanAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1607
|
-
* @example
|
|
1608
|
-
* // Ordered by age ascending
|
|
1609
|
-
* // Where email contains prisma.io
|
|
1610
|
-
* // Limited to the 10 users
|
|
1611
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1612
|
-
* _avg: {
|
|
1613
|
-
* age: true,
|
|
1614
|
-
* },
|
|
1615
|
-
* where: {
|
|
1616
|
-
* email: {
|
|
1617
|
-
* contains: "prisma.io",
|
|
1618
|
-
* },
|
|
1619
|
-
* },
|
|
1620
|
-
* orderBy: {
|
|
1621
|
-
* age: "asc",
|
|
1622
|
-
* },
|
|
1623
|
-
* take: 10,
|
|
1624
|
-
* })
|
|
1625
|
-
**/
|
|
1626
|
-
aggregate<T extends PaymentPlanAggregateArgs>(args: Prisma.Subset<T, PaymentPlanAggregateArgs>): Prisma.PrismaPromise<GetPaymentPlanAggregateType<T>>;
|
|
1627
|
-
/**
|
|
1628
|
-
* Group by PaymentPlan.
|
|
1629
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1630
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1631
|
-
* @param {PaymentPlanGroupByArgs} args - Group by arguments.
|
|
1632
|
-
* @example
|
|
1633
|
-
* // Group by city, order by createdAt, get count
|
|
1634
|
-
* const result = await prisma.user.groupBy({
|
|
1635
|
-
* by: ['city', 'createdAt'],
|
|
1636
|
-
* orderBy: {
|
|
1637
|
-
* createdAt: true
|
|
1638
|
-
* },
|
|
1639
|
-
* _count: {
|
|
1640
|
-
* _all: true
|
|
1641
|
-
* },
|
|
1642
|
-
* })
|
|
1643
|
-
*
|
|
1644
|
-
**/
|
|
1645
|
-
groupBy<T extends PaymentPlanGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1646
|
-
orderBy: PaymentPlanGroupByArgs['orderBy'];
|
|
1647
|
-
} : {
|
|
1648
|
-
orderBy?: PaymentPlanGroupByArgs['orderBy'];
|
|
1649
|
-
}, 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 ? {
|
|
1650
|
-
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1651
|
-
Error,
|
|
1652
|
-
'Field ',
|
|
1653
|
-
P,
|
|
1654
|
-
` in "having" needs to be provided in "by"`
|
|
1655
|
-
];
|
|
1656
|
-
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1657
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1658
|
-
}[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 ? {} : {
|
|
1659
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1660
|
-
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1661
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1662
|
-
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PaymentPlanGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPaymentPlanGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1663
|
-
/**
|
|
1664
|
-
* Fields of the PaymentPlan model
|
|
1665
|
-
*/
|
|
1666
|
-
readonly fields: PaymentPlanFieldRefs;
|
|
1667
|
-
}
|
|
1668
|
-
/**
|
|
1669
|
-
* The delegate class that acts as a "Promise-like" for PaymentPlan.
|
|
1670
|
-
* Why is this prefixed with `Prisma__`?
|
|
1671
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1672
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1673
|
-
*/
|
|
1674
|
-
export interface Prisma__PaymentPlanClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1675
|
-
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1676
|
-
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>;
|
|
1677
|
-
buyer<T extends Prisma.PaymentPlan$buyerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentPlan$buyerArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1678
|
-
contract<T extends Prisma.PaymentPlan$contractArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentPlan$contractArgs<ExtArgs>>): Prisma.Prisma__ContractClient<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1679
|
-
schedules<T extends Prisma.PaymentPlan$schedulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentPlan$schedulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentSchedulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1680
|
-
payments<T extends Prisma.PaymentPlan$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentPlan$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1681
|
-
/**
|
|
1682
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1683
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1684
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1685
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1686
|
-
*/
|
|
1687
|
-
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>;
|
|
1688
|
-
/**
|
|
1689
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1690
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1691
|
-
* @returns A Promise for the completion of the callback.
|
|
1692
|
-
*/
|
|
1693
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1694
|
-
/**
|
|
1695
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1696
|
-
* resolved value cannot be modified from the callback.
|
|
1697
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1698
|
-
* @returns A Promise for the completion of the callback.
|
|
1699
|
-
*/
|
|
1700
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1701
|
-
}
|
|
1702
|
-
/**
|
|
1703
|
-
* Fields of the PaymentPlan model
|
|
1704
|
-
*/
|
|
1705
|
-
export interface PaymentPlanFieldRefs {
|
|
1706
|
-
readonly id: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1707
|
-
readonly propertyId: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1708
|
-
readonly buyerId: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1709
|
-
readonly planType: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1710
|
-
readonly name: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1711
|
-
readonly description: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1712
|
-
readonly totalAmount: Prisma.FieldRef<"PaymentPlan", 'Float'>;
|
|
1713
|
-
readonly downPaymentAmount: Prisma.FieldRef<"PaymentPlan", 'Float'>;
|
|
1714
|
-
readonly downPaymentPaid: Prisma.FieldRef<"PaymentPlan", 'Float'>;
|
|
1715
|
-
readonly principalAmount: Prisma.FieldRef<"PaymentPlan", 'Float'>;
|
|
1716
|
-
readonly interestRate: Prisma.FieldRef<"PaymentPlan", 'Float'>;
|
|
1717
|
-
readonly totalInterest: Prisma.FieldRef<"PaymentPlan", 'Float'>;
|
|
1718
|
-
readonly state: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1719
|
-
readonly stateMetadata: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1720
|
-
readonly createdAt: Prisma.FieldRef<"PaymentPlan", 'DateTime'>;
|
|
1721
|
-
readonly updatedAt: Prisma.FieldRef<"PaymentPlan", 'DateTime'>;
|
|
1722
|
-
}
|
|
1723
|
-
/**
|
|
1724
|
-
* PaymentPlan findUnique
|
|
1725
|
-
*/
|
|
1726
|
-
export type PaymentPlanFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1727
|
-
/**
|
|
1728
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
1729
|
-
*/
|
|
1730
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
1731
|
-
/**
|
|
1732
|
-
* Omit specific fields from the PaymentPlan
|
|
1733
|
-
*/
|
|
1734
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
1735
|
-
/**
|
|
1736
|
-
* Choose, which related nodes to fetch as well
|
|
1737
|
-
*/
|
|
1738
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
1739
|
-
/**
|
|
1740
|
-
* Filter, which PaymentPlan to fetch.
|
|
1741
|
-
*/
|
|
1742
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
1743
|
-
};
|
|
1744
|
-
/**
|
|
1745
|
-
* PaymentPlan findUniqueOrThrow
|
|
1746
|
-
*/
|
|
1747
|
-
export type PaymentPlanFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1748
|
-
/**
|
|
1749
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
1750
|
-
*/
|
|
1751
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
1752
|
-
/**
|
|
1753
|
-
* Omit specific fields from the PaymentPlan
|
|
1754
|
-
*/
|
|
1755
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
1756
|
-
/**
|
|
1757
|
-
* Choose, which related nodes to fetch as well
|
|
1758
|
-
*/
|
|
1759
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
1760
|
-
/**
|
|
1761
|
-
* Filter, which PaymentPlan to fetch.
|
|
1762
|
-
*/
|
|
1763
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
1764
|
-
};
|
|
1765
|
-
/**
|
|
1766
|
-
* PaymentPlan findFirst
|
|
1767
|
-
*/
|
|
1768
|
-
export type PaymentPlanFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1769
|
-
/**
|
|
1770
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
1771
|
-
*/
|
|
1772
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
1773
|
-
/**
|
|
1774
|
-
* Omit specific fields from the PaymentPlan
|
|
1775
|
-
*/
|
|
1776
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
1777
|
-
/**
|
|
1778
|
-
* Choose, which related nodes to fetch as well
|
|
1779
|
-
*/
|
|
1780
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
1781
|
-
/**
|
|
1782
|
-
* Filter, which PaymentPlan to fetch.
|
|
1783
|
-
*/
|
|
1784
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
1785
|
-
/**
|
|
1786
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1787
|
-
*
|
|
1788
|
-
* Determine the order of PaymentPlans to fetch.
|
|
1789
|
-
*/
|
|
1790
|
-
orderBy?: Prisma.PaymentPlanOrderByWithRelationInput | Prisma.PaymentPlanOrderByWithRelationInput[];
|
|
1791
|
-
/**
|
|
1792
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1793
|
-
*
|
|
1794
|
-
* Sets the position for searching for PaymentPlans.
|
|
1795
|
-
*/
|
|
1796
|
-
cursor?: Prisma.PaymentPlanWhereUniqueInput;
|
|
1797
|
-
/**
|
|
1798
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1799
|
-
*
|
|
1800
|
-
* Take `±n` PaymentPlans from the position of the cursor.
|
|
1801
|
-
*/
|
|
1802
|
-
take?: number;
|
|
1803
|
-
/**
|
|
1804
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1805
|
-
*
|
|
1806
|
-
* Skip the first `n` PaymentPlans.
|
|
1807
|
-
*/
|
|
1808
|
-
skip?: number;
|
|
1809
|
-
/**
|
|
1810
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1811
|
-
*
|
|
1812
|
-
* Filter by unique combinations of PaymentPlans.
|
|
1813
|
-
*/
|
|
1814
|
-
distinct?: Prisma.PaymentPlanScalarFieldEnum | Prisma.PaymentPlanScalarFieldEnum[];
|
|
1815
|
-
};
|
|
1816
|
-
/**
|
|
1817
|
-
* PaymentPlan findFirstOrThrow
|
|
1818
|
-
*/
|
|
1819
|
-
export type PaymentPlanFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1820
|
-
/**
|
|
1821
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
1822
|
-
*/
|
|
1823
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
1824
|
-
/**
|
|
1825
|
-
* Omit specific fields from the PaymentPlan
|
|
1826
|
-
*/
|
|
1827
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
1828
|
-
/**
|
|
1829
|
-
* Choose, which related nodes to fetch as well
|
|
1830
|
-
*/
|
|
1831
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
1832
|
-
/**
|
|
1833
|
-
* Filter, which PaymentPlan to fetch.
|
|
1834
|
-
*/
|
|
1835
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
1836
|
-
/**
|
|
1837
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1838
|
-
*
|
|
1839
|
-
* Determine the order of PaymentPlans to fetch.
|
|
1840
|
-
*/
|
|
1841
|
-
orderBy?: Prisma.PaymentPlanOrderByWithRelationInput | Prisma.PaymentPlanOrderByWithRelationInput[];
|
|
1842
|
-
/**
|
|
1843
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1844
|
-
*
|
|
1845
|
-
* Sets the position for searching for PaymentPlans.
|
|
1846
|
-
*/
|
|
1847
|
-
cursor?: Prisma.PaymentPlanWhereUniqueInput;
|
|
1848
|
-
/**
|
|
1849
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1850
|
-
*
|
|
1851
|
-
* Take `±n` PaymentPlans from the position of the cursor.
|
|
1852
|
-
*/
|
|
1853
|
-
take?: number;
|
|
1854
|
-
/**
|
|
1855
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1856
|
-
*
|
|
1857
|
-
* Skip the first `n` PaymentPlans.
|
|
1858
|
-
*/
|
|
1859
|
-
skip?: number;
|
|
1860
|
-
/**
|
|
1861
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1862
|
-
*
|
|
1863
|
-
* Filter by unique combinations of PaymentPlans.
|
|
1864
|
-
*/
|
|
1865
|
-
distinct?: Prisma.PaymentPlanScalarFieldEnum | Prisma.PaymentPlanScalarFieldEnum[];
|
|
1866
|
-
};
|
|
1867
|
-
/**
|
|
1868
|
-
* PaymentPlan findMany
|
|
1869
|
-
*/
|
|
1870
|
-
export type PaymentPlanFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1871
|
-
/**
|
|
1872
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
1873
|
-
*/
|
|
1874
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
1875
|
-
/**
|
|
1876
|
-
* Omit specific fields from the PaymentPlan
|
|
1877
|
-
*/
|
|
1878
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
1879
|
-
/**
|
|
1880
|
-
* Choose, which related nodes to fetch as well
|
|
1881
|
-
*/
|
|
1882
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
1883
|
-
/**
|
|
1884
|
-
* Filter, which PaymentPlans to fetch.
|
|
1885
|
-
*/
|
|
1886
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
1887
|
-
/**
|
|
1888
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1889
|
-
*
|
|
1890
|
-
* Determine the order of PaymentPlans to fetch.
|
|
1891
|
-
*/
|
|
1892
|
-
orderBy?: Prisma.PaymentPlanOrderByWithRelationInput | Prisma.PaymentPlanOrderByWithRelationInput[];
|
|
1893
|
-
/**
|
|
1894
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1895
|
-
*
|
|
1896
|
-
* Sets the position for listing PaymentPlans.
|
|
1897
|
-
*/
|
|
1898
|
-
cursor?: Prisma.PaymentPlanWhereUniqueInput;
|
|
1899
|
-
/**
|
|
1900
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1901
|
-
*
|
|
1902
|
-
* Take `±n` PaymentPlans from the position of the cursor.
|
|
1903
|
-
*/
|
|
1904
|
-
take?: number;
|
|
1905
|
-
/**
|
|
1906
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1907
|
-
*
|
|
1908
|
-
* Skip the first `n` PaymentPlans.
|
|
1909
|
-
*/
|
|
1910
|
-
skip?: number;
|
|
1911
|
-
distinct?: Prisma.PaymentPlanScalarFieldEnum | Prisma.PaymentPlanScalarFieldEnum[];
|
|
1912
|
-
};
|
|
1913
|
-
/**
|
|
1914
|
-
* PaymentPlan create
|
|
1915
|
-
*/
|
|
1916
|
-
export type PaymentPlanCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1917
|
-
/**
|
|
1918
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
1919
|
-
*/
|
|
1920
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
1921
|
-
/**
|
|
1922
|
-
* Omit specific fields from the PaymentPlan
|
|
1923
|
-
*/
|
|
1924
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
1925
|
-
/**
|
|
1926
|
-
* Choose, which related nodes to fetch as well
|
|
1927
|
-
*/
|
|
1928
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
1929
|
-
/**
|
|
1930
|
-
* The data needed to create a PaymentPlan.
|
|
1931
|
-
*/
|
|
1932
|
-
data: Prisma.XOR<Prisma.PaymentPlanCreateInput, Prisma.PaymentPlanUncheckedCreateInput>;
|
|
1933
|
-
};
|
|
1934
|
-
/**
|
|
1935
|
-
* PaymentPlan createMany
|
|
1936
|
-
*/
|
|
1937
|
-
export type PaymentPlanCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1938
|
-
/**
|
|
1939
|
-
* The data used to create many PaymentPlans.
|
|
1940
|
-
*/
|
|
1941
|
-
data: Prisma.PaymentPlanCreateManyInput | Prisma.PaymentPlanCreateManyInput[];
|
|
1942
|
-
skipDuplicates?: boolean;
|
|
1943
|
-
};
|
|
1944
|
-
/**
|
|
1945
|
-
* PaymentPlan update
|
|
1946
|
-
*/
|
|
1947
|
-
export type PaymentPlanUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1948
|
-
/**
|
|
1949
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
1950
|
-
*/
|
|
1951
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
1952
|
-
/**
|
|
1953
|
-
* Omit specific fields from the PaymentPlan
|
|
1954
|
-
*/
|
|
1955
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
1956
|
-
/**
|
|
1957
|
-
* Choose, which related nodes to fetch as well
|
|
1958
|
-
*/
|
|
1959
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
1960
|
-
/**
|
|
1961
|
-
* The data needed to update a PaymentPlan.
|
|
1962
|
-
*/
|
|
1963
|
-
data: Prisma.XOR<Prisma.PaymentPlanUpdateInput, Prisma.PaymentPlanUncheckedUpdateInput>;
|
|
1964
|
-
/**
|
|
1965
|
-
* Choose, which PaymentPlan to update.
|
|
1966
|
-
*/
|
|
1967
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
1968
|
-
};
|
|
1969
|
-
/**
|
|
1970
|
-
* PaymentPlan updateMany
|
|
1971
|
-
*/
|
|
1972
|
-
export type PaymentPlanUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1973
|
-
/**
|
|
1974
|
-
* The data used to update PaymentPlans.
|
|
1975
|
-
*/
|
|
1976
|
-
data: Prisma.XOR<Prisma.PaymentPlanUpdateManyMutationInput, Prisma.PaymentPlanUncheckedUpdateManyInput>;
|
|
1977
|
-
/**
|
|
1978
|
-
* Filter which PaymentPlans to update
|
|
1979
|
-
*/
|
|
1980
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
1981
|
-
/**
|
|
1982
|
-
* Limit how many PaymentPlans to update.
|
|
1983
|
-
*/
|
|
1984
|
-
limit?: number;
|
|
1985
|
-
};
|
|
1986
|
-
/**
|
|
1987
|
-
* PaymentPlan upsert
|
|
1988
|
-
*/
|
|
1989
|
-
export type PaymentPlanUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1990
|
-
/**
|
|
1991
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
1992
|
-
*/
|
|
1993
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
1994
|
-
/**
|
|
1995
|
-
* Omit specific fields from the PaymentPlan
|
|
1996
|
-
*/
|
|
1997
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
1998
|
-
/**
|
|
1999
|
-
* Choose, which related nodes to fetch as well
|
|
2000
|
-
*/
|
|
2001
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
2002
|
-
/**
|
|
2003
|
-
* The filter to search for the PaymentPlan to update in case it exists.
|
|
2004
|
-
*/
|
|
2005
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
2006
|
-
/**
|
|
2007
|
-
* In case the PaymentPlan found by the `where` argument doesn't exist, create a new PaymentPlan with this data.
|
|
2008
|
-
*/
|
|
2009
|
-
create: Prisma.XOR<Prisma.PaymentPlanCreateInput, Prisma.PaymentPlanUncheckedCreateInput>;
|
|
2010
|
-
/**
|
|
2011
|
-
* In case the PaymentPlan was found with the provided `where` argument, update it with this data.
|
|
2012
|
-
*/
|
|
2013
|
-
update: Prisma.XOR<Prisma.PaymentPlanUpdateInput, Prisma.PaymentPlanUncheckedUpdateInput>;
|
|
2014
|
-
};
|
|
2015
|
-
/**
|
|
2016
|
-
* PaymentPlan delete
|
|
2017
|
-
*/
|
|
2018
|
-
export type PaymentPlanDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2019
|
-
/**
|
|
2020
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
2021
|
-
*/
|
|
2022
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
2023
|
-
/**
|
|
2024
|
-
* Omit specific fields from the PaymentPlan
|
|
2025
|
-
*/
|
|
2026
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
2027
|
-
/**
|
|
2028
|
-
* Choose, which related nodes to fetch as well
|
|
2029
|
-
*/
|
|
2030
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
2031
|
-
/**
|
|
2032
|
-
* Filter which PaymentPlan to delete.
|
|
2033
|
-
*/
|
|
2034
|
-
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
2035
|
-
};
|
|
2036
|
-
/**
|
|
2037
|
-
* PaymentPlan deleteMany
|
|
2038
|
-
*/
|
|
2039
|
-
export type PaymentPlanDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2040
|
-
/**
|
|
2041
|
-
* Filter which PaymentPlans to delete
|
|
2042
|
-
*/
|
|
2043
|
-
where?: Prisma.PaymentPlanWhereInput;
|
|
2044
|
-
/**
|
|
2045
|
-
* Limit how many PaymentPlans to delete.
|
|
2046
|
-
*/
|
|
2047
|
-
limit?: number;
|
|
2048
|
-
};
|
|
2049
|
-
/**
|
|
2050
|
-
* PaymentPlan.buyer
|
|
2051
|
-
*/
|
|
2052
|
-
export type PaymentPlan$buyerArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2053
|
-
/**
|
|
2054
|
-
* Select specific fields to fetch from the User
|
|
2055
|
-
*/
|
|
2056
|
-
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
2057
|
-
/**
|
|
2058
|
-
* Omit specific fields from the User
|
|
2059
|
-
*/
|
|
2060
|
-
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
2061
|
-
/**
|
|
2062
|
-
* Choose, which related nodes to fetch as well
|
|
2063
|
-
*/
|
|
2064
|
-
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
2065
|
-
where?: Prisma.UserWhereInput;
|
|
2066
|
-
};
|
|
2067
|
-
/**
|
|
2068
|
-
* PaymentPlan.contract
|
|
2069
|
-
*/
|
|
2070
|
-
export type PaymentPlan$contractArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2071
|
-
/**
|
|
2072
|
-
* Select specific fields to fetch from the Contract
|
|
2073
|
-
*/
|
|
2074
|
-
select?: Prisma.ContractSelect<ExtArgs> | null;
|
|
2075
|
-
/**
|
|
2076
|
-
* Omit specific fields from the Contract
|
|
2077
|
-
*/
|
|
2078
|
-
omit?: Prisma.ContractOmit<ExtArgs> | null;
|
|
2079
|
-
/**
|
|
2080
|
-
* Choose, which related nodes to fetch as well
|
|
2081
|
-
*/
|
|
2082
|
-
include?: Prisma.ContractInclude<ExtArgs> | null;
|
|
2083
|
-
where?: Prisma.ContractWhereInput;
|
|
2084
|
-
};
|
|
2085
|
-
/**
|
|
2086
|
-
* PaymentPlan.schedules
|
|
2087
|
-
*/
|
|
2088
|
-
export type PaymentPlan$schedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2089
|
-
/**
|
|
2090
|
-
* Select specific fields to fetch from the PaymentSchedule
|
|
2091
|
-
*/
|
|
2092
|
-
select?: Prisma.PaymentScheduleSelect<ExtArgs> | null;
|
|
2093
|
-
/**
|
|
2094
|
-
* Omit specific fields from the PaymentSchedule
|
|
2095
|
-
*/
|
|
2096
|
-
omit?: Prisma.PaymentScheduleOmit<ExtArgs> | null;
|
|
2097
|
-
/**
|
|
2098
|
-
* Choose, which related nodes to fetch as well
|
|
2099
|
-
*/
|
|
2100
|
-
include?: Prisma.PaymentScheduleInclude<ExtArgs> | null;
|
|
2101
|
-
where?: Prisma.PaymentScheduleWhereInput;
|
|
2102
|
-
orderBy?: Prisma.PaymentScheduleOrderByWithRelationInput | Prisma.PaymentScheduleOrderByWithRelationInput[];
|
|
2103
|
-
cursor?: Prisma.PaymentScheduleWhereUniqueInput;
|
|
2104
|
-
take?: number;
|
|
2105
|
-
skip?: number;
|
|
2106
|
-
distinct?: Prisma.PaymentScheduleScalarFieldEnum | Prisma.PaymentScheduleScalarFieldEnum[];
|
|
2107
|
-
};
|
|
2108
|
-
/**
|
|
2109
|
-
* PaymentPlan.payments
|
|
2110
|
-
*/
|
|
2111
|
-
export type PaymentPlan$paymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2112
|
-
/**
|
|
2113
|
-
* Select specific fields to fetch from the Payment
|
|
2114
|
-
*/
|
|
2115
|
-
select?: Prisma.PaymentSelect<ExtArgs> | null;
|
|
2116
|
-
/**
|
|
2117
|
-
* Omit specific fields from the Payment
|
|
2118
|
-
*/
|
|
2119
|
-
omit?: Prisma.PaymentOmit<ExtArgs> | null;
|
|
2120
|
-
/**
|
|
2121
|
-
* Choose, which related nodes to fetch as well
|
|
2122
|
-
*/
|
|
2123
|
-
include?: Prisma.PaymentInclude<ExtArgs> | null;
|
|
2124
|
-
where?: Prisma.PaymentWhereInput;
|
|
2125
|
-
orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[];
|
|
2126
|
-
cursor?: Prisma.PaymentWhereUniqueInput;
|
|
2127
|
-
take?: number;
|
|
2128
|
-
skip?: number;
|
|
2129
|
-
distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[];
|
|
2130
|
-
};
|
|
2131
|
-
/**
|
|
2132
|
-
* PaymentPlan without action
|
|
2133
|
-
*/
|
|
2134
|
-
export type PaymentPlanDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2135
|
-
/**
|
|
2136
|
-
* Select specific fields to fetch from the PaymentPlan
|
|
2137
|
-
*/
|
|
2138
|
-
select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
|
|
2139
|
-
/**
|
|
2140
|
-
* Omit specific fields from the PaymentPlan
|
|
2141
|
-
*/
|
|
2142
|
-
omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
|
|
2143
|
-
/**
|
|
2144
|
-
* Choose, which related nodes to fetch as well
|
|
2145
|
-
*/
|
|
2146
|
-
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
2147
|
-
};
|
|
2148
|
-
export {};
|