@valentine-efagene/qshelter-common 2.0.29 → 2.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/browser.d.ts +15 -0
- package/dist/generated/client/client.d.ts +15 -0
- package/dist/generated/client/commonInputTypes.d.ts +408 -48
- package/dist/generated/client/enums.d.ts +92 -0
- package/dist/generated/client/enums.js +80 -0
- package/dist/generated/client/internal/class.d.ts +33 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +330 -36
- package/dist/generated/client/internal/prismaNamespace.js +76 -37
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +80 -35
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +76 -37
- package/dist/generated/client/models/Contract.d.ts +152 -148
- package/dist/generated/client/models/ContractDocument.d.ts +32 -28
- package/dist/generated/client/models/ContractInstallment.d.ts +30 -26
- package/dist/generated/client/models/ContractPayment.d.ts +44 -40
- package/dist/generated/client/models/ContractPhase.d.ts +539 -121
- package/dist/generated/client/models/ContractPhaseStep.d.ts +208 -108
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +32 -28
- package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +1052 -0
- package/dist/generated/client/models/ContractPhaseStepDocument.js +1 -0
- package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +1216 -0
- package/dist/generated/client/models/PaymentMethodPhaseDocument.js +1 -0
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +1187 -0
- package/dist/generated/client/models/PaymentMethodPhaseStep.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +34 -30
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +504 -135
- package/dist/generated/client/models/index.d.ts +3 -0
- package/dist/generated/client/models/index.js +3 -0
- package/dist/generated/client/models.d.ts +3 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +195 -30
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
2
3
|
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
4
|
/**
|
|
4
5
|
* Model PropertyPaymentMethodPhase
|
|
@@ -30,15 +31,14 @@ export type PropertyPaymentMethodPhaseMinAggregateOutputType = {
|
|
|
30
31
|
paymentPlanId: string | null;
|
|
31
32
|
name: string | null;
|
|
32
33
|
description: string | null;
|
|
33
|
-
phaseCategory:
|
|
34
|
-
phaseType:
|
|
34
|
+
phaseCategory: $Enums.PhaseCategory | null;
|
|
35
|
+
phaseType: $Enums.PhaseType | null;
|
|
35
36
|
order: number | null;
|
|
36
37
|
interestRate: number | null;
|
|
37
38
|
percentOfPrice: number | null;
|
|
38
39
|
requiresPreviousPhaseCompletion: boolean | null;
|
|
39
40
|
minimumCompletionPercentage: number | null;
|
|
40
|
-
|
|
41
|
-
stepDefinitions: string | null;
|
|
41
|
+
completionCriterion: $Enums.CompletionCriterion | null;
|
|
42
42
|
createdAt: Date | null;
|
|
43
43
|
updatedAt: Date | null;
|
|
44
44
|
};
|
|
@@ -48,15 +48,14 @@ export type PropertyPaymentMethodPhaseMaxAggregateOutputType = {
|
|
|
48
48
|
paymentPlanId: string | null;
|
|
49
49
|
name: string | null;
|
|
50
50
|
description: string | null;
|
|
51
|
-
phaseCategory:
|
|
52
|
-
phaseType:
|
|
51
|
+
phaseCategory: $Enums.PhaseCategory | null;
|
|
52
|
+
phaseType: $Enums.PhaseType | null;
|
|
53
53
|
order: number | null;
|
|
54
54
|
interestRate: number | null;
|
|
55
55
|
percentOfPrice: number | null;
|
|
56
56
|
requiresPreviousPhaseCompletion: boolean | null;
|
|
57
57
|
minimumCompletionPercentage: number | null;
|
|
58
|
-
|
|
59
|
-
stepDefinitions: string | null;
|
|
58
|
+
completionCriterion: $Enums.CompletionCriterion | null;
|
|
60
59
|
createdAt: Date | null;
|
|
61
60
|
updatedAt: Date | null;
|
|
62
61
|
};
|
|
@@ -73,8 +72,9 @@ export type PropertyPaymentMethodPhaseCountAggregateOutputType = {
|
|
|
73
72
|
percentOfPrice: number;
|
|
74
73
|
requiresPreviousPhaseCompletion: number;
|
|
75
74
|
minimumCompletionPercentage: number;
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
completionCriterion: number;
|
|
76
|
+
stepDefinitionsSnapshot: number;
|
|
77
|
+
requiredDocumentSnapshot: number;
|
|
78
78
|
createdAt: number;
|
|
79
79
|
updatedAt: number;
|
|
80
80
|
_all: number;
|
|
@@ -104,8 +104,7 @@ export type PropertyPaymentMethodPhaseMinAggregateInputType = {
|
|
|
104
104
|
percentOfPrice?: true;
|
|
105
105
|
requiresPreviousPhaseCompletion?: true;
|
|
106
106
|
minimumCompletionPercentage?: true;
|
|
107
|
-
|
|
108
|
-
stepDefinitions?: true;
|
|
107
|
+
completionCriterion?: true;
|
|
109
108
|
createdAt?: true;
|
|
110
109
|
updatedAt?: true;
|
|
111
110
|
};
|
|
@@ -122,8 +121,7 @@ export type PropertyPaymentMethodPhaseMaxAggregateInputType = {
|
|
|
122
121
|
percentOfPrice?: true;
|
|
123
122
|
requiresPreviousPhaseCompletion?: true;
|
|
124
123
|
minimumCompletionPercentage?: true;
|
|
125
|
-
|
|
126
|
-
stepDefinitions?: true;
|
|
124
|
+
completionCriterion?: true;
|
|
127
125
|
createdAt?: true;
|
|
128
126
|
updatedAt?: true;
|
|
129
127
|
};
|
|
@@ -140,8 +138,9 @@ export type PropertyPaymentMethodPhaseCountAggregateInputType = {
|
|
|
140
138
|
percentOfPrice?: true;
|
|
141
139
|
requiresPreviousPhaseCompletion?: true;
|
|
142
140
|
minimumCompletionPercentage?: true;
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
completionCriterion?: true;
|
|
142
|
+
stepDefinitionsSnapshot?: true;
|
|
143
|
+
requiredDocumentSnapshot?: true;
|
|
145
144
|
createdAt?: true;
|
|
146
145
|
updatedAt?: true;
|
|
147
146
|
_all?: true;
|
|
@@ -228,15 +227,16 @@ export type PropertyPaymentMethodPhaseGroupByOutputType = {
|
|
|
228
227
|
paymentPlanId: string | null;
|
|
229
228
|
name: string;
|
|
230
229
|
description: string | null;
|
|
231
|
-
phaseCategory:
|
|
232
|
-
phaseType:
|
|
230
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
231
|
+
phaseType: $Enums.PhaseType;
|
|
233
232
|
order: number;
|
|
234
233
|
interestRate: number | null;
|
|
235
234
|
percentOfPrice: number | null;
|
|
236
235
|
requiresPreviousPhaseCompletion: boolean;
|
|
237
236
|
minimumCompletionPercentage: number | null;
|
|
238
|
-
|
|
239
|
-
|
|
237
|
+
completionCriterion: $Enums.CompletionCriterion | null;
|
|
238
|
+
stepDefinitionsSnapshot: runtime.JsonValue | null;
|
|
239
|
+
requiredDocumentSnapshot: runtime.JsonValue | null;
|
|
240
240
|
createdAt: Date;
|
|
241
241
|
updatedAt: Date;
|
|
242
242
|
_count: PropertyPaymentMethodPhaseCountAggregateOutputType | null;
|
|
@@ -257,19 +257,22 @@ export type PropertyPaymentMethodPhaseWhereInput = {
|
|
|
257
257
|
paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
|
|
258
258
|
name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
|
|
259
259
|
description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
|
|
260
|
-
phaseCategory?: Prisma.
|
|
261
|
-
phaseType?: Prisma.
|
|
260
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
|
|
261
|
+
phaseType?: Prisma.EnumPhaseTypeFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseType;
|
|
262
262
|
order?: Prisma.IntFilter<"PropertyPaymentMethodPhase"> | number;
|
|
263
263
|
interestRate?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
264
264
|
percentOfPrice?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
265
265
|
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
266
266
|
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"PropertyPaymentMethodPhase"> | $Enums.CompletionCriterion | null;
|
|
268
|
+
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
269
|
+
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
269
270
|
createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
270
271
|
updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
271
272
|
paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
|
|
272
273
|
paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
|
|
274
|
+
steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
|
|
275
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
|
|
273
276
|
};
|
|
274
277
|
export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
|
|
275
278
|
id?: Prisma.SortOrder;
|
|
@@ -284,12 +287,15 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
|
|
|
284
287
|
percentOfPrice?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
285
288
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
286
289
|
minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
287
|
-
|
|
288
|
-
|
|
290
|
+
completionCriterion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
291
|
+
stepDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
292
|
+
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
289
293
|
createdAt?: Prisma.SortOrder;
|
|
290
294
|
updatedAt?: Prisma.SortOrder;
|
|
291
295
|
paymentMethod?: Prisma.PropertyPaymentMethodOrderByWithRelationInput;
|
|
292
296
|
paymentPlan?: Prisma.PaymentPlanOrderByWithRelationInput;
|
|
297
|
+
steps?: Prisma.PaymentMethodPhaseStepOrderByRelationAggregateInput;
|
|
298
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentOrderByRelationAggregateInput;
|
|
293
299
|
_relevance?: Prisma.PropertyPaymentMethodPhaseOrderByRelevanceInput;
|
|
294
300
|
};
|
|
295
301
|
export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -301,19 +307,22 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
301
307
|
paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
|
|
302
308
|
name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
|
|
303
309
|
description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
|
|
304
|
-
phaseCategory?: Prisma.
|
|
305
|
-
phaseType?: Prisma.
|
|
310
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
|
|
311
|
+
phaseType?: Prisma.EnumPhaseTypeFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseType;
|
|
306
312
|
order?: Prisma.IntFilter<"PropertyPaymentMethodPhase"> | number;
|
|
307
313
|
interestRate?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
308
314
|
percentOfPrice?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
309
315
|
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
310
316
|
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
311
|
-
|
|
312
|
-
|
|
317
|
+
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"PropertyPaymentMethodPhase"> | $Enums.CompletionCriterion | null;
|
|
318
|
+
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
319
|
+
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
313
320
|
createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
314
321
|
updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
315
322
|
paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
|
|
316
323
|
paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
|
|
324
|
+
steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
|
|
325
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
|
|
317
326
|
}, "id">;
|
|
318
327
|
export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
|
|
319
328
|
id?: Prisma.SortOrder;
|
|
@@ -328,8 +337,9 @@ export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
|
|
|
328
337
|
percentOfPrice?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
329
338
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
330
339
|
minimumCompletionPercentage?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
331
|
-
|
|
332
|
-
|
|
340
|
+
completionCriterion?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
341
|
+
stepDefinitionsSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
342
|
+
requiredDocumentSnapshot?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
333
343
|
createdAt?: Prisma.SortOrder;
|
|
334
344
|
updatedAt?: Prisma.SortOrder;
|
|
335
345
|
_count?: Prisma.PropertyPaymentMethodPhaseCountOrderByAggregateInput;
|
|
@@ -347,15 +357,16 @@ export type PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput = {
|
|
|
347
357
|
paymentPlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
|
|
348
358
|
name?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
|
|
349
359
|
description?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
|
|
350
|
-
phaseCategory?: Prisma.
|
|
351
|
-
phaseType?: Prisma.
|
|
360
|
+
phaseCategory?: Prisma.EnumPhaseCategoryWithAggregatesFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
|
|
361
|
+
phaseType?: Prisma.EnumPhaseTypeWithAggregatesFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseType;
|
|
352
362
|
order?: Prisma.IntWithAggregatesFilter<"PropertyPaymentMethodPhase"> | number;
|
|
353
363
|
interestRate?: Prisma.FloatNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
354
364
|
percentOfPrice?: Prisma.FloatNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
355
365
|
requiresPreviousPhaseCompletion?: Prisma.BoolWithAggregatesFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
356
366
|
minimumCompletionPercentage?: Prisma.FloatNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
357
|
-
|
|
358
|
-
|
|
367
|
+
completionCriterion?: Prisma.EnumCompletionCriterionNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | $Enums.CompletionCriterion | null;
|
|
368
|
+
stepDefinitionsSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"PropertyPaymentMethodPhase">;
|
|
369
|
+
requiredDocumentSnapshot?: Prisma.JsonNullableWithAggregatesFilter<"PropertyPaymentMethodPhase">;
|
|
359
370
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
360
371
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
361
372
|
};
|
|
@@ -363,19 +374,22 @@ export type PropertyPaymentMethodPhaseCreateInput = {
|
|
|
363
374
|
id?: string;
|
|
364
375
|
name: string;
|
|
365
376
|
description?: string | null;
|
|
366
|
-
phaseCategory:
|
|
367
|
-
phaseType:
|
|
377
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
378
|
+
phaseType: $Enums.PhaseType;
|
|
368
379
|
order: number;
|
|
369
380
|
interestRate?: number | null;
|
|
370
381
|
percentOfPrice?: number | null;
|
|
371
382
|
requiresPreviousPhaseCompletion?: boolean;
|
|
372
383
|
minimumCompletionPercentage?: number | null;
|
|
373
|
-
|
|
374
|
-
|
|
384
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
385
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
386
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
375
387
|
createdAt?: Date | string;
|
|
376
388
|
updatedAt?: Date | string;
|
|
377
389
|
paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
|
|
378
390
|
paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
|
|
391
|
+
steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
|
|
392
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
379
393
|
};
|
|
380
394
|
export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
|
|
381
395
|
id?: string;
|
|
@@ -383,35 +397,41 @@ export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
|
|
|
383
397
|
paymentPlanId?: string | null;
|
|
384
398
|
name: string;
|
|
385
399
|
description?: string | null;
|
|
386
|
-
phaseCategory:
|
|
387
|
-
phaseType:
|
|
400
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
401
|
+
phaseType: $Enums.PhaseType;
|
|
388
402
|
order: number;
|
|
389
403
|
interestRate?: number | null;
|
|
390
404
|
percentOfPrice?: number | null;
|
|
391
405
|
requiresPreviousPhaseCompletion?: boolean;
|
|
392
406
|
minimumCompletionPercentage?: number | null;
|
|
393
|
-
|
|
394
|
-
|
|
407
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
408
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
409
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
395
410
|
createdAt?: Date | string;
|
|
396
411
|
updatedAt?: Date | string;
|
|
412
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
|
|
413
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
397
414
|
};
|
|
398
415
|
export type PropertyPaymentMethodPhaseUpdateInput = {
|
|
399
416
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
417
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
401
418
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
402
|
-
phaseCategory?: Prisma.
|
|
403
|
-
phaseType?: Prisma.
|
|
419
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
420
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
404
421
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
405
422
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
406
423
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
407
424
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
408
425
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
409
|
-
|
|
410
|
-
|
|
426
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
427
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
428
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
411
429
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
412
430
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
413
431
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
|
|
414
432
|
paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
|
|
433
|
+
steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
|
|
434
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
415
435
|
};
|
|
416
436
|
export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
|
|
417
437
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -419,17 +439,20 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
|
|
|
419
439
|
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
420
440
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
421
441
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
422
|
-
phaseCategory?: Prisma.
|
|
423
|
-
phaseType?: Prisma.
|
|
442
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
443
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
424
444
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
425
445
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
426
446
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
427
447
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
428
448
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
429
|
-
|
|
430
|
-
|
|
449
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
450
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
451
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
431
452
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
432
453
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
454
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
455
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
433
456
|
};
|
|
434
457
|
export type PropertyPaymentMethodPhaseCreateManyInput = {
|
|
435
458
|
id?: string;
|
|
@@ -437,15 +460,16 @@ export type PropertyPaymentMethodPhaseCreateManyInput = {
|
|
|
437
460
|
paymentPlanId?: string | null;
|
|
438
461
|
name: string;
|
|
439
462
|
description?: string | null;
|
|
440
|
-
phaseCategory:
|
|
441
|
-
phaseType:
|
|
463
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
464
|
+
phaseType: $Enums.PhaseType;
|
|
442
465
|
order: number;
|
|
443
466
|
interestRate?: number | null;
|
|
444
467
|
percentOfPrice?: number | null;
|
|
445
468
|
requiresPreviousPhaseCompletion?: boolean;
|
|
446
469
|
minimumCompletionPercentage?: number | null;
|
|
447
|
-
|
|
448
|
-
|
|
470
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
471
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
472
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
449
473
|
createdAt?: Date | string;
|
|
450
474
|
updatedAt?: Date | string;
|
|
451
475
|
};
|
|
@@ -453,15 +477,16 @@ export type PropertyPaymentMethodPhaseUpdateManyMutationInput = {
|
|
|
453
477
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
454
478
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
455
479
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
456
|
-
phaseCategory?: Prisma.
|
|
457
|
-
phaseType?: Prisma.
|
|
480
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
481
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
458
482
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
459
483
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
460
484
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
461
485
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
462
486
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
463
|
-
|
|
464
|
-
|
|
487
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
488
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
489
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
465
490
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
466
491
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
467
492
|
};
|
|
@@ -471,15 +496,16 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyInput = {
|
|
|
471
496
|
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
472
497
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
473
498
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
474
|
-
phaseCategory?: Prisma.
|
|
475
|
-
phaseType?: Prisma.
|
|
499
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
500
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
476
501
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
477
502
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
478
503
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
479
504
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
480
505
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
481
|
-
|
|
482
|
-
|
|
506
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
507
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
508
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
483
509
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
484
510
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
485
511
|
};
|
|
@@ -509,8 +535,9 @@ export type PropertyPaymentMethodPhaseCountOrderByAggregateInput = {
|
|
|
509
535
|
percentOfPrice?: Prisma.SortOrder;
|
|
510
536
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
511
537
|
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
512
|
-
|
|
513
|
-
|
|
538
|
+
completionCriterion?: Prisma.SortOrder;
|
|
539
|
+
stepDefinitionsSnapshot?: Prisma.SortOrder;
|
|
540
|
+
requiredDocumentSnapshot?: Prisma.SortOrder;
|
|
514
541
|
createdAt?: Prisma.SortOrder;
|
|
515
542
|
updatedAt?: Prisma.SortOrder;
|
|
516
543
|
};
|
|
@@ -533,8 +560,7 @@ export type PropertyPaymentMethodPhaseMaxOrderByAggregateInput = {
|
|
|
533
560
|
percentOfPrice?: Prisma.SortOrder;
|
|
534
561
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
535
562
|
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
536
|
-
|
|
537
|
-
stepDefinitions?: Prisma.SortOrder;
|
|
563
|
+
completionCriterion?: Prisma.SortOrder;
|
|
538
564
|
createdAt?: Prisma.SortOrder;
|
|
539
565
|
updatedAt?: Prisma.SortOrder;
|
|
540
566
|
};
|
|
@@ -551,8 +577,7 @@ export type PropertyPaymentMethodPhaseMinOrderByAggregateInput = {
|
|
|
551
577
|
percentOfPrice?: Prisma.SortOrder;
|
|
552
578
|
requiresPreviousPhaseCompletion?: Prisma.SortOrder;
|
|
553
579
|
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
554
|
-
|
|
555
|
-
stepDefinitions?: Prisma.SortOrder;
|
|
580
|
+
completionCriterion?: Prisma.SortOrder;
|
|
556
581
|
createdAt?: Prisma.SortOrder;
|
|
557
582
|
updatedAt?: Prisma.SortOrder;
|
|
558
583
|
};
|
|
@@ -562,6 +587,10 @@ export type PropertyPaymentMethodPhaseSumOrderByAggregateInput = {
|
|
|
562
587
|
percentOfPrice?: Prisma.SortOrder;
|
|
563
588
|
minimumCompletionPercentage?: Prisma.SortOrder;
|
|
564
589
|
};
|
|
590
|
+
export type PropertyPaymentMethodPhaseScalarRelationFilter = {
|
|
591
|
+
is?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
592
|
+
isNot?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
593
|
+
};
|
|
565
594
|
export type PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentPlanInput = {
|
|
566
595
|
create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput[];
|
|
567
596
|
connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput[];
|
|
@@ -638,39 +667,78 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNes
|
|
|
638
667
|
updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentMethodInput[];
|
|
639
668
|
deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
|
|
640
669
|
};
|
|
670
|
+
export type EnumPhaseCategoryFieldUpdateOperationsInput = {
|
|
671
|
+
set?: $Enums.PhaseCategory;
|
|
672
|
+
};
|
|
673
|
+
export type EnumPhaseTypeFieldUpdateOperationsInput = {
|
|
674
|
+
set?: $Enums.PhaseType;
|
|
675
|
+
};
|
|
676
|
+
export type NullableEnumCompletionCriterionFieldUpdateOperationsInput = {
|
|
677
|
+
set?: $Enums.CompletionCriterion | null;
|
|
678
|
+
};
|
|
679
|
+
export type PropertyPaymentMethodPhaseCreateNestedOneWithoutStepsInput = {
|
|
680
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutStepsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput>;
|
|
681
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutStepsInput;
|
|
682
|
+
connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
683
|
+
};
|
|
684
|
+
export type PropertyPaymentMethodPhaseUpdateOneRequiredWithoutStepsNestedInput = {
|
|
685
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutStepsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput>;
|
|
686
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutStepsInput;
|
|
687
|
+
upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithoutStepsInput;
|
|
688
|
+
connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
689
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutStepsInput, Prisma.PropertyPaymentMethodPhaseUpdateWithoutStepsInput>, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput>;
|
|
690
|
+
};
|
|
691
|
+
export type PropertyPaymentMethodPhaseCreateNestedOneWithoutRequiredDocumentsInput = {
|
|
692
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInput>;
|
|
693
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutRequiredDocumentsInput;
|
|
694
|
+
connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
695
|
+
};
|
|
696
|
+
export type PropertyPaymentMethodPhaseUpdateOneRequiredWithoutRequiredDocumentsNestedInput = {
|
|
697
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInput>;
|
|
698
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutRequiredDocumentsInput;
|
|
699
|
+
upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithoutRequiredDocumentsInput;
|
|
700
|
+
connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
701
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutRequiredDocumentsInput, Prisma.PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput>, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInput>;
|
|
702
|
+
};
|
|
641
703
|
export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
|
|
642
704
|
id?: string;
|
|
643
705
|
name: string;
|
|
644
706
|
description?: string | null;
|
|
645
|
-
phaseCategory:
|
|
646
|
-
phaseType:
|
|
707
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
708
|
+
phaseType: $Enums.PhaseType;
|
|
647
709
|
order: number;
|
|
648
710
|
interestRate?: number | null;
|
|
649
711
|
percentOfPrice?: number | null;
|
|
650
712
|
requiresPreviousPhaseCompletion?: boolean;
|
|
651
713
|
minimumCompletionPercentage?: number | null;
|
|
652
|
-
|
|
653
|
-
|
|
714
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
715
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
716
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
654
717
|
createdAt?: Date | string;
|
|
655
718
|
updatedAt?: Date | string;
|
|
656
719
|
paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
|
|
720
|
+
steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
|
|
721
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
657
722
|
};
|
|
658
723
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
|
|
659
724
|
id?: string;
|
|
660
725
|
paymentMethodId: string;
|
|
661
726
|
name: string;
|
|
662
727
|
description?: string | null;
|
|
663
|
-
phaseCategory:
|
|
664
|
-
phaseType:
|
|
728
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
729
|
+
phaseType: $Enums.PhaseType;
|
|
665
730
|
order: number;
|
|
666
731
|
interestRate?: number | null;
|
|
667
732
|
percentOfPrice?: number | null;
|
|
668
733
|
requiresPreviousPhaseCompletion?: boolean;
|
|
669
734
|
minimumCompletionPercentage?: number | null;
|
|
670
|
-
|
|
671
|
-
|
|
735
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
736
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
737
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
672
738
|
createdAt?: Date | string;
|
|
673
739
|
updatedAt?: Date | string;
|
|
740
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
|
|
741
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
674
742
|
};
|
|
675
743
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput = {
|
|
676
744
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -702,15 +770,16 @@ export type PropertyPaymentMethodPhaseScalarWhereInput = {
|
|
|
702
770
|
paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
|
|
703
771
|
name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
|
|
704
772
|
description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
|
|
705
|
-
phaseCategory?: Prisma.
|
|
706
|
-
phaseType?: Prisma.
|
|
773
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
|
|
774
|
+
phaseType?: Prisma.EnumPhaseTypeFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseType;
|
|
707
775
|
order?: Prisma.IntFilter<"PropertyPaymentMethodPhase"> | number;
|
|
708
776
|
interestRate?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
709
777
|
percentOfPrice?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
710
778
|
requiresPreviousPhaseCompletion?: Prisma.BoolFilter<"PropertyPaymentMethodPhase"> | boolean;
|
|
711
779
|
minimumCompletionPercentage?: Prisma.FloatNullableFilter<"PropertyPaymentMethodPhase"> | number | null;
|
|
712
|
-
|
|
713
|
-
|
|
780
|
+
completionCriterion?: Prisma.EnumCompletionCriterionNullableFilter<"PropertyPaymentMethodPhase"> | $Enums.CompletionCriterion | null;
|
|
781
|
+
stepDefinitionsSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
782
|
+
requiredDocumentSnapshot?: Prisma.JsonNullableFilter<"PropertyPaymentMethodPhase">;
|
|
714
783
|
createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
715
784
|
updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
|
|
716
785
|
};
|
|
@@ -718,35 +787,41 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
|
|
|
718
787
|
id?: string;
|
|
719
788
|
name: string;
|
|
720
789
|
description?: string | null;
|
|
721
|
-
phaseCategory:
|
|
722
|
-
phaseType:
|
|
790
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
791
|
+
phaseType: $Enums.PhaseType;
|
|
723
792
|
order: number;
|
|
724
793
|
interestRate?: number | null;
|
|
725
794
|
percentOfPrice?: number | null;
|
|
726
795
|
requiresPreviousPhaseCompletion?: boolean;
|
|
727
796
|
minimumCompletionPercentage?: number | null;
|
|
728
|
-
|
|
729
|
-
|
|
797
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
798
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
799
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
730
800
|
createdAt?: Date | string;
|
|
731
801
|
updatedAt?: Date | string;
|
|
732
802
|
paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
|
|
803
|
+
steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
|
|
804
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
733
805
|
};
|
|
734
806
|
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput = {
|
|
735
807
|
id?: string;
|
|
736
808
|
paymentPlanId?: string | null;
|
|
737
809
|
name: string;
|
|
738
810
|
description?: string | null;
|
|
739
|
-
phaseCategory:
|
|
740
|
-
phaseType:
|
|
811
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
812
|
+
phaseType: $Enums.PhaseType;
|
|
741
813
|
order: number;
|
|
742
814
|
interestRate?: number | null;
|
|
743
815
|
percentOfPrice?: number | null;
|
|
744
816
|
requiresPreviousPhaseCompletion?: boolean;
|
|
745
817
|
minimumCompletionPercentage?: number | null;
|
|
746
|
-
|
|
747
|
-
|
|
818
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
819
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
820
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
748
821
|
createdAt?: Date | string;
|
|
749
822
|
updatedAt?: Date | string;
|
|
823
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
|
|
824
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
750
825
|
};
|
|
751
826
|
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentMethodInput = {
|
|
752
827
|
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
@@ -769,20 +844,207 @@ export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutPaymentMethodInp
|
|
|
769
844
|
where: Prisma.PropertyPaymentMethodPhaseScalarWhereInput;
|
|
770
845
|
data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInput>;
|
|
771
846
|
};
|
|
847
|
+
export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
|
|
848
|
+
id?: string;
|
|
849
|
+
name: string;
|
|
850
|
+
description?: string | null;
|
|
851
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
852
|
+
phaseType: $Enums.PhaseType;
|
|
853
|
+
order: number;
|
|
854
|
+
interestRate?: number | null;
|
|
855
|
+
percentOfPrice?: number | null;
|
|
856
|
+
requiresPreviousPhaseCompletion?: boolean;
|
|
857
|
+
minimumCompletionPercentage?: number | null;
|
|
858
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
859
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
860
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
861
|
+
createdAt?: Date | string;
|
|
862
|
+
updatedAt?: Date | string;
|
|
863
|
+
paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
|
|
864
|
+
paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
|
|
865
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
|
|
866
|
+
};
|
|
867
|
+
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
|
|
868
|
+
id?: string;
|
|
869
|
+
paymentMethodId: string;
|
|
870
|
+
paymentPlanId?: string | null;
|
|
871
|
+
name: string;
|
|
872
|
+
description?: string | null;
|
|
873
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
874
|
+
phaseType: $Enums.PhaseType;
|
|
875
|
+
order: number;
|
|
876
|
+
interestRate?: number | null;
|
|
877
|
+
percentOfPrice?: number | null;
|
|
878
|
+
requiresPreviousPhaseCompletion?: boolean;
|
|
879
|
+
minimumCompletionPercentage?: number | null;
|
|
880
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
881
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
882
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
883
|
+
createdAt?: Date | string;
|
|
884
|
+
updatedAt?: Date | string;
|
|
885
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
|
|
886
|
+
};
|
|
887
|
+
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutStepsInput = {
|
|
888
|
+
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
889
|
+
create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutStepsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput>;
|
|
890
|
+
};
|
|
891
|
+
export type PropertyPaymentMethodPhaseUpsertWithoutStepsInput = {
|
|
892
|
+
update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutStepsInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput>;
|
|
893
|
+
create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutStepsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput>;
|
|
894
|
+
where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
895
|
+
};
|
|
896
|
+
export type PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutStepsInput = {
|
|
897
|
+
where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
898
|
+
data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutStepsInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput>;
|
|
899
|
+
};
|
|
900
|
+
export type PropertyPaymentMethodPhaseUpdateWithoutStepsInput = {
|
|
901
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
902
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
903
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
904
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
905
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
906
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
907
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
908
|
+
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
909
|
+
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
910
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
911
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
912
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
913
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
914
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
915
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
916
|
+
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
|
|
917
|
+
paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
|
|
918
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
919
|
+
};
|
|
920
|
+
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
|
|
921
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
922
|
+
paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
923
|
+
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
924
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
925
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
926
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
927
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
928
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
929
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
930
|
+
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
931
|
+
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
932
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
933
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
934
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
935
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
936
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
937
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
938
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
939
|
+
};
|
|
940
|
+
export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
|
|
941
|
+
id?: string;
|
|
942
|
+
name: string;
|
|
943
|
+
description?: string | null;
|
|
944
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
945
|
+
phaseType: $Enums.PhaseType;
|
|
946
|
+
order: number;
|
|
947
|
+
interestRate?: number | null;
|
|
948
|
+
percentOfPrice?: number | null;
|
|
949
|
+
requiresPreviousPhaseCompletion?: boolean;
|
|
950
|
+
minimumCompletionPercentage?: number | null;
|
|
951
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
952
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
953
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
954
|
+
createdAt?: Date | string;
|
|
955
|
+
updatedAt?: Date | string;
|
|
956
|
+
paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
|
|
957
|
+
paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
|
|
958
|
+
steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
|
|
959
|
+
};
|
|
960
|
+
export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInput = {
|
|
961
|
+
id?: string;
|
|
962
|
+
paymentMethodId: string;
|
|
963
|
+
paymentPlanId?: string | null;
|
|
964
|
+
name: string;
|
|
965
|
+
description?: string | null;
|
|
966
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
967
|
+
phaseType: $Enums.PhaseType;
|
|
968
|
+
order: number;
|
|
969
|
+
interestRate?: number | null;
|
|
970
|
+
percentOfPrice?: number | null;
|
|
971
|
+
requiresPreviousPhaseCompletion?: boolean;
|
|
972
|
+
minimumCompletionPercentage?: number | null;
|
|
973
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
974
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
975
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
976
|
+
createdAt?: Date | string;
|
|
977
|
+
updatedAt?: Date | string;
|
|
978
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
|
|
979
|
+
};
|
|
980
|
+
export type PropertyPaymentMethodPhaseCreateOrConnectWithoutRequiredDocumentsInput = {
|
|
981
|
+
where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
|
|
982
|
+
create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInput>;
|
|
983
|
+
};
|
|
984
|
+
export type PropertyPaymentMethodPhaseUpsertWithoutRequiredDocumentsInput = {
|
|
985
|
+
update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInput>;
|
|
986
|
+
create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInput>;
|
|
987
|
+
where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
988
|
+
};
|
|
989
|
+
export type PropertyPaymentMethodPhaseUpdateToOneWithWhereWithoutRequiredDocumentsInput = {
|
|
990
|
+
where?: Prisma.PropertyPaymentMethodPhaseWhereInput;
|
|
991
|
+
data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInput>;
|
|
992
|
+
};
|
|
993
|
+
export type PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput = {
|
|
994
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
995
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
996
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
997
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
998
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
999
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1000
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1001
|
+
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1002
|
+
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1003
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1004
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1005
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1006
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1007
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1008
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1009
|
+
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
|
|
1010
|
+
paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
|
|
1011
|
+
steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
|
|
1012
|
+
};
|
|
1013
|
+
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInput = {
|
|
1014
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1015
|
+
paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1016
|
+
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1017
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1018
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1019
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1020
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
1021
|
+
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1022
|
+
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1023
|
+
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1024
|
+
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1025
|
+
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
1026
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1027
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1028
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1029
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1030
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1031
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1032
|
+
};
|
|
772
1033
|
export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInput = {
|
|
773
1034
|
id?: string;
|
|
774
1035
|
paymentMethodId: string;
|
|
775
1036
|
name: string;
|
|
776
1037
|
description?: string | null;
|
|
777
|
-
phaseCategory:
|
|
778
|
-
phaseType:
|
|
1038
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
1039
|
+
phaseType: $Enums.PhaseType;
|
|
779
1040
|
order: number;
|
|
780
1041
|
interestRate?: number | null;
|
|
781
1042
|
percentOfPrice?: number | null;
|
|
782
1043
|
requiresPreviousPhaseCompletion?: boolean;
|
|
783
1044
|
minimumCompletionPercentage?: number | null;
|
|
784
|
-
|
|
785
|
-
|
|
1045
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1046
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1047
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
786
1048
|
createdAt?: Date | string;
|
|
787
1049
|
updatedAt?: Date | string;
|
|
788
1050
|
};
|
|
@@ -790,50 +1052,57 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
|
|
|
790
1052
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
791
1053
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
792
1054
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
793
|
-
phaseCategory?: Prisma.
|
|
794
|
-
phaseType?: Prisma.
|
|
1055
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1056
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
795
1057
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
796
1058
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
797
1059
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
798
1060
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
799
1061
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
800
|
-
|
|
801
|
-
|
|
1062
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1063
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1064
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
802
1065
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
803
1066
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
804
1067
|
paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
|
|
1068
|
+
steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
|
|
1069
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
805
1070
|
};
|
|
806
1071
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
|
|
807
1072
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
808
1073
|
paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
809
1074
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
810
1075
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
811
|
-
phaseCategory?: Prisma.
|
|
812
|
-
phaseType?: Prisma.
|
|
1076
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1077
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
813
1078
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
814
1079
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
815
1080
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
816
1081
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
817
1082
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
818
|
-
|
|
819
|
-
|
|
1083
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1084
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1085
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
820
1086
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
821
1087
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1088
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1089
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
822
1090
|
};
|
|
823
1091
|
export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput = {
|
|
824
1092
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
825
1093
|
paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
826
1094
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
827
1095
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
828
|
-
phaseCategory?: Prisma.
|
|
829
|
-
phaseType?: Prisma.
|
|
1096
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1097
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
830
1098
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
831
1099
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
832
1100
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
833
1101
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
834
1102
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
835
|
-
|
|
836
|
-
|
|
1103
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1104
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1105
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
837
1106
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
838
1107
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
839
1108
|
};
|
|
@@ -842,15 +1111,16 @@ export type PropertyPaymentMethodPhaseCreateManyPaymentMethodInput = {
|
|
|
842
1111
|
paymentPlanId?: string | null;
|
|
843
1112
|
name: string;
|
|
844
1113
|
description?: string | null;
|
|
845
|
-
phaseCategory:
|
|
846
|
-
phaseType:
|
|
1114
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
1115
|
+
phaseType: $Enums.PhaseType;
|
|
847
1116
|
order: number;
|
|
848
1117
|
interestRate?: number | null;
|
|
849
1118
|
percentOfPrice?: number | null;
|
|
850
1119
|
requiresPreviousPhaseCompletion?: boolean;
|
|
851
1120
|
minimumCompletionPercentage?: number | null;
|
|
852
|
-
|
|
853
|
-
|
|
1121
|
+
completionCriterion?: $Enums.CompletionCriterion | null;
|
|
1122
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1123
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
854
1124
|
createdAt?: Date | string;
|
|
855
1125
|
updatedAt?: Date | string;
|
|
856
1126
|
};
|
|
@@ -858,53 +1128,92 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
|
|
|
858
1128
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
859
1129
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
860
1130
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
861
|
-
phaseCategory?: Prisma.
|
|
862
|
-
phaseType?: Prisma.
|
|
1131
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1132
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
863
1133
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
864
1134
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
865
1135
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
866
1136
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
867
1137
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
868
|
-
|
|
869
|
-
|
|
1138
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1139
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1140
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
870
1141
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
871
1142
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
872
1143
|
paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
|
|
1144
|
+
steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
|
|
1145
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
|
|
873
1146
|
};
|
|
874
1147
|
export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput = {
|
|
875
1148
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
876
1149
|
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
877
1150
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
878
1151
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
879
|
-
phaseCategory?: Prisma.
|
|
880
|
-
phaseType?: Prisma.
|
|
1152
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1153
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
881
1154
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
882
1155
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
883
1156
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
884
1157
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
885
1158
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
886
|
-
|
|
887
|
-
|
|
1159
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1160
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1161
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
888
1162
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
889
1163
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1164
|
+
steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
1165
|
+
requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
|
|
890
1166
|
};
|
|
891
1167
|
export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInput = {
|
|
892
1168
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
893
1169
|
paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
894
1170
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
895
1171
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
896
|
-
phaseCategory?: Prisma.
|
|
897
|
-
phaseType?: Prisma.
|
|
1172
|
+
phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
|
|
1173
|
+
phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
|
|
898
1174
|
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
899
1175
|
interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
900
1176
|
percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
901
1177
|
requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
902
1178
|
minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
903
|
-
|
|
904
|
-
|
|
1179
|
+
completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
|
|
1180
|
+
stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1181
|
+
requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
905
1182
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
906
1183
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
907
1184
|
};
|
|
1185
|
+
/**
|
|
1186
|
+
* Count Type PropertyPaymentMethodPhaseCountOutputType
|
|
1187
|
+
*/
|
|
1188
|
+
export type PropertyPaymentMethodPhaseCountOutputType = {
|
|
1189
|
+
steps: number;
|
|
1190
|
+
requiredDocuments: number;
|
|
1191
|
+
};
|
|
1192
|
+
export type PropertyPaymentMethodPhaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1193
|
+
steps?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountStepsArgs;
|
|
1194
|
+
requiredDocuments?: boolean | PropertyPaymentMethodPhaseCountOutputTypeCountRequiredDocumentsArgs;
|
|
1195
|
+
};
|
|
1196
|
+
/**
|
|
1197
|
+
* PropertyPaymentMethodPhaseCountOutputType without action
|
|
1198
|
+
*/
|
|
1199
|
+
export type PropertyPaymentMethodPhaseCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1200
|
+
/**
|
|
1201
|
+
* Select specific fields to fetch from the PropertyPaymentMethodPhaseCountOutputType
|
|
1202
|
+
*/
|
|
1203
|
+
select?: Prisma.PropertyPaymentMethodPhaseCountOutputTypeSelect<ExtArgs> | null;
|
|
1204
|
+
};
|
|
1205
|
+
/**
|
|
1206
|
+
* PropertyPaymentMethodPhaseCountOutputType without action
|
|
1207
|
+
*/
|
|
1208
|
+
export type PropertyPaymentMethodPhaseCountOutputTypeCountStepsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1209
|
+
where?: Prisma.PaymentMethodPhaseStepWhereInput;
|
|
1210
|
+
};
|
|
1211
|
+
/**
|
|
1212
|
+
* PropertyPaymentMethodPhaseCountOutputType without action
|
|
1213
|
+
*/
|
|
1214
|
+
export type PropertyPaymentMethodPhaseCountOutputTypeCountRequiredDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1215
|
+
where?: Prisma.PaymentMethodPhaseDocumentWhereInput;
|
|
1216
|
+
};
|
|
908
1217
|
export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
909
1218
|
id?: boolean;
|
|
910
1219
|
paymentMethodId?: boolean;
|
|
@@ -918,12 +1227,16 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
|
|
|
918
1227
|
percentOfPrice?: boolean;
|
|
919
1228
|
requiresPreviousPhaseCompletion?: boolean;
|
|
920
1229
|
minimumCompletionPercentage?: boolean;
|
|
921
|
-
|
|
922
|
-
|
|
1230
|
+
completionCriterion?: boolean;
|
|
1231
|
+
stepDefinitionsSnapshot?: boolean;
|
|
1232
|
+
requiredDocumentSnapshot?: boolean;
|
|
923
1233
|
createdAt?: boolean;
|
|
924
1234
|
updatedAt?: boolean;
|
|
925
1235
|
paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
|
|
926
1236
|
paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
|
|
1237
|
+
steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
|
|
1238
|
+
requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
|
|
1239
|
+
_count?: boolean | Prisma.PropertyPaymentMethodPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
927
1240
|
}, ExtArgs["result"]["propertyPaymentMethodPhase"]>;
|
|
928
1241
|
export type PropertyPaymentMethodPhaseSelectScalar = {
|
|
929
1242
|
id?: boolean;
|
|
@@ -938,21 +1251,27 @@ export type PropertyPaymentMethodPhaseSelectScalar = {
|
|
|
938
1251
|
percentOfPrice?: boolean;
|
|
939
1252
|
requiresPreviousPhaseCompletion?: boolean;
|
|
940
1253
|
minimumCompletionPercentage?: boolean;
|
|
941
|
-
|
|
942
|
-
|
|
1254
|
+
completionCriterion?: boolean;
|
|
1255
|
+
stepDefinitionsSnapshot?: boolean;
|
|
1256
|
+
requiredDocumentSnapshot?: boolean;
|
|
943
1257
|
createdAt?: boolean;
|
|
944
1258
|
updatedAt?: boolean;
|
|
945
1259
|
};
|
|
946
|
-
export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "paymentMethodId" | "paymentPlanId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "interestRate" | "percentOfPrice" | "requiresPreviousPhaseCompletion" | "minimumCompletionPercentage" | "
|
|
1260
|
+
export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "paymentMethodId" | "paymentPlanId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "interestRate" | "percentOfPrice" | "requiresPreviousPhaseCompletion" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethodPhase"]>;
|
|
947
1261
|
export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
948
1262
|
paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
|
|
949
1263
|
paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
|
|
1264
|
+
steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
|
|
1265
|
+
requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
|
|
1266
|
+
_count?: boolean | Prisma.PropertyPaymentMethodPhaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
950
1267
|
};
|
|
951
1268
|
export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
952
1269
|
name: "PropertyPaymentMethodPhase";
|
|
953
1270
|
objects: {
|
|
954
1271
|
paymentMethod: Prisma.$PropertyPaymentMethodPayload<ExtArgs>;
|
|
955
1272
|
paymentPlan: Prisma.$PaymentPlanPayload<ExtArgs> | null;
|
|
1273
|
+
steps: Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>[];
|
|
1274
|
+
requiredDocuments: Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>[];
|
|
956
1275
|
};
|
|
957
1276
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
958
1277
|
id: string;
|
|
@@ -960,15 +1279,16 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
|
|
|
960
1279
|
paymentPlanId: string | null;
|
|
961
1280
|
name: string;
|
|
962
1281
|
description: string | null;
|
|
963
|
-
phaseCategory:
|
|
964
|
-
phaseType:
|
|
1282
|
+
phaseCategory: $Enums.PhaseCategory;
|
|
1283
|
+
phaseType: $Enums.PhaseType;
|
|
965
1284
|
order: number;
|
|
966
1285
|
interestRate: number | null;
|
|
967
1286
|
percentOfPrice: number | null;
|
|
968
1287
|
requiresPreviousPhaseCompletion: boolean;
|
|
969
1288
|
minimumCompletionPercentage: number | null;
|
|
970
|
-
|
|
971
|
-
|
|
1289
|
+
completionCriterion: $Enums.CompletionCriterion | null;
|
|
1290
|
+
stepDefinitionsSnapshot: runtime.JsonValue | null;
|
|
1291
|
+
requiredDocumentSnapshot: runtime.JsonValue | null;
|
|
972
1292
|
createdAt: Date;
|
|
973
1293
|
updatedAt: Date;
|
|
974
1294
|
}, ExtArgs["result"]["propertyPaymentMethodPhase"]>;
|
|
@@ -1250,6 +1570,8 @@ export interface Prisma__PropertyPaymentMethodPhaseClient<T, Null = never, ExtAr
|
|
|
1250
1570
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1251
1571
|
paymentMethod<T extends Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1252
1572
|
paymentPlan<T extends Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>>): Prisma.Prisma__PaymentPlanClient<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1573
|
+
steps<T extends Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1574
|
+
requiredDocuments<T extends Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1253
1575
|
/**
|
|
1254
1576
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1255
1577
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1280,15 +1602,16 @@ export interface PropertyPaymentMethodPhaseFieldRefs {
|
|
|
1280
1602
|
readonly paymentPlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
|
|
1281
1603
|
readonly name: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
|
|
1282
1604
|
readonly description: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
|
|
1283
|
-
readonly phaseCategory: Prisma.FieldRef<"PropertyPaymentMethodPhase", '
|
|
1284
|
-
readonly phaseType: Prisma.FieldRef<"PropertyPaymentMethodPhase", '
|
|
1605
|
+
readonly phaseCategory: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'PhaseCategory'>;
|
|
1606
|
+
readonly phaseType: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'PhaseType'>;
|
|
1285
1607
|
readonly order: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Int'>;
|
|
1286
1608
|
readonly interestRate: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Float'>;
|
|
1287
1609
|
readonly percentOfPrice: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Float'>;
|
|
1288
1610
|
readonly requiresPreviousPhaseCompletion: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Boolean'>;
|
|
1289
1611
|
readonly minimumCompletionPercentage: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Float'>;
|
|
1290
|
-
readonly
|
|
1291
|
-
readonly
|
|
1612
|
+
readonly completionCriterion: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'CompletionCriterion'>;
|
|
1613
|
+
readonly stepDefinitionsSnapshot: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Json'>;
|
|
1614
|
+
readonly requiredDocumentSnapshot: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'Json'>;
|
|
1292
1615
|
readonly createdAt: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'DateTime'>;
|
|
1293
1616
|
readonly updatedAt: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'DateTime'>;
|
|
1294
1617
|
}
|
|
@@ -1636,6 +1959,52 @@ export type PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs extends runtime.T
|
|
|
1636
1959
|
include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
|
|
1637
1960
|
where?: Prisma.PaymentPlanWhereInput;
|
|
1638
1961
|
};
|
|
1962
|
+
/**
|
|
1963
|
+
* PropertyPaymentMethodPhase.steps
|
|
1964
|
+
*/
|
|
1965
|
+
export type PropertyPaymentMethodPhase$stepsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1966
|
+
/**
|
|
1967
|
+
* Select specific fields to fetch from the PaymentMethodPhaseStep
|
|
1968
|
+
*/
|
|
1969
|
+
select?: Prisma.PaymentMethodPhaseStepSelect<ExtArgs> | null;
|
|
1970
|
+
/**
|
|
1971
|
+
* Omit specific fields from the PaymentMethodPhaseStep
|
|
1972
|
+
*/
|
|
1973
|
+
omit?: Prisma.PaymentMethodPhaseStepOmit<ExtArgs> | null;
|
|
1974
|
+
/**
|
|
1975
|
+
* Choose, which related nodes to fetch as well
|
|
1976
|
+
*/
|
|
1977
|
+
include?: Prisma.PaymentMethodPhaseStepInclude<ExtArgs> | null;
|
|
1978
|
+
where?: Prisma.PaymentMethodPhaseStepWhereInput;
|
|
1979
|
+
orderBy?: Prisma.PaymentMethodPhaseStepOrderByWithRelationInput | Prisma.PaymentMethodPhaseStepOrderByWithRelationInput[];
|
|
1980
|
+
cursor?: Prisma.PaymentMethodPhaseStepWhereUniqueInput;
|
|
1981
|
+
take?: number;
|
|
1982
|
+
skip?: number;
|
|
1983
|
+
distinct?: Prisma.PaymentMethodPhaseStepScalarFieldEnum | Prisma.PaymentMethodPhaseStepScalarFieldEnum[];
|
|
1984
|
+
};
|
|
1985
|
+
/**
|
|
1986
|
+
* PropertyPaymentMethodPhase.requiredDocuments
|
|
1987
|
+
*/
|
|
1988
|
+
export type PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1989
|
+
/**
|
|
1990
|
+
* Select specific fields to fetch from the PaymentMethodPhaseDocument
|
|
1991
|
+
*/
|
|
1992
|
+
select?: Prisma.PaymentMethodPhaseDocumentSelect<ExtArgs> | null;
|
|
1993
|
+
/**
|
|
1994
|
+
* Omit specific fields from the PaymentMethodPhaseDocument
|
|
1995
|
+
*/
|
|
1996
|
+
omit?: Prisma.PaymentMethodPhaseDocumentOmit<ExtArgs> | null;
|
|
1997
|
+
/**
|
|
1998
|
+
* Choose, which related nodes to fetch as well
|
|
1999
|
+
*/
|
|
2000
|
+
include?: Prisma.PaymentMethodPhaseDocumentInclude<ExtArgs> | null;
|
|
2001
|
+
where?: Prisma.PaymentMethodPhaseDocumentWhereInput;
|
|
2002
|
+
orderBy?: Prisma.PaymentMethodPhaseDocumentOrderByWithRelationInput | Prisma.PaymentMethodPhaseDocumentOrderByWithRelationInput[];
|
|
2003
|
+
cursor?: Prisma.PaymentMethodPhaseDocumentWhereUniqueInput;
|
|
2004
|
+
take?: number;
|
|
2005
|
+
skip?: number;
|
|
2006
|
+
distinct?: Prisma.PaymentMethodPhaseDocumentScalarFieldEnum | Prisma.PaymentMethodPhaseDocumentScalarFieldEnum[];
|
|
2007
|
+
};
|
|
1639
2008
|
/**
|
|
1640
2009
|
* PropertyPaymentMethodPhase without action
|
|
1641
2010
|
*/
|