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