@valentine-efagene/qshelter-common 2.0.36 → 2.0.38

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.
@@ -155,6 +155,8 @@ export type TenantWhereInput = {
155
155
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
156
156
  documentRequirementRules?: Prisma.DocumentRequirementRuleListRelationFilter;
157
157
  contractTerminations?: Prisma.ContractTerminationListRelationFilter;
158
+ documentTemplates?: Prisma.DocumentTemplateListRelationFilter;
159
+ offerLetters?: Prisma.OfferLetterListRelationFilter;
158
160
  };
159
161
  export type TenantOrderByWithRelationInput = {
160
162
  id?: Prisma.SortOrder;
@@ -172,6 +174,8 @@ export type TenantOrderByWithRelationInput = {
172
174
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
173
175
  documentRequirementRules?: Prisma.DocumentRequirementRuleOrderByRelationAggregateInput;
174
176
  contractTerminations?: Prisma.ContractTerminationOrderByRelationAggregateInput;
177
+ documentTemplates?: Prisma.DocumentTemplateOrderByRelationAggregateInput;
178
+ offerLetters?: Prisma.OfferLetterOrderByRelationAggregateInput;
175
179
  _relevance?: Prisma.TenantOrderByRelevanceInput;
176
180
  };
177
181
  export type TenantWhereUniqueInput = Prisma.AtLeast<{
@@ -193,6 +197,8 @@ export type TenantWhereUniqueInput = Prisma.AtLeast<{
193
197
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
194
198
  documentRequirementRules?: Prisma.DocumentRequirementRuleListRelationFilter;
195
199
  contractTerminations?: Prisma.ContractTerminationListRelationFilter;
200
+ documentTemplates?: Prisma.DocumentTemplateListRelationFilter;
201
+ offerLetters?: Prisma.OfferLetterListRelationFilter;
196
202
  }, "id" | "subdomain">;
197
203
  export type TenantOrderByWithAggregationInput = {
198
204
  id?: Prisma.SortOrder;
@@ -232,6 +238,8 @@ export type TenantCreateInput = {
232
238
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
233
239
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
234
240
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
241
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
242
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
235
243
  };
236
244
  export type TenantUncheckedCreateInput = {
237
245
  id?: string;
@@ -249,6 +257,8 @@ export type TenantUncheckedCreateInput = {
249
257
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
250
258
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
251
259
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
260
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
261
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
252
262
  };
253
263
  export type TenantUpdateInput = {
254
264
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -266,6 +276,8 @@ export type TenantUpdateInput = {
266
276
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
267
277
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
268
278
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
279
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
280
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
269
281
  };
270
282
  export type TenantUncheckedUpdateInput = {
271
283
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -283,6 +295,8 @@ export type TenantUncheckedUpdateInput = {
283
295
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
284
296
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
285
297
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
298
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
299
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
286
300
  };
287
301
  export type TenantCreateManyInput = {
288
302
  id?: string;
@@ -409,6 +423,30 @@ export type TenantUpdateOneRequiredWithoutContractsNestedInput = {
409
423
  connect?: Prisma.TenantWhereUniqueInput;
410
424
  update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutContractsInput, Prisma.TenantUpdateWithoutContractsInput>, Prisma.TenantUncheckedUpdateWithoutContractsInput>;
411
425
  };
426
+ export type TenantCreateNestedOneWithoutDocumentTemplatesInput = {
427
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedCreateWithoutDocumentTemplatesInput>;
428
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutDocumentTemplatesInput;
429
+ connect?: Prisma.TenantWhereUniqueInput;
430
+ };
431
+ export type TenantUpdateOneRequiredWithoutDocumentTemplatesNestedInput = {
432
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedCreateWithoutDocumentTemplatesInput>;
433
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutDocumentTemplatesInput;
434
+ upsert?: Prisma.TenantUpsertWithoutDocumentTemplatesInput;
435
+ connect?: Prisma.TenantWhereUniqueInput;
436
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutDocumentTemplatesInput, Prisma.TenantUpdateWithoutDocumentTemplatesInput>, Prisma.TenantUncheckedUpdateWithoutDocumentTemplatesInput>;
437
+ };
438
+ export type TenantCreateNestedOneWithoutOfferLettersInput = {
439
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutOfferLettersInput, Prisma.TenantUncheckedCreateWithoutOfferLettersInput>;
440
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutOfferLettersInput;
441
+ connect?: Prisma.TenantWhereUniqueInput;
442
+ };
443
+ export type TenantUpdateOneRequiredWithoutOfferLettersNestedInput = {
444
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutOfferLettersInput, Prisma.TenantUncheckedCreateWithoutOfferLettersInput>;
445
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutOfferLettersInput;
446
+ upsert?: Prisma.TenantUpsertWithoutOfferLettersInput;
447
+ connect?: Prisma.TenantWhereUniqueInput;
448
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutOfferLettersInput, Prisma.TenantUpdateWithoutOfferLettersInput>, Prisma.TenantUncheckedUpdateWithoutOfferLettersInput>;
449
+ };
412
450
  export type TenantCreateNestedOneWithoutContractTerminationsInput = {
413
451
  create?: Prisma.XOR<Prisma.TenantCreateWithoutContractTerminationsInput, Prisma.TenantUncheckedCreateWithoutContractTerminationsInput>;
414
452
  connectOrCreate?: Prisma.TenantCreateOrConnectWithoutContractTerminationsInput;
@@ -472,6 +510,8 @@ export type TenantCreateWithoutUsersInput = {
472
510
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
473
511
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
474
512
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
513
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
514
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
475
515
  };
476
516
  export type TenantUncheckedCreateWithoutUsersInput = {
477
517
  id?: string;
@@ -488,6 +528,8 @@ export type TenantUncheckedCreateWithoutUsersInput = {
488
528
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
489
529
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
490
530
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
531
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
532
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
491
533
  };
492
534
  export type TenantCreateOrConnectWithoutUsersInput = {
493
535
  where: Prisma.TenantWhereUniqueInput;
@@ -517,6 +559,8 @@ export type TenantUpdateWithoutUsersInput = {
517
559
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
518
560
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
519
561
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
562
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
563
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
520
564
  };
521
565
  export type TenantUncheckedUpdateWithoutUsersInput = {
522
566
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -533,6 +577,8 @@ export type TenantUncheckedUpdateWithoutUsersInput = {
533
577
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
534
578
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
535
579
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
580
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
581
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
536
582
  };
537
583
  export type TenantCreateWithoutPropertiesInput = {
538
584
  id?: string;
@@ -549,6 +595,8 @@ export type TenantCreateWithoutPropertiesInput = {
549
595
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
550
596
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
551
597
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
598
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
599
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
552
600
  };
553
601
  export type TenantUncheckedCreateWithoutPropertiesInput = {
554
602
  id?: string;
@@ -565,6 +613,8 @@ export type TenantUncheckedCreateWithoutPropertiesInput = {
565
613
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
566
614
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
567
615
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
616
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
617
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
568
618
  };
569
619
  export type TenantCreateOrConnectWithoutPropertiesInput = {
570
620
  where: Prisma.TenantWhereUniqueInput;
@@ -594,6 +644,8 @@ export type TenantUpdateWithoutPropertiesInput = {
594
644
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
595
645
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
596
646
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
647
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
648
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
597
649
  };
598
650
  export type TenantUncheckedUpdateWithoutPropertiesInput = {
599
651
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -610,6 +662,8 @@ export type TenantUncheckedUpdateWithoutPropertiesInput = {
610
662
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
611
663
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
612
664
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
665
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
666
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
613
667
  };
614
668
  export type TenantCreateWithoutPaymentPlansInput = {
615
669
  id?: string;
@@ -626,6 +680,8 @@ export type TenantCreateWithoutPaymentPlansInput = {
626
680
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
627
681
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
628
682
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
683
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
684
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
629
685
  };
630
686
  export type TenantUncheckedCreateWithoutPaymentPlansInput = {
631
687
  id?: string;
@@ -642,6 +698,8 @@ export type TenantUncheckedCreateWithoutPaymentPlansInput = {
642
698
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
643
699
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
644
700
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
701
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
702
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
645
703
  };
646
704
  export type TenantCreateOrConnectWithoutPaymentPlansInput = {
647
705
  where: Prisma.TenantWhereUniqueInput;
@@ -671,6 +729,8 @@ export type TenantUpdateWithoutPaymentPlansInput = {
671
729
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
672
730
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
673
731
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
732
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
733
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
674
734
  };
675
735
  export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
676
736
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -687,6 +747,8 @@ export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
687
747
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
688
748
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
689
749
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
750
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
751
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
690
752
  };
691
753
  export type TenantCreateWithoutPaymentMethodsInput = {
692
754
  id?: string;
@@ -703,6 +765,8 @@ export type TenantCreateWithoutPaymentMethodsInput = {
703
765
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
704
766
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
705
767
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
768
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
769
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
706
770
  };
707
771
  export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
708
772
  id?: string;
@@ -719,6 +783,8 @@ export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
719
783
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
720
784
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
721
785
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
786
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
787
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
722
788
  };
723
789
  export type TenantCreateOrConnectWithoutPaymentMethodsInput = {
724
790
  where: Prisma.TenantWhereUniqueInput;
@@ -748,6 +814,8 @@ export type TenantUpdateWithoutPaymentMethodsInput = {
748
814
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
749
815
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
750
816
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
817
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
818
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
751
819
  };
752
820
  export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
753
821
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -764,6 +832,8 @@ export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
764
832
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
765
833
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
766
834
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
835
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
836
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
767
837
  };
768
838
  export type TenantCreateWithoutContractsInput = {
769
839
  id?: string;
@@ -780,6 +850,8 @@ export type TenantCreateWithoutContractsInput = {
780
850
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
781
851
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
782
852
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
853
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
854
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
783
855
  };
784
856
  export type TenantUncheckedCreateWithoutContractsInput = {
785
857
  id?: string;
@@ -796,6 +868,8 @@ export type TenantUncheckedCreateWithoutContractsInput = {
796
868
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
797
869
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
798
870
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
871
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
872
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
799
873
  };
800
874
  export type TenantCreateOrConnectWithoutContractsInput = {
801
875
  where: Prisma.TenantWhereUniqueInput;
@@ -825,6 +899,8 @@ export type TenantUpdateWithoutContractsInput = {
825
899
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
826
900
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
827
901
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
902
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
903
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
828
904
  };
829
905
  export type TenantUncheckedUpdateWithoutContractsInput = {
830
906
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -841,6 +917,178 @@ export type TenantUncheckedUpdateWithoutContractsInput = {
841
917
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
842
918
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
843
919
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
920
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
921
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
922
+ };
923
+ export type TenantCreateWithoutDocumentTemplatesInput = {
924
+ id?: string;
925
+ name: string;
926
+ subdomain: string;
927
+ isActive?: boolean;
928
+ createdAt?: Date | string;
929
+ updatedAt?: Date | string;
930
+ users?: Prisma.UserCreateNestedManyWithoutTenantInput;
931
+ properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
932
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
933
+ paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
934
+ contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
935
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutTenantInput;
936
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
937
+ documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
938
+ contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
939
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
940
+ };
941
+ export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
942
+ id?: string;
943
+ name: string;
944
+ subdomain: string;
945
+ isActive?: boolean;
946
+ createdAt?: Date | string;
947
+ updatedAt?: Date | string;
948
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
949
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
950
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
951
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
952
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
953
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutTenantInput;
954
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
955
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
956
+ contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
957
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
958
+ };
959
+ export type TenantCreateOrConnectWithoutDocumentTemplatesInput = {
960
+ where: Prisma.TenantWhereUniqueInput;
961
+ create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedCreateWithoutDocumentTemplatesInput>;
962
+ };
963
+ export type TenantUpsertWithoutDocumentTemplatesInput = {
964
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedUpdateWithoutDocumentTemplatesInput>;
965
+ create: Prisma.XOR<Prisma.TenantCreateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedCreateWithoutDocumentTemplatesInput>;
966
+ where?: Prisma.TenantWhereInput;
967
+ };
968
+ export type TenantUpdateToOneWithWhereWithoutDocumentTemplatesInput = {
969
+ where?: Prisma.TenantWhereInput;
970
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutDocumentTemplatesInput, Prisma.TenantUncheckedUpdateWithoutDocumentTemplatesInput>;
971
+ };
972
+ export type TenantUpdateWithoutDocumentTemplatesInput = {
973
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
974
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
975
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
976
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
977
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
978
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
979
+ users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
980
+ properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
981
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
982
+ paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
983
+ contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
984
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutTenantNestedInput;
985
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
986
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
987
+ contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
988
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
989
+ };
990
+ export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
991
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
992
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
993
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
994
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
995
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
996
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
997
+ users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
998
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
999
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
1000
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
1001
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1002
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutTenantNestedInput;
1003
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1004
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1005
+ contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1006
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1007
+ };
1008
+ export type TenantCreateWithoutOfferLettersInput = {
1009
+ id?: string;
1010
+ name: string;
1011
+ subdomain: string;
1012
+ isActive?: boolean;
1013
+ createdAt?: Date | string;
1014
+ updatedAt?: Date | string;
1015
+ users?: Prisma.UserCreateNestedManyWithoutTenantInput;
1016
+ properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
1017
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
1018
+ paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
1019
+ contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
1020
+ prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutTenantInput;
1021
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1022
+ documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1023
+ contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1024
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1025
+ };
1026
+ export type TenantUncheckedCreateWithoutOfferLettersInput = {
1027
+ id?: string;
1028
+ name: string;
1029
+ subdomain: string;
1030
+ isActive?: boolean;
1031
+ createdAt?: Date | string;
1032
+ updatedAt?: Date | string;
1033
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
1034
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
1035
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
1036
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
1037
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
1038
+ prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutTenantInput;
1039
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1040
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1041
+ contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1042
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1043
+ };
1044
+ export type TenantCreateOrConnectWithoutOfferLettersInput = {
1045
+ where: Prisma.TenantWhereUniqueInput;
1046
+ create: Prisma.XOR<Prisma.TenantCreateWithoutOfferLettersInput, Prisma.TenantUncheckedCreateWithoutOfferLettersInput>;
1047
+ };
1048
+ export type TenantUpsertWithoutOfferLettersInput = {
1049
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutOfferLettersInput, Prisma.TenantUncheckedUpdateWithoutOfferLettersInput>;
1050
+ create: Prisma.XOR<Prisma.TenantCreateWithoutOfferLettersInput, Prisma.TenantUncheckedCreateWithoutOfferLettersInput>;
1051
+ where?: Prisma.TenantWhereInput;
1052
+ };
1053
+ export type TenantUpdateToOneWithWhereWithoutOfferLettersInput = {
1054
+ where?: Prisma.TenantWhereInput;
1055
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutOfferLettersInput, Prisma.TenantUncheckedUpdateWithoutOfferLettersInput>;
1056
+ };
1057
+ export type TenantUpdateWithoutOfferLettersInput = {
1058
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1059
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1060
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
1061
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1062
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1063
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1064
+ users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
1065
+ properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
1066
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
1067
+ paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
1068
+ contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
1069
+ prequalifications?: Prisma.PrequalificationUpdateManyWithoutTenantNestedInput;
1070
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1071
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1072
+ contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1073
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1074
+ };
1075
+ export type TenantUncheckedUpdateWithoutOfferLettersInput = {
1076
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1077
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1078
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
1079
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1080
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1081
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1082
+ users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
1083
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
1084
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
1085
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
1086
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1087
+ prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutTenantNestedInput;
1088
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1089
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1090
+ contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1091
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
844
1092
  };
845
1093
  export type TenantCreateWithoutContractTerminationsInput = {
846
1094
  id?: string;
@@ -857,6 +1105,8 @@ export type TenantCreateWithoutContractTerminationsInput = {
857
1105
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutTenantInput;
858
1106
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
859
1107
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1108
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1109
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
860
1110
  };
861
1111
  export type TenantUncheckedCreateWithoutContractTerminationsInput = {
862
1112
  id?: string;
@@ -873,6 +1123,8 @@ export type TenantUncheckedCreateWithoutContractTerminationsInput = {
873
1123
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutTenantInput;
874
1124
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
875
1125
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1126
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1127
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
876
1128
  };
877
1129
  export type TenantCreateOrConnectWithoutContractTerminationsInput = {
878
1130
  where: Prisma.TenantWhereUniqueInput;
@@ -902,6 +1154,8 @@ export type TenantUpdateWithoutContractTerminationsInput = {
902
1154
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutTenantNestedInput;
903
1155
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
904
1156
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1157
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1158
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
905
1159
  };
906
1160
  export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
907
1161
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -918,6 +1172,8 @@ export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
918
1172
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutTenantNestedInput;
919
1173
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
920
1174
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1175
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1176
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
921
1177
  };
922
1178
  export type TenantCreateWithoutPrequalificationsInput = {
923
1179
  id?: string;
@@ -934,6 +1190,8 @@ export type TenantCreateWithoutPrequalificationsInput = {
934
1190
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
935
1191
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
936
1192
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1193
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1194
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
937
1195
  };
938
1196
  export type TenantUncheckedCreateWithoutPrequalificationsInput = {
939
1197
  id?: string;
@@ -950,6 +1208,8 @@ export type TenantUncheckedCreateWithoutPrequalificationsInput = {
950
1208
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
951
1209
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
952
1210
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1211
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1212
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
953
1213
  };
954
1214
  export type TenantCreateOrConnectWithoutPrequalificationsInput = {
955
1215
  where: Prisma.TenantWhereUniqueInput;
@@ -979,6 +1239,8 @@ export type TenantUpdateWithoutPrequalificationsInput = {
979
1239
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
980
1240
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
981
1241
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1242
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1243
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
982
1244
  };
983
1245
  export type TenantUncheckedUpdateWithoutPrequalificationsInput = {
984
1246
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -995,6 +1257,8 @@ export type TenantUncheckedUpdateWithoutPrequalificationsInput = {
995
1257
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
996
1258
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
997
1259
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1260
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1261
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
998
1262
  };
999
1263
  export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
1000
1264
  id?: string;
@@ -1011,6 +1275,8 @@ export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
1011
1275
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutTenantInput;
1012
1276
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1013
1277
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1278
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1279
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1014
1280
  };
1015
1281
  export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
1016
1282
  id?: string;
@@ -1027,6 +1293,8 @@ export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
1027
1293
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutTenantInput;
1028
1294
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1029
1295
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1296
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1297
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1030
1298
  };
1031
1299
  export type TenantCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
1032
1300
  where: Prisma.TenantWhereUniqueInput;
@@ -1056,6 +1324,8 @@ export type TenantUpdateWithoutPaymentMethodChangeRequestsInput = {
1056
1324
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutTenantNestedInput;
1057
1325
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1058
1326
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1327
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1328
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1059
1329
  };
1060
1330
  export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
1061
1331
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1072,6 +1342,8 @@ export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
1072
1342
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutTenantNestedInput;
1073
1343
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1074
1344
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1345
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1346
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1075
1347
  };
1076
1348
  export type TenantCreateWithoutDocumentRequirementRulesInput = {
1077
1349
  id?: string;
@@ -1088,6 +1360,8 @@ export type TenantCreateWithoutDocumentRequirementRulesInput = {
1088
1360
  prequalifications?: Prisma.PrequalificationCreateNestedManyWithoutTenantInput;
1089
1361
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1090
1362
  contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1363
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1364
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1091
1365
  };
1092
1366
  export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
1093
1367
  id?: string;
@@ -1104,6 +1378,8 @@ export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
1104
1378
  prequalifications?: Prisma.PrequalificationUncheckedCreateNestedManyWithoutTenantInput;
1105
1379
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1106
1380
  contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1381
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1382
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1107
1383
  };
1108
1384
  export type TenantCreateOrConnectWithoutDocumentRequirementRulesInput = {
1109
1385
  where: Prisma.TenantWhereUniqueInput;
@@ -1133,6 +1409,8 @@ export type TenantUpdateWithoutDocumentRequirementRulesInput = {
1133
1409
  prequalifications?: Prisma.PrequalificationUpdateManyWithoutTenantNestedInput;
1134
1410
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1135
1411
  contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1412
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1413
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1136
1414
  };
1137
1415
  export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
1138
1416
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1149,6 +1427,8 @@ export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
1149
1427
  prequalifications?: Prisma.PrequalificationUncheckedUpdateManyWithoutTenantNestedInput;
1150
1428
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1151
1429
  contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1430
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1431
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1152
1432
  };
1153
1433
  /**
1154
1434
  * Count Type TenantCountOutputType
@@ -1163,6 +1443,8 @@ export type TenantCountOutputType = {
1163
1443
  paymentMethodChangeRequests: number;
1164
1444
  documentRequirementRules: number;
1165
1445
  contractTerminations: number;
1446
+ documentTemplates: number;
1447
+ offerLetters: number;
1166
1448
  };
1167
1449
  export type TenantCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1168
1450
  users?: boolean | TenantCountOutputTypeCountUsersArgs;
@@ -1174,6 +1456,8 @@ export type TenantCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions
1174
1456
  paymentMethodChangeRequests?: boolean | TenantCountOutputTypeCountPaymentMethodChangeRequestsArgs;
1175
1457
  documentRequirementRules?: boolean | TenantCountOutputTypeCountDocumentRequirementRulesArgs;
1176
1458
  contractTerminations?: boolean | TenantCountOutputTypeCountContractTerminationsArgs;
1459
+ documentTemplates?: boolean | TenantCountOutputTypeCountDocumentTemplatesArgs;
1460
+ offerLetters?: boolean | TenantCountOutputTypeCountOfferLettersArgs;
1177
1461
  };
1178
1462
  /**
1179
1463
  * TenantCountOutputType without action
@@ -1238,6 +1522,18 @@ export type TenantCountOutputTypeCountDocumentRequirementRulesArgs<ExtArgs exten
1238
1522
  export type TenantCountOutputTypeCountContractTerminationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1239
1523
  where?: Prisma.ContractTerminationWhereInput;
1240
1524
  };
1525
+ /**
1526
+ * TenantCountOutputType without action
1527
+ */
1528
+ export type TenantCountOutputTypeCountDocumentTemplatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1529
+ where?: Prisma.DocumentTemplateWhereInput;
1530
+ };
1531
+ /**
1532
+ * TenantCountOutputType without action
1533
+ */
1534
+ export type TenantCountOutputTypeCountOfferLettersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1535
+ where?: Prisma.OfferLetterWhereInput;
1536
+ };
1241
1537
  export type TenantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1242
1538
  id?: boolean;
1243
1539
  name?: boolean;
@@ -1254,6 +1550,8 @@ export type TenantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
1254
1550
  paymentMethodChangeRequests?: boolean | Prisma.Tenant$paymentMethodChangeRequestsArgs<ExtArgs>;
1255
1551
  documentRequirementRules?: boolean | Prisma.Tenant$documentRequirementRulesArgs<ExtArgs>;
1256
1552
  contractTerminations?: boolean | Prisma.Tenant$contractTerminationsArgs<ExtArgs>;
1553
+ documentTemplates?: boolean | Prisma.Tenant$documentTemplatesArgs<ExtArgs>;
1554
+ offerLetters?: boolean | Prisma.Tenant$offerLettersArgs<ExtArgs>;
1257
1555
  _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs<ExtArgs>;
1258
1556
  }, ExtArgs["result"]["tenant"]>;
1259
1557
  export type TenantSelectScalar = {
@@ -1275,6 +1573,8 @@ export type TenantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
1275
1573
  paymentMethodChangeRequests?: boolean | Prisma.Tenant$paymentMethodChangeRequestsArgs<ExtArgs>;
1276
1574
  documentRequirementRules?: boolean | Prisma.Tenant$documentRequirementRulesArgs<ExtArgs>;
1277
1575
  contractTerminations?: boolean | Prisma.Tenant$contractTerminationsArgs<ExtArgs>;
1576
+ documentTemplates?: boolean | Prisma.Tenant$documentTemplatesArgs<ExtArgs>;
1577
+ offerLetters?: boolean | Prisma.Tenant$offerLettersArgs<ExtArgs>;
1278
1578
  _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs<ExtArgs>;
1279
1579
  };
1280
1580
  export type $TenantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1289,6 +1589,8 @@ export type $TenantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
1289
1589
  paymentMethodChangeRequests: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
1290
1590
  documentRequirementRules: Prisma.$DocumentRequirementRulePayload<ExtArgs>[];
1291
1591
  contractTerminations: Prisma.$ContractTerminationPayload<ExtArgs>[];
1592
+ documentTemplates: Prisma.$DocumentTemplatePayload<ExtArgs>[];
1593
+ offerLetters: Prisma.$OfferLetterPayload<ExtArgs>[];
1292
1594
  };
1293
1595
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1294
1596
  id: string;
@@ -1583,6 +1885,8 @@ export interface Prisma__TenantClient<T, Null = never, ExtArgs extends runtime.T
1583
1885
  paymentMethodChangeRequests<T extends Prisma.Tenant$paymentMethodChangeRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$paymentMethodChangeRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1584
1886
  documentRequirementRules<T extends Prisma.Tenant$documentRequirementRulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$documentRequirementRulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentRequirementRulePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1585
1887
  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
+ 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
+ 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>;
1586
1890
  /**
1587
1891
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1588
1892
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2148,6 +2452,52 @@ export type Tenant$contractTerminationsArgs<ExtArgs extends runtime.Types.Extens
2148
2452
  skip?: number;
2149
2453
  distinct?: Prisma.ContractTerminationScalarFieldEnum | Prisma.ContractTerminationScalarFieldEnum[];
2150
2454
  };
2455
+ /**
2456
+ * Tenant.documentTemplates
2457
+ */
2458
+ export type Tenant$documentTemplatesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2459
+ /**
2460
+ * Select specific fields to fetch from the DocumentTemplate
2461
+ */
2462
+ select?: Prisma.DocumentTemplateSelect<ExtArgs> | null;
2463
+ /**
2464
+ * Omit specific fields from the DocumentTemplate
2465
+ */
2466
+ omit?: Prisma.DocumentTemplateOmit<ExtArgs> | null;
2467
+ /**
2468
+ * Choose, which related nodes to fetch as well
2469
+ */
2470
+ include?: Prisma.DocumentTemplateInclude<ExtArgs> | null;
2471
+ where?: Prisma.DocumentTemplateWhereInput;
2472
+ orderBy?: Prisma.DocumentTemplateOrderByWithRelationInput | Prisma.DocumentTemplateOrderByWithRelationInput[];
2473
+ cursor?: Prisma.DocumentTemplateWhereUniqueInput;
2474
+ take?: number;
2475
+ skip?: number;
2476
+ distinct?: Prisma.DocumentTemplateScalarFieldEnum | Prisma.DocumentTemplateScalarFieldEnum[];
2477
+ };
2478
+ /**
2479
+ * Tenant.offerLetters
2480
+ */
2481
+ export type Tenant$offerLettersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2482
+ /**
2483
+ * Select specific fields to fetch from the OfferLetter
2484
+ */
2485
+ select?: Prisma.OfferLetterSelect<ExtArgs> | null;
2486
+ /**
2487
+ * Omit specific fields from the OfferLetter
2488
+ */
2489
+ omit?: Prisma.OfferLetterOmit<ExtArgs> | null;
2490
+ /**
2491
+ * Choose, which related nodes to fetch as well
2492
+ */
2493
+ include?: Prisma.OfferLetterInclude<ExtArgs> | null;
2494
+ where?: Prisma.OfferLetterWhereInput;
2495
+ orderBy?: Prisma.OfferLetterOrderByWithRelationInput | Prisma.OfferLetterOrderByWithRelationInput[];
2496
+ cursor?: Prisma.OfferLetterWhereUniqueInput;
2497
+ take?: number;
2498
+ skip?: number;
2499
+ distinct?: Prisma.OfferLetterScalarFieldEnum | Prisma.OfferLetterScalarFieldEnum[];
2500
+ };
2151
2501
  /**
2152
2502
  * Tenant without action
2153
2503
  */