@valentine-efagene/qshelter-common 2.0.21 → 2.0.22

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