@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.
- 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/package.json +1 -1
- package/prisma/migrations/20260112080730_rename_contract_to_application/migration.sql +529 -0
- package/prisma/schema.prisma +107 -107
- 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',
|
|
@@ -533,17 +533,17 @@ export const PaymentMethodPhaseFieldScalarFieldEnum = {
|
|
|
533
533
|
createdAt: 'createdAt',
|
|
534
534
|
updatedAt: 'updatedAt'
|
|
535
535
|
};
|
|
536
|
-
export const
|
|
536
|
+
export const ApplicationScalarFieldEnum = {
|
|
537
537
|
id: 'id',
|
|
538
538
|
tenantId: 'tenantId',
|
|
539
539
|
propertyUnitId: 'propertyUnitId',
|
|
540
540
|
buyerId: 'buyerId',
|
|
541
541
|
sellerId: 'sellerId',
|
|
542
542
|
paymentMethodId: 'paymentMethodId',
|
|
543
|
-
|
|
543
|
+
applicationNumber: 'applicationNumber',
|
|
544
544
|
title: 'title',
|
|
545
545
|
description: 'description',
|
|
546
|
-
|
|
546
|
+
applicationType: 'applicationType',
|
|
547
547
|
totalAmount: 'totalAmount',
|
|
548
548
|
status: 'status',
|
|
549
549
|
currentPhaseId: 'currentPhaseId',
|
|
@@ -557,10 +557,10 @@ export const ContractScalarFieldEnum = {
|
|
|
557
557
|
updatedAt: 'updatedAt',
|
|
558
558
|
transferredFromId: 'transferredFromId'
|
|
559
559
|
};
|
|
560
|
-
export const
|
|
560
|
+
export const ApplicationRefundScalarFieldEnum = {
|
|
561
561
|
id: 'id',
|
|
562
562
|
tenantId: 'tenantId',
|
|
563
|
-
|
|
563
|
+
applicationId: 'applicationId',
|
|
564
564
|
amount: 'amount',
|
|
565
565
|
reason: 'reason',
|
|
566
566
|
status: 'status',
|
|
@@ -582,9 +582,9 @@ export const ContractRefundScalarFieldEnum = {
|
|
|
582
582
|
createdAt: 'createdAt',
|
|
583
583
|
updatedAt: 'updatedAt'
|
|
584
584
|
};
|
|
585
|
-
export const
|
|
585
|
+
export const ApplicationPhaseScalarFieldEnum = {
|
|
586
586
|
id: 'id',
|
|
587
|
-
|
|
587
|
+
applicationId: 'applicationId',
|
|
588
588
|
name: 'name',
|
|
589
589
|
description: 'description',
|
|
590
590
|
phaseCategory: 'phaseCategory',
|
|
@@ -663,9 +663,9 @@ export const QuestionnaireFieldScalarFieldEnum = {
|
|
|
663
663
|
createdAt: 'createdAt',
|
|
664
664
|
updatedAt: 'updatedAt'
|
|
665
665
|
};
|
|
666
|
-
export const
|
|
666
|
+
export const ApplicationEventScalarFieldEnum = {
|
|
667
667
|
id: 'id',
|
|
668
|
-
|
|
668
|
+
applicationId: 'applicationId',
|
|
669
669
|
eventType: 'eventType',
|
|
670
670
|
eventGroup: 'eventGroup',
|
|
671
671
|
fromState: 'fromState',
|
|
@@ -710,7 +710,7 @@ export const DocumentationStepApprovalScalarFieldEnum = {
|
|
|
710
710
|
decidedAt: 'decidedAt',
|
|
711
711
|
createdAt: 'createdAt'
|
|
712
712
|
};
|
|
713
|
-
export const
|
|
713
|
+
export const PaymentInstallmentScalarFieldEnum = {
|
|
714
714
|
id: 'id',
|
|
715
715
|
paymentPhaseId: 'paymentPhaseId',
|
|
716
716
|
installmentNumber: 'installmentNumber',
|
|
@@ -728,9 +728,9 @@ export const ContractInstallmentScalarFieldEnum = {
|
|
|
728
728
|
createdAt: 'createdAt',
|
|
729
729
|
updatedAt: 'updatedAt'
|
|
730
730
|
};
|
|
731
|
-
export const
|
|
731
|
+
export const ApplicationPaymentScalarFieldEnum = {
|
|
732
732
|
id: 'id',
|
|
733
|
-
|
|
733
|
+
applicationId: 'applicationId',
|
|
734
734
|
phaseId: 'phaseId',
|
|
735
735
|
installmentId: 'installmentId',
|
|
736
736
|
payerId: 'payerId',
|
|
@@ -746,9 +746,9 @@ export const ContractPaymentScalarFieldEnum = {
|
|
|
746
746
|
createdAt: 'createdAt',
|
|
747
747
|
updatedAt: 'updatedAt'
|
|
748
748
|
};
|
|
749
|
-
export const
|
|
749
|
+
export const ApplicationDocumentScalarFieldEnum = {
|
|
750
750
|
id: 'id',
|
|
751
|
-
|
|
751
|
+
applicationId: 'applicationId',
|
|
752
752
|
phaseId: 'phaseId',
|
|
753
753
|
stepId: 'stepId',
|
|
754
754
|
name: 'name',
|
|
@@ -777,7 +777,7 @@ export const DocumentTemplateScalarFieldEnum = {
|
|
|
777
777
|
export const OfferLetterScalarFieldEnum = {
|
|
778
778
|
id: 'id',
|
|
779
779
|
tenantId: 'tenantId',
|
|
780
|
-
|
|
780
|
+
applicationId: 'applicationId',
|
|
781
781
|
templateId: 'templateId',
|
|
782
782
|
letterNumber: 'letterNumber',
|
|
783
783
|
type: 'type',
|
|
@@ -800,9 +800,9 @@ export const OfferLetterScalarFieldEnum = {
|
|
|
800
800
|
createdAt: 'createdAt',
|
|
801
801
|
updatedAt: 'updatedAt'
|
|
802
802
|
};
|
|
803
|
-
export const
|
|
803
|
+
export const ApplicationTerminationScalarFieldEnum = {
|
|
804
804
|
id: 'id',
|
|
805
|
-
|
|
805
|
+
applicationId: 'applicationId',
|
|
806
806
|
tenantId: 'tenantId',
|
|
807
807
|
requestNumber: 'requestNumber',
|
|
808
808
|
initiatedBy: 'initiatedBy',
|
|
@@ -817,8 +817,8 @@ export const ContractTerminationScalarFieldEnum = {
|
|
|
817
817
|
reviewedAt: 'reviewedAt',
|
|
818
818
|
reviewNotes: 'reviewNotes',
|
|
819
819
|
rejectionReason: 'rejectionReason',
|
|
820
|
-
|
|
821
|
-
|
|
820
|
+
applicationSnapshot: 'applicationSnapshot',
|
|
821
|
+
totalApplicationAmount: 'totalApplicationAmount',
|
|
822
822
|
totalPaidToDate: 'totalPaidToDate',
|
|
823
823
|
outstandingBalance: 'outstandingBalance',
|
|
824
824
|
refundableAmount: 'refundableAmount',
|
|
@@ -849,7 +849,7 @@ export const ContractTerminationScalarFieldEnum = {
|
|
|
849
849
|
export const PaymentMethodChangeRequestScalarFieldEnum = {
|
|
850
850
|
id: 'id',
|
|
851
851
|
tenantId: 'tenantId',
|
|
852
|
-
|
|
852
|
+
applicationId: 'applicationId',
|
|
853
853
|
fromPaymentMethodId: 'fromPaymentMethodId',
|
|
854
854
|
toPaymentMethodId: 'toPaymentMethodId',
|
|
855
855
|
requestorId: 'requestorId',
|
|
@@ -981,7 +981,7 @@ export const DomainEventScalarFieldEnum = {
|
|
|
981
981
|
export const PropertyTransferRequestScalarFieldEnum = {
|
|
982
982
|
id: 'id',
|
|
983
983
|
tenantId: 'tenantId',
|
|
984
|
-
|
|
984
|
+
sourceApplicationId: 'sourceApplicationId',
|
|
985
985
|
targetPropertyUnitId: 'targetPropertyUnitId',
|
|
986
986
|
requestedById: 'requestedById',
|
|
987
987
|
reviewedById: 'reviewedById',
|
|
@@ -995,7 +995,7 @@ export const PropertyTransferRequestScalarFieldEnum = {
|
|
|
995
995
|
refundedAmount: 'refundedAmount',
|
|
996
996
|
refundTransactionId: 'refundTransactionId',
|
|
997
997
|
refundedAt: 'refundedAt',
|
|
998
|
-
|
|
998
|
+
targetApplicationId: 'targetApplicationId',
|
|
999
999
|
createdAt: 'createdAt',
|
|
1000
1000
|
reviewedAt: 'reviewedAt',
|
|
1001
1001
|
completedAt: 'completedAt',
|
|
@@ -1279,24 +1279,24 @@ export const PaymentMethodPhaseFieldOrderByRelevanceFieldEnum = {
|
|
|
1279
1279
|
description: 'description',
|
|
1280
1280
|
placeholder: 'placeholder'
|
|
1281
1281
|
};
|
|
1282
|
-
export const
|
|
1282
|
+
export const ApplicationOrderByRelevanceFieldEnum = {
|
|
1283
1283
|
id: 'id',
|
|
1284
1284
|
tenantId: 'tenantId',
|
|
1285
1285
|
propertyUnitId: 'propertyUnitId',
|
|
1286
1286
|
buyerId: 'buyerId',
|
|
1287
1287
|
sellerId: 'sellerId',
|
|
1288
1288
|
paymentMethodId: 'paymentMethodId',
|
|
1289
|
-
|
|
1289
|
+
applicationNumber: 'applicationNumber',
|
|
1290
1290
|
title: 'title',
|
|
1291
1291
|
description: 'description',
|
|
1292
|
-
|
|
1292
|
+
applicationType: 'applicationType',
|
|
1293
1293
|
currentPhaseId: 'currentPhaseId',
|
|
1294
1294
|
transferredFromId: 'transferredFromId'
|
|
1295
1295
|
};
|
|
1296
|
-
export const
|
|
1296
|
+
export const ApplicationRefundOrderByRelevanceFieldEnum = {
|
|
1297
1297
|
id: 'id',
|
|
1298
1298
|
tenantId: 'tenantId',
|
|
1299
|
-
|
|
1299
|
+
applicationId: 'applicationId',
|
|
1300
1300
|
reason: 'reason',
|
|
1301
1301
|
requestedById: 'requestedById',
|
|
1302
1302
|
approvedById: 'approvedById',
|
|
@@ -1310,9 +1310,9 @@ export const ContractRefundOrderByRelevanceFieldEnum = {
|
|
|
1310
1310
|
rejectionNotes: 'rejectionNotes',
|
|
1311
1311
|
processingNotes: 'processingNotes'
|
|
1312
1312
|
};
|
|
1313
|
-
export const
|
|
1313
|
+
export const ApplicationPhaseOrderByRelevanceFieldEnum = {
|
|
1314
1314
|
id: 'id',
|
|
1315
|
-
|
|
1315
|
+
applicationId: 'applicationId',
|
|
1316
1316
|
name: 'name',
|
|
1317
1317
|
description: 'description'
|
|
1318
1318
|
};
|
|
@@ -1340,9 +1340,9 @@ export const QuestionnaireFieldOrderByRelevanceFieldEnum = {
|
|
|
1340
1340
|
description: 'description',
|
|
1341
1341
|
placeholder: 'placeholder'
|
|
1342
1342
|
};
|
|
1343
|
-
export const
|
|
1343
|
+
export const ApplicationEventOrderByRelevanceFieldEnum = {
|
|
1344
1344
|
id: 'id',
|
|
1345
|
-
|
|
1345
|
+
applicationId: 'applicationId',
|
|
1346
1346
|
fromState: 'fromState',
|
|
1347
1347
|
toState: 'toState',
|
|
1348
1348
|
trigger: 'trigger',
|
|
@@ -1367,13 +1367,13 @@ export const DocumentationStepApprovalOrderByRelevanceFieldEnum = {
|
|
|
1367
1367
|
approverId: 'approverId',
|
|
1368
1368
|
comment: 'comment'
|
|
1369
1369
|
};
|
|
1370
|
-
export const
|
|
1370
|
+
export const PaymentInstallmentOrderByRelevanceFieldEnum = {
|
|
1371
1371
|
id: 'id',
|
|
1372
1372
|
paymentPhaseId: 'paymentPhaseId'
|
|
1373
1373
|
};
|
|
1374
|
-
export const
|
|
1374
|
+
export const ApplicationPaymentOrderByRelevanceFieldEnum = {
|
|
1375
1375
|
id: 'id',
|
|
1376
|
-
|
|
1376
|
+
applicationId: 'applicationId',
|
|
1377
1377
|
phaseId: 'phaseId',
|
|
1378
1378
|
installmentId: 'installmentId',
|
|
1379
1379
|
payerId: 'payerId',
|
|
@@ -1381,9 +1381,9 @@ export const ContractPaymentOrderByRelevanceFieldEnum = {
|
|
|
1381
1381
|
reference: 'reference',
|
|
1382
1382
|
gatewayResponse: 'gatewayResponse'
|
|
1383
1383
|
};
|
|
1384
|
-
export const
|
|
1384
|
+
export const ApplicationDocumentOrderByRelevanceFieldEnum = {
|
|
1385
1385
|
id: 'id',
|
|
1386
|
-
|
|
1386
|
+
applicationId: 'applicationId',
|
|
1387
1387
|
phaseId: 'phaseId',
|
|
1388
1388
|
stepId: 'stepId',
|
|
1389
1389
|
name: 'name',
|
|
@@ -1403,7 +1403,7 @@ export const DocumentTemplateOrderByRelevanceFieldEnum = {
|
|
|
1403
1403
|
export const OfferLetterOrderByRelevanceFieldEnum = {
|
|
1404
1404
|
id: 'id',
|
|
1405
1405
|
tenantId: 'tenantId',
|
|
1406
|
-
|
|
1406
|
+
applicationId: 'applicationId',
|
|
1407
1407
|
templateId: 'templateId',
|
|
1408
1408
|
letterNumber: 'letterNumber',
|
|
1409
1409
|
htmlContent: 'htmlContent',
|
|
@@ -1414,9 +1414,9 @@ export const OfferLetterOrderByRelevanceFieldEnum = {
|
|
|
1414
1414
|
generatedById: 'generatedById',
|
|
1415
1415
|
sentById: 'sentById'
|
|
1416
1416
|
};
|
|
1417
|
-
export const
|
|
1417
|
+
export const ApplicationTerminationOrderByRelevanceFieldEnum = {
|
|
1418
1418
|
id: 'id',
|
|
1419
|
-
|
|
1419
|
+
applicationId: 'applicationId',
|
|
1420
1420
|
tenantId: 'tenantId',
|
|
1421
1421
|
requestNumber: 'requestNumber',
|
|
1422
1422
|
initiatorId: 'initiatorId',
|
|
@@ -1434,7 +1434,7 @@ export const ContractTerminationOrderByRelevanceFieldEnum = {
|
|
|
1434
1434
|
export const PaymentMethodChangeRequestOrderByRelevanceFieldEnum = {
|
|
1435
1435
|
id: 'id',
|
|
1436
1436
|
tenantId: 'tenantId',
|
|
1437
|
-
|
|
1437
|
+
applicationId: 'applicationId',
|
|
1438
1438
|
fromPaymentMethodId: 'fromPaymentMethodId',
|
|
1439
1439
|
toPaymentMethodId: 'toPaymentMethodId',
|
|
1440
1440
|
requestorId: 'requestorId',
|
|
@@ -1510,7 +1510,7 @@ export const DomainEventOrderByRelevanceFieldEnum = {
|
|
|
1510
1510
|
export const PropertyTransferRequestOrderByRelevanceFieldEnum = {
|
|
1511
1511
|
id: 'id',
|
|
1512
1512
|
tenantId: 'tenantId',
|
|
1513
|
-
|
|
1513
|
+
sourceApplicationId: 'sourceApplicationId',
|
|
1514
1514
|
targetPropertyUnitId: 'targetPropertyUnitId',
|
|
1515
1515
|
requestedById: 'requestedById',
|
|
1516
1516
|
reviewedById: 'reviewedById',
|
|
@@ -1518,7 +1518,7 @@ export const PropertyTransferRequestOrderByRelevanceFieldEnum = {
|
|
|
1518
1518
|
reviewNotes: 'reviewNotes',
|
|
1519
1519
|
priceAdjustmentHandling: 'priceAdjustmentHandling',
|
|
1520
1520
|
refundTransactionId: 'refundTransactionId',
|
|
1521
|
-
|
|
1521
|
+
targetApplicationId: 'targetApplicationId'
|
|
1522
1522
|
};
|
|
1523
1523
|
export const ApprovalRequestOrderByRelevanceFieldEnum = {
|
|
1524
1524
|
id: 'id',
|