@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.
- 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 +321 -321
- package/dist/generated/client/internal/prismaNamespace.js +50 -50
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +66 -66
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +50 -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 +40 -40
- 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/dist/src/auth/policy-evaluator.d.ts +5 -5
- package/dist/src/auth/policy-evaluator.js +7 -7
- package/dist/src/events/notifications/notification-enums.d.ts +5 -5
- package/dist/src/events/notifications/notification-enums.js +6 -6
- package/dist/src/events/payments/payment-event.d.ts +2 -2
- package/dist/src/events/payments/payment-publisher.d.ts +1 -1
- package/package.json +1 -1
- package/prisma/migrations/20260112080730_rename_contract_to_application/migration.sql +293 -0
- package/prisma/migrations/20260112081422_cleanup_rename_contract_to_application/migration.sql +14 -0
- package/prisma/schema.prisma +107 -107
- package/prisma/schema.prisma.backup +2601 -0
|
@@ -75,23 +75,23 @@ export const ModelName = {
|
|
|
75
75
|
StepEventAttachment: 'StepEventAttachment',
|
|
76
76
|
PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
|
|
77
77
|
PaymentMethodPhaseField: 'PaymentMethodPhaseField',
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
Application: 'Application',
|
|
79
|
+
ApplicationRefund: 'ApplicationRefund',
|
|
80
|
+
ApplicationPhase: 'ApplicationPhase',
|
|
81
81
|
QuestionnairePhase: 'QuestionnairePhase',
|
|
82
82
|
DocumentationPhase: 'DocumentationPhase',
|
|
83
83
|
PaymentPhase: 'PaymentPhase',
|
|
84
84
|
QuestionnaireField: 'QuestionnaireField',
|
|
85
|
-
|
|
85
|
+
ApplicationEvent: 'ApplicationEvent',
|
|
86
86
|
DocumentationStep: 'DocumentationStep',
|
|
87
87
|
DocumentationStepDocument: 'DocumentationStepDocument',
|
|
88
88
|
DocumentationStepApproval: 'DocumentationStepApproval',
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
PaymentInstallment: 'PaymentInstallment',
|
|
90
|
+
ApplicationPayment: 'ApplicationPayment',
|
|
91
|
+
ApplicationDocument: 'ApplicationDocument',
|
|
92
92
|
DocumentTemplate: 'DocumentTemplate',
|
|
93
93
|
OfferLetter: 'OfferLetter',
|
|
94
|
-
|
|
94
|
+
ApplicationTermination: 'ApplicationTermination',
|
|
95
95
|
PaymentMethodChangeRequest: 'PaymentMethodChangeRequest',
|
|
96
96
|
DocumentRequirementRule: 'DocumentRequirementRule',
|
|
97
97
|
EventChannel: 'EventChannel',
|
|
@@ -505,17 +505,17 @@ export const PaymentMethodPhaseFieldScalarFieldEnum = {
|
|
|
505
505
|
createdAt: 'createdAt',
|
|
506
506
|
updatedAt: 'updatedAt'
|
|
507
507
|
};
|
|
508
|
-
export const
|
|
508
|
+
export const ApplicationScalarFieldEnum = {
|
|
509
509
|
id: 'id',
|
|
510
510
|
tenantId: 'tenantId',
|
|
511
511
|
propertyUnitId: 'propertyUnitId',
|
|
512
512
|
buyerId: 'buyerId',
|
|
513
513
|
sellerId: 'sellerId',
|
|
514
514
|
paymentMethodId: 'paymentMethodId',
|
|
515
|
-
|
|
515
|
+
applicationNumber: 'applicationNumber',
|
|
516
516
|
title: 'title',
|
|
517
517
|
description: 'description',
|
|
518
|
-
|
|
518
|
+
applicationType: 'applicationType',
|
|
519
519
|
totalAmount: 'totalAmount',
|
|
520
520
|
status: 'status',
|
|
521
521
|
currentPhaseId: 'currentPhaseId',
|
|
@@ -529,10 +529,10 @@ export const ContractScalarFieldEnum = {
|
|
|
529
529
|
updatedAt: 'updatedAt',
|
|
530
530
|
transferredFromId: 'transferredFromId'
|
|
531
531
|
};
|
|
532
|
-
export const
|
|
532
|
+
export const ApplicationRefundScalarFieldEnum = {
|
|
533
533
|
id: 'id',
|
|
534
534
|
tenantId: 'tenantId',
|
|
535
|
-
|
|
535
|
+
applicationId: 'applicationId',
|
|
536
536
|
amount: 'amount',
|
|
537
537
|
reason: 'reason',
|
|
538
538
|
status: 'status',
|
|
@@ -554,9 +554,9 @@ export const ContractRefundScalarFieldEnum = {
|
|
|
554
554
|
createdAt: 'createdAt',
|
|
555
555
|
updatedAt: 'updatedAt'
|
|
556
556
|
};
|
|
557
|
-
export const
|
|
557
|
+
export const ApplicationPhaseScalarFieldEnum = {
|
|
558
558
|
id: 'id',
|
|
559
|
-
|
|
559
|
+
applicationId: 'applicationId',
|
|
560
560
|
name: 'name',
|
|
561
561
|
description: 'description',
|
|
562
562
|
phaseCategory: 'phaseCategory',
|
|
@@ -635,9 +635,9 @@ export const QuestionnaireFieldScalarFieldEnum = {
|
|
|
635
635
|
createdAt: 'createdAt',
|
|
636
636
|
updatedAt: 'updatedAt'
|
|
637
637
|
};
|
|
638
|
-
export const
|
|
638
|
+
export const ApplicationEventScalarFieldEnum = {
|
|
639
639
|
id: 'id',
|
|
640
|
-
|
|
640
|
+
applicationId: 'applicationId',
|
|
641
641
|
eventType: 'eventType',
|
|
642
642
|
eventGroup: 'eventGroup',
|
|
643
643
|
fromState: 'fromState',
|
|
@@ -682,7 +682,7 @@ export const DocumentationStepApprovalScalarFieldEnum = {
|
|
|
682
682
|
decidedAt: 'decidedAt',
|
|
683
683
|
createdAt: 'createdAt'
|
|
684
684
|
};
|
|
685
|
-
export const
|
|
685
|
+
export const PaymentInstallmentScalarFieldEnum = {
|
|
686
686
|
id: 'id',
|
|
687
687
|
paymentPhaseId: 'paymentPhaseId',
|
|
688
688
|
installmentNumber: 'installmentNumber',
|
|
@@ -700,9 +700,9 @@ export const ContractInstallmentScalarFieldEnum = {
|
|
|
700
700
|
createdAt: 'createdAt',
|
|
701
701
|
updatedAt: 'updatedAt'
|
|
702
702
|
};
|
|
703
|
-
export const
|
|
703
|
+
export const ApplicationPaymentScalarFieldEnum = {
|
|
704
704
|
id: 'id',
|
|
705
|
-
|
|
705
|
+
applicationId: 'applicationId',
|
|
706
706
|
phaseId: 'phaseId',
|
|
707
707
|
installmentId: 'installmentId',
|
|
708
708
|
payerId: 'payerId',
|
|
@@ -718,9 +718,9 @@ export const ContractPaymentScalarFieldEnum = {
|
|
|
718
718
|
createdAt: 'createdAt',
|
|
719
719
|
updatedAt: 'updatedAt'
|
|
720
720
|
};
|
|
721
|
-
export const
|
|
721
|
+
export const ApplicationDocumentScalarFieldEnum = {
|
|
722
722
|
id: 'id',
|
|
723
|
-
|
|
723
|
+
applicationId: 'applicationId',
|
|
724
724
|
phaseId: 'phaseId',
|
|
725
725
|
stepId: 'stepId',
|
|
726
726
|
name: 'name',
|
|
@@ -749,7 +749,7 @@ export const DocumentTemplateScalarFieldEnum = {
|
|
|
749
749
|
export const OfferLetterScalarFieldEnum = {
|
|
750
750
|
id: 'id',
|
|
751
751
|
tenantId: 'tenantId',
|
|
752
|
-
|
|
752
|
+
applicationId: 'applicationId',
|
|
753
753
|
templateId: 'templateId',
|
|
754
754
|
letterNumber: 'letterNumber',
|
|
755
755
|
type: 'type',
|
|
@@ -772,9 +772,9 @@ export const OfferLetterScalarFieldEnum = {
|
|
|
772
772
|
createdAt: 'createdAt',
|
|
773
773
|
updatedAt: 'updatedAt'
|
|
774
774
|
};
|
|
775
|
-
export const
|
|
775
|
+
export const ApplicationTerminationScalarFieldEnum = {
|
|
776
776
|
id: 'id',
|
|
777
|
-
|
|
777
|
+
applicationId: 'applicationId',
|
|
778
778
|
tenantId: 'tenantId',
|
|
779
779
|
requestNumber: 'requestNumber',
|
|
780
780
|
initiatedBy: 'initiatedBy',
|
|
@@ -789,8 +789,8 @@ export const ContractTerminationScalarFieldEnum = {
|
|
|
789
789
|
reviewedAt: 'reviewedAt',
|
|
790
790
|
reviewNotes: 'reviewNotes',
|
|
791
791
|
rejectionReason: 'rejectionReason',
|
|
792
|
-
|
|
793
|
-
|
|
792
|
+
applicationSnapshot: 'applicationSnapshot',
|
|
793
|
+
totalApplicationAmount: 'totalApplicationAmount',
|
|
794
794
|
totalPaidToDate: 'totalPaidToDate',
|
|
795
795
|
outstandingBalance: 'outstandingBalance',
|
|
796
796
|
refundableAmount: 'refundableAmount',
|
|
@@ -821,7 +821,7 @@ export const ContractTerminationScalarFieldEnum = {
|
|
|
821
821
|
export const PaymentMethodChangeRequestScalarFieldEnum = {
|
|
822
822
|
id: 'id',
|
|
823
823
|
tenantId: 'tenantId',
|
|
824
|
-
|
|
824
|
+
applicationId: 'applicationId',
|
|
825
825
|
fromPaymentMethodId: 'fromPaymentMethodId',
|
|
826
826
|
toPaymentMethodId: 'toPaymentMethodId',
|
|
827
827
|
requestorId: 'requestorId',
|
|
@@ -953,7 +953,7 @@ export const DomainEventScalarFieldEnum = {
|
|
|
953
953
|
export const PropertyTransferRequestScalarFieldEnum = {
|
|
954
954
|
id: 'id',
|
|
955
955
|
tenantId: 'tenantId',
|
|
956
|
-
|
|
956
|
+
sourceApplicationId: 'sourceApplicationId',
|
|
957
957
|
targetPropertyUnitId: 'targetPropertyUnitId',
|
|
958
958
|
requestedById: 'requestedById',
|
|
959
959
|
reviewedById: 'reviewedById',
|
|
@@ -967,7 +967,7 @@ export const PropertyTransferRequestScalarFieldEnum = {
|
|
|
967
967
|
refundedAmount: 'refundedAmount',
|
|
968
968
|
refundTransactionId: 'refundTransactionId',
|
|
969
969
|
refundedAt: 'refundedAt',
|
|
970
|
-
|
|
970
|
+
targetApplicationId: 'targetApplicationId',
|
|
971
971
|
createdAt: 'createdAt',
|
|
972
972
|
reviewedAt: 'reviewedAt',
|
|
973
973
|
completedAt: 'completedAt',
|
|
@@ -1251,24 +1251,24 @@ export const PaymentMethodPhaseFieldOrderByRelevanceFieldEnum = {
|
|
|
1251
1251
|
description: 'description',
|
|
1252
1252
|
placeholder: 'placeholder'
|
|
1253
1253
|
};
|
|
1254
|
-
export const
|
|
1254
|
+
export const ApplicationOrderByRelevanceFieldEnum = {
|
|
1255
1255
|
id: 'id',
|
|
1256
1256
|
tenantId: 'tenantId',
|
|
1257
1257
|
propertyUnitId: 'propertyUnitId',
|
|
1258
1258
|
buyerId: 'buyerId',
|
|
1259
1259
|
sellerId: 'sellerId',
|
|
1260
1260
|
paymentMethodId: 'paymentMethodId',
|
|
1261
|
-
|
|
1261
|
+
applicationNumber: 'applicationNumber',
|
|
1262
1262
|
title: 'title',
|
|
1263
1263
|
description: 'description',
|
|
1264
|
-
|
|
1264
|
+
applicationType: 'applicationType',
|
|
1265
1265
|
currentPhaseId: 'currentPhaseId',
|
|
1266
1266
|
transferredFromId: 'transferredFromId'
|
|
1267
1267
|
};
|
|
1268
|
-
export const
|
|
1268
|
+
export const ApplicationRefundOrderByRelevanceFieldEnum = {
|
|
1269
1269
|
id: 'id',
|
|
1270
1270
|
tenantId: 'tenantId',
|
|
1271
|
-
|
|
1271
|
+
applicationId: 'applicationId',
|
|
1272
1272
|
reason: 'reason',
|
|
1273
1273
|
requestedById: 'requestedById',
|
|
1274
1274
|
approvedById: 'approvedById',
|
|
@@ -1282,9 +1282,9 @@ export const ContractRefundOrderByRelevanceFieldEnum = {
|
|
|
1282
1282
|
rejectionNotes: 'rejectionNotes',
|
|
1283
1283
|
processingNotes: 'processingNotes'
|
|
1284
1284
|
};
|
|
1285
|
-
export const
|
|
1285
|
+
export const ApplicationPhaseOrderByRelevanceFieldEnum = {
|
|
1286
1286
|
id: 'id',
|
|
1287
|
-
|
|
1287
|
+
applicationId: 'applicationId',
|
|
1288
1288
|
name: 'name',
|
|
1289
1289
|
description: 'description'
|
|
1290
1290
|
};
|
|
@@ -1312,9 +1312,9 @@ export const QuestionnaireFieldOrderByRelevanceFieldEnum = {
|
|
|
1312
1312
|
description: 'description',
|
|
1313
1313
|
placeholder: 'placeholder'
|
|
1314
1314
|
};
|
|
1315
|
-
export const
|
|
1315
|
+
export const ApplicationEventOrderByRelevanceFieldEnum = {
|
|
1316
1316
|
id: 'id',
|
|
1317
|
-
|
|
1317
|
+
applicationId: 'applicationId',
|
|
1318
1318
|
fromState: 'fromState',
|
|
1319
1319
|
toState: 'toState',
|
|
1320
1320
|
trigger: 'trigger',
|
|
@@ -1339,13 +1339,13 @@ export const DocumentationStepApprovalOrderByRelevanceFieldEnum = {
|
|
|
1339
1339
|
approverId: 'approverId',
|
|
1340
1340
|
comment: 'comment'
|
|
1341
1341
|
};
|
|
1342
|
-
export const
|
|
1342
|
+
export const PaymentInstallmentOrderByRelevanceFieldEnum = {
|
|
1343
1343
|
id: 'id',
|
|
1344
1344
|
paymentPhaseId: 'paymentPhaseId'
|
|
1345
1345
|
};
|
|
1346
|
-
export const
|
|
1346
|
+
export const ApplicationPaymentOrderByRelevanceFieldEnum = {
|
|
1347
1347
|
id: 'id',
|
|
1348
|
-
|
|
1348
|
+
applicationId: 'applicationId',
|
|
1349
1349
|
phaseId: 'phaseId',
|
|
1350
1350
|
installmentId: 'installmentId',
|
|
1351
1351
|
payerId: 'payerId',
|
|
@@ -1353,9 +1353,9 @@ export const ContractPaymentOrderByRelevanceFieldEnum = {
|
|
|
1353
1353
|
reference: 'reference',
|
|
1354
1354
|
gatewayResponse: 'gatewayResponse'
|
|
1355
1355
|
};
|
|
1356
|
-
export const
|
|
1356
|
+
export const ApplicationDocumentOrderByRelevanceFieldEnum = {
|
|
1357
1357
|
id: 'id',
|
|
1358
|
-
|
|
1358
|
+
applicationId: 'applicationId',
|
|
1359
1359
|
phaseId: 'phaseId',
|
|
1360
1360
|
stepId: 'stepId',
|
|
1361
1361
|
name: 'name',
|
|
@@ -1375,7 +1375,7 @@ export const DocumentTemplateOrderByRelevanceFieldEnum = {
|
|
|
1375
1375
|
export const OfferLetterOrderByRelevanceFieldEnum = {
|
|
1376
1376
|
id: 'id',
|
|
1377
1377
|
tenantId: 'tenantId',
|
|
1378
|
-
|
|
1378
|
+
applicationId: 'applicationId',
|
|
1379
1379
|
templateId: 'templateId',
|
|
1380
1380
|
letterNumber: 'letterNumber',
|
|
1381
1381
|
htmlContent: 'htmlContent',
|
|
@@ -1386,9 +1386,9 @@ export const OfferLetterOrderByRelevanceFieldEnum = {
|
|
|
1386
1386
|
generatedById: 'generatedById',
|
|
1387
1387
|
sentById: 'sentById'
|
|
1388
1388
|
};
|
|
1389
|
-
export const
|
|
1389
|
+
export const ApplicationTerminationOrderByRelevanceFieldEnum = {
|
|
1390
1390
|
id: 'id',
|
|
1391
|
-
|
|
1391
|
+
applicationId: 'applicationId',
|
|
1392
1392
|
tenantId: 'tenantId',
|
|
1393
1393
|
requestNumber: 'requestNumber',
|
|
1394
1394
|
initiatorId: 'initiatorId',
|
|
@@ -1406,7 +1406,7 @@ export const ContractTerminationOrderByRelevanceFieldEnum = {
|
|
|
1406
1406
|
export const PaymentMethodChangeRequestOrderByRelevanceFieldEnum = {
|
|
1407
1407
|
id: 'id',
|
|
1408
1408
|
tenantId: 'tenantId',
|
|
1409
|
-
|
|
1409
|
+
applicationId: 'applicationId',
|
|
1410
1410
|
fromPaymentMethodId: 'fromPaymentMethodId',
|
|
1411
1411
|
toPaymentMethodId: 'toPaymentMethodId',
|
|
1412
1412
|
requestorId: 'requestorId',
|
|
@@ -1482,7 +1482,7 @@ export const DomainEventOrderByRelevanceFieldEnum = {
|
|
|
1482
1482
|
export const PropertyTransferRequestOrderByRelevanceFieldEnum = {
|
|
1483
1483
|
id: 'id',
|
|
1484
1484
|
tenantId: 'tenantId',
|
|
1485
|
-
|
|
1485
|
+
sourceApplicationId: 'sourceApplicationId',
|
|
1486
1486
|
targetPropertyUnitId: 'targetPropertyUnitId',
|
|
1487
1487
|
requestedById: 'requestedById',
|
|
1488
1488
|
reviewedById: 'reviewedById',
|
|
@@ -1490,7 +1490,7 @@ export const PropertyTransferRequestOrderByRelevanceFieldEnum = {
|
|
|
1490
1490
|
reviewNotes: 'reviewNotes',
|
|
1491
1491
|
priceAdjustmentHandling: 'priceAdjustmentHandling',
|
|
1492
1492
|
refundTransactionId: 'refundTransactionId',
|
|
1493
|
-
|
|
1493
|
+
targetApplicationId: 'targetApplicationId'
|
|
1494
1494
|
};
|
|
1495
1495
|
export const ApprovalRequestOrderByRelevanceFieldEnum = {
|
|
1496
1496
|
id: 'id',
|