@valentine-efagene/qshelter-common 2.0.102 → 2.0.104

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 (31) hide show
  1. package/dist/generated/client/browser.d.ts +20 -0
  2. package/dist/generated/client/client.d.ts +20 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +174 -84
  4. package/dist/generated/client/enums.d.ts +34 -0
  5. package/dist/generated/client/enums.js +31 -0
  6. package/dist/generated/client/internal/class.d.ts +44 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +389 -5
  9. package/dist/generated/client/internal/prismaNamespace.js +96 -0
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +104 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +96 -0
  12. package/dist/generated/client/models/DocumentationPhase.d.ts +231 -1
  13. package/dist/generated/client/models/DocumentationPlan.d.ts +1555 -0
  14. package/dist/generated/client/models/DocumentationPlan.js +1 -0
  15. package/dist/generated/client/models/DocumentationPlanStep.d.ts +1220 -0
  16. package/dist/generated/client/models/DocumentationPlanStep.js +1 -0
  17. package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +0 -3
  18. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +585 -1
  19. package/dist/generated/client/models/QuestionnairePhase.d.ts +413 -1
  20. package/dist/generated/client/models/QuestionnairePlan.d.ts +1844 -0
  21. package/dist/generated/client/models/QuestionnairePlan.js +1 -0
  22. package/dist/generated/client/models/QuestionnairePlanQuestion.d.ts +1444 -0
  23. package/dist/generated/client/models/QuestionnairePlanQuestion.js +1 -0
  24. package/dist/generated/client/models/Tenant.d.ts +1208 -118
  25. package/dist/generated/client/models/index.d.ts +4 -0
  26. package/dist/generated/client/models/index.js +4 -0
  27. package/dist/generated/client/models.d.ts +4 -0
  28. package/dist/src/prisma/tenant.js +4 -0
  29. package/package.json +1 -1
  30. package/prisma/migrations/20260114034523_add_documentation_plan/migration.sql +52 -0
  31. package/prisma/schema.prisma +210 -8
@@ -30,6 +30,8 @@ export type PropertyPaymentMethodPhaseMinAggregateOutputType = {
30
30
  tenantId: string | null;
31
31
  paymentMethodId: string | null;
32
32
  paymentPlanId: string | null;
33
+ documentationPlanId: string | null;
34
+ questionnairePlanId: string | null;
33
35
  name: string | null;
34
36
  description: string | null;
35
37
  phaseCategory: $Enums.PhaseCategory | null;
@@ -49,6 +51,8 @@ export type PropertyPaymentMethodPhaseMaxAggregateOutputType = {
49
51
  tenantId: string | null;
50
52
  paymentMethodId: string | null;
51
53
  paymentPlanId: string | null;
54
+ documentationPlanId: string | null;
55
+ questionnairePlanId: string | null;
52
56
  name: string | null;
53
57
  description: string | null;
54
58
  phaseCategory: $Enums.PhaseCategory | null;
@@ -68,6 +72,8 @@ export type PropertyPaymentMethodPhaseCountAggregateOutputType = {
68
72
  tenantId: number;
69
73
  paymentMethodId: number;
70
74
  paymentPlanId: number;
75
+ documentationPlanId: number;
76
+ questionnairePlanId: number;
71
77
  name: number;
72
78
  description: number;
73
79
  phaseCategory: number;
@@ -102,6 +108,8 @@ export type PropertyPaymentMethodPhaseMinAggregateInputType = {
102
108
  tenantId?: true;
103
109
  paymentMethodId?: true;
104
110
  paymentPlanId?: true;
111
+ documentationPlanId?: true;
112
+ questionnairePlanId?: true;
105
113
  name?: true;
106
114
  description?: true;
107
115
  phaseCategory?: true;
@@ -121,6 +129,8 @@ export type PropertyPaymentMethodPhaseMaxAggregateInputType = {
121
129
  tenantId?: true;
122
130
  paymentMethodId?: true;
123
131
  paymentPlanId?: true;
132
+ documentationPlanId?: true;
133
+ questionnairePlanId?: true;
124
134
  name?: true;
125
135
  description?: true;
126
136
  phaseCategory?: true;
@@ -140,6 +150,8 @@ export type PropertyPaymentMethodPhaseCountAggregateInputType = {
140
150
  tenantId?: true;
141
151
  paymentMethodId?: true;
142
152
  paymentPlanId?: true;
153
+ documentationPlanId?: true;
154
+ questionnairePlanId?: true;
143
155
  name?: true;
144
156
  description?: true;
145
157
  phaseCategory?: true;
@@ -238,6 +250,8 @@ export type PropertyPaymentMethodPhaseGroupByOutputType = {
238
250
  tenantId: string;
239
251
  paymentMethodId: string;
240
252
  paymentPlanId: string | null;
253
+ documentationPlanId: string | null;
254
+ questionnairePlanId: string | null;
241
255
  name: string;
242
256
  description: string | null;
243
257
  phaseCategory: $Enums.PhaseCategory;
@@ -270,6 +284,8 @@ export type PropertyPaymentMethodPhaseWhereInput = {
270
284
  tenantId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
271
285
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
272
286
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
287
+ documentationPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
288
+ questionnairePlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
273
289
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
274
290
  description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
275
291
  phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -288,6 +304,8 @@ export type PropertyPaymentMethodPhaseWhereInput = {
288
304
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
289
305
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
290
306
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
307
+ documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
308
+ questionnairePlan?: Prisma.XOR<Prisma.QuestionnairePlanNullableScalarRelationFilter, Prisma.QuestionnairePlanWhereInput> | null;
291
309
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
292
310
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
293
311
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
@@ -298,6 +316,8 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
298
316
  tenantId?: Prisma.SortOrder;
299
317
  paymentMethodId?: Prisma.SortOrder;
300
318
  paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
319
+ documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
320
+ questionnairePlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
301
321
  name?: Prisma.SortOrder;
302
322
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
303
323
  phaseCategory?: Prisma.SortOrder;
@@ -316,6 +336,8 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
316
336
  tenant?: Prisma.TenantOrderByWithRelationInput;
317
337
  paymentMethod?: Prisma.PropertyPaymentMethodOrderByWithRelationInput;
318
338
  paymentPlan?: Prisma.PaymentPlanOrderByWithRelationInput;
339
+ documentationPlan?: Prisma.DocumentationPlanOrderByWithRelationInput;
340
+ questionnairePlan?: Prisma.QuestionnairePlanOrderByWithRelationInput;
319
341
  steps?: Prisma.PaymentMethodPhaseStepOrderByRelationAggregateInput;
320
342
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentOrderByRelationAggregateInput;
321
343
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldOrderByRelationAggregateInput;
@@ -330,6 +352,8 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
330
352
  tenantId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
331
353
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
332
354
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
355
+ documentationPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
356
+ questionnairePlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
333
357
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
334
358
  description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
335
359
  phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -348,6 +372,8 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
348
372
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
349
373
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
350
374
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
375
+ documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
376
+ questionnairePlan?: Prisma.XOR<Prisma.QuestionnairePlanNullableScalarRelationFilter, Prisma.QuestionnairePlanWhereInput> | null;
351
377
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
352
378
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
353
379
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
@@ -358,6 +384,8 @@ export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
358
384
  tenantId?: Prisma.SortOrder;
359
385
  paymentMethodId?: Prisma.SortOrder;
360
386
  paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
387
+ documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
388
+ questionnairePlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
361
389
  name?: Prisma.SortOrder;
362
390
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
363
391
  phaseCategory?: Prisma.SortOrder;
@@ -387,6 +415,8 @@ export type PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput = {
387
415
  tenantId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
388
416
  paymentMethodId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
389
417
  paymentPlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
418
+ documentationPlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
419
+ questionnairePlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
390
420
  name?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
391
421
  description?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
392
422
  phaseCategory?: Prisma.EnumPhaseCategoryWithAggregatesFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -423,6 +453,8 @@ export type PropertyPaymentMethodPhaseCreateInput = {
423
453
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
424
454
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
425
455
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
456
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
457
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
426
458
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
427
459
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
428
460
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -433,6 +465,8 @@ export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
433
465
  tenantId: string;
434
466
  paymentMethodId: string;
435
467
  paymentPlanId?: string | null;
468
+ documentationPlanId?: string | null;
469
+ questionnairePlanId?: string | null;
436
470
  name: string;
437
471
  description?: string | null;
438
472
  phaseCategory: $Enums.PhaseCategory;
@@ -473,6 +507,8 @@ export type PropertyPaymentMethodPhaseUpdateInput = {
473
507
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
474
508
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
475
509
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
510
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
511
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
476
512
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
477
513
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
478
514
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -483,6 +519,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
483
519
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
484
520
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
485
521
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
522
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
523
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
486
524
  name?: Prisma.StringFieldUpdateOperationsInput | string;
487
525
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
488
526
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -508,6 +546,8 @@ export type PropertyPaymentMethodPhaseCreateManyInput = {
508
546
  tenantId: string;
509
547
  paymentMethodId: string;
510
548
  paymentPlanId?: string | null;
549
+ documentationPlanId?: string | null;
550
+ questionnairePlanId?: string | null;
511
551
  name: string;
512
552
  description?: string | null;
513
553
  phaseCategory: $Enums.PhaseCategory;
@@ -547,6 +587,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyInput = {
547
587
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
548
588
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
549
589
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
590
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
591
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
550
592
  name?: Prisma.StringFieldUpdateOperationsInput | string;
551
593
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
552
594
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -581,6 +623,8 @@ export type PropertyPaymentMethodPhaseCountOrderByAggregateInput = {
581
623
  tenantId?: Prisma.SortOrder;
582
624
  paymentMethodId?: Prisma.SortOrder;
583
625
  paymentPlanId?: Prisma.SortOrder;
626
+ documentationPlanId?: Prisma.SortOrder;
627
+ questionnairePlanId?: Prisma.SortOrder;
584
628
  name?: Prisma.SortOrder;
585
629
  description?: Prisma.SortOrder;
586
630
  phaseCategory?: Prisma.SortOrder;
@@ -608,6 +652,8 @@ export type PropertyPaymentMethodPhaseMaxOrderByAggregateInput = {
608
652
  tenantId?: Prisma.SortOrder;
609
653
  paymentMethodId?: Prisma.SortOrder;
610
654
  paymentPlanId?: Prisma.SortOrder;
655
+ documentationPlanId?: Prisma.SortOrder;
656
+ questionnairePlanId?: Prisma.SortOrder;
611
657
  name?: Prisma.SortOrder;
612
658
  description?: Prisma.SortOrder;
613
659
  phaseCategory?: Prisma.SortOrder;
@@ -627,6 +673,8 @@ export type PropertyPaymentMethodPhaseMinOrderByAggregateInput = {
627
673
  tenantId?: Prisma.SortOrder;
628
674
  paymentMethodId?: Prisma.SortOrder;
629
675
  paymentPlanId?: Prisma.SortOrder;
676
+ documentationPlanId?: Prisma.SortOrder;
677
+ questionnairePlanId?: Prisma.SortOrder;
630
678
  name?: Prisma.SortOrder;
631
679
  description?: Prisma.SortOrder;
632
680
  phaseCategory?: Prisma.SortOrder;
@@ -689,6 +737,82 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantNestedInpu
689
737
  updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutTenantInput[];
690
738
  deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
691
739
  };
740
+ export type PropertyPaymentMethodPhaseCreateNestedManyWithoutDocumentationPlanInput = {
741
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput[];
742
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput[];
743
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope;
744
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
745
+ };
746
+ export type PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput = {
747
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput[];
748
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput[];
749
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope;
750
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
751
+ };
752
+ export type PropertyPaymentMethodPhaseUpdateManyWithoutDocumentationPlanNestedInput = {
753
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput[];
754
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput[];
755
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput[];
756
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope;
757
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
758
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
759
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
760
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
761
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput[];
762
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput[];
763
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
764
+ };
765
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput = {
766
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput[];
767
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput[];
768
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput[];
769
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope;
770
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
771
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
772
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
773
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
774
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput[];
775
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput[];
776
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
777
+ };
778
+ export type PropertyPaymentMethodPhaseCreateNestedManyWithoutQuestionnairePlanInput = {
779
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput[];
780
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput[];
781
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyQuestionnairePlanInputEnvelope;
782
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
783
+ };
784
+ export type PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutQuestionnairePlanInput = {
785
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput[];
786
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput[];
787
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyQuestionnairePlanInputEnvelope;
788
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
789
+ };
790
+ export type PropertyPaymentMethodPhaseUpdateManyWithoutQuestionnairePlanNestedInput = {
791
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput[];
792
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput[];
793
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput[];
794
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyQuestionnairePlanInputEnvelope;
795
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
796
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
797
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
798
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
799
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput[];
800
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutQuestionnairePlanInput[];
801
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
802
+ };
803
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutQuestionnairePlanNestedInput = {
804
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput[];
805
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput[];
806
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput[];
807
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyQuestionnairePlanInputEnvelope;
808
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
809
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
810
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
811
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
812
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput[];
813
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutQuestionnairePlanInput[];
814
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
815
+ };
692
816
  export type PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentPlanInput = {
693
817
  create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput[];
694
818
  connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput[];
@@ -844,6 +968,8 @@ export type PropertyPaymentMethodPhaseCreateWithoutTenantInput = {
844
968
  updatedAt?: Date | string;
845
969
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
846
970
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
971
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
972
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
847
973
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
848
974
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
849
975
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -853,6 +979,8 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput = {
853
979
  id?: string;
854
980
  paymentMethodId: string;
855
981
  paymentPlanId?: string | null;
982
+ documentationPlanId?: string | null;
983
+ questionnairePlanId?: string | null;
856
984
  name: string;
857
985
  description?: string | null;
858
986
  phaseCategory: $Enums.PhaseCategory;
@@ -902,6 +1030,8 @@ export type PropertyPaymentMethodPhaseScalarWhereInput = {
902
1030
  tenantId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
903
1031
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
904
1032
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
1033
+ documentationPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
1034
+ questionnairePlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
905
1035
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
906
1036
  description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
907
1037
  phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -918,6 +1048,152 @@ export type PropertyPaymentMethodPhaseScalarWhereInput = {
918
1048
  createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
919
1049
  updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
920
1050
  };
1051
+ export type PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput = {
1052
+ id?: string;
1053
+ name: string;
1054
+ description?: string | null;
1055
+ phaseCategory: $Enums.PhaseCategory;
1056
+ phaseType: $Enums.PhaseType;
1057
+ order: number;
1058
+ interestRate?: number | null;
1059
+ percentOfPrice?: number | null;
1060
+ collectFunds?: boolean | null;
1061
+ requiresPreviousPhaseCompletion?: boolean;
1062
+ minimumCompletionPercentage?: number | null;
1063
+ completionCriterion?: $Enums.CompletionCriterion | null;
1064
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1065
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1066
+ createdAt?: Date | string;
1067
+ updatedAt?: Date | string;
1068
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1069
+ paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1070
+ paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1071
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1072
+ steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1073
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1074
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
1075
+ eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
1076
+ };
1077
+ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput = {
1078
+ id?: string;
1079
+ tenantId: string;
1080
+ paymentMethodId: string;
1081
+ paymentPlanId?: string | null;
1082
+ questionnairePlanId?: string | null;
1083
+ name: string;
1084
+ description?: string | null;
1085
+ phaseCategory: $Enums.PhaseCategory;
1086
+ phaseType: $Enums.PhaseType;
1087
+ order: number;
1088
+ interestRate?: number | null;
1089
+ percentOfPrice?: number | null;
1090
+ collectFunds?: boolean | null;
1091
+ requiresPreviousPhaseCompletion?: boolean;
1092
+ minimumCompletionPercentage?: number | null;
1093
+ completionCriterion?: $Enums.CompletionCriterion | null;
1094
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1095
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1096
+ createdAt?: Date | string;
1097
+ updatedAt?: Date | string;
1098
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
1099
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
1100
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
1101
+ eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
1102
+ };
1103
+ export type PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput = {
1104
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1105
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput>;
1106
+ };
1107
+ export type PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope = {
1108
+ data: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInput[];
1109
+ skipDuplicates?: boolean;
1110
+ };
1111
+ export type PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput = {
1112
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1113
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInput>;
1114
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput>;
1115
+ };
1116
+ export type PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput = {
1117
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1118
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInput>;
1119
+ };
1120
+ export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput = {
1121
+ where: Prisma.PropertyPaymentMethodPhaseScalarWhereInput;
1122
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanInput>;
1123
+ };
1124
+ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput = {
1125
+ id?: string;
1126
+ name: string;
1127
+ description?: string | null;
1128
+ phaseCategory: $Enums.PhaseCategory;
1129
+ phaseType: $Enums.PhaseType;
1130
+ order: number;
1131
+ interestRate?: number | null;
1132
+ percentOfPrice?: number | null;
1133
+ collectFunds?: boolean | null;
1134
+ requiresPreviousPhaseCompletion?: boolean;
1135
+ minimumCompletionPercentage?: number | null;
1136
+ completionCriterion?: $Enums.CompletionCriterion | null;
1137
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1138
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1139
+ createdAt?: Date | string;
1140
+ updatedAt?: Date | string;
1141
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1142
+ paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1143
+ paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1144
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1145
+ steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1146
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1147
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
1148
+ eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
1149
+ };
1150
+ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput = {
1151
+ id?: string;
1152
+ tenantId: string;
1153
+ paymentMethodId: string;
1154
+ paymentPlanId?: string | null;
1155
+ documentationPlanId?: string | null;
1156
+ name: string;
1157
+ description?: string | null;
1158
+ phaseCategory: $Enums.PhaseCategory;
1159
+ phaseType: $Enums.PhaseType;
1160
+ order: number;
1161
+ interestRate?: number | null;
1162
+ percentOfPrice?: number | null;
1163
+ collectFunds?: boolean | null;
1164
+ requiresPreviousPhaseCompletion?: boolean;
1165
+ minimumCompletionPercentage?: number | null;
1166
+ completionCriterion?: $Enums.CompletionCriterion | null;
1167
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1168
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1169
+ createdAt?: Date | string;
1170
+ updatedAt?: Date | string;
1171
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
1172
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
1173
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
1174
+ eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
1175
+ };
1176
+ export type PropertyPaymentMethodPhaseCreateOrConnectWithoutQuestionnairePlanInput = {
1177
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1178
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput>;
1179
+ };
1180
+ export type PropertyPaymentMethodPhaseCreateManyQuestionnairePlanInputEnvelope = {
1181
+ data: Prisma.PropertyPaymentMethodPhaseCreateManyQuestionnairePlanInput | Prisma.PropertyPaymentMethodPhaseCreateManyQuestionnairePlanInput[];
1182
+ skipDuplicates?: boolean;
1183
+ };
1184
+ export type PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutQuestionnairePlanInput = {
1185
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1186
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutQuestionnairePlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnairePlanInput>;
1187
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutQuestionnairePlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnairePlanInput>;
1188
+ };
1189
+ export type PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutQuestionnairePlanInput = {
1190
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1191
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutQuestionnairePlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnairePlanInput>;
1192
+ };
1193
+ export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutQuestionnairePlanInput = {
1194
+ where: Prisma.PropertyPaymentMethodPhaseScalarWhereInput;
1195
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutQuestionnairePlanInput>;
1196
+ };
921
1197
  export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
922
1198
  id?: string;
923
1199
  name: string;
@@ -937,6 +1213,8 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
937
1213
  updatedAt?: Date | string;
938
1214
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
939
1215
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1216
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1217
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
940
1218
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
941
1219
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
942
1220
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -946,6 +1224,8 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
946
1224
  id?: string;
947
1225
  tenantId: string;
948
1226
  paymentMethodId: string;
1227
+ documentationPlanId?: string | null;
1228
+ questionnairePlanId?: string | null;
949
1229
  name: string;
950
1230
  description?: string | null;
951
1231
  phaseCategory: $Enums.PhaseCategory;
@@ -1006,6 +1286,8 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
1006
1286
  updatedAt?: Date | string;
1007
1287
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1008
1288
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1289
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1290
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1009
1291
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1010
1292
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1011
1293
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -1015,6 +1297,8 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput =
1015
1297
  id?: string;
1016
1298
  tenantId: string;
1017
1299
  paymentPlanId?: string | null;
1300
+ documentationPlanId?: string | null;
1301
+ questionnairePlanId?: string | null;
1018
1302
  name: string;
1019
1303
  description?: string | null;
1020
1304
  phaseCategory: $Enums.PhaseCategory;
@@ -1076,6 +1360,8 @@ export type PropertyPaymentMethodPhaseCreateWithoutEventAttachmentsInput = {
1076
1360
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1077
1361
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1078
1362
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1363
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1364
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1079
1365
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1080
1366
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1081
1367
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -1085,6 +1371,8 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutEventAttachmentsInpu
1085
1371
  tenantId: string;
1086
1372
  paymentMethodId: string;
1087
1373
  paymentPlanId?: string | null;
1374
+ documentationPlanId?: string | null;
1375
+ questionnairePlanId?: string | null;
1088
1376
  name: string;
1089
1377
  description?: string | null;
1090
1378
  phaseCategory: $Enums.PhaseCategory;
@@ -1137,6 +1425,8 @@ export type PropertyPaymentMethodPhaseUpdateWithoutEventAttachmentsInput = {
1137
1425
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1138
1426
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1139
1427
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1428
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1429
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1140
1430
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1141
1431
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1142
1432
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1146,6 +1436,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutEventAttachmentsInpu
1146
1436
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1147
1437
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1148
1438
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1439
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1440
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1149
1441
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1150
1442
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1151
1443
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1185,6 +1477,8 @@ export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
1185
1477
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1186
1478
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1187
1479
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1480
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1481
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1188
1482
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1189
1483
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
1190
1484
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
@@ -1194,6 +1488,8 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
1194
1488
  tenantId: string;
1195
1489
  paymentMethodId: string;
1196
1490
  paymentPlanId?: string | null;
1491
+ documentationPlanId?: string | null;
1492
+ questionnairePlanId?: string | null;
1197
1493
  name: string;
1198
1494
  description?: string | null;
1199
1495
  phaseCategory: $Enums.PhaseCategory;
@@ -1246,6 +1542,8 @@ export type PropertyPaymentMethodPhaseUpdateWithoutStepsInput = {
1246
1542
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1247
1543
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1248
1544
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1545
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1546
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1249
1547
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1250
1548
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1251
1549
  eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
@@ -1255,6 +1553,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
1255
1553
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1256
1554
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1257
1555
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1556
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1557
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1258
1558
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1259
1559
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1260
1560
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1294,6 +1594,8 @@ export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
1294
1594
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1295
1595
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1296
1596
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1597
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1598
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1297
1599
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1298
1600
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
1299
1601
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
@@ -1303,6 +1605,8 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInp
1303
1605
  tenantId: string;
1304
1606
  paymentMethodId: string;
1305
1607
  paymentPlanId?: string | null;
1608
+ documentationPlanId?: string | null;
1609
+ questionnairePlanId?: string | null;
1306
1610
  name: string;
1307
1611
  description?: string | null;
1308
1612
  phaseCategory: $Enums.PhaseCategory;
@@ -1355,6 +1659,8 @@ export type PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput = {
1355
1659
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1356
1660
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1357
1661
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1662
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1663
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1358
1664
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1359
1665
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1360
1666
  eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
@@ -1364,6 +1670,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInp
1364
1670
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1365
1671
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1366
1672
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1673
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1674
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1367
1675
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1368
1676
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1369
1677
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1403,6 +1711,8 @@ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput = {
1403
1711
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1404
1712
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1405
1713
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1714
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1715
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1406
1716
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1407
1717
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1408
1718
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
@@ -1412,6 +1722,8 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsI
1412
1722
  tenantId: string;
1413
1723
  paymentMethodId: string;
1414
1724
  paymentPlanId?: string | null;
1725
+ documentationPlanId?: string | null;
1726
+ questionnairePlanId?: string | null;
1415
1727
  name: string;
1416
1728
  description?: string | null;
1417
1729
  phaseCategory: $Enums.PhaseCategory;
@@ -1464,6 +1776,8 @@ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput = {
1464
1776
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1465
1777
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1466
1778
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1779
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1780
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1467
1781
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1468
1782
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1469
1783
  eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
@@ -1473,6 +1787,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsI
1473
1787
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1474
1788
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1475
1789
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1790
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1791
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1476
1792
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1477
1793
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1478
1794
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1496,6 +1812,8 @@ export type PropertyPaymentMethodPhaseCreateManyTenantInput = {
1496
1812
  id?: string;
1497
1813
  paymentMethodId: string;
1498
1814
  paymentPlanId?: string | null;
1815
+ documentationPlanId?: string | null;
1816
+ questionnairePlanId?: string | null;
1499
1817
  name: string;
1500
1818
  description?: string | null;
1501
1819
  phaseCategory: $Enums.PhaseCategory;
@@ -1531,6 +1849,8 @@ export type PropertyPaymentMethodPhaseUpdateWithoutTenantInput = {
1531
1849
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1532
1850
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1533
1851
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1852
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1853
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1534
1854
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1535
1855
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1536
1856
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1540,6 +1860,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutTenantInput = {
1540
1860
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1541
1861
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1542
1862
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1863
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1864
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1543
1865
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1544
1866
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1545
1867
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1564,6 +1886,200 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantInput = {
1564
1886
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1565
1887
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1566
1888
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1889
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1890
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1891
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1892
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1893
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1894
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1895
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1896
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1897
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1898
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1899
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1900
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1901
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1902
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1903
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1904
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1905
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1906
+ };
1907
+ export type PropertyPaymentMethodPhaseCreateManyDocumentationPlanInput = {
1908
+ id?: string;
1909
+ tenantId: string;
1910
+ paymentMethodId: string;
1911
+ paymentPlanId?: string | null;
1912
+ questionnairePlanId?: string | null;
1913
+ name: string;
1914
+ description?: string | null;
1915
+ phaseCategory: $Enums.PhaseCategory;
1916
+ phaseType: $Enums.PhaseType;
1917
+ order: number;
1918
+ interestRate?: number | null;
1919
+ percentOfPrice?: number | null;
1920
+ collectFunds?: boolean | null;
1921
+ requiresPreviousPhaseCompletion?: boolean;
1922
+ minimumCompletionPercentage?: number | null;
1923
+ completionCriterion?: $Enums.CompletionCriterion | null;
1924
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1925
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1926
+ createdAt?: Date | string;
1927
+ updatedAt?: Date | string;
1928
+ };
1929
+ export type PropertyPaymentMethodPhaseUpdateWithoutDocumentationPlanInput = {
1930
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1931
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1932
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1933
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1934
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1935
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1936
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1937
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1938
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1939
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1940
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1941
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1942
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1943
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1944
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1945
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1946
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1947
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1948
+ paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1949
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1950
+ steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1951
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1952
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1953
+ eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
1954
+ };
1955
+ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInput = {
1956
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1957
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1958
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1959
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1960
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1961
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1962
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1963
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1964
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1965
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1966
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1967
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1968
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1969
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1970
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1971
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1972
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1973
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1974
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1975
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1976
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
1977
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
1978
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
1979
+ eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
1980
+ };
1981
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanInput = {
1982
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1983
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1984
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1985
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1986
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1987
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1988
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1989
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1990
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1991
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1992
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1993
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1994
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1995
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1996
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1997
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1998
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1999
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2000
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2001
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2002
+ };
2003
+ export type PropertyPaymentMethodPhaseCreateManyQuestionnairePlanInput = {
2004
+ id?: string;
2005
+ tenantId: string;
2006
+ paymentMethodId: string;
2007
+ paymentPlanId?: string | null;
2008
+ documentationPlanId?: string | null;
2009
+ name: string;
2010
+ description?: string | null;
2011
+ phaseCategory: $Enums.PhaseCategory;
2012
+ phaseType: $Enums.PhaseType;
2013
+ order: number;
2014
+ interestRate?: number | null;
2015
+ percentOfPrice?: number | null;
2016
+ collectFunds?: boolean | null;
2017
+ requiresPreviousPhaseCompletion?: boolean;
2018
+ minimumCompletionPercentage?: number | null;
2019
+ completionCriterion?: $Enums.CompletionCriterion | null;
2020
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2021
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2022
+ createdAt?: Date | string;
2023
+ updatedAt?: Date | string;
2024
+ };
2025
+ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnairePlanInput = {
2026
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2027
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
2028
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2029
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
2030
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
2031
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
2032
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2033
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2034
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
2035
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2036
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2037
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
2038
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2039
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2040
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2041
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2042
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
2043
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
2044
+ paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
2045
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
2046
+ steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
2047
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
2048
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
2049
+ eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
2050
+ };
2051
+ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnairePlanInput = {
2052
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2053
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2054
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
2055
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2056
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2057
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
2058
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2059
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
2060
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
2061
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
2062
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2063
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2064
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
2065
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2066
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2067
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
2068
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2069
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
2070
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2071
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2072
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
2073
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
2074
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
2075
+ eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
2076
+ };
2077
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutQuestionnairePlanInput = {
2078
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2079
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2080
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
2081
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2082
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1567
2083
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1568
2084
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1569
2085
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1584,6 +2100,8 @@ export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInput = {
1584
2100
  id?: string;
1585
2101
  tenantId: string;
1586
2102
  paymentMethodId: string;
2103
+ documentationPlanId?: string | null;
2104
+ questionnairePlanId?: string | null;
1587
2105
  name: string;
1588
2106
  description?: string | null;
1589
2107
  phaseCategory: $Enums.PhaseCategory;
@@ -1619,6 +2137,8 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
1619
2137
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1620
2138
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1621
2139
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
2140
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
2141
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1622
2142
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1623
2143
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1624
2144
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1628,6 +2148,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
1628
2148
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1629
2149
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1630
2150
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
2151
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2152
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1631
2153
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1632
2154
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1633
2155
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1652,6 +2174,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput
1652
2174
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1653
2175
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1654
2176
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
2177
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2178
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1655
2179
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1656
2180
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1657
2181
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1672,6 +2196,8 @@ export type PropertyPaymentMethodPhaseCreateManyPaymentMethodInput = {
1672
2196
  id?: string;
1673
2197
  tenantId: string;
1674
2198
  paymentPlanId?: string | null;
2199
+ documentationPlanId?: string | null;
2200
+ questionnairePlanId?: string | null;
1675
2201
  name: string;
1676
2202
  description?: string | null;
1677
2203
  phaseCategory: $Enums.PhaseCategory;
@@ -1707,6 +2233,8 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
1707
2233
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1708
2234
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1709
2235
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
2236
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
2237
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1710
2238
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1711
2239
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1712
2240
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1716,6 +2244,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput =
1716
2244
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1717
2245
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1718
2246
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2247
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2248
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1719
2249
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1720
2250
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1721
2251
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1740,6 +2270,8 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInp
1740
2270
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1741
2271
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1742
2272
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2273
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2274
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1743
2275
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1744
2276
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1745
2277
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1809,6 +2341,8 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
1809
2341
  tenantId?: boolean;
1810
2342
  paymentMethodId?: boolean;
1811
2343
  paymentPlanId?: boolean;
2344
+ documentationPlanId?: boolean;
2345
+ questionnairePlanId?: boolean;
1812
2346
  name?: boolean;
1813
2347
  description?: boolean;
1814
2348
  phaseCategory?: boolean;
@@ -1827,6 +2361,8 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
1827
2361
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1828
2362
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
1829
2363
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
2364
+ documentationPlan?: boolean | Prisma.PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs>;
2365
+ questionnairePlan?: boolean | Prisma.PropertyPaymentMethodPhase$questionnairePlanArgs<ExtArgs>;
1830
2366
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
1831
2367
  requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
1832
2368
  questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
@@ -1838,6 +2374,8 @@ export type PropertyPaymentMethodPhaseSelectScalar = {
1838
2374
  tenantId?: boolean;
1839
2375
  paymentMethodId?: boolean;
1840
2376
  paymentPlanId?: boolean;
2377
+ documentationPlanId?: boolean;
2378
+ questionnairePlanId?: boolean;
1841
2379
  name?: boolean;
1842
2380
  description?: boolean;
1843
2381
  phaseCategory?: boolean;
@@ -1854,11 +2392,13 @@ export type PropertyPaymentMethodPhaseSelectScalar = {
1854
2392
  createdAt?: boolean;
1855
2393
  updatedAt?: boolean;
1856
2394
  };
1857
- export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "paymentMethodId" | "paymentPlanId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "interestRate" | "percentOfPrice" | "collectFunds" | "requiresPreviousPhaseCompletion" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethodPhase"]>;
2395
+ export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "paymentMethodId" | "paymentPlanId" | "documentationPlanId" | "questionnairePlanId" | "name" | "description" | "phaseCategory" | "phaseType" | "order" | "interestRate" | "percentOfPrice" | "collectFunds" | "requiresPreviousPhaseCompletion" | "minimumCompletionPercentage" | "completionCriterion" | "stepDefinitionsSnapshot" | "requiredDocumentSnapshot" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethodPhase"]>;
1858
2396
  export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1859
2397
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1860
2398
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
1861
2399
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
2400
+ documentationPlan?: boolean | Prisma.PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs>;
2401
+ questionnairePlan?: boolean | Prisma.PropertyPaymentMethodPhase$questionnairePlanArgs<ExtArgs>;
1862
2402
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
1863
2403
  requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
1864
2404
  questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
@@ -1871,6 +2411,8 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
1871
2411
  tenant: Prisma.$TenantPayload<ExtArgs>;
1872
2412
  paymentMethod: Prisma.$PropertyPaymentMethodPayload<ExtArgs>;
1873
2413
  paymentPlan: Prisma.$PaymentPlanPayload<ExtArgs> | null;
2414
+ documentationPlan: Prisma.$DocumentationPlanPayload<ExtArgs> | null;
2415
+ questionnairePlan: Prisma.$QuestionnairePlanPayload<ExtArgs> | null;
1874
2416
  steps: Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>[];
1875
2417
  requiredDocuments: Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>[];
1876
2418
  questionnaireFields: Prisma.$PaymentMethodPhaseFieldPayload<ExtArgs>[];
@@ -1881,6 +2423,8 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
1881
2423
  tenantId: string;
1882
2424
  paymentMethodId: string;
1883
2425
  paymentPlanId: string | null;
2426
+ documentationPlanId: string | null;
2427
+ questionnairePlanId: string | null;
1884
2428
  name: string;
1885
2429
  description: string | null;
1886
2430
  phaseCategory: $Enums.PhaseCategory;
@@ -2176,6 +2720,8 @@ export interface Prisma__PropertyPaymentMethodPhaseClient<T, Null = never, ExtAr
2176
2720
  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>;
2177
2721
  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>;
2178
2722
  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>;
2723
+ documentationPlan<T extends Prisma.PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs>>): Prisma.Prisma__DocumentationPlanClient<runtime.Types.Result.GetResult<Prisma.$DocumentationPlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2724
+ questionnairePlan<T extends Prisma.PropertyPaymentMethodPhase$questionnairePlanArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$questionnairePlanArgs<ExtArgs>>): Prisma.Prisma__QuestionnairePlanClient<runtime.Types.Result.GetResult<Prisma.$QuestionnairePlanPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2179
2725
  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>;
2180
2726
  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>;
2181
2727
  questionnaireFields<T extends Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodPhaseFieldPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -2209,6 +2755,8 @@ export interface PropertyPaymentMethodPhaseFieldRefs {
2209
2755
  readonly tenantId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2210
2756
  readonly paymentMethodId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2211
2757
  readonly paymentPlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2758
+ readonly documentationPlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2759
+ readonly questionnairePlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2212
2760
  readonly name: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2213
2761
  readonly description: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2214
2762
  readonly phaseCategory: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'PhaseCategory'>;
@@ -2569,6 +3117,42 @@ export type PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs extends runtime.T
2569
3117
  include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
2570
3118
  where?: Prisma.PaymentPlanWhereInput;
2571
3119
  };
3120
+ /**
3121
+ * PropertyPaymentMethodPhase.documentationPlan
3122
+ */
3123
+ export type PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3124
+ /**
3125
+ * Select specific fields to fetch from the DocumentationPlan
3126
+ */
3127
+ select?: Prisma.DocumentationPlanSelect<ExtArgs> | null;
3128
+ /**
3129
+ * Omit specific fields from the DocumentationPlan
3130
+ */
3131
+ omit?: Prisma.DocumentationPlanOmit<ExtArgs> | null;
3132
+ /**
3133
+ * Choose, which related nodes to fetch as well
3134
+ */
3135
+ include?: Prisma.DocumentationPlanInclude<ExtArgs> | null;
3136
+ where?: Prisma.DocumentationPlanWhereInput;
3137
+ };
3138
+ /**
3139
+ * PropertyPaymentMethodPhase.questionnairePlan
3140
+ */
3141
+ export type PropertyPaymentMethodPhase$questionnairePlanArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3142
+ /**
3143
+ * Select specific fields to fetch from the QuestionnairePlan
3144
+ */
3145
+ select?: Prisma.QuestionnairePlanSelect<ExtArgs> | null;
3146
+ /**
3147
+ * Omit specific fields from the QuestionnairePlan
3148
+ */
3149
+ omit?: Prisma.QuestionnairePlanOmit<ExtArgs> | null;
3150
+ /**
3151
+ * Choose, which related nodes to fetch as well
3152
+ */
3153
+ include?: Prisma.QuestionnairePlanInclude<ExtArgs> | null;
3154
+ where?: Prisma.QuestionnairePlanWhereInput;
3155
+ };
2572
3156
  /**
2573
3157
  * PropertyPaymentMethodPhase.steps
2574
3158
  */