@valentine-efagene/qshelter-common 2.0.40 → 2.0.42

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.
@@ -157,6 +157,7 @@ export type TenantWhereInput = {
157
157
  contractTerminations?: Prisma.ContractTerminationListRelationFilter;
158
158
  documentTemplates?: Prisma.DocumentTemplateListRelationFilter;
159
159
  offerLetters?: Prisma.OfferLetterListRelationFilter;
160
+ underwritingDecisions?: Prisma.UnderwritingDecisionListRelationFilter;
160
161
  };
161
162
  export type TenantOrderByWithRelationInput = {
162
163
  id?: Prisma.SortOrder;
@@ -176,6 +177,7 @@ export type TenantOrderByWithRelationInput = {
176
177
  contractTerminations?: Prisma.ContractTerminationOrderByRelationAggregateInput;
177
178
  documentTemplates?: Prisma.DocumentTemplateOrderByRelationAggregateInput;
178
179
  offerLetters?: Prisma.OfferLetterOrderByRelationAggregateInput;
180
+ underwritingDecisions?: Prisma.UnderwritingDecisionOrderByRelationAggregateInput;
179
181
  _relevance?: Prisma.TenantOrderByRelevanceInput;
180
182
  };
181
183
  export type TenantWhereUniqueInput = Prisma.AtLeast<{
@@ -199,6 +201,7 @@ export type TenantWhereUniqueInput = Prisma.AtLeast<{
199
201
  contractTerminations?: Prisma.ContractTerminationListRelationFilter;
200
202
  documentTemplates?: Prisma.DocumentTemplateListRelationFilter;
201
203
  offerLetters?: Prisma.OfferLetterListRelationFilter;
204
+ underwritingDecisions?: Prisma.UnderwritingDecisionListRelationFilter;
202
205
  }, "id" | "subdomain">;
203
206
  export type TenantOrderByWithAggregationInput = {
204
207
  id?: Prisma.SortOrder;
@@ -240,6 +243,7 @@ export type TenantCreateInput = {
240
243
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
241
244
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
242
245
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
246
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
243
247
  };
244
248
  export type TenantUncheckedCreateInput = {
245
249
  id?: string;
@@ -259,6 +263,7 @@ export type TenantUncheckedCreateInput = {
259
263
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
260
264
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
261
265
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
266
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
262
267
  };
263
268
  export type TenantUpdateInput = {
264
269
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -278,6 +283,7 @@ export type TenantUpdateInput = {
278
283
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
279
284
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
280
285
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
286
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
281
287
  };
282
288
  export type TenantUncheckedUpdateInput = {
283
289
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -297,6 +303,7 @@ export type TenantUncheckedUpdateInput = {
297
303
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
298
304
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
299
305
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
306
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
300
307
  };
301
308
  export type TenantCreateManyInput = {
302
309
  id?: string;
@@ -471,6 +478,18 @@ export type TenantUpdateOneRequiredWithoutPrequalificationsNestedInput = {
471
478
  connect?: Prisma.TenantWhereUniqueInput;
472
479
  update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutPrequalificationsInput, Prisma.TenantUpdateWithoutPrequalificationsInput>, Prisma.TenantUncheckedUpdateWithoutPrequalificationsInput>;
473
480
  };
481
+ export type TenantCreateNestedOneWithoutUnderwritingDecisionsInput = {
482
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutUnderwritingDecisionsInput, Prisma.TenantUncheckedCreateWithoutUnderwritingDecisionsInput>;
483
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutUnderwritingDecisionsInput;
484
+ connect?: Prisma.TenantWhereUniqueInput;
485
+ };
486
+ export type TenantUpdateOneRequiredWithoutUnderwritingDecisionsNestedInput = {
487
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutUnderwritingDecisionsInput, Prisma.TenantUncheckedCreateWithoutUnderwritingDecisionsInput>;
488
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutUnderwritingDecisionsInput;
489
+ upsert?: Prisma.TenantUpsertWithoutUnderwritingDecisionsInput;
490
+ connect?: Prisma.TenantWhereUniqueInput;
491
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutUnderwritingDecisionsInput, Prisma.TenantUpdateWithoutUnderwritingDecisionsInput>, Prisma.TenantUncheckedUpdateWithoutUnderwritingDecisionsInput>;
492
+ };
474
493
  export type TenantCreateNestedOneWithoutPaymentMethodChangeRequestsInput = {
475
494
  create?: Prisma.XOR<Prisma.TenantCreateWithoutPaymentMethodChangeRequestsInput, Prisma.TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput>;
476
495
  connectOrCreate?: Prisma.TenantCreateOrConnectWithoutPaymentMethodChangeRequestsInput;
@@ -512,6 +531,7 @@ export type TenantCreateWithoutUsersInput = {
512
531
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
513
532
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
514
533
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
534
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
515
535
  };
516
536
  export type TenantUncheckedCreateWithoutUsersInput = {
517
537
  id?: string;
@@ -530,6 +550,7 @@ export type TenantUncheckedCreateWithoutUsersInput = {
530
550
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
531
551
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
532
552
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
553
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
533
554
  };
534
555
  export type TenantCreateOrConnectWithoutUsersInput = {
535
556
  where: Prisma.TenantWhereUniqueInput;
@@ -561,6 +582,7 @@ export type TenantUpdateWithoutUsersInput = {
561
582
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
562
583
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
563
584
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
585
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
564
586
  };
565
587
  export type TenantUncheckedUpdateWithoutUsersInput = {
566
588
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -579,6 +601,7 @@ export type TenantUncheckedUpdateWithoutUsersInput = {
579
601
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
580
602
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
581
603
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
604
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
582
605
  };
583
606
  export type TenantCreateWithoutPropertiesInput = {
584
607
  id?: string;
@@ -597,6 +620,7 @@ export type TenantCreateWithoutPropertiesInput = {
597
620
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
598
621
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
599
622
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
623
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
600
624
  };
601
625
  export type TenantUncheckedCreateWithoutPropertiesInput = {
602
626
  id?: string;
@@ -615,6 +639,7 @@ export type TenantUncheckedCreateWithoutPropertiesInput = {
615
639
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
616
640
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
617
641
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
642
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
618
643
  };
619
644
  export type TenantCreateOrConnectWithoutPropertiesInput = {
620
645
  where: Prisma.TenantWhereUniqueInput;
@@ -646,6 +671,7 @@ export type TenantUpdateWithoutPropertiesInput = {
646
671
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
647
672
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
648
673
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
674
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
649
675
  };
650
676
  export type TenantUncheckedUpdateWithoutPropertiesInput = {
651
677
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -664,6 +690,7 @@ export type TenantUncheckedUpdateWithoutPropertiesInput = {
664
690
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
665
691
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
666
692
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
693
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
667
694
  };
668
695
  export type TenantCreateWithoutPaymentPlansInput = {
669
696
  id?: string;
@@ -682,6 +709,7 @@ export type TenantCreateWithoutPaymentPlansInput = {
682
709
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
683
710
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
684
711
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
712
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
685
713
  };
686
714
  export type TenantUncheckedCreateWithoutPaymentPlansInput = {
687
715
  id?: string;
@@ -700,6 +728,7 @@ export type TenantUncheckedCreateWithoutPaymentPlansInput = {
700
728
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
701
729
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
702
730
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
731
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
703
732
  };
704
733
  export type TenantCreateOrConnectWithoutPaymentPlansInput = {
705
734
  where: Prisma.TenantWhereUniqueInput;
@@ -731,6 +760,7 @@ export type TenantUpdateWithoutPaymentPlansInput = {
731
760
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
732
761
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
733
762
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
763
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
734
764
  };
735
765
  export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
736
766
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -749,6 +779,7 @@ export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
749
779
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
750
780
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
751
781
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
782
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
752
783
  };
753
784
  export type TenantCreateWithoutPaymentMethodsInput = {
754
785
  id?: string;
@@ -767,6 +798,7 @@ export type TenantCreateWithoutPaymentMethodsInput = {
767
798
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
768
799
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
769
800
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
801
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
770
802
  };
771
803
  export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
772
804
  id?: string;
@@ -785,6 +817,7 @@ export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
785
817
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
786
818
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
787
819
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
820
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
788
821
  };
789
822
  export type TenantCreateOrConnectWithoutPaymentMethodsInput = {
790
823
  where: Prisma.TenantWhereUniqueInput;
@@ -816,6 +849,7 @@ export type TenantUpdateWithoutPaymentMethodsInput = {
816
849
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
817
850
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
818
851
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
852
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
819
853
  };
820
854
  export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
821
855
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -834,6 +868,7 @@ export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
834
868
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
835
869
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
836
870
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
871
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
837
872
  };
838
873
  export type TenantCreateWithoutContractsInput = {
839
874
  id?: string;
@@ -852,6 +887,7 @@ export type TenantCreateWithoutContractsInput = {
852
887
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
853
888
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
854
889
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
890
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
855
891
  };
856
892
  export type TenantUncheckedCreateWithoutContractsInput = {
857
893
  id?: string;
@@ -870,6 +906,7 @@ export type TenantUncheckedCreateWithoutContractsInput = {
870
906
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
871
907
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
872
908
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
909
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
873
910
  };
874
911
  export type TenantCreateOrConnectWithoutContractsInput = {
875
912
  where: Prisma.TenantWhereUniqueInput;
@@ -901,6 +938,7 @@ export type TenantUpdateWithoutContractsInput = {
901
938
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
902
939
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
903
940
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
941
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
904
942
  };
905
943
  export type TenantUncheckedUpdateWithoutContractsInput = {
906
944
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -919,6 +957,7 @@ export type TenantUncheckedUpdateWithoutContractsInput = {
919
957
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
920
958
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
921
959
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
960
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
922
961
  };
923
962
  export type TenantCreateWithoutDocumentTemplatesInput = {
924
963
  id?: string;
@@ -937,6 +976,7 @@ export type TenantCreateWithoutDocumentTemplatesInput = {
937
976
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
938
977
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
939
978
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
979
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
940
980
  };
941
981
  export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
942
982
  id?: string;
@@ -955,6 +995,7 @@ export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
955
995
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
956
996
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
957
997
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
998
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
958
999
  };
959
1000
  export type TenantCreateOrConnectWithoutDocumentTemplatesInput = {
960
1001
  where: Prisma.TenantWhereUniqueInput;
@@ -986,6 +1027,7 @@ export type TenantUpdateWithoutDocumentTemplatesInput = {
986
1027
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
987
1028
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
988
1029
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1030
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
989
1031
  };
990
1032
  export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
991
1033
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1004,6 +1046,7 @@ export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
1004
1046
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1005
1047
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1006
1048
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1049
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
1007
1050
  };
1008
1051
  export type TenantCreateWithoutOfferLettersInput = {
1009
1052
  id?: string;
@@ -1022,6 +1065,7 @@ export type TenantCreateWithoutOfferLettersInput = {
1022
1065
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1023
1066
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1024
1067
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1068
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
1025
1069
  };
1026
1070
  export type TenantUncheckedCreateWithoutOfferLettersInput = {
1027
1071
  id?: string;
@@ -1040,6 +1084,7 @@ export type TenantUncheckedCreateWithoutOfferLettersInput = {
1040
1084
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1041
1085
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1042
1086
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1087
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
1043
1088
  };
1044
1089
  export type TenantCreateOrConnectWithoutOfferLettersInput = {
1045
1090
  where: Prisma.TenantWhereUniqueInput;
@@ -1071,6 +1116,7 @@ export type TenantUpdateWithoutOfferLettersInput = {
1071
1116
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1072
1117
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1073
1118
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1119
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
1074
1120
  };
1075
1121
  export type TenantUncheckedUpdateWithoutOfferLettersInput = {
1076
1122
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1089,6 +1135,7 @@ export type TenantUncheckedUpdateWithoutOfferLettersInput = {
1089
1135
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1090
1136
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1091
1137
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1138
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
1092
1139
  };
1093
1140
  export type TenantCreateWithoutContractTerminationsInput = {
1094
1141
  id?: string;
@@ -1107,6 +1154,7 @@ export type TenantCreateWithoutContractTerminationsInput = {
1107
1154
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1108
1155
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1109
1156
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1157
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
1110
1158
  };
1111
1159
  export type TenantUncheckedCreateWithoutContractTerminationsInput = {
1112
1160
  id?: string;
@@ -1125,6 +1173,7 @@ export type TenantUncheckedCreateWithoutContractTerminationsInput = {
1125
1173
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1126
1174
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1127
1175
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1176
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
1128
1177
  };
1129
1178
  export type TenantCreateOrConnectWithoutContractTerminationsInput = {
1130
1179
  where: Prisma.TenantWhereUniqueInput;
@@ -1156,6 +1205,7 @@ export type TenantUpdateWithoutContractTerminationsInput = {
1156
1205
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1157
1206
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1158
1207
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1208
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
1159
1209
  };
1160
1210
  export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
1161
1211
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1174,6 +1224,7 @@ export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
1174
1224
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1175
1225
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1176
1226
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1227
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
1177
1228
  };
1178
1229
  export type TenantCreateWithoutPrequalificationsInput = {
1179
1230
  id?: string;
@@ -1192,6 +1243,7 @@ export type TenantCreateWithoutPrequalificationsInput = {
1192
1243
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1193
1244
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1194
1245
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1246
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
1195
1247
  };
1196
1248
  export type TenantUncheckedCreateWithoutPrequalificationsInput = {
1197
1249
  id?: string;
@@ -1210,6 +1262,7 @@ export type TenantUncheckedCreateWithoutPrequalificationsInput = {
1210
1262
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1211
1263
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1212
1264
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1265
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
1213
1266
  };
1214
1267
  export type TenantCreateOrConnectWithoutPrequalificationsInput = {
1215
1268
  where: Prisma.TenantWhereUniqueInput;
@@ -1241,6 +1294,7 @@ export type TenantUpdateWithoutPrequalificationsInput = {
1241
1294
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1242
1295
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1243
1296
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1297
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
1244
1298
  };
1245
1299
  export type TenantUncheckedUpdateWithoutPrequalificationsInput = {
1246
1300
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1259,6 +1313,96 @@ export type TenantUncheckedUpdateWithoutPrequalificationsInput = {
1259
1313
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1260
1314
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1261
1315
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1316
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
1317
+ };
1318
+ export type TenantCreateWithoutUnderwritingDecisionsInput = {
1319
+ id?: string;
1320
+ name: string;
1321
+ subdomain: string;
1322
+ isActive?: boolean;
1323
+ createdAt?: Date | string;
1324
+ updatedAt?: Date | string;
1325
+ users?: Prisma.UserCreateNestedManyWithoutTenantInput;
1326
+ properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
1327
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
1328
+ paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
1329
+ contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
1330
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutTenantInput;
1331
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1332
+ documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1333
+ contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1334
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1335
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1336
+ };
1337
+ export type TenantUncheckedCreateWithoutUnderwritingDecisionsInput = {
1338
+ id?: string;
1339
+ name: string;
1340
+ subdomain: string;
1341
+ isActive?: boolean;
1342
+ createdAt?: Date | string;
1343
+ updatedAt?: Date | string;
1344
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
1345
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
1346
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
1347
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
1348
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
1349
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutTenantInput;
1350
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1351
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1352
+ contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1353
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1354
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1355
+ };
1356
+ export type TenantCreateOrConnectWithoutUnderwritingDecisionsInput = {
1357
+ where: Prisma.TenantWhereUniqueInput;
1358
+ create: Prisma.XOR<Prisma.TenantCreateWithoutUnderwritingDecisionsInput, Prisma.TenantUncheckedCreateWithoutUnderwritingDecisionsInput>;
1359
+ };
1360
+ export type TenantUpsertWithoutUnderwritingDecisionsInput = {
1361
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutUnderwritingDecisionsInput, Prisma.TenantUncheckedUpdateWithoutUnderwritingDecisionsInput>;
1362
+ create: Prisma.XOR<Prisma.TenantCreateWithoutUnderwritingDecisionsInput, Prisma.TenantUncheckedCreateWithoutUnderwritingDecisionsInput>;
1363
+ where?: Prisma.TenantWhereInput;
1364
+ };
1365
+ export type TenantUpdateToOneWithWhereWithoutUnderwritingDecisionsInput = {
1366
+ where?: Prisma.TenantWhereInput;
1367
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutUnderwritingDecisionsInput, Prisma.TenantUncheckedUpdateWithoutUnderwritingDecisionsInput>;
1368
+ };
1369
+ export type TenantUpdateWithoutUnderwritingDecisionsInput = {
1370
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1371
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1372
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
1373
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1374
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1375
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1376
+ users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
1377
+ properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
1378
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
1379
+ paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
1380
+ contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
1381
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutTenantNestedInput;
1382
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1383
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1384
+ contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1385
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1386
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1387
+ };
1388
+ export type TenantUncheckedUpdateWithoutUnderwritingDecisionsInput = {
1389
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1390
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1391
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
1392
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1393
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1394
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1395
+ users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
1396
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
1397
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
1398
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
1399
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1400
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutTenantNestedInput;
1401
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1402
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1403
+ contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1404
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1405
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1262
1406
  };
1263
1407
  export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
1264
1408
  id?: string;
@@ -1277,6 +1421,7 @@ export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
1277
1421
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1278
1422
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1279
1423
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1424
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
1280
1425
  };
1281
1426
  export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
1282
1427
  id?: string;
@@ -1295,6 +1440,7 @@ export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
1295
1440
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1296
1441
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1297
1442
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1443
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
1298
1444
  };
1299
1445
  export type TenantCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
1300
1446
  where: Prisma.TenantWhereUniqueInput;
@@ -1326,6 +1472,7 @@ export type TenantUpdateWithoutPaymentMethodChangeRequestsInput = {
1326
1472
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1327
1473
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1328
1474
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1475
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
1329
1476
  };
1330
1477
  export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
1331
1478
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1344,6 +1491,7 @@ export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
1344
1491
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1345
1492
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1346
1493
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1494
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
1347
1495
  };
1348
1496
  export type TenantCreateWithoutDocumentRequirementRulesInput = {
1349
1497
  id?: string;
@@ -1362,6 +1510,7 @@ export type TenantCreateWithoutDocumentRequirementRulesInput = {
1362
1510
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1363
1511
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1364
1512
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1513
+ underwritingDecisions?: Prisma.UnderwritingDecisionCreateNestedManyWithoutTenantInput;
1365
1514
  };
1366
1515
  export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
1367
1516
  id?: string;
@@ -1380,6 +1529,7 @@ export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
1380
1529
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1381
1530
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1382
1531
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1532
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedCreateNestedManyWithoutTenantInput;
1383
1533
  };
1384
1534
  export type TenantCreateOrConnectWithoutDocumentRequirementRulesInput = {
1385
1535
  where: Prisma.TenantWhereUniqueInput;
@@ -1411,6 +1561,7 @@ export type TenantUpdateWithoutDocumentRequirementRulesInput = {
1411
1561
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1412
1562
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1413
1563
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1564
+ underwritingDecisions?: Prisma.UnderwritingDecisionUpdateManyWithoutTenantNestedInput;
1414
1565
  };
1415
1566
  export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
1416
1567
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1429,6 +1580,7 @@ export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
1429
1580
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1430
1581
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1431
1582
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1583
+ underwritingDecisions?: Prisma.UnderwritingDecisionUncheckedUpdateManyWithoutTenantNestedInput;
1432
1584
  };
1433
1585
  /**
1434
1586
  * Count Type TenantCountOutputType
@@ -1445,6 +1597,7 @@ export type TenantCountOutputType = {
1445
1597
  contractTerminations: number;
1446
1598
  documentTemplates: number;
1447
1599
  offerLetters: number;
1600
+ underwritingDecisions: number;
1448
1601
  };
1449
1602
  export type TenantCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1450
1603
  users?: boolean | TenantCountOutputTypeCountUsersArgs;
@@ -1458,6 +1611,7 @@ export type TenantCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions
1458
1611
  contractTerminations?: boolean | TenantCountOutputTypeCountContractTerminationsArgs;
1459
1612
  documentTemplates?: boolean | TenantCountOutputTypeCountDocumentTemplatesArgs;
1460
1613
  offerLetters?: boolean | TenantCountOutputTypeCountOfferLettersArgs;
1614
+ underwritingDecisions?: boolean | TenantCountOutputTypeCountUnderwritingDecisionsArgs;
1461
1615
  };
1462
1616
  /**
1463
1617
  * TenantCountOutputType without action
@@ -1534,6 +1688,12 @@ export type TenantCountOutputTypeCountDocumentTemplatesArgs<ExtArgs extends runt
1534
1688
  export type TenantCountOutputTypeCountOfferLettersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1535
1689
  where?: Prisma.OfferLetterWhereInput;
1536
1690
  };
1691
+ /**
1692
+ * TenantCountOutputType without action
1693
+ */
1694
+ export type TenantCountOutputTypeCountUnderwritingDecisionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1695
+ where?: Prisma.UnderwritingDecisionWhereInput;
1696
+ };
1537
1697
  export type TenantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1538
1698
  id?: boolean;
1539
1699
  name?: boolean;
@@ -1552,6 +1712,7 @@ export type TenantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
1552
1712
  contractTerminations?: boolean | Prisma.Tenant$contractTerminationsArgs<ExtArgs>;
1553
1713
  documentTemplates?: boolean | Prisma.Tenant$documentTemplatesArgs<ExtArgs>;
1554
1714
  offerLetters?: boolean | Prisma.Tenant$offerLettersArgs<ExtArgs>;
1715
+ underwritingDecisions?: boolean | Prisma.Tenant$underwritingDecisionsArgs<ExtArgs>;
1555
1716
  _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs<ExtArgs>;
1556
1717
  }, ExtArgs["result"]["tenant"]>;
1557
1718
  export type TenantSelectScalar = {
@@ -1575,6 +1736,7 @@ export type TenantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
1575
1736
  contractTerminations?: boolean | Prisma.Tenant$contractTerminationsArgs<ExtArgs>;
1576
1737
  documentTemplates?: boolean | Prisma.Tenant$documentTemplatesArgs<ExtArgs>;
1577
1738
  offerLetters?: boolean | Prisma.Tenant$offerLettersArgs<ExtArgs>;
1739
+ underwritingDecisions?: boolean | Prisma.Tenant$underwritingDecisionsArgs<ExtArgs>;
1578
1740
  _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs<ExtArgs>;
1579
1741
  };
1580
1742
  export type $TenantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1591,6 +1753,7 @@ export type $TenantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
1591
1753
  contractTerminations: Prisma.$ContractTerminationPayload<ExtArgs>[];
1592
1754
  documentTemplates: Prisma.$DocumentTemplatePayload<ExtArgs>[];
1593
1755
  offerLetters: Prisma.$OfferLetterPayload<ExtArgs>[];
1756
+ underwritingDecisions: Prisma.$UnderwritingDecisionPayload<ExtArgs>[];
1594
1757
  };
1595
1758
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1596
1759
  id: string;
@@ -1887,6 +2050,7 @@ export interface Prisma__TenantClient<T, Null = never, ExtArgs extends runtime.T
1887
2050
  contractTerminations<T extends Prisma.Tenant$contractTerminationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$contractTerminationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractTerminationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1888
2051
  documentTemplates<T extends Prisma.Tenant$documentTemplatesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$documentTemplatesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1889
2052
  offerLetters<T extends Prisma.Tenant$offerLettersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$offerLettersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OfferLetterPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2053
+ underwritingDecisions<T extends Prisma.Tenant$underwritingDecisionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$underwritingDecisionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UnderwritingDecisionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1890
2054
  /**
1891
2055
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1892
2056
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2498,6 +2662,29 @@ export type Tenant$offerLettersArgs<ExtArgs extends runtime.Types.Extensions.Int
2498
2662
  skip?: number;
2499
2663
  distinct?: Prisma.OfferLetterScalarFieldEnum | Prisma.OfferLetterScalarFieldEnum[];
2500
2664
  };
2665
+ /**
2666
+ * Tenant.underwritingDecisions
2667
+ */
2668
+ export type Tenant$underwritingDecisionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2669
+ /**
2670
+ * Select specific fields to fetch from the UnderwritingDecision
2671
+ */
2672
+ select?: Prisma.UnderwritingDecisionSelect<ExtArgs> | null;
2673
+ /**
2674
+ * Omit specific fields from the UnderwritingDecision
2675
+ */
2676
+ omit?: Prisma.UnderwritingDecisionOmit<ExtArgs> | null;
2677
+ /**
2678
+ * Choose, which related nodes to fetch as well
2679
+ */
2680
+ include?: Prisma.UnderwritingDecisionInclude<ExtArgs> | null;
2681
+ where?: Prisma.UnderwritingDecisionWhereInput;
2682
+ orderBy?: Prisma.UnderwritingDecisionOrderByWithRelationInput | Prisma.UnderwritingDecisionOrderByWithRelationInput[];
2683
+ cursor?: Prisma.UnderwritingDecisionWhereUniqueInput;
2684
+ take?: number;
2685
+ skip?: number;
2686
+ distinct?: Prisma.UnderwritingDecisionScalarFieldEnum | Prisma.UnderwritingDecisionScalarFieldEnum[];
2687
+ };
2501
2688
  /**
2502
2689
  * Tenant without action
2503
2690
  */