@valentine-efagene/qshelter-common 2.0.24 → 2.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/generated/client/browser.d.ts +15 -0
  2. package/dist/generated/client/client.d.ts +15 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +200 -0
  4. package/dist/generated/client/enums.d.ts +25 -1
  5. package/dist/generated/client/enums.js +22 -1
  6. package/dist/generated/client/internal/class.d.ts +33 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +352 -1
  9. package/dist/generated/client/internal/prismaNamespace.js +120 -0
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +130 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +120 -0
  12. package/dist/generated/client/models/Contract.d.ts +511 -0
  13. package/dist/generated/client/models/DocumentRequirementRule.d.ts +2069 -0
  14. package/dist/generated/client/models/DocumentRequirementRule.js +1 -0
  15. package/dist/generated/client/models/PaymentMethodChangeRequest.d.ts +2820 -0
  16. package/dist/generated/client/models/PaymentMethodChangeRequest.js +1 -0
  17. package/dist/generated/client/models/Prequalification.d.ts +2339 -0
  18. package/dist/generated/client/models/Prequalification.js +1 -0
  19. package/dist/generated/client/models/Property.d.ts +211 -0
  20. package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1139 -131
  21. package/dist/generated/client/models/Tenant.d.ts +441 -0
  22. package/dist/generated/client/models/User.d.ts +815 -0
  23. package/dist/generated/client/models.d.ts +3 -0
  24. package/dist/src/middleware/tenant.d.ts +15 -0
  25. package/dist/src/middleware/tenant.js +5 -2
  26. package/package.json +1 -1
  27. package/prisma/migrations/20251230231217_add_prequalification_and_payment_method_change/migration.sql +137 -0
  28. package/prisma/schema.prisma +225 -5
@@ -220,6 +220,12 @@ export type PropertyPaymentMethodWhereInput = {
220
220
  properties?: Prisma.PropertyPaymentMethodLinkListRelationFilter;
221
221
  phases?: Prisma.PropertyPaymentMethodPhaseListRelationFilter;
222
222
  contracts?: Prisma.ContractListRelationFilter;
223
+ prequalifications?: Prisma.PrequalificationListRelationFilter;
224
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestListRelationFilter;
225
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestListRelationFilter;
226
+ documentRules?: Prisma.DocumentRequirementRuleListRelationFilter;
227
+ changeRulesFrom?: Prisma.DocumentRequirementRuleListRelationFilter;
228
+ changeRulesTo?: Prisma.DocumentRequirementRuleListRelationFilter;
223
229
  };
224
230
  export type PropertyPaymentMethodOrderByWithRelationInput = {
225
231
  id?: Prisma.SortOrder;
@@ -237,6 +243,12 @@ export type PropertyPaymentMethodOrderByWithRelationInput = {
237
243
  properties?: Prisma.PropertyPaymentMethodLinkOrderByRelationAggregateInput;
238
244
  phases?: Prisma.PropertyPaymentMethodPhaseOrderByRelationAggregateInput;
239
245
  contracts?: Prisma.ContractOrderByRelationAggregateInput;
246
+ prequalifications?: Prisma.PrequalificationOrderByRelationAggregateInput;
247
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
248
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
249
+ documentRules?: Prisma.DocumentRequirementRuleOrderByRelationAggregateInput;
250
+ changeRulesFrom?: Prisma.DocumentRequirementRuleOrderByRelationAggregateInput;
251
+ changeRulesTo?: Prisma.DocumentRequirementRuleOrderByRelationAggregateInput;
240
252
  _relevance?: Prisma.PropertyPaymentMethodOrderByRelevanceInput;
241
253
  };
242
254
  export type PropertyPaymentMethodWhereUniqueInput = Prisma.AtLeast<{
@@ -259,6 +271,12 @@ export type PropertyPaymentMethodWhereUniqueInput = Prisma.AtLeast<{
259
271
  properties?: Prisma.PropertyPaymentMethodLinkListRelationFilter;
260
272
  phases?: Prisma.PropertyPaymentMethodPhaseListRelationFilter;
261
273
  contracts?: Prisma.ContractListRelationFilter;
274
+ prequalifications?: Prisma.PrequalificationListRelationFilter;
275
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestListRelationFilter;
276
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestListRelationFilter;
277
+ documentRules?: Prisma.DocumentRequirementRuleListRelationFilter;
278
+ changeRulesFrom?: Prisma.DocumentRequirementRuleListRelationFilter;
279
+ changeRulesTo?: Prisma.DocumentRequirementRuleListRelationFilter;
262
280
  }, "id" | "tenantId_name">;
263
281
  export type PropertyPaymentMethodOrderByWithAggregationInput = {
264
282
  id?: Prisma.SortOrder;
@@ -309,6 +327,12 @@ export type PropertyPaymentMethodCreateInput = {
309
327
  properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
310
328
  phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
311
329
  contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
330
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
331
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
332
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
333
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
334
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
335
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
312
336
  };
313
337
  export type PropertyPaymentMethodUncheckedCreateInput = {
314
338
  id?: string;
@@ -325,6 +349,12 @@ export type PropertyPaymentMethodUncheckedCreateInput = {
325
349
  properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
326
350
  phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
327
351
  contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
352
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
353
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
354
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
355
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
356
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
357
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
328
358
  };
329
359
  export type PropertyPaymentMethodUpdateInput = {
330
360
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -341,6 +371,12 @@ export type PropertyPaymentMethodUpdateInput = {
341
371
  properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
342
372
  phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
343
373
  contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
374
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
375
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
376
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
377
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
378
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
379
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
344
380
  };
345
381
  export type PropertyPaymentMethodUncheckedUpdateInput = {
346
382
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -357,6 +393,12 @@ export type PropertyPaymentMethodUncheckedUpdateInput = {
357
393
  properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
358
394
  phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
359
395
  contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
396
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
397
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
398
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
399
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
400
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
401
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
360
402
  };
361
403
  export type PropertyPaymentMethodCreateManyInput = {
362
404
  id?: string;
@@ -542,6 +584,84 @@ export type PropertyPaymentMethodUpdateOneWithoutContractsNestedInput = {
542
584
  connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
543
585
  update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodUpdateToOneWithWhereWithoutContractsInput, Prisma.PropertyPaymentMethodUpdateWithoutContractsInput>, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutContractsInput>;
544
586
  };
587
+ export type PropertyPaymentMethodCreateNestedOneWithoutPrequalificationsInput = {
588
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPrequalificationsInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPrequalificationsInput>;
589
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutPrequalificationsInput;
590
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
591
+ };
592
+ export type PropertyPaymentMethodUpdateOneRequiredWithoutPrequalificationsNestedInput = {
593
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPrequalificationsInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPrequalificationsInput>;
594
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutPrequalificationsInput;
595
+ upsert?: Prisma.PropertyPaymentMethodUpsertWithoutPrequalificationsInput;
596
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
597
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodUpdateToOneWithWhereWithoutPrequalificationsInput, Prisma.PropertyPaymentMethodUpdateWithoutPrequalificationsInput>, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPrequalificationsInput>;
598
+ };
599
+ export type PropertyPaymentMethodCreateNestedOneWithoutChangeRequestsFromInput = {
600
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRequestsFromInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsFromInput>;
601
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutChangeRequestsFromInput;
602
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
603
+ };
604
+ export type PropertyPaymentMethodCreateNestedOneWithoutChangeRequestsToInput = {
605
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRequestsToInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsToInput>;
606
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutChangeRequestsToInput;
607
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
608
+ };
609
+ export type PropertyPaymentMethodUpdateOneRequiredWithoutChangeRequestsFromNestedInput = {
610
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRequestsFromInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsFromInput>;
611
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutChangeRequestsFromInput;
612
+ upsert?: Prisma.PropertyPaymentMethodUpsertWithoutChangeRequestsFromInput;
613
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
614
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodUpdateToOneWithWhereWithoutChangeRequestsFromInput, Prisma.PropertyPaymentMethodUpdateWithoutChangeRequestsFromInput>, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRequestsFromInput>;
615
+ };
616
+ export type PropertyPaymentMethodUpdateOneRequiredWithoutChangeRequestsToNestedInput = {
617
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRequestsToInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsToInput>;
618
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutChangeRequestsToInput;
619
+ upsert?: Prisma.PropertyPaymentMethodUpsertWithoutChangeRequestsToInput;
620
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
621
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodUpdateToOneWithWhereWithoutChangeRequestsToInput, Prisma.PropertyPaymentMethodUpdateWithoutChangeRequestsToInput>, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRequestsToInput>;
622
+ };
623
+ export type PropertyPaymentMethodCreateNestedOneWithoutDocumentRulesInput = {
624
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutDocumentRulesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutDocumentRulesInput>;
625
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutDocumentRulesInput;
626
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
627
+ };
628
+ export type PropertyPaymentMethodCreateNestedOneWithoutChangeRulesFromInput = {
629
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRulesFromInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRulesFromInput>;
630
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutChangeRulesFromInput;
631
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
632
+ };
633
+ export type PropertyPaymentMethodCreateNestedOneWithoutChangeRulesToInput = {
634
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRulesToInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRulesToInput>;
635
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutChangeRulesToInput;
636
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
637
+ };
638
+ export type PropertyPaymentMethodUpdateOneWithoutDocumentRulesNestedInput = {
639
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutDocumentRulesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutDocumentRulesInput>;
640
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutDocumentRulesInput;
641
+ upsert?: Prisma.PropertyPaymentMethodUpsertWithoutDocumentRulesInput;
642
+ disconnect?: Prisma.PropertyPaymentMethodWhereInput | boolean;
643
+ delete?: Prisma.PropertyPaymentMethodWhereInput | boolean;
644
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
645
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodUpdateToOneWithWhereWithoutDocumentRulesInput, Prisma.PropertyPaymentMethodUpdateWithoutDocumentRulesInput>, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutDocumentRulesInput>;
646
+ };
647
+ export type PropertyPaymentMethodUpdateOneWithoutChangeRulesFromNestedInput = {
648
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRulesFromInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRulesFromInput>;
649
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutChangeRulesFromInput;
650
+ upsert?: Prisma.PropertyPaymentMethodUpsertWithoutChangeRulesFromInput;
651
+ disconnect?: Prisma.PropertyPaymentMethodWhereInput | boolean;
652
+ delete?: Prisma.PropertyPaymentMethodWhereInput | boolean;
653
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
654
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodUpdateToOneWithWhereWithoutChangeRulesFromInput, Prisma.PropertyPaymentMethodUpdateWithoutChangeRulesFromInput>, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRulesFromInput>;
655
+ };
656
+ export type PropertyPaymentMethodUpdateOneWithoutChangeRulesToNestedInput = {
657
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRulesToInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRulesToInput>;
658
+ connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutChangeRulesToInput;
659
+ upsert?: Prisma.PropertyPaymentMethodUpsertWithoutChangeRulesToInput;
660
+ disconnect?: Prisma.PropertyPaymentMethodWhereInput | boolean;
661
+ delete?: Prisma.PropertyPaymentMethodWhereInput | boolean;
662
+ connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
663
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodUpdateToOneWithWhereWithoutChangeRulesToInput, Prisma.PropertyPaymentMethodUpdateWithoutChangeRulesToInput>, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRulesToInput>;
664
+ };
545
665
  export type PropertyPaymentMethodCreateWithoutTenantInput = {
546
666
  id?: string;
547
667
  name: string;
@@ -556,9 +676,723 @@ export type PropertyPaymentMethodCreateWithoutTenantInput = {
556
676
  properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
557
677
  phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
558
678
  contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
679
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
680
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
681
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
682
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
683
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
684
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
685
+ };
686
+ export type PropertyPaymentMethodUncheckedCreateWithoutTenantInput = {
687
+ id?: string;
688
+ name: string;
689
+ description?: string | null;
690
+ isActive?: boolean;
691
+ allowEarlyPayoff?: boolean;
692
+ earlyPayoffPenaltyRate?: number | null;
693
+ autoActivatePhases?: boolean;
694
+ requiresManualApproval?: boolean;
695
+ createdAt?: Date | string;
696
+ updatedAt?: Date | string;
697
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
698
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
699
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
700
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
701
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
702
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
703
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
704
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
705
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
706
+ };
707
+ export type PropertyPaymentMethodCreateOrConnectWithoutTenantInput = {
708
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
709
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput>;
710
+ };
711
+ export type PropertyPaymentMethodCreateManyTenantInputEnvelope = {
712
+ data: Prisma.PropertyPaymentMethodCreateManyTenantInput | Prisma.PropertyPaymentMethodCreateManyTenantInput[];
713
+ skipDuplicates?: boolean;
714
+ };
715
+ export type PropertyPaymentMethodUpsertWithWhereUniqueWithoutTenantInput = {
716
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
717
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutTenantInput>;
718
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput>;
719
+ };
720
+ export type PropertyPaymentMethodUpdateWithWhereUniqueWithoutTenantInput = {
721
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
722
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutTenantInput>;
723
+ };
724
+ export type PropertyPaymentMethodUpdateManyWithWhereWithoutTenantInput = {
725
+ where: Prisma.PropertyPaymentMethodScalarWhereInput;
726
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateManyMutationInput, Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantInput>;
727
+ };
728
+ export type PropertyPaymentMethodScalarWhereInput = {
729
+ AND?: Prisma.PropertyPaymentMethodScalarWhereInput | Prisma.PropertyPaymentMethodScalarWhereInput[];
730
+ OR?: Prisma.PropertyPaymentMethodScalarWhereInput[];
731
+ NOT?: Prisma.PropertyPaymentMethodScalarWhereInput | Prisma.PropertyPaymentMethodScalarWhereInput[];
732
+ id?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
733
+ tenantId?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
734
+ name?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
735
+ description?: Prisma.StringNullableFilter<"PropertyPaymentMethod"> | string | null;
736
+ isActive?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
737
+ allowEarlyPayoff?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
738
+ earlyPayoffPenaltyRate?: Prisma.FloatNullableFilter<"PropertyPaymentMethod"> | number | null;
739
+ autoActivatePhases?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
740
+ requiresManualApproval?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
741
+ createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
742
+ updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
743
+ };
744
+ export type PropertyPaymentMethodCreateWithoutPropertiesInput = {
745
+ id?: string;
746
+ name: string;
747
+ description?: string | null;
748
+ isActive?: boolean;
749
+ allowEarlyPayoff?: boolean;
750
+ earlyPayoffPenaltyRate?: number | null;
751
+ autoActivatePhases?: boolean;
752
+ requiresManualApproval?: boolean;
753
+ createdAt?: Date | string;
754
+ updatedAt?: Date | string;
755
+ tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
756
+ phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
757
+ contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
758
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
759
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
760
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
761
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
762
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
763
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
764
+ };
765
+ export type PropertyPaymentMethodUncheckedCreateWithoutPropertiesInput = {
766
+ id?: string;
767
+ tenantId: string;
768
+ name: string;
769
+ description?: string | null;
770
+ isActive?: boolean;
771
+ allowEarlyPayoff?: boolean;
772
+ earlyPayoffPenaltyRate?: number | null;
773
+ autoActivatePhases?: boolean;
774
+ requiresManualApproval?: boolean;
775
+ createdAt?: Date | string;
776
+ updatedAt?: Date | string;
777
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
778
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
779
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
780
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
781
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
782
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
783
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
784
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
785
+ };
786
+ export type PropertyPaymentMethodCreateOrConnectWithoutPropertiesInput = {
787
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
788
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPropertiesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPropertiesInput>;
789
+ };
790
+ export type PropertyPaymentMethodUpsertWithoutPropertiesInput = {
791
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPropertiesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPropertiesInput>;
792
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPropertiesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPropertiesInput>;
793
+ where?: Prisma.PropertyPaymentMethodWhereInput;
794
+ };
795
+ export type PropertyPaymentMethodUpdateToOneWithWhereWithoutPropertiesInput = {
796
+ where?: Prisma.PropertyPaymentMethodWhereInput;
797
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPropertiesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPropertiesInput>;
798
+ };
799
+ export type PropertyPaymentMethodUpdateWithoutPropertiesInput = {
800
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
801
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
802
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
803
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
804
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
805
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
806
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
807
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
808
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
809
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
810
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
811
+ phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
812
+ contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
813
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
814
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
815
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
816
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
817
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
818
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
819
+ };
820
+ export type PropertyPaymentMethodUncheckedUpdateWithoutPropertiesInput = {
821
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
822
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
823
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
824
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
825
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
826
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
827
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
828
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
829
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
830
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
831
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
832
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
833
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
834
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
835
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
836
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
837
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
838
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
839
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
840
+ };
841
+ export type PropertyPaymentMethodCreateWithoutPhasesInput = {
842
+ id?: string;
843
+ name: string;
844
+ description?: string | null;
845
+ isActive?: boolean;
846
+ allowEarlyPayoff?: boolean;
847
+ earlyPayoffPenaltyRate?: number | null;
848
+ autoActivatePhases?: boolean;
849
+ requiresManualApproval?: boolean;
850
+ createdAt?: Date | string;
851
+ updatedAt?: Date | string;
852
+ tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
853
+ properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
854
+ contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
855
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
856
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
857
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
858
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
859
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
860
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
861
+ };
862
+ export type PropertyPaymentMethodUncheckedCreateWithoutPhasesInput = {
863
+ id?: string;
864
+ tenantId: string;
865
+ name: string;
866
+ description?: string | null;
867
+ isActive?: boolean;
868
+ allowEarlyPayoff?: boolean;
869
+ earlyPayoffPenaltyRate?: number | null;
870
+ autoActivatePhases?: boolean;
871
+ requiresManualApproval?: boolean;
872
+ createdAt?: Date | string;
873
+ updatedAt?: Date | string;
874
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
875
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
876
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
877
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
878
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
879
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
880
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
881
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
882
+ };
883
+ export type PropertyPaymentMethodCreateOrConnectWithoutPhasesInput = {
884
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
885
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPhasesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPhasesInput>;
886
+ };
887
+ export type PropertyPaymentMethodUpsertWithoutPhasesInput = {
888
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPhasesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPhasesInput>;
889
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPhasesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPhasesInput>;
890
+ where?: Prisma.PropertyPaymentMethodWhereInput;
891
+ };
892
+ export type PropertyPaymentMethodUpdateToOneWithWhereWithoutPhasesInput = {
893
+ where?: Prisma.PropertyPaymentMethodWhereInput;
894
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPhasesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPhasesInput>;
895
+ };
896
+ export type PropertyPaymentMethodUpdateWithoutPhasesInput = {
897
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
898
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
899
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
900
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
901
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
902
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
903
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
904
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
905
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
906
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
907
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
908
+ properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
909
+ contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
910
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
911
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
912
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
913
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
914
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
915
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
916
+ };
917
+ export type PropertyPaymentMethodUncheckedUpdateWithoutPhasesInput = {
918
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
919
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
920
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
921
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
922
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
923
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
924
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
925
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
926
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
927
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
928
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
929
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
930
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
931
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
932
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
933
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
934
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
935
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
936
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
937
+ };
938
+ export type PropertyPaymentMethodCreateWithoutContractsInput = {
939
+ id?: string;
940
+ name: string;
941
+ description?: string | null;
942
+ isActive?: boolean;
943
+ allowEarlyPayoff?: boolean;
944
+ earlyPayoffPenaltyRate?: number | null;
945
+ autoActivatePhases?: boolean;
946
+ requiresManualApproval?: boolean;
947
+ createdAt?: Date | string;
948
+ updatedAt?: Date | string;
949
+ tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
950
+ properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
951
+ phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
952
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
953
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
954
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
955
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
956
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
957
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
958
+ };
959
+ export type PropertyPaymentMethodUncheckedCreateWithoutContractsInput = {
960
+ id?: string;
961
+ tenantId: string;
962
+ name: string;
963
+ description?: string | null;
964
+ isActive?: boolean;
965
+ allowEarlyPayoff?: boolean;
966
+ earlyPayoffPenaltyRate?: number | null;
967
+ autoActivatePhases?: boolean;
968
+ requiresManualApproval?: boolean;
969
+ createdAt?: Date | string;
970
+ updatedAt?: Date | string;
971
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
972
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
973
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
974
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
975
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
976
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
977
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
978
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
979
+ };
980
+ export type PropertyPaymentMethodCreateOrConnectWithoutContractsInput = {
981
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
982
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutContractsInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutContractsInput>;
983
+ };
984
+ export type PropertyPaymentMethodUpsertWithoutContractsInput = {
985
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutContractsInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutContractsInput>;
986
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutContractsInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutContractsInput>;
987
+ where?: Prisma.PropertyPaymentMethodWhereInput;
988
+ };
989
+ export type PropertyPaymentMethodUpdateToOneWithWhereWithoutContractsInput = {
990
+ where?: Prisma.PropertyPaymentMethodWhereInput;
991
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutContractsInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutContractsInput>;
992
+ };
993
+ export type PropertyPaymentMethodUpdateWithoutContractsInput = {
994
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
995
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
996
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
997
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
998
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
999
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1000
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1001
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1002
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1003
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1004
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
1005
+ properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
1006
+ phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
1007
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
1008
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
1009
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
1010
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
1011
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
1012
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
1013
+ };
1014
+ export type PropertyPaymentMethodUncheckedUpdateWithoutContractsInput = {
1015
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1016
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1017
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1018
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1019
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1020
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1021
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1022
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1023
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1024
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1025
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1026
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1027
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1028
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1029
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1030
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1031
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1032
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1033
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1034
+ };
1035
+ export type PropertyPaymentMethodCreateWithoutPrequalificationsInput = {
1036
+ id?: string;
1037
+ name: string;
1038
+ description?: string | null;
1039
+ isActive?: boolean;
1040
+ allowEarlyPayoff?: boolean;
1041
+ earlyPayoffPenaltyRate?: number | null;
1042
+ autoActivatePhases?: boolean;
1043
+ requiresManualApproval?: boolean;
1044
+ createdAt?: Date | string;
1045
+ updatedAt?: Date | string;
1046
+ tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
1047
+ properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
1048
+ phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
1049
+ contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
1050
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
1051
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
1052
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
1053
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
1054
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
1055
+ };
1056
+ export type PropertyPaymentMethodUncheckedCreateWithoutPrequalificationsInput = {
1057
+ id?: string;
1058
+ tenantId: string;
1059
+ name: string;
1060
+ description?: string | null;
1061
+ isActive?: boolean;
1062
+ allowEarlyPayoff?: boolean;
1063
+ earlyPayoffPenaltyRate?: number | null;
1064
+ autoActivatePhases?: boolean;
1065
+ requiresManualApproval?: boolean;
1066
+ createdAt?: Date | string;
1067
+ updatedAt?: Date | string;
1068
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
1069
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
1070
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
1071
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
1072
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
1073
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
1074
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
1075
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
1076
+ };
1077
+ export type PropertyPaymentMethodCreateOrConnectWithoutPrequalificationsInput = {
1078
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
1079
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPrequalificationsInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPrequalificationsInput>;
1080
+ };
1081
+ export type PropertyPaymentMethodUpsertWithoutPrequalificationsInput = {
1082
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPrequalificationsInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPrequalificationsInput>;
1083
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPrequalificationsInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPrequalificationsInput>;
1084
+ where?: Prisma.PropertyPaymentMethodWhereInput;
1085
+ };
1086
+ export type PropertyPaymentMethodUpdateToOneWithWhereWithoutPrequalificationsInput = {
1087
+ where?: Prisma.PropertyPaymentMethodWhereInput;
1088
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPrequalificationsInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPrequalificationsInput>;
1089
+ };
1090
+ export type PropertyPaymentMethodUpdateWithoutPrequalificationsInput = {
1091
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1092
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1093
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1094
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1095
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1096
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1097
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1098
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1099
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1100
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1101
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
1102
+ properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
1103
+ phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
1104
+ contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
1105
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
1106
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
1107
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
1108
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
1109
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
1110
+ };
1111
+ export type PropertyPaymentMethodUncheckedUpdateWithoutPrequalificationsInput = {
1112
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1113
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1114
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1115
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1116
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1117
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1118
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1119
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1120
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1121
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1122
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1123
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1124
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1125
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1126
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1127
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1128
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1129
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1130
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1131
+ };
1132
+ export type PropertyPaymentMethodCreateWithoutChangeRequestsFromInput = {
1133
+ id?: string;
1134
+ name: string;
1135
+ description?: string | null;
1136
+ isActive?: boolean;
1137
+ allowEarlyPayoff?: boolean;
1138
+ earlyPayoffPenaltyRate?: number | null;
1139
+ autoActivatePhases?: boolean;
1140
+ requiresManualApproval?: boolean;
1141
+ createdAt?: Date | string;
1142
+ updatedAt?: Date | string;
1143
+ tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
1144
+ properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
1145
+ phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
1146
+ contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
1147
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
1148
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
1149
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
1150
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
1151
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
1152
+ };
1153
+ export type PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsFromInput = {
1154
+ id?: string;
1155
+ tenantId: string;
1156
+ name: string;
1157
+ description?: string | null;
1158
+ isActive?: boolean;
1159
+ allowEarlyPayoff?: boolean;
1160
+ earlyPayoffPenaltyRate?: number | null;
1161
+ autoActivatePhases?: boolean;
1162
+ requiresManualApproval?: boolean;
1163
+ createdAt?: Date | string;
1164
+ updatedAt?: Date | string;
1165
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
1166
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
1167
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
1168
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
1169
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
1170
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
1171
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
1172
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
1173
+ };
1174
+ export type PropertyPaymentMethodCreateOrConnectWithoutChangeRequestsFromInput = {
1175
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
1176
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRequestsFromInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsFromInput>;
1177
+ };
1178
+ export type PropertyPaymentMethodCreateWithoutChangeRequestsToInput = {
1179
+ id?: string;
1180
+ name: string;
1181
+ description?: string | null;
1182
+ isActive?: boolean;
1183
+ allowEarlyPayoff?: boolean;
1184
+ earlyPayoffPenaltyRate?: number | null;
1185
+ autoActivatePhases?: boolean;
1186
+ requiresManualApproval?: boolean;
1187
+ createdAt?: Date | string;
1188
+ updatedAt?: Date | string;
1189
+ tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
1190
+ properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
1191
+ phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
1192
+ contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
1193
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
1194
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
1195
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
1196
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
1197
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
1198
+ };
1199
+ export type PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsToInput = {
1200
+ id?: string;
1201
+ tenantId: string;
1202
+ name: string;
1203
+ description?: string | null;
1204
+ isActive?: boolean;
1205
+ allowEarlyPayoff?: boolean;
1206
+ earlyPayoffPenaltyRate?: number | null;
1207
+ autoActivatePhases?: boolean;
1208
+ requiresManualApproval?: boolean;
1209
+ createdAt?: Date | string;
1210
+ updatedAt?: Date | string;
1211
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
1212
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
1213
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
1214
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
1215
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
1216
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
1217
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
1218
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
1219
+ };
1220
+ export type PropertyPaymentMethodCreateOrConnectWithoutChangeRequestsToInput = {
1221
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
1222
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRequestsToInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsToInput>;
1223
+ };
1224
+ export type PropertyPaymentMethodUpsertWithoutChangeRequestsFromInput = {
1225
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutChangeRequestsFromInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRequestsFromInput>;
1226
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRequestsFromInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsFromInput>;
1227
+ where?: Prisma.PropertyPaymentMethodWhereInput;
1228
+ };
1229
+ export type PropertyPaymentMethodUpdateToOneWithWhereWithoutChangeRequestsFromInput = {
1230
+ where?: Prisma.PropertyPaymentMethodWhereInput;
1231
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutChangeRequestsFromInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRequestsFromInput>;
1232
+ };
1233
+ export type PropertyPaymentMethodUpdateWithoutChangeRequestsFromInput = {
1234
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1235
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1236
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1237
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1238
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1239
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1240
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1241
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1242
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1243
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1244
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
1245
+ properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
1246
+ phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
1247
+ contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
1248
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
1249
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
1250
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
1251
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
1252
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
1253
+ };
1254
+ export type PropertyPaymentMethodUncheckedUpdateWithoutChangeRequestsFromInput = {
1255
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1256
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1257
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1258
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1259
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1260
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1261
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1262
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1263
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1264
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1265
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1266
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1267
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1268
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1269
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1270
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1271
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1272
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1273
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1274
+ };
1275
+ export type PropertyPaymentMethodUpsertWithoutChangeRequestsToInput = {
1276
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutChangeRequestsToInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRequestsToInput>;
1277
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRequestsToInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRequestsToInput>;
1278
+ where?: Prisma.PropertyPaymentMethodWhereInput;
1279
+ };
1280
+ export type PropertyPaymentMethodUpdateToOneWithWhereWithoutChangeRequestsToInput = {
1281
+ where?: Prisma.PropertyPaymentMethodWhereInput;
1282
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutChangeRequestsToInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRequestsToInput>;
1283
+ };
1284
+ export type PropertyPaymentMethodUpdateWithoutChangeRequestsToInput = {
1285
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1286
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1287
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1288
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1289
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1290
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1291
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1292
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1293
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1294
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1295
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
1296
+ properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
1297
+ phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
1298
+ contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
1299
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
1300
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
1301
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
1302
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
1303
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
1304
+ };
1305
+ export type PropertyPaymentMethodUncheckedUpdateWithoutChangeRequestsToInput = {
1306
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1307
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1308
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1309
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1310
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1311
+ allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1312
+ earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1313
+ autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1314
+ requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1315
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1316
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1317
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1318
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1319
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1320
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1321
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1322
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1323
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1324
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1325
+ };
1326
+ export type PropertyPaymentMethodCreateWithoutDocumentRulesInput = {
1327
+ id?: string;
1328
+ name: string;
1329
+ description?: string | null;
1330
+ isActive?: boolean;
1331
+ allowEarlyPayoff?: boolean;
1332
+ earlyPayoffPenaltyRate?: number | null;
1333
+ autoActivatePhases?: boolean;
1334
+ requiresManualApproval?: boolean;
1335
+ createdAt?: Date | string;
1336
+ updatedAt?: Date | string;
1337
+ tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
1338
+ properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
1339
+ phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
1340
+ contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
1341
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
1342
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
1343
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
1344
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
1345
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
1346
+ };
1347
+ export type PropertyPaymentMethodUncheckedCreateWithoutDocumentRulesInput = {
1348
+ id?: string;
1349
+ tenantId: string;
1350
+ name: string;
1351
+ description?: string | null;
1352
+ isActive?: boolean;
1353
+ allowEarlyPayoff?: boolean;
1354
+ earlyPayoffPenaltyRate?: number | null;
1355
+ autoActivatePhases?: boolean;
1356
+ requiresManualApproval?: boolean;
1357
+ createdAt?: Date | string;
1358
+ updatedAt?: Date | string;
1359
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
1360
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
1361
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
1362
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
1363
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
1364
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
1365
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
1366
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
1367
+ };
1368
+ export type PropertyPaymentMethodCreateOrConnectWithoutDocumentRulesInput = {
1369
+ where: Prisma.PropertyPaymentMethodWhereUniqueInput;
1370
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutDocumentRulesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutDocumentRulesInput>;
1371
+ };
1372
+ export type PropertyPaymentMethodCreateWithoutChangeRulesFromInput = {
1373
+ id?: string;
1374
+ name: string;
1375
+ description?: string | null;
1376
+ isActive?: boolean;
1377
+ allowEarlyPayoff?: boolean;
1378
+ earlyPayoffPenaltyRate?: number | null;
1379
+ autoActivatePhases?: boolean;
1380
+ requiresManualApproval?: boolean;
1381
+ createdAt?: Date | string;
1382
+ updatedAt?: Date | string;
1383
+ tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
1384
+ properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
1385
+ phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
1386
+ contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
1387
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
1388
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
1389
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
1390
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
1391
+ changeRulesTo?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutToPaymentMethodInput;
559
1392
  };
560
- export type PropertyPaymentMethodUncheckedCreateWithoutTenantInput = {
1393
+ export type PropertyPaymentMethodUncheckedCreateWithoutChangeRulesFromInput = {
561
1394
  id?: string;
1395
+ tenantId: string;
562
1396
  name: string;
563
1397
  description?: string | null;
564
1398
  isActive?: boolean;
@@ -571,45 +1405,17 @@ export type PropertyPaymentMethodUncheckedCreateWithoutTenantInput = {
571
1405
  properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
572
1406
  phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
573
1407
  contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
1408
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
1409
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
1410
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
1411
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
1412
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutToPaymentMethodInput;
574
1413
  };
575
- export type PropertyPaymentMethodCreateOrConnectWithoutTenantInput = {
576
- where: Prisma.PropertyPaymentMethodWhereUniqueInput;
577
- create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput>;
578
- };
579
- export type PropertyPaymentMethodCreateManyTenantInputEnvelope = {
580
- data: Prisma.PropertyPaymentMethodCreateManyTenantInput | Prisma.PropertyPaymentMethodCreateManyTenantInput[];
581
- skipDuplicates?: boolean;
582
- };
583
- export type PropertyPaymentMethodUpsertWithWhereUniqueWithoutTenantInput = {
584
- where: Prisma.PropertyPaymentMethodWhereUniqueInput;
585
- update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutTenantInput>;
586
- create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput>;
587
- };
588
- export type PropertyPaymentMethodUpdateWithWhereUniqueWithoutTenantInput = {
1414
+ export type PropertyPaymentMethodCreateOrConnectWithoutChangeRulesFromInput = {
589
1415
  where: Prisma.PropertyPaymentMethodWhereUniqueInput;
590
- data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutTenantInput>;
591
- };
592
- export type PropertyPaymentMethodUpdateManyWithWhereWithoutTenantInput = {
593
- where: Prisma.PropertyPaymentMethodScalarWhereInput;
594
- data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateManyMutationInput, Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantInput>;
595
- };
596
- export type PropertyPaymentMethodScalarWhereInput = {
597
- AND?: Prisma.PropertyPaymentMethodScalarWhereInput | Prisma.PropertyPaymentMethodScalarWhereInput[];
598
- OR?: Prisma.PropertyPaymentMethodScalarWhereInput[];
599
- NOT?: Prisma.PropertyPaymentMethodScalarWhereInput | Prisma.PropertyPaymentMethodScalarWhereInput[];
600
- id?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
601
- tenantId?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
602
- name?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
603
- description?: Prisma.StringNullableFilter<"PropertyPaymentMethod"> | string | null;
604
- isActive?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
605
- allowEarlyPayoff?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
606
- earlyPayoffPenaltyRate?: Prisma.FloatNullableFilter<"PropertyPaymentMethod"> | number | null;
607
- autoActivatePhases?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
608
- requiresManualApproval?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
609
- createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
610
- updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
1416
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRulesFromInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRulesFromInput>;
611
1417
  };
612
- export type PropertyPaymentMethodCreateWithoutPropertiesInput = {
1418
+ export type PropertyPaymentMethodCreateWithoutChangeRulesToInput = {
613
1419
  id?: string;
614
1420
  name: string;
615
1421
  description?: string | null;
@@ -621,10 +1427,16 @@ export type PropertyPaymentMethodCreateWithoutPropertiesInput = {
621
1427
  createdAt?: Date | string;
622
1428
  updatedAt?: Date | string;
623
1429
  tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
1430
+ properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
624
1431
  phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
625
1432
  contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
1433
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutPaymentMethodInput;
1434
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutFromPaymentMethodInput;
1435
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutToPaymentMethodInput;
1436
+ documentRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutPaymentMethodInput;
1437
+ changeRulesFrom?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutFromPaymentMethodInput;
626
1438
  };
627
- export type PropertyPaymentMethodUncheckedCreateWithoutPropertiesInput = {
1439
+ export type PropertyPaymentMethodUncheckedCreateWithoutChangeRulesToInput = {
628
1440
  id?: string;
629
1441
  tenantId: string;
630
1442
  name: string;
@@ -636,23 +1448,29 @@ export type PropertyPaymentMethodUncheckedCreateWithoutPropertiesInput = {
636
1448
  requiresManualApproval?: boolean;
637
1449
  createdAt?: Date | string;
638
1450
  updatedAt?: Date | string;
1451
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
639
1452
  phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
640
1453
  contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
1454
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutPaymentMethodInput;
1455
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
1456
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutToPaymentMethodInput;
1457
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutPaymentMethodInput;
1458
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutFromPaymentMethodInput;
641
1459
  };
642
- export type PropertyPaymentMethodCreateOrConnectWithoutPropertiesInput = {
1460
+ export type PropertyPaymentMethodCreateOrConnectWithoutChangeRulesToInput = {
643
1461
  where: Prisma.PropertyPaymentMethodWhereUniqueInput;
644
- create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPropertiesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPropertiesInput>;
1462
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRulesToInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRulesToInput>;
645
1463
  };
646
- export type PropertyPaymentMethodUpsertWithoutPropertiesInput = {
647
- update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPropertiesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPropertiesInput>;
648
- create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPropertiesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPropertiesInput>;
1464
+ export type PropertyPaymentMethodUpsertWithoutDocumentRulesInput = {
1465
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutDocumentRulesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutDocumentRulesInput>;
1466
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutDocumentRulesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutDocumentRulesInput>;
649
1467
  where?: Prisma.PropertyPaymentMethodWhereInput;
650
1468
  };
651
- export type PropertyPaymentMethodUpdateToOneWithWhereWithoutPropertiesInput = {
1469
+ export type PropertyPaymentMethodUpdateToOneWithWhereWithoutDocumentRulesInput = {
652
1470
  where?: Prisma.PropertyPaymentMethodWhereInput;
653
- data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPropertiesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPropertiesInput>;
1471
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutDocumentRulesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutDocumentRulesInput>;
654
1472
  };
655
- export type PropertyPaymentMethodUpdateWithoutPropertiesInput = {
1473
+ export type PropertyPaymentMethodUpdateWithoutDocumentRulesInput = {
656
1474
  id?: Prisma.StringFieldUpdateOperationsInput | string;
657
1475
  name?: Prisma.StringFieldUpdateOperationsInput | string;
658
1476
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -664,10 +1482,16 @@ export type PropertyPaymentMethodUpdateWithoutPropertiesInput = {
664
1482
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
665
1483
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
666
1484
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
1485
+ properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
667
1486
  phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
668
1487
  contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
1488
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
1489
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
1490
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
1491
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
1492
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
669
1493
  };
670
- export type PropertyPaymentMethodUncheckedUpdateWithoutPropertiesInput = {
1494
+ export type PropertyPaymentMethodUncheckedUpdateWithoutDocumentRulesInput = {
671
1495
  id?: Prisma.StringFieldUpdateOperationsInput | string;
672
1496
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
673
1497
  name?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -679,53 +1503,25 @@ export type PropertyPaymentMethodUncheckedUpdateWithoutPropertiesInput = {
679
1503
  requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
680
1504
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
681
1505
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1506
+ properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
682
1507
  phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
683
1508
  contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
684
- };
685
- export type PropertyPaymentMethodCreateWithoutPhasesInput = {
686
- id?: string;
687
- name: string;
688
- description?: string | null;
689
- isActive?: boolean;
690
- allowEarlyPayoff?: boolean;
691
- earlyPayoffPenaltyRate?: number | null;
692
- autoActivatePhases?: boolean;
693
- requiresManualApproval?: boolean;
694
- createdAt?: Date | string;
695
- updatedAt?: Date | string;
696
- tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
697
- properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
698
- contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
699
- };
700
- export type PropertyPaymentMethodUncheckedCreateWithoutPhasesInput = {
701
- id?: string;
702
- tenantId: string;
703
- name: string;
704
- description?: string | null;
705
- isActive?: boolean;
706
- allowEarlyPayoff?: boolean;
707
- earlyPayoffPenaltyRate?: number | null;
708
- autoActivatePhases?: boolean;
709
- requiresManualApproval?: boolean;
710
- createdAt?: Date | string;
711
- updatedAt?: Date | string;
712
- properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
713
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
714
- };
715
- export type PropertyPaymentMethodCreateOrConnectWithoutPhasesInput = {
716
- where: Prisma.PropertyPaymentMethodWhereUniqueInput;
717
- create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPhasesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPhasesInput>;
718
- };
719
- export type PropertyPaymentMethodUpsertWithoutPhasesInput = {
720
- update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPhasesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPhasesInput>;
721
- create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPhasesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPhasesInput>;
1509
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1510
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1511
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1512
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1513
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1514
+ };
1515
+ export type PropertyPaymentMethodUpsertWithoutChangeRulesFromInput = {
1516
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutChangeRulesFromInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRulesFromInput>;
1517
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRulesFromInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRulesFromInput>;
722
1518
  where?: Prisma.PropertyPaymentMethodWhereInput;
723
1519
  };
724
- export type PropertyPaymentMethodUpdateToOneWithWhereWithoutPhasesInput = {
1520
+ export type PropertyPaymentMethodUpdateToOneWithWhereWithoutChangeRulesFromInput = {
725
1521
  where?: Prisma.PropertyPaymentMethodWhereInput;
726
- data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutPhasesInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutPhasesInput>;
1522
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutChangeRulesFromInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRulesFromInput>;
727
1523
  };
728
- export type PropertyPaymentMethodUpdateWithoutPhasesInput = {
1524
+ export type PropertyPaymentMethodUpdateWithoutChangeRulesFromInput = {
729
1525
  id?: Prisma.StringFieldUpdateOperationsInput | string;
730
1526
  name?: Prisma.StringFieldUpdateOperationsInput | string;
731
1527
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -738,9 +1534,15 @@ export type PropertyPaymentMethodUpdateWithoutPhasesInput = {
738
1534
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
739
1535
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
740
1536
  properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
1537
+ phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
741
1538
  contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
1539
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
1540
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
1541
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
1542
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
1543
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
742
1544
  };
743
- export type PropertyPaymentMethodUncheckedUpdateWithoutPhasesInput = {
1545
+ export type PropertyPaymentMethodUncheckedUpdateWithoutChangeRulesFromInput = {
744
1546
  id?: Prisma.StringFieldUpdateOperationsInput | string;
745
1547
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
746
1548
  name?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -753,52 +1555,24 @@ export type PropertyPaymentMethodUncheckedUpdateWithoutPhasesInput = {
753
1555
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
754
1556
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
755
1557
  properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1558
+ phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
756
1559
  contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
757
- };
758
- export type PropertyPaymentMethodCreateWithoutContractsInput = {
759
- id?: string;
760
- name: string;
761
- description?: string | null;
762
- isActive?: boolean;
763
- allowEarlyPayoff?: boolean;
764
- earlyPayoffPenaltyRate?: number | null;
765
- autoActivatePhases?: boolean;
766
- requiresManualApproval?: boolean;
767
- createdAt?: Date | string;
768
- updatedAt?: Date | string;
769
- tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
770
- properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
771
- phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
772
- };
773
- export type PropertyPaymentMethodUncheckedCreateWithoutContractsInput = {
774
- id?: string;
775
- tenantId: string;
776
- name: string;
777
- description?: string | null;
778
- isActive?: boolean;
779
- allowEarlyPayoff?: boolean;
780
- earlyPayoffPenaltyRate?: number | null;
781
- autoActivatePhases?: boolean;
782
- requiresManualApproval?: boolean;
783
- createdAt?: Date | string;
784
- updatedAt?: Date | string;
785
- properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
786
- phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
787
- };
788
- export type PropertyPaymentMethodCreateOrConnectWithoutContractsInput = {
789
- where: Prisma.PropertyPaymentMethodWhereUniqueInput;
790
- create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutContractsInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutContractsInput>;
791
- };
792
- export type PropertyPaymentMethodUpsertWithoutContractsInput = {
793
- update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutContractsInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutContractsInput>;
794
- create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutContractsInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutContractsInput>;
1560
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1561
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1562
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1563
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1564
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1565
+ };
1566
+ export type PropertyPaymentMethodUpsertWithoutChangeRulesToInput = {
1567
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutChangeRulesToInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRulesToInput>;
1568
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutChangeRulesToInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutChangeRulesToInput>;
795
1569
  where?: Prisma.PropertyPaymentMethodWhereInput;
796
1570
  };
797
- export type PropertyPaymentMethodUpdateToOneWithWhereWithoutContractsInput = {
1571
+ export type PropertyPaymentMethodUpdateToOneWithWhereWithoutChangeRulesToInput = {
798
1572
  where?: Prisma.PropertyPaymentMethodWhereInput;
799
- data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutContractsInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutContractsInput>;
1573
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutChangeRulesToInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutChangeRulesToInput>;
800
1574
  };
801
- export type PropertyPaymentMethodUpdateWithoutContractsInput = {
1575
+ export type PropertyPaymentMethodUpdateWithoutChangeRulesToInput = {
802
1576
  id?: Prisma.StringFieldUpdateOperationsInput | string;
803
1577
  name?: Prisma.StringFieldUpdateOperationsInput | string;
804
1578
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
@@ -812,8 +1586,14 @@ export type PropertyPaymentMethodUpdateWithoutContractsInput = {
812
1586
  tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
813
1587
  properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
814
1588
  phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
1589
+ contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
1590
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
1591
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
1592
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
1593
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
1594
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
815
1595
  };
816
- export type PropertyPaymentMethodUncheckedUpdateWithoutContractsInput = {
1596
+ export type PropertyPaymentMethodUncheckedUpdateWithoutChangeRulesToInput = {
817
1597
  id?: Prisma.StringFieldUpdateOperationsInput | string;
818
1598
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
819
1599
  name?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -827,6 +1607,12 @@ export type PropertyPaymentMethodUncheckedUpdateWithoutContractsInput = {
827
1607
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
828
1608
  properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
829
1609
  phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1610
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1611
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1612
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1613
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1614
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1615
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
830
1616
  };
831
1617
  export type PropertyPaymentMethodCreateManyTenantInput = {
832
1618
  id?: string;
@@ -854,6 +1640,12 @@ export type PropertyPaymentMethodUpdateWithoutTenantInput = {
854
1640
  properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
855
1641
  phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
856
1642
  contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
1643
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutPaymentMethodNestedInput;
1644
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutFromPaymentMethodNestedInput;
1645
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutToPaymentMethodNestedInput;
1646
+ documentRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutPaymentMethodNestedInput;
1647
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUpdateManyWithoutFromPaymentMethodNestedInput;
1648
+ changeRulesTo?: Prisma.DocumentRequirementRuleUpdateManyWithoutToPaymentMethodNestedInput;
857
1649
  };
858
1650
  export type PropertyPaymentMethodUncheckedUpdateWithoutTenantInput = {
859
1651
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -869,6 +1661,12 @@ export type PropertyPaymentMethodUncheckedUpdateWithoutTenantInput = {
869
1661
  properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
870
1662
  phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
871
1663
  contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1664
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1665
+ changeRequestsFrom?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1666
+ changeRequestsTo?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
1667
+ documentRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutPaymentMethodNestedInput;
1668
+ changeRulesFrom?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutFromPaymentMethodNestedInput;
1669
+ changeRulesTo?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutToPaymentMethodNestedInput;
872
1670
  };
873
1671
  export type PropertyPaymentMethodUncheckedUpdateManyWithoutTenantInput = {
874
1672
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -889,11 +1687,23 @@ export type PropertyPaymentMethodCountOutputType = {
889
1687
  properties: number;
890
1688
  phases: number;
891
1689
  contracts: number;
1690
+ prequalifications: number;
1691
+ changeRequestsFrom: number;
1692
+ changeRequestsTo: number;
1693
+ documentRules: number;
1694
+ changeRulesFrom: number;
1695
+ changeRulesTo: number;
892
1696
  };
893
1697
  export type PropertyPaymentMethodCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
894
1698
  properties?: boolean | PropertyPaymentMethodCountOutputTypeCountPropertiesArgs;
895
1699
  phases?: boolean | PropertyPaymentMethodCountOutputTypeCountPhasesArgs;
896
1700
  contracts?: boolean | PropertyPaymentMethodCountOutputTypeCountContractsArgs;
1701
+ prequalifications?: boolean | PropertyPaymentMethodCountOutputTypeCountPrequalificationsArgs;
1702
+ changeRequestsFrom?: boolean | PropertyPaymentMethodCountOutputTypeCountChangeRequestsFromArgs;
1703
+ changeRequestsTo?: boolean | PropertyPaymentMethodCountOutputTypeCountChangeRequestsToArgs;
1704
+ documentRules?: boolean | PropertyPaymentMethodCountOutputTypeCountDocumentRulesArgs;
1705
+ changeRulesFrom?: boolean | PropertyPaymentMethodCountOutputTypeCountChangeRulesFromArgs;
1706
+ changeRulesTo?: boolean | PropertyPaymentMethodCountOutputTypeCountChangeRulesToArgs;
897
1707
  };
898
1708
  /**
899
1709
  * PropertyPaymentMethodCountOutputType without action
@@ -922,6 +1732,42 @@ export type PropertyPaymentMethodCountOutputTypeCountPhasesArgs<ExtArgs extends
922
1732
  export type PropertyPaymentMethodCountOutputTypeCountContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
923
1733
  where?: Prisma.ContractWhereInput;
924
1734
  };
1735
+ /**
1736
+ * PropertyPaymentMethodCountOutputType without action
1737
+ */
1738
+ export type PropertyPaymentMethodCountOutputTypeCountPrequalificationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1739
+ where?: Prisma.PrequalificationWhereInput;
1740
+ };
1741
+ /**
1742
+ * PropertyPaymentMethodCountOutputType without action
1743
+ */
1744
+ export type PropertyPaymentMethodCountOutputTypeCountChangeRequestsFromArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1745
+ where?: Prisma.PaymentMethodChangeRequestWhereInput;
1746
+ };
1747
+ /**
1748
+ * PropertyPaymentMethodCountOutputType without action
1749
+ */
1750
+ export type PropertyPaymentMethodCountOutputTypeCountChangeRequestsToArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1751
+ where?: Prisma.PaymentMethodChangeRequestWhereInput;
1752
+ };
1753
+ /**
1754
+ * PropertyPaymentMethodCountOutputType without action
1755
+ */
1756
+ export type PropertyPaymentMethodCountOutputTypeCountDocumentRulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1757
+ where?: Prisma.DocumentRequirementRuleWhereInput;
1758
+ };
1759
+ /**
1760
+ * PropertyPaymentMethodCountOutputType without action
1761
+ */
1762
+ export type PropertyPaymentMethodCountOutputTypeCountChangeRulesFromArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1763
+ where?: Prisma.DocumentRequirementRuleWhereInput;
1764
+ };
1765
+ /**
1766
+ * PropertyPaymentMethodCountOutputType without action
1767
+ */
1768
+ export type PropertyPaymentMethodCountOutputTypeCountChangeRulesToArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1769
+ where?: Prisma.DocumentRequirementRuleWhereInput;
1770
+ };
925
1771
  export type PropertyPaymentMethodSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
926
1772
  id?: boolean;
927
1773
  tenantId?: boolean;
@@ -938,6 +1784,12 @@ export type PropertyPaymentMethodSelect<ExtArgs extends runtime.Types.Extensions
938
1784
  properties?: boolean | Prisma.PropertyPaymentMethod$propertiesArgs<ExtArgs>;
939
1785
  phases?: boolean | Prisma.PropertyPaymentMethod$phasesArgs<ExtArgs>;
940
1786
  contracts?: boolean | Prisma.PropertyPaymentMethod$contractsArgs<ExtArgs>;
1787
+ prequalifications?: boolean | Prisma.PropertyPaymentMethod$prequalificationsArgs<ExtArgs>;
1788
+ changeRequestsFrom?: boolean | Prisma.PropertyPaymentMethod$changeRequestsFromArgs<ExtArgs>;
1789
+ changeRequestsTo?: boolean | Prisma.PropertyPaymentMethod$changeRequestsToArgs<ExtArgs>;
1790
+ documentRules?: boolean | Prisma.PropertyPaymentMethod$documentRulesArgs<ExtArgs>;
1791
+ changeRulesFrom?: boolean | Prisma.PropertyPaymentMethod$changeRulesFromArgs<ExtArgs>;
1792
+ changeRulesTo?: boolean | Prisma.PropertyPaymentMethod$changeRulesToArgs<ExtArgs>;
941
1793
  _count?: boolean | Prisma.PropertyPaymentMethodCountOutputTypeDefaultArgs<ExtArgs>;
942
1794
  }, ExtArgs["result"]["propertyPaymentMethod"]>;
943
1795
  export type PropertyPaymentMethodSelectScalar = {
@@ -959,6 +1811,12 @@ export type PropertyPaymentMethodInclude<ExtArgs extends runtime.Types.Extension
959
1811
  properties?: boolean | Prisma.PropertyPaymentMethod$propertiesArgs<ExtArgs>;
960
1812
  phases?: boolean | Prisma.PropertyPaymentMethod$phasesArgs<ExtArgs>;
961
1813
  contracts?: boolean | Prisma.PropertyPaymentMethod$contractsArgs<ExtArgs>;
1814
+ prequalifications?: boolean | Prisma.PropertyPaymentMethod$prequalificationsArgs<ExtArgs>;
1815
+ changeRequestsFrom?: boolean | Prisma.PropertyPaymentMethod$changeRequestsFromArgs<ExtArgs>;
1816
+ changeRequestsTo?: boolean | Prisma.PropertyPaymentMethod$changeRequestsToArgs<ExtArgs>;
1817
+ documentRules?: boolean | Prisma.PropertyPaymentMethod$documentRulesArgs<ExtArgs>;
1818
+ changeRulesFrom?: boolean | Prisma.PropertyPaymentMethod$changeRulesFromArgs<ExtArgs>;
1819
+ changeRulesTo?: boolean | Prisma.PropertyPaymentMethod$changeRulesToArgs<ExtArgs>;
962
1820
  _count?: boolean | Prisma.PropertyPaymentMethodCountOutputTypeDefaultArgs<ExtArgs>;
963
1821
  };
964
1822
  export type $PropertyPaymentMethodPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -968,6 +1826,12 @@ export type $PropertyPaymentMethodPayload<ExtArgs extends runtime.Types.Extensio
968
1826
  properties: Prisma.$PropertyPaymentMethodLinkPayload<ExtArgs>[];
969
1827
  phases: Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>[];
970
1828
  contracts: Prisma.$ContractPayload<ExtArgs>[];
1829
+ prequalifications: Prisma.$PrequalificationPayload<ExtArgs>[];
1830
+ changeRequestsFrom: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
1831
+ changeRequestsTo: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
1832
+ documentRules: Prisma.$DocumentRequirementRulePayload<ExtArgs>[];
1833
+ changeRulesFrom: Prisma.$DocumentRequirementRulePayload<ExtArgs>[];
1834
+ changeRulesTo: Prisma.$DocumentRequirementRulePayload<ExtArgs>[];
971
1835
  };
972
1836
  scalars: runtime.Types.Extensions.GetPayloadResult<{
973
1837
  id: string;
@@ -1262,6 +2126,12 @@ export interface Prisma__PropertyPaymentMethodClient<T, Null = never, ExtArgs ex
1262
2126
  properties<T extends Prisma.PropertyPaymentMethod$propertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$propertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1263
2127
  phases<T extends Prisma.PropertyPaymentMethod$phasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$phasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1264
2128
  contracts<T extends Prisma.PropertyPaymentMethod$contractsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$contractsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2129
+ prequalifications<T extends Prisma.PropertyPaymentMethod$prequalificationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$prequalificationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PrequalificationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2130
+ changeRequestsFrom<T extends Prisma.PropertyPaymentMethod$changeRequestsFromArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$changeRequestsFromArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2131
+ changeRequestsTo<T extends Prisma.PropertyPaymentMethod$changeRequestsToArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$changeRequestsToArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2132
+ documentRules<T extends Prisma.PropertyPaymentMethod$documentRulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$documentRulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentRequirementRulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2133
+ changeRulesFrom<T extends Prisma.PropertyPaymentMethod$changeRulesFromArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$changeRulesFromArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentRequirementRulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2134
+ changeRulesTo<T extends Prisma.PropertyPaymentMethod$changeRulesToArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$changeRulesToArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentRequirementRulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1265
2135
  /**
1266
2136
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1267
2137
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1694,6 +2564,144 @@ export type PropertyPaymentMethod$contractsArgs<ExtArgs extends runtime.Types.Ex
1694
2564
  skip?: number;
1695
2565
  distinct?: Prisma.ContractScalarFieldEnum | Prisma.ContractScalarFieldEnum[];
1696
2566
  };
2567
+ /**
2568
+ * PropertyPaymentMethod.prequalifications
2569
+ */
2570
+ export type PropertyPaymentMethod$prequalificationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2571
+ /**
2572
+ * Select specific fields to fetch from the Prequalification
2573
+ */
2574
+ select?: Prisma.PrequalificationSelect<ExtArgs> | null;
2575
+ /**
2576
+ * Omit specific fields from the Prequalification
2577
+ */
2578
+ omit?: Prisma.PrequalificationOmit<ExtArgs> | null;
2579
+ /**
2580
+ * Choose, which related nodes to fetch as well
2581
+ */
2582
+ include?: Prisma.PrequalificationInclude<ExtArgs> | null;
2583
+ where?: Prisma.PrequalificationWhereInput;
2584
+ orderBy?: Prisma.PrequalificationOrderByWithRelationInput | Prisma.PrequalificationOrderByWithRelationInput[];
2585
+ cursor?: Prisma.PrequalificationWhereUniqueInput;
2586
+ take?: number;
2587
+ skip?: number;
2588
+ distinct?: Prisma.PrequalificationScalarFieldEnum | Prisma.PrequalificationScalarFieldEnum[];
2589
+ };
2590
+ /**
2591
+ * PropertyPaymentMethod.changeRequestsFrom
2592
+ */
2593
+ export type PropertyPaymentMethod$changeRequestsFromArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2594
+ /**
2595
+ * Select specific fields to fetch from the PaymentMethodChangeRequest
2596
+ */
2597
+ select?: Prisma.PaymentMethodChangeRequestSelect<ExtArgs> | null;
2598
+ /**
2599
+ * Omit specific fields from the PaymentMethodChangeRequest
2600
+ */
2601
+ omit?: Prisma.PaymentMethodChangeRequestOmit<ExtArgs> | null;
2602
+ /**
2603
+ * Choose, which related nodes to fetch as well
2604
+ */
2605
+ include?: Prisma.PaymentMethodChangeRequestInclude<ExtArgs> | null;
2606
+ where?: Prisma.PaymentMethodChangeRequestWhereInput;
2607
+ orderBy?: Prisma.PaymentMethodChangeRequestOrderByWithRelationInput | Prisma.PaymentMethodChangeRequestOrderByWithRelationInput[];
2608
+ cursor?: Prisma.PaymentMethodChangeRequestWhereUniqueInput;
2609
+ take?: number;
2610
+ skip?: number;
2611
+ distinct?: Prisma.PaymentMethodChangeRequestScalarFieldEnum | Prisma.PaymentMethodChangeRequestScalarFieldEnum[];
2612
+ };
2613
+ /**
2614
+ * PropertyPaymentMethod.changeRequestsTo
2615
+ */
2616
+ export type PropertyPaymentMethod$changeRequestsToArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2617
+ /**
2618
+ * Select specific fields to fetch from the PaymentMethodChangeRequest
2619
+ */
2620
+ select?: Prisma.PaymentMethodChangeRequestSelect<ExtArgs> | null;
2621
+ /**
2622
+ * Omit specific fields from the PaymentMethodChangeRequest
2623
+ */
2624
+ omit?: Prisma.PaymentMethodChangeRequestOmit<ExtArgs> | null;
2625
+ /**
2626
+ * Choose, which related nodes to fetch as well
2627
+ */
2628
+ include?: Prisma.PaymentMethodChangeRequestInclude<ExtArgs> | null;
2629
+ where?: Prisma.PaymentMethodChangeRequestWhereInput;
2630
+ orderBy?: Prisma.PaymentMethodChangeRequestOrderByWithRelationInput | Prisma.PaymentMethodChangeRequestOrderByWithRelationInput[];
2631
+ cursor?: Prisma.PaymentMethodChangeRequestWhereUniqueInput;
2632
+ take?: number;
2633
+ skip?: number;
2634
+ distinct?: Prisma.PaymentMethodChangeRequestScalarFieldEnum | Prisma.PaymentMethodChangeRequestScalarFieldEnum[];
2635
+ };
2636
+ /**
2637
+ * PropertyPaymentMethod.documentRules
2638
+ */
2639
+ export type PropertyPaymentMethod$documentRulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2640
+ /**
2641
+ * Select specific fields to fetch from the DocumentRequirementRule
2642
+ */
2643
+ select?: Prisma.DocumentRequirementRuleSelect<ExtArgs> | null;
2644
+ /**
2645
+ * Omit specific fields from the DocumentRequirementRule
2646
+ */
2647
+ omit?: Prisma.DocumentRequirementRuleOmit<ExtArgs> | null;
2648
+ /**
2649
+ * Choose, which related nodes to fetch as well
2650
+ */
2651
+ include?: Prisma.DocumentRequirementRuleInclude<ExtArgs> | null;
2652
+ where?: Prisma.DocumentRequirementRuleWhereInput;
2653
+ orderBy?: Prisma.DocumentRequirementRuleOrderByWithRelationInput | Prisma.DocumentRequirementRuleOrderByWithRelationInput[];
2654
+ cursor?: Prisma.DocumentRequirementRuleWhereUniqueInput;
2655
+ take?: number;
2656
+ skip?: number;
2657
+ distinct?: Prisma.DocumentRequirementRuleScalarFieldEnum | Prisma.DocumentRequirementRuleScalarFieldEnum[];
2658
+ };
2659
+ /**
2660
+ * PropertyPaymentMethod.changeRulesFrom
2661
+ */
2662
+ export type PropertyPaymentMethod$changeRulesFromArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2663
+ /**
2664
+ * Select specific fields to fetch from the DocumentRequirementRule
2665
+ */
2666
+ select?: Prisma.DocumentRequirementRuleSelect<ExtArgs> | null;
2667
+ /**
2668
+ * Omit specific fields from the DocumentRequirementRule
2669
+ */
2670
+ omit?: Prisma.DocumentRequirementRuleOmit<ExtArgs> | null;
2671
+ /**
2672
+ * Choose, which related nodes to fetch as well
2673
+ */
2674
+ include?: Prisma.DocumentRequirementRuleInclude<ExtArgs> | null;
2675
+ where?: Prisma.DocumentRequirementRuleWhereInput;
2676
+ orderBy?: Prisma.DocumentRequirementRuleOrderByWithRelationInput | Prisma.DocumentRequirementRuleOrderByWithRelationInput[];
2677
+ cursor?: Prisma.DocumentRequirementRuleWhereUniqueInput;
2678
+ take?: number;
2679
+ skip?: number;
2680
+ distinct?: Prisma.DocumentRequirementRuleScalarFieldEnum | Prisma.DocumentRequirementRuleScalarFieldEnum[];
2681
+ };
2682
+ /**
2683
+ * PropertyPaymentMethod.changeRulesTo
2684
+ */
2685
+ export type PropertyPaymentMethod$changeRulesToArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2686
+ /**
2687
+ * Select specific fields to fetch from the DocumentRequirementRule
2688
+ */
2689
+ select?: Prisma.DocumentRequirementRuleSelect<ExtArgs> | null;
2690
+ /**
2691
+ * Omit specific fields from the DocumentRequirementRule
2692
+ */
2693
+ omit?: Prisma.DocumentRequirementRuleOmit<ExtArgs> | null;
2694
+ /**
2695
+ * Choose, which related nodes to fetch as well
2696
+ */
2697
+ include?: Prisma.DocumentRequirementRuleInclude<ExtArgs> | null;
2698
+ where?: Prisma.DocumentRequirementRuleWhereInput;
2699
+ orderBy?: Prisma.DocumentRequirementRuleOrderByWithRelationInput | Prisma.DocumentRequirementRuleOrderByWithRelationInput[];
2700
+ cursor?: Prisma.DocumentRequirementRuleWhereUniqueInput;
2701
+ take?: number;
2702
+ skip?: number;
2703
+ distinct?: Prisma.DocumentRequirementRuleScalarFieldEnum | Prisma.DocumentRequirementRuleScalarFieldEnum[];
2704
+ };
1697
2705
  /**
1698
2706
  * PropertyPaymentMethod without action
1699
2707
  */