@valentine-efagene/qshelter-common 2.0.94 → 2.0.96

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 (51) hide show
  1. package/dist/generated/client/browser.d.ts +16 -16
  2. package/dist/generated/client/client.d.ts +16 -16
  3. package/dist/generated/client/commonInputTypes.d.ts +72 -72
  4. package/dist/generated/client/enums.d.ts +13 -13
  5. package/dist/generated/client/enums.js +10 -10
  6. package/dist/generated/client/internal/class.d.ts +32 -32
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +321 -321
  9. package/dist/generated/client/internal/prismaNamespace.js +50 -50
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +66 -66
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +50 -50
  12. package/dist/generated/client/models/Application.d.ts +5439 -0
  13. package/dist/generated/client/models/Application.js +1 -0
  14. package/dist/generated/client/models/ApplicationDocument.d.ts +1409 -0
  15. package/dist/generated/client/models/ApplicationDocument.js +1 -0
  16. package/dist/generated/client/models/ApplicationEvent.d.ts +1254 -0
  17. package/dist/generated/client/models/ApplicationEvent.js +1 -0
  18. package/dist/generated/client/models/ApplicationPayment.d.ts +2030 -0
  19. package/dist/generated/client/models/ApplicationPayment.js +1 -0
  20. package/dist/generated/client/models/ApplicationPhase.d.ts +2243 -0
  21. package/dist/generated/client/models/ApplicationPhase.js +1 -0
  22. package/dist/generated/client/models/ApplicationRefund.d.ts +2560 -0
  23. package/dist/generated/client/models/ApplicationRefund.js +1 -0
  24. package/dist/generated/client/models/ApplicationTermination.d.ts +3446 -0
  25. package/dist/generated/client/models/ApplicationTermination.js +1 -0
  26. package/dist/generated/client/models/DocumentationPhase.d.ts +13 -13
  27. package/dist/generated/client/models/OfferLetter.d.ts +97 -97
  28. package/dist/generated/client/models/PaymentInstallment.d.ts +1660 -0
  29. package/dist/generated/client/models/PaymentInstallment.js +1 -0
  30. package/dist/generated/client/models/PaymentMethodChangeRequest.d.ts +103 -103
  31. package/dist/generated/client/models/PaymentPhase.d.ts +40 -40
  32. package/dist/generated/client/models/PropertyPaymentMethod.d.ts +77 -77
  33. package/dist/generated/client/models/PropertyTransferRequest.d.ts +213 -213
  34. package/dist/generated/client/models/PropertyUnit.d.ts +53 -53
  35. package/dist/generated/client/models/QuestionnairePhase.d.ts +11 -11
  36. package/dist/generated/client/models/Tenant.d.ts +323 -323
  37. package/dist/generated/client/models/User.d.ts +1329 -1329
  38. package/dist/generated/client/models/index.d.ts +8 -8
  39. package/dist/generated/client/models/index.js +8 -8
  40. package/dist/generated/client/models.d.ts +8 -8
  41. package/dist/src/auth/policy-evaluator.d.ts +5 -5
  42. package/dist/src/auth/policy-evaluator.js +7 -7
  43. package/dist/src/events/notifications/notification-enums.d.ts +5 -5
  44. package/dist/src/events/notifications/notification-enums.js +6 -6
  45. package/dist/src/events/payments/payment-event.d.ts +2 -2
  46. package/dist/src/events/payments/payment-publisher.d.ts +1 -1
  47. package/package.json +1 -1
  48. package/prisma/migrations/20260112080730_rename_contract_to_application/migration.sql +293 -0
  49. package/prisma/migrations/20260112081422_cleanup_rename_contract_to_application/migration.sql +14 -0
  50. package/prisma/schema.prisma +107 -107
  51. package/prisma/schema.prisma.backup +2601 -0
@@ -150,13 +150,13 @@ export type TenantWhereInput = {
150
150
  properties?: Prisma.PropertyListRelationFilter;
151
151
  paymentPlans?: Prisma.PaymentPlanListRelationFilter;
152
152
  paymentMethods?: Prisma.PropertyPaymentMethodListRelationFilter;
153
- contracts?: Prisma.ContractListRelationFilter;
153
+ applications?: Prisma.ApplicationListRelationFilter;
154
154
  roles?: Prisma.RoleListRelationFilter;
155
155
  permissions?: Prisma.PermissionListRelationFilter;
156
156
  memberships?: Prisma.TenantMembershipListRelationFilter;
157
157
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
158
158
  documentRequirementRules?: Prisma.DocumentRequirementRuleListRelationFilter;
159
- contractTerminations?: Prisma.ContractTerminationListRelationFilter;
159
+ contractTerminations?: Prisma.ApplicationTerminationListRelationFilter;
160
160
  documentTemplates?: Prisma.DocumentTemplateListRelationFilter;
161
161
  offerLetters?: Prisma.OfferLetterListRelationFilter;
162
162
  apiKeys?: Prisma.ApiKeyListRelationFilter;
@@ -166,7 +166,7 @@ export type TenantWhereInput = {
166
166
  workflowEvents?: Prisma.WorkflowEventListRelationFilter;
167
167
  propertyTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
168
168
  approvalRequests?: Prisma.ApprovalRequestListRelationFilter;
169
- contractRefunds?: Prisma.ContractRefundListRelationFilter;
169
+ contractRefunds?: Prisma.ApplicationRefundListRelationFilter;
170
170
  };
171
171
  export type TenantOrderByWithRelationInput = {
172
172
  id?: Prisma.SortOrder;
@@ -179,13 +179,13 @@ export type TenantOrderByWithRelationInput = {
179
179
  properties?: Prisma.PropertyOrderByRelationAggregateInput;
180
180
  paymentPlans?: Prisma.PaymentPlanOrderByRelationAggregateInput;
181
181
  paymentMethods?: Prisma.PropertyPaymentMethodOrderByRelationAggregateInput;
182
- contracts?: Prisma.ContractOrderByRelationAggregateInput;
182
+ applications?: Prisma.ApplicationOrderByRelationAggregateInput;
183
183
  roles?: Prisma.RoleOrderByRelationAggregateInput;
184
184
  permissions?: Prisma.PermissionOrderByRelationAggregateInput;
185
185
  memberships?: Prisma.TenantMembershipOrderByRelationAggregateInput;
186
186
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestOrderByRelationAggregateInput;
187
187
  documentRequirementRules?: Prisma.DocumentRequirementRuleOrderByRelationAggregateInput;
188
- contractTerminations?: Prisma.ContractTerminationOrderByRelationAggregateInput;
188
+ contractTerminations?: Prisma.ApplicationTerminationOrderByRelationAggregateInput;
189
189
  documentTemplates?: Prisma.DocumentTemplateOrderByRelationAggregateInput;
190
190
  offerLetters?: Prisma.OfferLetterOrderByRelationAggregateInput;
191
191
  apiKeys?: Prisma.ApiKeyOrderByRelationAggregateInput;
@@ -195,7 +195,7 @@ export type TenantOrderByWithRelationInput = {
195
195
  workflowEvents?: Prisma.WorkflowEventOrderByRelationAggregateInput;
196
196
  propertyTransferRequests?: Prisma.PropertyTransferRequestOrderByRelationAggregateInput;
197
197
  approvalRequests?: Prisma.ApprovalRequestOrderByRelationAggregateInput;
198
- contractRefunds?: Prisma.ContractRefundOrderByRelationAggregateInput;
198
+ contractRefunds?: Prisma.ApplicationRefundOrderByRelationAggregateInput;
199
199
  _relevance?: Prisma.TenantOrderByRelevanceInput;
200
200
  };
201
201
  export type TenantWhereUniqueInput = Prisma.AtLeast<{
@@ -212,13 +212,13 @@ export type TenantWhereUniqueInput = Prisma.AtLeast<{
212
212
  properties?: Prisma.PropertyListRelationFilter;
213
213
  paymentPlans?: Prisma.PaymentPlanListRelationFilter;
214
214
  paymentMethods?: Prisma.PropertyPaymentMethodListRelationFilter;
215
- contracts?: Prisma.ContractListRelationFilter;
215
+ applications?: Prisma.ApplicationListRelationFilter;
216
216
  roles?: Prisma.RoleListRelationFilter;
217
217
  permissions?: Prisma.PermissionListRelationFilter;
218
218
  memberships?: Prisma.TenantMembershipListRelationFilter;
219
219
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestListRelationFilter;
220
220
  documentRequirementRules?: Prisma.DocumentRequirementRuleListRelationFilter;
221
- contractTerminations?: Prisma.ContractTerminationListRelationFilter;
221
+ contractTerminations?: Prisma.ApplicationTerminationListRelationFilter;
222
222
  documentTemplates?: Prisma.DocumentTemplateListRelationFilter;
223
223
  offerLetters?: Prisma.OfferLetterListRelationFilter;
224
224
  apiKeys?: Prisma.ApiKeyListRelationFilter;
@@ -228,7 +228,7 @@ export type TenantWhereUniqueInput = Prisma.AtLeast<{
228
228
  workflowEvents?: Prisma.WorkflowEventListRelationFilter;
229
229
  propertyTransferRequests?: Prisma.PropertyTransferRequestListRelationFilter;
230
230
  approvalRequests?: Prisma.ApprovalRequestListRelationFilter;
231
- contractRefunds?: Prisma.ContractRefundListRelationFilter;
231
+ contractRefunds?: Prisma.ApplicationRefundListRelationFilter;
232
232
  }, "id" | "subdomain">;
233
233
  export type TenantOrderByWithAggregationInput = {
234
234
  id?: Prisma.SortOrder;
@@ -263,13 +263,13 @@ export type TenantCreateInput = {
263
263
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
264
264
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
265
265
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
266
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
266
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
267
267
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
268
268
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
269
269
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
270
270
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
271
271
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
272
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
272
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
273
273
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
274
274
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
275
275
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -279,7 +279,7 @@ export type TenantCreateInput = {
279
279
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
280
280
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
281
281
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
282
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
282
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
283
283
  };
284
284
  export type TenantUncheckedCreateInput = {
285
285
  id?: string;
@@ -292,13 +292,13 @@ export type TenantUncheckedCreateInput = {
292
292
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
293
293
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
294
294
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
295
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
295
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
296
296
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
297
297
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
298
298
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
299
299
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
300
300
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
301
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
301
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
302
302
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
303
303
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
304
304
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -308,7 +308,7 @@ export type TenantUncheckedCreateInput = {
308
308
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
309
309
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
310
310
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
311
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
311
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
312
312
  };
313
313
  export type TenantUpdateInput = {
314
314
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -321,13 +321,13 @@ export type TenantUpdateInput = {
321
321
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
322
322
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
323
323
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
324
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
324
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
325
325
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
326
326
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
327
327
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
328
328
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
329
329
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
330
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
330
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
331
331
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
332
332
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
333
333
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -337,7 +337,7 @@ export type TenantUpdateInput = {
337
337
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
338
338
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
339
339
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
340
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
340
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
341
341
  };
342
342
  export type TenantUncheckedUpdateInput = {
343
343
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -350,13 +350,13 @@ export type TenantUncheckedUpdateInput = {
350
350
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
351
351
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
352
352
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
353
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
353
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
354
354
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
355
355
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
356
356
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
357
357
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
358
358
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
359
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
359
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
360
360
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
361
361
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
362
362
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -366,7 +366,7 @@ export type TenantUncheckedUpdateInput = {
366
366
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
367
367
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
368
368
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
369
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
369
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
370
370
  };
371
371
  export type TenantCreateManyInput = {
372
372
  id?: string;
@@ -533,17 +533,17 @@ export type TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput = {
533
533
  connect?: Prisma.TenantWhereUniqueInput;
534
534
  update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutPaymentMethodsInput, Prisma.TenantUpdateWithoutPaymentMethodsInput>, Prisma.TenantUncheckedUpdateWithoutPaymentMethodsInput>;
535
535
  };
536
- export type TenantCreateNestedOneWithoutContractsInput = {
537
- create?: Prisma.XOR<Prisma.TenantCreateWithoutContractsInput, Prisma.TenantUncheckedCreateWithoutContractsInput>;
538
- connectOrCreate?: Prisma.TenantCreateOrConnectWithoutContractsInput;
536
+ export type TenantCreateNestedOneWithoutApplicationsInput = {
537
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutApplicationsInput, Prisma.TenantUncheckedCreateWithoutApplicationsInput>;
538
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApplicationsInput;
539
539
  connect?: Prisma.TenantWhereUniqueInput;
540
540
  };
541
- export type TenantUpdateOneRequiredWithoutContractsNestedInput = {
542
- create?: Prisma.XOR<Prisma.TenantCreateWithoutContractsInput, Prisma.TenantUncheckedCreateWithoutContractsInput>;
543
- connectOrCreate?: Prisma.TenantCreateOrConnectWithoutContractsInput;
544
- upsert?: Prisma.TenantUpsertWithoutContractsInput;
541
+ export type TenantUpdateOneRequiredWithoutApplicationsNestedInput = {
542
+ create?: Prisma.XOR<Prisma.TenantCreateWithoutApplicationsInput, Prisma.TenantUncheckedCreateWithoutApplicationsInput>;
543
+ connectOrCreate?: Prisma.TenantCreateOrConnectWithoutApplicationsInput;
544
+ upsert?: Prisma.TenantUpsertWithoutApplicationsInput;
545
545
  connect?: Prisma.TenantWhereUniqueInput;
546
- update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutContractsInput, Prisma.TenantUpdateWithoutContractsInput>, Prisma.TenantUncheckedUpdateWithoutContractsInput>;
546
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TenantUpdateToOneWithWhereWithoutApplicationsInput, Prisma.TenantUpdateWithoutApplicationsInput>, Prisma.TenantUncheckedUpdateWithoutApplicationsInput>;
547
547
  };
548
548
  export type TenantCreateNestedOneWithoutContractRefundsInput = {
549
549
  create?: Prisma.XOR<Prisma.TenantCreateWithoutContractRefundsInput, Prisma.TenantUncheckedCreateWithoutContractRefundsInput>;
@@ -699,13 +699,13 @@ export type TenantCreateWithoutUsersInput = {
699
699
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
700
700
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
701
701
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
702
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
702
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
703
703
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
704
704
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
705
705
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
706
706
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
707
707
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
708
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
708
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
709
709
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
710
710
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
711
711
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -715,7 +715,7 @@ export type TenantCreateWithoutUsersInput = {
715
715
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
716
716
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
717
717
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
718
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
718
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
719
719
  };
720
720
  export type TenantUncheckedCreateWithoutUsersInput = {
721
721
  id?: string;
@@ -727,13 +727,13 @@ export type TenantUncheckedCreateWithoutUsersInput = {
727
727
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
728
728
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
729
729
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
730
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
730
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
731
731
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
732
732
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
733
733
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
734
734
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
735
735
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
736
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
736
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
737
737
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
738
738
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
739
739
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -743,7 +743,7 @@ export type TenantUncheckedCreateWithoutUsersInput = {
743
743
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
744
744
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
745
745
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
746
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
746
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
747
747
  };
748
748
  export type TenantCreateOrConnectWithoutUsersInput = {
749
749
  where: Prisma.TenantWhereUniqueInput;
@@ -768,13 +768,13 @@ export type TenantUpdateWithoutUsersInput = {
768
768
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
769
769
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
770
770
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
771
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
771
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
772
772
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
773
773
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
774
774
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
775
775
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
776
776
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
777
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
777
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
778
778
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
779
779
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
780
780
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -784,7 +784,7 @@ export type TenantUpdateWithoutUsersInput = {
784
784
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
785
785
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
786
786
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
787
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
787
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
788
788
  };
789
789
  export type TenantUncheckedUpdateWithoutUsersInput = {
790
790
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -796,13 +796,13 @@ export type TenantUncheckedUpdateWithoutUsersInput = {
796
796
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
797
797
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
798
798
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
799
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
799
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
800
800
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
801
801
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
802
802
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
803
803
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
804
804
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
805
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
805
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
806
806
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
807
807
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
808
808
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -812,7 +812,7 @@ export type TenantUncheckedUpdateWithoutUsersInput = {
812
812
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
813
813
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
814
814
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
815
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
815
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
816
816
  };
817
817
  export type TenantCreateWithoutRolesInput = {
818
818
  id?: string;
@@ -825,12 +825,12 @@ export type TenantCreateWithoutRolesInput = {
825
825
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
826
826
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
827
827
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
828
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
828
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
829
829
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
830
830
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
831
831
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
832
832
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
833
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
833
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
834
834
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
835
835
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
836
836
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -840,7 +840,7 @@ export type TenantCreateWithoutRolesInput = {
840
840
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
841
841
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
842
842
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
843
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
843
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
844
844
  };
845
845
  export type TenantUncheckedCreateWithoutRolesInput = {
846
846
  id?: string;
@@ -853,12 +853,12 @@ export type TenantUncheckedCreateWithoutRolesInput = {
853
853
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
854
854
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
855
855
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
856
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
856
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
857
857
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
858
858
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
859
859
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
860
860
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
861
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
861
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
862
862
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
863
863
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
864
864
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -868,7 +868,7 @@ export type TenantUncheckedCreateWithoutRolesInput = {
868
868
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
869
869
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
870
870
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
871
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
871
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
872
872
  };
873
873
  export type TenantCreateOrConnectWithoutRolesInput = {
874
874
  where: Prisma.TenantWhereUniqueInput;
@@ -894,12 +894,12 @@ export type TenantUpdateWithoutRolesInput = {
894
894
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
895
895
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
896
896
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
897
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
897
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
898
898
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
899
899
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
900
900
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
901
901
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
902
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
902
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
903
903
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
904
904
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
905
905
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -909,7 +909,7 @@ export type TenantUpdateWithoutRolesInput = {
909
909
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
910
910
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
911
911
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
912
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
912
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
913
913
  };
914
914
  export type TenantUncheckedUpdateWithoutRolesInput = {
915
915
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -922,12 +922,12 @@ export type TenantUncheckedUpdateWithoutRolesInput = {
922
922
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
923
923
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
924
924
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
925
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
925
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
926
926
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
927
927
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
928
928
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
929
929
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
930
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
930
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
931
931
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
932
932
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
933
933
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -937,7 +937,7 @@ export type TenantUncheckedUpdateWithoutRolesInput = {
937
937
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
938
938
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
939
939
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
940
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
940
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
941
941
  };
942
942
  export type TenantCreateWithoutPermissionsInput = {
943
943
  id?: string;
@@ -950,12 +950,12 @@ export type TenantCreateWithoutPermissionsInput = {
950
950
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
951
951
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
952
952
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
953
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
953
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
954
954
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
955
955
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
956
956
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
957
957
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
958
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
958
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
959
959
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
960
960
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
961
961
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -965,7 +965,7 @@ export type TenantCreateWithoutPermissionsInput = {
965
965
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
966
966
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
967
967
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
968
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
968
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
969
969
  };
970
970
  export type TenantUncheckedCreateWithoutPermissionsInput = {
971
971
  id?: string;
@@ -978,12 +978,12 @@ export type TenantUncheckedCreateWithoutPermissionsInput = {
978
978
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
979
979
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
980
980
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
981
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
981
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
982
982
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
983
983
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
984
984
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
985
985
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
986
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
986
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
987
987
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
988
988
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
989
989
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -993,7 +993,7 @@ export type TenantUncheckedCreateWithoutPermissionsInput = {
993
993
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
994
994
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
995
995
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
996
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
996
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
997
997
  };
998
998
  export type TenantCreateOrConnectWithoutPermissionsInput = {
999
999
  where: Prisma.TenantWhereUniqueInput;
@@ -1019,12 +1019,12 @@ export type TenantUpdateWithoutPermissionsInput = {
1019
1019
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
1020
1020
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
1021
1021
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
1022
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
1022
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
1023
1023
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
1024
1024
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
1025
1025
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1026
1026
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1027
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1027
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
1028
1028
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1029
1029
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1030
1030
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -1034,7 +1034,7 @@ export type TenantUpdateWithoutPermissionsInput = {
1034
1034
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1035
1035
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1036
1036
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1037
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
1037
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
1038
1038
  };
1039
1039
  export type TenantUncheckedUpdateWithoutPermissionsInput = {
1040
1040
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1047,12 +1047,12 @@ export type TenantUncheckedUpdateWithoutPermissionsInput = {
1047
1047
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
1048
1048
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
1049
1049
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
1050
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1050
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
1051
1051
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
1052
1052
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
1053
1053
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1054
1054
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1055
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1055
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1056
1056
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1057
1057
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1058
1058
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -1062,7 +1062,7 @@ export type TenantUncheckedUpdateWithoutPermissionsInput = {
1062
1062
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1063
1063
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1064
1064
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1065
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
1065
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
1066
1066
  };
1067
1067
  export type TenantCreateWithoutMembershipsInput = {
1068
1068
  id?: string;
@@ -1075,12 +1075,12 @@ export type TenantCreateWithoutMembershipsInput = {
1075
1075
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
1076
1076
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
1077
1077
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
1078
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
1078
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
1079
1079
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
1080
1080
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
1081
1081
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1082
1082
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1083
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1083
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
1084
1084
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1085
1085
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1086
1086
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -1090,7 +1090,7 @@ export type TenantCreateWithoutMembershipsInput = {
1090
1090
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1091
1091
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1092
1092
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1093
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
1093
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
1094
1094
  };
1095
1095
  export type TenantUncheckedCreateWithoutMembershipsInput = {
1096
1096
  id?: string;
@@ -1103,12 +1103,12 @@ export type TenantUncheckedCreateWithoutMembershipsInput = {
1103
1103
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
1104
1104
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
1105
1105
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
1106
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
1106
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
1107
1107
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
1108
1108
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
1109
1109
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1110
1110
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1111
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1111
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
1112
1112
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1113
1113
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1114
1114
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -1118,7 +1118,7 @@ export type TenantUncheckedCreateWithoutMembershipsInput = {
1118
1118
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1119
1119
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1120
1120
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1121
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
1121
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
1122
1122
  };
1123
1123
  export type TenantCreateOrConnectWithoutMembershipsInput = {
1124
1124
  where: Prisma.TenantWhereUniqueInput;
@@ -1144,12 +1144,12 @@ export type TenantUpdateWithoutMembershipsInput = {
1144
1144
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
1145
1145
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
1146
1146
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
1147
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
1147
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
1148
1148
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
1149
1149
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
1150
1150
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1151
1151
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1152
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1152
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
1153
1153
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1154
1154
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1155
1155
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -1159,7 +1159,7 @@ export type TenantUpdateWithoutMembershipsInput = {
1159
1159
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1160
1160
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1161
1161
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1162
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
1162
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
1163
1163
  };
1164
1164
  export type TenantUncheckedUpdateWithoutMembershipsInput = {
1165
1165
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1172,12 +1172,12 @@ export type TenantUncheckedUpdateWithoutMembershipsInput = {
1172
1172
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
1173
1173
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
1174
1174
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
1175
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1175
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
1176
1176
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
1177
1177
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
1178
1178
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1179
1179
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1180
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1180
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1181
1181
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1182
1182
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1183
1183
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -1187,7 +1187,7 @@ export type TenantUncheckedUpdateWithoutMembershipsInput = {
1187
1187
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1188
1188
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1189
1189
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1190
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
1190
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
1191
1191
  };
1192
1192
  export type TenantCreateWithoutApiKeysInput = {
1193
1193
  id?: string;
@@ -1200,13 +1200,13 @@ export type TenantCreateWithoutApiKeysInput = {
1200
1200
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
1201
1201
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
1202
1202
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
1203
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
1203
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
1204
1204
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
1205
1205
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
1206
1206
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
1207
1207
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1208
1208
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1209
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1209
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
1210
1210
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1211
1211
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1212
1212
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
@@ -1215,7 +1215,7 @@ export type TenantCreateWithoutApiKeysInput = {
1215
1215
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1216
1216
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1217
1217
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1218
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
1218
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
1219
1219
  };
1220
1220
  export type TenantUncheckedCreateWithoutApiKeysInput = {
1221
1221
  id?: string;
@@ -1228,13 +1228,13 @@ export type TenantUncheckedCreateWithoutApiKeysInput = {
1228
1228
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
1229
1229
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
1230
1230
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
1231
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
1231
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
1232
1232
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
1233
1233
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
1234
1234
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
1235
1235
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1236
1236
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1237
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1237
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
1238
1238
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1239
1239
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1240
1240
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
@@ -1243,7 +1243,7 @@ export type TenantUncheckedCreateWithoutApiKeysInput = {
1243
1243
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1244
1244
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1245
1245
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1246
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
1246
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
1247
1247
  };
1248
1248
  export type TenantCreateOrConnectWithoutApiKeysInput = {
1249
1249
  where: Prisma.TenantWhereUniqueInput;
@@ -1269,13 +1269,13 @@ export type TenantUpdateWithoutApiKeysInput = {
1269
1269
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
1270
1270
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
1271
1271
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
1272
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
1272
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
1273
1273
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
1274
1274
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
1275
1275
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
1276
1276
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1277
1277
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1278
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1278
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
1279
1279
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1280
1280
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1281
1281
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
@@ -1284,7 +1284,7 @@ export type TenantUpdateWithoutApiKeysInput = {
1284
1284
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1285
1285
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1286
1286
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1287
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
1287
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
1288
1288
  };
1289
1289
  export type TenantUncheckedUpdateWithoutApiKeysInput = {
1290
1290
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1297,13 +1297,13 @@ export type TenantUncheckedUpdateWithoutApiKeysInput = {
1297
1297
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
1298
1298
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
1299
1299
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
1300
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1300
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
1301
1301
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
1302
1302
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
1303
1303
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
1304
1304
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1305
1305
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1306
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1306
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1307
1307
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1308
1308
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1309
1309
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
@@ -1312,7 +1312,7 @@ export type TenantUncheckedUpdateWithoutApiKeysInput = {
1312
1312
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1313
1313
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1314
1314
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1315
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
1315
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
1316
1316
  };
1317
1317
  export type TenantCreateWithoutPropertiesInput = {
1318
1318
  id?: string;
@@ -1324,13 +1324,13 @@ export type TenantCreateWithoutPropertiesInput = {
1324
1324
  users?: Prisma.UserCreateNestedManyWithoutTenantInput;
1325
1325
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
1326
1326
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
1327
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
1327
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
1328
1328
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
1329
1329
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
1330
1330
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
1331
1331
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1332
1332
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1333
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1333
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
1334
1334
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1335
1335
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1336
1336
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -1340,7 +1340,7 @@ export type TenantCreateWithoutPropertiesInput = {
1340
1340
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1341
1341
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1342
1342
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1343
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
1343
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
1344
1344
  };
1345
1345
  export type TenantUncheckedCreateWithoutPropertiesInput = {
1346
1346
  id?: string;
@@ -1352,13 +1352,13 @@ export type TenantUncheckedCreateWithoutPropertiesInput = {
1352
1352
  users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
1353
1353
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
1354
1354
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
1355
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
1355
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
1356
1356
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
1357
1357
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
1358
1358
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
1359
1359
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1360
1360
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1361
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1361
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
1362
1362
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1363
1363
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1364
1364
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -1368,7 +1368,7 @@ export type TenantUncheckedCreateWithoutPropertiesInput = {
1368
1368
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1369
1369
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1370
1370
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1371
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
1371
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
1372
1372
  };
1373
1373
  export type TenantCreateOrConnectWithoutPropertiesInput = {
1374
1374
  where: Prisma.TenantWhereUniqueInput;
@@ -1393,13 +1393,13 @@ export type TenantUpdateWithoutPropertiesInput = {
1393
1393
  users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
1394
1394
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
1395
1395
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
1396
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
1396
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
1397
1397
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
1398
1398
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
1399
1399
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
1400
1400
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1401
1401
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1402
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1402
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
1403
1403
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1404
1404
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1405
1405
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -1409,7 +1409,7 @@ export type TenantUpdateWithoutPropertiesInput = {
1409
1409
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1410
1410
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1411
1411
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1412
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
1412
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
1413
1413
  };
1414
1414
  export type TenantUncheckedUpdateWithoutPropertiesInput = {
1415
1415
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1421,13 +1421,13 @@ export type TenantUncheckedUpdateWithoutPropertiesInput = {
1421
1421
  users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
1422
1422
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
1423
1423
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
1424
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1424
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
1425
1425
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
1426
1426
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
1427
1427
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
1428
1428
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1429
1429
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1430
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1430
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1431
1431
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1432
1432
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1433
1433
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -1437,7 +1437,7 @@ export type TenantUncheckedUpdateWithoutPropertiesInput = {
1437
1437
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1438
1438
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1439
1439
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1440
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
1440
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
1441
1441
  };
1442
1442
  export type TenantCreateWithoutPaymentPlansInput = {
1443
1443
  id?: string;
@@ -1449,13 +1449,13 @@ export type TenantCreateWithoutPaymentPlansInput = {
1449
1449
  users?: Prisma.UserCreateNestedManyWithoutTenantInput;
1450
1450
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
1451
1451
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
1452
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
1452
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
1453
1453
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
1454
1454
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
1455
1455
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
1456
1456
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1457
1457
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1458
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1458
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
1459
1459
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1460
1460
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1461
1461
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -1465,7 +1465,7 @@ export type TenantCreateWithoutPaymentPlansInput = {
1465
1465
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1466
1466
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1467
1467
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1468
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
1468
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
1469
1469
  };
1470
1470
  export type TenantUncheckedCreateWithoutPaymentPlansInput = {
1471
1471
  id?: string;
@@ -1477,13 +1477,13 @@ export type TenantUncheckedCreateWithoutPaymentPlansInput = {
1477
1477
  users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
1478
1478
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
1479
1479
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
1480
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
1480
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
1481
1481
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
1482
1482
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
1483
1483
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
1484
1484
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1485
1485
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1486
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1486
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
1487
1487
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1488
1488
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1489
1489
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -1493,7 +1493,7 @@ export type TenantUncheckedCreateWithoutPaymentPlansInput = {
1493
1493
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1494
1494
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1495
1495
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1496
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
1496
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
1497
1497
  };
1498
1498
  export type TenantCreateOrConnectWithoutPaymentPlansInput = {
1499
1499
  where: Prisma.TenantWhereUniqueInput;
@@ -1518,13 +1518,13 @@ export type TenantUpdateWithoutPaymentPlansInput = {
1518
1518
  users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
1519
1519
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
1520
1520
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
1521
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
1521
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
1522
1522
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
1523
1523
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
1524
1524
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
1525
1525
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1526
1526
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1527
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1527
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
1528
1528
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1529
1529
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1530
1530
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -1534,7 +1534,7 @@ export type TenantUpdateWithoutPaymentPlansInput = {
1534
1534
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1535
1535
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1536
1536
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1537
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
1537
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
1538
1538
  };
1539
1539
  export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
1540
1540
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1546,13 +1546,13 @@ export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
1546
1546
  users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
1547
1547
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
1548
1548
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
1549
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1549
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
1550
1550
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
1551
1551
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
1552
1552
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
1553
1553
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1554
1554
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1555
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1555
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1556
1556
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1557
1557
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1558
1558
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -1562,7 +1562,7 @@ export type TenantUncheckedUpdateWithoutPaymentPlansInput = {
1562
1562
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1563
1563
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1564
1564
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1565
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
1565
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
1566
1566
  };
1567
1567
  export type TenantCreateWithoutPaymentMethodsInput = {
1568
1568
  id?: string;
@@ -1574,13 +1574,13 @@ export type TenantCreateWithoutPaymentMethodsInput = {
1574
1574
  users?: Prisma.UserCreateNestedManyWithoutTenantInput;
1575
1575
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
1576
1576
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
1577
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
1577
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
1578
1578
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
1579
1579
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
1580
1580
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
1581
1581
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1582
1582
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1583
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1583
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
1584
1584
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1585
1585
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1586
1586
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -1590,7 +1590,7 @@ export type TenantCreateWithoutPaymentMethodsInput = {
1590
1590
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1591
1591
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1592
1592
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1593
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
1593
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
1594
1594
  };
1595
1595
  export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
1596
1596
  id?: string;
@@ -1602,13 +1602,13 @@ export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
1602
1602
  users?: Prisma.UserUncheckedCreateNestedManyWithoutTenantInput;
1603
1603
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
1604
1604
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
1605
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
1605
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
1606
1606
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
1607
1607
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
1608
1608
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
1609
1609
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1610
1610
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1611
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1611
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
1612
1612
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1613
1613
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1614
1614
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -1618,7 +1618,7 @@ export type TenantUncheckedCreateWithoutPaymentMethodsInput = {
1618
1618
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1619
1619
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1620
1620
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1621
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
1621
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
1622
1622
  };
1623
1623
  export type TenantCreateOrConnectWithoutPaymentMethodsInput = {
1624
1624
  where: Prisma.TenantWhereUniqueInput;
@@ -1643,13 +1643,13 @@ export type TenantUpdateWithoutPaymentMethodsInput = {
1643
1643
  users?: Prisma.UserUpdateManyWithoutTenantNestedInput;
1644
1644
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
1645
1645
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
1646
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
1646
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
1647
1647
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
1648
1648
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
1649
1649
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
1650
1650
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1651
1651
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1652
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1652
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
1653
1653
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1654
1654
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1655
1655
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -1659,7 +1659,7 @@ export type TenantUpdateWithoutPaymentMethodsInput = {
1659
1659
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1660
1660
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1661
1661
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1662
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
1662
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
1663
1663
  };
1664
1664
  export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
1665
1665
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1671,13 +1671,13 @@ export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
1671
1671
  users?: Prisma.UserUncheckedUpdateManyWithoutTenantNestedInput;
1672
1672
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
1673
1673
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
1674
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1674
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
1675
1675
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
1676
1676
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
1677
1677
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
1678
1678
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1679
1679
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1680
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1680
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1681
1681
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1682
1682
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1683
1683
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -1687,9 +1687,9 @@ export type TenantUncheckedUpdateWithoutPaymentMethodsInput = {
1687
1687
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1688
1688
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1689
1689
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1690
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
1690
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
1691
1691
  };
1692
- export type TenantCreateWithoutContractsInput = {
1692
+ export type TenantCreateWithoutApplicationsInput = {
1693
1693
  id?: string;
1694
1694
  name: string;
1695
1695
  subdomain: string;
@@ -1705,7 +1705,7 @@ export type TenantCreateWithoutContractsInput = {
1705
1705
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
1706
1706
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1707
1707
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1708
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1708
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
1709
1709
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1710
1710
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1711
1711
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -1715,9 +1715,9 @@ export type TenantCreateWithoutContractsInput = {
1715
1715
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1716
1716
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1717
1717
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1718
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
1718
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
1719
1719
  };
1720
- export type TenantUncheckedCreateWithoutContractsInput = {
1720
+ export type TenantUncheckedCreateWithoutApplicationsInput = {
1721
1721
  id?: string;
1722
1722
  name: string;
1723
1723
  subdomain: string;
@@ -1733,7 +1733,7 @@ export type TenantUncheckedCreateWithoutContractsInput = {
1733
1733
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
1734
1734
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1735
1735
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1736
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1736
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
1737
1737
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1738
1738
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1739
1739
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -1743,22 +1743,22 @@ export type TenantUncheckedCreateWithoutContractsInput = {
1743
1743
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1744
1744
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1745
1745
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1746
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
1746
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
1747
1747
  };
1748
- export type TenantCreateOrConnectWithoutContractsInput = {
1748
+ export type TenantCreateOrConnectWithoutApplicationsInput = {
1749
1749
  where: Prisma.TenantWhereUniqueInput;
1750
- create: Prisma.XOR<Prisma.TenantCreateWithoutContractsInput, Prisma.TenantUncheckedCreateWithoutContractsInput>;
1750
+ create: Prisma.XOR<Prisma.TenantCreateWithoutApplicationsInput, Prisma.TenantUncheckedCreateWithoutApplicationsInput>;
1751
1751
  };
1752
- export type TenantUpsertWithoutContractsInput = {
1753
- update: Prisma.XOR<Prisma.TenantUpdateWithoutContractsInput, Prisma.TenantUncheckedUpdateWithoutContractsInput>;
1754
- create: Prisma.XOR<Prisma.TenantCreateWithoutContractsInput, Prisma.TenantUncheckedCreateWithoutContractsInput>;
1752
+ export type TenantUpsertWithoutApplicationsInput = {
1753
+ update: Prisma.XOR<Prisma.TenantUpdateWithoutApplicationsInput, Prisma.TenantUncheckedUpdateWithoutApplicationsInput>;
1754
+ create: Prisma.XOR<Prisma.TenantCreateWithoutApplicationsInput, Prisma.TenantUncheckedCreateWithoutApplicationsInput>;
1755
1755
  where?: Prisma.TenantWhereInput;
1756
1756
  };
1757
- export type TenantUpdateToOneWithWhereWithoutContractsInput = {
1757
+ export type TenantUpdateToOneWithWhereWithoutApplicationsInput = {
1758
1758
  where?: Prisma.TenantWhereInput;
1759
- data: Prisma.XOR<Prisma.TenantUpdateWithoutContractsInput, Prisma.TenantUncheckedUpdateWithoutContractsInput>;
1759
+ data: Prisma.XOR<Prisma.TenantUpdateWithoutApplicationsInput, Prisma.TenantUncheckedUpdateWithoutApplicationsInput>;
1760
1760
  };
1761
- export type TenantUpdateWithoutContractsInput = {
1761
+ export type TenantUpdateWithoutApplicationsInput = {
1762
1762
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1763
1763
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1764
1764
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1774,7 +1774,7 @@ export type TenantUpdateWithoutContractsInput = {
1774
1774
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
1775
1775
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1776
1776
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1777
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1777
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
1778
1778
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1779
1779
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1780
1780
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -1784,9 +1784,9 @@ export type TenantUpdateWithoutContractsInput = {
1784
1784
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
1785
1785
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
1786
1786
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
1787
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
1787
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
1788
1788
  };
1789
- export type TenantUncheckedUpdateWithoutContractsInput = {
1789
+ export type TenantUncheckedUpdateWithoutApplicationsInput = {
1790
1790
  id?: Prisma.StringFieldUpdateOperationsInput | string;
1791
1791
  name?: Prisma.StringFieldUpdateOperationsInput | string;
1792
1792
  subdomain?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1802,7 +1802,7 @@ export type TenantUncheckedUpdateWithoutContractsInput = {
1802
1802
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
1803
1803
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1804
1804
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1805
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1805
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1806
1806
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1807
1807
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1808
1808
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -1812,7 +1812,7 @@ export type TenantUncheckedUpdateWithoutContractsInput = {
1812
1812
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
1813
1813
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
1814
1814
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
1815
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
1815
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
1816
1816
  };
1817
1817
  export type TenantCreateWithoutContractRefundsInput = {
1818
1818
  id?: string;
@@ -1825,13 +1825,13 @@ export type TenantCreateWithoutContractRefundsInput = {
1825
1825
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
1826
1826
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
1827
1827
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
1828
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
1828
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
1829
1829
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
1830
1830
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
1831
1831
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
1832
1832
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1833
1833
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1834
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1834
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
1835
1835
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
1836
1836
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1837
1837
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -1853,13 +1853,13 @@ export type TenantUncheckedCreateWithoutContractRefundsInput = {
1853
1853
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
1854
1854
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
1855
1855
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
1856
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
1856
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
1857
1857
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
1858
1858
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
1859
1859
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
1860
1860
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1861
1861
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1862
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1862
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
1863
1863
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
1864
1864
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1865
1865
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -1894,13 +1894,13 @@ export type TenantUpdateWithoutContractRefundsInput = {
1894
1894
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
1895
1895
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
1896
1896
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
1897
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
1897
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
1898
1898
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
1899
1899
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
1900
1900
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
1901
1901
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
1902
1902
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
1903
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
1903
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
1904
1904
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
1905
1905
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
1906
1906
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -1922,13 +1922,13 @@ export type TenantUncheckedUpdateWithoutContractRefundsInput = {
1922
1922
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
1923
1923
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
1924
1924
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
1925
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
1925
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
1926
1926
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
1927
1927
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
1928
1928
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
1929
1929
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
1930
1930
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
1931
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1931
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
1932
1932
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
1933
1933
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
1934
1934
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -1950,13 +1950,13 @@ export type TenantCreateWithoutDocumentTemplatesInput = {
1950
1950
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
1951
1951
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
1952
1952
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
1953
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
1953
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
1954
1954
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
1955
1955
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
1956
1956
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
1957
1957
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
1958
1958
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
1959
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
1959
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
1960
1960
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
1961
1961
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
1962
1962
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
@@ -1965,7 +1965,7 @@ export type TenantCreateWithoutDocumentTemplatesInput = {
1965
1965
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
1966
1966
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
1967
1967
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
1968
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
1968
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
1969
1969
  };
1970
1970
  export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
1971
1971
  id?: string;
@@ -1978,13 +1978,13 @@ export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
1978
1978
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
1979
1979
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
1980
1980
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
1981
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
1981
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
1982
1982
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
1983
1983
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
1984
1984
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
1985
1985
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
1986
1986
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
1987
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
1987
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
1988
1988
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
1989
1989
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
1990
1990
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
@@ -1993,7 +1993,7 @@ export type TenantUncheckedCreateWithoutDocumentTemplatesInput = {
1993
1993
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
1994
1994
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
1995
1995
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
1996
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
1996
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
1997
1997
  };
1998
1998
  export type TenantCreateOrConnectWithoutDocumentTemplatesInput = {
1999
1999
  where: Prisma.TenantWhereUniqueInput;
@@ -2019,13 +2019,13 @@ export type TenantUpdateWithoutDocumentTemplatesInput = {
2019
2019
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2020
2020
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2021
2021
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2022
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2022
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
2023
2023
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
2024
2024
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
2025
2025
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
2026
2026
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
2027
2027
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
2028
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
2028
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
2029
2029
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
2030
2030
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
2031
2031
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
@@ -2034,7 +2034,7 @@ export type TenantUpdateWithoutDocumentTemplatesInput = {
2034
2034
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2035
2035
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2036
2036
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2037
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
2037
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
2038
2038
  };
2039
2039
  export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
2040
2040
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2047,13 +2047,13 @@ export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
2047
2047
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2048
2048
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2049
2049
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2050
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2050
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
2051
2051
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
2052
2052
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
2053
2053
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
2054
2054
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
2055
2055
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
2056
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2056
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2057
2057
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
2058
2058
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
2059
2059
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
@@ -2062,7 +2062,7 @@ export type TenantUncheckedUpdateWithoutDocumentTemplatesInput = {
2062
2062
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2063
2063
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2064
2064
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2065
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
2065
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
2066
2066
  };
2067
2067
  export type TenantCreateWithoutOfferLettersInput = {
2068
2068
  id?: string;
@@ -2075,13 +2075,13 @@ export type TenantCreateWithoutOfferLettersInput = {
2075
2075
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2076
2076
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2077
2077
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2078
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2078
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
2079
2079
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
2080
2080
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
2081
2081
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
2082
2082
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
2083
2083
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
2084
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
2084
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
2085
2085
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
2086
2086
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
2087
2087
  eventChannels?: Prisma.EventChannelCreateNestedManyWithoutTenantInput;
@@ -2090,7 +2090,7 @@ export type TenantCreateWithoutOfferLettersInput = {
2090
2090
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2091
2091
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2092
2092
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2093
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
2093
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
2094
2094
  };
2095
2095
  export type TenantUncheckedCreateWithoutOfferLettersInput = {
2096
2096
  id?: string;
@@ -2103,13 +2103,13 @@ export type TenantUncheckedCreateWithoutOfferLettersInput = {
2103
2103
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2104
2104
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2105
2105
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2106
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2106
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
2107
2107
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
2108
2108
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
2109
2109
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
2110
2110
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
2111
2111
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
2112
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
2112
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
2113
2113
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
2114
2114
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
2115
2115
  eventChannels?: Prisma.EventChannelUncheckedCreateNestedManyWithoutTenantInput;
@@ -2118,7 +2118,7 @@ export type TenantUncheckedCreateWithoutOfferLettersInput = {
2118
2118
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2119
2119
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2120
2120
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2121
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
2121
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
2122
2122
  };
2123
2123
  export type TenantCreateOrConnectWithoutOfferLettersInput = {
2124
2124
  where: Prisma.TenantWhereUniqueInput;
@@ -2144,13 +2144,13 @@ export type TenantUpdateWithoutOfferLettersInput = {
2144
2144
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2145
2145
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2146
2146
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2147
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2147
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
2148
2148
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
2149
2149
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
2150
2150
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
2151
2151
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
2152
2152
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
2153
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
2153
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
2154
2154
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
2155
2155
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
2156
2156
  eventChannels?: Prisma.EventChannelUpdateManyWithoutTenantNestedInput;
@@ -2159,7 +2159,7 @@ export type TenantUpdateWithoutOfferLettersInput = {
2159
2159
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2160
2160
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2161
2161
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2162
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
2162
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
2163
2163
  };
2164
2164
  export type TenantUncheckedUpdateWithoutOfferLettersInput = {
2165
2165
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2172,13 +2172,13 @@ export type TenantUncheckedUpdateWithoutOfferLettersInput = {
2172
2172
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2173
2173
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2174
2174
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2175
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2175
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
2176
2176
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
2177
2177
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
2178
2178
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
2179
2179
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
2180
2180
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
2181
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2181
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2182
2182
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
2183
2183
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
2184
2184
  eventChannels?: Prisma.EventChannelUncheckedUpdateManyWithoutTenantNestedInput;
@@ -2187,7 +2187,7 @@ export type TenantUncheckedUpdateWithoutOfferLettersInput = {
2187
2187
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2188
2188
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2189
2189
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2190
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
2190
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
2191
2191
  };
2192
2192
  export type TenantCreateWithoutContractTerminationsInput = {
2193
2193
  id?: string;
@@ -2200,7 +2200,7 @@ export type TenantCreateWithoutContractTerminationsInput = {
2200
2200
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2201
2201
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2202
2202
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2203
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2203
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
2204
2204
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
2205
2205
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
2206
2206
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
@@ -2215,7 +2215,7 @@ export type TenantCreateWithoutContractTerminationsInput = {
2215
2215
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2216
2216
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2217
2217
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2218
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
2218
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
2219
2219
  };
2220
2220
  export type TenantUncheckedCreateWithoutContractTerminationsInput = {
2221
2221
  id?: string;
@@ -2228,7 +2228,7 @@ export type TenantUncheckedCreateWithoutContractTerminationsInput = {
2228
2228
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2229
2229
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2230
2230
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2231
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2231
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
2232
2232
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
2233
2233
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
2234
2234
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
@@ -2243,7 +2243,7 @@ export type TenantUncheckedCreateWithoutContractTerminationsInput = {
2243
2243
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2244
2244
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2245
2245
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2246
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
2246
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
2247
2247
  };
2248
2248
  export type TenantCreateOrConnectWithoutContractTerminationsInput = {
2249
2249
  where: Prisma.TenantWhereUniqueInput;
@@ -2269,7 +2269,7 @@ export type TenantUpdateWithoutContractTerminationsInput = {
2269
2269
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2270
2270
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2271
2271
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2272
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2272
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
2273
2273
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
2274
2274
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
2275
2275
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
@@ -2284,7 +2284,7 @@ export type TenantUpdateWithoutContractTerminationsInput = {
2284
2284
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2285
2285
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2286
2286
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2287
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
2287
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
2288
2288
  };
2289
2289
  export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
2290
2290
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2297,7 +2297,7 @@ export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
2297
2297
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2298
2298
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2299
2299
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2300
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2300
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
2301
2301
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
2302
2302
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
2303
2303
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
@@ -2312,7 +2312,7 @@ export type TenantUncheckedUpdateWithoutContractTerminationsInput = {
2312
2312
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2313
2313
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2314
2314
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2315
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
2315
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
2316
2316
  };
2317
2317
  export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
2318
2318
  id?: string;
@@ -2325,12 +2325,12 @@ export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
2325
2325
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2326
2326
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2327
2327
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2328
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2328
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
2329
2329
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
2330
2330
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
2331
2331
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
2332
2332
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
2333
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
2333
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
2334
2334
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
2335
2335
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
2336
2336
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -2340,7 +2340,7 @@ export type TenantCreateWithoutPaymentMethodChangeRequestsInput = {
2340
2340
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2341
2341
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2342
2342
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2343
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
2343
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
2344
2344
  };
2345
2345
  export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
2346
2346
  id?: string;
@@ -2353,12 +2353,12 @@ export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
2353
2353
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2354
2354
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2355
2355
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2356
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2356
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
2357
2357
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
2358
2358
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
2359
2359
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
2360
2360
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
2361
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
2361
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
2362
2362
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
2363
2363
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
2364
2364
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -2368,7 +2368,7 @@ export type TenantUncheckedCreateWithoutPaymentMethodChangeRequestsInput = {
2368
2368
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2369
2369
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2370
2370
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2371
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
2371
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
2372
2372
  };
2373
2373
  export type TenantCreateOrConnectWithoutPaymentMethodChangeRequestsInput = {
2374
2374
  where: Prisma.TenantWhereUniqueInput;
@@ -2394,12 +2394,12 @@ export type TenantUpdateWithoutPaymentMethodChangeRequestsInput = {
2394
2394
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2395
2395
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2396
2396
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2397
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2397
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
2398
2398
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
2399
2399
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
2400
2400
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
2401
2401
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
2402
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
2402
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
2403
2403
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
2404
2404
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
2405
2405
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -2409,7 +2409,7 @@ export type TenantUpdateWithoutPaymentMethodChangeRequestsInput = {
2409
2409
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2410
2410
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2411
2411
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2412
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
2412
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
2413
2413
  };
2414
2414
  export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
2415
2415
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2422,12 +2422,12 @@ export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
2422
2422
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2423
2423
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2424
2424
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2425
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2425
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
2426
2426
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
2427
2427
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
2428
2428
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
2429
2429
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
2430
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2430
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2431
2431
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
2432
2432
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
2433
2433
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -2437,7 +2437,7 @@ export type TenantUncheckedUpdateWithoutPaymentMethodChangeRequestsInput = {
2437
2437
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2438
2438
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2439
2439
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2440
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
2440
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
2441
2441
  };
2442
2442
  export type TenantCreateWithoutDocumentRequirementRulesInput = {
2443
2443
  id?: string;
@@ -2450,12 +2450,12 @@ export type TenantCreateWithoutDocumentRequirementRulesInput = {
2450
2450
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2451
2451
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2452
2452
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2453
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2453
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
2454
2454
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
2455
2455
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
2456
2456
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
2457
2457
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
2458
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
2458
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
2459
2459
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
2460
2460
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
2461
2461
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -2465,7 +2465,7 @@ export type TenantCreateWithoutDocumentRequirementRulesInput = {
2465
2465
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2466
2466
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2467
2467
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2468
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
2468
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
2469
2469
  };
2470
2470
  export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
2471
2471
  id?: string;
@@ -2478,12 +2478,12 @@ export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
2478
2478
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2479
2479
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2480
2480
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2481
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2481
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
2482
2482
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
2483
2483
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
2484
2484
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
2485
2485
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
2486
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
2486
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
2487
2487
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
2488
2488
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
2489
2489
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -2493,7 +2493,7 @@ export type TenantUncheckedCreateWithoutDocumentRequirementRulesInput = {
2493
2493
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2494
2494
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2495
2495
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2496
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
2496
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
2497
2497
  };
2498
2498
  export type TenantCreateOrConnectWithoutDocumentRequirementRulesInput = {
2499
2499
  where: Prisma.TenantWhereUniqueInput;
@@ -2519,12 +2519,12 @@ export type TenantUpdateWithoutDocumentRequirementRulesInput = {
2519
2519
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2520
2520
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2521
2521
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2522
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2522
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
2523
2523
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
2524
2524
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
2525
2525
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
2526
2526
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
2527
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
2527
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
2528
2528
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
2529
2529
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
2530
2530
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -2534,7 +2534,7 @@ export type TenantUpdateWithoutDocumentRequirementRulesInput = {
2534
2534
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2535
2535
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2536
2536
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2537
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
2537
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
2538
2538
  };
2539
2539
  export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
2540
2540
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2547,12 +2547,12 @@ export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
2547
2547
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2548
2548
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2549
2549
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2550
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2550
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
2551
2551
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
2552
2552
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
2553
2553
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
2554
2554
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
2555
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2555
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2556
2556
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
2557
2557
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
2558
2558
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -2562,7 +2562,7 @@ export type TenantUncheckedUpdateWithoutDocumentRequirementRulesInput = {
2562
2562
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2563
2563
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2564
2564
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2565
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
2565
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
2566
2566
  };
2567
2567
  export type TenantCreateWithoutEventChannelsInput = {
2568
2568
  id?: string;
@@ -2575,13 +2575,13 @@ export type TenantCreateWithoutEventChannelsInput = {
2575
2575
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2576
2576
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2577
2577
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2578
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2578
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
2579
2579
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
2580
2580
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
2581
2581
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
2582
2582
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
2583
2583
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
2584
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
2584
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
2585
2585
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
2586
2586
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
2587
2587
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -2590,7 +2590,7 @@ export type TenantCreateWithoutEventChannelsInput = {
2590
2590
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2591
2591
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2592
2592
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2593
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
2593
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
2594
2594
  };
2595
2595
  export type TenantUncheckedCreateWithoutEventChannelsInput = {
2596
2596
  id?: string;
@@ -2603,13 +2603,13 @@ export type TenantUncheckedCreateWithoutEventChannelsInput = {
2603
2603
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2604
2604
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2605
2605
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2606
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2606
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
2607
2607
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
2608
2608
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
2609
2609
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
2610
2610
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
2611
2611
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
2612
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
2612
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
2613
2613
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
2614
2614
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
2615
2615
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -2618,7 +2618,7 @@ export type TenantUncheckedCreateWithoutEventChannelsInput = {
2618
2618
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2619
2619
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2620
2620
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2621
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
2621
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
2622
2622
  };
2623
2623
  export type TenantCreateOrConnectWithoutEventChannelsInput = {
2624
2624
  where: Prisma.TenantWhereUniqueInput;
@@ -2644,13 +2644,13 @@ export type TenantUpdateWithoutEventChannelsInput = {
2644
2644
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2645
2645
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2646
2646
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2647
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2647
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
2648
2648
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
2649
2649
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
2650
2650
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
2651
2651
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
2652
2652
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
2653
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
2653
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
2654
2654
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
2655
2655
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
2656
2656
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -2659,7 +2659,7 @@ export type TenantUpdateWithoutEventChannelsInput = {
2659
2659
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2660
2660
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2661
2661
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2662
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
2662
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
2663
2663
  };
2664
2664
  export type TenantUncheckedUpdateWithoutEventChannelsInput = {
2665
2665
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2672,13 +2672,13 @@ export type TenantUncheckedUpdateWithoutEventChannelsInput = {
2672
2672
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2673
2673
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2674
2674
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2675
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2675
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
2676
2676
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
2677
2677
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
2678
2678
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
2679
2679
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
2680
2680
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
2681
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2681
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2682
2682
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
2683
2683
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
2684
2684
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -2687,7 +2687,7 @@ export type TenantUncheckedUpdateWithoutEventChannelsInput = {
2687
2687
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2688
2688
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2689
2689
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2690
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
2690
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
2691
2691
  };
2692
2692
  export type TenantCreateWithoutEventTypesInput = {
2693
2693
  id?: string;
@@ -2700,13 +2700,13 @@ export type TenantCreateWithoutEventTypesInput = {
2700
2700
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2701
2701
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2702
2702
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2703
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2703
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
2704
2704
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
2705
2705
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
2706
2706
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
2707
2707
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
2708
2708
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
2709
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
2709
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
2710
2710
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
2711
2711
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
2712
2712
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -2715,7 +2715,7 @@ export type TenantCreateWithoutEventTypesInput = {
2715
2715
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2716
2716
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2717
2717
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2718
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
2718
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
2719
2719
  };
2720
2720
  export type TenantUncheckedCreateWithoutEventTypesInput = {
2721
2721
  id?: string;
@@ -2728,13 +2728,13 @@ export type TenantUncheckedCreateWithoutEventTypesInput = {
2728
2728
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2729
2729
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2730
2730
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2731
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2731
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
2732
2732
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
2733
2733
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
2734
2734
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
2735
2735
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
2736
2736
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
2737
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
2737
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
2738
2738
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
2739
2739
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
2740
2740
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -2743,7 +2743,7 @@ export type TenantUncheckedCreateWithoutEventTypesInput = {
2743
2743
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2744
2744
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2745
2745
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2746
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
2746
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
2747
2747
  };
2748
2748
  export type TenantCreateOrConnectWithoutEventTypesInput = {
2749
2749
  where: Prisma.TenantWhereUniqueInput;
@@ -2769,13 +2769,13 @@ export type TenantUpdateWithoutEventTypesInput = {
2769
2769
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2770
2770
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2771
2771
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2772
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2772
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
2773
2773
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
2774
2774
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
2775
2775
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
2776
2776
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
2777
2777
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
2778
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
2778
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
2779
2779
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
2780
2780
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
2781
2781
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -2784,7 +2784,7 @@ export type TenantUpdateWithoutEventTypesInput = {
2784
2784
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2785
2785
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2786
2786
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2787
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
2787
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
2788
2788
  };
2789
2789
  export type TenantUncheckedUpdateWithoutEventTypesInput = {
2790
2790
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2797,13 +2797,13 @@ export type TenantUncheckedUpdateWithoutEventTypesInput = {
2797
2797
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2798
2798
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2799
2799
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2800
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2800
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
2801
2801
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
2802
2802
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
2803
2803
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
2804
2804
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
2805
2805
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
2806
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2806
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2807
2807
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
2808
2808
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
2809
2809
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -2812,7 +2812,7 @@ export type TenantUncheckedUpdateWithoutEventTypesInput = {
2812
2812
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2813
2813
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2814
2814
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2815
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
2815
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
2816
2816
  };
2817
2817
  export type TenantCreateWithoutEventHandlersInput = {
2818
2818
  id?: string;
@@ -2825,13 +2825,13 @@ export type TenantCreateWithoutEventHandlersInput = {
2825
2825
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2826
2826
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2827
2827
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2828
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2828
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
2829
2829
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
2830
2830
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
2831
2831
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
2832
2832
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
2833
2833
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
2834
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
2834
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
2835
2835
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
2836
2836
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
2837
2837
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -2840,7 +2840,7 @@ export type TenantCreateWithoutEventHandlersInput = {
2840
2840
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
2841
2841
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2842
2842
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2843
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
2843
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
2844
2844
  };
2845
2845
  export type TenantUncheckedCreateWithoutEventHandlersInput = {
2846
2846
  id?: string;
@@ -2853,13 +2853,13 @@ export type TenantUncheckedCreateWithoutEventHandlersInput = {
2853
2853
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2854
2854
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2855
2855
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2856
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2856
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
2857
2857
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
2858
2858
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
2859
2859
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
2860
2860
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
2861
2861
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
2862
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
2862
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
2863
2863
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
2864
2864
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
2865
2865
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -2868,7 +2868,7 @@ export type TenantUncheckedCreateWithoutEventHandlersInput = {
2868
2868
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
2869
2869
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2870
2870
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2871
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
2871
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
2872
2872
  };
2873
2873
  export type TenantCreateOrConnectWithoutEventHandlersInput = {
2874
2874
  where: Prisma.TenantWhereUniqueInput;
@@ -2894,13 +2894,13 @@ export type TenantUpdateWithoutEventHandlersInput = {
2894
2894
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
2895
2895
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
2896
2896
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
2897
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
2897
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
2898
2898
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
2899
2899
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
2900
2900
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
2901
2901
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
2902
2902
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
2903
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
2903
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
2904
2904
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
2905
2905
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
2906
2906
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -2909,7 +2909,7 @@ export type TenantUpdateWithoutEventHandlersInput = {
2909
2909
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
2910
2910
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
2911
2911
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
2912
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
2912
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
2913
2913
  };
2914
2914
  export type TenantUncheckedUpdateWithoutEventHandlersInput = {
2915
2915
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -2922,13 +2922,13 @@ export type TenantUncheckedUpdateWithoutEventHandlersInput = {
2922
2922
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
2923
2923
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
2924
2924
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
2925
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
2925
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
2926
2926
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
2927
2927
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
2928
2928
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
2929
2929
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
2930
2930
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
2931
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2931
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
2932
2932
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
2933
2933
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
2934
2934
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -2937,7 +2937,7 @@ export type TenantUncheckedUpdateWithoutEventHandlersInput = {
2937
2937
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
2938
2938
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
2939
2939
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
2940
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
2940
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
2941
2941
  };
2942
2942
  export type TenantCreateWithoutWorkflowEventsInput = {
2943
2943
  id?: string;
@@ -2950,13 +2950,13 @@ export type TenantCreateWithoutWorkflowEventsInput = {
2950
2950
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
2951
2951
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
2952
2952
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
2953
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
2953
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
2954
2954
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
2955
2955
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
2956
2956
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
2957
2957
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
2958
2958
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
2959
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
2959
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
2960
2960
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
2961
2961
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
2962
2962
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -2965,7 +2965,7 @@ export type TenantCreateWithoutWorkflowEventsInput = {
2965
2965
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
2966
2966
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
2967
2967
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
2968
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
2968
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
2969
2969
  };
2970
2970
  export type TenantUncheckedCreateWithoutWorkflowEventsInput = {
2971
2971
  id?: string;
@@ -2978,13 +2978,13 @@ export type TenantUncheckedCreateWithoutWorkflowEventsInput = {
2978
2978
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
2979
2979
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
2980
2980
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
2981
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
2981
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
2982
2982
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
2983
2983
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
2984
2984
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
2985
2985
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
2986
2986
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
2987
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
2987
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
2988
2988
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
2989
2989
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
2990
2990
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -2993,7 +2993,7 @@ export type TenantUncheckedCreateWithoutWorkflowEventsInput = {
2993
2993
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
2994
2994
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
2995
2995
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
2996
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
2996
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
2997
2997
  };
2998
2998
  export type TenantCreateOrConnectWithoutWorkflowEventsInput = {
2999
2999
  where: Prisma.TenantWhereUniqueInput;
@@ -3019,13 +3019,13 @@ export type TenantUpdateWithoutWorkflowEventsInput = {
3019
3019
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
3020
3020
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
3021
3021
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
3022
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
3022
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
3023
3023
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
3024
3024
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
3025
3025
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
3026
3026
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
3027
3027
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
3028
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
3028
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
3029
3029
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
3030
3030
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
3031
3031
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -3034,7 +3034,7 @@ export type TenantUpdateWithoutWorkflowEventsInput = {
3034
3034
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
3035
3035
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
3036
3036
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
3037
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
3037
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
3038
3038
  };
3039
3039
  export type TenantUncheckedUpdateWithoutWorkflowEventsInput = {
3040
3040
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3047,13 +3047,13 @@ export type TenantUncheckedUpdateWithoutWorkflowEventsInput = {
3047
3047
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
3048
3048
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
3049
3049
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
3050
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
3050
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
3051
3051
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
3052
3052
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
3053
3053
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
3054
3054
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
3055
3055
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
3056
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
3056
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
3057
3057
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
3058
3058
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
3059
3059
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -3062,7 +3062,7 @@ export type TenantUncheckedUpdateWithoutWorkflowEventsInput = {
3062
3062
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
3063
3063
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
3064
3064
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
3065
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
3065
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
3066
3066
  };
3067
3067
  export type TenantCreateWithoutPropertyTransferRequestsInput = {
3068
3068
  id?: string;
@@ -3075,13 +3075,13 @@ export type TenantCreateWithoutPropertyTransferRequestsInput = {
3075
3075
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
3076
3076
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
3077
3077
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
3078
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
3078
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
3079
3079
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
3080
3080
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
3081
3081
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
3082
3082
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
3083
3083
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
3084
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
3084
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
3085
3085
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
3086
3086
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
3087
3087
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -3090,7 +3090,7 @@ export type TenantCreateWithoutPropertyTransferRequestsInput = {
3090
3090
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
3091
3091
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
3092
3092
  approvalRequests?: Prisma.ApprovalRequestCreateNestedManyWithoutTenantInput;
3093
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
3093
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
3094
3094
  };
3095
3095
  export type TenantUncheckedCreateWithoutPropertyTransferRequestsInput = {
3096
3096
  id?: string;
@@ -3103,13 +3103,13 @@ export type TenantUncheckedCreateWithoutPropertyTransferRequestsInput = {
3103
3103
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
3104
3104
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
3105
3105
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
3106
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
3106
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
3107
3107
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
3108
3108
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
3109
3109
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
3110
3110
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
3111
3111
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
3112
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
3112
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
3113
3113
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
3114
3114
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
3115
3115
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -3118,7 +3118,7 @@ export type TenantUncheckedCreateWithoutPropertyTransferRequestsInput = {
3118
3118
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
3119
3119
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
3120
3120
  approvalRequests?: Prisma.ApprovalRequestUncheckedCreateNestedManyWithoutTenantInput;
3121
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
3121
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
3122
3122
  };
3123
3123
  export type TenantCreateOrConnectWithoutPropertyTransferRequestsInput = {
3124
3124
  where: Prisma.TenantWhereUniqueInput;
@@ -3144,13 +3144,13 @@ export type TenantUpdateWithoutPropertyTransferRequestsInput = {
3144
3144
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
3145
3145
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
3146
3146
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
3147
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
3147
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
3148
3148
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
3149
3149
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
3150
3150
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
3151
3151
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
3152
3152
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
3153
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
3153
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
3154
3154
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
3155
3155
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
3156
3156
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -3159,7 +3159,7 @@ export type TenantUpdateWithoutPropertyTransferRequestsInput = {
3159
3159
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
3160
3160
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
3161
3161
  approvalRequests?: Prisma.ApprovalRequestUpdateManyWithoutTenantNestedInput;
3162
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
3162
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
3163
3163
  };
3164
3164
  export type TenantUncheckedUpdateWithoutPropertyTransferRequestsInput = {
3165
3165
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3172,13 +3172,13 @@ export type TenantUncheckedUpdateWithoutPropertyTransferRequestsInput = {
3172
3172
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
3173
3173
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
3174
3174
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
3175
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
3175
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
3176
3176
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
3177
3177
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
3178
3178
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
3179
3179
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
3180
3180
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
3181
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
3181
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
3182
3182
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
3183
3183
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
3184
3184
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -3187,7 +3187,7 @@ export type TenantUncheckedUpdateWithoutPropertyTransferRequestsInput = {
3187
3187
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
3188
3188
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
3189
3189
  approvalRequests?: Prisma.ApprovalRequestUncheckedUpdateManyWithoutTenantNestedInput;
3190
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
3190
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
3191
3191
  };
3192
3192
  export type TenantCreateWithoutApprovalRequestsInput = {
3193
3193
  id?: string;
@@ -3200,13 +3200,13 @@ export type TenantCreateWithoutApprovalRequestsInput = {
3200
3200
  properties?: Prisma.PropertyCreateNestedManyWithoutTenantInput;
3201
3201
  paymentPlans?: Prisma.PaymentPlanCreateNestedManyWithoutTenantInput;
3202
3202
  paymentMethods?: Prisma.PropertyPaymentMethodCreateNestedManyWithoutTenantInput;
3203
- contracts?: Prisma.ContractCreateNestedManyWithoutTenantInput;
3203
+ applications?: Prisma.ApplicationCreateNestedManyWithoutTenantInput;
3204
3204
  roles?: Prisma.RoleCreateNestedManyWithoutTenantInput;
3205
3205
  permissions?: Prisma.PermissionCreateNestedManyWithoutTenantInput;
3206
3206
  memberships?: Prisma.TenantMembershipCreateNestedManyWithoutTenantInput;
3207
3207
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestCreateNestedManyWithoutTenantInput;
3208
3208
  documentRequirementRules?: Prisma.DocumentRequirementRuleCreateNestedManyWithoutTenantInput;
3209
- contractTerminations?: Prisma.ContractTerminationCreateNestedManyWithoutTenantInput;
3209
+ contractTerminations?: Prisma.ApplicationTerminationCreateNestedManyWithoutTenantInput;
3210
3210
  documentTemplates?: Prisma.DocumentTemplateCreateNestedManyWithoutTenantInput;
3211
3211
  offerLetters?: Prisma.OfferLetterCreateNestedManyWithoutTenantInput;
3212
3212
  apiKeys?: Prisma.ApiKeyCreateNestedManyWithoutTenantInput;
@@ -3215,7 +3215,7 @@ export type TenantCreateWithoutApprovalRequestsInput = {
3215
3215
  eventHandlers?: Prisma.EventHandlerCreateNestedManyWithoutTenantInput;
3216
3216
  workflowEvents?: Prisma.WorkflowEventCreateNestedManyWithoutTenantInput;
3217
3217
  propertyTransferRequests?: Prisma.PropertyTransferRequestCreateNestedManyWithoutTenantInput;
3218
- contractRefunds?: Prisma.ContractRefundCreateNestedManyWithoutTenantInput;
3218
+ contractRefunds?: Prisma.ApplicationRefundCreateNestedManyWithoutTenantInput;
3219
3219
  };
3220
3220
  export type TenantUncheckedCreateWithoutApprovalRequestsInput = {
3221
3221
  id?: string;
@@ -3228,13 +3228,13 @@ export type TenantUncheckedCreateWithoutApprovalRequestsInput = {
3228
3228
  properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutTenantInput;
3229
3229
  paymentPlans?: Prisma.PaymentPlanUncheckedCreateNestedManyWithoutTenantInput;
3230
3230
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput;
3231
- contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutTenantInput;
3231
+ applications?: Prisma.ApplicationUncheckedCreateNestedManyWithoutTenantInput;
3232
3232
  roles?: Prisma.RoleUncheckedCreateNestedManyWithoutTenantInput;
3233
3233
  permissions?: Prisma.PermissionUncheckedCreateNestedManyWithoutTenantInput;
3234
3234
  memberships?: Prisma.TenantMembershipUncheckedCreateNestedManyWithoutTenantInput;
3235
3235
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedCreateNestedManyWithoutTenantInput;
3236
3236
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedCreateNestedManyWithoutTenantInput;
3237
- contractTerminations?: Prisma.ContractTerminationUncheckedCreateNestedManyWithoutTenantInput;
3237
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedCreateNestedManyWithoutTenantInput;
3238
3238
  documentTemplates?: Prisma.DocumentTemplateUncheckedCreateNestedManyWithoutTenantInput;
3239
3239
  offerLetters?: Prisma.OfferLetterUncheckedCreateNestedManyWithoutTenantInput;
3240
3240
  apiKeys?: Prisma.ApiKeyUncheckedCreateNestedManyWithoutTenantInput;
@@ -3243,7 +3243,7 @@ export type TenantUncheckedCreateWithoutApprovalRequestsInput = {
3243
3243
  eventHandlers?: Prisma.EventHandlerUncheckedCreateNestedManyWithoutTenantInput;
3244
3244
  workflowEvents?: Prisma.WorkflowEventUncheckedCreateNestedManyWithoutTenantInput;
3245
3245
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedCreateNestedManyWithoutTenantInput;
3246
- contractRefunds?: Prisma.ContractRefundUncheckedCreateNestedManyWithoutTenantInput;
3246
+ contractRefunds?: Prisma.ApplicationRefundUncheckedCreateNestedManyWithoutTenantInput;
3247
3247
  };
3248
3248
  export type TenantCreateOrConnectWithoutApprovalRequestsInput = {
3249
3249
  where: Prisma.TenantWhereUniqueInput;
@@ -3269,13 +3269,13 @@ export type TenantUpdateWithoutApprovalRequestsInput = {
3269
3269
  properties?: Prisma.PropertyUpdateManyWithoutTenantNestedInput;
3270
3270
  paymentPlans?: Prisma.PaymentPlanUpdateManyWithoutTenantNestedInput;
3271
3271
  paymentMethods?: Prisma.PropertyPaymentMethodUpdateManyWithoutTenantNestedInput;
3272
- contracts?: Prisma.ContractUpdateManyWithoutTenantNestedInput;
3272
+ applications?: Prisma.ApplicationUpdateManyWithoutTenantNestedInput;
3273
3273
  roles?: Prisma.RoleUpdateManyWithoutTenantNestedInput;
3274
3274
  permissions?: Prisma.PermissionUpdateManyWithoutTenantNestedInput;
3275
3275
  memberships?: Prisma.TenantMembershipUpdateManyWithoutTenantNestedInput;
3276
3276
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUpdateManyWithoutTenantNestedInput;
3277
3277
  documentRequirementRules?: Prisma.DocumentRequirementRuleUpdateManyWithoutTenantNestedInput;
3278
- contractTerminations?: Prisma.ContractTerminationUpdateManyWithoutTenantNestedInput;
3278
+ contractTerminations?: Prisma.ApplicationTerminationUpdateManyWithoutTenantNestedInput;
3279
3279
  documentTemplates?: Prisma.DocumentTemplateUpdateManyWithoutTenantNestedInput;
3280
3280
  offerLetters?: Prisma.OfferLetterUpdateManyWithoutTenantNestedInput;
3281
3281
  apiKeys?: Prisma.ApiKeyUpdateManyWithoutTenantNestedInput;
@@ -3284,7 +3284,7 @@ export type TenantUpdateWithoutApprovalRequestsInput = {
3284
3284
  eventHandlers?: Prisma.EventHandlerUpdateManyWithoutTenantNestedInput;
3285
3285
  workflowEvents?: Prisma.WorkflowEventUpdateManyWithoutTenantNestedInput;
3286
3286
  propertyTransferRequests?: Prisma.PropertyTransferRequestUpdateManyWithoutTenantNestedInput;
3287
- contractRefunds?: Prisma.ContractRefundUpdateManyWithoutTenantNestedInput;
3287
+ contractRefunds?: Prisma.ApplicationRefundUpdateManyWithoutTenantNestedInput;
3288
3288
  };
3289
3289
  export type TenantUncheckedUpdateWithoutApprovalRequestsInput = {
3290
3290
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -3297,13 +3297,13 @@ export type TenantUncheckedUpdateWithoutApprovalRequestsInput = {
3297
3297
  properties?: Prisma.PropertyUncheckedUpdateManyWithoutTenantNestedInput;
3298
3298
  paymentPlans?: Prisma.PaymentPlanUncheckedUpdateManyWithoutTenantNestedInput;
3299
3299
  paymentMethods?: Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput;
3300
- contracts?: Prisma.ContractUncheckedUpdateManyWithoutTenantNestedInput;
3300
+ applications?: Prisma.ApplicationUncheckedUpdateManyWithoutTenantNestedInput;
3301
3301
  roles?: Prisma.RoleUncheckedUpdateManyWithoutTenantNestedInput;
3302
3302
  permissions?: Prisma.PermissionUncheckedUpdateManyWithoutTenantNestedInput;
3303
3303
  memberships?: Prisma.TenantMembershipUncheckedUpdateManyWithoutTenantNestedInput;
3304
3304
  paymentMethodChangeRequests?: Prisma.PaymentMethodChangeRequestUncheckedUpdateManyWithoutTenantNestedInput;
3305
3305
  documentRequirementRules?: Prisma.DocumentRequirementRuleUncheckedUpdateManyWithoutTenantNestedInput;
3306
- contractTerminations?: Prisma.ContractTerminationUncheckedUpdateManyWithoutTenantNestedInput;
3306
+ contractTerminations?: Prisma.ApplicationTerminationUncheckedUpdateManyWithoutTenantNestedInput;
3307
3307
  documentTemplates?: Prisma.DocumentTemplateUncheckedUpdateManyWithoutTenantNestedInput;
3308
3308
  offerLetters?: Prisma.OfferLetterUncheckedUpdateManyWithoutTenantNestedInput;
3309
3309
  apiKeys?: Prisma.ApiKeyUncheckedUpdateManyWithoutTenantNestedInput;
@@ -3312,7 +3312,7 @@ export type TenantUncheckedUpdateWithoutApprovalRequestsInput = {
3312
3312
  eventHandlers?: Prisma.EventHandlerUncheckedUpdateManyWithoutTenantNestedInput;
3313
3313
  workflowEvents?: Prisma.WorkflowEventUncheckedUpdateManyWithoutTenantNestedInput;
3314
3314
  propertyTransferRequests?: Prisma.PropertyTransferRequestUncheckedUpdateManyWithoutTenantNestedInput;
3315
- contractRefunds?: Prisma.ContractRefundUncheckedUpdateManyWithoutTenantNestedInput;
3315
+ contractRefunds?: Prisma.ApplicationRefundUncheckedUpdateManyWithoutTenantNestedInput;
3316
3316
  };
3317
3317
  /**
3318
3318
  * Count Type TenantCountOutputType
@@ -3322,7 +3322,7 @@ export type TenantCountOutputType = {
3322
3322
  properties: number;
3323
3323
  paymentPlans: number;
3324
3324
  paymentMethods: number;
3325
- contracts: number;
3325
+ applications: number;
3326
3326
  roles: number;
3327
3327
  permissions: number;
3328
3328
  memberships: number;
@@ -3345,7 +3345,7 @@ export type TenantCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions
3345
3345
  properties?: boolean | TenantCountOutputTypeCountPropertiesArgs;
3346
3346
  paymentPlans?: boolean | TenantCountOutputTypeCountPaymentPlansArgs;
3347
3347
  paymentMethods?: boolean | TenantCountOutputTypeCountPaymentMethodsArgs;
3348
- contracts?: boolean | TenantCountOutputTypeCountContractsArgs;
3348
+ applications?: boolean | TenantCountOutputTypeCountApplicationsArgs;
3349
3349
  roles?: boolean | TenantCountOutputTypeCountRolesArgs;
3350
3350
  permissions?: boolean | TenantCountOutputTypeCountPermissionsArgs;
3351
3351
  memberships?: boolean | TenantCountOutputTypeCountMembershipsArgs;
@@ -3399,8 +3399,8 @@ export type TenantCountOutputTypeCountPaymentMethodsArgs<ExtArgs extends runtime
3399
3399
  /**
3400
3400
  * TenantCountOutputType without action
3401
3401
  */
3402
- export type TenantCountOutputTypeCountContractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3403
- where?: Prisma.ContractWhereInput;
3402
+ export type TenantCountOutputTypeCountApplicationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3403
+ where?: Prisma.ApplicationWhereInput;
3404
3404
  };
3405
3405
  /**
3406
3406
  * TenantCountOutputType without action
@@ -3436,7 +3436,7 @@ export type TenantCountOutputTypeCountDocumentRequirementRulesArgs<ExtArgs exten
3436
3436
  * TenantCountOutputType without action
3437
3437
  */
3438
3438
  export type TenantCountOutputTypeCountContractTerminationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3439
- where?: Prisma.ContractTerminationWhereInput;
3439
+ where?: Prisma.ApplicationTerminationWhereInput;
3440
3440
  };
3441
3441
  /**
3442
3442
  * TenantCountOutputType without action
@@ -3496,7 +3496,7 @@ export type TenantCountOutputTypeCountApprovalRequestsArgs<ExtArgs extends runti
3496
3496
  * TenantCountOutputType without action
3497
3497
  */
3498
3498
  export type TenantCountOutputTypeCountContractRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3499
- where?: Prisma.ContractRefundWhereInput;
3499
+ where?: Prisma.ApplicationRefundWhereInput;
3500
3500
  };
3501
3501
  export type TenantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
3502
3502
  id?: boolean;
@@ -3509,7 +3509,7 @@ export type TenantSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
3509
3509
  properties?: boolean | Prisma.Tenant$propertiesArgs<ExtArgs>;
3510
3510
  paymentPlans?: boolean | Prisma.Tenant$paymentPlansArgs<ExtArgs>;
3511
3511
  paymentMethods?: boolean | Prisma.Tenant$paymentMethodsArgs<ExtArgs>;
3512
- contracts?: boolean | Prisma.Tenant$contractsArgs<ExtArgs>;
3512
+ applications?: boolean | Prisma.Tenant$applicationsArgs<ExtArgs>;
3513
3513
  roles?: boolean | Prisma.Tenant$rolesArgs<ExtArgs>;
3514
3514
  permissions?: boolean | Prisma.Tenant$permissionsArgs<ExtArgs>;
3515
3515
  memberships?: boolean | Prisma.Tenant$membershipsArgs<ExtArgs>;
@@ -3542,7 +3542,7 @@ export type TenantInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
3542
3542
  properties?: boolean | Prisma.Tenant$propertiesArgs<ExtArgs>;
3543
3543
  paymentPlans?: boolean | Prisma.Tenant$paymentPlansArgs<ExtArgs>;
3544
3544
  paymentMethods?: boolean | Prisma.Tenant$paymentMethodsArgs<ExtArgs>;
3545
- contracts?: boolean | Prisma.Tenant$contractsArgs<ExtArgs>;
3545
+ applications?: boolean | Prisma.Tenant$applicationsArgs<ExtArgs>;
3546
3546
  roles?: boolean | Prisma.Tenant$rolesArgs<ExtArgs>;
3547
3547
  permissions?: boolean | Prisma.Tenant$permissionsArgs<ExtArgs>;
3548
3548
  memberships?: boolean | Prisma.Tenant$membershipsArgs<ExtArgs>;
@@ -3568,13 +3568,13 @@ export type $TenantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
3568
3568
  properties: Prisma.$PropertyPayload<ExtArgs>[];
3569
3569
  paymentPlans: Prisma.$PaymentPlanPayload<ExtArgs>[];
3570
3570
  paymentMethods: Prisma.$PropertyPaymentMethodPayload<ExtArgs>[];
3571
- contracts: Prisma.$ContractPayload<ExtArgs>[];
3571
+ applications: Prisma.$ApplicationPayload<ExtArgs>[];
3572
3572
  roles: Prisma.$RolePayload<ExtArgs>[];
3573
3573
  permissions: Prisma.$PermissionPayload<ExtArgs>[];
3574
3574
  memberships: Prisma.$TenantMembershipPayload<ExtArgs>[];
3575
3575
  paymentMethodChangeRequests: Prisma.$PaymentMethodChangeRequestPayload<ExtArgs>[];
3576
3576
  documentRequirementRules: Prisma.$DocumentRequirementRulePayload<ExtArgs>[];
3577
- contractTerminations: Prisma.$ContractTerminationPayload<ExtArgs>[];
3577
+ contractTerminations: Prisma.$ApplicationTerminationPayload<ExtArgs>[];
3578
3578
  documentTemplates: Prisma.$DocumentTemplatePayload<ExtArgs>[];
3579
3579
  offerLetters: Prisma.$OfferLetterPayload<ExtArgs>[];
3580
3580
  apiKeys: Prisma.$ApiKeyPayload<ExtArgs>[];
@@ -3584,7 +3584,7 @@ export type $TenantPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
3584
3584
  workflowEvents: Prisma.$WorkflowEventPayload<ExtArgs>[];
3585
3585
  propertyTransferRequests: Prisma.$PropertyTransferRequestPayload<ExtArgs>[];
3586
3586
  approvalRequests: Prisma.$ApprovalRequestPayload<ExtArgs>[];
3587
- contractRefunds: Prisma.$ContractRefundPayload<ExtArgs>[];
3587
+ contractRefunds: Prisma.$ApplicationRefundPayload<ExtArgs>[];
3588
3588
  };
3589
3589
  scalars: runtime.Types.Extensions.GetPayloadResult<{
3590
3590
  id: string;
@@ -3874,13 +3874,13 @@ export interface Prisma__TenantClient<T, Null = never, ExtArgs extends runtime.T
3874
3874
  properties<T extends Prisma.Tenant$propertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$propertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3875
3875
  paymentPlans<T extends Prisma.Tenant$paymentPlansArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$paymentPlansArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPlanPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3876
3876
  paymentMethods<T extends Prisma.Tenant$paymentMethodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$paymentMethodsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3877
- contracts<T extends Prisma.Tenant$contractsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$contractsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3877
+ applications<T extends Prisma.Tenant$applicationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$applicationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3878
3878
  roles<T extends Prisma.Tenant$rolesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$rolesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RolePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3879
3879
  permissions<T extends Prisma.Tenant$permissionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$permissionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3880
3880
  memberships<T extends Prisma.Tenant$membershipsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$membershipsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TenantMembershipPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3881
3881
  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>;
3882
3882
  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>;
3883
- 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>;
3883
+ contractTerminations<T extends Prisma.Tenant$contractTerminationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$contractTerminationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationTerminationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3884
3884
  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>;
3885
3885
  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>;
3886
3886
  apiKeys<T extends Prisma.Tenant$apiKeysArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$apiKeysArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApiKeyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -3890,7 +3890,7 @@ export interface Prisma__TenantClient<T, Null = never, ExtArgs extends runtime.T
3890
3890
  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>;
3891
3891
  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>;
3892
3892
  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>;
3893
- contractRefunds<T extends Prisma.Tenant$contractRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$contractRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3893
+ contractRefunds<T extends Prisma.Tenant$contractRefundsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tenant$contractRefundsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationRefundPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3894
3894
  /**
3895
3895
  * Attaches callbacks for the resolution and/or rejection of the Promise.
3896
3896
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -4342,27 +4342,27 @@ export type Tenant$paymentMethodsArgs<ExtArgs extends runtime.Types.Extensions.I
4342
4342
  distinct?: Prisma.PropertyPaymentMethodScalarFieldEnum | Prisma.PropertyPaymentMethodScalarFieldEnum[];
4343
4343
  };
4344
4344
  /**
4345
- * Tenant.contracts
4345
+ * Tenant.applications
4346
4346
  */
4347
- export type Tenant$contractsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4347
+ export type Tenant$applicationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4348
4348
  /**
4349
- * Select specific fields to fetch from the Contract
4349
+ * Select specific fields to fetch from the Application
4350
4350
  */
4351
- select?: Prisma.ContractSelect<ExtArgs> | null;
4351
+ select?: Prisma.ApplicationSelect<ExtArgs> | null;
4352
4352
  /**
4353
- * Omit specific fields from the Contract
4353
+ * Omit specific fields from the Application
4354
4354
  */
4355
- omit?: Prisma.ContractOmit<ExtArgs> | null;
4355
+ omit?: Prisma.ApplicationOmit<ExtArgs> | null;
4356
4356
  /**
4357
4357
  * Choose, which related nodes to fetch as well
4358
4358
  */
4359
- include?: Prisma.ContractInclude<ExtArgs> | null;
4360
- where?: Prisma.ContractWhereInput;
4361
- orderBy?: Prisma.ContractOrderByWithRelationInput | Prisma.ContractOrderByWithRelationInput[];
4362
- cursor?: Prisma.ContractWhereUniqueInput;
4359
+ include?: Prisma.ApplicationInclude<ExtArgs> | null;
4360
+ where?: Prisma.ApplicationWhereInput;
4361
+ orderBy?: Prisma.ApplicationOrderByWithRelationInput | Prisma.ApplicationOrderByWithRelationInput[];
4362
+ cursor?: Prisma.ApplicationWhereUniqueInput;
4363
4363
  take?: number;
4364
4364
  skip?: number;
4365
- distinct?: Prisma.ContractScalarFieldEnum | Prisma.ContractScalarFieldEnum[];
4365
+ distinct?: Prisma.ApplicationScalarFieldEnum | Prisma.ApplicationScalarFieldEnum[];
4366
4366
  };
4367
4367
  /**
4368
4368
  * Tenant.roles
@@ -4484,23 +4484,23 @@ export type Tenant$documentRequirementRulesArgs<ExtArgs extends runtime.Types.Ex
4484
4484
  */
4485
4485
  export type Tenant$contractTerminationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4486
4486
  /**
4487
- * Select specific fields to fetch from the ContractTermination
4487
+ * Select specific fields to fetch from the ApplicationTermination
4488
4488
  */
4489
- select?: Prisma.ContractTerminationSelect<ExtArgs> | null;
4489
+ select?: Prisma.ApplicationTerminationSelect<ExtArgs> | null;
4490
4490
  /**
4491
- * Omit specific fields from the ContractTermination
4491
+ * Omit specific fields from the ApplicationTermination
4492
4492
  */
4493
- omit?: Prisma.ContractTerminationOmit<ExtArgs> | null;
4493
+ omit?: Prisma.ApplicationTerminationOmit<ExtArgs> | null;
4494
4494
  /**
4495
4495
  * Choose, which related nodes to fetch as well
4496
4496
  */
4497
- include?: Prisma.ContractTerminationInclude<ExtArgs> | null;
4498
- where?: Prisma.ContractTerminationWhereInput;
4499
- orderBy?: Prisma.ContractTerminationOrderByWithRelationInput | Prisma.ContractTerminationOrderByWithRelationInput[];
4500
- cursor?: Prisma.ContractTerminationWhereUniqueInput;
4497
+ include?: Prisma.ApplicationTerminationInclude<ExtArgs> | null;
4498
+ where?: Prisma.ApplicationTerminationWhereInput;
4499
+ orderBy?: Prisma.ApplicationTerminationOrderByWithRelationInput | Prisma.ApplicationTerminationOrderByWithRelationInput[];
4500
+ cursor?: Prisma.ApplicationTerminationWhereUniqueInput;
4501
4501
  take?: number;
4502
4502
  skip?: number;
4503
- distinct?: Prisma.ContractTerminationScalarFieldEnum | Prisma.ContractTerminationScalarFieldEnum[];
4503
+ distinct?: Prisma.ApplicationTerminationScalarFieldEnum | Prisma.ApplicationTerminationScalarFieldEnum[];
4504
4504
  };
4505
4505
  /**
4506
4506
  * Tenant.documentTemplates
@@ -4714,23 +4714,23 @@ export type Tenant$approvalRequestsArgs<ExtArgs extends runtime.Types.Extensions
4714
4714
  */
4715
4715
  export type Tenant$contractRefundsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
4716
4716
  /**
4717
- * Select specific fields to fetch from the ContractRefund
4717
+ * Select specific fields to fetch from the ApplicationRefund
4718
4718
  */
4719
- select?: Prisma.ContractRefundSelect<ExtArgs> | null;
4719
+ select?: Prisma.ApplicationRefundSelect<ExtArgs> | null;
4720
4720
  /**
4721
- * Omit specific fields from the ContractRefund
4721
+ * Omit specific fields from the ApplicationRefund
4722
4722
  */
4723
- omit?: Prisma.ContractRefundOmit<ExtArgs> | null;
4723
+ omit?: Prisma.ApplicationRefundOmit<ExtArgs> | null;
4724
4724
  /**
4725
4725
  * Choose, which related nodes to fetch as well
4726
4726
  */
4727
- include?: Prisma.ContractRefundInclude<ExtArgs> | null;
4728
- where?: Prisma.ContractRefundWhereInput;
4729
- orderBy?: Prisma.ContractRefundOrderByWithRelationInput | Prisma.ContractRefundOrderByWithRelationInput[];
4730
- cursor?: Prisma.ContractRefundWhereUniqueInput;
4727
+ include?: Prisma.ApplicationRefundInclude<ExtArgs> | null;
4728
+ where?: Prisma.ApplicationRefundWhereInput;
4729
+ orderBy?: Prisma.ApplicationRefundOrderByWithRelationInput | Prisma.ApplicationRefundOrderByWithRelationInput[];
4730
+ cursor?: Prisma.ApplicationRefundWhereUniqueInput;
4731
4731
  take?: number;
4732
4732
  skip?: number;
4733
- distinct?: Prisma.ContractRefundScalarFieldEnum | Prisma.ContractRefundScalarFieldEnum[];
4733
+ distinct?: Prisma.ApplicationRefundScalarFieldEnum | Prisma.ApplicationRefundScalarFieldEnum[];
4734
4734
  };
4735
4735
  /**
4736
4736
  * Tenant without action