@valentine-efagene/qshelter-common 2.0.84 → 2.0.87
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 +25 -0
- package/dist/generated/client/client.d.ts +25 -0
- package/dist/generated/client/commonInputTypes.d.ts +30 -0
- package/dist/generated/client/enums.d.ts +18 -0
- package/dist/generated/client/enums.js +17 -0
- package/dist/generated/client/internal/class.d.ts +55 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +469 -42
- package/dist/generated/client/internal/prismaNamespace.js +118 -40
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +129 -41
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +118 -40
- package/dist/generated/client/models/Contract.d.ts +303 -1574
- package/dist/generated/client/models/ContractInstallment.d.ts +77 -77
- package/dist/generated/client/models/ContractPhase.d.ts +339 -1376
- package/dist/generated/client/models/DocumentationPhase.d.ts +1649 -0
- package/dist/generated/client/models/DocumentationPhase.js +1 -0
- package/dist/generated/client/models/DocumentationStep.d.ts +126 -387
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +1378 -0
- package/dist/generated/client/models/PaymentMethodPhaseField.js +1 -0
- package/dist/generated/client/models/PaymentPhase.d.ts +1566 -0
- package/dist/generated/client/models/PaymentPhase.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +53 -53
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +171 -0
- package/dist/generated/client/models/PropertyTransferRequest.d.ts +196 -70
- package/dist/generated/client/models/QuestionnaireField.d.ts +1495 -0
- package/dist/generated/client/models/QuestionnaireField.js +1 -0
- package/dist/generated/client/models/QuestionnairePhase.d.ts +1383 -0
- package/dist/generated/client/models/QuestionnairePhase.js +1 -0
- package/dist/generated/client/models.d.ts +5 -0
- package/package.json +1 -1
- package/prisma/migrations/20260109132751_update_transfer_flow/migration.sql +343 -0
- package/prisma/schema.prisma +304 -98
|
@@ -100,9 +100,14 @@ export const ModelName = {
|
|
|
100
100
|
PaymentMethodPhaseStep: 'PaymentMethodPhaseStep',
|
|
101
101
|
StepEventAttachment: 'StepEventAttachment',
|
|
102
102
|
PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
|
|
103
|
+
PaymentMethodPhaseField: 'PaymentMethodPhaseField',
|
|
103
104
|
Contract: 'Contract',
|
|
104
105
|
ContractRefund: 'ContractRefund',
|
|
105
106
|
ContractPhase: 'ContractPhase',
|
|
107
|
+
QuestionnairePhase: 'QuestionnairePhase',
|
|
108
|
+
DocumentationPhase: 'DocumentationPhase',
|
|
109
|
+
PaymentPhase: 'PaymentPhase',
|
|
110
|
+
QuestionnaireField: 'QuestionnaireField',
|
|
106
111
|
ContractEvent: 'ContractEvent',
|
|
107
112
|
DocumentationStep: 'DocumentationStep',
|
|
108
113
|
DocumentationStepDocument: 'DocumentationStepDocument',
|
|
@@ -479,6 +484,22 @@ export const PaymentMethodPhaseDocumentScalarFieldEnum = {
|
|
|
479
484
|
metadata: 'metadata',
|
|
480
485
|
createdAt: 'createdAt'
|
|
481
486
|
};
|
|
487
|
+
export const PaymentMethodPhaseFieldScalarFieldEnum = {
|
|
488
|
+
id: 'id',
|
|
489
|
+
phaseId: 'phaseId',
|
|
490
|
+
name: 'name',
|
|
491
|
+
label: 'label',
|
|
492
|
+
description: 'description',
|
|
493
|
+
placeholder: 'placeholder',
|
|
494
|
+
fieldType: 'fieldType',
|
|
495
|
+
isRequired: 'isRequired',
|
|
496
|
+
order: 'order',
|
|
497
|
+
validation: 'validation',
|
|
498
|
+
displayCondition: 'displayCondition',
|
|
499
|
+
defaultValue: 'defaultValue',
|
|
500
|
+
createdAt: 'createdAt',
|
|
501
|
+
updatedAt: 'updatedAt'
|
|
502
|
+
};
|
|
482
503
|
export const ContractScalarFieldEnum = {
|
|
483
504
|
id: 'id',
|
|
484
505
|
tenantId: 'tenantId',
|
|
@@ -491,21 +512,7 @@ export const ContractScalarFieldEnum = {
|
|
|
491
512
|
description: 'description',
|
|
492
513
|
contractType: 'contractType',
|
|
493
514
|
totalAmount: 'totalAmount',
|
|
494
|
-
downPayment: 'downPayment',
|
|
495
|
-
downPaymentPaid: 'downPaymentPaid',
|
|
496
|
-
principal: 'principal',
|
|
497
|
-
interestRate: 'interestRate',
|
|
498
|
-
termMonths: 'termMonths',
|
|
499
|
-
periodicPayment: 'periodicPayment',
|
|
500
|
-
totalPaidToDate: 'totalPaidToDate',
|
|
501
|
-
totalInterestPaid: 'totalInterestPaid',
|
|
502
|
-
monthlyIncome: 'monthlyIncome',
|
|
503
|
-
monthlyExpenses: 'monthlyExpenses',
|
|
504
|
-
preApprovalAnswers: 'preApprovalAnswers',
|
|
505
|
-
underwritingScore: 'underwritingScore',
|
|
506
|
-
debtToIncomeRatio: 'debtToIncomeRatio',
|
|
507
515
|
status: 'status',
|
|
508
|
-
state: 'state',
|
|
509
516
|
currentPhaseId: 'currentPhaseId',
|
|
510
517
|
nextPaymentDueDate: 'nextPaymentDueDate',
|
|
511
518
|
lastReminderSentAt: 'lastReminderSentAt',
|
|
@@ -545,37 +552,82 @@ export const ContractRefundScalarFieldEnum = {
|
|
|
545
552
|
export const ContractPhaseScalarFieldEnum = {
|
|
546
553
|
id: 'id',
|
|
547
554
|
contractId: 'contractId',
|
|
548
|
-
paymentPlanId: 'paymentPlanId',
|
|
549
555
|
name: 'name',
|
|
550
556
|
description: 'description',
|
|
551
557
|
phaseCategory: 'phaseCategory',
|
|
552
558
|
phaseType: 'phaseType',
|
|
553
559
|
order: 'order',
|
|
554
560
|
status: 'status',
|
|
555
|
-
currentStepId: 'currentStepId',
|
|
556
|
-
totalAmount: 'totalAmount',
|
|
557
|
-
paidAmount: 'paidAmount',
|
|
558
|
-
remainingAmount: 'remainingAmount',
|
|
559
|
-
interestRate: 'interestRate',
|
|
560
|
-
collectFunds: 'collectFunds',
|
|
561
|
-
approvedDocumentsCount: 'approvedDocumentsCount',
|
|
562
|
-
requiredDocumentsCount: 'requiredDocumentsCount',
|
|
563
|
-
completedStepsCount: 'completedStepsCount',
|
|
564
|
-
totalStepsCount: 'totalStepsCount',
|
|
565
561
|
dueDate: 'dueDate',
|
|
566
562
|
startDate: 'startDate',
|
|
567
563
|
endDate: 'endDate',
|
|
568
564
|
activatedAt: 'activatedAt',
|
|
569
565
|
completedAt: 'completedAt',
|
|
570
566
|
requiresPreviousPhaseCompletion: 'requiresPreviousPhaseCompletion',
|
|
567
|
+
createdAt: 'createdAt',
|
|
568
|
+
updatedAt: 'updatedAt'
|
|
569
|
+
};
|
|
570
|
+
export const QuestionnairePhaseScalarFieldEnum = {
|
|
571
|
+
id: 'id',
|
|
572
|
+
phaseId: 'phaseId',
|
|
573
|
+
completedFieldsCount: 'completedFieldsCount',
|
|
574
|
+
totalFieldsCount: 'totalFieldsCount',
|
|
575
|
+
underwritingScore: 'underwritingScore',
|
|
576
|
+
debtToIncomeRatio: 'debtToIncomeRatio',
|
|
577
|
+
underwritingDecision: 'underwritingDecision',
|
|
578
|
+
underwritingNotes: 'underwritingNotes',
|
|
579
|
+
fieldsSnapshot: 'fieldsSnapshot',
|
|
580
|
+
createdAt: 'createdAt',
|
|
581
|
+
updatedAt: 'updatedAt'
|
|
582
|
+
};
|
|
583
|
+
export const DocumentationPhaseScalarFieldEnum = {
|
|
584
|
+
id: 'id',
|
|
585
|
+
phaseId: 'phaseId',
|
|
586
|
+
currentStepId: 'currentStepId',
|
|
587
|
+
approvedDocumentsCount: 'approvedDocumentsCount',
|
|
588
|
+
requiredDocumentsCount: 'requiredDocumentsCount',
|
|
589
|
+
completedStepsCount: 'completedStepsCount',
|
|
590
|
+
totalStepsCount: 'totalStepsCount',
|
|
571
591
|
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
572
592
|
completionCriterion: 'completionCriterion',
|
|
573
|
-
paymentPlanSnapshot: 'paymentPlanSnapshot',
|
|
574
593
|
stepDefinitionsSnapshot: 'stepDefinitionsSnapshot',
|
|
575
594
|
requiredDocumentSnapshot: 'requiredDocumentSnapshot',
|
|
576
595
|
createdAt: 'createdAt',
|
|
577
596
|
updatedAt: 'updatedAt'
|
|
578
597
|
};
|
|
598
|
+
export const PaymentPhaseScalarFieldEnum = {
|
|
599
|
+
id: 'id',
|
|
600
|
+
phaseId: 'phaseId',
|
|
601
|
+
paymentPlanId: 'paymentPlanId',
|
|
602
|
+
totalAmount: 'totalAmount',
|
|
603
|
+
paidAmount: 'paidAmount',
|
|
604
|
+
interestRate: 'interestRate',
|
|
605
|
+
collectFunds: 'collectFunds',
|
|
606
|
+
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
607
|
+
paymentPlanSnapshot: 'paymentPlanSnapshot',
|
|
608
|
+
createdAt: 'createdAt',
|
|
609
|
+
updatedAt: 'updatedAt'
|
|
610
|
+
};
|
|
611
|
+
export const QuestionnaireFieldScalarFieldEnum = {
|
|
612
|
+
id: 'id',
|
|
613
|
+
questionnairePhaseId: 'questionnairePhaseId',
|
|
614
|
+
name: 'name',
|
|
615
|
+
label: 'label',
|
|
616
|
+
description: 'description',
|
|
617
|
+
placeholder: 'placeholder',
|
|
618
|
+
fieldType: 'fieldType',
|
|
619
|
+
isRequired: 'isRequired',
|
|
620
|
+
order: 'order',
|
|
621
|
+
validation: 'validation',
|
|
622
|
+
displayCondition: 'displayCondition',
|
|
623
|
+
defaultValue: 'defaultValue',
|
|
624
|
+
answer: 'answer',
|
|
625
|
+
isValid: 'isValid',
|
|
626
|
+
validationErrors: 'validationErrors',
|
|
627
|
+
submittedAt: 'submittedAt',
|
|
628
|
+
createdAt: 'createdAt',
|
|
629
|
+
updatedAt: 'updatedAt'
|
|
630
|
+
};
|
|
579
631
|
export const ContractEventScalarFieldEnum = {
|
|
580
632
|
id: 'id',
|
|
581
633
|
contractId: 'contractId',
|
|
@@ -591,7 +643,7 @@ export const ContractEventScalarFieldEnum = {
|
|
|
591
643
|
};
|
|
592
644
|
export const DocumentationStepScalarFieldEnum = {
|
|
593
645
|
id: 'id',
|
|
594
|
-
|
|
646
|
+
documentationPhaseId: 'documentationPhaseId',
|
|
595
647
|
name: 'name',
|
|
596
648
|
description: 'description',
|
|
597
649
|
stepType: 'stepType',
|
|
@@ -601,11 +653,6 @@ export const DocumentationStepScalarFieldEnum = {
|
|
|
601
653
|
submissionCount: 'submissionCount',
|
|
602
654
|
lastSubmittedAt: 'lastSubmittedAt',
|
|
603
655
|
metadata: 'metadata',
|
|
604
|
-
preApprovalAnswers: 'preApprovalAnswers',
|
|
605
|
-
underwritingScore: 'underwritingScore',
|
|
606
|
-
debtToIncomeRatio: 'debtToIncomeRatio',
|
|
607
|
-
underwritingDecision: 'underwritingDecision',
|
|
608
|
-
underwritingNotes: 'underwritingNotes',
|
|
609
656
|
assigneeId: 'assigneeId',
|
|
610
657
|
dueDate: 'dueDate',
|
|
611
658
|
completedAt: 'completedAt',
|
|
@@ -630,7 +677,7 @@ export const DocumentationStepApprovalScalarFieldEnum = {
|
|
|
630
677
|
};
|
|
631
678
|
export const ContractInstallmentScalarFieldEnum = {
|
|
632
679
|
id: 'id',
|
|
633
|
-
|
|
680
|
+
paymentPhaseId: 'paymentPhaseId',
|
|
634
681
|
installmentNumber: 'installmentNumber',
|
|
635
682
|
amount: 'amount',
|
|
636
683
|
principalAmount: 'principalAmount',
|
|
@@ -910,7 +957,9 @@ export const PropertyTransferRequestScalarFieldEnum = {
|
|
|
910
957
|
sourceTotalAmount: 'sourceTotalAmount',
|
|
911
958
|
targetTotalAmount: 'targetTotalAmount',
|
|
912
959
|
priceAdjustment: 'priceAdjustment',
|
|
913
|
-
|
|
960
|
+
refundedAmount: 'refundedAmount',
|
|
961
|
+
refundTransactionId: 'refundTransactionId',
|
|
962
|
+
refundedAt: 'refundedAt',
|
|
914
963
|
targetContractId: 'targetContractId',
|
|
915
964
|
createdAt: 'createdAt',
|
|
916
965
|
reviewedAt: 'reviewedAt',
|
|
@@ -1175,6 +1224,14 @@ export const PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum = {
|
|
|
1175
1224
|
description: 'description',
|
|
1176
1225
|
allowedMimeTypes: 'allowedMimeTypes'
|
|
1177
1226
|
};
|
|
1227
|
+
export const PaymentMethodPhaseFieldOrderByRelevanceFieldEnum = {
|
|
1228
|
+
id: 'id',
|
|
1229
|
+
phaseId: 'phaseId',
|
|
1230
|
+
name: 'name',
|
|
1231
|
+
label: 'label',
|
|
1232
|
+
description: 'description',
|
|
1233
|
+
placeholder: 'placeholder'
|
|
1234
|
+
};
|
|
1178
1235
|
export const ContractOrderByRelevanceFieldEnum = {
|
|
1179
1236
|
id: 'id',
|
|
1180
1237
|
tenantId: 'tenantId',
|
|
@@ -1209,11 +1266,33 @@ export const ContractRefundOrderByRelevanceFieldEnum = {
|
|
|
1209
1266
|
export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
1210
1267
|
id: 'id',
|
|
1211
1268
|
contractId: 'contractId',
|
|
1212
|
-
paymentPlanId: 'paymentPlanId',
|
|
1213
1269
|
name: 'name',
|
|
1214
|
-
description: 'description'
|
|
1270
|
+
description: 'description'
|
|
1271
|
+
};
|
|
1272
|
+
export const QuestionnairePhaseOrderByRelevanceFieldEnum = {
|
|
1273
|
+
id: 'id',
|
|
1274
|
+
phaseId: 'phaseId',
|
|
1275
|
+
underwritingDecision: 'underwritingDecision',
|
|
1276
|
+
underwritingNotes: 'underwritingNotes'
|
|
1277
|
+
};
|
|
1278
|
+
export const DocumentationPhaseOrderByRelevanceFieldEnum = {
|
|
1279
|
+
id: 'id',
|
|
1280
|
+
phaseId: 'phaseId',
|
|
1215
1281
|
currentStepId: 'currentStepId'
|
|
1216
1282
|
};
|
|
1283
|
+
export const PaymentPhaseOrderByRelevanceFieldEnum = {
|
|
1284
|
+
id: 'id',
|
|
1285
|
+
phaseId: 'phaseId',
|
|
1286
|
+
paymentPlanId: 'paymentPlanId'
|
|
1287
|
+
};
|
|
1288
|
+
export const QuestionnaireFieldOrderByRelevanceFieldEnum = {
|
|
1289
|
+
id: 'id',
|
|
1290
|
+
questionnairePhaseId: 'questionnairePhaseId',
|
|
1291
|
+
name: 'name',
|
|
1292
|
+
label: 'label',
|
|
1293
|
+
description: 'description',
|
|
1294
|
+
placeholder: 'placeholder'
|
|
1295
|
+
};
|
|
1217
1296
|
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
1218
1297
|
id: 'id',
|
|
1219
1298
|
contractId: 'contractId',
|
|
@@ -1224,12 +1303,10 @@ export const ContractEventOrderByRelevanceFieldEnum = {
|
|
|
1224
1303
|
};
|
|
1225
1304
|
export const DocumentationStepOrderByRelevanceFieldEnum = {
|
|
1226
1305
|
id: 'id',
|
|
1227
|
-
|
|
1306
|
+
documentationPhaseId: 'documentationPhaseId',
|
|
1228
1307
|
name: 'name',
|
|
1229
1308
|
description: 'description',
|
|
1230
1309
|
actionReason: 'actionReason',
|
|
1231
|
-
underwritingDecision: 'underwritingDecision',
|
|
1232
|
-
underwritingNotes: 'underwritingNotes',
|
|
1233
1310
|
assigneeId: 'assigneeId'
|
|
1234
1311
|
};
|
|
1235
1312
|
export const DocumentationStepDocumentOrderByRelevanceFieldEnum = {
|
|
@@ -1245,7 +1322,7 @@ export const DocumentationStepApprovalOrderByRelevanceFieldEnum = {
|
|
|
1245
1322
|
};
|
|
1246
1323
|
export const ContractInstallmentOrderByRelevanceFieldEnum = {
|
|
1247
1324
|
id: 'id',
|
|
1248
|
-
|
|
1325
|
+
paymentPhaseId: 'paymentPhaseId'
|
|
1249
1326
|
};
|
|
1250
1327
|
export const ContractPaymentOrderByRelevanceFieldEnum = {
|
|
1251
1328
|
id: 'id',
|
|
@@ -1393,6 +1470,7 @@ export const PropertyTransferRequestOrderByRelevanceFieldEnum = {
|
|
|
1393
1470
|
reason: 'reason',
|
|
1394
1471
|
reviewNotes: 'reviewNotes',
|
|
1395
1472
|
priceAdjustmentHandling: 'priceAdjustmentHandling',
|
|
1473
|
+
refundTransactionId: 'refundTransactionId',
|
|
1396
1474
|
targetContractId: 'targetContractId'
|
|
1397
1475
|
};
|
|
1398
1476
|
export const ApprovalRequestOrderByRelevanceFieldEnum = {
|
|
@@ -59,9 +59,14 @@ export declare const ModelName: {
|
|
|
59
59
|
readonly PaymentMethodPhaseStep: "PaymentMethodPhaseStep";
|
|
60
60
|
readonly StepEventAttachment: "StepEventAttachment";
|
|
61
61
|
readonly PaymentMethodPhaseDocument: "PaymentMethodPhaseDocument";
|
|
62
|
+
readonly PaymentMethodPhaseField: "PaymentMethodPhaseField";
|
|
62
63
|
readonly Contract: "Contract";
|
|
63
64
|
readonly ContractRefund: "ContractRefund";
|
|
64
65
|
readonly ContractPhase: "ContractPhase";
|
|
66
|
+
readonly QuestionnairePhase: "QuestionnairePhase";
|
|
67
|
+
readonly DocumentationPhase: "DocumentationPhase";
|
|
68
|
+
readonly PaymentPhase: "PaymentPhase";
|
|
69
|
+
readonly QuestionnaireField: "QuestionnaireField";
|
|
65
70
|
readonly ContractEvent: "ContractEvent";
|
|
66
71
|
readonly DocumentationStep: "DocumentationStep";
|
|
67
72
|
readonly DocumentationStepDocument: "DocumentationStepDocument";
|
|
@@ -470,6 +475,23 @@ export declare const PaymentMethodPhaseDocumentScalarFieldEnum: {
|
|
|
470
475
|
readonly createdAt: "createdAt";
|
|
471
476
|
};
|
|
472
477
|
export type PaymentMethodPhaseDocumentScalarFieldEnum = (typeof PaymentMethodPhaseDocumentScalarFieldEnum)[keyof typeof PaymentMethodPhaseDocumentScalarFieldEnum];
|
|
478
|
+
export declare const PaymentMethodPhaseFieldScalarFieldEnum: {
|
|
479
|
+
readonly id: "id";
|
|
480
|
+
readonly phaseId: "phaseId";
|
|
481
|
+
readonly name: "name";
|
|
482
|
+
readonly label: "label";
|
|
483
|
+
readonly description: "description";
|
|
484
|
+
readonly placeholder: "placeholder";
|
|
485
|
+
readonly fieldType: "fieldType";
|
|
486
|
+
readonly isRequired: "isRequired";
|
|
487
|
+
readonly order: "order";
|
|
488
|
+
readonly validation: "validation";
|
|
489
|
+
readonly displayCondition: "displayCondition";
|
|
490
|
+
readonly defaultValue: "defaultValue";
|
|
491
|
+
readonly createdAt: "createdAt";
|
|
492
|
+
readonly updatedAt: "updatedAt";
|
|
493
|
+
};
|
|
494
|
+
export type PaymentMethodPhaseFieldScalarFieldEnum = (typeof PaymentMethodPhaseFieldScalarFieldEnum)[keyof typeof PaymentMethodPhaseFieldScalarFieldEnum];
|
|
473
495
|
export declare const ContractScalarFieldEnum: {
|
|
474
496
|
readonly id: "id";
|
|
475
497
|
readonly tenantId: "tenantId";
|
|
@@ -482,21 +504,7 @@ export declare const ContractScalarFieldEnum: {
|
|
|
482
504
|
readonly description: "description";
|
|
483
505
|
readonly contractType: "contractType";
|
|
484
506
|
readonly totalAmount: "totalAmount";
|
|
485
|
-
readonly downPayment: "downPayment";
|
|
486
|
-
readonly downPaymentPaid: "downPaymentPaid";
|
|
487
|
-
readonly principal: "principal";
|
|
488
|
-
readonly interestRate: "interestRate";
|
|
489
|
-
readonly termMonths: "termMonths";
|
|
490
|
-
readonly periodicPayment: "periodicPayment";
|
|
491
|
-
readonly totalPaidToDate: "totalPaidToDate";
|
|
492
|
-
readonly totalInterestPaid: "totalInterestPaid";
|
|
493
|
-
readonly monthlyIncome: "monthlyIncome";
|
|
494
|
-
readonly monthlyExpenses: "monthlyExpenses";
|
|
495
|
-
readonly preApprovalAnswers: "preApprovalAnswers";
|
|
496
|
-
readonly underwritingScore: "underwritingScore";
|
|
497
|
-
readonly debtToIncomeRatio: "debtToIncomeRatio";
|
|
498
507
|
readonly status: "status";
|
|
499
|
-
readonly state: "state";
|
|
500
508
|
readonly currentPhaseId: "currentPhaseId";
|
|
501
509
|
readonly nextPaymentDueDate: "nextPaymentDueDate";
|
|
502
510
|
readonly lastReminderSentAt: "lastReminderSentAt";
|
|
@@ -538,38 +546,87 @@ export type ContractRefundScalarFieldEnum = (typeof ContractRefundScalarFieldEnu
|
|
|
538
546
|
export declare const ContractPhaseScalarFieldEnum: {
|
|
539
547
|
readonly id: "id";
|
|
540
548
|
readonly contractId: "contractId";
|
|
541
|
-
readonly paymentPlanId: "paymentPlanId";
|
|
542
549
|
readonly name: "name";
|
|
543
550
|
readonly description: "description";
|
|
544
551
|
readonly phaseCategory: "phaseCategory";
|
|
545
552
|
readonly phaseType: "phaseType";
|
|
546
553
|
readonly order: "order";
|
|
547
554
|
readonly status: "status";
|
|
548
|
-
readonly currentStepId: "currentStepId";
|
|
549
|
-
readonly totalAmount: "totalAmount";
|
|
550
|
-
readonly paidAmount: "paidAmount";
|
|
551
|
-
readonly remainingAmount: "remainingAmount";
|
|
552
|
-
readonly interestRate: "interestRate";
|
|
553
|
-
readonly collectFunds: "collectFunds";
|
|
554
|
-
readonly approvedDocumentsCount: "approvedDocumentsCount";
|
|
555
|
-
readonly requiredDocumentsCount: "requiredDocumentsCount";
|
|
556
|
-
readonly completedStepsCount: "completedStepsCount";
|
|
557
|
-
readonly totalStepsCount: "totalStepsCount";
|
|
558
555
|
readonly dueDate: "dueDate";
|
|
559
556
|
readonly startDate: "startDate";
|
|
560
557
|
readonly endDate: "endDate";
|
|
561
558
|
readonly activatedAt: "activatedAt";
|
|
562
559
|
readonly completedAt: "completedAt";
|
|
563
560
|
readonly requiresPreviousPhaseCompletion: "requiresPreviousPhaseCompletion";
|
|
561
|
+
readonly createdAt: "createdAt";
|
|
562
|
+
readonly updatedAt: "updatedAt";
|
|
563
|
+
};
|
|
564
|
+
export type ContractPhaseScalarFieldEnum = (typeof ContractPhaseScalarFieldEnum)[keyof typeof ContractPhaseScalarFieldEnum];
|
|
565
|
+
export declare const QuestionnairePhaseScalarFieldEnum: {
|
|
566
|
+
readonly id: "id";
|
|
567
|
+
readonly phaseId: "phaseId";
|
|
568
|
+
readonly completedFieldsCount: "completedFieldsCount";
|
|
569
|
+
readonly totalFieldsCount: "totalFieldsCount";
|
|
570
|
+
readonly underwritingScore: "underwritingScore";
|
|
571
|
+
readonly debtToIncomeRatio: "debtToIncomeRatio";
|
|
572
|
+
readonly underwritingDecision: "underwritingDecision";
|
|
573
|
+
readonly underwritingNotes: "underwritingNotes";
|
|
574
|
+
readonly fieldsSnapshot: "fieldsSnapshot";
|
|
575
|
+
readonly createdAt: "createdAt";
|
|
576
|
+
readonly updatedAt: "updatedAt";
|
|
577
|
+
};
|
|
578
|
+
export type QuestionnairePhaseScalarFieldEnum = (typeof QuestionnairePhaseScalarFieldEnum)[keyof typeof QuestionnairePhaseScalarFieldEnum];
|
|
579
|
+
export declare const DocumentationPhaseScalarFieldEnum: {
|
|
580
|
+
readonly id: "id";
|
|
581
|
+
readonly phaseId: "phaseId";
|
|
582
|
+
readonly currentStepId: "currentStepId";
|
|
583
|
+
readonly approvedDocumentsCount: "approvedDocumentsCount";
|
|
584
|
+
readonly requiredDocumentsCount: "requiredDocumentsCount";
|
|
585
|
+
readonly completedStepsCount: "completedStepsCount";
|
|
586
|
+
readonly totalStepsCount: "totalStepsCount";
|
|
564
587
|
readonly minimumCompletionPercentage: "minimumCompletionPercentage";
|
|
565
588
|
readonly completionCriterion: "completionCriterion";
|
|
566
|
-
readonly paymentPlanSnapshot: "paymentPlanSnapshot";
|
|
567
589
|
readonly stepDefinitionsSnapshot: "stepDefinitionsSnapshot";
|
|
568
590
|
readonly requiredDocumentSnapshot: "requiredDocumentSnapshot";
|
|
569
591
|
readonly createdAt: "createdAt";
|
|
570
592
|
readonly updatedAt: "updatedAt";
|
|
571
593
|
};
|
|
572
|
-
export type
|
|
594
|
+
export type DocumentationPhaseScalarFieldEnum = (typeof DocumentationPhaseScalarFieldEnum)[keyof typeof DocumentationPhaseScalarFieldEnum];
|
|
595
|
+
export declare const PaymentPhaseScalarFieldEnum: {
|
|
596
|
+
readonly id: "id";
|
|
597
|
+
readonly phaseId: "phaseId";
|
|
598
|
+
readonly paymentPlanId: "paymentPlanId";
|
|
599
|
+
readonly totalAmount: "totalAmount";
|
|
600
|
+
readonly paidAmount: "paidAmount";
|
|
601
|
+
readonly interestRate: "interestRate";
|
|
602
|
+
readonly collectFunds: "collectFunds";
|
|
603
|
+
readonly minimumCompletionPercentage: "minimumCompletionPercentage";
|
|
604
|
+
readonly paymentPlanSnapshot: "paymentPlanSnapshot";
|
|
605
|
+
readonly createdAt: "createdAt";
|
|
606
|
+
readonly updatedAt: "updatedAt";
|
|
607
|
+
};
|
|
608
|
+
export type PaymentPhaseScalarFieldEnum = (typeof PaymentPhaseScalarFieldEnum)[keyof typeof PaymentPhaseScalarFieldEnum];
|
|
609
|
+
export declare const QuestionnaireFieldScalarFieldEnum: {
|
|
610
|
+
readonly id: "id";
|
|
611
|
+
readonly questionnairePhaseId: "questionnairePhaseId";
|
|
612
|
+
readonly name: "name";
|
|
613
|
+
readonly label: "label";
|
|
614
|
+
readonly description: "description";
|
|
615
|
+
readonly placeholder: "placeholder";
|
|
616
|
+
readonly fieldType: "fieldType";
|
|
617
|
+
readonly isRequired: "isRequired";
|
|
618
|
+
readonly order: "order";
|
|
619
|
+
readonly validation: "validation";
|
|
620
|
+
readonly displayCondition: "displayCondition";
|
|
621
|
+
readonly defaultValue: "defaultValue";
|
|
622
|
+
readonly answer: "answer";
|
|
623
|
+
readonly isValid: "isValid";
|
|
624
|
+
readonly validationErrors: "validationErrors";
|
|
625
|
+
readonly submittedAt: "submittedAt";
|
|
626
|
+
readonly createdAt: "createdAt";
|
|
627
|
+
readonly updatedAt: "updatedAt";
|
|
628
|
+
};
|
|
629
|
+
export type QuestionnaireFieldScalarFieldEnum = (typeof QuestionnaireFieldScalarFieldEnum)[keyof typeof QuestionnaireFieldScalarFieldEnum];
|
|
573
630
|
export declare const ContractEventScalarFieldEnum: {
|
|
574
631
|
readonly id: "id";
|
|
575
632
|
readonly contractId: "contractId";
|
|
@@ -586,7 +643,7 @@ export declare const ContractEventScalarFieldEnum: {
|
|
|
586
643
|
export type ContractEventScalarFieldEnum = (typeof ContractEventScalarFieldEnum)[keyof typeof ContractEventScalarFieldEnum];
|
|
587
644
|
export declare const DocumentationStepScalarFieldEnum: {
|
|
588
645
|
readonly id: "id";
|
|
589
|
-
readonly
|
|
646
|
+
readonly documentationPhaseId: "documentationPhaseId";
|
|
590
647
|
readonly name: "name";
|
|
591
648
|
readonly description: "description";
|
|
592
649
|
readonly stepType: "stepType";
|
|
@@ -596,11 +653,6 @@ export declare const DocumentationStepScalarFieldEnum: {
|
|
|
596
653
|
readonly submissionCount: "submissionCount";
|
|
597
654
|
readonly lastSubmittedAt: "lastSubmittedAt";
|
|
598
655
|
readonly metadata: "metadata";
|
|
599
|
-
readonly preApprovalAnswers: "preApprovalAnswers";
|
|
600
|
-
readonly underwritingScore: "underwritingScore";
|
|
601
|
-
readonly debtToIncomeRatio: "debtToIncomeRatio";
|
|
602
|
-
readonly underwritingDecision: "underwritingDecision";
|
|
603
|
-
readonly underwritingNotes: "underwritingNotes";
|
|
604
656
|
readonly assigneeId: "assigneeId";
|
|
605
657
|
readonly dueDate: "dueDate";
|
|
606
658
|
readonly completedAt: "completedAt";
|
|
@@ -628,7 +680,7 @@ export declare const DocumentationStepApprovalScalarFieldEnum: {
|
|
|
628
680
|
export type DocumentationStepApprovalScalarFieldEnum = (typeof DocumentationStepApprovalScalarFieldEnum)[keyof typeof DocumentationStepApprovalScalarFieldEnum];
|
|
629
681
|
export declare const ContractInstallmentScalarFieldEnum: {
|
|
630
682
|
readonly id: "id";
|
|
631
|
-
readonly
|
|
683
|
+
readonly paymentPhaseId: "paymentPhaseId";
|
|
632
684
|
readonly installmentNumber: "installmentNumber";
|
|
633
685
|
readonly amount: "amount";
|
|
634
686
|
readonly principalAmount: "principalAmount";
|
|
@@ -922,7 +974,9 @@ export declare const PropertyTransferRequestScalarFieldEnum: {
|
|
|
922
974
|
readonly sourceTotalAmount: "sourceTotalAmount";
|
|
923
975
|
readonly targetTotalAmount: "targetTotalAmount";
|
|
924
976
|
readonly priceAdjustment: "priceAdjustment";
|
|
925
|
-
readonly
|
|
977
|
+
readonly refundedAmount: "refundedAmount";
|
|
978
|
+
readonly refundTransactionId: "refundTransactionId";
|
|
979
|
+
readonly refundedAt: "refundedAt";
|
|
926
980
|
readonly targetContractId: "targetContractId";
|
|
927
981
|
readonly createdAt: "createdAt";
|
|
928
982
|
readonly reviewedAt: "reviewedAt";
|
|
@@ -1228,6 +1282,15 @@ export declare const PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum: {
|
|
|
1228
1282
|
readonly allowedMimeTypes: "allowedMimeTypes";
|
|
1229
1283
|
};
|
|
1230
1284
|
export type PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum = (typeof PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum)[keyof typeof PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum];
|
|
1285
|
+
export declare const PaymentMethodPhaseFieldOrderByRelevanceFieldEnum: {
|
|
1286
|
+
readonly id: "id";
|
|
1287
|
+
readonly phaseId: "phaseId";
|
|
1288
|
+
readonly name: "name";
|
|
1289
|
+
readonly label: "label";
|
|
1290
|
+
readonly description: "description";
|
|
1291
|
+
readonly placeholder: "placeholder";
|
|
1292
|
+
};
|
|
1293
|
+
export type PaymentMethodPhaseFieldOrderByRelevanceFieldEnum = (typeof PaymentMethodPhaseFieldOrderByRelevanceFieldEnum)[keyof typeof PaymentMethodPhaseFieldOrderByRelevanceFieldEnum];
|
|
1231
1294
|
export declare const ContractOrderByRelevanceFieldEnum: {
|
|
1232
1295
|
readonly id: "id";
|
|
1233
1296
|
readonly tenantId: "tenantId";
|
|
@@ -1264,12 +1327,38 @@ export type ContractRefundOrderByRelevanceFieldEnum = (typeof ContractRefundOrde
|
|
|
1264
1327
|
export declare const ContractPhaseOrderByRelevanceFieldEnum: {
|
|
1265
1328
|
readonly id: "id";
|
|
1266
1329
|
readonly contractId: "contractId";
|
|
1267
|
-
readonly paymentPlanId: "paymentPlanId";
|
|
1268
1330
|
readonly name: "name";
|
|
1269
1331
|
readonly description: "description";
|
|
1270
|
-
readonly currentStepId: "currentStepId";
|
|
1271
1332
|
};
|
|
1272
1333
|
export type ContractPhaseOrderByRelevanceFieldEnum = (typeof ContractPhaseOrderByRelevanceFieldEnum)[keyof typeof ContractPhaseOrderByRelevanceFieldEnum];
|
|
1334
|
+
export declare const QuestionnairePhaseOrderByRelevanceFieldEnum: {
|
|
1335
|
+
readonly id: "id";
|
|
1336
|
+
readonly phaseId: "phaseId";
|
|
1337
|
+
readonly underwritingDecision: "underwritingDecision";
|
|
1338
|
+
readonly underwritingNotes: "underwritingNotes";
|
|
1339
|
+
};
|
|
1340
|
+
export type QuestionnairePhaseOrderByRelevanceFieldEnum = (typeof QuestionnairePhaseOrderByRelevanceFieldEnum)[keyof typeof QuestionnairePhaseOrderByRelevanceFieldEnum];
|
|
1341
|
+
export declare const DocumentationPhaseOrderByRelevanceFieldEnum: {
|
|
1342
|
+
readonly id: "id";
|
|
1343
|
+
readonly phaseId: "phaseId";
|
|
1344
|
+
readonly currentStepId: "currentStepId";
|
|
1345
|
+
};
|
|
1346
|
+
export type DocumentationPhaseOrderByRelevanceFieldEnum = (typeof DocumentationPhaseOrderByRelevanceFieldEnum)[keyof typeof DocumentationPhaseOrderByRelevanceFieldEnum];
|
|
1347
|
+
export declare const PaymentPhaseOrderByRelevanceFieldEnum: {
|
|
1348
|
+
readonly id: "id";
|
|
1349
|
+
readonly phaseId: "phaseId";
|
|
1350
|
+
readonly paymentPlanId: "paymentPlanId";
|
|
1351
|
+
};
|
|
1352
|
+
export type PaymentPhaseOrderByRelevanceFieldEnum = (typeof PaymentPhaseOrderByRelevanceFieldEnum)[keyof typeof PaymentPhaseOrderByRelevanceFieldEnum];
|
|
1353
|
+
export declare const QuestionnaireFieldOrderByRelevanceFieldEnum: {
|
|
1354
|
+
readonly id: "id";
|
|
1355
|
+
readonly questionnairePhaseId: "questionnairePhaseId";
|
|
1356
|
+
readonly name: "name";
|
|
1357
|
+
readonly label: "label";
|
|
1358
|
+
readonly description: "description";
|
|
1359
|
+
readonly placeholder: "placeholder";
|
|
1360
|
+
};
|
|
1361
|
+
export type QuestionnaireFieldOrderByRelevanceFieldEnum = (typeof QuestionnaireFieldOrderByRelevanceFieldEnum)[keyof typeof QuestionnaireFieldOrderByRelevanceFieldEnum];
|
|
1273
1362
|
export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
1274
1363
|
readonly id: "id";
|
|
1275
1364
|
readonly contractId: "contractId";
|
|
@@ -1281,12 +1370,10 @@ export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
|
1281
1370
|
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
1282
1371
|
export declare const DocumentationStepOrderByRelevanceFieldEnum: {
|
|
1283
1372
|
readonly id: "id";
|
|
1284
|
-
readonly
|
|
1373
|
+
readonly documentationPhaseId: "documentationPhaseId";
|
|
1285
1374
|
readonly name: "name";
|
|
1286
1375
|
readonly description: "description";
|
|
1287
1376
|
readonly actionReason: "actionReason";
|
|
1288
|
-
readonly underwritingDecision: "underwritingDecision";
|
|
1289
|
-
readonly underwritingNotes: "underwritingNotes";
|
|
1290
1377
|
readonly assigneeId: "assigneeId";
|
|
1291
1378
|
};
|
|
1292
1379
|
export type DocumentationStepOrderByRelevanceFieldEnum = (typeof DocumentationStepOrderByRelevanceFieldEnum)[keyof typeof DocumentationStepOrderByRelevanceFieldEnum];
|
|
@@ -1305,7 +1392,7 @@ export declare const DocumentationStepApprovalOrderByRelevanceFieldEnum: {
|
|
|
1305
1392
|
export type DocumentationStepApprovalOrderByRelevanceFieldEnum = (typeof DocumentationStepApprovalOrderByRelevanceFieldEnum)[keyof typeof DocumentationStepApprovalOrderByRelevanceFieldEnum];
|
|
1306
1393
|
export declare const ContractInstallmentOrderByRelevanceFieldEnum: {
|
|
1307
1394
|
readonly id: "id";
|
|
1308
|
-
readonly
|
|
1395
|
+
readonly paymentPhaseId: "paymentPhaseId";
|
|
1309
1396
|
};
|
|
1310
1397
|
export type ContractInstallmentOrderByRelevanceFieldEnum = (typeof ContractInstallmentOrderByRelevanceFieldEnum)[keyof typeof ContractInstallmentOrderByRelevanceFieldEnum];
|
|
1311
1398
|
export declare const ContractPaymentOrderByRelevanceFieldEnum: {
|
|
@@ -1467,6 +1554,7 @@ export declare const PropertyTransferRequestOrderByRelevanceFieldEnum: {
|
|
|
1467
1554
|
readonly reason: "reason";
|
|
1468
1555
|
readonly reviewNotes: "reviewNotes";
|
|
1469
1556
|
readonly priceAdjustmentHandling: "priceAdjustmentHandling";
|
|
1557
|
+
readonly refundTransactionId: "refundTransactionId";
|
|
1470
1558
|
readonly targetContractId: "targetContractId";
|
|
1471
1559
|
};
|
|
1472
1560
|
export type PropertyTransferRequestOrderByRelevanceFieldEnum = (typeof PropertyTransferRequestOrderByRelevanceFieldEnum)[keyof typeof PropertyTransferRequestOrderByRelevanceFieldEnum];
|