@valentine-efagene/qshelter-common 2.0.103 → 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.
@@ -31,6 +31,7 @@ export type PropertyPaymentMethodPhaseMinAggregateOutputType = {
31
31
  paymentMethodId: string | null;
32
32
  paymentPlanId: string | null;
33
33
  documentationPlanId: string | null;
34
+ questionnairePlanId: string | null;
34
35
  name: string | null;
35
36
  description: string | null;
36
37
  phaseCategory: $Enums.PhaseCategory | null;
@@ -51,6 +52,7 @@ export type PropertyPaymentMethodPhaseMaxAggregateOutputType = {
51
52
  paymentMethodId: string | null;
52
53
  paymentPlanId: string | null;
53
54
  documentationPlanId: string | null;
55
+ questionnairePlanId: string | null;
54
56
  name: string | null;
55
57
  description: string | null;
56
58
  phaseCategory: $Enums.PhaseCategory | null;
@@ -71,6 +73,7 @@ export type PropertyPaymentMethodPhaseCountAggregateOutputType = {
71
73
  paymentMethodId: number;
72
74
  paymentPlanId: number;
73
75
  documentationPlanId: number;
76
+ questionnairePlanId: number;
74
77
  name: number;
75
78
  description: number;
76
79
  phaseCategory: number;
@@ -106,6 +109,7 @@ export type PropertyPaymentMethodPhaseMinAggregateInputType = {
106
109
  paymentMethodId?: true;
107
110
  paymentPlanId?: true;
108
111
  documentationPlanId?: true;
112
+ questionnairePlanId?: true;
109
113
  name?: true;
110
114
  description?: true;
111
115
  phaseCategory?: true;
@@ -126,6 +130,7 @@ export type PropertyPaymentMethodPhaseMaxAggregateInputType = {
126
130
  paymentMethodId?: true;
127
131
  paymentPlanId?: true;
128
132
  documentationPlanId?: true;
133
+ questionnairePlanId?: true;
129
134
  name?: true;
130
135
  description?: true;
131
136
  phaseCategory?: true;
@@ -146,6 +151,7 @@ export type PropertyPaymentMethodPhaseCountAggregateInputType = {
146
151
  paymentMethodId?: true;
147
152
  paymentPlanId?: true;
148
153
  documentationPlanId?: true;
154
+ questionnairePlanId?: true;
149
155
  name?: true;
150
156
  description?: true;
151
157
  phaseCategory?: true;
@@ -245,6 +251,7 @@ export type PropertyPaymentMethodPhaseGroupByOutputType = {
245
251
  paymentMethodId: string;
246
252
  paymentPlanId: string | null;
247
253
  documentationPlanId: string | null;
254
+ questionnairePlanId: string | null;
248
255
  name: string;
249
256
  description: string | null;
250
257
  phaseCategory: $Enums.PhaseCategory;
@@ -278,6 +285,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
278
285
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
279
286
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
280
287
  documentationPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
288
+ questionnairePlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
281
289
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
282
290
  description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
283
291
  phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -297,6 +305,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
297
305
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
298
306
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
299
307
  documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
308
+ questionnairePlan?: Prisma.XOR<Prisma.QuestionnairePlanNullableScalarRelationFilter, Prisma.QuestionnairePlanWhereInput> | null;
300
309
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
301
310
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
302
311
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
@@ -308,6 +317,7 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
308
317
  paymentMethodId?: Prisma.SortOrder;
309
318
  paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
310
319
  documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
320
+ questionnairePlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
311
321
  name?: Prisma.SortOrder;
312
322
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
313
323
  phaseCategory?: Prisma.SortOrder;
@@ -327,6 +337,7 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
327
337
  paymentMethod?: Prisma.PropertyPaymentMethodOrderByWithRelationInput;
328
338
  paymentPlan?: Prisma.PaymentPlanOrderByWithRelationInput;
329
339
  documentationPlan?: Prisma.DocumentationPlanOrderByWithRelationInput;
340
+ questionnairePlan?: Prisma.QuestionnairePlanOrderByWithRelationInput;
330
341
  steps?: Prisma.PaymentMethodPhaseStepOrderByRelationAggregateInput;
331
342
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentOrderByRelationAggregateInput;
332
343
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldOrderByRelationAggregateInput;
@@ -342,6 +353,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
342
353
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
343
354
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
344
355
  documentationPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
356
+ questionnairePlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
345
357
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
346
358
  description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
347
359
  phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -361,6 +373,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
361
373
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
362
374
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
363
375
  documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
376
+ questionnairePlan?: Prisma.XOR<Prisma.QuestionnairePlanNullableScalarRelationFilter, Prisma.QuestionnairePlanWhereInput> | null;
364
377
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
365
378
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
366
379
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
@@ -372,6 +385,7 @@ export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
372
385
  paymentMethodId?: Prisma.SortOrder;
373
386
  paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
374
387
  documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
388
+ questionnairePlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
375
389
  name?: Prisma.SortOrder;
376
390
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
377
391
  phaseCategory?: Prisma.SortOrder;
@@ -402,6 +416,7 @@ export type PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput = {
402
416
  paymentMethodId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
403
417
  paymentPlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
404
418
  documentationPlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
419
+ questionnairePlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
405
420
  name?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
406
421
  description?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
407
422
  phaseCategory?: Prisma.EnumPhaseCategoryWithAggregatesFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -439,6 +454,7 @@ export type PropertyPaymentMethodPhaseCreateInput = {
439
454
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
440
455
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
441
456
  documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
457
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
442
458
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
443
459
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
444
460
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -450,6 +466,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
450
466
  paymentMethodId: string;
451
467
  paymentPlanId?: string | null;
452
468
  documentationPlanId?: string | null;
469
+ questionnairePlanId?: string | null;
453
470
  name: string;
454
471
  description?: string | null;
455
472
  phaseCategory: $Enums.PhaseCategory;
@@ -491,6 +508,7 @@ export type PropertyPaymentMethodPhaseUpdateInput = {
491
508
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
492
509
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
493
510
  documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
511
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
494
512
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
495
513
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
496
514
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -502,6 +520,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
502
520
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
503
521
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
504
522
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
523
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
505
524
  name?: Prisma.StringFieldUpdateOperationsInput | string;
506
525
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
507
526
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -528,6 +547,7 @@ export type PropertyPaymentMethodPhaseCreateManyInput = {
528
547
  paymentMethodId: string;
529
548
  paymentPlanId?: string | null;
530
549
  documentationPlanId?: string | null;
550
+ questionnairePlanId?: string | null;
531
551
  name: string;
532
552
  description?: string | null;
533
553
  phaseCategory: $Enums.PhaseCategory;
@@ -568,6 +588,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyInput = {
568
588
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
569
589
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
570
590
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
591
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
571
592
  name?: Prisma.StringFieldUpdateOperationsInput | string;
572
593
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
573
594
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -603,6 +624,7 @@ export type PropertyPaymentMethodPhaseCountOrderByAggregateInput = {
603
624
  paymentMethodId?: Prisma.SortOrder;
604
625
  paymentPlanId?: Prisma.SortOrder;
605
626
  documentationPlanId?: Prisma.SortOrder;
627
+ questionnairePlanId?: Prisma.SortOrder;
606
628
  name?: Prisma.SortOrder;
607
629
  description?: Prisma.SortOrder;
608
630
  phaseCategory?: Prisma.SortOrder;
@@ -631,6 +653,7 @@ export type PropertyPaymentMethodPhaseMaxOrderByAggregateInput = {
631
653
  paymentMethodId?: Prisma.SortOrder;
632
654
  paymentPlanId?: Prisma.SortOrder;
633
655
  documentationPlanId?: Prisma.SortOrder;
656
+ questionnairePlanId?: Prisma.SortOrder;
634
657
  name?: Prisma.SortOrder;
635
658
  description?: Prisma.SortOrder;
636
659
  phaseCategory?: Prisma.SortOrder;
@@ -651,6 +674,7 @@ export type PropertyPaymentMethodPhaseMinOrderByAggregateInput = {
651
674
  paymentMethodId?: Prisma.SortOrder;
652
675
  paymentPlanId?: Prisma.SortOrder;
653
676
  documentationPlanId?: Prisma.SortOrder;
677
+ questionnairePlanId?: Prisma.SortOrder;
654
678
  name?: Prisma.SortOrder;
655
679
  description?: Prisma.SortOrder;
656
680
  phaseCategory?: Prisma.SortOrder;
@@ -751,6 +775,44 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPla
751
775
  updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput[];
752
776
  deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
753
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
+ };
754
816
  export type PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentPlanInput = {
755
817
  create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput[];
756
818
  connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput[];
@@ -907,6 +969,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutTenantInput = {
907
969
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
908
970
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
909
971
  documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
972
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
910
973
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
911
974
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
912
975
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -917,6 +980,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput = {
917
980
  paymentMethodId: string;
918
981
  paymentPlanId?: string | null;
919
982
  documentationPlanId?: string | null;
983
+ questionnairePlanId?: string | null;
920
984
  name: string;
921
985
  description?: string | null;
922
986
  phaseCategory: $Enums.PhaseCategory;
@@ -967,6 +1031,7 @@ export type PropertyPaymentMethodPhaseScalarWhereInput = {
967
1031
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
968
1032
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
969
1033
  documentationPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
1034
+ questionnairePlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
970
1035
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
971
1036
  description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
972
1037
  phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -1003,6 +1068,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput = {
1003
1068
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1004
1069
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1005
1070
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1071
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1006
1072
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1007
1073
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1008
1074
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -1013,6 +1079,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInp
1013
1079
  tenantId: string;
1014
1080
  paymentMethodId: string;
1015
1081
  paymentPlanId?: string | null;
1082
+ questionnairePlanId?: string | null;
1016
1083
  name: string;
1017
1084
  description?: string | null;
1018
1085
  phaseCategory: $Enums.PhaseCategory;
@@ -1054,6 +1121,79 @@ export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPla
1054
1121
  where: Prisma.PropertyPaymentMethodPhaseScalarWhereInput;
1055
1122
  data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanInput>;
1056
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
+ };
1057
1197
  export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
1058
1198
  id?: string;
1059
1199
  name: string;
@@ -1074,6 +1214,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
1074
1214
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1075
1215
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1076
1216
  documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1217
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1077
1218
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1078
1219
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1079
1220
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -1084,6 +1225,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
1084
1225
  tenantId: string;
1085
1226
  paymentMethodId: string;
1086
1227
  documentationPlanId?: string | null;
1228
+ questionnairePlanId?: string | null;
1087
1229
  name: string;
1088
1230
  description?: string | null;
1089
1231
  phaseCategory: $Enums.PhaseCategory;
@@ -1145,6 +1287,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
1145
1287
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1146
1288
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1147
1289
  documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1290
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1148
1291
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1149
1292
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1150
1293
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -1155,6 +1298,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput =
1155
1298
  tenantId: string;
1156
1299
  paymentPlanId?: string | null;
1157
1300
  documentationPlanId?: string | null;
1301
+ questionnairePlanId?: string | null;
1158
1302
  name: string;
1159
1303
  description?: string | null;
1160
1304
  phaseCategory: $Enums.PhaseCategory;
@@ -1217,6 +1361,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutEventAttachmentsInput = {
1217
1361
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1218
1362
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1219
1363
  documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1364
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1220
1365
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1221
1366
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1222
1367
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -1227,6 +1372,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutEventAttachmentsInpu
1227
1372
  paymentMethodId: string;
1228
1373
  paymentPlanId?: string | null;
1229
1374
  documentationPlanId?: string | null;
1375
+ questionnairePlanId?: string | null;
1230
1376
  name: string;
1231
1377
  description?: string | null;
1232
1378
  phaseCategory: $Enums.PhaseCategory;
@@ -1280,6 +1426,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutEventAttachmentsInput = {
1280
1426
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1281
1427
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1282
1428
  documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1429
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1283
1430
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1284
1431
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1285
1432
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1290,6 +1437,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutEventAttachmentsInpu
1290
1437
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1291
1438
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1292
1439
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1440
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1293
1441
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1294
1442
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1295
1443
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1330,6 +1478,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
1330
1478
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1331
1479
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1332
1480
  documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1481
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1333
1482
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1334
1483
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
1335
1484
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
@@ -1340,6 +1489,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
1340
1489
  paymentMethodId: string;
1341
1490
  paymentPlanId?: string | null;
1342
1491
  documentationPlanId?: string | null;
1492
+ questionnairePlanId?: string | null;
1343
1493
  name: string;
1344
1494
  description?: string | null;
1345
1495
  phaseCategory: $Enums.PhaseCategory;
@@ -1393,6 +1543,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutStepsInput = {
1393
1543
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1394
1544
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1395
1545
  documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1546
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1396
1547
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1397
1548
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1398
1549
  eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
@@ -1403,6 +1554,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
1403
1554
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1404
1555
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1405
1556
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1557
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1406
1558
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1407
1559
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1408
1560
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1443,6 +1595,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
1443
1595
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1444
1596
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1445
1597
  documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1598
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1446
1599
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1447
1600
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
1448
1601
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
@@ -1453,6 +1606,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInp
1453
1606
  paymentMethodId: string;
1454
1607
  paymentPlanId?: string | null;
1455
1608
  documentationPlanId?: string | null;
1609
+ questionnairePlanId?: string | null;
1456
1610
  name: string;
1457
1611
  description?: string | null;
1458
1612
  phaseCategory: $Enums.PhaseCategory;
@@ -1506,6 +1660,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput = {
1506
1660
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1507
1661
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1508
1662
  documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1663
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1509
1664
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1510
1665
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1511
1666
  eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
@@ -1516,6 +1671,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInp
1516
1671
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1517
1672
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1518
1673
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1674
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1519
1675
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1520
1676
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1521
1677
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1556,6 +1712,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput = {
1556
1712
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1557
1713
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1558
1714
  documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1715
+ questionnairePlan?: Prisma.QuestionnairePlanCreateNestedOneWithoutMethodPhasesInput;
1559
1716
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1560
1717
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1561
1718
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
@@ -1566,6 +1723,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsI
1566
1723
  paymentMethodId: string;
1567
1724
  paymentPlanId?: string | null;
1568
1725
  documentationPlanId?: string | null;
1726
+ questionnairePlanId?: string | null;
1569
1727
  name: string;
1570
1728
  description?: string | null;
1571
1729
  phaseCategory: $Enums.PhaseCategory;
@@ -1619,6 +1777,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput = {
1619
1777
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1620
1778
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1621
1779
  documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1780
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1622
1781
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1623
1782
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1624
1783
  eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
@@ -1629,6 +1788,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsI
1629
1788
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1630
1789
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1631
1790
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1791
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1632
1792
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1633
1793
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1634
1794
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1653,6 +1813,7 @@ export type PropertyPaymentMethodPhaseCreateManyTenantInput = {
1653
1813
  paymentMethodId: string;
1654
1814
  paymentPlanId?: string | null;
1655
1815
  documentationPlanId?: string | null;
1816
+ questionnairePlanId?: string | null;
1656
1817
  name: string;
1657
1818
  description?: string | null;
1658
1819
  phaseCategory: $Enums.PhaseCategory;
@@ -1689,6 +1850,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutTenantInput = {
1689
1850
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1690
1851
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1691
1852
  documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1853
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1692
1854
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1693
1855
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1694
1856
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1699,6 +1861,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutTenantInput = {
1699
1861
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1700
1862
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1701
1863
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1864
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1702
1865
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1703
1866
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1704
1867
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1724,6 +1887,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantInput = {
1724
1887
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1725
1888
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1726
1889
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1890
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1727
1891
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1728
1892
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1729
1893
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1745,6 +1909,7 @@ export type PropertyPaymentMethodPhaseCreateManyDocumentationPlanInput = {
1745
1909
  tenantId: string;
1746
1910
  paymentMethodId: string;
1747
1911
  paymentPlanId?: string | null;
1912
+ questionnairePlanId?: string | null;
1748
1913
  name: string;
1749
1914
  description?: string | null;
1750
1915
  phaseCategory: $Enums.PhaseCategory;
@@ -1781,6 +1946,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutDocumentationPlanInput = {
1781
1946
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1782
1947
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1783
1948
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1949
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1784
1950
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1785
1951
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1786
1952
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1791,6 +1957,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInp
1791
1957
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1792
1958
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1793
1959
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1960
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1794
1961
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1795
1962
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1796
1963
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1816,6 +1983,103 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPla
1816
1983
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1817
1984
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1818
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;
1819
2083
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1820
2084
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1821
2085
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1837,6 +2101,7 @@ export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInput = {
1837
2101
  tenantId: string;
1838
2102
  paymentMethodId: string;
1839
2103
  documentationPlanId?: string | null;
2104
+ questionnairePlanId?: string | null;
1840
2105
  name: string;
1841
2106
  description?: string | null;
1842
2107
  phaseCategory: $Enums.PhaseCategory;
@@ -1873,6 +2138,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
1873
2138
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1874
2139
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1875
2140
  documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
2141
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1876
2142
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1877
2143
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1878
2144
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1883,6 +2149,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
1883
2149
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1884
2150
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1885
2151
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2152
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1886
2153
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1887
2154
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1888
2155
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1908,6 +2175,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput
1908
2175
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1909
2176
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1910
2177
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2178
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1911
2179
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1912
2180
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1913
2181
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1929,6 +2197,7 @@ export type PropertyPaymentMethodPhaseCreateManyPaymentMethodInput = {
1929
2197
  tenantId: string;
1930
2198
  paymentPlanId?: string | null;
1931
2199
  documentationPlanId?: string | null;
2200
+ questionnairePlanId?: string | null;
1932
2201
  name: string;
1933
2202
  description?: string | null;
1934
2203
  phaseCategory: $Enums.PhaseCategory;
@@ -1965,6 +2234,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
1965
2234
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1966
2235
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1967
2236
  documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
2237
+ questionnairePlan?: Prisma.QuestionnairePlanUpdateOneWithoutMethodPhasesNestedInput;
1968
2238
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1969
2239
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1970
2240
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1975,6 +2245,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput =
1975
2245
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1976
2246
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1977
2247
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2248
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1978
2249
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1979
2250
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1980
2251
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -2000,6 +2271,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInp
2000
2271
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
2001
2272
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2002
2273
  documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2274
+ questionnairePlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2003
2275
  name?: Prisma.StringFieldUpdateOperationsInput | string;
2004
2276
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2005
2277
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -2070,6 +2342,7 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
2070
2342
  paymentMethodId?: boolean;
2071
2343
  paymentPlanId?: boolean;
2072
2344
  documentationPlanId?: boolean;
2345
+ questionnairePlanId?: boolean;
2073
2346
  name?: boolean;
2074
2347
  description?: boolean;
2075
2348
  phaseCategory?: boolean;
@@ -2089,6 +2362,7 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
2089
2362
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
2090
2363
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
2091
2364
  documentationPlan?: boolean | Prisma.PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs>;
2365
+ questionnairePlan?: boolean | Prisma.PropertyPaymentMethodPhase$questionnairePlanArgs<ExtArgs>;
2092
2366
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
2093
2367
  requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
2094
2368
  questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
@@ -2101,6 +2375,7 @@ export type PropertyPaymentMethodPhaseSelectScalar = {
2101
2375
  paymentMethodId?: boolean;
2102
2376
  paymentPlanId?: boolean;
2103
2377
  documentationPlanId?: boolean;
2378
+ questionnairePlanId?: boolean;
2104
2379
  name?: boolean;
2105
2380
  description?: boolean;
2106
2381
  phaseCategory?: boolean;
@@ -2117,12 +2392,13 @@ export type PropertyPaymentMethodPhaseSelectScalar = {
2117
2392
  createdAt?: boolean;
2118
2393
  updatedAt?: boolean;
2119
2394
  };
2120
- export type PropertyPaymentMethodPhaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "paymentMethodId" | "paymentPlanId" | "documentationPlanId" | "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"]>;
2121
2396
  export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2122
2397
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
2123
2398
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
2124
2399
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
2125
2400
  documentationPlan?: boolean | Prisma.PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs>;
2401
+ questionnairePlan?: boolean | Prisma.PropertyPaymentMethodPhase$questionnairePlanArgs<ExtArgs>;
2126
2402
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
2127
2403
  requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
2128
2404
  questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
@@ -2136,6 +2412,7 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
2136
2412
  paymentMethod: Prisma.$PropertyPaymentMethodPayload<ExtArgs>;
2137
2413
  paymentPlan: Prisma.$PaymentPlanPayload<ExtArgs> | null;
2138
2414
  documentationPlan: Prisma.$DocumentationPlanPayload<ExtArgs> | null;
2415
+ questionnairePlan: Prisma.$QuestionnairePlanPayload<ExtArgs> | null;
2139
2416
  steps: Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>[];
2140
2417
  requiredDocuments: Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>[];
2141
2418
  questionnaireFields: Prisma.$PaymentMethodPhaseFieldPayload<ExtArgs>[];
@@ -2147,6 +2424,7 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
2147
2424
  paymentMethodId: string;
2148
2425
  paymentPlanId: string | null;
2149
2426
  documentationPlanId: string | null;
2427
+ questionnairePlanId: string | null;
2150
2428
  name: string;
2151
2429
  description: string | null;
2152
2430
  phaseCategory: $Enums.PhaseCategory;
@@ -2443,6 +2721,7 @@ export interface Prisma__PropertyPaymentMethodPhaseClient<T, Null = never, ExtAr
2443
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>;
2444
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>;
2445
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>;
2446
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>;
2447
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>;
2448
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>;
@@ -2477,6 +2756,7 @@ export interface PropertyPaymentMethodPhaseFieldRefs {
2477
2756
  readonly paymentMethodId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2478
2757
  readonly paymentPlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2479
2758
  readonly documentationPlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2759
+ readonly questionnairePlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2480
2760
  readonly name: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2481
2761
  readonly description: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2482
2762
  readonly phaseCategory: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'PhaseCategory'>;
@@ -2855,6 +3135,24 @@ export type PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs extends run
2855
3135
  include?: Prisma.DocumentationPlanInclude<ExtArgs> | null;
2856
3136
  where?: Prisma.DocumentationPlanWhereInput;
2857
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
+ };
2858
3156
  /**
2859
3157
  * PropertyPaymentMethodPhase.steps
2860
3158
  */