@valentine-efagene/qshelter-common 2.0.102 → 2.0.103

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.
@@ -30,6 +30,7 @@ export type PropertyPaymentMethodPhaseMinAggregateOutputType = {
30
30
  tenantId: string | null;
31
31
  paymentMethodId: string | null;
32
32
  paymentPlanId: string | null;
33
+ documentationPlanId: string | null;
33
34
  name: string | null;
34
35
  description: string | null;
35
36
  phaseCategory: $Enums.PhaseCategory | null;
@@ -49,6 +50,7 @@ export type PropertyPaymentMethodPhaseMaxAggregateOutputType = {
49
50
  tenantId: string | null;
50
51
  paymentMethodId: string | null;
51
52
  paymentPlanId: string | null;
53
+ documentationPlanId: string | null;
52
54
  name: string | null;
53
55
  description: string | null;
54
56
  phaseCategory: $Enums.PhaseCategory | null;
@@ -68,6 +70,7 @@ export type PropertyPaymentMethodPhaseCountAggregateOutputType = {
68
70
  tenantId: number;
69
71
  paymentMethodId: number;
70
72
  paymentPlanId: number;
73
+ documentationPlanId: number;
71
74
  name: number;
72
75
  description: number;
73
76
  phaseCategory: number;
@@ -102,6 +105,7 @@ export type PropertyPaymentMethodPhaseMinAggregateInputType = {
102
105
  tenantId?: true;
103
106
  paymentMethodId?: true;
104
107
  paymentPlanId?: true;
108
+ documentationPlanId?: true;
105
109
  name?: true;
106
110
  description?: true;
107
111
  phaseCategory?: true;
@@ -121,6 +125,7 @@ export type PropertyPaymentMethodPhaseMaxAggregateInputType = {
121
125
  tenantId?: true;
122
126
  paymentMethodId?: true;
123
127
  paymentPlanId?: true;
128
+ documentationPlanId?: true;
124
129
  name?: true;
125
130
  description?: true;
126
131
  phaseCategory?: true;
@@ -140,6 +145,7 @@ export type PropertyPaymentMethodPhaseCountAggregateInputType = {
140
145
  tenantId?: true;
141
146
  paymentMethodId?: true;
142
147
  paymentPlanId?: true;
148
+ documentationPlanId?: true;
143
149
  name?: true;
144
150
  description?: true;
145
151
  phaseCategory?: true;
@@ -238,6 +244,7 @@ export type PropertyPaymentMethodPhaseGroupByOutputType = {
238
244
  tenantId: string;
239
245
  paymentMethodId: string;
240
246
  paymentPlanId: string | null;
247
+ documentationPlanId: string | null;
241
248
  name: string;
242
249
  description: string | null;
243
250
  phaseCategory: $Enums.PhaseCategory;
@@ -270,6 +277,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
270
277
  tenantId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
271
278
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
272
279
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
280
+ documentationPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
273
281
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
274
282
  description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
275
283
  phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -288,6 +296,7 @@ export type PropertyPaymentMethodPhaseWhereInput = {
288
296
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
289
297
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
290
298
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
299
+ documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
291
300
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
292
301
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
293
302
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
@@ -298,6 +307,7 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
298
307
  tenantId?: Prisma.SortOrder;
299
308
  paymentMethodId?: Prisma.SortOrder;
300
309
  paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
310
+ documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
301
311
  name?: Prisma.SortOrder;
302
312
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
303
313
  phaseCategory?: Prisma.SortOrder;
@@ -316,6 +326,7 @@ export type PropertyPaymentMethodPhaseOrderByWithRelationInput = {
316
326
  tenant?: Prisma.TenantOrderByWithRelationInput;
317
327
  paymentMethod?: Prisma.PropertyPaymentMethodOrderByWithRelationInput;
318
328
  paymentPlan?: Prisma.PaymentPlanOrderByWithRelationInput;
329
+ documentationPlan?: Prisma.DocumentationPlanOrderByWithRelationInput;
319
330
  steps?: Prisma.PaymentMethodPhaseStepOrderByRelationAggregateInput;
320
331
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentOrderByRelationAggregateInput;
321
332
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldOrderByRelationAggregateInput;
@@ -330,6 +341,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
330
341
  tenantId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
331
342
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
332
343
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
344
+ documentationPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
333
345
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
334
346
  description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
335
347
  phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -348,6 +360,7 @@ export type PropertyPaymentMethodPhaseWhereUniqueInput = Prisma.AtLeast<{
348
360
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
349
361
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
350
362
  paymentPlan?: Prisma.XOR<Prisma.PaymentPlanNullableScalarRelationFilter, Prisma.PaymentPlanWhereInput> | null;
363
+ documentationPlan?: Prisma.XOR<Prisma.DocumentationPlanNullableScalarRelationFilter, Prisma.DocumentationPlanWhereInput> | null;
351
364
  steps?: Prisma.PaymentMethodPhaseStepListRelationFilter;
352
365
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentListRelationFilter;
353
366
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldListRelationFilter;
@@ -358,6 +371,7 @@ export type PropertyPaymentMethodPhaseOrderByWithAggregationInput = {
358
371
  tenantId?: Prisma.SortOrder;
359
372
  paymentMethodId?: Prisma.SortOrder;
360
373
  paymentPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
374
+ documentationPlanId?: Prisma.SortOrderInput | Prisma.SortOrder;
361
375
  name?: Prisma.SortOrder;
362
376
  description?: Prisma.SortOrderInput | Prisma.SortOrder;
363
377
  phaseCategory?: Prisma.SortOrder;
@@ -387,6 +401,7 @@ export type PropertyPaymentMethodPhaseScalarWhereWithAggregatesInput = {
387
401
  tenantId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
388
402
  paymentMethodId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
389
403
  paymentPlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
404
+ documentationPlanId?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
390
405
  name?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string;
391
406
  description?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethodPhase"> | string | null;
392
407
  phaseCategory?: Prisma.EnumPhaseCategoryWithAggregatesFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -423,6 +438,7 @@ export type PropertyPaymentMethodPhaseCreateInput = {
423
438
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
424
439
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
425
440
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
441
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
426
442
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
427
443
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
428
444
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -433,6 +449,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateInput = {
433
449
  tenantId: string;
434
450
  paymentMethodId: string;
435
451
  paymentPlanId?: string | null;
452
+ documentationPlanId?: string | null;
436
453
  name: string;
437
454
  description?: string | null;
438
455
  phaseCategory: $Enums.PhaseCategory;
@@ -473,6 +490,7 @@ export type PropertyPaymentMethodPhaseUpdateInput = {
473
490
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
474
491
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
475
492
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
493
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
476
494
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
477
495
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
478
496
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -483,6 +501,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateInput = {
483
501
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
484
502
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
485
503
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
504
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
486
505
  name?: Prisma.StringFieldUpdateOperationsInput | string;
487
506
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
488
507
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -508,6 +527,7 @@ export type PropertyPaymentMethodPhaseCreateManyInput = {
508
527
  tenantId: string;
509
528
  paymentMethodId: string;
510
529
  paymentPlanId?: string | null;
530
+ documentationPlanId?: string | null;
511
531
  name: string;
512
532
  description?: string | null;
513
533
  phaseCategory: $Enums.PhaseCategory;
@@ -547,6 +567,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyInput = {
547
567
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
548
568
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
549
569
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
570
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
550
571
  name?: Prisma.StringFieldUpdateOperationsInput | string;
551
572
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
552
573
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -581,6 +602,7 @@ export type PropertyPaymentMethodPhaseCountOrderByAggregateInput = {
581
602
  tenantId?: Prisma.SortOrder;
582
603
  paymentMethodId?: Prisma.SortOrder;
583
604
  paymentPlanId?: Prisma.SortOrder;
605
+ documentationPlanId?: Prisma.SortOrder;
584
606
  name?: Prisma.SortOrder;
585
607
  description?: Prisma.SortOrder;
586
608
  phaseCategory?: Prisma.SortOrder;
@@ -608,6 +630,7 @@ export type PropertyPaymentMethodPhaseMaxOrderByAggregateInput = {
608
630
  tenantId?: Prisma.SortOrder;
609
631
  paymentMethodId?: Prisma.SortOrder;
610
632
  paymentPlanId?: Prisma.SortOrder;
633
+ documentationPlanId?: Prisma.SortOrder;
611
634
  name?: Prisma.SortOrder;
612
635
  description?: Prisma.SortOrder;
613
636
  phaseCategory?: Prisma.SortOrder;
@@ -627,6 +650,7 @@ export type PropertyPaymentMethodPhaseMinOrderByAggregateInput = {
627
650
  tenantId?: Prisma.SortOrder;
628
651
  paymentMethodId?: Prisma.SortOrder;
629
652
  paymentPlanId?: Prisma.SortOrder;
653
+ documentationPlanId?: Prisma.SortOrder;
630
654
  name?: Prisma.SortOrder;
631
655
  description?: Prisma.SortOrder;
632
656
  phaseCategory?: Prisma.SortOrder;
@@ -689,6 +713,44 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantNestedInpu
689
713
  updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutTenantInput[];
690
714
  deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
691
715
  };
716
+ export type PropertyPaymentMethodPhaseCreateNestedManyWithoutDocumentationPlanInput = {
717
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput[];
718
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput[];
719
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope;
720
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
721
+ };
722
+ export type PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutDocumentationPlanInput = {
723
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput[];
724
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput[];
725
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope;
726
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
727
+ };
728
+ export type PropertyPaymentMethodPhaseUpdateManyWithoutDocumentationPlanNestedInput = {
729
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput[];
730
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput[];
731
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput[];
732
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope;
733
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
734
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
735
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
736
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
737
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput[];
738
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput[];
739
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
740
+ };
741
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanNestedInput = {
742
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput[];
743
+ connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput[];
744
+ upsert?: Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput[];
745
+ createMany?: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope;
746
+ set?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
747
+ disconnect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
748
+ delete?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
749
+ connect?: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput | Prisma.PropertyPaymentMethodPhaseWhereUniqueInput[];
750
+ update?: Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput[];
751
+ updateMany?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput[];
752
+ deleteMany?: Prisma.PropertyPaymentMethodPhaseScalarWhereInput | Prisma.PropertyPaymentMethodPhaseScalarWhereInput[];
753
+ };
692
754
  export type PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentPlanInput = {
693
755
  create?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput> | Prisma.PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput[] | Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput[];
694
756
  connectOrCreate?: Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput | Prisma.PropertyPaymentMethodPhaseCreateOrConnectWithoutPaymentPlanInput[];
@@ -844,6 +906,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutTenantInput = {
844
906
  updatedAt?: Date | string;
845
907
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
846
908
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
909
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
847
910
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
848
911
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
849
912
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -853,6 +916,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutTenantInput = {
853
916
  id?: string;
854
917
  paymentMethodId: string;
855
918
  paymentPlanId?: string | null;
919
+ documentationPlanId?: string | null;
856
920
  name: string;
857
921
  description?: string | null;
858
922
  phaseCategory: $Enums.PhaseCategory;
@@ -902,6 +966,7 @@ export type PropertyPaymentMethodPhaseScalarWhereInput = {
902
966
  tenantId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
903
967
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
904
968
  paymentPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
969
+ documentationPlanId?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
905
970
  name?: Prisma.StringFilter<"PropertyPaymentMethodPhase"> | string;
906
971
  description?: Prisma.StringNullableFilter<"PropertyPaymentMethodPhase"> | string | null;
907
972
  phaseCategory?: Prisma.EnumPhaseCategoryFilter<"PropertyPaymentMethodPhase"> | $Enums.PhaseCategory;
@@ -918,6 +983,77 @@ export type PropertyPaymentMethodPhaseScalarWhereInput = {
918
983
  createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
919
984
  updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodPhase"> | Date | string;
920
985
  };
986
+ export type PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput = {
987
+ id?: string;
988
+ name: string;
989
+ description?: string | null;
990
+ phaseCategory: $Enums.PhaseCategory;
991
+ phaseType: $Enums.PhaseType;
992
+ order: number;
993
+ interestRate?: number | null;
994
+ percentOfPrice?: number | null;
995
+ collectFunds?: boolean | null;
996
+ requiresPreviousPhaseCompletion?: boolean;
997
+ minimumCompletionPercentage?: number | null;
998
+ completionCriterion?: $Enums.CompletionCriterion | null;
999
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1000
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1001
+ createdAt?: Date | string;
1002
+ updatedAt?: Date | string;
1003
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1004
+ paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1005
+ paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1006
+ steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1007
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1008
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
1009
+ eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
1010
+ };
1011
+ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput = {
1012
+ id?: string;
1013
+ tenantId: string;
1014
+ paymentMethodId: string;
1015
+ paymentPlanId?: string | null;
1016
+ name: string;
1017
+ description?: string | null;
1018
+ phaseCategory: $Enums.PhaseCategory;
1019
+ phaseType: $Enums.PhaseType;
1020
+ order: number;
1021
+ interestRate?: number | null;
1022
+ percentOfPrice?: number | null;
1023
+ collectFunds?: boolean | null;
1024
+ requiresPreviousPhaseCompletion?: boolean;
1025
+ minimumCompletionPercentage?: number | null;
1026
+ completionCriterion?: $Enums.CompletionCriterion | null;
1027
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1028
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1029
+ createdAt?: Date | string;
1030
+ updatedAt?: Date | string;
1031
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedCreateNestedManyWithoutPhaseInput;
1032
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedCreateNestedManyWithoutPhaseInput;
1033
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedCreateNestedManyWithoutPhaseInput;
1034
+ eventAttachments?: Prisma.PhaseEventAttachmentUncheckedCreateNestedManyWithoutPhaseInput;
1035
+ };
1036
+ export type PropertyPaymentMethodPhaseCreateOrConnectWithoutDocumentationPlanInput = {
1037
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1038
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput>;
1039
+ };
1040
+ export type PropertyPaymentMethodPhaseCreateManyDocumentationPlanInputEnvelope = {
1041
+ data: Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInput | Prisma.PropertyPaymentMethodPhaseCreateManyDocumentationPlanInput[];
1042
+ skipDuplicates?: boolean;
1043
+ };
1044
+ export type PropertyPaymentMethodPhaseUpsertWithWhereUniqueWithoutDocumentationPlanInput = {
1045
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1046
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInput>;
1047
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseCreateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedCreateWithoutDocumentationPlanInput>;
1048
+ };
1049
+ export type PropertyPaymentMethodPhaseUpdateWithWhereUniqueWithoutDocumentationPlanInput = {
1050
+ where: Prisma.PropertyPaymentMethodPhaseWhereUniqueInput;
1051
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateWithoutDocumentationPlanInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInput>;
1052
+ };
1053
+ export type PropertyPaymentMethodPhaseUpdateManyWithWhereWithoutDocumentationPlanInput = {
1054
+ where: Prisma.PropertyPaymentMethodPhaseScalarWhereInput;
1055
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseUpdateManyMutationInput, Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanInput>;
1056
+ };
921
1057
  export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
922
1058
  id?: string;
923
1059
  name: string;
@@ -937,6 +1073,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentPlanInput = {
937
1073
  updatedAt?: Date | string;
938
1074
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
939
1075
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1076
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
940
1077
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
941
1078
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
942
1079
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -946,6 +1083,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentPlanInput = {
946
1083
  id?: string;
947
1084
  tenantId: string;
948
1085
  paymentMethodId: string;
1086
+ documentationPlanId?: string | null;
949
1087
  name: string;
950
1088
  description?: string | null;
951
1089
  phaseCategory: $Enums.PhaseCategory;
@@ -1006,6 +1144,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutPaymentMethodInput = {
1006
1144
  updatedAt?: Date | string;
1007
1145
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1008
1146
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1147
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1009
1148
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1010
1149
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1011
1150
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -1015,6 +1154,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutPaymentMethodInput =
1015
1154
  id?: string;
1016
1155
  tenantId: string;
1017
1156
  paymentPlanId?: string | null;
1157
+ documentationPlanId?: string | null;
1018
1158
  name: string;
1019
1159
  description?: string | null;
1020
1160
  phaseCategory: $Enums.PhaseCategory;
@@ -1076,6 +1216,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutEventAttachmentsInput = {
1076
1216
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1077
1217
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1078
1218
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1219
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1079
1220
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1080
1221
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1081
1222
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
@@ -1085,6 +1226,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutEventAttachmentsInpu
1085
1226
  tenantId: string;
1086
1227
  paymentMethodId: string;
1087
1228
  paymentPlanId?: string | null;
1229
+ documentationPlanId?: string | null;
1088
1230
  name: string;
1089
1231
  description?: string | null;
1090
1232
  phaseCategory: $Enums.PhaseCategory;
@@ -1137,6 +1279,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutEventAttachmentsInput = {
1137
1279
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1138
1280
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1139
1281
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1282
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1140
1283
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1141
1284
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1142
1285
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1146,6 +1289,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutEventAttachmentsInpu
1146
1289
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1147
1290
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1148
1291
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1292
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1149
1293
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1150
1294
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1151
1295
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1185,6 +1329,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutStepsInput = {
1185
1329
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1186
1330
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1187
1331
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1332
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1188
1333
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1189
1334
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
1190
1335
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
@@ -1194,6 +1339,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutStepsInput = {
1194
1339
  tenantId: string;
1195
1340
  paymentMethodId: string;
1196
1341
  paymentPlanId?: string | null;
1342
+ documentationPlanId?: string | null;
1197
1343
  name: string;
1198
1344
  description?: string | null;
1199
1345
  phaseCategory: $Enums.PhaseCategory;
@@ -1246,6 +1392,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutStepsInput = {
1246
1392
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1247
1393
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1248
1394
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1395
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1249
1396
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1250
1397
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1251
1398
  eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
@@ -1255,6 +1402,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutStepsInput = {
1255
1402
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1256
1403
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1257
1404
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1405
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1258
1406
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1259
1407
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1260
1408
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1294,6 +1442,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutRequiredDocumentsInput = {
1294
1442
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1295
1443
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1296
1444
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1445
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1297
1446
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1298
1447
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldCreateNestedManyWithoutPhaseInput;
1299
1448
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
@@ -1303,6 +1452,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutRequiredDocumentsInp
1303
1452
  tenantId: string;
1304
1453
  paymentMethodId: string;
1305
1454
  paymentPlanId?: string | null;
1455
+ documentationPlanId?: string | null;
1306
1456
  name: string;
1307
1457
  description?: string | null;
1308
1458
  phaseCategory: $Enums.PhaseCategory;
@@ -1355,6 +1505,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutRequiredDocumentsInput = {
1355
1505
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1356
1506
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1357
1507
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1508
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1358
1509
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1359
1510
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1360
1511
  eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
@@ -1364,6 +1515,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutRequiredDocumentsInp
1364
1515
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1365
1516
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1366
1517
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1518
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1367
1519
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1368
1520
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1369
1521
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1403,6 +1555,7 @@ export type PropertyPaymentMethodPhaseCreateWithoutQuestionnaireFieldsInput = {
1403
1555
  tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodPhasesInput;
1404
1556
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPhasesInput;
1405
1557
  paymentPlan?: Prisma.PaymentPlanCreateNestedOneWithoutMethodPhasesInput;
1558
+ documentationPlan?: Prisma.DocumentationPlanCreateNestedOneWithoutMethodPhasesInput;
1406
1559
  steps?: Prisma.PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput;
1407
1560
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentCreateNestedManyWithoutPhaseInput;
1408
1561
  eventAttachments?: Prisma.PhaseEventAttachmentCreateNestedManyWithoutPhaseInput;
@@ -1412,6 +1565,7 @@ export type PropertyPaymentMethodPhaseUncheckedCreateWithoutQuestionnaireFieldsI
1412
1565
  tenantId: string;
1413
1566
  paymentMethodId: string;
1414
1567
  paymentPlanId?: string | null;
1568
+ documentationPlanId?: string | null;
1415
1569
  name: string;
1416
1570
  description?: string | null;
1417
1571
  phaseCategory: $Enums.PhaseCategory;
@@ -1464,6 +1618,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutQuestionnaireFieldsInput = {
1464
1618
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1465
1619
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1466
1620
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1621
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1467
1622
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1468
1623
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1469
1624
  eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
@@ -1473,6 +1628,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutQuestionnaireFieldsI
1473
1628
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1474
1629
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1475
1630
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1631
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1476
1632
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1477
1633
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1478
1634
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1496,6 +1652,7 @@ export type PropertyPaymentMethodPhaseCreateManyTenantInput = {
1496
1652
  id?: string;
1497
1653
  paymentMethodId: string;
1498
1654
  paymentPlanId?: string | null;
1655
+ documentationPlanId?: string | null;
1499
1656
  name: string;
1500
1657
  description?: string | null;
1501
1658
  phaseCategory: $Enums.PhaseCategory;
@@ -1531,6 +1688,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutTenantInput = {
1531
1688
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1532
1689
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1533
1690
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1691
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1534
1692
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1535
1693
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1536
1694
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1540,6 +1698,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutTenantInput = {
1540
1698
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1541
1699
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1542
1700
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1701
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1543
1702
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1544
1703
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1545
1704
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1564,6 +1723,99 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutTenantInput = {
1564
1723
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1565
1724
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1566
1725
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1726
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1727
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1728
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1729
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1730
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1731
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1732
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1733
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1734
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1735
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1736
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1737
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1738
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1739
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1740
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1741
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1742
+ };
1743
+ export type PropertyPaymentMethodPhaseCreateManyDocumentationPlanInput = {
1744
+ id?: string;
1745
+ tenantId: string;
1746
+ paymentMethodId: string;
1747
+ paymentPlanId?: string | null;
1748
+ name: string;
1749
+ description?: string | null;
1750
+ phaseCategory: $Enums.PhaseCategory;
1751
+ phaseType: $Enums.PhaseType;
1752
+ order: number;
1753
+ interestRate?: number | null;
1754
+ percentOfPrice?: number | null;
1755
+ collectFunds?: boolean | null;
1756
+ requiresPreviousPhaseCompletion?: boolean;
1757
+ minimumCompletionPercentage?: number | null;
1758
+ completionCriterion?: $Enums.CompletionCriterion | null;
1759
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1760
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1761
+ createdAt?: Date | string;
1762
+ updatedAt?: Date | string;
1763
+ };
1764
+ export type PropertyPaymentMethodPhaseUpdateWithoutDocumentationPlanInput = {
1765
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1766
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1767
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1768
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1769
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1770
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1771
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1772
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1773
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1774
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1775
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1776
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1777
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1778
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1779
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1780
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1781
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1782
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1783
+ paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1784
+ steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1785
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1786
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
1787
+ eventAttachments?: Prisma.PhaseEventAttachmentUpdateManyWithoutPhaseNestedInput;
1788
+ };
1789
+ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutDocumentationPlanInput = {
1790
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1791
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1792
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1793
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1794
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1795
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1796
+ phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
1797
+ phaseType?: Prisma.EnumPhaseTypeFieldUpdateOperationsInput | $Enums.PhaseType;
1798
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
1799
+ interestRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1800
+ percentOfPrice?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1801
+ collectFunds?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null;
1802
+ requiresPreviousPhaseCompletion?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1803
+ minimumCompletionPercentage?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1804
+ completionCriterion?: Prisma.NullableEnumCompletionCriterionFieldUpdateOperationsInput | $Enums.CompletionCriterion | null;
1805
+ stepDefinitionsSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1806
+ requiredDocumentSnapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
1807
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1808
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1809
+ steps?: Prisma.PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput;
1810
+ requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUncheckedUpdateManyWithoutPhaseNestedInput;
1811
+ questionnaireFields?: Prisma.PaymentMethodPhaseFieldUncheckedUpdateManyWithoutPhaseNestedInput;
1812
+ eventAttachments?: Prisma.PhaseEventAttachmentUncheckedUpdateManyWithoutPhaseNestedInput;
1813
+ };
1814
+ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutDocumentationPlanInput = {
1815
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1816
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1817
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1818
+ paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1567
1819
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1568
1820
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1569
1821
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1584,6 +1836,7 @@ export type PropertyPaymentMethodPhaseCreateManyPaymentPlanInput = {
1584
1836
  id?: string;
1585
1837
  tenantId: string;
1586
1838
  paymentMethodId: string;
1839
+ documentationPlanId?: string | null;
1587
1840
  name: string;
1588
1841
  description?: string | null;
1589
1842
  phaseCategory: $Enums.PhaseCategory;
@@ -1619,6 +1872,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentPlanInput = {
1619
1872
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1620
1873
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1621
1874
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPhasesNestedInput;
1875
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1622
1876
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1623
1877
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1624
1878
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1628,6 +1882,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentPlanInput = {
1628
1882
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1629
1883
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1630
1884
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1885
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1631
1886
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1632
1887
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1633
1888
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1652,6 +1907,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentPlanInput
1652
1907
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1653
1908
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1654
1909
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
1910
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1655
1911
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1656
1912
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1657
1913
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1672,6 +1928,7 @@ export type PropertyPaymentMethodPhaseCreateManyPaymentMethodInput = {
1672
1928
  id?: string;
1673
1929
  tenantId: string;
1674
1930
  paymentPlanId?: string | null;
1931
+ documentationPlanId?: string | null;
1675
1932
  name: string;
1676
1933
  description?: string | null;
1677
1934
  phaseCategory: $Enums.PhaseCategory;
@@ -1707,6 +1964,7 @@ export type PropertyPaymentMethodPhaseUpdateWithoutPaymentMethodInput = {
1707
1964
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1708
1965
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodPhasesNestedInput;
1709
1966
  paymentPlan?: Prisma.PaymentPlanUpdateOneWithoutMethodPhasesNestedInput;
1967
+ documentationPlan?: Prisma.DocumentationPlanUpdateOneWithoutMethodPhasesNestedInput;
1710
1968
  steps?: Prisma.PaymentMethodPhaseStepUpdateManyWithoutPhaseNestedInput;
1711
1969
  requiredDocuments?: Prisma.PaymentMethodPhaseDocumentUpdateManyWithoutPhaseNestedInput;
1712
1970
  questionnaireFields?: Prisma.PaymentMethodPhaseFieldUpdateManyWithoutPhaseNestedInput;
@@ -1716,6 +1974,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateWithoutPaymentMethodInput =
1716
1974
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1717
1975
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1718
1976
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1977
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1719
1978
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1720
1979
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1721
1980
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1740,6 +1999,7 @@ export type PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodInp
1740
1999
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1741
2000
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1742
2001
  paymentPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2002
+ documentationPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1743
2003
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1744
2004
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1745
2005
  phaseCategory?: Prisma.EnumPhaseCategoryFieldUpdateOperationsInput | $Enums.PhaseCategory;
@@ -1809,6 +2069,7 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
1809
2069
  tenantId?: boolean;
1810
2070
  paymentMethodId?: boolean;
1811
2071
  paymentPlanId?: boolean;
2072
+ documentationPlanId?: boolean;
1812
2073
  name?: boolean;
1813
2074
  description?: boolean;
1814
2075
  phaseCategory?: boolean;
@@ -1827,6 +2088,7 @@ export type PropertyPaymentMethodPhaseSelect<ExtArgs extends runtime.Types.Exten
1827
2088
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1828
2089
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
1829
2090
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
2091
+ documentationPlan?: boolean | Prisma.PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs>;
1830
2092
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
1831
2093
  requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
1832
2094
  questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
@@ -1838,6 +2100,7 @@ export type PropertyPaymentMethodPhaseSelectScalar = {
1838
2100
  tenantId?: boolean;
1839
2101
  paymentMethodId?: boolean;
1840
2102
  paymentPlanId?: boolean;
2103
+ documentationPlanId?: boolean;
1841
2104
  name?: boolean;
1842
2105
  description?: boolean;
1843
2106
  phaseCategory?: boolean;
@@ -1854,11 +2117,12 @@ export type PropertyPaymentMethodPhaseSelectScalar = {
1854
2117
  createdAt?: boolean;
1855
2118
  updatedAt?: boolean;
1856
2119
  };
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"]>;
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"]>;
1858
2121
  export type PropertyPaymentMethodPhaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1859
2122
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
1860
2123
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
1861
2124
  paymentPlan?: boolean | Prisma.PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs>;
2125
+ documentationPlan?: boolean | Prisma.PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs>;
1862
2126
  steps?: boolean | Prisma.PropertyPaymentMethodPhase$stepsArgs<ExtArgs>;
1863
2127
  requiredDocuments?: boolean | Prisma.PropertyPaymentMethodPhase$requiredDocumentsArgs<ExtArgs>;
1864
2128
  questionnaireFields?: boolean | Prisma.PropertyPaymentMethodPhase$questionnaireFieldsArgs<ExtArgs>;
@@ -1871,6 +2135,7 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
1871
2135
  tenant: Prisma.$TenantPayload<ExtArgs>;
1872
2136
  paymentMethod: Prisma.$PropertyPaymentMethodPayload<ExtArgs>;
1873
2137
  paymentPlan: Prisma.$PaymentPlanPayload<ExtArgs> | null;
2138
+ documentationPlan: Prisma.$DocumentationPlanPayload<ExtArgs> | null;
1874
2139
  steps: Prisma.$PaymentMethodPhaseStepPayload<ExtArgs>[];
1875
2140
  requiredDocuments: Prisma.$PaymentMethodPhaseDocumentPayload<ExtArgs>[];
1876
2141
  questionnaireFields: Prisma.$PaymentMethodPhaseFieldPayload<ExtArgs>[];
@@ -1881,6 +2146,7 @@ export type $PropertyPaymentMethodPhasePayload<ExtArgs extends runtime.Types.Ext
1881
2146
  tenantId: string;
1882
2147
  paymentMethodId: string;
1883
2148
  paymentPlanId: string | null;
2149
+ documentationPlanId: string | null;
1884
2150
  name: string;
1885
2151
  description: string | null;
1886
2152
  phaseCategory: $Enums.PhaseCategory;
@@ -2176,6 +2442,7 @@ export interface Prisma__PropertyPaymentMethodPhaseClient<T, Null = never, ExtAr
2176
2442
  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
2443
  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
2444
  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
+ 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>;
2179
2446
  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
2447
  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
2448
  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 +2476,7 @@ export interface PropertyPaymentMethodPhaseFieldRefs {
2209
2476
  readonly tenantId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2210
2477
  readonly paymentMethodId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2211
2478
  readonly paymentPlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2479
+ readonly documentationPlanId: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2212
2480
  readonly name: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2213
2481
  readonly description: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'String'>;
2214
2482
  readonly phaseCategory: Prisma.FieldRef<"PropertyPaymentMethodPhase", 'PhaseCategory'>;
@@ -2569,6 +2837,24 @@ export type PropertyPaymentMethodPhase$paymentPlanArgs<ExtArgs extends runtime.T
2569
2837
  include?: Prisma.PaymentPlanInclude<ExtArgs> | null;
2570
2838
  where?: Prisma.PaymentPlanWhereInput;
2571
2839
  };
2840
+ /**
2841
+ * PropertyPaymentMethodPhase.documentationPlan
2842
+ */
2843
+ export type PropertyPaymentMethodPhase$documentationPlanArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2844
+ /**
2845
+ * Select specific fields to fetch from the DocumentationPlan
2846
+ */
2847
+ select?: Prisma.DocumentationPlanSelect<ExtArgs> | null;
2848
+ /**
2849
+ * Omit specific fields from the DocumentationPlan
2850
+ */
2851
+ omit?: Prisma.DocumentationPlanOmit<ExtArgs> | null;
2852
+ /**
2853
+ * Choose, which related nodes to fetch as well
2854
+ */
2855
+ include?: Prisma.DocumentationPlanInclude<ExtArgs> | null;
2856
+ where?: Prisma.DocumentationPlanWhereInput;
2857
+ };
2572
2858
  /**
2573
2859
  * PropertyPaymentMethodPhase.steps
2574
2860
  */