@valentine-efagene/qshelter-common 2.0.72 → 2.0.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/generated/client/browser.d.ts +10 -0
  2. package/dist/generated/client/client.d.ts +10 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +150 -0
  4. package/dist/generated/client/enums.d.ts +35 -0
  5. package/dist/generated/client/enums.js +32 -1
  6. package/dist/generated/client/internal/class.d.ts +22 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +227 -1
  9. package/dist/generated/client/internal/prismaNamespace.js +75 -3
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +76 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +75 -3
  12. package/dist/generated/client/models/ApprovalRequest.d.ts +2214 -0
  13. package/dist/generated/client/models/ApprovalRequest.js +1 -0
  14. package/dist/generated/client/models/Contract.d.ts +1522 -280
  15. package/dist/generated/client/models/PropertyTransferRequest.d.ts +2535 -0
  16. package/dist/generated/client/models/PropertyTransferRequest.js +1 -0
  17. package/dist/generated/client/models/PropertyUnit.d.ts +147 -0
  18. package/dist/generated/client/models/Tenant.d.ts +446 -0
  19. package/dist/generated/client/models/User.d.ts +1664 -23
  20. package/dist/generated/client/models.d.ts +2 -0
  21. package/package.json +1 -1
  22. package/prisma/migrations/20260106062140_add_step_event_attachments/migration.sql +22 -0
  23. package/prisma/migrations/20260107121844_add_property_transfer_requests/migration.sql +64 -0
  24. package/prisma/migrations/20260107172301_add_approval_request_model/migration.sql +46 -0
  25. package/prisma/schema.prisma +186 -0
@@ -161,6 +161,8 @@ export type TenantWhereInput = {
161
161
  eventTypes?: Prisma.EventTypeListRelationFilter;
162
162
  eventHandlers?: Prisma.EventHandlerListRelationFilter;
163
163
  workflowEvents?: Prisma.WorkflowEventListRelationFilter;
164
+ propertyTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
165
+ approvalRequests?: Prisma.ApprovalRequestListRelationFilter;
164
166
  };
165
167
  export type TenantOrderByWithRelationInput = {
166
168
  id?: Prisma.SortOrder;
@@ -184,6 +186,8 @@ export type TenantOrderByWithRelationInput = {
184
186
  eventTypes?: Prisma.EventTypeOrderByRelationAggregateInput;
185
187
  eventHandlers?: Prisma.EventHandlerOrderByRelationAggregateInput;
186
188
  workflowEvents?: Prisma.WorkflowEventOrderByRelationAggregateInput;
189
+ propertyTransferRequests?: Prisma.PropertyTransferRequestOrderByRelationAggregateInput;
190
+ approvalRequests?: Prisma.ApprovalRequestOrderByRelationAggregateInput;
187
191
  _relevance?: Prisma.TenantOrderByRelevanceInput;
188
192
  };
189
193
  export type TenantWhereUniqueInput = Prisma.AtLeast<{
@@ -211,6 +215,8 @@ export type TenantWhereUniqueInput = Prisma.AtLeast<{
211
215
  eventTypes?: Prisma.EventTypeListRelationFilter;
212
216
  eventHandlers?: Prisma.EventHandlerListRelationFilter;
213
217
  workflowEvents?: Prisma.WorkflowEventListRelationFilter;
218
+ propertyTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
219
+ approvalRequests?: Prisma.ApprovalRequestListRelationFilter;
214
220
  }, "id" | "subdomain">;
215
221
  export type TenantOrderByWithAggregationInput = {
216
222
  id?: Prisma.SortOrder;
@@ -256,6 +262,8 @@ export type TenantCreateInput = {
256
262
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
257
263
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
258
264
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
265
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
266
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
259
267
  };
260
268
  export type TenantUncheckedCreateInput = {
261
269
  id?: string;
@@ -279,6 +287,8 @@ export type TenantUncheckedCreateInput = {
279
287
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
280
288
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
281
289
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
290
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
291
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
282
292
  };
283
293
  export type TenantUpdateInput = {
284
294
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -302,6 +312,8 @@ export type TenantUpdateInput = {
302
312
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
303
313
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
304
314
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
315
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
316
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
305
317
  };
306
318
  export type TenantUncheckedUpdateInput = {
307
319
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -325,6 +337,8 @@ export type TenantUncheckedUpdateInput = {
325
337
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
326
338
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
327
339
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
340
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
341
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
328
342
  };
329
343
  export type TenantCreateManyInput = {
330
344
  id?: string;
@@ -571,6 +585,30 @@ export type TenantUpdateOneRequiredWithoutWorkflowEventsNestedInput = {
571
585
  connect?: Prisma.TenantWhereUniqueInput;
572
586
  update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutWorkflowEventsInput, Prisma.TenantUpdateWithoutWorkflowEventsInput>, Prisma.TenantUncheckedUpdateWithoutWorkflowEventsInput>;
573
587
  };
588
+ export type TenantCreateNestedOneWithoutPropertyTransferRequestsInput = {
589
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutPropertyTransferRequestsInput, Prisma.TenantUncheckedCreateWithoutPropertyTransferRequestsInput>;
590
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutPropertyTransferRequestsInput;
591
+ connect?: Prisma.TenantWhereUniqueInput;
592
+ };
593
+ export type TenantUpdateOneRequiredWithoutPropertyTransferRequestsNestedInput = {
594
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutPropertyTransferRequestsInput, Prisma.TenantUncheckedCreateWithoutPropertyTransferRequestsInput>;
595
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutPropertyTransferRequestsInput;
596
+ upsert?: Prisma.TenantUpsertWithoutPropertyTransferRequestsInput;
597
+ connect?: Prisma.TenantWhereUniqueInput;
598
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutPropertyTransferRequestsInput, Prisma.TenantUpdateWithoutPropertyTransferRequestsInput>, Prisma.TenantUncheckedUpdateWithoutPropertyTransferRequestsInput>;
599
+ };
600
+ export type TenantCreateNestedOneWithoutApprovalRequestsInput = {
601
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutApprovalRequestsInput, Prisma.TenantUncheckedCreateWithoutApprovalRequestsInput>;
602
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApprovalRequestsInput;
603
+ connect?: Prisma.TenantWhereUniqueInput;
604
+ };
605
+ export type TenantUpdateOneRequiredWithoutApprovalRequestsNestedInput = {
606
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutApprovalRequestsInput, Prisma.TenantUncheckedCreateWithoutApprovalRequestsInput>;
607
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApprovalRequestsInput;
608
+ upsert?: Prisma.TenantUpsertWithoutApprovalRequestsInput;
609
+ connect?: Prisma.TenantWhereUniqueInput;
610
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutApprovalRequestsInput, Prisma.TenantUpdateWithoutApprovalRequestsInput>, Prisma.TenantUncheckedUpdateWithoutApprovalRequestsInput>;
611
+ };
574
612
  export type TenantCreateWithoutUsersInput = {
575
613
  id?: string;
576
614
  name: string;
@@ -592,6 +630,8 @@ export type TenantCreateWithoutUsersInput = {
592
630
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
593
631
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
594
632
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
633
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
634
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
595
635
  };
596
636
  export type TenantUncheckedCreateWithoutUsersInput = {
597
637
  id?: string;
@@ -614,6 +654,8 @@ export type TenantUncheckedCreateWithoutUsersInput = {
614
654
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
615
655
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
616
656
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
657
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
658
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
617
659
  };
618
660
  export type TenantCreateOrConnectWithoutUsersInput = {
619
661
  where: Prisma.TenantWhereUniqueInput;
@@ -649,6 +691,8 @@ export type TenantUpdateWithoutUsersInput = {
649
691
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
650
692
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
651
693
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
694
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
695
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
652
696
  };
653
697
  export type TenantUncheckedUpdateWithoutUsersInput = {
654
698
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -671,6 +715,8 @@ export type TenantUncheckedUpdateWithoutUsersInput = {
671
715
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
672
716
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
673
717
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
718
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
719
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
674
720
  };
675
721
  export type TenantCreateWithoutApiKeysInput = {
676
722
  id?: string;
@@ -693,6 +739,8 @@ export type TenantCreateWithoutApiKeysInput = {
693
739
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
694
740
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
695
741
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
742
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
743
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
696
744
  };
697
745
  export type TenantUncheckedCreateWithoutApiKeysInput = {
698
746
  id?: string;
@@ -715,6 +763,8 @@ export type TenantUncheckedCreateWithoutApiKeysInput = {
715
763
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
716
764
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
717
765
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
766
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
767
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
718
768
  };
719
769
  export type TenantCreateOrConnectWithoutApiKeysInput = {
720
770
  where: Prisma.TenantWhereUniqueInput;
@@ -750,6 +800,8 @@ export type TenantUpdateWithoutApiKeysInput = {
750
800
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
751
801
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
752
802
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
803
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
804
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
753
805
  };
754
806
  export type TenantUncheckedUpdateWithoutApiKeysInput = {
755
807
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -772,6 +824,8 @@ export type TenantUncheckedUpdateWithoutApiKeysInput = {
772
824
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
773
825
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
774
826
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
827
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
828
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
775
829
  };
776
830
  export type TenantCreateWithoutPropertiesInput = {
777
831
  id?: string;
@@ -794,6 +848,8 @@ export type TenantCreateWithoutPropertiesInput = {
794
848
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
795
849
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
796
850
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
851
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
852
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
797
853
  };
798
854
  export type TenantUncheckedCreateWithoutPropertiesInput = {
799
855
  id?: string;
@@ -816,6 +872,8 @@ export type TenantUncheckedCreateWithoutPropertiesInput = {
816
872
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
817
873
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
818
874
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
875
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
876
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
819
877
  };
820
878
  export type TenantCreateOrConnectWithoutPropertiesInput = {
821
879
  where: Prisma.TenantWhereUniqueInput;
@@ -851,6 +909,8 @@ export type TenantUpdateWithoutPropertiesInput = {
851
909
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
852
910
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
853
911
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
912
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
913
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
854
914
  };
855
915
  export type TenantUncheckedUpdateWithoutPropertiesInput = {
856
916
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -873,6 +933,8 @@ export type TenantUncheckedUpdateWithoutPropertiesInput = {
873
933
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
874
934
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
875
935
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
936
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
937
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
876
938
  };
877
939
  export type TenantCreateWithoutPaymentPlansInput = {
878
940
  id?: string;
@@ -895,6 +957,8 @@ export type TenantCreateWithoutPaymentPlansInput = {
895
957
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
896
958
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
897
959
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
960
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
961
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
898
962
  };
899
963
  export type TenantUncheckedCreateWithoutPaymentPlansInput = {
900
964
  id?: string;
@@ -917,6 +981,8 @@ export type TenantUncheckedCreateWithoutPaymentPlansInput = {
917
981
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
918
982
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
919
983
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
984
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
985
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
920
986
  };
921
987
  export type TenantCreateOrConnectWithoutPaymentPlansInput = {
922
988
  where: Prisma.TenantWhereUniqueInput;
@@ -952,6 +1018,8 @@ export type TenantUpdateWithoutPaymentPlansInput = {
952
1018
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
953
1019
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
954
1020
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1021
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1022
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
955
1023
  };
956
1024
  export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
957
1025
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -974,6 +1042,8 @@ export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
974
1042
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
975
1043
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
976
1044
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1045
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1046
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
977
1047
  };
978
1048
  export type TenantCreateWithoutPaymentMethodsInput = {
979
1049
  id?: string;
@@ -996,6 +1066,8 @@ export type TenantCreateWithoutPaymentMethodsInput = {
996
1066
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
997
1067
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
998
1068
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1069
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1070
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
999
1071
  };
1000
1072
  export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
1001
1073
  id?: string;
@@ -1018,6 +1090,8 @@ export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
1018
1090
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
1019
1091
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
1020
1092
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1093
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1094
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1021
1095
  };
1022
1096
  export type TenantCreateOrConnectWithoutPaymentMethodsInput = {
1023
1097
  where: Prisma.TenantWhereUniqueInput;
@@ -1053,6 +1127,8 @@ export type TenantUpdateWithoutPaymentMethodsInput = {
1053
1127
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
1054
1128
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
1055
1129
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1130
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1131
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1056
1132
  };
1057
1133
  export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
1058
1134
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1075,6 +1151,8 @@ export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
1075
1151
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
1076
1152
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
1077
1153
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1154
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1155
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1078
1156
  };
1079
1157
  export type TenantCreateWithoutContractsInput = {
1080
1158
  id?: string;
@@ -1097,6 +1175,8 @@ export type TenantCreateWithoutContractsInput = {
1097
1175
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
1098
1176
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
1099
1177
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1178
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1179
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1100
1180
  };
1101
1181
  export type TenantUncheckedCreateWithoutContractsInput = {
1102
1182
  id?: string;
@@ -1119,6 +1199,8 @@ export type TenantUncheckedCreateWithoutContractsInput = {
1119
1199
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
1120
1200
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
1121
1201
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1202
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1203
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1122
1204
  };
1123
1205
  export type TenantCreateOrConnectWithoutContractsInput = {
1124
1206
  where: Prisma.TenantWhereUniqueInput;
@@ -1154,6 +1236,8 @@ export type TenantUpdateWithoutContractsInput = {
1154
1236
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
1155
1237
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
1156
1238
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1239
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1240
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1157
1241
  };
1158
1242
  export type TenantUncheckedUpdateWithoutContractsInput = {
1159
1243
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1176,6 +1260,8 @@ export type TenantUncheckedUpdateWithoutContractsInput = {
1176
1260
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
1177
1261
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
1178
1262
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1263
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1264
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1179
1265
  };
1180
1266
  export type TenantCreateWithoutDocumentTemplatesInput = {
1181
1267
  id?: string;
@@ -1198,6 +1284,8 @@ export type TenantCreateWithoutDocumentTemplatesInput = {
1198
1284
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
1199
1285
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
1200
1286
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1287
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1288
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1201
1289
  };
1202
1290
  export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
1203
1291
  id?: string;
@@ -1220,6 +1308,8 @@ export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
1220
1308
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
1221
1309
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
1222
1310
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1311
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1312
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1223
1313
  };
1224
1314
  export type TenantCreateOrConnectWithoutDocumentTemplatesInput = {
1225
1315
  where: Prisma.TenantWhereUniqueInput;
@@ -1255,6 +1345,8 @@ export type TenantUpdateWithoutDocumentTemplatesInput = {
1255
1345
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
1256
1346
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
1257
1347
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1348
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1349
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1258
1350
  };
1259
1351
  export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
1260
1352
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1277,6 +1369,8 @@ export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
1277
1369
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
1278
1370
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
1279
1371
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1372
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1373
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1280
1374
  };
1281
1375
  export type TenantCreateWithoutOfferLettersInput = {
1282
1376
  id?: string;
@@ -1299,6 +1393,8 @@ export type TenantCreateWithoutOfferLettersInput = {
1299
1393
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
1300
1394
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
1301
1395
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1396
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1397
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1302
1398
  };
1303
1399
  export type TenantUncheckedCreateWithoutOfferLettersInput = {
1304
1400
  id?: string;
@@ -1321,6 +1417,8 @@ export type TenantUncheckedCreateWithoutOfferLettersInput = {
1321
1417
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
1322
1418
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
1323
1419
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1420
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1421
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1324
1422
  };
1325
1423
  export type TenantCreateOrConnectWithoutOfferLettersInput = {
1326
1424
  where: Prisma.TenantWhereUniqueInput;
@@ -1356,6 +1454,8 @@ export type TenantUpdateWithoutOfferLettersInput = {
1356
1454
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
1357
1455
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
1358
1456
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1457
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1458
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1359
1459
  };
1360
1460
  export type TenantUncheckedUpdateWithoutOfferLettersInput = {
1361
1461
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1378,6 +1478,8 @@ export type TenantUncheckedUpdateWithoutOfferLettersInput = {
1378
1478
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
1379
1479
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
1380
1480
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1481
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1482
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1381
1483
  };
1382
1484
  export type TenantCreateWithoutContractTerminationsInput = {
1383
1485
  id?: string;
@@ -1400,6 +1502,8 @@ export type TenantCreateWithoutContractTerminationsInput = {
1400
1502
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
1401
1503
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
1402
1504
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1505
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1506
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1403
1507
  };
1404
1508
  export type TenantUncheckedCreateWithoutContractTerminationsInput = {
1405
1509
  id?: string;
@@ -1422,6 +1526,8 @@ export type TenantUncheckedCreateWithoutContractTerminationsInput = {
1422
1526
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
1423
1527
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
1424
1528
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1529
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1530
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1425
1531
  };
1426
1532
  export type TenantCreateOrConnectWithoutContractTerminationsInput = {
1427
1533
  where: Prisma.TenantWhereUniqueInput;
@@ -1457,6 +1563,8 @@ export type TenantUpdateWithoutContractTerminationsInput = {
1457
1563
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
1458
1564
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
1459
1565
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1566
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1567
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1460
1568
  };
1461
1569
  export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
1462
1570
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1479,6 +1587,8 @@ export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
1479
1587
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
1480
1588
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
1481
1589
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1590
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1591
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1482
1592
  };
1483
1593
  export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
1484
1594
  id?: string;
@@ -1501,6 +1611,8 @@ export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
1501
1611
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
1502
1612
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
1503
1613
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1614
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1615
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1504
1616
  };
1505
1617
  export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
1506
1618
  id?: string;
@@ -1523,6 +1635,8 @@ export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
1523
1635
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
1524
1636
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
1525
1637
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1638
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1639
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1526
1640
  };
1527
1641
  export type TenantCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
1528
1642
  where: Prisma.TenantWhereUniqueInput;
@@ -1558,6 +1672,8 @@ export type TenantUpdateWithoutPaymentMethodChangeRequestsInput = {
1558
1672
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
1559
1673
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
1560
1674
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1675
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1676
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1561
1677
  };
1562
1678
  export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
1563
1679
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1580,6 +1696,8 @@ export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
1580
1696
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
1581
1697
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
1582
1698
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1699
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1700
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1583
1701
  };
1584
1702
  export type TenantCreateWithoutDocumentRequirementRulesInput = {
1585
1703
  id?: string;
@@ -1602,6 +1720,8 @@ export type TenantCreateWithoutDocumentRequirementRulesInput = {
1602
1720
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
1603
1721
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
1604
1722
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1723
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1724
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1605
1725
  };
1606
1726
  export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
1607
1727
  id?: string;
@@ -1624,6 +1744,8 @@ export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
1624
1744
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
1625
1745
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
1626
1746
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1747
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1748
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1627
1749
  };
1628
1750
  export type TenantCreateOrConnectWithoutDocumentRequirementRulesInput = {
1629
1751
  where: Prisma.TenantWhereUniqueInput;
@@ -1659,6 +1781,8 @@ export type TenantUpdateWithoutDocumentRequirementRulesInput = {
1659
1781
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
1660
1782
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
1661
1783
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1784
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1785
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1662
1786
  };
1663
1787
  export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
1664
1788
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1681,6 +1805,8 @@ export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
1681
1805
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
1682
1806
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
1683
1807
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1808
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1809
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1684
1810
  };
1685
1811
  export type TenantCreateWithoutEventChannelsInput = {
1686
1812
  id?: string;
@@ -1703,6 +1829,8 @@ export type TenantCreateWithoutEventChannelsInput = {
1703
1829
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
1704
1830
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
1705
1831
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1832
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1833
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1706
1834
  };
1707
1835
  export type TenantUncheckedCreateWithoutEventChannelsInput = {
1708
1836
  id?: string;
@@ -1725,6 +1853,8 @@ export type TenantUncheckedCreateWithoutEventChannelsInput = {
1725
1853
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
1726
1854
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
1727
1855
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1856
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1857
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1728
1858
  };
1729
1859
  export type TenantCreateOrConnectWithoutEventChannelsInput = {
1730
1860
  where: Prisma.TenantWhereUniqueInput;
@@ -1760,6 +1890,8 @@ export type TenantUpdateWithoutEventChannelsInput = {
1760
1890
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
1761
1891
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
1762
1892
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1893
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1894
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1763
1895
  };
1764
1896
  export type TenantUncheckedUpdateWithoutEventChannelsInput = {
1765
1897
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1782,6 +1914,8 @@ export type TenantUncheckedUpdateWithoutEventChannelsInput = {
1782
1914
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
1783
1915
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
1784
1916
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1917
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1918
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1785
1919
  };
1786
1920
  export type TenantCreateWithoutEventTypesInput = {
1787
1921
  id?: string;
@@ -1804,6 +1938,8 @@ export type TenantCreateWithoutEventTypesInput = {
1804
1938
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
1805
1939
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
1806
1940
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1941
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1942
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1807
1943
  };
1808
1944
  export type TenantUncheckedCreateWithoutEventTypesInput = {
1809
1945
  id?: string;
@@ -1826,6 +1962,8 @@ export type TenantUncheckedCreateWithoutEventTypesInput = {
1826
1962
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
1827
1963
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
1828
1964
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1965
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1966
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1829
1967
  };
1830
1968
  export type TenantCreateOrConnectWithoutEventTypesInput = {
1831
1969
  where: Prisma.TenantWhereUniqueInput;
@@ -1861,6 +1999,8 @@ export type TenantUpdateWithoutEventTypesInput = {
1861
1999
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
1862
2000
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
1863
2001
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2002
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2003
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1864
2004
  };
1865
2005
  export type TenantUncheckedUpdateWithoutEventTypesInput = {
1866
2006
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1883,6 +2023,8 @@ export type TenantUncheckedUpdateWithoutEventTypesInput = {
1883
2023
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
1884
2024
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
1885
2025
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2026
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2027
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1886
2028
  };
1887
2029
  export type TenantCreateWithoutEventHandlersInput = {
1888
2030
  id?: string;
@@ -1905,6 +2047,8 @@ export type TenantCreateWithoutEventHandlersInput = {
1905
2047
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
1906
2048
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
1907
2049
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2050
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2051
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1908
2052
  };
1909
2053
  export type TenantUncheckedCreateWithoutEventHandlersInput = {
1910
2054
  id?: string;
@@ -1927,6 +2071,8 @@ export type TenantUncheckedCreateWithoutEventHandlersInput = {
1927
2071
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
1928
2072
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
1929
2073
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2074
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2075
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1930
2076
  };
1931
2077
  export type TenantCreateOrConnectWithoutEventHandlersInput = {
1932
2078
  where: Prisma.TenantWhereUniqueInput;
@@ -1962,6 +2108,8 @@ export type TenantUpdateWithoutEventHandlersInput = {
1962
2108
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
1963
2109
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
1964
2110
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2111
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2112
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1965
2113
  };
1966
2114
  export type TenantUncheckedUpdateWithoutEventHandlersInput = {
1967
2115
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1984,6 +2132,8 @@ export type TenantUncheckedUpdateWithoutEventHandlersInput = {
1984
2132
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
1985
2133
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
1986
2134
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2135
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2136
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1987
2137
  };
1988
2138
  export type TenantCreateWithoutWorkflowEventsInput = {
1989
2139
  id?: string;
@@ -2006,6 +2156,8 @@ export type TenantCreateWithoutWorkflowEventsInput = {
2006
2156
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
2007
2157
  eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
2008
2158
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
2159
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2160
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2009
2161
  };
2010
2162
  export type TenantUncheckedCreateWithoutWorkflowEventsInput = {
2011
2163
  id?: string;
@@ -2028,6 +2180,8 @@ export type TenantUncheckedCreateWithoutWorkflowEventsInput = {
2028
2180
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
2029
2181
  eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
2030
2182
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
2183
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2184
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2031
2185
  };
2032
2186
  export type TenantCreateOrConnectWithoutWorkflowEventsInput = {
2033
2187
  where: Prisma.TenantWhereUniqueInput;
@@ -2063,6 +2217,8 @@ export type TenantUpdateWithoutWorkflowEventsInput = {
2063
2217
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
2064
2218
  eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
2065
2219
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
2220
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2221
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2066
2222
  };
2067
2223
  export type TenantUncheckedUpdateWithoutWorkflowEventsInput = {
2068
2224
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2085,6 +2241,226 @@ export type TenantUncheckedUpdateWithoutWorkflowEventsInput = {
2085
2241
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
2086
2242
  eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
2087
2243
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
2244
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2245
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2246
+ };
2247
+ export type TenantCreateWithoutPropertyTransferRequestsInput = {
2248
+ id?: string;
2249
+ name: string;
2250
+ subdomain: string;
2251
+ isActive?: boolean;
2252
+ createdAt?: Date | string;
2253
+ updatedAt?: Date | string;
2254
+ users?: Prisma.UserCreateNestedManyWithoutTenantInput;
2255
+ properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2256
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2257
+ paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2258
+ contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2259
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
2260
+ documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
2261
+ contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
2262
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
2263
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
2264
+ apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
2265
+ eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
2266
+ eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
2267
+ eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
2268
+ workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2269
+ approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2270
+ };
2271
+ export type TenantUncheckedCreateWithoutPropertyTransferRequestsInput = {
2272
+ id?: string;
2273
+ name: string;
2274
+ subdomain: string;
2275
+ isActive?: boolean;
2276
+ createdAt?: Date | string;
2277
+ updatedAt?: Date | string;
2278
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
2279
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2280
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2281
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2282
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2283
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
2284
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
2285
+ contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
2286
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
2287
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
2288
+ apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
2289
+ eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
2290
+ eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
2291
+ eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
2292
+ workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2293
+ approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2294
+ };
2295
+ export type TenantCreateOrConnectWithoutPropertyTransferRequestsInput = {
2296
+ where: Prisma.TenantWhereUniqueInput;
2297
+ create: Prisma.XOR<Prisma.TenantCreateWithoutPropertyTransferRequestsInput, Prisma.TenantUncheckedCreateWithoutPropertyTransferRequestsInput>;
2298
+ };
2299
+ export type TenantUpsertWithoutPropertyTransferRequestsInput = {
2300
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutPropertyTransferRequestsInput, Prisma.TenantUncheckedUpdateWithoutPropertyTransferRequestsInput>;
2301
+ create: Prisma.XOR<Prisma.TenantCreateWithoutPropertyTransferRequestsInput, Prisma.TenantUncheckedCreateWithoutPropertyTransferRequestsInput>;
2302
+ where?: Prisma.TenantWhereInput;
2303
+ };
2304
+ export type TenantUpdateToOneWithWhereWithoutPropertyTransferRequestsInput = {
2305
+ where?: Prisma.TenantWhereInput;
2306
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutPropertyTransferRequestsInput, Prisma.TenantUncheckedUpdateWithoutPropertyTransferRequestsInput>;
2307
+ };
2308
+ export type TenantUpdateWithoutPropertyTransferRequestsInput = {
2309
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2310
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
2311
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
2312
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2313
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2314
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2315
+ users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
2316
+ properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2317
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2318
+ paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2319
+ contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2320
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
2321
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
2322
+ contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
2323
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
2324
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
2325
+ apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
2326
+ eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
2327
+ eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
2328
+ eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
2329
+ workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2330
+ approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2331
+ };
2332
+ export type TenantUncheckedUpdateWithoutPropertyTransferRequestsInput = {
2333
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2334
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
2335
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
2336
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2337
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2338
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2339
+ users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
2340
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2341
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2342
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2343
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2344
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
2345
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
2346
+ contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2347
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
2348
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
2349
+ apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
2350
+ eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
2351
+ eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
2352
+ eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
2353
+ workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2354
+ approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2355
+ };
2356
+ export type TenantCreateWithoutApprovalRequestsInput = {
2357
+ id?: string;
2358
+ name: string;
2359
+ subdomain: string;
2360
+ isActive?: boolean;
2361
+ createdAt?: Date | string;
2362
+ updatedAt?: Date | string;
2363
+ users?: Prisma.UserCreateNestedManyWithoutTenantInput;
2364
+ properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2365
+ paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2366
+ paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2367
+ contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2368
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
2369
+ documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
2370
+ contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
2371
+ documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
2372
+ offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
2373
+ apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
2374
+ eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
2375
+ eventTypes?: Prisma.EventTypeCreateNestedManyWithoutTenantInput;
2376
+ eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
2377
+ workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2378
+ propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2379
+ };
2380
+ export type TenantUncheckedCreateWithoutApprovalRequestsInput = {
2381
+ id?: string;
2382
+ name: string;
2383
+ subdomain: string;
2384
+ isActive?: boolean;
2385
+ createdAt?: Date | string;
2386
+ updatedAt?: Date | string;
2387
+ users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
2388
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2389
+ paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2390
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2391
+ contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2392
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
2393
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
2394
+ contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
2395
+ documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
2396
+ offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
2397
+ apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
2398
+ eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
2399
+ eventTypes?: Prisma.EventTypeUncheckedCreateNestedManyWithoutTenantInput;
2400
+ eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
2401
+ workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2402
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2403
+ };
2404
+ export type TenantCreateOrConnectWithoutApprovalRequestsInput = {
2405
+ where: Prisma.TenantWhereUniqueInput;
2406
+ create: Prisma.XOR<Prisma.TenantCreateWithoutApprovalRequestsInput, Prisma.TenantUncheckedCreateWithoutApprovalRequestsInput>;
2407
+ };
2408
+ export type TenantUpsertWithoutApprovalRequestsInput = {
2409
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutApprovalRequestsInput, Prisma.TenantUncheckedUpdateWithoutApprovalRequestsInput>;
2410
+ create: Prisma.XOR<Prisma.TenantCreateWithoutApprovalRequestsInput, Prisma.TenantUncheckedCreateWithoutApprovalRequestsInput>;
2411
+ where?: Prisma.TenantWhereInput;
2412
+ };
2413
+ export type TenantUpdateToOneWithWhereWithoutApprovalRequestsInput = {
2414
+ where?: Prisma.TenantWhereInput;
2415
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutApprovalRequestsInput, Prisma.TenantUncheckedUpdateWithoutApprovalRequestsInput>;
2416
+ };
2417
+ export type TenantUpdateWithoutApprovalRequestsInput = {
2418
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2419
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
2420
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
2421
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2422
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2423
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2424
+ users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
2425
+ properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2426
+ paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2427
+ paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2428
+ contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2429
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
2430
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
2431
+ contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
2432
+ documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
2433
+ offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
2434
+ apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
2435
+ eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
2436
+ eventTypes?: Prisma.EventTypeUpdateManyWithoutTenantNestedInput;
2437
+ eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
2438
+ workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2439
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2440
+ };
2441
+ export type TenantUncheckedUpdateWithoutApprovalRequestsInput = {
2442
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
2443
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
2444
+ subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
2445
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2446
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2447
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2448
+ users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
2449
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2450
+ paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2451
+ paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2452
+ contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2453
+ paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
2454
+ documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
2455
+ contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2456
+ documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
2457
+ offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
2458
+ apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
2459
+ eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
2460
+ eventTypes?: Prisma.EventTypeUncheckedUpdateManyWithoutTenantNestedInput;
2461
+ eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
2462
+ workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2463
+ propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2088
2464
  };
2089
2465
  /**
2090
2466
  * Count Type TenantCountOutputType
@@ -2105,6 +2481,8 @@ export type TenantCountOutputType = {
2105
2481
  eventTypes: number;
2106
2482
  eventHandlers: number;
2107
2483
  workflowEvents: number;
2484
+ propertyTransferRequests: number;
2485
+ approvalRequests: number;
2108
2486
  };
2109
2487
  export type TenantCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2110
2488
  users?: boolean | TenantCountOutputTypeCountUsersArgs;
@@ -2122,6 +2500,8 @@ export type TenantCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions
2122
2500
  eventTypes?: boolean | TenantCountOutputTypeCountEventTypesArgs;
2123
2501
  eventHandlers?: boolean | TenantCountOutputTypeCountEventHandlersArgs;
2124
2502
  workflowEvents?: boolean | TenantCountOutputTypeCountWorkflowEventsArgs;
2503
+ propertyTransferRequests?: boolean | TenantCountOutputTypeCountPropertyTransferRequestsArgs;
2504
+ approvalRequests?: boolean | TenantCountOutputTypeCountApprovalRequestsArgs;
2125
2505
  };
2126
2506
  /**
2127
2507
  * TenantCountOutputType without action
@@ -2222,6 +2602,18 @@ export type TenantCountOutputTypeCountEventHandlersArgs<ExtArgs extends runtime.
2222
2602
  export type TenantCountOutputTypeCountWorkflowEventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2223
2603
  where?: Prisma.WorkflowEventWhereInput;
2224
2604
  };
2605
+ /**
2606
+ * TenantCountOutputType without action
2607
+ */
2608
+ export type TenantCountOutputTypeCountPropertyTransferRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2609
+ where?: Prisma.PropertyTransferRequestWhereInput;
2610
+ };
2611
+ /**
2612
+ * TenantCountOutputType without action
2613
+ */
2614
+ export type TenantCountOutputTypeCountApprovalRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2615
+ where?: Prisma.ApprovalRequestWhereInput;
2616
+ };
2225
2617
  export type TenantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2226
2618
  id?: boolean;
2227
2619
  name?: boolean;
@@ -2244,6 +2636,8 @@ export type TenantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
2244
2636
  eventTypes?: boolean | Prisma.Tenant$eventTypesArgs<ExtArgs>;
2245
2637
  eventHandlers?: boolean | Prisma.Tenant$eventHandlersArgs<ExtArgs>;
2246
2638
  workflowEvents?: boolean | Prisma.Tenant$workflowEventsArgs<ExtArgs>;
2639
+ propertyTransferRequests?: boolean | Prisma.Tenant$propertyTransferRequestsArgs<ExtArgs>;
2640
+ approvalRequests?: boolean | Prisma.Tenant$approvalRequestsArgs<ExtArgs>;
2247
2641
  _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs<ExtArgs>;
2248
2642
  }, ExtArgs["result"]["tenant"]>;
2249
2643
  export type TenantSelectScalar = {
@@ -2271,6 +2665,8 @@ export type TenantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
2271
2665
  eventTypes?: boolean | Prisma.Tenant$eventTypesArgs<ExtArgs>;
2272
2666
  eventHandlers?: boolean | Prisma.Tenant$eventHandlersArgs<ExtArgs>;
2273
2667
  workflowEvents?: boolean | Prisma.Tenant$workflowEventsArgs<ExtArgs>;
2668
+ propertyTransferRequests?: boolean | Prisma.Tenant$propertyTransferRequestsArgs<ExtArgs>;
2669
+ approvalRequests?: boolean | Prisma.Tenant$approvalRequestsArgs<ExtArgs>;
2274
2670
  _count?: boolean | Prisma.TenantCountOutputTypeDefaultArgs<ExtArgs>;
2275
2671
  };
2276
2672
  export type $TenantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -2291,6 +2687,8 @@ export type $TenantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
2291
2687
  eventTypes: Prisma.$EventTypePayload<ExtArgs>[];
2292
2688
  eventHandlers: Prisma.$EventHandlerPayload<ExtArgs>[];
2293
2689
  workflowEvents: Prisma.$WorkflowEventPayload<ExtArgs>[];
2690
+ propertyTransferRequests: Prisma.$PropertyTransferRequestPayload<ExtArgs>[];
2691
+ approvalRequests: Prisma.$ApprovalRequestPayload<ExtArgs>[];
2294
2692
  };
2295
2693
  scalars: runtime.Types.Extensions.GetPayloadResult<{
2296
2694
  id: string;
@@ -2591,6 +2989,8 @@ export interface Prisma__TenantClient<T, Null = never, ExtArgs extends runtime.T
2591
2989
  eventTypes<T extends Prisma.Tenant$eventTypesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$eventTypesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventTypePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2592
2990
  eventHandlers<T extends Prisma.Tenant$eventHandlersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$eventHandlersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventHandlerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2593
2991
  workflowEvents<T extends Prisma.Tenant$workflowEventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$workflowEventsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkflowEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2992
+ propertyTransferRequests<T extends Prisma.Tenant$propertyTransferRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$propertyTransferRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyTransferRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2993
+ approvalRequests<T extends Prisma.Tenant$approvalRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$approvalRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApprovalRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2594
2994
  /**
2595
2995
  * Attaches callbacks for the resolution and/or rejection of the Promise.
2596
2996
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -3294,6 +3694,52 @@ export type Tenant$workflowEventsArgs<ExtArgs extends runtime.Types.Extensions.I
3294
3694
  skip?: number;
3295
3695
  distinct?: Prisma.WorkflowEventScalarFieldEnum | Prisma.WorkflowEventScalarFieldEnum[];
3296
3696
  };
3697
+ /**
3698
+ * Tenant.propertyTransferRequests
3699
+ */
3700
+ export type Tenant$propertyTransferRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3701
+ /**
3702
+ * Select specific fields to fetch from the PropertyTransferRequest
3703
+ */
3704
+ select?: Prisma.PropertyTransferRequestSelect<ExtArgs> | null;
3705
+ /**
3706
+ * Omit specific fields from the PropertyTransferRequest
3707
+ */
3708
+ omit?: Prisma.PropertyTransferRequestOmit<ExtArgs> | null;
3709
+ /**
3710
+ * Choose, which related nodes to fetch as well
3711
+ */
3712
+ include?: Prisma.PropertyTransferRequestInclude<ExtArgs> | null;
3713
+ where?: Prisma.PropertyTransferRequestWhereInput;
3714
+ orderBy?: Prisma.PropertyTransferRequestOrderByWithRelationInput | Prisma.PropertyTransferRequestOrderByWithRelationInput[];
3715
+ cursor?: Prisma.PropertyTransferRequestWhereUniqueInput;
3716
+ take?: number;
3717
+ skip?: number;
3718
+ distinct?: Prisma.PropertyTransferRequestScalarFieldEnum | Prisma.PropertyTransferRequestScalarFieldEnum[];
3719
+ };
3720
+ /**
3721
+ * Tenant.approvalRequests
3722
+ */
3723
+ export type Tenant$approvalRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3724
+ /**
3725
+ * Select specific fields to fetch from the ApprovalRequest
3726
+ */
3727
+ select?: Prisma.ApprovalRequestSelect<ExtArgs> | null;
3728
+ /**
3729
+ * Omit specific fields from the ApprovalRequest
3730
+ */
3731
+ omit?: Prisma.ApprovalRequestOmit<ExtArgs> | null;
3732
+ /**
3733
+ * Choose, which related nodes to fetch as well
3734
+ */
3735
+ include?: Prisma.ApprovalRequestInclude<ExtArgs> | null;
3736
+ where?: Prisma.ApprovalRequestWhereInput;
3737
+ orderBy?: Prisma.ApprovalRequestOrderByWithRelationInput | Prisma.ApprovalRequestOrderByWithRelationInput[];
3738
+ cursor?: Prisma.ApprovalRequestWhereUniqueInput;
3739
+ take?: number;
3740
+ skip?: number;
3741
+ distinct?: Prisma.ApprovalRequestScalarFieldEnum | Prisma.ApprovalRequestScalarFieldEnum[];
3742
+ };
3297
3743
  /**
3298
3744
  * Tenant without action
3299
3745
  */