@valentine-efagene/qshelter-common 2.0.94 → 2.0.95

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 (44) 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/package.json +1 -1
  42. package/prisma/migrations/20260112080730_rename_contract_to_application/migration.sql +529 -0
  43. package/prisma/schema.prisma +107 -107
  44. package/prisma/schema.prisma.backup +2601 -0
@@ -188,20 +188,20 @@ export type PaymentMethodPhaseDocument = Prisma.PaymentMethodPhaseDocumentModel;
188
188
  */
189
189
  export type PaymentMethodPhaseField = Prisma.PaymentMethodPhaseFieldModel;
190
190
  /**
191
- * Model Contract
191
+ * Model Application
192
192
  *
193
193
  */
194
- export type Contract = Prisma.ContractModel;
194
+ export type Application = Prisma.ApplicationModel;
195
195
  /**
196
- * Model ContractRefund
196
+ * Model ApplicationRefund
197
197
  *
198
198
  */
199
- export type ContractRefund = Prisma.ContractRefundModel;
199
+ export type ApplicationRefund = Prisma.ApplicationRefundModel;
200
200
  /**
201
- * Model ContractPhase
201
+ * Model ApplicationPhase
202
202
  *
203
203
  */
204
- export type ContractPhase = Prisma.ContractPhaseModel;
204
+ export type ApplicationPhase = Prisma.ApplicationPhaseModel;
205
205
  /**
206
206
  * Model QuestionnairePhase
207
207
  *
@@ -223,10 +223,10 @@ export type PaymentPhase = Prisma.PaymentPhaseModel;
223
223
  */
224
224
  export type QuestionnaireField = Prisma.QuestionnaireFieldModel;
225
225
  /**
226
- * Model ContractEvent
226
+ * Model ApplicationEvent
227
227
  *
228
228
  */
229
- export type ContractEvent = Prisma.ContractEventModel;
229
+ export type ApplicationEvent = Prisma.ApplicationEventModel;
230
230
  /**
231
231
  * Model DocumentationStep
232
232
  *
@@ -243,20 +243,20 @@ export type DocumentationStepDocument = Prisma.DocumentationStepDocumentModel;
243
243
  */
244
244
  export type DocumentationStepApproval = Prisma.DocumentationStepApprovalModel;
245
245
  /**
246
- * Model ContractInstallment
246
+ * Model PaymentInstallment
247
247
  *
248
248
  */
249
- export type ContractInstallment = Prisma.ContractInstallmentModel;
249
+ export type PaymentInstallment = Prisma.PaymentInstallmentModel;
250
250
  /**
251
- * Model ContractPayment
251
+ * Model ApplicationPayment
252
252
  *
253
253
  */
254
- export type ContractPayment = Prisma.ContractPaymentModel;
254
+ export type ApplicationPayment = Prisma.ApplicationPaymentModel;
255
255
  /**
256
- * Model ContractDocument
256
+ * Model ApplicationDocument
257
257
  *
258
258
  */
259
- export type ContractDocument = Prisma.ContractDocumentModel;
259
+ export type ApplicationDocument = Prisma.ApplicationDocumentModel;
260
260
  /**
261
261
  * Model DocumentTemplate
262
262
  *
@@ -268,10 +268,10 @@ export type DocumentTemplate = Prisma.DocumentTemplateModel;
268
268
  */
269
269
  export type OfferLetter = Prisma.OfferLetterModel;
270
270
  /**
271
- * Model ContractTermination
271
+ * Model ApplicationTermination
272
272
  *
273
273
  */
274
- export type ContractTermination = Prisma.ContractTerminationModel;
274
+ export type ApplicationTermination = Prisma.ApplicationTerminationModel;
275
275
  /**
276
276
  * Model PaymentMethodChangeRequest
277
277
  *
@@ -205,20 +205,20 @@ export type PaymentMethodPhaseDocument = Prisma.PaymentMethodPhaseDocumentModel;
205
205
  */
206
206
  export type PaymentMethodPhaseField = Prisma.PaymentMethodPhaseFieldModel;
207
207
  /**
208
- * Model Contract
208
+ * Model Application
209
209
  *
210
210
  */
211
- export type Contract = Prisma.ContractModel;
211
+ export type Application = Prisma.ApplicationModel;
212
212
  /**
213
- * Model ContractRefund
213
+ * Model ApplicationRefund
214
214
  *
215
215
  */
216
- export type ContractRefund = Prisma.ContractRefundModel;
216
+ export type ApplicationRefund = Prisma.ApplicationRefundModel;
217
217
  /**
218
- * Model ContractPhase
218
+ * Model ApplicationPhase
219
219
  *
220
220
  */
221
- export type ContractPhase = Prisma.ContractPhaseModel;
221
+ export type ApplicationPhase = Prisma.ApplicationPhaseModel;
222
222
  /**
223
223
  * Model QuestionnairePhase
224
224
  *
@@ -240,10 +240,10 @@ export type PaymentPhase = Prisma.PaymentPhaseModel;
240
240
  */
241
241
  export type QuestionnaireField = Prisma.QuestionnaireFieldModel;
242
242
  /**
243
- * Model ContractEvent
243
+ * Model ApplicationEvent
244
244
  *
245
245
  */
246
- export type ContractEvent = Prisma.ContractEventModel;
246
+ export type ApplicationEvent = Prisma.ApplicationEventModel;
247
247
  /**
248
248
  * Model DocumentationStep
249
249
  *
@@ -260,20 +260,20 @@ export type DocumentationStepDocument = Prisma.DocumentationStepDocumentModel;
260
260
  */
261
261
  export type DocumentationStepApproval = Prisma.DocumentationStepApprovalModel;
262
262
  /**
263
- * Model ContractInstallment
263
+ * Model PaymentInstallment
264
264
  *
265
265
  */
266
- export type ContractInstallment = Prisma.ContractInstallmentModel;
266
+ export type PaymentInstallment = Prisma.PaymentInstallmentModel;
267
267
  /**
268
- * Model ContractPayment
268
+ * Model ApplicationPayment
269
269
  *
270
270
  */
271
- export type ContractPayment = Prisma.ContractPaymentModel;
271
+ export type ApplicationPayment = Prisma.ApplicationPaymentModel;
272
272
  /**
273
- * Model ContractDocument
273
+ * Model ApplicationDocument
274
274
  *
275
275
  */
276
- export type ContractDocument = Prisma.ContractDocumentModel;
276
+ export type ApplicationDocument = Prisma.ApplicationDocumentModel;
277
277
  /**
278
278
  * Model DocumentTemplate
279
279
  *
@@ -285,10 +285,10 @@ export type DocumentTemplate = Prisma.DocumentTemplateModel;
285
285
  */
286
286
  export type OfferLetter = Prisma.OfferLetterModel;
287
287
  /**
288
- * Model ContractTermination
288
+ * Model ApplicationTermination
289
289
  *
290
290
  */
291
- export type ContractTermination = Prisma.ContractTerminationModel;
291
+ export type ApplicationTermination = Prisma.ApplicationTerminationModel;
292
292
  /**
293
293
  * Model PaymentMethodChangeRequest
294
294
  *
@@ -444,20 +444,20 @@ export type EnumFieldTypeWithAggregatesFilter<$PrismaModel = never> = {
444
444
  _min?: Prisma.NestedEnumFieldTypeFilter<$PrismaModel>;
445
445
  _max?: Prisma.NestedEnumFieldTypeFilter<$PrismaModel>;
446
446
  };
447
- export type EnumContractStatusFilter<$PrismaModel = never> = {
448
- equals?: $Enums.ContractStatus | Prisma.EnumContractStatusFieldRefInput<$PrismaModel>;
449
- in?: $Enums.ContractStatus[];
450
- notIn?: $Enums.ContractStatus[];
451
- not?: Prisma.NestedEnumContractStatusFilter<$PrismaModel> | $Enums.ContractStatus;
447
+ export type EnumApplicationStatusFilter<$PrismaModel = never> = {
448
+ equals?: $Enums.ApplicationStatus | Prisma.EnumApplicationStatusFieldRefInput<$PrismaModel>;
449
+ in?: $Enums.ApplicationStatus[];
450
+ notIn?: $Enums.ApplicationStatus[];
451
+ not?: Prisma.NestedEnumApplicationStatusFilter<$PrismaModel> | $Enums.ApplicationStatus;
452
452
  };
453
- export type EnumContractStatusWithAggregatesFilter<$PrismaModel = never> = {
454
- equals?: $Enums.ContractStatus | Prisma.EnumContractStatusFieldRefInput<$PrismaModel>;
455
- in?: $Enums.ContractStatus[];
456
- notIn?: $Enums.ContractStatus[];
457
- not?: Prisma.NestedEnumContractStatusWithAggregatesFilter<$PrismaModel> | $Enums.ContractStatus;
453
+ export type EnumApplicationStatusWithAggregatesFilter<$PrismaModel = never> = {
454
+ equals?: $Enums.ApplicationStatus | Prisma.EnumApplicationStatusFieldRefInput<$PrismaModel>;
455
+ in?: $Enums.ApplicationStatus[];
456
+ notIn?: $Enums.ApplicationStatus[];
457
+ not?: Prisma.NestedEnumApplicationStatusWithAggregatesFilter<$PrismaModel> | $Enums.ApplicationStatus;
458
458
  _count?: Prisma.NestedIntFilter<$PrismaModel>;
459
- _min?: Prisma.NestedEnumContractStatusFilter<$PrismaModel>;
460
- _max?: Prisma.NestedEnumContractStatusFilter<$PrismaModel>;
459
+ _min?: Prisma.NestedEnumApplicationStatusFilter<$PrismaModel>;
460
+ _max?: Prisma.NestedEnumApplicationStatusFilter<$PrismaModel>;
461
461
  };
462
462
  export type EnumRefundStatusFilter<$PrismaModel = never> = {
463
463
  equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
@@ -489,17 +489,17 @@ export type EnumPhaseStatusWithAggregatesFilter<$PrismaModel = never> = {
489
489
  _min?: Prisma.NestedEnumPhaseStatusFilter<$PrismaModel>;
490
490
  _max?: Prisma.NestedEnumPhaseStatusFilter<$PrismaModel>;
491
491
  };
492
- export type EnumContractEventTypeFilter<$PrismaModel = never> = {
493
- equals?: $Enums.ContractEventType | Prisma.EnumContractEventTypeFieldRefInput<$PrismaModel>;
494
- in?: $Enums.ContractEventType[];
495
- notIn?: $Enums.ContractEventType[];
496
- not?: Prisma.NestedEnumContractEventTypeFilter<$PrismaModel> | $Enums.ContractEventType;
492
+ export type EnumApplicationEventTypeFilter<$PrismaModel = never> = {
493
+ equals?: $Enums.ApplicationEventType | Prisma.EnumApplicationEventTypeFieldRefInput<$PrismaModel>;
494
+ in?: $Enums.ApplicationEventType[];
495
+ notIn?: $Enums.ApplicationEventType[];
496
+ not?: Prisma.NestedEnumApplicationEventTypeFilter<$PrismaModel> | $Enums.ApplicationEventType;
497
497
  };
498
- export type EnumContractEventGroupNullableFilter<$PrismaModel = never> = {
499
- equals?: $Enums.ContractEventGroup | Prisma.EnumContractEventGroupFieldRefInput<$PrismaModel> | null;
500
- in?: $Enums.ContractEventGroup[] | null;
501
- notIn?: $Enums.ContractEventGroup[] | null;
502
- not?: Prisma.NestedEnumContractEventGroupNullableFilter<$PrismaModel> | $Enums.ContractEventGroup | null;
498
+ export type EnumApplicationEventGroupNullableFilter<$PrismaModel = never> = {
499
+ equals?: $Enums.ApplicationEventGroup | Prisma.EnumApplicationEventGroupFieldRefInput<$PrismaModel> | null;
500
+ in?: $Enums.ApplicationEventGroup[] | null;
501
+ notIn?: $Enums.ApplicationEventGroup[] | null;
502
+ not?: Prisma.NestedEnumApplicationEventGroupNullableFilter<$PrismaModel> | $Enums.ApplicationEventGroup | null;
503
503
  };
504
504
  export type EnumEventActorTypeNullableFilter<$PrismaModel = never> = {
505
505
  equals?: $Enums.EventActorType | Prisma.EnumEventActorTypeFieldRefInput<$PrismaModel> | null;
@@ -507,23 +507,23 @@ export type EnumEventActorTypeNullableFilter<$PrismaModel = never> = {
507
507
  notIn?: $Enums.EventActorType[] | null;
508
508
  not?: Prisma.NestedEnumEventActorTypeNullableFilter<$PrismaModel> | $Enums.EventActorType | null;
509
509
  };
510
- export type EnumContractEventTypeWithAggregatesFilter<$PrismaModel = never> = {
511
- equals?: $Enums.ContractEventType | Prisma.EnumContractEventTypeFieldRefInput<$PrismaModel>;
512
- in?: $Enums.ContractEventType[];
513
- notIn?: $Enums.ContractEventType[];
514
- not?: Prisma.NestedEnumContractEventTypeWithAggregatesFilter<$PrismaModel> | $Enums.ContractEventType;
510
+ export type EnumApplicationEventTypeWithAggregatesFilter<$PrismaModel = never> = {
511
+ equals?: $Enums.ApplicationEventType | Prisma.EnumApplicationEventTypeFieldRefInput<$PrismaModel>;
512
+ in?: $Enums.ApplicationEventType[];
513
+ notIn?: $Enums.ApplicationEventType[];
514
+ not?: Prisma.NestedEnumApplicationEventTypeWithAggregatesFilter<$PrismaModel> | $Enums.ApplicationEventType;
515
515
  _count?: Prisma.NestedIntFilter<$PrismaModel>;
516
- _min?: Prisma.NestedEnumContractEventTypeFilter<$PrismaModel>;
517
- _max?: Prisma.NestedEnumContractEventTypeFilter<$PrismaModel>;
516
+ _min?: Prisma.NestedEnumApplicationEventTypeFilter<$PrismaModel>;
517
+ _max?: Prisma.NestedEnumApplicationEventTypeFilter<$PrismaModel>;
518
518
  };
519
- export type EnumContractEventGroupNullableWithAggregatesFilter<$PrismaModel = never> = {
520
- equals?: $Enums.ContractEventGroup | Prisma.EnumContractEventGroupFieldRefInput<$PrismaModel> | null;
521
- in?: $Enums.ContractEventGroup[] | null;
522
- notIn?: $Enums.ContractEventGroup[] | null;
523
- not?: Prisma.NestedEnumContractEventGroupNullableWithAggregatesFilter<$PrismaModel> | $Enums.ContractEventGroup | null;
519
+ export type EnumApplicationEventGroupNullableWithAggregatesFilter<$PrismaModel = never> = {
520
+ equals?: $Enums.ApplicationEventGroup | Prisma.EnumApplicationEventGroupFieldRefInput<$PrismaModel> | null;
521
+ in?: $Enums.ApplicationEventGroup[] | null;
522
+ notIn?: $Enums.ApplicationEventGroup[] | null;
523
+ not?: Prisma.NestedEnumApplicationEventGroupNullableWithAggregatesFilter<$PrismaModel> | $Enums.ApplicationEventGroup | null;
524
524
  _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
525
- _min?: Prisma.NestedEnumContractEventGroupNullableFilter<$PrismaModel>;
526
- _max?: Prisma.NestedEnumContractEventGroupNullableFilter<$PrismaModel>;
525
+ _min?: Prisma.NestedEnumApplicationEventGroupNullableFilter<$PrismaModel>;
526
+ _max?: Prisma.NestedEnumApplicationEventGroupNullableFilter<$PrismaModel>;
527
527
  };
528
528
  export type EnumEventActorTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
529
529
  equals?: $Enums.EventActorType | Prisma.EnumEventActorTypeFieldRefInput<$PrismaModel> | null;
@@ -1248,20 +1248,20 @@ export type NestedEnumFieldTypeWithAggregatesFilter<$PrismaModel = never> = {
1248
1248
  _min?: Prisma.NestedEnumFieldTypeFilter<$PrismaModel>;
1249
1249
  _max?: Prisma.NestedEnumFieldTypeFilter<$PrismaModel>;
1250
1250
  };
1251
- export type NestedEnumContractStatusFilter<$PrismaModel = never> = {
1252
- equals?: $Enums.ContractStatus | Prisma.EnumContractStatusFieldRefInput<$PrismaModel>;
1253
- in?: $Enums.ContractStatus[];
1254
- notIn?: $Enums.ContractStatus[];
1255
- not?: Prisma.NestedEnumContractStatusFilter<$PrismaModel> | $Enums.ContractStatus;
1251
+ export type NestedEnumApplicationStatusFilter<$PrismaModel = never> = {
1252
+ equals?: $Enums.ApplicationStatus | Prisma.EnumApplicationStatusFieldRefInput<$PrismaModel>;
1253
+ in?: $Enums.ApplicationStatus[];
1254
+ notIn?: $Enums.ApplicationStatus[];
1255
+ not?: Prisma.NestedEnumApplicationStatusFilter<$PrismaModel> | $Enums.ApplicationStatus;
1256
1256
  };
1257
- export type NestedEnumContractStatusWithAggregatesFilter<$PrismaModel = never> = {
1258
- equals?: $Enums.ContractStatus | Prisma.EnumContractStatusFieldRefInput<$PrismaModel>;
1259
- in?: $Enums.ContractStatus[];
1260
- notIn?: $Enums.ContractStatus[];
1261
- not?: Prisma.NestedEnumContractStatusWithAggregatesFilter<$PrismaModel> | $Enums.ContractStatus;
1257
+ export type NestedEnumApplicationStatusWithAggregatesFilter<$PrismaModel = never> = {
1258
+ equals?: $Enums.ApplicationStatus | Prisma.EnumApplicationStatusFieldRefInput<$PrismaModel>;
1259
+ in?: $Enums.ApplicationStatus[];
1260
+ notIn?: $Enums.ApplicationStatus[];
1261
+ not?: Prisma.NestedEnumApplicationStatusWithAggregatesFilter<$PrismaModel> | $Enums.ApplicationStatus;
1262
1262
  _count?: Prisma.NestedIntFilter<$PrismaModel>;
1263
- _min?: Prisma.NestedEnumContractStatusFilter<$PrismaModel>;
1264
- _max?: Prisma.NestedEnumContractStatusFilter<$PrismaModel>;
1263
+ _min?: Prisma.NestedEnumApplicationStatusFilter<$PrismaModel>;
1264
+ _max?: Prisma.NestedEnumApplicationStatusFilter<$PrismaModel>;
1265
1265
  };
1266
1266
  export type NestedEnumRefundStatusFilter<$PrismaModel = never> = {
1267
1267
  equals?: $Enums.RefundStatus | Prisma.EnumRefundStatusFieldRefInput<$PrismaModel>;
@@ -1293,17 +1293,17 @@ export type NestedEnumPhaseStatusWithAggregatesFilter<$PrismaModel = never> = {
1293
1293
  _min?: Prisma.NestedEnumPhaseStatusFilter<$PrismaModel>;
1294
1294
  _max?: Prisma.NestedEnumPhaseStatusFilter<$PrismaModel>;
1295
1295
  };
1296
- export type NestedEnumContractEventTypeFilter<$PrismaModel = never> = {
1297
- equals?: $Enums.ContractEventType | Prisma.EnumContractEventTypeFieldRefInput<$PrismaModel>;
1298
- in?: $Enums.ContractEventType[];
1299
- notIn?: $Enums.ContractEventType[];
1300
- not?: Prisma.NestedEnumContractEventTypeFilter<$PrismaModel> | $Enums.ContractEventType;
1296
+ export type NestedEnumApplicationEventTypeFilter<$PrismaModel = never> = {
1297
+ equals?: $Enums.ApplicationEventType | Prisma.EnumApplicationEventTypeFieldRefInput<$PrismaModel>;
1298
+ in?: $Enums.ApplicationEventType[];
1299
+ notIn?: $Enums.ApplicationEventType[];
1300
+ not?: Prisma.NestedEnumApplicationEventTypeFilter<$PrismaModel> | $Enums.ApplicationEventType;
1301
1301
  };
1302
- export type NestedEnumContractEventGroupNullableFilter<$PrismaModel = never> = {
1303
- equals?: $Enums.ContractEventGroup | Prisma.EnumContractEventGroupFieldRefInput<$PrismaModel> | null;
1304
- in?: $Enums.ContractEventGroup[] | null;
1305
- notIn?: $Enums.ContractEventGroup[] | null;
1306
- not?: Prisma.NestedEnumContractEventGroupNullableFilter<$PrismaModel> | $Enums.ContractEventGroup | null;
1302
+ export type NestedEnumApplicationEventGroupNullableFilter<$PrismaModel = never> = {
1303
+ equals?: $Enums.ApplicationEventGroup | Prisma.EnumApplicationEventGroupFieldRefInput<$PrismaModel> | null;
1304
+ in?: $Enums.ApplicationEventGroup[] | null;
1305
+ notIn?: $Enums.ApplicationEventGroup[] | null;
1306
+ not?: Prisma.NestedEnumApplicationEventGroupNullableFilter<$PrismaModel> | $Enums.ApplicationEventGroup | null;
1307
1307
  };
1308
1308
  export type NestedEnumEventActorTypeNullableFilter<$PrismaModel = never> = {
1309
1309
  equals?: $Enums.EventActorType | Prisma.EnumEventActorTypeFieldRefInput<$PrismaModel> | null;
@@ -1311,23 +1311,23 @@ export type NestedEnumEventActorTypeNullableFilter<$PrismaModel = never> = {
1311
1311
  notIn?: $Enums.EventActorType[] | null;
1312
1312
  not?: Prisma.NestedEnumEventActorTypeNullableFilter<$PrismaModel> | $Enums.EventActorType | null;
1313
1313
  };
1314
- export type NestedEnumContractEventTypeWithAggregatesFilter<$PrismaModel = never> = {
1315
- equals?: $Enums.ContractEventType | Prisma.EnumContractEventTypeFieldRefInput<$PrismaModel>;
1316
- in?: $Enums.ContractEventType[];
1317
- notIn?: $Enums.ContractEventType[];
1318
- not?: Prisma.NestedEnumContractEventTypeWithAggregatesFilter<$PrismaModel> | $Enums.ContractEventType;
1314
+ export type NestedEnumApplicationEventTypeWithAggregatesFilter<$PrismaModel = never> = {
1315
+ equals?: $Enums.ApplicationEventType | Prisma.EnumApplicationEventTypeFieldRefInput<$PrismaModel>;
1316
+ in?: $Enums.ApplicationEventType[];
1317
+ notIn?: $Enums.ApplicationEventType[];
1318
+ not?: Prisma.NestedEnumApplicationEventTypeWithAggregatesFilter<$PrismaModel> | $Enums.ApplicationEventType;
1319
1319
  _count?: Prisma.NestedIntFilter<$PrismaModel>;
1320
- _min?: Prisma.NestedEnumContractEventTypeFilter<$PrismaModel>;
1321
- _max?: Prisma.NestedEnumContractEventTypeFilter<$PrismaModel>;
1320
+ _min?: Prisma.NestedEnumApplicationEventTypeFilter<$PrismaModel>;
1321
+ _max?: Prisma.NestedEnumApplicationEventTypeFilter<$PrismaModel>;
1322
1322
  };
1323
- export type NestedEnumContractEventGroupNullableWithAggregatesFilter<$PrismaModel = never> = {
1324
- equals?: $Enums.ContractEventGroup | Prisma.EnumContractEventGroupFieldRefInput<$PrismaModel> | null;
1325
- in?: $Enums.ContractEventGroup[] | null;
1326
- notIn?: $Enums.ContractEventGroup[] | null;
1327
- not?: Prisma.NestedEnumContractEventGroupNullableWithAggregatesFilter<$PrismaModel> | $Enums.ContractEventGroup | null;
1323
+ export type NestedEnumApplicationEventGroupNullableWithAggregatesFilter<$PrismaModel = never> = {
1324
+ equals?: $Enums.ApplicationEventGroup | Prisma.EnumApplicationEventGroupFieldRefInput<$PrismaModel> | null;
1325
+ in?: $Enums.ApplicationEventGroup[] | null;
1326
+ notIn?: $Enums.ApplicationEventGroup[] | null;
1327
+ not?: Prisma.NestedEnumApplicationEventGroupNullableWithAggregatesFilter<$PrismaModel> | $Enums.ApplicationEventGroup | null;
1328
1328
  _count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
1329
- _min?: Prisma.NestedEnumContractEventGroupNullableFilter<$PrismaModel>;
1330
- _max?: Prisma.NestedEnumContractEventGroupNullableFilter<$PrismaModel>;
1329
+ _min?: Prisma.NestedEnumApplicationEventGroupNullableFilter<$PrismaModel>;
1330
+ _max?: Prisma.NestedEnumApplicationEventGroupNullableFilter<$PrismaModel>;
1331
1331
  };
1332
1332
  export type NestedEnumEventActorTypeNullableWithAggregatesFilter<$PrismaModel = never> = {
1333
1333
  equals?: $Enums.EventActorType | Prisma.EnumEventActorTypeFieldRefInput<$PrismaModel> | null;
@@ -23,7 +23,7 @@ export declare const PaymentFrequency: {
23
23
  readonly CUSTOM: "CUSTOM";
24
24
  };
25
25
  export type PaymentFrequency = (typeof PaymentFrequency)[keyof typeof PaymentFrequency];
26
- export declare const ContractStatus: {
26
+ export declare const ApplicationStatus: {
27
27
  readonly DRAFT: "DRAFT";
28
28
  readonly PENDING: "PENDING";
29
29
  readonly ACTIVE: "ACTIVE";
@@ -32,7 +32,7 @@ export declare const ContractStatus: {
32
32
  readonly TERMINATED: "TERMINATED";
33
33
  readonly TRANSFERRED: "TRANSFERRED";
34
34
  };
35
- export type ContractStatus = (typeof ContractStatus)[keyof typeof ContractStatus];
35
+ export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
36
36
  export declare const TransferRequestStatus: {
37
37
  readonly PENDING: "PENDING";
38
38
  readonly APPROVED: "APPROVED";
@@ -179,9 +179,9 @@ export declare const OfferLetterStatus: {
179
179
  readonly CANCELLED: "CANCELLED";
180
180
  };
181
181
  export type OfferLetterStatus = (typeof OfferLetterStatus)[keyof typeof OfferLetterStatus];
182
- export declare const ContractEventType: {
183
- readonly CONTRACT_CREATED: "CONTRACT_CREATED";
184
- readonly CONTRACT_STATE_CHANGED: "CONTRACT_STATE_CHANGED";
182
+ export declare const ApplicationEventType: {
183
+ readonly APPLICATION_CREATED: "APPLICATION_CREATED";
184
+ readonly APPLICATION_STATE_CHANGED: "APPLICATION_STATE_CHANGED";
185
185
  readonly PHASE_ACTIVATED: "PHASE_ACTIVATED";
186
186
  readonly PHASE_COMPLETED: "PHASE_COMPLETED";
187
187
  readonly STEP_COMPLETED: "STEP_COMPLETED";
@@ -193,21 +193,21 @@ export declare const ContractEventType: {
193
193
  readonly PAYMENT_COMPLETED: "PAYMENT_COMPLETED";
194
194
  readonly PAYMENT_FAILED: "PAYMENT_FAILED";
195
195
  readonly INSTALLMENTS_GENERATED: "INSTALLMENTS_GENERATED";
196
- readonly CONTRACT_SIGNED: "CONTRACT_SIGNED";
197
- readonly CONTRACT_TERMINATED: "CONTRACT_TERMINATED";
198
- readonly CONTRACT_TRANSFERRED: "CONTRACT_TRANSFERRED";
196
+ readonly APPLICATION_SIGNED: "APPLICATION_SIGNED";
197
+ readonly APPLICATION_TERMINATED: "APPLICATION_TERMINATED";
198
+ readonly APPLICATION_TRANSFERRED: "APPLICATION_TRANSFERRED";
199
199
  readonly UNDERWRITING_COMPLETED: "UNDERWRITING_COMPLETED";
200
200
  readonly OFFER_LETTER_GENERATED: "OFFER_LETTER_GENERATED";
201
201
  };
202
- export type ContractEventType = (typeof ContractEventType)[keyof typeof ContractEventType];
203
- export declare const ContractEventGroup: {
202
+ export type ApplicationEventType = (typeof ApplicationEventType)[keyof typeof ApplicationEventType];
203
+ export declare const ApplicationEventGroup: {
204
204
  readonly STATE_CHANGE: "STATE_CHANGE";
205
205
  readonly PAYMENT: "PAYMENT";
206
206
  readonly DOCUMENT: "DOCUMENT";
207
207
  readonly NOTIFICATION: "NOTIFICATION";
208
208
  readonly WORKFLOW: "WORKFLOW";
209
209
  };
210
- export type ContractEventGroup = (typeof ContractEventGroup)[keyof typeof ContractEventGroup];
210
+ export type ApplicationEventGroup = (typeof ApplicationEventGroup)[keyof typeof ApplicationEventGroup];
211
211
  export declare const EventActorType: {
212
212
  readonly USER: "USER";
213
213
  readonly SYSTEM: "SYSTEM";
@@ -289,7 +289,7 @@ export declare const PaymentMethodChangeStatus: {
289
289
  };
290
290
  export type PaymentMethodChangeStatus = (typeof PaymentMethodChangeStatus)[keyof typeof PaymentMethodChangeStatus];
291
291
  export declare const DocumentRequirementContext: {
292
- readonly CONTRACT_PHASE: "CONTRACT_PHASE";
292
+ readonly APPLICATION_PHASE: "APPLICATION_PHASE";
293
293
  readonly PAYMENT_METHOD_CHANGE: "PAYMENT_METHOD_CHANGE";
294
294
  };
295
295
  export type DocumentRequirementContext = (typeof DocumentRequirementContext)[keyof typeof DocumentRequirementContext];
@@ -298,7 +298,7 @@ export declare const ApprovalRequestType: {
298
298
  readonly PROPERTY_UPDATE: "PROPERTY_UPDATE";
299
299
  readonly USER_WORKFLOW: "USER_WORKFLOW";
300
300
  readonly CREDIT_CHECK: "CREDIT_CHECK";
301
- readonly CONTRACT_TERMINATION: "CONTRACT_TERMINATION";
301
+ readonly APPLICATION_TERMINATION: "APPLICATION_TERMINATION";
302
302
  readonly REFUND_APPROVAL: "REFUND_APPROVAL";
303
303
  };
304
304
  export type ApprovalRequestType = (typeof ApprovalRequestType)[keyof typeof ApprovalRequestType];
@@ -29,7 +29,7 @@ export const PaymentFrequency = {
29
29
  ONE_TIME: 'ONE_TIME',
30
30
  CUSTOM: 'CUSTOM'
31
31
  };
32
- export const ContractStatus = {
32
+ export const ApplicationStatus = {
33
33
  DRAFT: 'DRAFT',
34
34
  PENDING: 'PENDING',
35
35
  ACTIVE: 'ACTIVE',
@@ -168,9 +168,9 @@ export const OfferLetterStatus = {
168
168
  EXPIRED: 'EXPIRED',
169
169
  CANCELLED: 'CANCELLED'
170
170
  };
171
- export const ContractEventType = {
172
- CONTRACT_CREATED: 'CONTRACT_CREATED',
173
- CONTRACT_STATE_CHANGED: 'CONTRACT_STATE_CHANGED',
171
+ export const ApplicationEventType = {
172
+ APPLICATION_CREATED: 'APPLICATION_CREATED',
173
+ APPLICATION_STATE_CHANGED: 'APPLICATION_STATE_CHANGED',
174
174
  PHASE_ACTIVATED: 'PHASE_ACTIVATED',
175
175
  PHASE_COMPLETED: 'PHASE_COMPLETED',
176
176
  STEP_COMPLETED: 'STEP_COMPLETED',
@@ -182,13 +182,13 @@ export const ContractEventType = {
182
182
  PAYMENT_COMPLETED: 'PAYMENT_COMPLETED',
183
183
  PAYMENT_FAILED: 'PAYMENT_FAILED',
184
184
  INSTALLMENTS_GENERATED: 'INSTALLMENTS_GENERATED',
185
- CONTRACT_SIGNED: 'CONTRACT_SIGNED',
186
- CONTRACT_TERMINATED: 'CONTRACT_TERMINATED',
187
- CONTRACT_TRANSFERRED: 'CONTRACT_TRANSFERRED',
185
+ APPLICATION_SIGNED: 'APPLICATION_SIGNED',
186
+ APPLICATION_TERMINATED: 'APPLICATION_TERMINATED',
187
+ APPLICATION_TRANSFERRED: 'APPLICATION_TRANSFERRED',
188
188
  UNDERWRITING_COMPLETED: 'UNDERWRITING_COMPLETED',
189
189
  OFFER_LETTER_GENERATED: 'OFFER_LETTER_GENERATED'
190
190
  };
191
- export const ContractEventGroup = {
191
+ export const ApplicationEventGroup = {
192
192
  STATE_CHANGE: 'STATE_CHANGE',
193
193
  PAYMENT: 'PAYMENT',
194
194
  DOCUMENT: 'DOCUMENT',
@@ -267,7 +267,7 @@ export const PaymentMethodChangeStatus = {
267
267
  CANCELLED: 'CANCELLED'
268
268
  };
269
269
  export const DocumentRequirementContext = {
270
- CONTRACT_PHASE: 'CONTRACT_PHASE',
270
+ APPLICATION_PHASE: 'APPLICATION_PHASE',
271
271
  PAYMENT_METHOD_CHANGE: 'PAYMENT_METHOD_CHANGE'
272
272
  };
273
273
  export const ApprovalRequestType = {
@@ -275,7 +275,7 @@ export const ApprovalRequestType = {
275
275
  PROPERTY_UPDATE: 'PROPERTY_UPDATE',
276
276
  USER_WORKFLOW: 'USER_WORKFLOW',
277
277
  CREDIT_CHECK: 'CREDIT_CHECK',
278
- CONTRACT_TERMINATION: 'CONTRACT_TERMINATION',
278
+ APPLICATION_TERMINATION: 'APPLICATION_TERMINATION',
279
279
  REFUND_APPROVAL: 'REFUND_APPROVAL'
280
280
  };
281
281
  export const ApprovalRequestStatus = {
@@ -508,36 +508,36 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
508
508
  omit: OmitOpts;
509
509
  }>;
510
510
  /**
511
- * `prisma.contract`: Exposes CRUD operations for the **Contract** model.
511
+ * `prisma.application`: Exposes CRUD operations for the **Application** model.
512
512
  * Example usage:
513
513
  * ```ts
514
- * // Fetch zero or more Contracts
515
- * const contracts = await prisma.contract.findMany()
514
+ * // Fetch zero or more Applications
515
+ * const applications = await prisma.application.findMany()
516
516
  * ```
517
517
  */
518
- get contract(): Prisma.ContractDelegate<ExtArgs, {
518
+ get application(): Prisma.ApplicationDelegate<ExtArgs, {
519
519
  omit: OmitOpts;
520
520
  }>;
521
521
  /**
522
- * `prisma.contractRefund`: Exposes CRUD operations for the **ContractRefund** model.
522
+ * `prisma.applicationRefund`: Exposes CRUD operations for the **ApplicationRefund** model.
523
523
  * Example usage:
524
524
  * ```ts
525
- * // Fetch zero or more ContractRefunds
526
- * const contractRefunds = await prisma.contractRefund.findMany()
525
+ * // Fetch zero or more ApplicationRefunds
526
+ * const applicationRefunds = await prisma.applicationRefund.findMany()
527
527
  * ```
528
528
  */
529
- get contractRefund(): Prisma.ContractRefundDelegate<ExtArgs, {
529
+ get applicationRefund(): Prisma.ApplicationRefundDelegate<ExtArgs, {
530
530
  omit: OmitOpts;
531
531
  }>;
532
532
  /**
533
- * `prisma.contractPhase`: Exposes CRUD operations for the **ContractPhase** model.
533
+ * `prisma.applicationPhase`: Exposes CRUD operations for the **ApplicationPhase** model.
534
534
  * Example usage:
535
535
  * ```ts
536
- * // Fetch zero or more ContractPhases
537
- * const contractPhases = await prisma.contractPhase.findMany()
536
+ * // Fetch zero or more ApplicationPhases
537
+ * const applicationPhases = await prisma.applicationPhase.findMany()
538
538
  * ```
539
539
  */
540
- get contractPhase(): Prisma.ContractPhaseDelegate<ExtArgs, {
540
+ get applicationPhase(): Prisma.ApplicationPhaseDelegate<ExtArgs, {
541
541
  omit: OmitOpts;
542
542
  }>;
543
543
  /**
@@ -585,14 +585,14 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
585
585
  omit: OmitOpts;
586
586
  }>;
587
587
  /**
588
- * `prisma.contractEvent`: Exposes CRUD operations for the **ContractEvent** model.
588
+ * `prisma.applicationEvent`: Exposes CRUD operations for the **ApplicationEvent** model.
589
589
  * Example usage:
590
590
  * ```ts
591
- * // Fetch zero or more ContractEvents
592
- * const contractEvents = await prisma.contractEvent.findMany()
591
+ * // Fetch zero or more ApplicationEvents
592
+ * const applicationEvents = await prisma.applicationEvent.findMany()
593
593
  * ```
594
594
  */
595
- get contractEvent(): Prisma.ContractEventDelegate<ExtArgs, {
595
+ get applicationEvent(): Prisma.ApplicationEventDelegate<ExtArgs, {
596
596
  omit: OmitOpts;
597
597
  }>;
598
598
  /**
@@ -629,36 +629,36 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
629
629
  omit: OmitOpts;
630
630
  }>;
631
631
  /**
632
- * `prisma.contractInstallment`: Exposes CRUD operations for the **ContractInstallment** model.
632
+ * `prisma.paymentInstallment`: Exposes CRUD operations for the **PaymentInstallment** model.
633
633
  * Example usage:
634
634
  * ```ts
635
- * // Fetch zero or more ContractInstallments
636
- * const contractInstallments = await prisma.contractInstallment.findMany()
635
+ * // Fetch zero or more PaymentInstallments
636
+ * const paymentInstallments = await prisma.paymentInstallment.findMany()
637
637
  * ```
638
638
  */
639
- get contractInstallment(): Prisma.ContractInstallmentDelegate<ExtArgs, {
639
+ get paymentInstallment(): Prisma.PaymentInstallmentDelegate<ExtArgs, {
640
640
  omit: OmitOpts;
641
641
  }>;
642
642
  /**
643
- * `prisma.contractPayment`: Exposes CRUD operations for the **ContractPayment** model.
643
+ * `prisma.applicationPayment`: Exposes CRUD operations for the **ApplicationPayment** model.
644
644
  * Example usage:
645
645
  * ```ts
646
- * // Fetch zero or more ContractPayments
647
- * const contractPayments = await prisma.contractPayment.findMany()
646
+ * // Fetch zero or more ApplicationPayments
647
+ * const applicationPayments = await prisma.applicationPayment.findMany()
648
648
  * ```
649
649
  */
650
- get contractPayment(): Prisma.ContractPaymentDelegate<ExtArgs, {
650
+ get applicationPayment(): Prisma.ApplicationPaymentDelegate<ExtArgs, {
651
651
  omit: OmitOpts;
652
652
  }>;
653
653
  /**
654
- * `prisma.contractDocument`: Exposes CRUD operations for the **ContractDocument** model.
654
+ * `prisma.applicationDocument`: Exposes CRUD operations for the **ApplicationDocument** model.
655
655
  * Example usage:
656
656
  * ```ts
657
- * // Fetch zero or more ContractDocuments
658
- * const contractDocuments = await prisma.contractDocument.findMany()
657
+ * // Fetch zero or more ApplicationDocuments
658
+ * const applicationDocuments = await prisma.applicationDocument.findMany()
659
659
  * ```
660
660
  */
661
- get contractDocument(): Prisma.ContractDocumentDelegate<ExtArgs, {
661
+ get applicationDocument(): Prisma.ApplicationDocumentDelegate<ExtArgs, {
662
662
  omit: OmitOpts;
663
663
  }>;
664
664
  /**
@@ -684,14 +684,14 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
684
684
  omit: OmitOpts;
685
685
  }>;
686
686
  /**
687
- * `prisma.contractTermination`: Exposes CRUD operations for the **ContractTermination** model.
687
+ * `prisma.applicationTermination`: Exposes CRUD operations for the **ApplicationTermination** model.
688
688
  * Example usage:
689
689
  * ```ts
690
- * // Fetch zero or more ContractTerminations
691
- * const contractTerminations = await prisma.contractTermination.findMany()
690
+ * // Fetch zero or more ApplicationTerminations
691
+ * const applicationTerminations = await prisma.applicationTermination.findMany()
692
692
  * ```
693
693
  */
694
- get contractTermination(): Prisma.ContractTerminationDelegate<ExtArgs, {
694
+ get applicationTermination(): Prisma.ApplicationTerminationDelegate<ExtArgs, {
695
695
  omit: OmitOpts;
696
696
  }>;
697
697
  /**