@valentine-efagene/qshelter-common 2.0.93 → 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.
- package/dist/generated/client/browser.d.ts +16 -16
- package/dist/generated/client/client.d.ts +16 -16
- package/dist/generated/client/commonInputTypes.d.ts +72 -72
- package/dist/generated/client/enums.d.ts +13 -13
- package/dist/generated/client/enums.js +10 -10
- package/dist/generated/client/internal/class.d.ts +32 -32
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +328 -321
- package/dist/generated/client/internal/prismaNamespace.js +57 -50
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +73 -66
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +57 -50
- package/dist/generated/client/models/Application.d.ts +5439 -0
- package/dist/generated/client/models/Application.js +1 -0
- package/dist/generated/client/models/ApplicationDocument.d.ts +1409 -0
- package/dist/generated/client/models/ApplicationDocument.js +1 -0
- package/dist/generated/client/models/ApplicationEvent.d.ts +1254 -0
- package/dist/generated/client/models/ApplicationEvent.js +1 -0
- package/dist/generated/client/models/ApplicationPayment.d.ts +2030 -0
- package/dist/generated/client/models/ApplicationPayment.js +1 -0
- package/dist/generated/client/models/ApplicationPhase.d.ts +2243 -0
- package/dist/generated/client/models/ApplicationPhase.js +1 -0
- package/dist/generated/client/models/ApplicationRefund.d.ts +2560 -0
- package/dist/generated/client/models/ApplicationRefund.js +1 -0
- package/dist/generated/client/models/ApplicationTermination.d.ts +3446 -0
- package/dist/generated/client/models/ApplicationTermination.js +1 -0
- package/dist/generated/client/models/DocumentationPhase.d.ts +13 -13
- package/dist/generated/client/models/OfferLetter.d.ts +97 -97
- package/dist/generated/client/models/PaymentInstallment.d.ts +1660 -0
- package/dist/generated/client/models/PaymentInstallment.js +1 -0
- package/dist/generated/client/models/PaymentMethodChangeRequest.d.ts +103 -103
- package/dist/generated/client/models/PaymentPhase.d.ts +135 -41
- package/dist/generated/client/models/PaymentPlan.d.ts +259 -30
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +77 -77
- package/dist/generated/client/models/PropertyTransferRequest.d.ts +213 -213
- package/dist/generated/client/models/PropertyUnit.d.ts +53 -53
- package/dist/generated/client/models/QuestionnairePhase.d.ts +11 -11
- package/dist/generated/client/models/Tenant.d.ts +323 -323
- package/dist/generated/client/models/User.d.ts +1329 -1329
- package/dist/generated/client/models/index.d.ts +8 -8
- package/dist/generated/client/models/index.js +8 -8
- package/dist/generated/client/models.d.ts +8 -8
- package/package.json +1 -1
- package/prisma/migrations/20260112041159_add_flexible_term_configuration/migration.sql +11 -0
- package/prisma/migrations/20260112080730_rename_contract_to_application/migration.sql +529 -0
- package/prisma/schema.prisma +123 -108
- package/prisma/schema.prisma.backup +2601 -0
|
@@ -103,23 +103,23 @@ export const ModelName = {
|
|
|
103
103
|
StepEventAttachment: 'StepEventAttachment',
|
|
104
104
|
PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
|
|
105
105
|
PaymentMethodPhaseField: 'PaymentMethodPhaseField',
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
Application: 'Application',
|
|
107
|
+
ApplicationRefund: 'ApplicationRefund',
|
|
108
|
+
ApplicationPhase: 'ApplicationPhase',
|
|
109
109
|
QuestionnairePhase: 'QuestionnairePhase',
|
|
110
110
|
DocumentationPhase: 'DocumentationPhase',
|
|
111
111
|
PaymentPhase: 'PaymentPhase',
|
|
112
112
|
QuestionnaireField: 'QuestionnaireField',
|
|
113
|
-
|
|
113
|
+
ApplicationEvent: 'ApplicationEvent',
|
|
114
114
|
DocumentationStep: 'DocumentationStep',
|
|
115
115
|
DocumentationStepDocument: 'DocumentationStepDocument',
|
|
116
116
|
DocumentationStepApproval: 'DocumentationStepApproval',
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
PaymentInstallment: 'PaymentInstallment',
|
|
118
|
+
ApplicationPayment: 'ApplicationPayment',
|
|
119
|
+
ApplicationDocument: 'ApplicationDocument',
|
|
120
120
|
DocumentTemplate: 'DocumentTemplate',
|
|
121
121
|
OfferLetter: 'OfferLetter',
|
|
122
|
-
|
|
122
|
+
ApplicationTermination: 'ApplicationTermination',
|
|
123
123
|
PaymentMethodChangeRequest: 'PaymentMethodChangeRequest',
|
|
124
124
|
DocumentRequirementRule: 'DocumentRequirementRule',
|
|
125
125
|
EventChannel: 'EventChannel',
|
|
@@ -427,6 +427,11 @@ export const PaymentPlanScalarFieldEnum = {
|
|
|
427
427
|
numberOfInstallments: 'numberOfInstallments',
|
|
428
428
|
calculateInterestDaily: 'calculateInterestDaily',
|
|
429
429
|
gracePeriodDays: 'gracePeriodDays',
|
|
430
|
+
allowFlexibleTerm: 'allowFlexibleTerm',
|
|
431
|
+
minTermMonths: 'minTermMonths',
|
|
432
|
+
maxTermMonths: 'maxTermMonths',
|
|
433
|
+
termStepMonths: 'termStepMonths',
|
|
434
|
+
maxAgeAtMaturity: 'maxAgeAtMaturity',
|
|
430
435
|
collectFunds: 'collectFunds',
|
|
431
436
|
createdAt: 'createdAt',
|
|
432
437
|
updatedAt: 'updatedAt'
|
|
@@ -528,17 +533,17 @@ export const PaymentMethodPhaseFieldScalarFieldEnum = {
|
|
|
528
533
|
createdAt: 'createdAt',
|
|
529
534
|
updatedAt: 'updatedAt'
|
|
530
535
|
};
|
|
531
|
-
export const
|
|
536
|
+
export const ApplicationScalarFieldEnum = {
|
|
532
537
|
id: 'id',
|
|
533
538
|
tenantId: 'tenantId',
|
|
534
539
|
propertyUnitId: 'propertyUnitId',
|
|
535
540
|
buyerId: 'buyerId',
|
|
536
541
|
sellerId: 'sellerId',
|
|
537
542
|
paymentMethodId: 'paymentMethodId',
|
|
538
|
-
|
|
543
|
+
applicationNumber: 'applicationNumber',
|
|
539
544
|
title: 'title',
|
|
540
545
|
description: 'description',
|
|
541
|
-
|
|
546
|
+
applicationType: 'applicationType',
|
|
542
547
|
totalAmount: 'totalAmount',
|
|
543
548
|
status: 'status',
|
|
544
549
|
currentPhaseId: 'currentPhaseId',
|
|
@@ -552,10 +557,10 @@ export const ContractScalarFieldEnum = {
|
|
|
552
557
|
updatedAt: 'updatedAt',
|
|
553
558
|
transferredFromId: 'transferredFromId'
|
|
554
559
|
};
|
|
555
|
-
export const
|
|
560
|
+
export const ApplicationRefundScalarFieldEnum = {
|
|
556
561
|
id: 'id',
|
|
557
562
|
tenantId: 'tenantId',
|
|
558
|
-
|
|
563
|
+
applicationId: 'applicationId',
|
|
559
564
|
amount: 'amount',
|
|
560
565
|
reason: 'reason',
|
|
561
566
|
status: 'status',
|
|
@@ -577,9 +582,9 @@ export const ContractRefundScalarFieldEnum = {
|
|
|
577
582
|
createdAt: 'createdAt',
|
|
578
583
|
updatedAt: 'updatedAt'
|
|
579
584
|
};
|
|
580
|
-
export const
|
|
585
|
+
export const ApplicationPhaseScalarFieldEnum = {
|
|
581
586
|
id: 'id',
|
|
582
|
-
|
|
587
|
+
applicationId: 'applicationId',
|
|
583
588
|
name: 'name',
|
|
584
589
|
description: 'description',
|
|
585
590
|
phaseCategory: 'phaseCategory',
|
|
@@ -630,6 +635,8 @@ export const PaymentPhaseScalarFieldEnum = {
|
|
|
630
635
|
totalAmount: 'totalAmount',
|
|
631
636
|
paidAmount: 'paidAmount',
|
|
632
637
|
interestRate: 'interestRate',
|
|
638
|
+
selectedTermMonths: 'selectedTermMonths',
|
|
639
|
+
numberOfInstallments: 'numberOfInstallments',
|
|
633
640
|
collectFunds: 'collectFunds',
|
|
634
641
|
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
635
642
|
paymentPlanSnapshot: 'paymentPlanSnapshot',
|
|
@@ -656,9 +663,9 @@ export const QuestionnaireFieldScalarFieldEnum = {
|
|
|
656
663
|
createdAt: 'createdAt',
|
|
657
664
|
updatedAt: 'updatedAt'
|
|
658
665
|
};
|
|
659
|
-
export const
|
|
666
|
+
export const ApplicationEventScalarFieldEnum = {
|
|
660
667
|
id: 'id',
|
|
661
|
-
|
|
668
|
+
applicationId: 'applicationId',
|
|
662
669
|
eventType: 'eventType',
|
|
663
670
|
eventGroup: 'eventGroup',
|
|
664
671
|
fromState: 'fromState',
|
|
@@ -703,7 +710,7 @@ export const DocumentationStepApprovalScalarFieldEnum = {
|
|
|
703
710
|
decidedAt: 'decidedAt',
|
|
704
711
|
createdAt: 'createdAt'
|
|
705
712
|
};
|
|
706
|
-
export const
|
|
713
|
+
export const PaymentInstallmentScalarFieldEnum = {
|
|
707
714
|
id: 'id',
|
|
708
715
|
paymentPhaseId: 'paymentPhaseId',
|
|
709
716
|
installmentNumber: 'installmentNumber',
|
|
@@ -721,9 +728,9 @@ export const ContractInstallmentScalarFieldEnum = {
|
|
|
721
728
|
createdAt: 'createdAt',
|
|
722
729
|
updatedAt: 'updatedAt'
|
|
723
730
|
};
|
|
724
|
-
export const
|
|
731
|
+
export const ApplicationPaymentScalarFieldEnum = {
|
|
725
732
|
id: 'id',
|
|
726
|
-
|
|
733
|
+
applicationId: 'applicationId',
|
|
727
734
|
phaseId: 'phaseId',
|
|
728
735
|
installmentId: 'installmentId',
|
|
729
736
|
payerId: 'payerId',
|
|
@@ -739,9 +746,9 @@ export const ContractPaymentScalarFieldEnum = {
|
|
|
739
746
|
createdAt: 'createdAt',
|
|
740
747
|
updatedAt: 'updatedAt'
|
|
741
748
|
};
|
|
742
|
-
export const
|
|
749
|
+
export const ApplicationDocumentScalarFieldEnum = {
|
|
743
750
|
id: 'id',
|
|
744
|
-
|
|
751
|
+
applicationId: 'applicationId',
|
|
745
752
|
phaseId: 'phaseId',
|
|
746
753
|
stepId: 'stepId',
|
|
747
754
|
name: 'name',
|
|
@@ -770,7 +777,7 @@ export const DocumentTemplateScalarFieldEnum = {
|
|
|
770
777
|
export const OfferLetterScalarFieldEnum = {
|
|
771
778
|
id: 'id',
|
|
772
779
|
tenantId: 'tenantId',
|
|
773
|
-
|
|
780
|
+
applicationId: 'applicationId',
|
|
774
781
|
templateId: 'templateId',
|
|
775
782
|
letterNumber: 'letterNumber',
|
|
776
783
|
type: 'type',
|
|
@@ -793,9 +800,9 @@ export const OfferLetterScalarFieldEnum = {
|
|
|
793
800
|
createdAt: 'createdAt',
|
|
794
801
|
updatedAt: 'updatedAt'
|
|
795
802
|
};
|
|
796
|
-
export const
|
|
803
|
+
export const ApplicationTerminationScalarFieldEnum = {
|
|
797
804
|
id: 'id',
|
|
798
|
-
|
|
805
|
+
applicationId: 'applicationId',
|
|
799
806
|
tenantId: 'tenantId',
|
|
800
807
|
requestNumber: 'requestNumber',
|
|
801
808
|
initiatedBy: 'initiatedBy',
|
|
@@ -810,8 +817,8 @@ export const ContractTerminationScalarFieldEnum = {
|
|
|
810
817
|
reviewedAt: 'reviewedAt',
|
|
811
818
|
reviewNotes: 'reviewNotes',
|
|
812
819
|
rejectionReason: 'rejectionReason',
|
|
813
|
-
|
|
814
|
-
|
|
820
|
+
applicationSnapshot: 'applicationSnapshot',
|
|
821
|
+
totalApplicationAmount: 'totalApplicationAmount',
|
|
815
822
|
totalPaidToDate: 'totalPaidToDate',
|
|
816
823
|
outstandingBalance: 'outstandingBalance',
|
|
817
824
|
refundableAmount: 'refundableAmount',
|
|
@@ -842,7 +849,7 @@ export const ContractTerminationScalarFieldEnum = {
|
|
|
842
849
|
export const PaymentMethodChangeRequestScalarFieldEnum = {
|
|
843
850
|
id: 'id',
|
|
844
851
|
tenantId: 'tenantId',
|
|
845
|
-
|
|
852
|
+
applicationId: 'applicationId',
|
|
846
853
|
fromPaymentMethodId: 'fromPaymentMethodId',
|
|
847
854
|
toPaymentMethodId: 'toPaymentMethodId',
|
|
848
855
|
requestorId: 'requestorId',
|
|
@@ -974,7 +981,7 @@ export const DomainEventScalarFieldEnum = {
|
|
|
974
981
|
export const PropertyTransferRequestScalarFieldEnum = {
|
|
975
982
|
id: 'id',
|
|
976
983
|
tenantId: 'tenantId',
|
|
977
|
-
|
|
984
|
+
sourceApplicationId: 'sourceApplicationId',
|
|
978
985
|
targetPropertyUnitId: 'targetPropertyUnitId',
|
|
979
986
|
requestedById: 'requestedById',
|
|
980
987
|
reviewedById: 'reviewedById',
|
|
@@ -988,7 +995,7 @@ export const PropertyTransferRequestScalarFieldEnum = {
|
|
|
988
995
|
refundedAmount: 'refundedAmount',
|
|
989
996
|
refundTransactionId: 'refundTransactionId',
|
|
990
997
|
refundedAt: 'refundedAt',
|
|
991
|
-
|
|
998
|
+
targetApplicationId: 'targetApplicationId',
|
|
992
999
|
createdAt: 'createdAt',
|
|
993
1000
|
reviewedAt: 'reviewedAt',
|
|
994
1001
|
completedAt: 'completedAt',
|
|
@@ -1272,24 +1279,24 @@ export const PaymentMethodPhaseFieldOrderByRelevanceFieldEnum = {
|
|
|
1272
1279
|
description: 'description',
|
|
1273
1280
|
placeholder: 'placeholder'
|
|
1274
1281
|
};
|
|
1275
|
-
export const
|
|
1282
|
+
export const ApplicationOrderByRelevanceFieldEnum = {
|
|
1276
1283
|
id: 'id',
|
|
1277
1284
|
tenantId: 'tenantId',
|
|
1278
1285
|
propertyUnitId: 'propertyUnitId',
|
|
1279
1286
|
buyerId: 'buyerId',
|
|
1280
1287
|
sellerId: 'sellerId',
|
|
1281
1288
|
paymentMethodId: 'paymentMethodId',
|
|
1282
|
-
|
|
1289
|
+
applicationNumber: 'applicationNumber',
|
|
1283
1290
|
title: 'title',
|
|
1284
1291
|
description: 'description',
|
|
1285
|
-
|
|
1292
|
+
applicationType: 'applicationType',
|
|
1286
1293
|
currentPhaseId: 'currentPhaseId',
|
|
1287
1294
|
transferredFromId: 'transferredFromId'
|
|
1288
1295
|
};
|
|
1289
|
-
export const
|
|
1296
|
+
export const ApplicationRefundOrderByRelevanceFieldEnum = {
|
|
1290
1297
|
id: 'id',
|
|
1291
1298
|
tenantId: 'tenantId',
|
|
1292
|
-
|
|
1299
|
+
applicationId: 'applicationId',
|
|
1293
1300
|
reason: 'reason',
|
|
1294
1301
|
requestedById: 'requestedById',
|
|
1295
1302
|
approvedById: 'approvedById',
|
|
@@ -1303,9 +1310,9 @@ export const ContractRefundOrderByRelevanceFieldEnum = {
|
|
|
1303
1310
|
rejectionNotes: 'rejectionNotes',
|
|
1304
1311
|
processingNotes: 'processingNotes'
|
|
1305
1312
|
};
|
|
1306
|
-
export const
|
|
1313
|
+
export const ApplicationPhaseOrderByRelevanceFieldEnum = {
|
|
1307
1314
|
id: 'id',
|
|
1308
|
-
|
|
1315
|
+
applicationId: 'applicationId',
|
|
1309
1316
|
name: 'name',
|
|
1310
1317
|
description: 'description'
|
|
1311
1318
|
};
|
|
@@ -1333,9 +1340,9 @@ export const QuestionnaireFieldOrderByRelevanceFieldEnum = {
|
|
|
1333
1340
|
description: 'description',
|
|
1334
1341
|
placeholder: 'placeholder'
|
|
1335
1342
|
};
|
|
1336
|
-
export const
|
|
1343
|
+
export const ApplicationEventOrderByRelevanceFieldEnum = {
|
|
1337
1344
|
id: 'id',
|
|
1338
|
-
|
|
1345
|
+
applicationId: 'applicationId',
|
|
1339
1346
|
fromState: 'fromState',
|
|
1340
1347
|
toState: 'toState',
|
|
1341
1348
|
trigger: 'trigger',
|
|
@@ -1360,13 +1367,13 @@ export const DocumentationStepApprovalOrderByRelevanceFieldEnum = {
|
|
|
1360
1367
|
approverId: 'approverId',
|
|
1361
1368
|
comment: 'comment'
|
|
1362
1369
|
};
|
|
1363
|
-
export const
|
|
1370
|
+
export const PaymentInstallmentOrderByRelevanceFieldEnum = {
|
|
1364
1371
|
id: 'id',
|
|
1365
1372
|
paymentPhaseId: 'paymentPhaseId'
|
|
1366
1373
|
};
|
|
1367
|
-
export const
|
|
1374
|
+
export const ApplicationPaymentOrderByRelevanceFieldEnum = {
|
|
1368
1375
|
id: 'id',
|
|
1369
|
-
|
|
1376
|
+
applicationId: 'applicationId',
|
|
1370
1377
|
phaseId: 'phaseId',
|
|
1371
1378
|
installmentId: 'installmentId',
|
|
1372
1379
|
payerId: 'payerId',
|
|
@@ -1374,9 +1381,9 @@ export const ContractPaymentOrderByRelevanceFieldEnum = {
|
|
|
1374
1381
|
reference: 'reference',
|
|
1375
1382
|
gatewayResponse: 'gatewayResponse'
|
|
1376
1383
|
};
|
|
1377
|
-
export const
|
|
1384
|
+
export const ApplicationDocumentOrderByRelevanceFieldEnum = {
|
|
1378
1385
|
id: 'id',
|
|
1379
|
-
|
|
1386
|
+
applicationId: 'applicationId',
|
|
1380
1387
|
phaseId: 'phaseId',
|
|
1381
1388
|
stepId: 'stepId',
|
|
1382
1389
|
name: 'name',
|
|
@@ -1396,7 +1403,7 @@ export const DocumentTemplateOrderByRelevanceFieldEnum = {
|
|
|
1396
1403
|
export const OfferLetterOrderByRelevanceFieldEnum = {
|
|
1397
1404
|
id: 'id',
|
|
1398
1405
|
tenantId: 'tenantId',
|
|
1399
|
-
|
|
1406
|
+
applicationId: 'applicationId',
|
|
1400
1407
|
templateId: 'templateId',
|
|
1401
1408
|
letterNumber: 'letterNumber',
|
|
1402
1409
|
htmlContent: 'htmlContent',
|
|
@@ -1407,9 +1414,9 @@ export const OfferLetterOrderByRelevanceFieldEnum = {
|
|
|
1407
1414
|
generatedById: 'generatedById',
|
|
1408
1415
|
sentById: 'sentById'
|
|
1409
1416
|
};
|
|
1410
|
-
export const
|
|
1417
|
+
export const ApplicationTerminationOrderByRelevanceFieldEnum = {
|
|
1411
1418
|
id: 'id',
|
|
1412
|
-
|
|
1419
|
+
applicationId: 'applicationId',
|
|
1413
1420
|
tenantId: 'tenantId',
|
|
1414
1421
|
requestNumber: 'requestNumber',
|
|
1415
1422
|
initiatorId: 'initiatorId',
|
|
@@ -1427,7 +1434,7 @@ export const ContractTerminationOrderByRelevanceFieldEnum = {
|
|
|
1427
1434
|
export const PaymentMethodChangeRequestOrderByRelevanceFieldEnum = {
|
|
1428
1435
|
id: 'id',
|
|
1429
1436
|
tenantId: 'tenantId',
|
|
1430
|
-
|
|
1437
|
+
applicationId: 'applicationId',
|
|
1431
1438
|
fromPaymentMethodId: 'fromPaymentMethodId',
|
|
1432
1439
|
toPaymentMethodId: 'toPaymentMethodId',
|
|
1433
1440
|
requestorId: 'requestorId',
|
|
@@ -1503,7 +1510,7 @@ export const DomainEventOrderByRelevanceFieldEnum = {
|
|
|
1503
1510
|
export const PropertyTransferRequestOrderByRelevanceFieldEnum = {
|
|
1504
1511
|
id: 'id',
|
|
1505
1512
|
tenantId: 'tenantId',
|
|
1506
|
-
|
|
1513
|
+
sourceApplicationId: 'sourceApplicationId',
|
|
1507
1514
|
targetPropertyUnitId: 'targetPropertyUnitId',
|
|
1508
1515
|
requestedById: 'requestedById',
|
|
1509
1516
|
reviewedById: 'reviewedById',
|
|
@@ -1511,7 +1518,7 @@ export const PropertyTransferRequestOrderByRelevanceFieldEnum = {
|
|
|
1511
1518
|
reviewNotes: 'reviewNotes',
|
|
1512
1519
|
priceAdjustmentHandling: 'priceAdjustmentHandling',
|
|
1513
1520
|
refundTransactionId: 'refundTransactionId',
|
|
1514
|
-
|
|
1521
|
+
targetApplicationId: 'targetApplicationId'
|
|
1515
1522
|
};
|
|
1516
1523
|
export const ApprovalRequestOrderByRelevanceFieldEnum = {
|
|
1517
1524
|
id: 'id',
|