@valentine-efagene/qshelter-common 2.0.19 → 2.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/browser.d.ts +45 -30
- package/dist/generated/client/client.d.ts +45 -30
- package/dist/generated/client/commonInputTypes.d.ts +40 -0
- package/dist/generated/client/internal/class.d.ts +93 -60
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +1050 -720
- package/dist/generated/client/internal/prismaNamespace.js +313 -190
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +344 -215
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +313 -190
- package/dist/generated/client/models/Amenity.d.ts +168 -1
- package/dist/generated/client/models/Contract.d.ts +2037 -298
- package/dist/generated/client/models/ContractDocument.d.ts +299 -12
- package/dist/generated/client/models/ContractEvent.d.ts +1052 -0
- package/dist/generated/client/models/ContractEvent.js +1 -0
- package/dist/generated/client/models/ContractInstallment.d.ts +1656 -0
- package/dist/generated/client/models/ContractInstallment.js +1 -0
- package/dist/generated/client/models/ContractPayment.d.ts +2026 -0
- package/dist/generated/client/models/ContractPayment.js +1 -0
- package/dist/generated/client/models/ContractPhase.d.ts +2467 -0
- package/dist/generated/client/models/ContractPhase.js +1 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +1678 -0
- package/dist/generated/client/models/ContractPhaseStep.js +1 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +1249 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.js +1 -0
- package/dist/generated/client/models/ContractTransition.d.ts +1118 -0
- package/dist/generated/client/models/ContractTransition.js +1 -0
- package/dist/generated/client/models/DomainEvent.d.ts +1240 -0
- package/dist/generated/client/models/DomainEvent.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +325 -1062
- package/dist/generated/client/models/Property.d.ts +154 -684
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1498 -0
- package/dist/generated/client/models/PropertyPaymentMethod.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +1158 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +1656 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.js +1 -0
- package/dist/generated/client/models/PropertyUnit.d.ts +1598 -0
- package/dist/generated/client/models/PropertyUnit.js +1 -0
- package/dist/generated/client/models/PropertyVariant.d.ts +2079 -0
- package/dist/generated/client/models/PropertyVariant.js +1 -0
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +1080 -0
- package/dist/generated/client/models/PropertyVariantAmenity.js +1 -0
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +1189 -0
- package/dist/generated/client/models/PropertyVariantMedia.js +1 -0
- package/dist/generated/client/models/User.d.ts +684 -427
- package/dist/generated/client/models/index.d.ts +15 -12
- package/dist/generated/client/models/index.js +15 -12
- package/dist/generated/client/models.d.ts +15 -12
- package/dist/src/config/config.service.d.ts +0 -1
- package/dist/src/config/config.service.js +0 -1
- package/package.json +2 -1
- package/prisma/schema.prisma +544 -269
|
@@ -13,143 +13,101 @@ export type AggregatePaymentPlan = {
|
|
|
13
13
|
_max: PaymentPlanMaxAggregateOutputType | null;
|
|
14
14
|
};
|
|
15
15
|
export type PaymentPlanAvgAggregateOutputType = {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
principalAmount: number | null;
|
|
20
|
-
interestRate: number | null;
|
|
21
|
-
totalInterest: number | null;
|
|
16
|
+
customFrequencyDays: number | null;
|
|
17
|
+
numberOfInstallments: number | null;
|
|
18
|
+
gracePeriodDays: number | null;
|
|
22
19
|
};
|
|
23
20
|
export type PaymentPlanSumAggregateOutputType = {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
principalAmount: number | null;
|
|
28
|
-
interestRate: number | null;
|
|
29
|
-
totalInterest: number | null;
|
|
21
|
+
customFrequencyDays: number | null;
|
|
22
|
+
numberOfInstallments: number | null;
|
|
23
|
+
gracePeriodDays: number | null;
|
|
30
24
|
};
|
|
31
25
|
export type PaymentPlanMinAggregateOutputType = {
|
|
32
26
|
id: string | null;
|
|
33
|
-
propertyId: string | null;
|
|
34
|
-
buyerId: string | null;
|
|
35
|
-
planType: string | null;
|
|
36
27
|
name: string | null;
|
|
37
28
|
description: string | null;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
state: string | null;
|
|
45
|
-
stateMetadata: string | null;
|
|
29
|
+
isActive: boolean | null;
|
|
30
|
+
paymentFrequency: string | null;
|
|
31
|
+
customFrequencyDays: number | null;
|
|
32
|
+
numberOfInstallments: number | null;
|
|
33
|
+
calculateInterestDaily: boolean | null;
|
|
34
|
+
gracePeriodDays: number | null;
|
|
46
35
|
createdAt: Date | null;
|
|
47
36
|
updatedAt: Date | null;
|
|
48
37
|
};
|
|
49
38
|
export type PaymentPlanMaxAggregateOutputType = {
|
|
50
39
|
id: string | null;
|
|
51
|
-
propertyId: string | null;
|
|
52
|
-
buyerId: string | null;
|
|
53
|
-
planType: string | null;
|
|
54
40
|
name: string | null;
|
|
55
41
|
description: string | null;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
state: string | null;
|
|
63
|
-
stateMetadata: string | null;
|
|
42
|
+
isActive: boolean | null;
|
|
43
|
+
paymentFrequency: string | null;
|
|
44
|
+
customFrequencyDays: number | null;
|
|
45
|
+
numberOfInstallments: number | null;
|
|
46
|
+
calculateInterestDaily: boolean | null;
|
|
47
|
+
gracePeriodDays: number | null;
|
|
64
48
|
createdAt: Date | null;
|
|
65
49
|
updatedAt: Date | null;
|
|
66
50
|
};
|
|
67
51
|
export type PaymentPlanCountAggregateOutputType = {
|
|
68
52
|
id: number;
|
|
69
|
-
propertyId: number;
|
|
70
|
-
buyerId: number;
|
|
71
|
-
planType: number;
|
|
72
53
|
name: number;
|
|
73
54
|
description: number;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
state: number;
|
|
81
|
-
stateMetadata: number;
|
|
55
|
+
isActive: number;
|
|
56
|
+
paymentFrequency: number;
|
|
57
|
+
customFrequencyDays: number;
|
|
58
|
+
numberOfInstallments: number;
|
|
59
|
+
calculateInterestDaily: number;
|
|
60
|
+
gracePeriodDays: number;
|
|
82
61
|
createdAt: number;
|
|
83
62
|
updatedAt: number;
|
|
84
63
|
_all: number;
|
|
85
64
|
};
|
|
86
65
|
export type PaymentPlanAvgAggregateInputType = {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
principalAmount?: true;
|
|
91
|
-
interestRate?: true;
|
|
92
|
-
totalInterest?: true;
|
|
66
|
+
customFrequencyDays?: true;
|
|
67
|
+
numberOfInstallments?: true;
|
|
68
|
+
gracePeriodDays?: true;
|
|
93
69
|
};
|
|
94
70
|
export type PaymentPlanSumAggregateInputType = {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
principalAmount?: true;
|
|
99
|
-
interestRate?: true;
|
|
100
|
-
totalInterest?: true;
|
|
71
|
+
customFrequencyDays?: true;
|
|
72
|
+
numberOfInstallments?: true;
|
|
73
|
+
gracePeriodDays?: true;
|
|
101
74
|
};
|
|
102
75
|
export type PaymentPlanMinAggregateInputType = {
|
|
103
76
|
id?: true;
|
|
104
|
-
propertyId?: true;
|
|
105
|
-
buyerId?: true;
|
|
106
|
-
planType?: true;
|
|
107
77
|
name?: true;
|
|
108
78
|
description?: true;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
state?: true;
|
|
116
|
-
stateMetadata?: true;
|
|
79
|
+
isActive?: true;
|
|
80
|
+
paymentFrequency?: true;
|
|
81
|
+
customFrequencyDays?: true;
|
|
82
|
+
numberOfInstallments?: true;
|
|
83
|
+
calculateInterestDaily?: true;
|
|
84
|
+
gracePeriodDays?: true;
|
|
117
85
|
createdAt?: true;
|
|
118
86
|
updatedAt?: true;
|
|
119
87
|
};
|
|
120
88
|
export type PaymentPlanMaxAggregateInputType = {
|
|
121
89
|
id?: true;
|
|
122
|
-
propertyId?: true;
|
|
123
|
-
buyerId?: true;
|
|
124
|
-
planType?: true;
|
|
125
90
|
name?: true;
|
|
126
91
|
description?: true;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
state?: true;
|
|
134
|
-
stateMetadata?: true;
|
|
92
|
+
isActive?: true;
|
|
93
|
+
paymentFrequency?: true;
|
|
94
|
+
customFrequencyDays?: true;
|
|
95
|
+
numberOfInstallments?: true;
|
|
96
|
+
calculateInterestDaily?: true;
|
|
97
|
+
gracePeriodDays?: true;
|
|
135
98
|
createdAt?: true;
|
|
136
99
|
updatedAt?: true;
|
|
137
100
|
};
|
|
138
101
|
export type PaymentPlanCountAggregateInputType = {
|
|
139
102
|
id?: true;
|
|
140
|
-
propertyId?: true;
|
|
141
|
-
buyerId?: true;
|
|
142
|
-
planType?: true;
|
|
143
103
|
name?: true;
|
|
144
104
|
description?: true;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
state?: true;
|
|
152
|
-
stateMetadata?: true;
|
|
105
|
+
isActive?: true;
|
|
106
|
+
paymentFrequency?: true;
|
|
107
|
+
customFrequencyDays?: true;
|
|
108
|
+
numberOfInstallments?: true;
|
|
109
|
+
calculateInterestDaily?: true;
|
|
110
|
+
gracePeriodDays?: true;
|
|
153
111
|
createdAt?: true;
|
|
154
112
|
updatedAt?: true;
|
|
155
113
|
_all?: true;
|
|
@@ -232,19 +190,14 @@ export type PaymentPlanGroupByArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
232
190
|
};
|
|
233
191
|
export type PaymentPlanGroupByOutputType = {
|
|
234
192
|
id: string;
|
|
235
|
-
propertyId: string;
|
|
236
|
-
buyerId: string | null;
|
|
237
|
-
planType: string;
|
|
238
193
|
name: string;
|
|
239
194
|
description: string | null;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
state: string;
|
|
247
|
-
stateMetadata: string | null;
|
|
195
|
+
isActive: boolean;
|
|
196
|
+
paymentFrequency: string;
|
|
197
|
+
customFrequencyDays: number | null;
|
|
198
|
+
numberOfInstallments: number;
|
|
199
|
+
calculateInterestDaily: boolean;
|
|
200
|
+
gracePeriodDays: number;
|
|
248
201
|
createdAt: Date;
|
|
249
202
|
updatedAt: Date;
|
|
250
203
|
_count: PaymentPlanCountAggregateOutputType | null;
|
|
@@ -261,92 +214,63 @@ export type PaymentPlanWhereInput = {
|
|
|
261
214
|
OR?: Prisma.PaymentPlanWhereInput[];
|
|
262
215
|
NOT?: Prisma.PaymentPlanWhereInput | Prisma.PaymentPlanWhereInput[];
|
|
263
216
|
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
217
|
name?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
268
218
|
description?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
state?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
276
|
-
stateMetadata?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
219
|
+
isActive?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
220
|
+
paymentFrequency?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
221
|
+
customFrequencyDays?: Prisma.IntNullableFilter<"PaymentPlan"> | number | null;
|
|
222
|
+
numberOfInstallments?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
223
|
+
calculateInterestDaily?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
224
|
+
gracePeriodDays?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
277
225
|
createdAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
278
226
|
updatedAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
contract?: Prisma.XOR<Prisma.ContractNullableScalarRelationFilter, Prisma.ContractWhereInput> | null;
|
|
282
|
-
schedules?: Prisma.PaymentScheduleListRelationFilter;
|
|
283
|
-
payments?: Prisma.PaymentListRelationFilter;
|
|
227
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseListRelationFilter;
|
|
228
|
+
contractPhases?: Prisma.ContractPhaseListRelationFilter;
|
|
284
229
|
};
|
|
285
230
|
export type PaymentPlanOrderByWithRelationInput = {
|
|
286
231
|
id?: Prisma.SortOrder;
|
|
287
|
-
propertyId?: Prisma.SortOrder;
|
|
288
|
-
buyerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
289
|
-
planType?: Prisma.SortOrder;
|
|
290
232
|
name?: Prisma.SortOrder;
|
|
291
233
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
state?: Prisma.SortOrder;
|
|
299
|
-
stateMetadata?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
234
|
+
isActive?: Prisma.SortOrder;
|
|
235
|
+
paymentFrequency?: Prisma.SortOrder;
|
|
236
|
+
customFrequencyDays?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
237
|
+
numberOfInstallments?: Prisma.SortOrder;
|
|
238
|
+
calculateInterestDaily?: Prisma.SortOrder;
|
|
239
|
+
gracePeriodDays?: Prisma.SortOrder;
|
|
300
240
|
createdAt?: Prisma.SortOrder;
|
|
301
241
|
updatedAt?: Prisma.SortOrder;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
contract?: Prisma.ContractOrderByWithRelationInput;
|
|
305
|
-
schedules?: Prisma.PaymentScheduleOrderByRelationAggregateInput;
|
|
306
|
-
payments?: Prisma.PaymentOrderByRelationAggregateInput;
|
|
242
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseOrderByRelationAggregateInput;
|
|
243
|
+
contractPhases?: Prisma.ContractPhaseOrderByRelationAggregateInput;
|
|
307
244
|
_relevance?: Prisma.PaymentPlanOrderByRelevanceInput;
|
|
308
245
|
};
|
|
309
246
|
export type PaymentPlanWhereUniqueInput = Prisma.AtLeast<{
|
|
310
247
|
id?: string;
|
|
248
|
+
name?: string;
|
|
311
249
|
AND?: Prisma.PaymentPlanWhereInput | Prisma.PaymentPlanWhereInput[];
|
|
312
250
|
OR?: Prisma.PaymentPlanWhereInput[];
|
|
313
251
|
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
252
|
description?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
state?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
326
|
-
stateMetadata?: Prisma.StringNullableFilter<"PaymentPlan"> | string | null;
|
|
253
|
+
isActive?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
254
|
+
paymentFrequency?: Prisma.StringFilter<"PaymentPlan"> | string;
|
|
255
|
+
customFrequencyDays?: Prisma.IntNullableFilter<"PaymentPlan"> | number | null;
|
|
256
|
+
numberOfInstallments?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
257
|
+
calculateInterestDaily?: Prisma.BoolFilter<"PaymentPlan"> | boolean;
|
|
258
|
+
gracePeriodDays?: Prisma.IntFilter<"PaymentPlan"> | number;
|
|
327
259
|
createdAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
328
260
|
updatedAt?: Prisma.DateTimeFilter<"PaymentPlan"> | Date | string;
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
schedules?: Prisma.PaymentScheduleListRelationFilter;
|
|
333
|
-
payments?: Prisma.PaymentListRelationFilter;
|
|
334
|
-
}, "id">;
|
|
261
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseListRelationFilter;
|
|
262
|
+
contractPhases?: Prisma.ContractPhaseListRelationFilter;
|
|
263
|
+
}, "id" | "name">;
|
|
335
264
|
export type PaymentPlanOrderByWithAggregationInput = {
|
|
336
265
|
id?: Prisma.SortOrder;
|
|
337
|
-
propertyId?: Prisma.SortOrder;
|
|
338
|
-
buyerId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
339
|
-
planType?: Prisma.SortOrder;
|
|
340
266
|
name?: Prisma.SortOrder;
|
|
341
267
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
state?: Prisma.SortOrder;
|
|
349
|
-
stateMetadata?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
268
|
+
isActive?: Prisma.SortOrder;
|
|
269
|
+
paymentFrequency?: Prisma.SortOrder;
|
|
270
|
+
customFrequencyDays?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
271
|
+
numberOfInstallments?: Prisma.SortOrder;
|
|
272
|
+
calculateInterestDaily?: Prisma.SortOrder;
|
|
273
|
+
gracePeriodDays?: Prisma.SortOrder;
|
|
350
274
|
createdAt?: Prisma.SortOrder;
|
|
351
275
|
updatedAt?: Prisma.SortOrder;
|
|
352
276
|
_count?: Prisma.PaymentPlanCountOrderByAggregateInput;
|
|
@@ -360,166 +284,116 @@ export type PaymentPlanScalarWhereWithAggregatesInput = {
|
|
|
360
284
|
OR?: Prisma.PaymentPlanScalarWhereWithAggregatesInput[];
|
|
361
285
|
NOT?: Prisma.PaymentPlanScalarWhereWithAggregatesInput | Prisma.PaymentPlanScalarWhereWithAggregatesInput[];
|
|
362
286
|
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
287
|
name?: Prisma.StringWithAggregatesFilter<"PaymentPlan"> | string;
|
|
367
288
|
description?: Prisma.StringNullableWithAggregatesFilter<"PaymentPlan"> | string | null;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
state?: Prisma.StringWithAggregatesFilter<"PaymentPlan"> | string;
|
|
375
|
-
stateMetadata?: Prisma.StringNullableWithAggregatesFilter<"PaymentPlan"> | string | null;
|
|
289
|
+
isActive?: Prisma.BoolWithAggregatesFilter<"PaymentPlan"> | boolean;
|
|
290
|
+
paymentFrequency?: Prisma.StringWithAggregatesFilter<"PaymentPlan"> | string;
|
|
291
|
+
customFrequencyDays?: Prisma.IntNullableWithAggregatesFilter<"PaymentPlan"> | number | null;
|
|
292
|
+
numberOfInstallments?: Prisma.IntWithAggregatesFilter<"PaymentPlan"> | number;
|
|
293
|
+
calculateInterestDaily?: Prisma.BoolWithAggregatesFilter<"PaymentPlan"> | boolean;
|
|
294
|
+
gracePeriodDays?: Prisma.IntWithAggregatesFilter<"PaymentPlan"> | number;
|
|
376
295
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentPlan"> | Date | string;
|
|
377
296
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PaymentPlan"> | Date | string;
|
|
378
297
|
};
|
|
379
298
|
export type PaymentPlanCreateInput = {
|
|
380
299
|
id?: string;
|
|
381
|
-
planType: string;
|
|
382
300
|
name: string;
|
|
383
301
|
description?: string | null;
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
state?: string;
|
|
391
|
-
stateMetadata?: string | null;
|
|
302
|
+
isActive?: boolean;
|
|
303
|
+
paymentFrequency: string;
|
|
304
|
+
customFrequencyDays?: number | null;
|
|
305
|
+
numberOfInstallments: number;
|
|
306
|
+
calculateInterestDaily?: boolean;
|
|
307
|
+
gracePeriodDays?: number;
|
|
392
308
|
createdAt?: Date | string;
|
|
393
309
|
updatedAt?: Date | string;
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
contract?: Prisma.ContractCreateNestedOneWithoutPaymentPlanInput;
|
|
397
|
-
schedules?: Prisma.PaymentScheduleCreateNestedManyWithoutPlanInput;
|
|
398
|
-
payments?: Prisma.PaymentCreateNestedManyWithoutPlanInput;
|
|
310
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentPlanInput;
|
|
311
|
+
contractPhases?: Prisma.ContractPhaseCreateNestedManyWithoutPaymentPlanInput;
|
|
399
312
|
};
|
|
400
313
|
export type PaymentPlanUncheckedCreateInput = {
|
|
401
314
|
id?: string;
|
|
402
|
-
propertyId: string;
|
|
403
|
-
buyerId?: string | null;
|
|
404
|
-
planType: string;
|
|
405
315
|
name: string;
|
|
406
316
|
description?: string | null;
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
state?: string;
|
|
414
|
-
stateMetadata?: string | null;
|
|
317
|
+
isActive?: boolean;
|
|
318
|
+
paymentFrequency: string;
|
|
319
|
+
customFrequencyDays?: number | null;
|
|
320
|
+
numberOfInstallments: number;
|
|
321
|
+
calculateInterestDaily?: boolean;
|
|
322
|
+
gracePeriodDays?: number;
|
|
415
323
|
createdAt?: Date | string;
|
|
416
324
|
updatedAt?: Date | string;
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPlanInput;
|
|
325
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput;
|
|
326
|
+
contractPhases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput;
|
|
420
327
|
};
|
|
421
328
|
export type PaymentPlanUpdateInput = {
|
|
422
329
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
423
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
424
330
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
425
331
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
433
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
332
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
333
|
+
paymentFrequency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
334
|
+
customFrequencyDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
335
|
+
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
336
|
+
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
337
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
434
338
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
435
339
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
contract?: Prisma.ContractUpdateOneWithoutPaymentPlanNestedInput;
|
|
439
|
-
schedules?: Prisma.PaymentScheduleUpdateManyWithoutPlanNestedInput;
|
|
440
|
-
payments?: Prisma.PaymentUpdateManyWithoutPlanNestedInput;
|
|
340
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentPlanNestedInput;
|
|
341
|
+
contractPhases?: Prisma.ContractPhaseUpdateManyWithoutPaymentPlanNestedInput;
|
|
441
342
|
};
|
|
442
343
|
export type PaymentPlanUncheckedUpdateInput = {
|
|
443
344
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
444
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
445
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
446
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
447
345
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
448
346
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
456
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
347
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
348
|
+
paymentFrequency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
349
|
+
customFrequencyDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
350
|
+
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
351
|
+
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
352
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
457
353
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
458
354
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPlanNestedInput;
|
|
355
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput;
|
|
356
|
+
contractPhases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput;
|
|
462
357
|
};
|
|
463
358
|
export type PaymentPlanCreateManyInput = {
|
|
464
359
|
id?: string;
|
|
465
|
-
propertyId: string;
|
|
466
|
-
buyerId?: string | null;
|
|
467
|
-
planType: string;
|
|
468
360
|
name: string;
|
|
469
361
|
description?: string | null;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
state?: string;
|
|
477
|
-
stateMetadata?: string | null;
|
|
362
|
+
isActive?: boolean;
|
|
363
|
+
paymentFrequency: string;
|
|
364
|
+
customFrequencyDays?: number | null;
|
|
365
|
+
numberOfInstallments: number;
|
|
366
|
+
calculateInterestDaily?: boolean;
|
|
367
|
+
gracePeriodDays?: number;
|
|
478
368
|
createdAt?: Date | string;
|
|
479
369
|
updatedAt?: Date | string;
|
|
480
370
|
};
|
|
481
371
|
export type PaymentPlanUpdateManyMutationInput = {
|
|
482
372
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
483
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
484
373
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
485
374
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
493
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
375
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
376
|
+
paymentFrequency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
377
|
+
customFrequencyDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
378
|
+
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
379
|
+
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
380
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
494
381
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
495
382
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
496
383
|
};
|
|
497
384
|
export type PaymentPlanUncheckedUpdateManyInput = {
|
|
498
385
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
499
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
500
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
501
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
502
386
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
503
387
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
511
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
388
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
389
|
+
paymentFrequency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
390
|
+
customFrequencyDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
391
|
+
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
392
|
+
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
393
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
512
394
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
513
395
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
514
396
|
};
|
|
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
397
|
export type PaymentPlanOrderByRelevanceInput = {
|
|
524
398
|
fields: Prisma.PaymentPlanOrderByRelevanceFieldEnum | Prisma.PaymentPlanOrderByRelevanceFieldEnum[];
|
|
525
399
|
sort: Prisma.SortOrder;
|
|
@@ -527,776 +401,233 @@ export type PaymentPlanOrderByRelevanceInput = {
|
|
|
527
401
|
};
|
|
528
402
|
export type PaymentPlanCountOrderByAggregateInput = {
|
|
529
403
|
id?: Prisma.SortOrder;
|
|
530
|
-
propertyId?: Prisma.SortOrder;
|
|
531
|
-
buyerId?: Prisma.SortOrder;
|
|
532
|
-
planType?: Prisma.SortOrder;
|
|
533
404
|
name?: Prisma.SortOrder;
|
|
534
405
|
description?: Prisma.SortOrder;
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
state?: Prisma.SortOrder;
|
|
542
|
-
stateMetadata?: Prisma.SortOrder;
|
|
406
|
+
isActive?: Prisma.SortOrder;
|
|
407
|
+
paymentFrequency?: Prisma.SortOrder;
|
|
408
|
+
customFrequencyDays?: Prisma.SortOrder;
|
|
409
|
+
numberOfInstallments?: Prisma.SortOrder;
|
|
410
|
+
calculateInterestDaily?: Prisma.SortOrder;
|
|
411
|
+
gracePeriodDays?: Prisma.SortOrder;
|
|
543
412
|
createdAt?: Prisma.SortOrder;
|
|
544
413
|
updatedAt?: Prisma.SortOrder;
|
|
545
414
|
};
|
|
546
415
|
export type PaymentPlanAvgOrderByAggregateInput = {
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
principalAmount?: Prisma.SortOrder;
|
|
551
|
-
interestRate?: Prisma.SortOrder;
|
|
552
|
-
totalInterest?: Prisma.SortOrder;
|
|
416
|
+
customFrequencyDays?: Prisma.SortOrder;
|
|
417
|
+
numberOfInstallments?: Prisma.SortOrder;
|
|
418
|
+
gracePeriodDays?: Prisma.SortOrder;
|
|
553
419
|
};
|
|
554
420
|
export type PaymentPlanMaxOrderByAggregateInput = {
|
|
555
421
|
id?: Prisma.SortOrder;
|
|
556
|
-
propertyId?: Prisma.SortOrder;
|
|
557
|
-
buyerId?: Prisma.SortOrder;
|
|
558
|
-
planType?: Prisma.SortOrder;
|
|
559
422
|
name?: Prisma.SortOrder;
|
|
560
423
|
description?: Prisma.SortOrder;
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
state?: Prisma.SortOrder;
|
|
568
|
-
stateMetadata?: Prisma.SortOrder;
|
|
424
|
+
isActive?: Prisma.SortOrder;
|
|
425
|
+
paymentFrequency?: Prisma.SortOrder;
|
|
426
|
+
customFrequencyDays?: Prisma.SortOrder;
|
|
427
|
+
numberOfInstallments?: Prisma.SortOrder;
|
|
428
|
+
calculateInterestDaily?: Prisma.SortOrder;
|
|
429
|
+
gracePeriodDays?: Prisma.SortOrder;
|
|
569
430
|
createdAt?: Prisma.SortOrder;
|
|
570
431
|
updatedAt?: Prisma.SortOrder;
|
|
571
432
|
};
|
|
572
433
|
export type PaymentPlanMinOrderByAggregateInput = {
|
|
573
434
|
id?: Prisma.SortOrder;
|
|
574
|
-
propertyId?: Prisma.SortOrder;
|
|
575
|
-
buyerId?: Prisma.SortOrder;
|
|
576
|
-
planType?: Prisma.SortOrder;
|
|
577
435
|
name?: Prisma.SortOrder;
|
|
578
436
|
description?: Prisma.SortOrder;
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
state?: Prisma.SortOrder;
|
|
586
|
-
stateMetadata?: Prisma.SortOrder;
|
|
437
|
+
isActive?: Prisma.SortOrder;
|
|
438
|
+
paymentFrequency?: Prisma.SortOrder;
|
|
439
|
+
customFrequencyDays?: Prisma.SortOrder;
|
|
440
|
+
numberOfInstallments?: Prisma.SortOrder;
|
|
441
|
+
calculateInterestDaily?: Prisma.SortOrder;
|
|
442
|
+
gracePeriodDays?: Prisma.SortOrder;
|
|
587
443
|
createdAt?: Prisma.SortOrder;
|
|
588
444
|
updatedAt?: Prisma.SortOrder;
|
|
589
445
|
};
|
|
590
446
|
export type PaymentPlanSumOrderByAggregateInput = {
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
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;
|
|
447
|
+
customFrequencyDays?: Prisma.SortOrder;
|
|
448
|
+
numberOfInstallments?: Prisma.SortOrder;
|
|
449
|
+
gracePeriodDays?: Prisma.SortOrder;
|
|
601
450
|
};
|
|
602
451
|
export type PaymentPlanNullableScalarRelationFilter = {
|
|
603
452
|
is?: Prisma.PaymentPlanWhereInput | null;
|
|
604
453
|
isNot?: Prisma.PaymentPlanWhereInput | null;
|
|
605
454
|
};
|
|
606
|
-
export type
|
|
607
|
-
create?: Prisma.XOR<Prisma.
|
|
608
|
-
connectOrCreate?: Prisma.
|
|
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;
|
|
455
|
+
export type PaymentPlanCreateNestedOneWithoutMethodPhasesInput = {
|
|
456
|
+
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutMethodPhasesInput, Prisma.PaymentPlanUncheckedCreateWithoutMethodPhasesInput>;
|
|
457
|
+
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutMethodPhasesInput;
|
|
697
458
|
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
698
459
|
};
|
|
699
|
-
export type
|
|
700
|
-
create?: Prisma.XOR<Prisma.
|
|
701
|
-
connectOrCreate?: Prisma.
|
|
702
|
-
upsert?: Prisma.
|
|
460
|
+
export type PaymentPlanUpdateOneWithoutMethodPhasesNestedInput = {
|
|
461
|
+
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutMethodPhasesInput, Prisma.PaymentPlanUncheckedCreateWithoutMethodPhasesInput>;
|
|
462
|
+
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutMethodPhasesInput;
|
|
463
|
+
upsert?: Prisma.PaymentPlanUpsertWithoutMethodPhasesInput;
|
|
464
|
+
disconnect?: Prisma.PaymentPlanWhereInput | boolean;
|
|
465
|
+
delete?: Prisma.PaymentPlanWhereInput | boolean;
|
|
703
466
|
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
704
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.
|
|
467
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PaymentPlanUpdateToOneWithWhereWithoutMethodPhasesInput, Prisma.PaymentPlanUpdateWithoutMethodPhasesInput>, Prisma.PaymentPlanUncheckedUpdateWithoutMethodPhasesInput>;
|
|
705
468
|
};
|
|
706
|
-
export type
|
|
707
|
-
create?: Prisma.XOR<Prisma.
|
|
708
|
-
connectOrCreate?: Prisma.
|
|
469
|
+
export type PaymentPlanCreateNestedOneWithoutContractPhasesInput = {
|
|
470
|
+
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutContractPhasesInput, Prisma.PaymentPlanUncheckedCreateWithoutContractPhasesInput>;
|
|
471
|
+
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutContractPhasesInput;
|
|
709
472
|
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
710
473
|
};
|
|
711
|
-
export type
|
|
712
|
-
create?: Prisma.XOR<Prisma.
|
|
713
|
-
connectOrCreate?: Prisma.
|
|
714
|
-
upsert?: Prisma.
|
|
474
|
+
export type PaymentPlanUpdateOneWithoutContractPhasesNestedInput = {
|
|
475
|
+
create?: Prisma.XOR<Prisma.PaymentPlanCreateWithoutContractPhasesInput, Prisma.PaymentPlanUncheckedCreateWithoutContractPhasesInput>;
|
|
476
|
+
connectOrCreate?: Prisma.PaymentPlanCreateOrConnectWithoutContractPhasesInput;
|
|
477
|
+
upsert?: Prisma.PaymentPlanUpsertWithoutContractPhasesInput;
|
|
715
478
|
disconnect?: Prisma.PaymentPlanWhereInput | boolean;
|
|
716
479
|
delete?: Prisma.PaymentPlanWhereInput | boolean;
|
|
717
480
|
connect?: Prisma.PaymentPlanWhereUniqueInput;
|
|
718
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.
|
|
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;
|
|
481
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PaymentPlanUpdateToOneWithWhereWithoutContractPhasesInput, Prisma.PaymentPlanUpdateWithoutContractPhasesInput>, Prisma.PaymentPlanUncheckedUpdateWithoutContractPhasesInput>;
|
|
955
482
|
};
|
|
956
|
-
export type
|
|
483
|
+
export type PaymentPlanCreateWithoutMethodPhasesInput = {
|
|
957
484
|
id?: string;
|
|
958
|
-
planType: string;
|
|
959
485
|
name: string;
|
|
960
486
|
description?: string | null;
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
state?: string;
|
|
968
|
-
stateMetadata?: string | null;
|
|
487
|
+
isActive?: boolean;
|
|
488
|
+
paymentFrequency: string;
|
|
489
|
+
customFrequencyDays?: number | null;
|
|
490
|
+
numberOfInstallments: number;
|
|
491
|
+
calculateInterestDaily?: boolean;
|
|
492
|
+
gracePeriodDays?: number;
|
|
969
493
|
createdAt?: Date | string;
|
|
970
494
|
updatedAt?: Date | string;
|
|
971
|
-
|
|
972
|
-
buyer?: Prisma.UserCreateNestedOneWithoutPaymentPlansInput;
|
|
973
|
-
contract?: Prisma.ContractCreateNestedOneWithoutPaymentPlanInput;
|
|
974
|
-
schedules?: Prisma.PaymentScheduleCreateNestedManyWithoutPlanInput;
|
|
495
|
+
contractPhases?: Prisma.ContractPhaseCreateNestedManyWithoutPaymentPlanInput;
|
|
975
496
|
};
|
|
976
|
-
export type
|
|
497
|
+
export type PaymentPlanUncheckedCreateWithoutMethodPhasesInput = {
|
|
977
498
|
id?: string;
|
|
978
|
-
propertyId: string;
|
|
979
|
-
buyerId?: string | null;
|
|
980
|
-
planType: string;
|
|
981
499
|
name: string;
|
|
982
500
|
description?: string | null;
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
state?: string;
|
|
990
|
-
stateMetadata?: string | null;
|
|
501
|
+
isActive?: boolean;
|
|
502
|
+
paymentFrequency: string;
|
|
503
|
+
customFrequencyDays?: number | null;
|
|
504
|
+
numberOfInstallments: number;
|
|
505
|
+
calculateInterestDaily?: boolean;
|
|
506
|
+
gracePeriodDays?: number;
|
|
991
507
|
createdAt?: Date | string;
|
|
992
508
|
updatedAt?: Date | string;
|
|
993
|
-
|
|
994
|
-
schedules?: Prisma.PaymentScheduleUncheckedCreateNestedManyWithoutPlanInput;
|
|
509
|
+
contractPhases?: Prisma.ContractPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput;
|
|
995
510
|
};
|
|
996
|
-
export type
|
|
511
|
+
export type PaymentPlanCreateOrConnectWithoutMethodPhasesInput = {
|
|
997
512
|
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
998
|
-
create: Prisma.XOR<Prisma.
|
|
513
|
+
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutMethodPhasesInput, Prisma.PaymentPlanUncheckedCreateWithoutMethodPhasesInput>;
|
|
999
514
|
};
|
|
1000
|
-
export type
|
|
1001
|
-
update: Prisma.XOR<Prisma.
|
|
1002
|
-
create: Prisma.XOR<Prisma.
|
|
515
|
+
export type PaymentPlanUpsertWithoutMethodPhasesInput = {
|
|
516
|
+
update: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutMethodPhasesInput, Prisma.PaymentPlanUncheckedUpdateWithoutMethodPhasesInput>;
|
|
517
|
+
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutMethodPhasesInput, Prisma.PaymentPlanUncheckedCreateWithoutMethodPhasesInput>;
|
|
1003
518
|
where?: Prisma.PaymentPlanWhereInput;
|
|
1004
519
|
};
|
|
1005
|
-
export type
|
|
520
|
+
export type PaymentPlanUpdateToOneWithWhereWithoutMethodPhasesInput = {
|
|
1006
521
|
where?: Prisma.PaymentPlanWhereInput;
|
|
1007
|
-
data: Prisma.XOR<Prisma.
|
|
522
|
+
data: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutMethodPhasesInput, Prisma.PaymentPlanUncheckedUpdateWithoutMethodPhasesInput>;
|
|
1008
523
|
};
|
|
1009
|
-
export type
|
|
524
|
+
export type PaymentPlanUpdateWithoutMethodPhasesInput = {
|
|
1010
525
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1011
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1012
526
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1013
527
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1021
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
528
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
529
|
+
paymentFrequency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
530
|
+
customFrequencyDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
531
|
+
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
532
|
+
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
533
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1022
534
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1023
535
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1024
|
-
|
|
1025
|
-
buyer?: Prisma.UserUpdateOneWithoutPaymentPlansNestedInput;
|
|
1026
|
-
contract?: Prisma.ContractUpdateOneWithoutPaymentPlanNestedInput;
|
|
1027
|
-
schedules?: Prisma.PaymentScheduleUpdateManyWithoutPlanNestedInput;
|
|
536
|
+
contractPhases?: Prisma.ContractPhaseUpdateManyWithoutPaymentPlanNestedInput;
|
|
1028
537
|
};
|
|
1029
|
-
export type
|
|
538
|
+
export type PaymentPlanUncheckedUpdateWithoutMethodPhasesInput = {
|
|
1030
539
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1031
|
-
propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1032
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1033
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1034
540
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1035
541
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1043
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
542
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
543
|
+
paymentFrequency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
544
|
+
customFrequencyDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
545
|
+
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
546
|
+
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
547
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1044
548
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1045
549
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1046
|
-
|
|
1047
|
-
schedules?: Prisma.PaymentScheduleUncheckedUpdateManyWithoutPlanNestedInput;
|
|
550
|
+
contractPhases?: Prisma.ContractPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput;
|
|
1048
551
|
};
|
|
1049
|
-
export type
|
|
552
|
+
export type PaymentPlanCreateWithoutContractPhasesInput = {
|
|
1050
553
|
id?: string;
|
|
1051
|
-
planType: string;
|
|
1052
554
|
name: string;
|
|
1053
555
|
description?: string | null;
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
state?: string;
|
|
1061
|
-
stateMetadata?: string | null;
|
|
556
|
+
isActive?: boolean;
|
|
557
|
+
paymentFrequency: string;
|
|
558
|
+
customFrequencyDays?: number | null;
|
|
559
|
+
numberOfInstallments: number;
|
|
560
|
+
calculateInterestDaily?: boolean;
|
|
561
|
+
gracePeriodDays?: number;
|
|
1062
562
|
createdAt?: Date | string;
|
|
1063
563
|
updatedAt?: Date | string;
|
|
1064
|
-
|
|
1065
|
-
buyer?: Prisma.UserCreateNestedOneWithoutPaymentPlansInput;
|
|
1066
|
-
schedules?: Prisma.PaymentScheduleCreateNestedManyWithoutPlanInput;
|
|
1067
|
-
payments?: Prisma.PaymentCreateNestedManyWithoutPlanInput;
|
|
564
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentPlanInput;
|
|
1068
565
|
};
|
|
1069
|
-
export type
|
|
566
|
+
export type PaymentPlanUncheckedCreateWithoutContractPhasesInput = {
|
|
1070
567
|
id?: string;
|
|
1071
|
-
propertyId: string;
|
|
1072
|
-
buyerId?: string | null;
|
|
1073
|
-
planType: string;
|
|
1074
568
|
name: string;
|
|
1075
569
|
description?: string | null;
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
state?: string;
|
|
1083
|
-
stateMetadata?: string | null;
|
|
570
|
+
isActive?: boolean;
|
|
571
|
+
paymentFrequency: string;
|
|
572
|
+
customFrequencyDays?: number | null;
|
|
573
|
+
numberOfInstallments: number;
|
|
574
|
+
calculateInterestDaily?: boolean;
|
|
575
|
+
gracePeriodDays?: number;
|
|
1084
576
|
createdAt?: Date | string;
|
|
1085
577
|
updatedAt?: Date | string;
|
|
1086
|
-
|
|
1087
|
-
payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutPlanInput;
|
|
578
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput;
|
|
1088
579
|
};
|
|
1089
|
-
export type
|
|
580
|
+
export type PaymentPlanCreateOrConnectWithoutContractPhasesInput = {
|
|
1090
581
|
where: Prisma.PaymentPlanWhereUniqueInput;
|
|
1091
|
-
create: Prisma.XOR<Prisma.
|
|
582
|
+
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutContractPhasesInput, Prisma.PaymentPlanUncheckedCreateWithoutContractPhasesInput>;
|
|
1092
583
|
};
|
|
1093
|
-
export type
|
|
1094
|
-
update: Prisma.XOR<Prisma.
|
|
1095
|
-
create: Prisma.XOR<Prisma.
|
|
584
|
+
export type PaymentPlanUpsertWithoutContractPhasesInput = {
|
|
585
|
+
update: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutContractPhasesInput, Prisma.PaymentPlanUncheckedUpdateWithoutContractPhasesInput>;
|
|
586
|
+
create: Prisma.XOR<Prisma.PaymentPlanCreateWithoutContractPhasesInput, Prisma.PaymentPlanUncheckedCreateWithoutContractPhasesInput>;
|
|
1096
587
|
where?: Prisma.PaymentPlanWhereInput;
|
|
1097
588
|
};
|
|
1098
|
-
export type
|
|
589
|
+
export type PaymentPlanUpdateToOneWithWhereWithoutContractPhasesInput = {
|
|
1099
590
|
where?: Prisma.PaymentPlanWhereInput;
|
|
1100
|
-
data: Prisma.XOR<Prisma.
|
|
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;
|
|
591
|
+
data: Prisma.XOR<Prisma.PaymentPlanUpdateWithoutContractPhasesInput, Prisma.PaymentPlanUncheckedUpdateWithoutContractPhasesInput>;
|
|
1252
592
|
};
|
|
1253
|
-
export type
|
|
593
|
+
export type PaymentPlanUpdateWithoutContractPhasesInput = {
|
|
1254
594
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1255
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1256
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1257
595
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1258
596
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1266
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
597
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
598
|
+
paymentFrequency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
599
|
+
customFrequencyDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
600
|
+
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
601
|
+
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
602
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1267
603
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1268
604
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1269
|
-
|
|
1270
|
-
schedules?: Prisma.PaymentScheduleUncheckedUpdateManyWithoutPlanNestedInput;
|
|
1271
|
-
payments?: Prisma.PaymentUncheckedUpdateManyWithoutPlanNestedInput;
|
|
605
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentPlanNestedInput;
|
|
1272
606
|
};
|
|
1273
|
-
export type
|
|
607
|
+
export type PaymentPlanUncheckedUpdateWithoutContractPhasesInput = {
|
|
1274
608
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1275
|
-
buyerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1276
|
-
planType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1277
609
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1278
610
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
state?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1286
|
-
stateMetadata?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
611
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
612
|
+
paymentFrequency?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
613
|
+
customFrequencyDays?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
614
|
+
numberOfInstallments?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
615
|
+
calculateInterestDaily?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
616
|
+
gracePeriodDays?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1287
617
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1288
618
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
619
|
+
methodPhases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput;
|
|
1289
620
|
};
|
|
1290
621
|
/**
|
|
1291
622
|
* Count Type PaymentPlanCountOutputType
|
|
1292
623
|
*/
|
|
1293
624
|
export type PaymentPlanCountOutputType = {
|
|
1294
|
-
|
|
1295
|
-
|
|
625
|
+
methodPhases: number;
|
|
626
|
+
contractPhases: number;
|
|
1296
627
|
};
|
|
1297
628
|
export type PaymentPlanCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1298
|
-
|
|
1299
|
-
|
|
629
|
+
methodPhases?: boolean | PaymentPlanCountOutputTypeCountMethodPhasesArgs;
|
|
630
|
+
contractPhases?: boolean | PaymentPlanCountOutputTypeCountContractPhasesArgs;
|
|
1300
631
|
};
|
|
1301
632
|
/**
|
|
1302
633
|
* PaymentPlanCountOutputType without action
|
|
@@ -1310,90 +641,66 @@ export type PaymentPlanCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.
|
|
|
1310
641
|
/**
|
|
1311
642
|
* PaymentPlanCountOutputType without action
|
|
1312
643
|
*/
|
|
1313
|
-
export type
|
|
1314
|
-
where?: Prisma.
|
|
644
|
+
export type PaymentPlanCountOutputTypeCountMethodPhasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
645
|
+
where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
1315
646
|
};
|
|
1316
647
|
/**
|
|
1317
648
|
* PaymentPlanCountOutputType without action
|
|
1318
649
|
*/
|
|
1319
|
-
export type
|
|
1320
|
-
where?: Prisma.
|
|
650
|
+
export type PaymentPlanCountOutputTypeCountContractPhasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
651
|
+
where?: Prisma.ContractPhaseWhereInput;
|
|
1321
652
|
};
|
|
1322
653
|
export type PaymentPlanSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1323
654
|
id?: boolean;
|
|
1324
|
-
propertyId?: boolean;
|
|
1325
|
-
buyerId?: boolean;
|
|
1326
|
-
planType?: boolean;
|
|
1327
655
|
name?: boolean;
|
|
1328
656
|
description?: boolean;
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
state?: boolean;
|
|
1336
|
-
stateMetadata?: boolean;
|
|
657
|
+
isActive?: boolean;
|
|
658
|
+
paymentFrequency?: boolean;
|
|
659
|
+
customFrequencyDays?: boolean;
|
|
660
|
+
numberOfInstallments?: boolean;
|
|
661
|
+
calculateInterestDaily?: boolean;
|
|
662
|
+
gracePeriodDays?: boolean;
|
|
1337
663
|
createdAt?: boolean;
|
|
1338
664
|
updatedAt?: boolean;
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
contract?: boolean | Prisma.PaymentPlan$contractArgs<ExtArgs>;
|
|
1342
|
-
schedules?: boolean | Prisma.PaymentPlan$schedulesArgs<ExtArgs>;
|
|
1343
|
-
payments?: boolean | Prisma.PaymentPlan$paymentsArgs<ExtArgs>;
|
|
665
|
+
methodPhases?: boolean | Prisma.PaymentPlan$methodPhasesArgs<ExtArgs>;
|
|
666
|
+
contractPhases?: boolean | Prisma.PaymentPlan$contractPhasesArgs<ExtArgs>;
|
|
1344
667
|
_count?: boolean | Prisma.PaymentPlanCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1345
668
|
}, ExtArgs["result"]["paymentPlan"]>;
|
|
1346
669
|
export type PaymentPlanSelectScalar = {
|
|
1347
670
|
id?: boolean;
|
|
1348
|
-
propertyId?: boolean;
|
|
1349
|
-
buyerId?: boolean;
|
|
1350
|
-
planType?: boolean;
|
|
1351
671
|
name?: boolean;
|
|
1352
672
|
description?: boolean;
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
state?: boolean;
|
|
1360
|
-
stateMetadata?: boolean;
|
|
673
|
+
isActive?: boolean;
|
|
674
|
+
paymentFrequency?: boolean;
|
|
675
|
+
customFrequencyDays?: boolean;
|
|
676
|
+
numberOfInstallments?: boolean;
|
|
677
|
+
calculateInterestDaily?: boolean;
|
|
678
|
+
gracePeriodDays?: boolean;
|
|
1361
679
|
createdAt?: boolean;
|
|
1362
680
|
updatedAt?: boolean;
|
|
1363
681
|
};
|
|
1364
|
-
export type PaymentPlanOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "
|
|
682
|
+
export type PaymentPlanOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "isActive" | "paymentFrequency" | "customFrequencyDays" | "numberOfInstallments" | "calculateInterestDaily" | "gracePeriodDays" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentPlan"]>;
|
|
1365
683
|
export type PaymentPlanInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
contract?: boolean | Prisma.PaymentPlan$contractArgs<ExtArgs>;
|
|
1369
|
-
schedules?: boolean | Prisma.PaymentPlan$schedulesArgs<ExtArgs>;
|
|
1370
|
-
payments?: boolean | Prisma.PaymentPlan$paymentsArgs<ExtArgs>;
|
|
684
|
+
methodPhases?: boolean | Prisma.PaymentPlan$methodPhasesArgs<ExtArgs>;
|
|
685
|
+
contractPhases?: boolean | Prisma.PaymentPlan$contractPhasesArgs<ExtArgs>;
|
|
1371
686
|
_count?: boolean | Prisma.PaymentPlanCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1372
687
|
};
|
|
1373
688
|
export type $PaymentPlanPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
689
|
name: "PaymentPlan";
|
|
1375
690
|
objects: {
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
contract: Prisma.$ContractPayload<ExtArgs> | null;
|
|
1379
|
-
schedules: Prisma.$PaymentSchedulePayload<ExtArgs>[];
|
|
1380
|
-
payments: Prisma.$PaymentPayload<ExtArgs>[];
|
|
691
|
+
methodPhases: Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>[];
|
|
692
|
+
contractPhases: Prisma.$ContractPhasePayload<ExtArgs>[];
|
|
1381
693
|
};
|
|
1382
694
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1383
695
|
id: string;
|
|
1384
|
-
propertyId: string;
|
|
1385
|
-
buyerId: string | null;
|
|
1386
|
-
planType: string;
|
|
1387
696
|
name: string;
|
|
1388
697
|
description: string | null;
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
state: string;
|
|
1396
|
-
stateMetadata: string | null;
|
|
698
|
+
isActive: boolean;
|
|
699
|
+
paymentFrequency: string;
|
|
700
|
+
customFrequencyDays: number | null;
|
|
701
|
+
numberOfInstallments: number;
|
|
702
|
+
calculateInterestDaily: boolean;
|
|
703
|
+
gracePeriodDays: number;
|
|
1397
704
|
createdAt: Date;
|
|
1398
705
|
updatedAt: Date;
|
|
1399
706
|
}, ExtArgs["result"]["paymentPlan"]>;
|
|
@@ -1673,11 +980,8 @@ export interface PaymentPlanDelegate<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1673
980
|
*/
|
|
1674
981
|
export interface Prisma__PaymentPlanClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1675
982
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1676
|
-
|
|
1677
|
-
|
|
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>;
|
|
983
|
+
methodPhases<T extends Prisma.PaymentPlan$methodPhasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentPlan$methodPhasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
984
|
+
contractPhases<T extends Prisma.PaymentPlan$contractPhasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentPlan$contractPhasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1681
985
|
/**
|
|
1682
986
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1683
987
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1704,19 +1008,14 @@ export interface Prisma__PaymentPlanClient<T, Null = never, ExtArgs extends runt
|
|
|
1704
1008
|
*/
|
|
1705
1009
|
export interface PaymentPlanFieldRefs {
|
|
1706
1010
|
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
1011
|
readonly name: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1711
1012
|
readonly description: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1712
|
-
readonly
|
|
1713
|
-
readonly
|
|
1714
|
-
readonly
|
|
1715
|
-
readonly
|
|
1716
|
-
readonly
|
|
1717
|
-
readonly
|
|
1718
|
-
readonly state: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1719
|
-
readonly stateMetadata: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1013
|
+
readonly isActive: Prisma.FieldRef<"PaymentPlan", 'Boolean'>;
|
|
1014
|
+
readonly paymentFrequency: Prisma.FieldRef<"PaymentPlan", 'String'>;
|
|
1015
|
+
readonly customFrequencyDays: Prisma.FieldRef<"PaymentPlan", 'Int'>;
|
|
1016
|
+
readonly numberOfInstallments: Prisma.FieldRef<"PaymentPlan", 'Int'>;
|
|
1017
|
+
readonly calculateInterestDaily: Prisma.FieldRef<"PaymentPlan", 'Boolean'>;
|
|
1018
|
+
readonly gracePeriodDays: Prisma.FieldRef<"PaymentPlan", 'Int'>;
|
|
1720
1019
|
readonly createdAt: Prisma.FieldRef<"PaymentPlan", 'DateTime'>;
|
|
1721
1020
|
readonly updatedAt: Prisma.FieldRef<"PaymentPlan", 'DateTime'>;
|
|
1722
1021
|
}
|
|
@@ -2047,86 +1346,50 @@ export type PaymentPlanDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.I
|
|
|
2047
1346
|
limit?: number;
|
|
2048
1347
|
};
|
|
2049
1348
|
/**
|
|
2050
|
-
* PaymentPlan.
|
|
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
|
|
1349
|
+
* PaymentPlan.methodPhases
|
|
2087
1350
|
*/
|
|
2088
|
-
export type PaymentPlan$
|
|
1351
|
+
export type PaymentPlan$methodPhasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2089
1352
|
/**
|
|
2090
|
-
* Select specific fields to fetch from the
|
|
1353
|
+
* Select specific fields to fetch from the PropertyPaymentMethodPhase
|
|
2091
1354
|
*/
|
|
2092
|
-
select?: Prisma.
|
|
1355
|
+
select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
|
|
2093
1356
|
/**
|
|
2094
|
-
* Omit specific fields from the
|
|
1357
|
+
* Omit specific fields from the PropertyPaymentMethodPhase
|
|
2095
1358
|
*/
|
|
2096
|
-
omit?: Prisma.
|
|
1359
|
+
omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
|
|
2097
1360
|
/**
|
|
2098
1361
|
* Choose, which related nodes to fetch as well
|
|
2099
1362
|
*/
|
|
2100
|
-
include?: Prisma.
|
|
2101
|
-
where?: Prisma.
|
|
2102
|
-
orderBy?: Prisma.
|
|
2103
|
-
cursor?: Prisma.
|
|
1363
|
+
include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
|
|
1364
|
+
where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
1365
|
+
orderBy?: Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput | Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput[];
|
|
1366
|
+
cursor?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
2104
1367
|
take?: number;
|
|
2105
1368
|
skip?: number;
|
|
2106
|
-
distinct?: Prisma.
|
|
1369
|
+
distinct?: Prisma.PropertyPaymentMethodPhaseScalarFieldEnum | Prisma.PropertyPaymentMethodPhaseScalarFieldEnum[];
|
|
2107
1370
|
};
|
|
2108
1371
|
/**
|
|
2109
|
-
* PaymentPlan.
|
|
1372
|
+
* PaymentPlan.contractPhases
|
|
2110
1373
|
*/
|
|
2111
|
-
export type PaymentPlan$
|
|
1374
|
+
export type PaymentPlan$contractPhasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2112
1375
|
/**
|
|
2113
|
-
* Select specific fields to fetch from the
|
|
1376
|
+
* Select specific fields to fetch from the ContractPhase
|
|
2114
1377
|
*/
|
|
2115
|
-
select?: Prisma.
|
|
1378
|
+
select?: Prisma.ContractPhaseSelect<ExtArgs> | null;
|
|
2116
1379
|
/**
|
|
2117
|
-
* Omit specific fields from the
|
|
1380
|
+
* Omit specific fields from the ContractPhase
|
|
2118
1381
|
*/
|
|
2119
|
-
omit?: Prisma.
|
|
1382
|
+
omit?: Prisma.ContractPhaseOmit<ExtArgs> | null;
|
|
2120
1383
|
/**
|
|
2121
1384
|
* Choose, which related nodes to fetch as well
|
|
2122
1385
|
*/
|
|
2123
|
-
include?: Prisma.
|
|
2124
|
-
where?: Prisma.
|
|
2125
|
-
orderBy?: Prisma.
|
|
2126
|
-
cursor?: Prisma.
|
|
1386
|
+
include?: Prisma.ContractPhaseInclude<ExtArgs> | null;
|
|
1387
|
+
where?: Prisma.ContractPhaseWhereInput;
|
|
1388
|
+
orderBy?: Prisma.ContractPhaseOrderByWithRelationInput | Prisma.ContractPhaseOrderByWithRelationInput[];
|
|
1389
|
+
cursor?: Prisma.ContractPhaseWhereUniqueInput;
|
|
2127
1390
|
take?: number;
|
|
2128
1391
|
skip?: number;
|
|
2129
|
-
distinct?: Prisma.
|
|
1392
|
+
distinct?: Prisma.ContractPhaseScalarFieldEnum | Prisma.ContractPhaseScalarFieldEnum[];
|
|
2130
1393
|
};
|
|
2131
1394
|
/**
|
|
2132
1395
|
* PaymentPlan without action
|