@valentine-efagene/qshelter-common 2.0.21 → 2.0.24

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.
Files changed (65) hide show
  1. package/dist/generated/client/browser.d.ts +45 -30
  2. package/dist/generated/client/client.d.ts +45 -30
  3. package/dist/generated/client/commonInputTypes.d.ts +40 -0
  4. package/dist/generated/client/internal/class.d.ts +93 -60
  5. package/dist/generated/client/internal/class.js +2 -2
  6. package/dist/generated/client/internal/prismaNamespace.d.ts +1058 -720
  7. package/dist/generated/client/internal/prismaNamespace.js +321 -190
  8. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +352 -215
  9. package/dist/generated/client/internal/prismaNamespaceBrowser.js +321 -190
  10. package/dist/generated/client/models/Amenity.d.ts +168 -1
  11. package/dist/generated/client/models/Contract.d.ts +2390 -309
  12. package/dist/generated/client/models/ContractDocument.d.ts +299 -12
  13. package/dist/generated/client/models/ContractEvent.d.ts +1052 -0
  14. package/dist/generated/client/models/ContractEvent.js +1 -0
  15. package/dist/generated/client/models/ContractInstallment.d.ts +1656 -0
  16. package/dist/generated/client/models/ContractInstallment.js +1 -0
  17. package/dist/generated/client/models/ContractPayment.d.ts +2026 -0
  18. package/dist/generated/client/models/ContractPayment.js +1 -0
  19. package/dist/generated/client/models/ContractPhase.d.ts +2467 -0
  20. package/dist/generated/client/models/ContractPhase.js +1 -0
  21. package/dist/generated/client/models/ContractPhaseStep.d.ts +1678 -0
  22. package/dist/generated/client/models/ContractPhaseStep.js +1 -0
  23. package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +1249 -0
  24. package/dist/generated/client/models/ContractPhaseStepApproval.js +1 -0
  25. package/dist/generated/client/models/ContractTransition.d.ts +1118 -0
  26. package/dist/generated/client/models/ContractTransition.js +1 -0
  27. package/dist/generated/client/models/DomainEvent.d.ts +1240 -0
  28. package/dist/generated/client/models/DomainEvent.js +1 -0
  29. package/dist/generated/client/models/PaymentPlan.d.ts +467 -971
  30. package/dist/generated/client/models/Property.d.ts +372 -626
  31. package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1714 -0
  32. package/dist/generated/client/models/PropertyPaymentMethod.js +1 -0
  33. package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +1158 -0
  34. package/dist/generated/client/models/PropertyPaymentMethodLink.js +1 -0
  35. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +1656 -0
  36. package/dist/generated/client/models/PropertyPaymentMethodPhase.js +1 -0
  37. package/dist/generated/client/models/PropertyUnit.d.ts +1598 -0
  38. package/dist/generated/client/models/PropertyUnit.js +1 -0
  39. package/dist/generated/client/models/PropertyVariant.d.ts +2079 -0
  40. package/dist/generated/client/models/PropertyVariant.js +1 -0
  41. package/dist/generated/client/models/PropertyVariantAmenity.d.ts +1080 -0
  42. package/dist/generated/client/models/PropertyVariantAmenity.js +1 -0
  43. package/dist/generated/client/models/PropertyVariantMedia.d.ts +1189 -0
  44. package/dist/generated/client/models/PropertyVariantMedia.js +1 -0
  45. package/dist/generated/client/models/Tenant.d.ts +482 -0
  46. package/dist/generated/client/models/User.d.ts +684 -427
  47. package/dist/generated/client/models/index.d.ts +15 -12
  48. package/dist/generated/client/models/index.js +15 -12
  49. package/dist/generated/client/models.d.ts +15 -12
  50. package/dist/src/index.d.ts +2 -0
  51. package/dist/src/index.js +2 -0
  52. package/dist/src/middleware/error-handler.d.ts +6 -0
  53. package/dist/src/middleware/error-handler.js +26 -0
  54. package/dist/src/middleware/index.d.ts +3 -0
  55. package/dist/src/middleware/index.js +3 -0
  56. package/dist/src/middleware/request-logger.d.ts +6 -0
  57. package/dist/src/middleware/request-logger.js +17 -0
  58. package/dist/src/middleware/tenant.d.ts +61 -0
  59. package/dist/src/middleware/tenant.js +85 -0
  60. package/dist/src/prisma/tenant.d.ts +51 -0
  61. package/dist/src/prisma/tenant.js +211 -0
  62. package/package.json +16 -2
  63. package/prisma/migrations/20251230104059_add_property_variants/migration.sql +622 -0
  64. package/prisma/migrations/20251230113413_add_multitenancy/migration.sql +54 -0
  65. package/prisma/schema.prisma +561 -267
@@ -0,0 +1,1656 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model PropertyPaymentMethodPhase
5
+ *
6
+ */
7
+ export type PropertyPaymentMethodPhaseModel = runtime.Types.Result.DefaultSelection<Prisma.$PropertyPaymentMethodPhasePayload>;
8
+ export type AggregatePropertyPaymentMethodPhase = {
9
+ _count: PropertyPaymentMethodPhaseCountAggregateOutputType | null;
10
+ _avg: PropertyPaymentMethodPhaseAvgAggregateOutputType | null;
11
+ _sum: PropertyPaymentMethodPhaseSumAggregateOutputType | null;
12
+ _min: PropertyPaymentMethodPhaseMinAggregateOutputType | null;
13
+ _max: PropertyPaymentMethodPhaseMaxAggregateOutputType | null;
14
+ };
15
+ export type PropertyPaymentMethodPhaseAvgAggregateOutputType = {
16
+ order: number | null;
17
+ interestRate: number | null;
18
+ percentOfPrice: number | null;
19
+ minimumCompletionPercentage: number | null;
20
+ };
21
+ export type PropertyPaymentMethodPhaseSumAggregateOutputType = {
22
+ order: number | null;
23
+ interestRate: number | null;
24
+ percentOfPrice: number | null;
25
+ minimumCompletionPercentage: number | null;
26
+ };
27
+ export type PropertyPaymentMethodPhaseMinAggregateOutputType = {
28
+ id: string | null;
29
+ paymentMethodId: string | null;
30
+ paymentPlanId: string | null;
31
+ name: string | null;
32
+ description: string | null;
33
+ phaseCategory: string | null;
34
+ phaseType: string | null;
35
+ order: number | null;
36
+ interestRate: number | null;
37
+ percentOfPrice: number | null;
38
+ requiresPreviousPhaseCompletion: boolean | null;
39
+ minimumCompletionPercentage: number | null;
40
+ requiredDocumentTypes: string | null;
41
+ stepDefinitions: string | null;
42
+ createdAt: Date | null;
43
+ updatedAt: Date | null;
44
+ };
45
+ export type PropertyPaymentMethodPhaseMaxAggregateOutputType = {
46
+ id: string | null;
47
+ paymentMethodId: string | null;
48
+ paymentPlanId: string | null;
49
+ name: string | null;
50
+ description: string | null;
51
+ phaseCategory: string | null;
52
+ phaseType: string | null;
53
+ order: number | null;
54
+ interestRate: number | null;
55
+ percentOfPrice: number | null;
56
+ requiresPreviousPhaseCompletion: boolean | null;
57
+ minimumCompletionPercentage: number | null;
58
+ requiredDocumentTypes: string | null;
59
+ stepDefinitions: string | null;
60
+ createdAt: Date | null;
61
+ updatedAt: Date | null;
62
+ };
63
+ export type PropertyPaymentMethodPhaseCountAggregateOutputType = {
64
+ id: number;
65
+ paymentMethodId: number;
66
+ paymentPlanId: number;
67
+ name: number;
68
+ description: number;
69
+ phaseCategory: number;
70
+ phaseType: number;
71
+ order: number;
72
+ interestRate: number;
73
+ percentOfPrice: number;
74
+ requiresPreviousPhaseCompletion: number;
75
+ minimumCompletionPercentage: number;
76
+ requiredDocumentTypes: number;
77
+ stepDefinitions: number;
78
+ createdAt: number;
79
+ updatedAt: number;
80
+ _all: number;
81
+ };
82
+ export type PropertyPaymentMethodPhaseAvgAggregateInputType = {
83
+ order?: true;
84
+ interestRate?: true;
85
+ percentOfPrice?: true;
86
+ minimumCompletionPercentage?: true;
87
+ };
88
+ export type PropertyPaymentMethodPhaseSumAggregateInputType = {
89
+ order?: true;
90
+ interestRate?: true;
91
+ percentOfPrice?: true;
92
+ minimumCompletionPercentage?: true;
93
+ };
94
+ export type PropertyPaymentMethodPhaseMinAggregateInputType = {
95
+ id?: true;
96
+ paymentMethodId?: true;
97
+ paymentPlanId?: true;
98
+ name?: true;
99
+ description?: true;
100
+ phaseCategory?: true;
101
+ phaseType?: true;
102
+ order?: true;
103
+ interestRate?: true;
104
+ percentOfPrice?: true;
105
+ requiresPreviousPhaseCompletion?: true;
106
+ minimumCompletionPercentage?: true;
107
+ requiredDocumentTypes?: true;
108
+ stepDefinitions?: true;
109
+ createdAt?: true;
110
+ updatedAt?: true;
111
+ };
112
+ export type PropertyPaymentMethodPhaseMaxAggregateInputType = {
113
+ id?: true;
114
+ paymentMethodId?: true;
115
+ paymentPlanId?: true;
116
+ name?: true;
117
+ description?: true;
118
+ phaseCategory?: true;
119
+ phaseType?: true;
120
+ order?: true;
121
+ interestRate?: true;
122
+ percentOfPrice?: true;
123
+ requiresPreviousPhaseCompletion?: true;
124
+ minimumCompletionPercentage?: true;
125
+ requiredDocumentTypes?: true;
126
+ stepDefinitions?: true;
127
+ createdAt?: true;
128
+ updatedAt?: true;
129
+ };
130
+ export type PropertyPaymentMethodPhaseCountAggregateInputType = {
131
+ id?: true;
132
+ paymentMethodId?: true;
133
+ paymentPlanId?: true;
134
+ name?: true;
135
+ description?: true;
136
+ phaseCategory?: true;
137
+ phaseType?: true;
138
+ order?: true;
139
+ interestRate?: true;
140
+ percentOfPrice?: true;
141
+ requiresPreviousPhaseCompletion?: true;
142
+ minimumCompletionPercentage?: true;
143
+ requiredDocumentTypes?: true;
144
+ stepDefinitions?: true;
145
+ createdAt?: true;
146
+ updatedAt?: true;
147
+ _all?: true;
148
+ };
149
+ export type PropertyPaymentMethodPhaseAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
150
+ /**
151
+ * Filter which PropertyPaymentMethodPhase to aggregate.
152
+ */
153
+ where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
154
+ /**
155
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
156
+ *
157
+ * Determine the order of PropertyPaymentMethodPhases to fetch.
158
+ */
159
+ orderBy?: Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput | Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput[];
160
+ /**
161
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
162
+ *
163
+ * Sets the start position
164
+ */
165
+ cursor?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
166
+ /**
167
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
168
+ *
169
+ * Take `±n` PropertyPaymentMethodPhases from the position of the cursor.
170
+ */
171
+ take?: number;
172
+ /**
173
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
174
+ *
175
+ * Skip the first `n` PropertyPaymentMethodPhases.
176
+ */
177
+ skip?: number;
178
+ /**
179
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
180
+ *
181
+ * Count returned PropertyPaymentMethodPhases
182
+ **/
183
+ _count?: true | PropertyPaymentMethodPhaseCountAggregateInputType;
184
+ /**
185
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
186
+ *
187
+ * Select which fields to average
188
+ **/
189
+ _avg?: PropertyPaymentMethodPhaseAvgAggregateInputType;
190
+ /**
191
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
192
+ *
193
+ * Select which fields to sum
194
+ **/
195
+ _sum?: PropertyPaymentMethodPhaseSumAggregateInputType;
196
+ /**
197
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
198
+ *
199
+ * Select which fields to find the minimum value
200
+ **/
201
+ _min?: PropertyPaymentMethodPhaseMinAggregateInputType;
202
+ /**
203
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
204
+ *
205
+ * Select which fields to find the maximum value
206
+ **/
207
+ _max?: PropertyPaymentMethodPhaseMaxAggregateInputType;
208
+ };
209
+ export type GetPropertyPaymentMethodPhaseAggregateType<T extends PropertyPaymentMethodPhaseAggregateArgs> = {
210
+ [P in keyof T & keyof AggregatePropertyPaymentMethodPhase]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePropertyPaymentMethodPhase[P]> : Prisma.GetScalarType<T[P], AggregatePropertyPaymentMethodPhase[P]>;
211
+ };
212
+ export type PropertyPaymentMethodPhaseGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
213
+ where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
214
+ orderBy?: Prisma.PropertyPaymentMethodPhaseOrderByWithAggregationInput | Prisma.PropertyPaymentMethodPhaseOrderByWithAggregationInput[];
215
+ by: Prisma.PropertyPaymentMethodPhaseScalarFieldEnum[] | Prisma.PropertyPaymentMethodPhaseScalarFieldEnum;
216
+ having?: Prisma.PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput;
217
+ take?: number;
218
+ skip?: number;
219
+ _count?: PropertyPaymentMethodPhaseCountAggregateInputType | true;
220
+ _avg?: PropertyPaymentMethodPhaseAvgAggregateInputType;
221
+ _sum?: PropertyPaymentMethodPhaseSumAggregateInputType;
222
+ _min?: PropertyPaymentMethodPhaseMinAggregateInputType;
223
+ _max?: PropertyPaymentMethodPhaseMaxAggregateInputType;
224
+ };
225
+ export type PropertyPaymentMethodPhaseGroupByOutputType = {
226
+ id: string;
227
+ paymentMethodId: string;
228
+ paymentPlanId: string | null;
229
+ name: string;
230
+ description: string | null;
231
+ phaseCategory: string;
232
+ phaseType: string;
233
+ order: number;
234
+ interestRate: number | null;
235
+ percentOfPrice: number | null;
236
+ requiresPreviousPhaseCompletion: boolean;
237
+ minimumCompletionPercentage: number | null;
238
+ requiredDocumentTypes: string | null;
239
+ stepDefinitions: string | null;
240
+ createdAt: Date;
241
+ updatedAt: Date;
242
+ _count: PropertyPaymentMethodPhaseCountAggregateOutputType | null;
243
+ _avg: PropertyPaymentMethodPhaseAvgAggregateOutputType | null;
244
+ _sum: PropertyPaymentMethodPhaseSumAggregateOutputType | null;
245
+ _min: PropertyPaymentMethodPhaseMinAggregateOutputType | null;
246
+ _max: PropertyPaymentMethodPhaseMaxAggregateOutputType | null;
247
+ };
248
+ type GetPropertyPaymentMethodPhaseGroupByPayload<T extends PropertyPaymentMethodPhaseGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PropertyPaymentMethodPhaseGroupByOutputType, T['by']> & {
249
+ [P in ((keyof T) & (keyof PropertyPaymentMethodPhaseGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PropertyPaymentMethodPhaseGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PropertyPaymentMethodPhaseGroupByOutputType[P]>;
250
+ }>>;
251
+ export type PropertyPaymentMethodPhaseWhereInput = {
252
+ AND?: Prisma.PropertyPaymentMethodPhaseWhereInput | Prisma.PropertyPaymentMethodPhaseWhereInput[];
253
+ OR?: Prisma.PropertyPaymentMethodPhaseWhereInput[];
254
+ NOT?: Prisma.PropertyPaymentMethodPhaseWhereInput | Prisma.PropertyPaymentMethodPhaseWhereInput[];
255
+ id?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
256
+ paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
257
+ paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
258
+ name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
259
+ description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
260
+ phaseCategory?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
261
+ phaseType?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
262
+ order?: Prisma.IntFilter<"PropertyPaymentMethodPhase"> | number;
263
+ interestRate?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
264
+ percentOfPrice?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
265
+ requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
266
+ minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
267
+ requiredDocumentTypes?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
268
+ stepDefinitions?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
269
+ createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
270
+ updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
271
+ paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
272
+ paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
273
+ };
274
+ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
275
+ id?: Prisma.SortOrder;
276
+ paymentMethodId?: Prisma.SortOrder;
277
+ paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
278
+ name?: Prisma.SortOrder;
279
+ description?: Prisma.SortOrderInput | Prisma.SortOrder;
280
+ phaseCategory?: Prisma.SortOrder;
281
+ phaseType?: Prisma.SortOrder;
282
+ order?: Prisma.SortOrder;
283
+ interestRate?: Prisma.SortOrderInput | Prisma.SortOrder;
284
+ percentOfPrice?: Prisma.SortOrderInput | Prisma.SortOrder;
285
+ requiresPreviousPhaseCompletion?: Prisma.SortOrder;
286
+ minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
287
+ requiredDocumentTypes?: Prisma.SortOrderInput | Prisma.SortOrder;
288
+ stepDefinitions?: Prisma.SortOrderInput | Prisma.SortOrder;
289
+ createdAt?: Prisma.SortOrder;
290
+ updatedAt?: Prisma.SortOrder;
291
+ paymentMethod?: Prisma.PropertyPaymentMethodOrderByWithRelationInput;
292
+ paymentPlan?: Prisma.PaymentPlanOrderByWithRelationInput;
293
+ _relevance?: Prisma.PropertyPaymentMethodPhaseOrderByRelevanceInput;
294
+ };
295
+ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
296
+ id?: string;
297
+ AND?: Prisma.PropertyPaymentMethodPhaseWhereInput | Prisma.PropertyPaymentMethodPhaseWhereInput[];
298
+ OR?: Prisma.PropertyPaymentMethodPhaseWhereInput[];
299
+ NOT?: Prisma.PropertyPaymentMethodPhaseWhereInput | Prisma.PropertyPaymentMethodPhaseWhereInput[];
300
+ paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
301
+ paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
302
+ name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
303
+ description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
304
+ phaseCategory?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
305
+ phaseType?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
306
+ order?: Prisma.IntFilter<"PropertyPaymentMethodPhase"> | number;
307
+ interestRate?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
308
+ percentOfPrice?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
309
+ requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
310
+ minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
311
+ requiredDocumentTypes?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
312
+ stepDefinitions?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
313
+ createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
314
+ updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
315
+ paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
316
+ paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
317
+ }, "id">;
318
+ export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
319
+ id?: Prisma.SortOrder;
320
+ paymentMethodId?: Prisma.SortOrder;
321
+ paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
322
+ name?: Prisma.SortOrder;
323
+ description?: Prisma.SortOrderInput | Prisma.SortOrder;
324
+ phaseCategory?: Prisma.SortOrder;
325
+ phaseType?: Prisma.SortOrder;
326
+ order?: Prisma.SortOrder;
327
+ interestRate?: Prisma.SortOrderInput | Prisma.SortOrder;
328
+ percentOfPrice?: Prisma.SortOrderInput | Prisma.SortOrder;
329
+ requiresPreviousPhaseCompletion?: Prisma.SortOrder;
330
+ minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
331
+ requiredDocumentTypes?: Prisma.SortOrderInput | Prisma.SortOrder;
332
+ stepDefinitions?: Prisma.SortOrderInput | Prisma.SortOrder;
333
+ createdAt?: Prisma.SortOrder;
334
+ updatedAt?: Prisma.SortOrder;
335
+ _count?: Prisma.PropertyPaymentMethodPhaseCountOrderByAggregateInput;
336
+ _avg?: Prisma.PropertyPaymentMethodPhaseAvgOrderByAggregateInput;
337
+ _max?: Prisma.PropertyPaymentMethodPhaseMaxOrderByAggregateInput;
338
+ _min?: Prisma.PropertyPaymentMethodPhaseMinOrderByAggregateInput;
339
+ _sum?: Prisma.PropertyPaymentMethodPhaseSumOrderByAggregateInput;
340
+ };
341
+ export type PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput = {
342
+ AND?: Prisma.PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput | Prisma.PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput[];
343
+ OR?: Prisma.PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput[];
344
+ NOT?: Prisma.PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput | Prisma.PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput[];
345
+ id?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
346
+ paymentMethodId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
347
+ paymentPlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
348
+ name?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
349
+ description?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
350
+ phaseCategory?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
351
+ phaseType?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
352
+ order?: Prisma.IntWithAggregatesFilter<"PropertyPaymentMethodPhase"> | number;
353
+ interestRate?: Prisma.FloatNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | number | null;
354
+ percentOfPrice?: Prisma.FloatNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | number | null;
355
+ requiresPreviousPhaseCompletion?: Prisma.BoolWithAggregatesFilter<"PropertyPaymentMethodPhase"> | boolean;
356
+ minimumCompletionPercentage?: Prisma.FloatNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | number | null;
357
+ requiredDocumentTypes?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
358
+ stepDefinitions?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
359
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyPaymentMethodPhase"> | Date | string;
360
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyPaymentMethodPhase"> | Date | string;
361
+ };
362
+ export type PropertyPaymentMethodPhaseCreateInput = {
363
+ id?: string;
364
+ name: string;
365
+ description?: string | null;
366
+ phaseCategory: string;
367
+ phaseType: string;
368
+ order: number;
369
+ interestRate?: number | null;
370
+ percentOfPrice?: number | null;
371
+ requiresPreviousPhaseCompletion?: boolean;
372
+ minimumCompletionPercentage?: number | null;
373
+ requiredDocumentTypes?: string | null;
374
+ stepDefinitions?: string | null;
375
+ createdAt?: Date | string;
376
+ updatedAt?: Date | string;
377
+ paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
378
+ paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
379
+ };
380
+ export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
381
+ id?: string;
382
+ paymentMethodId: string;
383
+ paymentPlanId?: string | null;
384
+ name: string;
385
+ description?: string | null;
386
+ phaseCategory: string;
387
+ phaseType: string;
388
+ order: number;
389
+ interestRate?: number | null;
390
+ percentOfPrice?: number | null;
391
+ requiresPreviousPhaseCompletion?: boolean;
392
+ minimumCompletionPercentage?: number | null;
393
+ requiredDocumentTypes?: string | null;
394
+ stepDefinitions?: string | null;
395
+ createdAt?: Date | string;
396
+ updatedAt?: Date | string;
397
+ };
398
+ export type PropertyPaymentMethodPhaseUpdateInput = {
399
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
400
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
401
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
402
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
403
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
404
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
405
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
406
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
407
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
408
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
409
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
410
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
411
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
412
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
413
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
414
+ paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
415
+ };
416
+ export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
417
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
418
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
419
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
420
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
421
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
422
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
423
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
424
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
425
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
426
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
427
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
428
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
429
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
430
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
431
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
432
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
433
+ };
434
+ export type PropertyPaymentMethodPhaseCreateManyInput = {
435
+ id?: string;
436
+ paymentMethodId: string;
437
+ paymentPlanId?: string | null;
438
+ name: string;
439
+ description?: string | null;
440
+ phaseCategory: string;
441
+ phaseType: string;
442
+ order: number;
443
+ interestRate?: number | null;
444
+ percentOfPrice?: number | null;
445
+ requiresPreviousPhaseCompletion?: boolean;
446
+ minimumCompletionPercentage?: number | null;
447
+ requiredDocumentTypes?: string | null;
448
+ stepDefinitions?: string | null;
449
+ createdAt?: Date | string;
450
+ updatedAt?: Date | string;
451
+ };
452
+ export type PropertyPaymentMethodPhaseUpdateManyMutationInput = {
453
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
454
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
455
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
456
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
457
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
458
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
459
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
460
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
461
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
462
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
463
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
464
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
465
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
466
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
467
+ };
468
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyInput = {
469
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
470
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
471
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
472
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
473
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
474
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
475
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
476
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
477
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
478
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
479
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
480
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
481
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
482
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
483
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
484
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
485
+ };
486
+ export type PropertyPaymentMethodPhaseListRelationFilter = {
487
+ every?: Prisma.PropertyPaymentMethodPhaseWhereInput;
488
+ some?: Prisma.PropertyPaymentMethodPhaseWhereInput;
489
+ none?: Prisma.PropertyPaymentMethodPhaseWhereInput;
490
+ };
491
+ export type PropertyPaymentMethodPhaseOrderByRelationAggregateInput = {
492
+ _count?: Prisma.SortOrder;
493
+ };
494
+ export type PropertyPaymentMethodPhaseOrderByRelevanceInput = {
495
+ fields: Prisma.PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum | Prisma.PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum[];
496
+ sort: Prisma.SortOrder;
497
+ search: string;
498
+ };
499
+ export type PropertyPaymentMethodPhaseCountOrderByAggregateInput = {
500
+ id?: Prisma.SortOrder;
501
+ paymentMethodId?: Prisma.SortOrder;
502
+ paymentPlanId?: Prisma.SortOrder;
503
+ name?: Prisma.SortOrder;
504
+ description?: Prisma.SortOrder;
505
+ phaseCategory?: Prisma.SortOrder;
506
+ phaseType?: Prisma.SortOrder;
507
+ order?: Prisma.SortOrder;
508
+ interestRate?: Prisma.SortOrder;
509
+ percentOfPrice?: Prisma.SortOrder;
510
+ requiresPreviousPhaseCompletion?: Prisma.SortOrder;
511
+ minimumCompletionPercentage?: Prisma.SortOrder;
512
+ requiredDocumentTypes?: Prisma.SortOrder;
513
+ stepDefinitions?: Prisma.SortOrder;
514
+ createdAt?: Prisma.SortOrder;
515
+ updatedAt?: Prisma.SortOrder;
516
+ };
517
+ export type PropertyPaymentMethodPhaseAvgOrderByAggregateInput = {
518
+ order?: Prisma.SortOrder;
519
+ interestRate?: Prisma.SortOrder;
520
+ percentOfPrice?: Prisma.SortOrder;
521
+ minimumCompletionPercentage?: Prisma.SortOrder;
522
+ };
523
+ export type PropertyPaymentMethodPhaseMaxOrderByAggregateInput = {
524
+ id?: Prisma.SortOrder;
525
+ paymentMethodId?: Prisma.SortOrder;
526
+ paymentPlanId?: Prisma.SortOrder;
527
+ name?: Prisma.SortOrder;
528
+ description?: Prisma.SortOrder;
529
+ phaseCategory?: Prisma.SortOrder;
530
+ phaseType?: Prisma.SortOrder;
531
+ order?: Prisma.SortOrder;
532
+ interestRate?: Prisma.SortOrder;
533
+ percentOfPrice?: Prisma.SortOrder;
534
+ requiresPreviousPhaseCompletion?: Prisma.SortOrder;
535
+ minimumCompletionPercentage?: Prisma.SortOrder;
536
+ requiredDocumentTypes?: Prisma.SortOrder;
537
+ stepDefinitions?: Prisma.SortOrder;
538
+ createdAt?: Prisma.SortOrder;
539
+ updatedAt?: Prisma.SortOrder;
540
+ };
541
+ export type PropertyPaymentMethodPhaseMinOrderByAggregateInput = {
542
+ id?: Prisma.SortOrder;
543
+ paymentMethodId?: Prisma.SortOrder;
544
+ paymentPlanId?: Prisma.SortOrder;
545
+ name?: Prisma.SortOrder;
546
+ description?: Prisma.SortOrder;
547
+ phaseCategory?: Prisma.SortOrder;
548
+ phaseType?: Prisma.SortOrder;
549
+ order?: Prisma.SortOrder;
550
+ interestRate?: Prisma.SortOrder;
551
+ percentOfPrice?: Prisma.SortOrder;
552
+ requiresPreviousPhaseCompletion?: Prisma.SortOrder;
553
+ minimumCompletionPercentage?: Prisma.SortOrder;
554
+ requiredDocumentTypes?: Prisma.SortOrder;
555
+ stepDefinitions?: Prisma.SortOrder;
556
+ createdAt?: Prisma.SortOrder;
557
+ updatedAt?: Prisma.SortOrder;
558
+ };
559
+ export type PropertyPaymentMethodPhaseSumOrderByAggregateInput = {
560
+ order?: Prisma.SortOrder;
561
+ interestRate?: Prisma.SortOrder;
562
+ percentOfPrice?: Prisma.SortOrder;
563
+ minimumCompletionPercentage?: Prisma.SortOrder;
564
+ };
565
+ export type PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentPlanInput = {
566
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput[];
567
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput[];
568
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInputEnvelope;
569
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
570
+ };
571
+ export type PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentPlanInput = {
572
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput[];
573
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput[];
574
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInputEnvelope;
575
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
576
+ };
577
+ export type PropertyPaymentMethodPhaseUpdateManyWithoutPaymentPlanNestedInput = {
578
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput[];
579
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput[];
580
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput[];
581
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInputEnvelope;
582
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
583
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
584
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
585
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
586
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput[];
587
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentPlanInput[];
588
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
589
+ };
590
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanNestedInput = {
591
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput[];
592
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput[];
593
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput[];
594
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInputEnvelope;
595
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
596
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
597
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
598
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
599
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput[];
600
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentPlanInput[];
601
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
602
+ };
603
+ export type PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput = {
604
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput[];
605
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput[];
606
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentMethodInputEnvelope;
607
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
608
+ };
609
+ export type PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput = {
610
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput[];
611
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput[];
612
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentMethodInputEnvelope;
613
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
614
+ };
615
+ export type PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput = {
616
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput[];
617
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput[];
618
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentMethodInput[];
619
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentMethodInputEnvelope;
620
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
621
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
622
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
623
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
624
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentMethodInput[];
625
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentMethodInput[];
626
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
627
+ };
628
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput = {
629
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput[];
630
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput[];
631
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentMethodInput[];
632
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentMethodInputEnvelope;
633
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
634
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
635
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
636
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
637
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentMethodInput[];
638
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentMethodInput[];
639
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
640
+ };
641
+ export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
642
+ id?: string;
643
+ name: string;
644
+ description?: string | null;
645
+ phaseCategory: string;
646
+ phaseType: string;
647
+ order: number;
648
+ interestRate?: number | null;
649
+ percentOfPrice?: number | null;
650
+ requiresPreviousPhaseCompletion?: boolean;
651
+ minimumCompletionPercentage?: number | null;
652
+ requiredDocumentTypes?: string | null;
653
+ stepDefinitions?: string | null;
654
+ createdAt?: Date | string;
655
+ updatedAt?: Date | string;
656
+ paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
657
+ };
658
+ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
659
+ id?: string;
660
+ paymentMethodId: string;
661
+ name: string;
662
+ description?: string | null;
663
+ phaseCategory: string;
664
+ phaseType: string;
665
+ order: number;
666
+ interestRate?: number | null;
667
+ percentOfPrice?: number | null;
668
+ requiresPreviousPhaseCompletion?: boolean;
669
+ minimumCompletionPercentage?: number | null;
670
+ requiredDocumentTypes?: string | null;
671
+ stepDefinitions?: string | null;
672
+ createdAt?: Date | string;
673
+ updatedAt?: Date | string;
674
+ };
675
+ export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput = {
676
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
677
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput>;
678
+ };
679
+ export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInputEnvelope = {
680
+ data: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateManyPaymentPlanInput[];
681
+ skipDuplicates?: boolean;
682
+ };
683
+ export type PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentPlanInput = {
684
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
685
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput>;
686
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput>;
687
+ };
688
+ export type PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentPlanInput = {
689
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
690
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput>;
691
+ };
692
+ export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentPlanInput = {
693
+ where: Prisma.PropertyPaymentMethodPhaseScalarWhereInput;
694
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput>;
695
+ };
696
+ export type PropertyPaymentMethodPhaseScalarWhereInput = {
697
+ AND?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
698
+ OR?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
699
+ NOT?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
700
+ id?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
701
+ paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
702
+ paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
703
+ name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
704
+ description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
705
+ phaseCategory?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
706
+ phaseType?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
707
+ order?: Prisma.IntFilter<"PropertyPaymentMethodPhase"> | number;
708
+ interestRate?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
709
+ percentOfPrice?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
710
+ requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
711
+ minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
712
+ requiredDocumentTypes?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
713
+ stepDefinitions?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
714
+ createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
715
+ updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
716
+ };
717
+ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
718
+ id?: string;
719
+ name: string;
720
+ description?: string | null;
721
+ phaseCategory: string;
722
+ phaseType: string;
723
+ order: number;
724
+ interestRate?: number | null;
725
+ percentOfPrice?: number | null;
726
+ requiresPreviousPhaseCompletion?: boolean;
727
+ minimumCompletionPercentage?: number | null;
728
+ requiredDocumentTypes?: string | null;
729
+ stepDefinitions?: string | null;
730
+ createdAt?: Date | string;
731
+ updatedAt?: Date | string;
732
+ paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
733
+ };
734
+ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput = {
735
+ id?: string;
736
+ paymentPlanId?: string | null;
737
+ name: string;
738
+ description?: string | null;
739
+ phaseCategory: string;
740
+ phaseType: string;
741
+ order: number;
742
+ interestRate?: number | null;
743
+ percentOfPrice?: number | null;
744
+ requiresPreviousPhaseCompletion?: boolean;
745
+ minimumCompletionPercentage?: number | null;
746
+ requiredDocumentTypes?: string | null;
747
+ stepDefinitions?: string | null;
748
+ createdAt?: Date | string;
749
+ updatedAt?: Date | string;
750
+ };
751
+ export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput = {
752
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
753
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput>;
754
+ };
755
+ export type PropertyPaymentMethodPhaseCreateManyPaymentMethodInputEnvelope = {
756
+ data: Prisma.PropertyPaymentMethodPhaseCreateManyPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseCreateManyPaymentMethodInput[];
757
+ skipDuplicates?: boolean;
758
+ };
759
+ export type PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutPaymentMethodInput = {
760
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
761
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput>;
762
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput>;
763
+ };
764
+ export type PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutPaymentMethodInput = {
765
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
766
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput>;
767
+ };
768
+ export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentMethodInput = {
769
+ where: Prisma.PropertyPaymentMethodPhaseScalarWhereInput;
770
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInput>;
771
+ };
772
+ export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInput = {
773
+ id?: string;
774
+ paymentMethodId: string;
775
+ name: string;
776
+ description?: string | null;
777
+ phaseCategory: string;
778
+ phaseType: string;
779
+ order: number;
780
+ interestRate?: number | null;
781
+ percentOfPrice?: number | null;
782
+ requiresPreviousPhaseCompletion?: boolean;
783
+ minimumCompletionPercentage?: number | null;
784
+ requiredDocumentTypes?: string | null;
785
+ stepDefinitions?: string | null;
786
+ createdAt?: Date | string;
787
+ updatedAt?: Date | string;
788
+ };
789
+ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
790
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
791
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
792
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
793
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
794
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
795
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
796
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
797
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
798
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
799
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
800
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
801
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
802
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
803
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
804
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
805
+ };
806
+ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
807
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
808
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
809
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
810
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
811
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
812
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
813
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
814
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
815
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
816
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
817
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
818
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
819
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
820
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
821
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
822
+ };
823
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput = {
824
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
825
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
826
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
827
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
828
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
829
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
830
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
831
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
832
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
833
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
834
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
835
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
836
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
837
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
838
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
839
+ };
840
+ export type PropertyPaymentMethodPhaseCreateManyPaymentMethodInput = {
841
+ id?: string;
842
+ paymentPlanId?: string | null;
843
+ name: string;
844
+ description?: string | null;
845
+ phaseCategory: string;
846
+ phaseType: string;
847
+ order: number;
848
+ interestRate?: number | null;
849
+ percentOfPrice?: number | null;
850
+ requiresPreviousPhaseCompletion?: boolean;
851
+ minimumCompletionPercentage?: number | null;
852
+ requiredDocumentTypes?: string | null;
853
+ stepDefinitions?: string | null;
854
+ createdAt?: Date | string;
855
+ updatedAt?: Date | string;
856
+ };
857
+ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
858
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
859
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
860
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
861
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
862
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
863
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
864
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
865
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
866
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
867
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
868
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
869
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
870
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
871
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
872
+ paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
873
+ };
874
+ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput = {
875
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
876
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
877
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
878
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
879
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
880
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
881
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
882
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
883
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
884
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
885
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
886
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
887
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
888
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
889
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
890
+ };
891
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInput = {
892
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
893
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
894
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
895
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
896
+ phaseCategory?: Prisma.StringFieldUpdateOperationsInput | string;
897
+ phaseType?: Prisma.StringFieldUpdateOperationsInput | string;
898
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
899
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
900
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
901
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
902
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
903
+ requiredDocumentTypes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
904
+ stepDefinitions?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
905
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
906
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
907
+ };
908
+ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
909
+ id?: boolean;
910
+ paymentMethodId?: boolean;
911
+ paymentPlanId?: boolean;
912
+ name?: boolean;
913
+ description?: boolean;
914
+ phaseCategory?: boolean;
915
+ phaseType?: boolean;
916
+ order?: boolean;
917
+ interestRate?: boolean;
918
+ percentOfPrice?: boolean;
919
+ requiresPreviousPhaseCompletion?: boolean;
920
+ minimumCompletionPercentage?: boolean;
921
+ requiredDocumentTypes?: boolean;
922
+ stepDefinitions?: boolean;
923
+ createdAt?: boolean;
924
+ updatedAt?: boolean;
925
+ paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
926
+ paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
927
+ }, ExtArgs["result"]["propertyPaymentMethodPhase"]>;
928
+ export type PropertyPaymentMethodPhaseSelectScalar = {
929
+ id?: boolean;
930
+ paymentMethodId?: boolean;
931
+ paymentPlanId?: boolean;
932
+ name?: boolean;
933
+ description?: boolean;
934
+ phaseCategory?: boolean;
935
+ phaseType?: boolean;
936
+ order?: boolean;
937
+ interestRate?: boolean;
938
+ percentOfPrice?: boolean;
939
+ requiresPreviousPhaseCompletion?: boolean;
940
+ minimumCompletionPercentage?: boolean;
941
+ requiredDocumentTypes?: boolean;
942
+ stepDefinitions?: boolean;
943
+ createdAt?: boolean;
944
+ updatedAt?: boolean;
945
+ };
946
+ export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "paymentMethodId" | "paymentPlanId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "interestRate" | "percentOfPrice" | "requiresPreviousPhaseCompletion" | "minimumCompletionPercentage" | "requiredDocumentTypes" | "stepDefinitions" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethodPhase"]>;
947
+ export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
948
+ paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
949
+ paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
950
+ };
951
+ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
952
+ name: "PropertyPaymentMethodPhase";
953
+ objects: {
954
+ paymentMethod: Prisma.$PropertyPaymentMethodPayload<ExtArgs>;
955
+ paymentPlan: Prisma.$PaymentPlanPayload<ExtArgs> | null;
956
+ };
957
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
958
+ id: string;
959
+ paymentMethodId: string;
960
+ paymentPlanId: string | null;
961
+ name: string;
962
+ description: string | null;
963
+ phaseCategory: string;
964
+ phaseType: string;
965
+ order: number;
966
+ interestRate: number | null;
967
+ percentOfPrice: number | null;
968
+ requiresPreviousPhaseCompletion: boolean;
969
+ minimumCompletionPercentage: number | null;
970
+ requiredDocumentTypes: string | null;
971
+ stepDefinitions: string | null;
972
+ createdAt: Date;
973
+ updatedAt: Date;
974
+ }, ExtArgs["result"]["propertyPaymentMethodPhase"]>;
975
+ composites: {};
976
+ };
977
+ export type PropertyPaymentMethodPhaseGetPayload<S extends boolean | null | undefined | PropertyPaymentMethodPhaseDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload, S>;
978
+ export type PropertyPaymentMethodPhaseCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PropertyPaymentMethodPhaseFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
979
+ select?: PropertyPaymentMethodPhaseCountAggregateInputType | true;
980
+ };
981
+ export interface PropertyPaymentMethodPhaseDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
982
+ [K: symbol]: {
983
+ types: Prisma.TypeMap<ExtArgs>['model']['PropertyPaymentMethodPhase'];
984
+ meta: {
985
+ name: 'PropertyPaymentMethodPhase';
986
+ };
987
+ };
988
+ /**
989
+ * Find zero or one PropertyPaymentMethodPhase that matches the filter.
990
+ * @param {PropertyPaymentMethodPhaseFindUniqueArgs} args - Arguments to find a PropertyPaymentMethodPhase
991
+ * @example
992
+ * // Get one PropertyPaymentMethodPhase
993
+ * const propertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.findUnique({
994
+ * where: {
995
+ * // ... provide filter here
996
+ * }
997
+ * })
998
+ */
999
+ findUnique<T extends PropertyPaymentMethodPhaseFindUniqueArgs>(args: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1000
+ /**
1001
+ * Find one PropertyPaymentMethodPhase that matches the filter or throw an error with `error.code='P2025'`
1002
+ * if no matches were found.
1003
+ * @param {PropertyPaymentMethodPhaseFindUniqueOrThrowArgs} args - Arguments to find a PropertyPaymentMethodPhase
1004
+ * @example
1005
+ * // Get one PropertyPaymentMethodPhase
1006
+ * const propertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.findUniqueOrThrow({
1007
+ * where: {
1008
+ * // ... provide filter here
1009
+ * }
1010
+ * })
1011
+ */
1012
+ findUniqueOrThrow<T extends PropertyPaymentMethodPhaseFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1013
+ /**
1014
+ * Find the first PropertyPaymentMethodPhase that matches the filter.
1015
+ * Note, that providing `undefined` is treated as the value not being there.
1016
+ * Read more here: https://pris.ly/d/null-undefined
1017
+ * @param {PropertyPaymentMethodPhaseFindFirstArgs} args - Arguments to find a PropertyPaymentMethodPhase
1018
+ * @example
1019
+ * // Get one PropertyPaymentMethodPhase
1020
+ * const propertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.findFirst({
1021
+ * where: {
1022
+ * // ... provide filter here
1023
+ * }
1024
+ * })
1025
+ */
1026
+ findFirst<T extends PropertyPaymentMethodPhaseFindFirstArgs>(args?: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseFindFirstArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1027
+ /**
1028
+ * Find the first PropertyPaymentMethodPhase that matches the filter or
1029
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1030
+ * Note, that providing `undefined` is treated as the value not being there.
1031
+ * Read more here: https://pris.ly/d/null-undefined
1032
+ * @param {PropertyPaymentMethodPhaseFindFirstOrThrowArgs} args - Arguments to find a PropertyPaymentMethodPhase
1033
+ * @example
1034
+ * // Get one PropertyPaymentMethodPhase
1035
+ * const propertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.findFirstOrThrow({
1036
+ * where: {
1037
+ * // ... provide filter here
1038
+ * }
1039
+ * })
1040
+ */
1041
+ findFirstOrThrow<T extends PropertyPaymentMethodPhaseFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1042
+ /**
1043
+ * Find zero or more PropertyPaymentMethodPhases that matches the filter.
1044
+ * Note, that providing `undefined` is treated as the value not being there.
1045
+ * Read more here: https://pris.ly/d/null-undefined
1046
+ * @param {PropertyPaymentMethodPhaseFindManyArgs} args - Arguments to filter and select certain fields only.
1047
+ * @example
1048
+ * // Get all PropertyPaymentMethodPhases
1049
+ * const propertyPaymentMethodPhases = await prisma.propertyPaymentMethodPhase.findMany()
1050
+ *
1051
+ * // Get first 10 PropertyPaymentMethodPhases
1052
+ * const propertyPaymentMethodPhases = await prisma.propertyPaymentMethodPhase.findMany({ take: 10 })
1053
+ *
1054
+ * // Only select the `id`
1055
+ * const propertyPaymentMethodPhaseWithIdOnly = await prisma.propertyPaymentMethodPhase.findMany({ select: { id: true } })
1056
+ *
1057
+ */
1058
+ findMany<T extends PropertyPaymentMethodPhaseFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1059
+ /**
1060
+ * Create a PropertyPaymentMethodPhase.
1061
+ * @param {PropertyPaymentMethodPhaseCreateArgs} args - Arguments to create a PropertyPaymentMethodPhase.
1062
+ * @example
1063
+ * // Create one PropertyPaymentMethodPhase
1064
+ * const PropertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.create({
1065
+ * data: {
1066
+ * // ... data to create a PropertyPaymentMethodPhase
1067
+ * }
1068
+ * })
1069
+ *
1070
+ */
1071
+ create<T extends PropertyPaymentMethodPhaseCreateArgs>(args: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseCreateArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1072
+ /**
1073
+ * Create many PropertyPaymentMethodPhases.
1074
+ * @param {PropertyPaymentMethodPhaseCreateManyArgs} args - Arguments to create many PropertyPaymentMethodPhases.
1075
+ * @example
1076
+ * // Create many PropertyPaymentMethodPhases
1077
+ * const propertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.createMany({
1078
+ * data: [
1079
+ * // ... provide data here
1080
+ * ]
1081
+ * })
1082
+ *
1083
+ */
1084
+ createMany<T extends PropertyPaymentMethodPhaseCreateManyArgs>(args?: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1085
+ /**
1086
+ * Delete a PropertyPaymentMethodPhase.
1087
+ * @param {PropertyPaymentMethodPhaseDeleteArgs} args - Arguments to delete one PropertyPaymentMethodPhase.
1088
+ * @example
1089
+ * // Delete one PropertyPaymentMethodPhase
1090
+ * const PropertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.delete({
1091
+ * where: {
1092
+ * // ... filter to delete one PropertyPaymentMethodPhase
1093
+ * }
1094
+ * })
1095
+ *
1096
+ */
1097
+ delete<T extends PropertyPaymentMethodPhaseDeleteArgs>(args: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseDeleteArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1098
+ /**
1099
+ * Update one PropertyPaymentMethodPhase.
1100
+ * @param {PropertyPaymentMethodPhaseUpdateArgs} args - Arguments to update one PropertyPaymentMethodPhase.
1101
+ * @example
1102
+ * // Update one PropertyPaymentMethodPhase
1103
+ * const propertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.update({
1104
+ * where: {
1105
+ * // ... provide filter here
1106
+ * },
1107
+ * data: {
1108
+ * // ... provide data here
1109
+ * }
1110
+ * })
1111
+ *
1112
+ */
1113
+ update<T extends PropertyPaymentMethodPhaseUpdateArgs>(args: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseUpdateArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1114
+ /**
1115
+ * Delete zero or more PropertyPaymentMethodPhases.
1116
+ * @param {PropertyPaymentMethodPhaseDeleteManyArgs} args - Arguments to filter PropertyPaymentMethodPhases to delete.
1117
+ * @example
1118
+ * // Delete a few PropertyPaymentMethodPhases
1119
+ * const { count } = await prisma.propertyPaymentMethodPhase.deleteMany({
1120
+ * where: {
1121
+ * // ... provide filter here
1122
+ * }
1123
+ * })
1124
+ *
1125
+ */
1126
+ deleteMany<T extends PropertyPaymentMethodPhaseDeleteManyArgs>(args?: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1127
+ /**
1128
+ * Update zero or more PropertyPaymentMethodPhases.
1129
+ * Note, that providing `undefined` is treated as the value not being there.
1130
+ * Read more here: https://pris.ly/d/null-undefined
1131
+ * @param {PropertyPaymentMethodPhaseUpdateManyArgs} args - Arguments to update one or more rows.
1132
+ * @example
1133
+ * // Update many PropertyPaymentMethodPhases
1134
+ * const propertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.updateMany({
1135
+ * where: {
1136
+ * // ... provide filter here
1137
+ * },
1138
+ * data: {
1139
+ * // ... provide data here
1140
+ * }
1141
+ * })
1142
+ *
1143
+ */
1144
+ updateMany<T extends PropertyPaymentMethodPhaseUpdateManyArgs>(args: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1145
+ /**
1146
+ * Create or update one PropertyPaymentMethodPhase.
1147
+ * @param {PropertyPaymentMethodPhaseUpsertArgs} args - Arguments to update or create a PropertyPaymentMethodPhase.
1148
+ * @example
1149
+ * // Update or create a PropertyPaymentMethodPhase
1150
+ * const propertyPaymentMethodPhase = await prisma.propertyPaymentMethodPhase.upsert({
1151
+ * create: {
1152
+ * // ... data to create a PropertyPaymentMethodPhase
1153
+ * },
1154
+ * update: {
1155
+ * // ... in case it already exists, update
1156
+ * },
1157
+ * where: {
1158
+ * // ... the filter for the PropertyPaymentMethodPhase we want to update
1159
+ * }
1160
+ * })
1161
+ */
1162
+ upsert<T extends PropertyPaymentMethodPhaseUpsertArgs>(args: Prisma.SelectSubset<T, PropertyPaymentMethodPhaseUpsertArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1163
+ /**
1164
+ * Count the number of PropertyPaymentMethodPhases.
1165
+ * Note, that providing `undefined` is treated as the value not being there.
1166
+ * Read more here: https://pris.ly/d/null-undefined
1167
+ * @param {PropertyPaymentMethodPhaseCountArgs} args - Arguments to filter PropertyPaymentMethodPhases to count.
1168
+ * @example
1169
+ * // Count the number of PropertyPaymentMethodPhases
1170
+ * const count = await prisma.propertyPaymentMethodPhase.count({
1171
+ * where: {
1172
+ * // ... the filter for the PropertyPaymentMethodPhases we want to count
1173
+ * }
1174
+ * })
1175
+ **/
1176
+ count<T extends PropertyPaymentMethodPhaseCountArgs>(args?: Prisma.Subset<T, PropertyPaymentMethodPhaseCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PropertyPaymentMethodPhaseCountAggregateOutputType> : number>;
1177
+ /**
1178
+ * Allows you to perform aggregations operations on a PropertyPaymentMethodPhase.
1179
+ * Note, that providing `undefined` is treated as the value not being there.
1180
+ * Read more here: https://pris.ly/d/null-undefined
1181
+ * @param {PropertyPaymentMethodPhaseAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1182
+ * @example
1183
+ * // Ordered by age ascending
1184
+ * // Where email contains prisma.io
1185
+ * // Limited to the 10 users
1186
+ * const aggregations = await prisma.user.aggregate({
1187
+ * _avg: {
1188
+ * age: true,
1189
+ * },
1190
+ * where: {
1191
+ * email: {
1192
+ * contains: "prisma.io",
1193
+ * },
1194
+ * },
1195
+ * orderBy: {
1196
+ * age: "asc",
1197
+ * },
1198
+ * take: 10,
1199
+ * })
1200
+ **/
1201
+ aggregate<T extends PropertyPaymentMethodPhaseAggregateArgs>(args: Prisma.Subset<T, PropertyPaymentMethodPhaseAggregateArgs>): Prisma.PrismaPromise<GetPropertyPaymentMethodPhaseAggregateType<T>>;
1202
+ /**
1203
+ * Group by PropertyPaymentMethodPhase.
1204
+ * Note, that providing `undefined` is treated as the value not being there.
1205
+ * Read more here: https://pris.ly/d/null-undefined
1206
+ * @param {PropertyPaymentMethodPhaseGroupByArgs} args - Group by arguments.
1207
+ * @example
1208
+ * // Group by city, order by createdAt, get count
1209
+ * const result = await prisma.user.groupBy({
1210
+ * by: ['city', 'createdAt'],
1211
+ * orderBy: {
1212
+ * createdAt: true
1213
+ * },
1214
+ * _count: {
1215
+ * _all: true
1216
+ * },
1217
+ * })
1218
+ *
1219
+ **/
1220
+ groupBy<T extends PropertyPaymentMethodPhaseGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1221
+ orderBy: PropertyPaymentMethodPhaseGroupByArgs['orderBy'];
1222
+ } : {
1223
+ orderBy?: PropertyPaymentMethodPhaseGroupByArgs['orderBy'];
1224
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
1225
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1226
+ Error,
1227
+ 'Field ',
1228
+ P,
1229
+ ` in "having" needs to be provided in "by"`
1230
+ ];
1231
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1232
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1233
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1234
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1235
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1236
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1237
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, PropertyPaymentMethodPhaseGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPropertyPaymentMethodPhaseGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1238
+ /**
1239
+ * Fields of the PropertyPaymentMethodPhase model
1240
+ */
1241
+ readonly fields: PropertyPaymentMethodPhaseFieldRefs;
1242
+ }
1243
+ /**
1244
+ * The delegate class that acts as a "Promise-like" for PropertyPaymentMethodPhase.
1245
+ * Why is this prefixed with `Prisma__`?
1246
+ * Because we want to prevent naming conflicts as mentioned in
1247
+ * https://github.com/prisma/prisma-client-js/issues/707
1248
+ */
1249
+ export interface Prisma__PropertyPaymentMethodPhaseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1250
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1251
+ paymentMethod<T extends Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1252
+ paymentPlan<T extends Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1253
+ /**
1254
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1255
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1256
+ * @param onrejected The callback to execute when the Promise is rejected.
1257
+ * @returns A Promise for the completion of which ever callback is executed.
1258
+ */
1259
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
1260
+ /**
1261
+ * Attaches a callback for only the rejection of the Promise.
1262
+ * @param onrejected The callback to execute when the Promise is rejected.
1263
+ * @returns A Promise for the completion of the callback.
1264
+ */
1265
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1266
+ /**
1267
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1268
+ * resolved value cannot be modified from the callback.
1269
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1270
+ * @returns A Promise for the completion of the callback.
1271
+ */
1272
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1273
+ }
1274
+ /**
1275
+ * Fields of the PropertyPaymentMethodPhase model
1276
+ */
1277
+ export interface PropertyPaymentMethodPhaseFieldRefs {
1278
+ readonly id: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1279
+ readonly paymentMethodId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1280
+ readonly paymentPlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1281
+ readonly name: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1282
+ readonly description: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1283
+ readonly phaseCategory: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1284
+ readonly phaseType: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1285
+ readonly order: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Int'>;
1286
+ readonly interestRate: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Float'>;
1287
+ readonly percentOfPrice: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Float'>;
1288
+ readonly requiresPreviousPhaseCompletion: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Boolean'>;
1289
+ readonly minimumCompletionPercentage: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Float'>;
1290
+ readonly requiredDocumentTypes: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1291
+ readonly stepDefinitions: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
1292
+ readonly createdAt: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'DateTime'>;
1293
+ readonly updatedAt: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'DateTime'>;
1294
+ }
1295
+ /**
1296
+ * PropertyPaymentMethodPhase findUnique
1297
+ */
1298
+ export type PropertyPaymentMethodPhaseFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1299
+ /**
1300
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1301
+ */
1302
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1303
+ /**
1304
+ * Omit specific fields from the PropertyPaymentMethodPhase
1305
+ */
1306
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1307
+ /**
1308
+ * Choose, which related nodes to fetch as well
1309
+ */
1310
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1311
+ /**
1312
+ * Filter, which PropertyPaymentMethodPhase to fetch.
1313
+ */
1314
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1315
+ };
1316
+ /**
1317
+ * PropertyPaymentMethodPhase findUniqueOrThrow
1318
+ */
1319
+ export type PropertyPaymentMethodPhaseFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1320
+ /**
1321
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1322
+ */
1323
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1324
+ /**
1325
+ * Omit specific fields from the PropertyPaymentMethodPhase
1326
+ */
1327
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1328
+ /**
1329
+ * Choose, which related nodes to fetch as well
1330
+ */
1331
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1332
+ /**
1333
+ * Filter, which PropertyPaymentMethodPhase to fetch.
1334
+ */
1335
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1336
+ };
1337
+ /**
1338
+ * PropertyPaymentMethodPhase findFirst
1339
+ */
1340
+ export type PropertyPaymentMethodPhaseFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1341
+ /**
1342
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1343
+ */
1344
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1345
+ /**
1346
+ * Omit specific fields from the PropertyPaymentMethodPhase
1347
+ */
1348
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1349
+ /**
1350
+ * Choose, which related nodes to fetch as well
1351
+ */
1352
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1353
+ /**
1354
+ * Filter, which PropertyPaymentMethodPhase to fetch.
1355
+ */
1356
+ where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
1357
+ /**
1358
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1359
+ *
1360
+ * Determine the order of PropertyPaymentMethodPhases to fetch.
1361
+ */
1362
+ orderBy?: Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput | Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput[];
1363
+ /**
1364
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1365
+ *
1366
+ * Sets the position for searching for PropertyPaymentMethodPhases.
1367
+ */
1368
+ cursor?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1369
+ /**
1370
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1371
+ *
1372
+ * Take `±n` PropertyPaymentMethodPhases from the position of the cursor.
1373
+ */
1374
+ take?: number;
1375
+ /**
1376
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1377
+ *
1378
+ * Skip the first `n` PropertyPaymentMethodPhases.
1379
+ */
1380
+ skip?: number;
1381
+ /**
1382
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1383
+ *
1384
+ * Filter by unique combinations of PropertyPaymentMethodPhases.
1385
+ */
1386
+ distinct?: Prisma.PropertyPaymentMethodPhaseScalarFieldEnum | Prisma.PropertyPaymentMethodPhaseScalarFieldEnum[];
1387
+ };
1388
+ /**
1389
+ * PropertyPaymentMethodPhase findFirstOrThrow
1390
+ */
1391
+ export type PropertyPaymentMethodPhaseFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1392
+ /**
1393
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1394
+ */
1395
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1396
+ /**
1397
+ * Omit specific fields from the PropertyPaymentMethodPhase
1398
+ */
1399
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1400
+ /**
1401
+ * Choose, which related nodes to fetch as well
1402
+ */
1403
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1404
+ /**
1405
+ * Filter, which PropertyPaymentMethodPhase to fetch.
1406
+ */
1407
+ where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
1408
+ /**
1409
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1410
+ *
1411
+ * Determine the order of PropertyPaymentMethodPhases to fetch.
1412
+ */
1413
+ orderBy?: Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput | Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput[];
1414
+ /**
1415
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1416
+ *
1417
+ * Sets the position for searching for PropertyPaymentMethodPhases.
1418
+ */
1419
+ cursor?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1420
+ /**
1421
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1422
+ *
1423
+ * Take `±n` PropertyPaymentMethodPhases from the position of the cursor.
1424
+ */
1425
+ take?: number;
1426
+ /**
1427
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1428
+ *
1429
+ * Skip the first `n` PropertyPaymentMethodPhases.
1430
+ */
1431
+ skip?: number;
1432
+ /**
1433
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1434
+ *
1435
+ * Filter by unique combinations of PropertyPaymentMethodPhases.
1436
+ */
1437
+ distinct?: Prisma.PropertyPaymentMethodPhaseScalarFieldEnum | Prisma.PropertyPaymentMethodPhaseScalarFieldEnum[];
1438
+ };
1439
+ /**
1440
+ * PropertyPaymentMethodPhase findMany
1441
+ */
1442
+ export type PropertyPaymentMethodPhaseFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1443
+ /**
1444
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1445
+ */
1446
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1447
+ /**
1448
+ * Omit specific fields from the PropertyPaymentMethodPhase
1449
+ */
1450
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1451
+ /**
1452
+ * Choose, which related nodes to fetch as well
1453
+ */
1454
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1455
+ /**
1456
+ * Filter, which PropertyPaymentMethodPhases to fetch.
1457
+ */
1458
+ where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
1459
+ /**
1460
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1461
+ *
1462
+ * Determine the order of PropertyPaymentMethodPhases to fetch.
1463
+ */
1464
+ orderBy?: Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput | Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput[];
1465
+ /**
1466
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1467
+ *
1468
+ * Sets the position for listing PropertyPaymentMethodPhases.
1469
+ */
1470
+ cursor?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1471
+ /**
1472
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1473
+ *
1474
+ * Take `±n` PropertyPaymentMethodPhases from the position of the cursor.
1475
+ */
1476
+ take?: number;
1477
+ /**
1478
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1479
+ *
1480
+ * Skip the first `n` PropertyPaymentMethodPhases.
1481
+ */
1482
+ skip?: number;
1483
+ distinct?: Prisma.PropertyPaymentMethodPhaseScalarFieldEnum | Prisma.PropertyPaymentMethodPhaseScalarFieldEnum[];
1484
+ };
1485
+ /**
1486
+ * PropertyPaymentMethodPhase create
1487
+ */
1488
+ export type PropertyPaymentMethodPhaseCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1489
+ /**
1490
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1491
+ */
1492
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1493
+ /**
1494
+ * Omit specific fields from the PropertyPaymentMethodPhase
1495
+ */
1496
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1497
+ /**
1498
+ * Choose, which related nodes to fetch as well
1499
+ */
1500
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1501
+ /**
1502
+ * The data needed to create a PropertyPaymentMethodPhase.
1503
+ */
1504
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateInput>;
1505
+ };
1506
+ /**
1507
+ * PropertyPaymentMethodPhase createMany
1508
+ */
1509
+ export type PropertyPaymentMethodPhaseCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1510
+ /**
1511
+ * The data used to create many PropertyPaymentMethodPhases.
1512
+ */
1513
+ data: Prisma.PropertyPaymentMethodPhaseCreateManyInput | Prisma.PropertyPaymentMethodPhaseCreateManyInput[];
1514
+ skipDuplicates?: boolean;
1515
+ };
1516
+ /**
1517
+ * PropertyPaymentMethodPhase update
1518
+ */
1519
+ export type PropertyPaymentMethodPhaseUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1520
+ /**
1521
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1522
+ */
1523
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1524
+ /**
1525
+ * Omit specific fields from the PropertyPaymentMethodPhase
1526
+ */
1527
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1528
+ /**
1529
+ * Choose, which related nodes to fetch as well
1530
+ */
1531
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1532
+ /**
1533
+ * The data needed to update a PropertyPaymentMethodPhase.
1534
+ */
1535
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateInput>;
1536
+ /**
1537
+ * Choose, which PropertyPaymentMethodPhase to update.
1538
+ */
1539
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1540
+ };
1541
+ /**
1542
+ * PropertyPaymentMethodPhase updateMany
1543
+ */
1544
+ export type PropertyPaymentMethodPhaseUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1545
+ /**
1546
+ * The data used to update PropertyPaymentMethodPhases.
1547
+ */
1548
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyInput>;
1549
+ /**
1550
+ * Filter which PropertyPaymentMethodPhases to update
1551
+ */
1552
+ where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
1553
+ /**
1554
+ * Limit how many PropertyPaymentMethodPhases to update.
1555
+ */
1556
+ limit?: number;
1557
+ };
1558
+ /**
1559
+ * PropertyPaymentMethodPhase upsert
1560
+ */
1561
+ export type PropertyPaymentMethodPhaseUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1562
+ /**
1563
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1564
+ */
1565
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1566
+ /**
1567
+ * Omit specific fields from the PropertyPaymentMethodPhase
1568
+ */
1569
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1570
+ /**
1571
+ * Choose, which related nodes to fetch as well
1572
+ */
1573
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1574
+ /**
1575
+ * The filter to search for the PropertyPaymentMethodPhase to update in case it exists.
1576
+ */
1577
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1578
+ /**
1579
+ * In case the PropertyPaymentMethodPhase found by the `where` argument doesn't exist, create a new PropertyPaymentMethodPhase with this data.
1580
+ */
1581
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateInput>;
1582
+ /**
1583
+ * In case the PropertyPaymentMethodPhase was found with the provided `where` argument, update it with this data.
1584
+ */
1585
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateInput>;
1586
+ };
1587
+ /**
1588
+ * PropertyPaymentMethodPhase delete
1589
+ */
1590
+ export type PropertyPaymentMethodPhaseDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1591
+ /**
1592
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1593
+ */
1594
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1595
+ /**
1596
+ * Omit specific fields from the PropertyPaymentMethodPhase
1597
+ */
1598
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1599
+ /**
1600
+ * Choose, which related nodes to fetch as well
1601
+ */
1602
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1603
+ /**
1604
+ * Filter which PropertyPaymentMethodPhase to delete.
1605
+ */
1606
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1607
+ };
1608
+ /**
1609
+ * PropertyPaymentMethodPhase deleteMany
1610
+ */
1611
+ export type PropertyPaymentMethodPhaseDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1612
+ /**
1613
+ * Filter which PropertyPaymentMethodPhases to delete
1614
+ */
1615
+ where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
1616
+ /**
1617
+ * Limit how many PropertyPaymentMethodPhases to delete.
1618
+ */
1619
+ limit?: number;
1620
+ };
1621
+ /**
1622
+ * PropertyPaymentMethodPhase.paymentPlan
1623
+ */
1624
+ export type PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1625
+ /**
1626
+ * Select specific fields to fetch from the PaymentPlan
1627
+ */
1628
+ select?: Prisma.PaymentPlanSelect<ExtArgs> | null;
1629
+ /**
1630
+ * Omit specific fields from the PaymentPlan
1631
+ */
1632
+ omit?: Prisma.PaymentPlanOmit<ExtArgs> | null;
1633
+ /**
1634
+ * Choose, which related nodes to fetch as well
1635
+ */
1636
+ include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
1637
+ where?: Prisma.PaymentPlanWhereInput;
1638
+ };
1639
+ /**
1640
+ * PropertyPaymentMethodPhase without action
1641
+ */
1642
+ export type PropertyPaymentMethodPhaseDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1643
+ /**
1644
+ * Select specific fields to fetch from the PropertyPaymentMethodPhase
1645
+ */
1646
+ select?: Prisma.PropertyPaymentMethodPhaseSelect<ExtArgs> | null;
1647
+ /**
1648
+ * Omit specific fields from the PropertyPaymentMethodPhase
1649
+ */
1650
+ omit?: Prisma.PropertyPaymentMethodPhaseOmit<ExtArgs> | null;
1651
+ /**
1652
+ * Choose, which related nodes to fetch as well
1653
+ */
1654
+ include?: Prisma.PropertyPaymentMethodPhaseInclude<ExtArgs> | null;
1655
+ };
1656
+ export {};