@dynamatix/gb-schemas 2.0.68 → 2.3.4
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/README.md +309 -0
- package/dist/applicants/applicant-additional-income.model.d.ts +192 -8
- package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-additional-income.model.js +24 -3
- package/dist/applicants/applicant-additional-income.type.d.ts +40 -0
- package/dist/applicants/applicant-additional-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +90 -47
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-creditCard.model.js +12 -6
- package/dist/applicants/applicant-commitment-loan.model.d.ts +81 -41
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.js +13 -8
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +78 -38
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +19 -19
- package/dist/applicants/applicant-commitment-residence.model.d.ts +768 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-residence.model.js +57 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +81 -47
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.js +14 -8
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +81 -47
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +14 -8
- package/dist/applicants/applicant-credit-data.model.d.ts +32 -4
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts +29 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-report.model.d.ts +3784 -0
- package/dist/applicants/applicant-credit-report.model.d.ts.map +1 -0
- package/dist/applicants/applicant-credit-report.model.js +122 -0
- package/dist/applicants/applicant-credit-report.type.d.ts +145 -0
- package/dist/applicants/applicant-credit-report.type.d.ts.map +1 -0
- package/dist/applicants/applicant-credit-report.type.js +1 -0
- package/dist/applicants/applicant-direct-debit.model.d.ts +29 -4
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
- package/dist/applicants/applicant-direct-debit.model.js +0 -1
- package/dist/applicants/applicant-employment-income.model.d.ts +39 -8
- package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment-income.model.js +13 -2
- package/dist/applicants/applicant-employment-income.type.d.ts +37 -0
- package/dist/applicants/applicant-employment-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-employment-income.type.js +1 -0
- package/dist/applicants/applicant-employment.model.d.ts +167 -703
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.js +25 -27
- package/dist/applicants/applicant-expenditure.model.d.ts +42 -8
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.js +86 -2
- package/dist/applicants/applicant-expenditure.type.d.ts +42 -0
- package/dist/applicants/applicant-expenditure.type.d.ts.map +1 -0
- package/dist/applicants/applicant-expenditure.type.js +1 -0
- package/dist/applicants/applicant-income-settings.model.d.ts +30 -2
- package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income-settings.model.js +11 -0
- package/dist/applicants/applicant-income-settings.type.d.ts +40 -0
- package/dist/applicants/applicant-income-settings.type.d.ts.map +1 -0
- package/dist/applicants/applicant-income-settings.type.js +1 -0
- package/dist/applicants/applicant-income-source.model.d.ts +26 -0
- package/dist/applicants/applicant-income-source.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income-summary.model.d.ts +2202 -0
- package/dist/applicants/applicant-income-summary.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income-summary.model.js +45 -0
- package/dist/applicants/applicant-income-summary.type.d.ts +60 -0
- package/dist/applicants/applicant-income-summary.type.d.ts.map +1 -0
- package/dist/applicants/applicant-income-summary.type.js +1 -0
- package/dist/applicants/applicant-income.model.d.ts +30 -2068
- package/dist/applicants/applicant-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-other-income.model.d.ts +85 -0
- package/dist/applicants/applicant-other-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-pension-income.model.d.ts +51 -302
- package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-pension-income.model.js +14 -6
- package/dist/applicants/applicant-pension-income.type.d.ts +40 -0
- package/dist/applicants/applicant-pension-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-pension-income.type.js +1 -0
- package/dist/applicants/applicant-property-income.model.d.ts +102 -56
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-property-income.model.js +18 -7
- package/dist/applicants/applicant-risk-narrative.model.d.ts +32 -4
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employed-income.model.d.ts +39 -8
- package/dist/applicants/applicant-self-employed-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employed-income.model.js +13 -2
- package/dist/applicants/applicant-self-employed-income.type.d.ts +37 -0
- package/dist/applicants/applicant-self-employed-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-self-employed-income.type.js +1 -0
- package/dist/applicants/applicant-self-employment.model.d.ts +269 -0
- package/dist/applicants/applicant-self-employment.model.d.ts.map +1 -0
- package/dist/applicants/applicant-self-employment.model.js +55 -0
- package/dist/applicants/applicant-sole-trader-income.model.d.ts +39 -8
- package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-sole-trader-income.model.js +11 -2
- package/dist/applicants/applicant-sole-trader-income.type.d.ts +37 -0
- package/dist/applicants/applicant-sole-trader-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-sole-trader-income.type.js +1 -0
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +66 -317
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -1
- package/dist/applicants/applicant-uk-tax-credits.model.js +15 -7
- package/dist/applicants/applicant-uk-tax-credits.type.d.ts +39 -0
- package/dist/applicants/applicant-uk-tax-credits.type.d.ts.map +1 -0
- package/dist/applicants/applicant-uk-tax-credits.type.js +1 -0
- package/dist/applicants/applicant-welcome-call.model.d.ts +384 -0
- package/dist/applicants/applicant-welcome-call.model.d.ts.map +1 -0
- package/dist/applicants/applicant-welcome-call.model.js +709 -0
- package/dist/applicants/applicant-welcome-call.type.d.ts +66 -0
- package/dist/applicants/applicant-welcome-call.type.d.ts.map +1 -0
- package/dist/applicants/applicant-welcome-call.type.js +1 -0
- package/dist/applicants/applicant.model.d.ts +1522 -89
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +40 -9
- package/dist/applicants/applicant.type.d.ts +158 -0
- package/dist/applicants/applicant.type.d.ts.map +1 -0
- package/dist/applicants/applicant.type.js +1 -0
- package/dist/applicants/index.d.ts +24 -8
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applicants/index.js +12 -8
- package/dist/applications/application-audit.model.d.ts +36 -8
- package/dist/applications/application-audit.model.d.ts.map +1 -1
- package/dist/applications/application-audit.model.js +3 -0
- package/dist/applications/application-checklist-Item.model.d.ts +36 -2
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
- package/dist/applications/application-checklist-Item.model.js +4 -0
- package/dist/applications/application-company-model.d.ts +123 -59
- package/dist/applications/application-company-model.d.ts.map +1 -1
- package/dist/applications/application-company-model.js +24 -10
- package/dist/applications/application-credit-profile.model.d.ts +29 -1
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.d.ts +178 -32
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.js +64 -1
- package/dist/applications/application-direct-debit.type.d.ts +63 -0
- package/dist/applications/application-direct-debit.type.d.ts.map +1 -0
- package/dist/applications/application-direct-debit.type.js +1 -0
- package/dist/applications/application-euc.model.d.ts +154 -0
- package/dist/applications/application-euc.model.d.ts.map +1 -0
- package/dist/applications/application-euc.model.js +28 -0
- package/dist/applications/application-fieldconfig.model.d.ts +30 -2
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
- package/dist/applications/application-fieldconfig.model.js +3 -0
- package/dist/applications/application-illustration-model.d.ts +30 -2
- package/dist/applications/application-illustration-model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.d.ts +30 -2
- package/dist/applications/application-legal.model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.js +3 -0
- package/dist/applications/application-mortgage.model.d.ts +201 -1097
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.js +24 -21
- package/dist/applications/application-mortgage.type.d.ts +76 -0
- package/dist/applications/application-mortgage.type.d.ts.map +1 -0
- package/dist/applications/application-mortgage.type.js +1 -0
- package/dist/applications/application-note.model.d.ts +66 -26
- package/dist/applications/application-note.model.d.ts.map +1 -1
- package/dist/applications/application-note.model.js +30 -3
- package/dist/applications/application-note.type.d.ts +55 -0
- package/dist/applications/application-note.type.d.ts.map +1 -0
- package/dist/applications/application-note.type.js +1 -0
- package/dist/applications/application-offer.model.d.ts +158 -10
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.js +49 -3
- package/dist/applications/application-offer.type.d.ts +54 -0
- package/dist/applications/application-offer.type.d.ts.map +1 -0
- package/dist/applications/application-offer.type.js +1 -0
- package/dist/applications/application-onboarding.model.d.ts +30 -2
- package/dist/applications/application-onboarding.model.d.ts.map +1 -1
- package/dist/applications/application-onboarding.model.js +3 -0
- package/dist/applications/application-product.model.d.ts +185 -15
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.js +34 -11
- package/dist/applications/application-product.type.d.ts +58 -0
- package/dist/applications/application-product.type.d.ts.map +1 -0
- package/dist/applications/application-product.type.js +1 -0
- package/dist/applications/application-productfeatures.model.d.ts +42 -8
- package/dist/applications/application-productfeatures.model.d.ts.map +1 -1
- package/dist/applications/application-productfeatures.model.js +5 -1
- package/dist/applications/application-productfeatures.type.d.ts +125 -0
- package/dist/applications/application-productfeatures.type.d.ts.map +1 -0
- package/dist/applications/application-productfeatures.type.js +1 -0
- package/dist/applications/application-rationale.model.d.ts +105 -195
- package/dist/applications/application-rationale.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.js +17 -32
- package/dist/applications/application-rationale.type.d.ts +44 -0
- package/dist/applications/application-rationale.type.d.ts.map +1 -0
- package/dist/applications/application-rationale.type.js +1 -0
- package/dist/applications/application-risk-narrative.model.d.ts +72 -32
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-risk-narrative.model.js +10 -5
- package/dist/applications/application-valuation-report.model.d.ts +1438 -0
- package/dist/applications/application-valuation-report.model.d.ts.map +1 -0
- package/dist/applications/application-valuation-report.model.js +799 -0
- package/dist/applications/application-valuation-report.type.d.ts +256 -0
- package/dist/applications/application-valuation-report.type.d.ts.map +1 -0
- package/dist/applications/application-valuation-report.type.js +1 -0
- package/dist/applications/application-valuation.model.d.ts +730 -19
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.js +34 -7
- package/dist/applications/application-valuation.type.d.ts +54 -0
- package/dist/applications/application-valuation.type.d.ts.map +1 -0
- package/dist/applications/application-valuation.type.js +1 -0
- package/dist/applications/application.model.d.ts +318 -116
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/application.model.js +120 -27
- package/dist/applications/applications-task.model.d.ts +300 -0
- package/dist/applications/applications-task.model.d.ts.map +1 -0
- package/dist/applications/applications-task.model.js +50 -0
- package/dist/applications/applications-task.type.d.ts +57 -0
- package/dist/applications/applications-task.type.d.ts.map +1 -0
- package/dist/applications/applications-task.type.js +1 -0
- package/dist/applications/broker.model.d.ts +54 -26
- package/dist/applications/broker.model.d.ts.map +1 -1
- package/dist/applications/broker.model.js +5 -2
- package/dist/applications/broker.type.d.ts +51 -0
- package/dist/applications/broker.type.d.ts.map +1 -0
- package/dist/applications/broker.type.js +1 -0
- package/dist/applications/index.d.ts +16 -2
- package/dist/applications/index.d.ts.map +1 -1
- package/dist/applications/index.js +5 -2
- package/dist/applications/productfeatures.model.d.ts +368 -0
- package/dist/applications/productfeatures.model.d.ts.map +1 -0
- package/dist/applications/solicitor.model.d.ts +43 -14
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.js +8 -1
- package/dist/applications/solicitor.type.d.ts +56 -0
- package/dist/applications/solicitor.type.d.ts.map +1 -0
- package/dist/applications/solicitor.type.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/product-catalogues/index.d.ts +3 -0
- package/dist/product-catalogues/index.d.ts.map +1 -1
- package/dist/product-catalogues/product-catalogue.model.d.ts +30 -2
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-catalogue.model.js +4 -0
- package/dist/product-catalogues/product-catalogue.type.d.ts +15 -0
- package/dist/product-catalogues/product-catalogue.type.d.ts.map +1 -0
- package/dist/product-catalogues/product-catalogue.type.js +1 -0
- package/dist/product-catalogues/product-definitions.model.d.ts +30 -2
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-definitions.model.js +3 -0
- package/dist/product-catalogues/product-definitions.type.d.ts +53 -0
- package/dist/product-catalogues/product-definitions.type.d.ts.map +1 -0
- package/dist/product-catalogues/product-definitions.type.js +1 -0
- package/dist/product-catalogues/product-variant.model.d.ts +30 -2
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-variant.model.js +4 -0
- package/dist/product-catalogues/product-variant.type.d.ts +38 -0
- package/dist/product-catalogues/product-variant.type.d.ts.map +1 -0
- package/dist/product-catalogues/product-variant.type.js +1 -0
- package/dist/properties/property.model.d.ts +102 -59
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/property.model.js +16 -8
- package/dist/properties/security.model.d.ts +48 -2
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/properties/security.model.js +15 -3
- package/dist/shared/alert.model.d.ts +42 -14
- package/dist/shared/alert.model.d.ts.map +1 -1
- package/dist/shared/api-log.model.d.ts +124 -0
- package/dist/shared/api-log.model.d.ts.map +1 -0
- package/dist/shared/api-log.model.js +25 -0
- package/dist/shared/api-performance.model.d.ts +37 -0
- package/dist/shared/api-performance.model.d.ts.map +1 -0
- package/dist/shared/api-performance.model.js +22 -0
- package/dist/shared/api-performance.type.d.ts +178 -0
- package/dist/shared/api-performance.type.d.ts.map +1 -0
- package/dist/shared/api-performance.type.js +1 -0
- package/dist/shared/apprivo-sync-journey.model.d.ts +36 -8
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
- package/dist/shared/apprivo-sync-journey.model.js +2 -0
- package/dist/shared/checklist.model.d.ts +36 -8
- package/dist/shared/checklist.model.d.ts.map +1 -1
- package/dist/shared/checklist.model.js +5 -0
- package/dist/shared/index.d.ts +7 -1
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +5 -1
- package/dist/shared/job-run.model.d.ts +30 -2
- package/dist/shared/job-run.model.d.ts.map +1 -1
- package/dist/shared/job-setting.model.d.ts +36 -8
- package/dist/shared/job-setting.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.d.ts +30 -2
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.js +6 -0
- package/dist/shared/lookup.model.d.ts +30 -2
- package/dist/shared/lookup.model.d.ts.map +1 -1
- package/dist/shared/lookup.model.js +7 -0
- package/dist/shared/schema-doc.model.d.ts +36 -8
- package/dist/shared/schema-doc.model.d.ts.map +1 -1
- package/dist/shared/system-parameter.model.d.ts +36 -8
- package/dist/shared/system-parameter.model.d.ts.map +1 -1
- package/dist/shared/task-document.model.d.ts +36 -8
- package/dist/shared/task-document.model.d.ts.map +1 -1
- package/dist/shared/task.model.d.ts +36 -8
- package/dist/shared/task.model.d.ts.map +1 -1
- package/dist/shared/webhook-event.model.d.ts +37 -0
- package/dist/shared/webhook-event.model.d.ts.map +1 -0
- package/dist/shared/webhook-event.model.js +57 -0
- package/dist/shared/webhook-event.type.d.ts +15 -0
- package/dist/shared/webhook-event.type.d.ts.map +1 -0
- package/dist/shared/webhook-event.type.js +1 -0
- package/dist/shared/workflow-trigger.model.d.ts +32 -0
- package/dist/shared/workflow-trigger.model.d.ts.map +1 -0
- package/dist/shared/workflow-trigger.model.js +49 -0
- package/dist/shared/workflow-trigger.type.d.ts +60 -0
- package/dist/shared/workflow-trigger.type.d.ts.map +1 -0
- package/dist/shared/workflow-trigger.type.js +1 -0
- package/dist/shared/workflow.init.d.ts +21 -0
- package/dist/shared/workflow.init.d.ts.map +1 -0
- package/dist/shared/workflow.init.js +42 -0
- package/dist/shared/workflow.logger.d.ts +18 -0
- package/dist/shared/workflow.logger.d.ts.map +1 -0
- package/dist/shared/workflow.logger.js +41 -0
- package/dist/shared/workflow.middleware.d.ts +108 -0
- package/dist/shared/workflow.middleware.d.ts.map +1 -0
- package/dist/shared/workflow.middleware.js +246 -0
- package/dist/shared/workflow.plugin.d.ts +46 -0
- package/dist/shared/workflow.plugin.d.ts.map +1 -0
- package/dist/shared/workflow.plugin.js +151 -0
- package/dist/shared/workflow.service.d.ts +42 -0
- package/dist/shared/workflow.service.d.ts.map +1 -0
- package/dist/shared/workflow.service.js +134 -0
- package/dist/types/base.types.d.ts +35 -0
- package/dist/types/base.types.d.ts.map +1 -0
- package/dist/types/base.types.js +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +1 -0
- package/dist/underwriter/underwriter.model.d.ts +30 -2
- package/dist/underwriter/underwriter.model.d.ts.map +1 -1
- package/dist/users/auth-log.model.d.ts +30 -2
- package/dist/users/auth-log.model.d.ts.map +1 -1
- package/dist/users/auth-log.model.js +3 -0
- package/dist/users/permission.model.d.ts +30 -2
- package/dist/users/permission.model.d.ts.map +1 -1
- package/dist/users/permission.model.js +2 -0
- package/dist/users/role-group.model.d.ts +30 -2
- package/dist/users/role-group.model.d.ts.map +1 -1
- package/dist/users/role-group.model.js +3 -0
- package/dist/users/role.model.d.ts +30 -2
- package/dist/users/role.model.d.ts.map +1 -1
- package/dist/users/role.model.js +3 -0
- package/dist/users/tasks.model.d.ts +30 -2
- package/dist/users/tasks.model.d.ts.map +1 -1
- package/dist/users/tasks.model.js +4 -1
- package/dist/users/user.model.d.ts +48 -14
- package/dist/users/user.model.d.ts.map +1 -1
- package/dist/users/user.model.js +13 -2
- package/dist/users/user.type.d.ts +55 -0
- package/dist/users/user.type.d.ts.map +1 -0
- package/dist/users/user.type.js +1 -0
- package/dist/value-objects/account-number.d.ts +42 -0
- package/dist/value-objects/account-number.d.ts.map +1 -0
- package/dist/value-objects/account-number.js +24 -0
- package/dist/value-objects/pound.d.ts +28 -0
- package/dist/value-objects/pound.d.ts.map +1 -1
- package/dist/value-objects/pound.js +33 -9
- package/dist/value-objects/sort-code.d.ts +27 -0
- package/dist/value-objects/sort-code.d.ts.map +1 -1
- package/dist/value-objects/sort-code.js +13 -4
- package/package.json +33 -29
- package/dist/applicants/applicant-income.model.js +0 -78
- package/dist/applications/application-document.model.js +0 -35
- package/dist/applications/document.model.js +0 -35
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts +0 -19
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-data.entity.js +0 -5
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-profile.entity.js +0 -5
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-employment-income.entity.js +0 -5
- package/dist/entities/applicants/applicant-employment.entity.d.ts +0 -54
- package/dist/entities/applicants/applicant-employment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-employment.entity.js +0 -5
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-expenditure.entity.js +0 -5
- package/dist/entities/applicants/applicant-income-settings.entity.d.ts +0 -17
- package/dist/entities/applicants/applicant-income-settings.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-income-settings.entity.js +0 -5
- package/dist/entities/applicants/applicant-income.entity.d.ts +0 -77
- package/dist/entities/applicants/applicant-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-income.entity.js +0 -2
- package/dist/entities/applicants/applicant-share-holding.entity.d.ts +0 -18
- package/dist/entities/applicants/applicant-share-holding.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-share-holding.entity.js +0 -5
- package/dist/entities/applicants/applicant.entity.d.ts +0 -144
- package/dist/entities/applicants/applicant.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant.entity.js +0 -48
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts +0 -22
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/credit-card-commitment.entity.js +0 -9
- package/dist/entities/applicants/index.d.ts +0 -20
- package/dist/entities/applicants/index.d.ts.map +0 -1
- package/dist/entities/applicants/index.js +0 -18
- package/dist/entities/applicants/loan-commitment.entity.d.ts +0 -29
- package/dist/entities/applicants/loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/loan-commitment.entity.js +0 -15
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts +0 -50
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/mortgage-commitment.entity.js +0 -27
- package/dist/entities/applicants/other-income.entity.d.ts +0 -41
- package/dist/entities/applicants/other-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/other-income.entity.js +0 -19
- package/dist/entities/applicants/property-income.entity.d.ts +0 -17
- package/dist/entities/applicants/property-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/property-income.entity.js +0 -5
- package/dist/entities/applicants/residence-commitment.entity.d.ts +0 -44
- package/dist/entities/applicants/residence-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/residence-commitment.entity.js +0 -19
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +0 -29
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/secure-loan-commitment.entity.js +0 -12
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +0 -29
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/unsecured-loan-commitment.entity.js +0 -12
- package/dist/entities/applications/application-audit.entity.d.ts +0 -18
- package/dist/entities/applications/application-audit.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-audit.entity.js +0 -5
- package/dist/entities/applications/application-company.entity.d.ts +0 -60
- package/dist/entities/applications/application-company.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-company.entity.js +0 -15
- package/dist/entities/applications/application-credit-profile.entity.d.ts +0 -11
- package/dist/entities/applications/application-credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-credit-profile.entity.js +0 -5
- package/dist/entities/applications/application-direct-debit.entity.d.ts +0 -24
- package/dist/entities/applications/application-direct-debit.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-direct-debit.entity.js +0 -5
- package/dist/entities/applications/application-document.entity.d.ts +0 -28
- package/dist/entities/applications/application-document.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-document.entity.js +0 -5
- package/dist/entities/applications/application-fieldconfig.entity.d.ts +0 -9
- package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-fieldconfig.entity.js +0 -5
- package/dist/entities/applications/application-illustration.entity.d.ts +0 -8
- package/dist/entities/applications/application-illustration.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-illustration.entity.js +0 -5
- package/dist/entities/applications/application-legal.entity.d.ts +0 -9
- package/dist/entities/applications/application-legal.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-legal.entity.js +0 -5
- package/dist/entities/applications/application-mortgage.entity.d.ts +0 -55
- package/dist/entities/applications/application-mortgage.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-mortgage.entity.js +0 -27
- package/dist/entities/applications/application-note.entity.d.ts +0 -37
- package/dist/entities/applications/application-note.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-note.entity.js +0 -5
- package/dist/entities/applications/application-offer.entity.d.ts +0 -8
- package/dist/entities/applications/application-offer.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-offer.entity.js +0 -5
- package/dist/entities/applications/application-onboarding.entity.d.ts +0 -11
- package/dist/entities/applications/application-onboarding.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-onboarding.entity.js +0 -5
- package/dist/entities/applications/application-product.entity.d.ts +0 -33
- package/dist/entities/applications/application-product.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-product.entity.js +0 -5
- package/dist/entities/applications/application-rationale.entity.d.ts +0 -51
- package/dist/entities/applications/application-rationale.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-rationale.entity.js +0 -5
- package/dist/entities/applications/application.entity.d.ts +0 -102
- package/dist/entities/applications/application.entity.d.ts.map +0 -1
- package/dist/entities/applications/application.entity.js +0 -66
- package/dist/entities/applications/broker.entity.d.ts +0 -23
- package/dist/entities/applications/broker.entity.d.ts.map +0 -1
- package/dist/entities/applications/broker.entity.js +0 -5
- package/dist/entities/applications/checklist-item.entity.d.ts +0 -47
- package/dist/entities/applications/checklist-item.entity.d.ts.map +0 -1
- package/dist/entities/applications/checklist-item.entity.js +0 -5
- package/dist/entities/applications/index.d.ts +0 -22
- package/dist/entities/applications/index.d.ts.map +0 -1
- package/dist/entities/applications/index.js +0 -20
- package/dist/entities/applications/product-features.entity.d.ts +0 -104
- package/dist/entities/applications/product-features.entity.d.ts.map +0 -1
- package/dist/entities/applications/product-features.entity.js +0 -20
- package/dist/entities/applications/solicitor.entity.d.ts +0 -33
- package/dist/entities/applications/solicitor.entity.d.ts.map +0 -1
- package/dist/entities/applications/solicitor.entity.js +0 -5
- package/dist/entities/index.d.ts +0 -10
- package/dist/entities/index.d.ts.map +0 -1
- package/dist/entities/index.js +0 -10
- package/dist/entities/prisma.d.ts +0 -3
- package/dist/entities/prisma.d.ts.map +0 -1
- package/dist/entities/prisma.js +0 -10
- package/dist/entities/product-catalogues/index.d.ts +0 -7
- package/dist/entities/product-catalogues/index.d.ts.map +0 -1
- package/dist/entities/product-catalogues/index.js +0 -5
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +0 -22
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-catalogue.entity.js +0 -5
- package/dist/entities/product-catalogues/product-definition.entity.d.ts +0 -28
- package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-definition.entity.js +0 -5
- package/dist/entities/product-catalogues/product-variant.entity.d.ts +0 -14
- package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-variant.entity.js +0 -5
- package/dist/entities/product-catalogues/product.entity.d.ts +0 -11
- package/dist/entities/product-catalogues/product.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product.entity.js +0 -5
- package/dist/entities/properties/data-street.entity.d.ts +0 -22
- package/dist/entities/properties/data-street.entity.d.ts.map +0 -1
- package/dist/entities/properties/data-street.entity.js +0 -5
- package/dist/entities/properties/index.d.ts +0 -6
- package/dist/entities/properties/index.d.ts.map +0 -1
- package/dist/entities/properties/index.js +0 -4
- package/dist/entities/properties/property.entity.d.ts +0 -30
- package/dist/entities/properties/property.entity.d.ts.map +0 -1
- package/dist/entities/properties/property.entity.js +0 -5
- package/dist/entities/properties/security.entity.d.ts +0 -58
- package/dist/entities/properties/security.entity.d.ts.map +0 -1
- package/dist/entities/properties/security.entity.js +0 -5
- package/dist/entities/shared/alert.entity.d.ts +0 -14
- package/dist/entities/shared/alert.entity.d.ts.map +0 -1
- package/dist/entities/shared/alert.entity.js +0 -5
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +0 -19
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +0 -1
- package/dist/entities/shared/apprivo-sync-journey.entity.js +0 -5
- package/dist/entities/shared/checklist.entity.d.ts +0 -15
- package/dist/entities/shared/checklist.entity.d.ts.map +0 -1
- package/dist/entities/shared/checklist.entity.js +0 -5
- package/dist/entities/shared/document-type.entity.d.ts +0 -9
- package/dist/entities/shared/document-type.entity.d.ts.map +0 -1
- package/dist/entities/shared/document-type.entity.js +0 -5
- package/dist/entities/shared/index.d.ts +0 -12
- package/dist/entities/shared/index.d.ts.map +0 -1
- package/dist/entities/shared/index.js +0 -10
- package/dist/entities/shared/job-run.entity.d.ts +0 -15
- package/dist/entities/shared/job-run.entity.d.ts.map +0 -1
- package/dist/entities/shared/job-run.entity.js +0 -5
- package/dist/entities/shared/job-run.model.d.ts +0 -11
- package/dist/entities/shared/job-run.model.d.ts.map +0 -1
- package/dist/entities/shared/job-setting.entity.d.ts +0 -11
- package/dist/entities/shared/job-setting.entity.d.ts.map +0 -1
- package/dist/entities/shared/job-setting.entity.js +0 -5
- package/dist/entities/shared/lookup-group.entity.d.ts +0 -11
- package/dist/entities/shared/lookup-group.entity.d.ts.map +0 -1
- package/dist/entities/shared/lookup-group.entity.js +0 -5
- package/dist/entities/shared/lookup.entity.d.ts +0 -14
- package/dist/entities/shared/lookup.entity.d.ts.map +0 -1
- package/dist/entities/shared/lookup.entity.js +0 -5
- package/dist/entities/shared/system-parameter.entity.d.ts +0 -10
- package/dist/entities/shared/system-parameter.entity.d.ts.map +0 -1
- package/dist/entities/shared/system-parameter.entity.js +0 -5
- package/dist/entities/underwriter/index.d.ts +0 -4
- package/dist/entities/underwriter/index.d.ts.map +0 -1
- package/dist/entities/underwriter/index.js +0 -2
- package/dist/entities/underwriter/underwriter.entity.d.ts +0 -19
- package/dist/entities/underwriter/underwriter.entity.d.ts.map +0 -1
- package/dist/entities/underwriter/underwriter.entity.js +0 -5
- package/dist/entities/users/auth-log.entity.d.ts +0 -11
- package/dist/entities/users/auth-log.entity.d.ts.map +0 -1
- package/dist/entities/users/auth-log.entity.js +0 -5
- package/dist/entities/users/index.d.ts +0 -8
- package/dist/entities/users/index.d.ts.map +0 -1
- package/dist/entities/users/index.js +0 -6
- package/dist/entities/users/permission.entity.d.ts +0 -12
- package/dist/entities/users/permission.entity.d.ts.map +0 -1
- package/dist/entities/users/permission.entity.js +0 -5
- package/dist/entities/users/role-group.entity.d.ts +0 -13
- package/dist/entities/users/role-group.entity.d.ts.map +0 -1
- package/dist/entities/users/role-group.entity.js +0 -5
- package/dist/entities/users/role.entity.d.ts +0 -16
- package/dist/entities/users/role.entity.d.ts.map +0 -1
- package/dist/entities/users/role.entity.js +0 -5
- package/dist/entities/users/user.entity.d.ts +0 -33
- package/dist/entities/users/user.entity.d.ts.map +0 -1
- package/dist/entities/users/user.entity.js +0 -5
- package/dist/shared/document-type-model.js +0 -10
- package/entities/applicants/applicant-credit-data.entity.ts +0 -24
- package/entities/applicants/applicant-credit-profile.entity.ts +0 -19
- package/entities/applicants/applicant-employment-income.entity.ts +0 -18
- package/entities/applicants/applicant-employment.entity.ts +0 -60
- package/entities/applicants/applicant-expenditure.entity.ts +0 -19
- package/entities/applicants/applicant-income-settings.entity.ts +0 -22
- package/entities/applicants/applicant-income.entity.ts +0 -79
- package/entities/applicants/applicant-share-holding.entity.ts +0 -23
- package/entities/applicants/applicant.entity.ts +0 -194
- package/entities/applicants/credit-card-commitment.entity.ts +0 -31
- package/entities/applicants/index.ts +0 -59
- package/entities/applicants/loan-commitment.entity.ts +0 -44
- package/entities/applicants/mortgage-commitment.entity.ts +0 -77
- package/entities/applicants/other-income.entity.ts +0 -68
- package/entities/applicants/property-income.entity.ts +0 -19
- package/entities/applicants/residence-commitment.entity.ts +0 -63
- package/entities/applicants/secure-loan-commitment.entity.ts +0 -41
- package/entities/applicants/unsecured-loan-commitment.entity.ts +0 -41
- package/entities/applications/application-audit.entity.ts +0 -23
- package/entities/applications/application-company.entity.ts +0 -76
- package/entities/applications/application-credit-profile.entity.ts +0 -13
- package/entities/applications/application-direct-debit.entity.ts +0 -29
- package/entities/applications/application-document.entity.ts +0 -33
- package/entities/applications/application-fieldconfig.entity.ts +0 -11
- package/entities/applications/application-illustration.entity.ts +0 -10
- package/entities/applications/application-legal.entity.ts +0 -11
- package/entities/applications/application-mortgage.entity.ts +0 -82
- package/entities/applications/application-note.entity.ts +0 -42
- package/entities/applications/application-offer.entity.ts +0 -10
- package/entities/applications/application-onboarding.entity.ts +0 -13
- package/entities/applications/application-product.entity.ts +0 -38
- package/entities/applications/application-rationale.entity.ts +0 -56
- package/entities/applications/application.entity.ts +0 -168
- package/entities/applications/broker.entity.ts +0 -25
- package/entities/applications/checklist-item.entity.ts +0 -49
- package/entities/applications/index.ts +0 -63
- package/entities/applications/product-features.entity.ts +0 -118
- package/entities/applications/solicitor.entity.ts +0 -38
- package/entities/index.ts +0 -14
- package/entities/prisma.ts +0 -13
- package/entities/product-catalogues/index.ts +0 -20
- package/entities/product-catalogues/product-catalogue.entity.ts +0 -27
- package/entities/product-catalogues/product-definition.entity.ts +0 -34
- package/entities/product-catalogues/product-variant.entity.ts +0 -19
- package/entities/product-catalogues/product.entity.ts +0 -16
- package/entities/properties/data-street.entity.ts +0 -27
- package/entities/properties/index.ts +0 -17
- package/entities/properties/property.entity.ts +0 -35
- package/entities/properties/security.entity.ts +0 -63
- package/entities/shared/alert.entity.ts +0 -19
- package/entities/shared/apprivo-sync-journey.entity.ts +0 -25
- package/entities/shared/apprivo-sync-journey.model.ts +0 -13
- package/entities/shared/checklist.entity.ts +0 -20
- package/entities/shared/document-type.entity.ts +0 -11
- package/entities/shared/index.ts +0 -35
- package/entities/shared/job-run.entity.ts +0 -20
- package/entities/shared/job-run.model.ts +0 -10
- package/entities/shared/job-setting.entity.ts +0 -13
- package/entities/shared/lookup-group.entity.ts +0 -16
- package/entities/shared/lookup.entity.ts +0 -19
- package/entities/shared/system-parameter.entity.ts +0 -13
- package/entities/underwriter/index.ts +0 -7
- package/entities/underwriter/underwriter.entity.ts +0 -24
- package/entities/users/auth-log.entity.ts +0 -13
- package/entities/users/index.ts +0 -23
- package/entities/users/permission.entity.ts +0 -17
- package/entities/users/role-group.entity.ts +0 -18
- package/entities/users/role.entity.ts +0 -21
- package/entities/users/user.entity.ts +0 -38
- package/prisma/applicants/applicant-credit-data.prisma +0 -19
- package/prisma/applicants/applicant-credit-profile.prisma +0 -15
- package/prisma/applicants/applicant-employment-income.prisma +0 -15
- package/prisma/applicants/applicant-employment.prisma +0 -54
- package/prisma/applicants/applicant-expenditure.prisma +0 -14
- package/prisma/applicants/applicant-income-settings.prisma +0 -17
- package/prisma/applicants/applicant-income.prisma +0 -78
- package/prisma/applicants/applicant-other-income.prisma +0 -45
- package/prisma/applicants/applicant-property-income.prisma +0 -21
- package/prisma/applicants/applicant-share-holding.prisma +0 -17
- package/prisma/applicants/applicant.prisma +0 -130
- package/prisma/applicants/credit-card-commitment.prisma +0 -21
- package/prisma/applicants/loan-commitment.prisma +0 -26
- package/prisma/applicants/mortgage-commitment.prisma +0 -43
- package/prisma/applicants/residence-commitment.prisma +0 -41
- package/prisma/applicants/secured-loan-commitment.prisma +0 -27
- package/prisma/applicants/unsecured-loan-commitment.prisma +0 -27
- package/prisma/applications/application-audit.prisma +0 -19
- package/prisma/applications/application-company.prisma +0 -56
- package/prisma/applications/application-credit-profile.prisma +0 -15
- package/prisma/applications/application-direct-debit.prisma +0 -27
- package/prisma/applications/application-document.prisma +0 -28
- package/prisma/applications/application-fieldconfig.prisma +0 -9
- package/prisma/applications/application-illustration.prisma +0 -8
- package/prisma/applications/application-legal.prisma +0 -9
- package/prisma/applications/application-mortgage.prisma +0 -48
- package/prisma/applications/application-note.prisma +0 -36
- package/prisma/applications/application-offer.prisma +0 -8
- package/prisma/applications/application-onboarding.prisma +0 -11
- package/prisma/applications/application-product.prisma +0 -33
- package/prisma/applications/application-rationale.prisma +0 -51
- package/prisma/applications/application.prisma +0 -92
- package/prisma/applications/broker.prisma +0 -26
- package/prisma/applications/checklist-item.prisma +0 -47
- package/prisma/applications/checklist.prisma +0 -19
- package/prisma/applications/product-features.prisma +0 -122
- package/prisma/applications/solicitor.prisma +0 -33
- package/prisma/broker.entity.ts +0 -8
- package/prisma/migrations/20250501070203_initial_migration/migration.sql +0 -2044
- package/prisma/migrations/20250501102630_job_setting_name_change/migration.sql +0 -10
- package/prisma/migrations/20250501104920_milstone_update/migration.sql +0 -30
- package/prisma/migrations/20250501105546_apprivo_sync_journey_update/migration.sql +0 -9
- package/prisma/migrations/20250501105850_job_run_update/migration.sql +0 -13
- package/prisma/migrations/20250505115236_update_application_schema/migration.sql +0 -115
- package/prisma/migrations/20250505145328_update_broker_schema/migration.sql +0 -8
- package/prisma/migrations/20250505185034_update_direct_debit_schema/migration.sql +0 -27
- package/prisma/migrations/20250505190613_update_solicitor_schema/migration.sql +0 -29
- package/prisma/migrations/20250506054831_update_note_schema/migration.sql +0 -12
- package/prisma/migrations/20250506142218_update_broker_schema/migration.sql +0 -17
- package/prisma/migrations/20250506190258_update_application_note_schema/migration.sql +0 -32
- package/prisma/migrations/20250506204635_update_mortgage_schema/migration.sql +0 -26
- package/prisma/migrations/20250507122847_applicant_retirement_age/migration.sql +0 -9
- package/prisma/migrations/20250507184905_update_mortgage_schema/migration.sql +0 -8
- package/prisma/migrations/20250507194746_update_direct_debit_schema/migration.sql +0 -5
- package/prisma/migrations/20250508092417_update_application_schema/migration.sql +0 -3
- package/prisma/migrations/20250508094735_update_direct_debit_schema/migration.sql +0 -2
- package/prisma/migrations/20250509073536_update_applicant_schema/migration.sql +0 -4
- package/prisma/migrations/20250509111029_update_solicitor_schema/migration.sql +0 -2
- package/prisma/migrations/20250509125107_update_mortgage_schema/migration.sql +0 -19
- package/prisma/migrations/20250512071728_update_mortgage_schema/migration.sql +0 -15
- package/prisma/migrations/20250512094011_update_property_schema/migration.sql +0 -34
- package/prisma/migrations/20250512102019_update_mortgage_schema/migration.sql +0 -2
- package/prisma/migrations/20250513132704_update_credit_card_commitment_schema/migration.sql +0 -22
- package/prisma/migrations/20250513143530_update_credit_card_commitment_schema/migration.sql +0 -8
- package/prisma/migrations/20250513170654_update_mortgage_commitment_schema/migration.sql +0 -89
- package/prisma/migrations/20250513183558_update_loan_commitment_schema/migration.sql +0 -33
- package/prisma/migrations/20250513184341_update_loan_commitment_schema/migration.sql +0 -4
- package/prisma/migrations/20250513202307_update_role_schema/migration.sql +0 -12
- package/prisma/migrations/20250514062536_update_role_group_schema/migration.sql +0 -12
- package/prisma/migrations/20250514064054_update_user_schema/migration.sql +0 -12
- package/prisma/migrations/20250514071524_update_user_schema/migration.sql +0 -15
- package/prisma/migrations/20250514072729_update_user_schema/migration.sql +0 -18
- package/prisma/migrations/20250514102042_update_user_rolegroup_role_schemas/migration.sql +0 -9
- package/prisma/migrations/20250514183537_update_application_company_schema/migration.sql +0 -100
- package/prisma/migrations/20250514194139_update_applicant_share_holding_schema/migration.sql +0 -11
- package/prisma/migrations/20250515132015_update_underwriter_schema/migration.sql +0 -56
- package/prisma/migrations/20250515133236_update_underwriter_schema/migration.sql +0 -12
- package/prisma/migrations/20250515172824_update_security_schema/migration.sql +0 -43
- package/prisma/migrations/20250516053810_update_underwriter_schema/migration.sql +0 -14
- package/prisma/migrations/20250516075153_update_commitments_schemas/migration.sql +0 -134
- package/prisma/migrations/20250516094438_update_credit_card_commitment_schema/migration.sql +0 -8
- package/prisma/migrations/20250519075211_update_product_features_schema/migration.sql +0 -15
- package/prisma/migrations/20250519094725_update_product_feature_schema/migration.sql +0 -163
- package/prisma/migrations/20250519133154_update_employemnt_income_schema/migration.sql +0 -11
- package/prisma/migrations/20250519181411_update_applicant_income_schema/migration.sql +0 -65
- package/prisma/migrations/20250520030945_update_income_settings_schema/migration.sql +0 -44
- package/prisma/migrations/20250520061455_update_income_settings_schema/migration.sql +0 -11
- package/prisma/migrations/20250521173204_update_product_catalogue_schema/migration.sql +0 -28
- package/prisma/migrations/20250521180300_update_product_variant_schema/migration.sql +0 -8
- package/prisma/migrations/20250521191050_update_product_definition_schema/migration.sql +0 -23
- package/prisma/migrations/20250521192012_update_product_definition_schema/migration.sql +0 -9
- package/prisma/migrations/20250521194549_update_product_definition_schema/migration.sql +0 -14
- package/prisma/migrations/migration_lock.toml +0 -3
- package/prisma/product-catalogues/product-catalogue.prisma +0 -22
- package/prisma/product-catalogues/product-definition.prisma +0 -16
- package/prisma/product-catalogues/product-variant.prisma +0 -15
- package/prisma/product-catalogues/product.prisma +0 -10
- package/prisma/properties/property.prisma +0 -30
- package/prisma/properties/security.prisma +0 -81
- package/prisma/schema.prisma +0 -1955
- package/prisma/shared/alert.prisma +0 -15
- package/prisma/shared/apprivo-sync-journey.prisma +0 -19
- package/prisma/shared/checklist.prisma +0 -10
- package/prisma/shared/document-type.prisma +0 -9
- package/prisma/shared/job-run.prisma +0 -15
- package/prisma/shared/job-setting.prisma +0 -11
- package/prisma/shared/lookup-group.prisma +0 -12
- package/prisma/shared/lookup.prisma +0 -154
- package/prisma/shared/system-parameter.prisma +0 -16
- package/prisma/underwriter/underwriter.prisma +0 -20
- package/prisma/users/auth-log.prisma +0 -11
- package/prisma/users/permission.prisma +0 -13
- package/prisma/users/role-group.prisma +0 -15
- package/prisma/users/role.prisma +0 -15
- package/prisma/users/user.prisma +0 -30
- /package/dist/{entities/shared/job-run.model.js → applicants/applicant-additional-income.type.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"applicant.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAOhC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AA4R5D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
|
|
@@ -3,10 +3,13 @@ import applicantCreditDataSchema from "./applicant-credit-data.model";
|
|
|
3
3
|
import applicantRiskNarrativeSchema from "./applicant-risk-narrative.model";
|
|
4
4
|
import applicantDirectDebitSchema from "./applicant-direct-debit.model";
|
|
5
5
|
import creditProfileSchema from "./applicant-credit-profile.model";
|
|
6
|
-
import { Pound } from "../value-objects/pound";
|
|
6
|
+
import { Pound, formatPound } from "../value-objects/pound";
|
|
7
|
+
import { applyAuditMiddleware } from "@dynamatix/cat-shared/middlewares";
|
|
8
|
+
import { applyWorkflowPlugin } from "../shared/workflow.plugin";
|
|
7
9
|
const applicantSchema = new mongoose.Schema({
|
|
8
10
|
applicantId: { type: String, required: true },
|
|
9
11
|
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
|
|
12
|
+
serialName: { type: String },
|
|
10
13
|
addressCity: { type: String, default: null },
|
|
11
14
|
addressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
12
15
|
addressLine1: { type: String, default: null },
|
|
@@ -21,6 +24,7 @@ const applicantSchema = new mongoose.Schema({
|
|
|
21
24
|
correspondenceAddressLine3: { type: String, default: null },
|
|
22
25
|
correspondenceAddressPostCode: { type: String, default: null },
|
|
23
26
|
countryOfResidenceLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
27
|
+
positionLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
24
28
|
dateOfBirth: { type: String, required: true },
|
|
25
29
|
dependant10Age: { type: Number, default: 0 },
|
|
26
30
|
dependant1Age: { type: Number, default: 0 },
|
|
@@ -59,7 +63,7 @@ const applicantSchema = new mongoose.Schema({
|
|
|
59
63
|
gender: { type: String, required: true },
|
|
60
64
|
hasBrokerGivenConsentForVulnerabilities: {
|
|
61
65
|
type: Boolean,
|
|
62
|
-
|
|
66
|
+
default: false,
|
|
63
67
|
},
|
|
64
68
|
hasLinkedJurisdiction: {
|
|
65
69
|
type: Boolean,
|
|
@@ -73,6 +77,7 @@ const applicantSchema = new mongoose.Schema({
|
|
|
73
77
|
isMortgageHPPCommitmentConfirmed: { type: Boolean, default: false, },
|
|
74
78
|
isSecuredLoanCommitmentConfirmed: { type: Boolean, default: false, },
|
|
75
79
|
isUnsecuredLoanCommitmentConfirmed: { type: Boolean, default: false, },
|
|
80
|
+
isExpenditureConfirmed: { type: Boolean, default: false, },
|
|
76
81
|
creditCardRationale: { type: String, default: "" }, // Rationale for credit card
|
|
77
82
|
mortgageHPPRationale: { type: String, default: "" }, // Rationale for mortgageHPP
|
|
78
83
|
securedLoanRationale: { type: String, default: "" }, // Rationale for secured loan
|
|
@@ -98,7 +103,12 @@ const applicantSchema = new mongoose.Schema({
|
|
|
98
103
|
type: Boolean,
|
|
99
104
|
required: true,
|
|
100
105
|
},
|
|
106
|
+
previousIsUkResident: {
|
|
107
|
+
type: Boolean,
|
|
108
|
+
default: false,
|
|
109
|
+
},
|
|
101
110
|
classLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
111
|
+
isExpenseOwner: Boolean,
|
|
102
112
|
pageValidFlag: { type: Boolean, default: false },
|
|
103
113
|
lastName: { type: String, required: true },
|
|
104
114
|
linkedJurisdictionCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
@@ -148,21 +158,25 @@ const applicantSchema = new mongoose.Schema({
|
|
|
148
158
|
},
|
|
149
159
|
vulnerabilityNotes: { type: String, default: null },
|
|
150
160
|
vulnerabilityTypeLids: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }],
|
|
151
|
-
|
|
161
|
+
ukPassportProfessionLid: {
|
|
152
162
|
type: mongoose.Schema.Types.ObjectId,
|
|
153
163
|
ref: "Lookup",
|
|
154
164
|
required: function () {
|
|
155
165
|
return this.isUkResident;
|
|
156
166
|
}
|
|
157
167
|
},
|
|
158
|
-
proposedFinanceAmount: { type: Pound, default: 0, description: "Proposed finance amount for fixed expenditures, defaults to 0.", },
|
|
159
|
-
topupAmount: { type: Pound, default: 0, description: "Top-up amount for fixed expenditures, defaults to 0.", },
|
|
160
|
-
creditCommitments: { type: Pound, default: 0, description: "Total credit commitments amount, defaults to 0.", },
|
|
168
|
+
proposedFinanceAmount: { type: Pound, default: 0, description: "Proposed finance amount for fixed expenditures, defaults to 0.", get: formatPound },
|
|
169
|
+
topupAmount: { type: Pound, default: 0, description: "Top-up amount for fixed expenditures, defaults to 0.", get: formatPound },
|
|
170
|
+
creditCommitments: { type: Pound, default: 0, description: "Total credit commitments amount, defaults to 0.", get: formatPound },
|
|
161
171
|
creditData: applicantCreditDataSchema,
|
|
162
172
|
riskNarrative: applicantRiskNarrativeSchema,
|
|
163
173
|
incomeSourceId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_IncomeSettings", default: null },
|
|
164
174
|
directDebit: applicantDirectDebitSchema,
|
|
165
175
|
creditProfile: creditProfileSchema,
|
|
176
|
+
employmentInformationId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_Employment_Information", default: null },
|
|
177
|
+
selfEmployedInformationId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_Self_Employment", default: null },
|
|
178
|
+
incomeSummaryId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant_Income_Summary", default: null },
|
|
179
|
+
expenseONSVersion: { type: String, default: null }
|
|
166
180
|
}, {
|
|
167
181
|
timestamps: true,
|
|
168
182
|
toJSON: { virtuals: true, getters: true },
|
|
@@ -174,9 +188,6 @@ applicantSchema.virtual('nationality').get(function () {
|
|
|
174
188
|
applicantSchema.virtual('residence').get(function () {
|
|
175
189
|
return this.countryOfResidenceLid?.name ?? null;
|
|
176
190
|
});
|
|
177
|
-
applicantSchema.virtual('industry').get(function () {
|
|
178
|
-
return this.employment?.industryLid?.name ?? null;
|
|
179
|
-
});
|
|
180
191
|
applicantSchema.virtual('employmentClass').get(function () {
|
|
181
192
|
return this.classLid?.name ?? null;
|
|
182
193
|
});
|
|
@@ -204,6 +215,9 @@ applicantSchema.virtual('vulnerabilityType').get(function () {
|
|
|
204
215
|
applicantSchema.virtual('fullName').get(function () {
|
|
205
216
|
return `${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
206
217
|
});
|
|
218
|
+
applicantSchema.virtual('displayName').get(function () {
|
|
219
|
+
return `${this.title ?? ''} ${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
220
|
+
});
|
|
207
221
|
// virtual property 'applicationType'
|
|
208
222
|
applicantSchema.virtual('applicationType').get(function () {
|
|
209
223
|
return this.applicationId?.applicationTypeLid instanceof mongoose.Types.ObjectId
|
|
@@ -223,5 +237,22 @@ applicantSchema.virtual('numberOfApplicants').get(function () {
|
|
|
223
237
|
// if it's populated and has an applicants array, return its length, otherwise 0
|
|
224
238
|
return Array.isArray(app?.applicants) ? app.applicants.length : 0;
|
|
225
239
|
});
|
|
240
|
+
applyAuditMiddleware(applicantSchema, "Applicant");
|
|
241
|
+
// Apply workflow plugin to the schema
|
|
242
|
+
applyWorkflowPlugin(applicantSchema, 'applicant');
|
|
243
|
+
// Database indexes for performance optimization
|
|
244
|
+
// Single field indexes
|
|
245
|
+
applicantSchema.index({ applicationId: 1 });
|
|
246
|
+
applicantSchema.index({ applicantId: 1 });
|
|
247
|
+
// Compound indexes
|
|
248
|
+
applicantSchema.index({ applicationId: 1, isExpenseOwner: 1 }); // For expense owner queries
|
|
249
|
+
applicantSchema.index({ applicationId: 1, _id: 1 }); // For application-scoped queries
|
|
250
|
+
// Indexes for lookup operations
|
|
251
|
+
applicantSchema.index({ nationalityLid: 1 });
|
|
252
|
+
applicantSchema.index({ countryOfResidenceLid: 1 });
|
|
253
|
+
applicantSchema.index({ maritalStatusLid: 1 });
|
|
254
|
+
applicantSchema.index({ residentialStatusLid: 1 });
|
|
255
|
+
applicantSchema.index({ addressCountryLid: 1 });
|
|
256
|
+
applicantSchema.index({ incomeSummaryId: 1 });
|
|
226
257
|
const ApplicantModel = mongoose.model("Applicant", applicantSchema);
|
|
227
258
|
export default ApplicantModel;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
21
|
+
/// <reference types="mongoose/types/session" />
|
|
22
|
+
/// <reference types="mongoose/types/types" />
|
|
23
|
+
/// <reference types="mongoose/types/utility" />
|
|
24
|
+
/// <reference types="mongoose/types/validation" />
|
|
25
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
29
|
+
import { Types } from "mongoose";
|
|
30
|
+
import { IBaseType } from "../types/base.types";
|
|
31
|
+
export default interface IApplicant extends IBaseType {
|
|
32
|
+
applicantId: string;
|
|
33
|
+
applicationId: Types.ObjectId;
|
|
34
|
+
serialName?: string;
|
|
35
|
+
addressCity?: string | null;
|
|
36
|
+
addressCountryLid?: Types.ObjectId | null;
|
|
37
|
+
addressLine1?: string | null;
|
|
38
|
+
addressLine2?: string | null;
|
|
39
|
+
addressLine3?: string | null;
|
|
40
|
+
addressMovedDate?: string | null;
|
|
41
|
+
addressPostCode?: string | null;
|
|
42
|
+
correspondenceAddressCity?: string | null;
|
|
43
|
+
correspondenceAddressCountryLid?: Types.ObjectId | null;
|
|
44
|
+
correspondenceAddressLine1?: string | null;
|
|
45
|
+
correspondenceAddressLine2?: string | null;
|
|
46
|
+
correspondenceAddressLine3?: string | null;
|
|
47
|
+
correspondenceAddressPostCode?: string | null;
|
|
48
|
+
countryOfResidenceLid: Types.ObjectId;
|
|
49
|
+
dateOfBirth: string;
|
|
50
|
+
dependant10Age?: number;
|
|
51
|
+
dependant1Age?: number;
|
|
52
|
+
dependant2Age?: number;
|
|
53
|
+
dependant3Age?: number;
|
|
54
|
+
dependant4Age?: number;
|
|
55
|
+
dependant5Age?: number;
|
|
56
|
+
dependant6Age?: number;
|
|
57
|
+
dependant7Age?: number;
|
|
58
|
+
dependant8Age?: number;
|
|
59
|
+
dependant9Age?: number;
|
|
60
|
+
email: string;
|
|
61
|
+
employmentStatusDetails?: string | null;
|
|
62
|
+
firstName: string;
|
|
63
|
+
isFirstTimelandlord?: boolean;
|
|
64
|
+
foreignIdForNationals?: string | null;
|
|
65
|
+
gdprEmail?: boolean;
|
|
66
|
+
gdprPost?: boolean;
|
|
67
|
+
gdprTelephone?: boolean;
|
|
68
|
+
gdprTextMessage?: boolean;
|
|
69
|
+
gender: string;
|
|
70
|
+
hasBrokerGivenConsentForVulnerabilities: boolean;
|
|
71
|
+
hasLinkedJurisdiction?: boolean;
|
|
72
|
+
isCorrespondence?: boolean;
|
|
73
|
+
isCreditCardCommitmentConfirmed?: boolean;
|
|
74
|
+
isMortgageHPPCommitmentConfirmed?: boolean;
|
|
75
|
+
isSecuredLoanCommitmentConfirmed?: boolean;
|
|
76
|
+
isUnsecuredLoanCommitmentConfirmed?: boolean;
|
|
77
|
+
isExpenditureConfirmed?: boolean;
|
|
78
|
+
creditCardRationale?: string;
|
|
79
|
+
mortgageHPPRationale?: string;
|
|
80
|
+
securedLoanRationale?: string;
|
|
81
|
+
unsecuredLoanRationale?: string;
|
|
82
|
+
isCurrentContract?: boolean;
|
|
83
|
+
isCustomerVulnerable?: boolean;
|
|
84
|
+
isExpat?: boolean;
|
|
85
|
+
isFirstApplicant?: boolean;
|
|
86
|
+
isUkPassport?: boolean;
|
|
87
|
+
isUkResident: boolean;
|
|
88
|
+
classLid?: Types.ObjectId | null;
|
|
89
|
+
isExpenseOwner?: boolean;
|
|
90
|
+
pageValidFlag?: boolean;
|
|
91
|
+
lastName: string;
|
|
92
|
+
linkedJurisdictionCountryLid?: Types.ObjectId | null;
|
|
93
|
+
linkedJurisdictionDetails?: string | null;
|
|
94
|
+
maidenName?: string | null;
|
|
95
|
+
maritalStatusLid: Types.ObjectId;
|
|
96
|
+
mobileNumber?: string | null;
|
|
97
|
+
nationalityLid: Types.ObjectId;
|
|
98
|
+
netIncome?: number;
|
|
99
|
+
niNumber: string;
|
|
100
|
+
numberOfDependants?: number;
|
|
101
|
+
isOneYearPrior?: boolean;
|
|
102
|
+
phoneNumber?: string | null;
|
|
103
|
+
previous1AddressCity?: string | null;
|
|
104
|
+
previous1AddressCountryLid?: Types.ObjectId | null;
|
|
105
|
+
previous1AddressLine1?: string | null;
|
|
106
|
+
previous1AddressLine2?: string | null;
|
|
107
|
+
previous1AddressLine3?: string | null;
|
|
108
|
+
previous1AddressMovedDate?: string | null;
|
|
109
|
+
previous1AddressPostCode?: string | null;
|
|
110
|
+
previous1AddressPropertyOwnedBy?: string | null;
|
|
111
|
+
previous2AddressCity?: string | null;
|
|
112
|
+
previous2AddressCountryLid?: Types.ObjectId | null;
|
|
113
|
+
previous2AddressLine1?: string | null;
|
|
114
|
+
previous2AddressLine2?: string | null;
|
|
115
|
+
previous2AddressLine3?: string | null;
|
|
116
|
+
previous2AddressMovedDate?: string | null;
|
|
117
|
+
previous2AddressPostCode?: string | null;
|
|
118
|
+
previous2AddressPropertyOwnedBy?: string | null;
|
|
119
|
+
relationshipToOthers: string;
|
|
120
|
+
residentialStatusLid?: Types.ObjectId | null;
|
|
121
|
+
retirementAge: string;
|
|
122
|
+
taxJurisdictionLid: Types.ObjectId;
|
|
123
|
+
taxPayerLid: Types.ObjectId;
|
|
124
|
+
timeResidedAtCountryOfResidence: number;
|
|
125
|
+
title: string;
|
|
126
|
+
isTwoYearPrior?: boolean;
|
|
127
|
+
understandEnglish: boolean;
|
|
128
|
+
vulnerabilityNotes?: string | null;
|
|
129
|
+
vulnerabilityTypeLids: Types.ObjectId[];
|
|
130
|
+
ukPassportProfessionLid?: Types.ObjectId;
|
|
131
|
+
proposedFinanceAmount?: number;
|
|
132
|
+
topupAmount?: number;
|
|
133
|
+
creditCommitments?: number;
|
|
134
|
+
creditData?: any;
|
|
135
|
+
riskNarrative?: any;
|
|
136
|
+
incomeSourceId?: Types.ObjectId | null;
|
|
137
|
+
directDebit?: any;
|
|
138
|
+
creditProfile?: any;
|
|
139
|
+
employmentInformationId?: Types.ObjectId | null;
|
|
140
|
+
selfEmployedInformationId?: Types.ObjectId | null;
|
|
141
|
+
incomeSummaryId?: Types.ObjectId | null;
|
|
142
|
+
expenseONSVersion?: string | null;
|
|
143
|
+
nationality?: string | null;
|
|
144
|
+
residence?: string | null;
|
|
145
|
+
employmentClass?: string | null;
|
|
146
|
+
addressCountry?: string | null;
|
|
147
|
+
previous1AddressCountry?: string | null;
|
|
148
|
+
previous2AddressCountry?: string | null;
|
|
149
|
+
maritalStatus?: string | null;
|
|
150
|
+
residentialStatus?: string | null;
|
|
151
|
+
taxPayer?: string | null;
|
|
152
|
+
vulnerabilityType?: string[];
|
|
153
|
+
fullName?: string;
|
|
154
|
+
applicationType?: string | null;
|
|
155
|
+
lendingType?: string | null;
|
|
156
|
+
numberOfApplicants?: number;
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=applicant.type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant.type.d.ts","sourceRoot":"","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KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IAClD,eAAe,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC;IACxC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGlC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { default as ApplicantModel } from
|
|
2
|
-
export { default as ApplicantEmploymentIncomeModel } from
|
|
3
|
-
export { default as CreditCardCommitmentModel } from
|
|
4
|
-
export { default as MortgageCommitmentModel } from
|
|
5
|
-
export { default as SecuredLoanCommitmentModel } from
|
|
6
|
-
export { default as UnsecuredLoanCommitmentModel } from
|
|
7
|
-
export { default as
|
|
1
|
+
export { default as ApplicantModel } from './applicant.model';
|
|
2
|
+
export { default as ApplicantEmploymentIncomeModel } from './applicant-employment-income.model';
|
|
3
|
+
export { default as CreditCardCommitmentModel } from './applicant-commitment-creditCard.model';
|
|
4
|
+
export { default as MortgageCommitmentModel } from './applicant-commitment-mortgage.model';
|
|
5
|
+
export { default as SecuredLoanCommitmentModel } from './applicant-commitment-secureLoan.model';
|
|
6
|
+
export { default as UnsecuredLoanCommitmentModel } from './applicant-commitment-unsecuredLoan.model';
|
|
7
|
+
export { default as ResidenceCommitmentModel } from './applicant-commitment-residence.model';
|
|
8
|
+
export { default as LoanCommitmentModel } from './applicant-commitment-loan.model';
|
|
8
9
|
export { default as ApplicantExpenditureModel } from './applicant-expenditure.model';
|
|
9
10
|
export { default as ApplicantPensionIncomeModel } from './applicant-pension-income.model';
|
|
10
11
|
export { default as ApplicantAdditionalIncomeModel } from './applicant-additional-income.model';
|
|
@@ -12,7 +13,22 @@ export { default as ApplicantUKTaxCreditsModel } from './applicant-uk-tax-credit
|
|
|
12
13
|
export { default as ApplicantEmploymentModel } from './applicant-employment.model';
|
|
13
14
|
export { default as ApplicantPropertyIncomeModel } from './applicant-property-income.model';
|
|
14
15
|
export { default as ApplicantSoleTraderIncomeModel } from './applicant-sole-trader-income.model';
|
|
15
|
-
export { default as ApplicantIncomeModel } from './applicant-income.model';
|
|
16
16
|
export { default as ApplicantSelfEmployedIncomeModel } from './applicant-self-employed-income.model';
|
|
17
|
+
export { default as ApplicantSelfEmploymentModel } from './applicant-self-employment.model';
|
|
17
18
|
export { default as ApplicantIncomeSettingsModel } from './applicant-income-settings.model';
|
|
19
|
+
export { default as ApplicantIncomeSummaryModel } from './applicant-income-summary.model';
|
|
20
|
+
export { default as ApplicantCreditReportModel } from './applicant-credit-report.model';
|
|
21
|
+
export { default as ApplicantAdditionalIncomeType } from './applicant-additional-income.type';
|
|
22
|
+
export { default as ApplicantEmploymentIncomeType } from './applicant-employment-income.type';
|
|
23
|
+
export { default as ApplicantPensionIncomeType } from './applicant-pension-income.type';
|
|
24
|
+
export { default as ApplicantIncomeSettingsType } from './applicant-income-settings.type';
|
|
25
|
+
export { default as ApplicantIncomeSummaryType } from './applicant-income-summary.type';
|
|
26
|
+
export { default as ApplicantSelfEmployedIncomeType } from './applicant-self-employed-income.type';
|
|
27
|
+
export { default as ApplicantSoleTraderIncomeType } from './applicant-sole-trader-income.type';
|
|
28
|
+
export { default as ApplicantUKTaxCreditsType } from './applicant-uk-tax-credits.type';
|
|
29
|
+
export { default as ApplicantExpenditureType } from './applicant-expenditure.type';
|
|
30
|
+
export { default as ApplicantType } from './applicant.type';
|
|
31
|
+
export { default as ApplicantCreditReportType } from './applicant-credit-report.type';
|
|
32
|
+
export { default as ApplicantWelcomeCallModel } from './applicant-welcome-call.model';
|
|
33
|
+
export { default as IApplicantWelcomeCallType } from './applicant-welcome-call.type';
|
|
18
34
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applicants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAEhG,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applicants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAEhG,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,yC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EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACnG,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAC/F,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC"}
|
package/dist/applicants/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { default as ApplicantModel } from
|
|
2
|
-
export { default as ApplicantEmploymentIncomeModel } from
|
|
3
|
-
export { default as CreditCardCommitmentModel } from
|
|
4
|
-
export { default as MortgageCommitmentModel } from
|
|
5
|
-
export { default as SecuredLoanCommitmentModel } from
|
|
6
|
-
export { default as UnsecuredLoanCommitmentModel } from
|
|
7
|
-
export { default as
|
|
1
|
+
export { default as ApplicantModel } from './applicant.model';
|
|
2
|
+
export { default as ApplicantEmploymentIncomeModel } from './applicant-employment-income.model';
|
|
3
|
+
export { default as CreditCardCommitmentModel } from './applicant-commitment-creditCard.model';
|
|
4
|
+
export { default as MortgageCommitmentModel } from './applicant-commitment-mortgage.model';
|
|
5
|
+
export { default as SecuredLoanCommitmentModel } from './applicant-commitment-secureLoan.model';
|
|
6
|
+
export { default as UnsecuredLoanCommitmentModel } from './applicant-commitment-unsecuredLoan.model';
|
|
7
|
+
export { default as ResidenceCommitmentModel } from './applicant-commitment-residence.model';
|
|
8
|
+
export { default as LoanCommitmentModel } from './applicant-commitment-loan.model';
|
|
8
9
|
export { default as ApplicantExpenditureModel } from './applicant-expenditure.model';
|
|
9
10
|
export { default as ApplicantPensionIncomeModel } from './applicant-pension-income.model';
|
|
10
11
|
export { default as ApplicantAdditionalIncomeModel } from './applicant-additional-income.model';
|
|
@@ -12,6 +13,9 @@ export { default as ApplicantUKTaxCreditsModel } from './applicant-uk-tax-credit
|
|
|
12
13
|
export { default as ApplicantEmploymentModel } from './applicant-employment.model';
|
|
13
14
|
export { default as ApplicantPropertyIncomeModel } from './applicant-property-income.model';
|
|
14
15
|
export { default as ApplicantSoleTraderIncomeModel } from './applicant-sole-trader-income.model';
|
|
15
|
-
export { default as ApplicantIncomeModel } from './applicant-income.model';
|
|
16
16
|
export { default as ApplicantSelfEmployedIncomeModel } from './applicant-self-employed-income.model';
|
|
17
|
+
export { default as ApplicantSelfEmploymentModel } from './applicant-self-employment.model';
|
|
17
18
|
export { default as ApplicantIncomeSettingsModel } from './applicant-income-settings.model';
|
|
19
|
+
export { default as ApplicantIncomeSummaryModel } from './applicant-income-summary.model';
|
|
20
|
+
export { default as ApplicantCreditReportModel } from './applicant-credit-report.model';
|
|
21
|
+
export { default as ApplicantWelcomeCallModel } from './applicant-welcome-call.model';
|
|
@@ -1,10 +1,38 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
21
|
+
/// <reference types="mongoose/types/session" />
|
|
22
|
+
/// <reference types="mongoose/types/types" />
|
|
23
|
+
/// <reference types="mongoose/types/utility" />
|
|
24
|
+
/// <reference types="mongoose/types/validation" />
|
|
25
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
29
|
import mongoose from "mongoose";
|
|
2
30
|
declare const ApplicationAuditModel: mongoose.Model<{
|
|
3
31
|
createdAt: NativeDate;
|
|
4
32
|
updatedAt: NativeDate;
|
|
5
33
|
} & {
|
|
6
|
-
auditId: string;
|
|
7
34
|
name: string;
|
|
35
|
+
auditId: string;
|
|
8
36
|
accountId: string;
|
|
9
37
|
auditCorrelationId: string;
|
|
10
38
|
auditDate: NativeDate;
|
|
@@ -16,8 +44,8 @@ declare const ApplicationAuditModel: mongoose.Model<{
|
|
|
16
44
|
createdAt: NativeDate;
|
|
17
45
|
updatedAt: NativeDate;
|
|
18
46
|
} & {
|
|
19
|
-
auditId: string;
|
|
20
47
|
name: string;
|
|
48
|
+
auditId: string;
|
|
21
49
|
accountId: string;
|
|
22
50
|
auditCorrelationId: string;
|
|
23
51
|
auditDate: NativeDate;
|
|
@@ -25,12 +53,12 @@ declare const ApplicationAuditModel: mongoose.Model<{
|
|
|
25
53
|
applicationId: mongoose.Types.ObjectId;
|
|
26
54
|
oldValue: string;
|
|
27
55
|
newValue: string;
|
|
28
|
-
}> & {
|
|
56
|
+
}, {}> & {
|
|
29
57
|
createdAt: NativeDate;
|
|
30
58
|
updatedAt: NativeDate;
|
|
31
59
|
} & {
|
|
32
|
-
auditId: string;
|
|
33
60
|
name: string;
|
|
61
|
+
auditId: string;
|
|
34
62
|
accountId: string;
|
|
35
63
|
auditCorrelationId: string;
|
|
36
64
|
auditDate: NativeDate;
|
|
@@ -48,8 +76,8 @@ declare const ApplicationAuditModel: mongoose.Model<{
|
|
|
48
76
|
createdAt: NativeDate;
|
|
49
77
|
updatedAt: NativeDate;
|
|
50
78
|
} & {
|
|
51
|
-
auditId: string;
|
|
52
79
|
name: string;
|
|
80
|
+
auditId: string;
|
|
53
81
|
accountId: string;
|
|
54
82
|
auditCorrelationId: string;
|
|
55
83
|
auditDate: NativeDate;
|
|
@@ -61,8 +89,8 @@ declare const ApplicationAuditModel: mongoose.Model<{
|
|
|
61
89
|
createdAt: NativeDate;
|
|
62
90
|
updatedAt: NativeDate;
|
|
63
91
|
} & {
|
|
64
|
-
auditId: string;
|
|
65
92
|
name: string;
|
|
93
|
+
auditId: string;
|
|
66
94
|
accountId: string;
|
|
67
95
|
auditCorrelationId: string;
|
|
68
96
|
auditDate: NativeDate;
|
|
@@ -70,12 +98,12 @@ declare const ApplicationAuditModel: mongoose.Model<{
|
|
|
70
98
|
applicationId: mongoose.Types.ObjectId;
|
|
71
99
|
oldValue: string;
|
|
72
100
|
newValue: string;
|
|
73
|
-
}
|
|
101
|
+
}>, {}> & mongoose.FlatRecord<{
|
|
74
102
|
createdAt: NativeDate;
|
|
75
103
|
updatedAt: NativeDate;
|
|
76
104
|
} & {
|
|
77
|
-
auditId: string;
|
|
78
105
|
name: string;
|
|
106
|
+
auditId: string;
|
|
79
107
|
accountId: string;
|
|
80
108
|
auditCorrelationId: string;
|
|
81
109
|
auditDate: NativeDate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-audit.model.d.ts","sourceRoot":"","sources":["../../applications/application-audit.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application-audit.model.d.ts","sourceRoot":"","sources":["../../applications/application-audit.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAmDhC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
|
+
import { applyWorkflowPlugin } from "../shared/workflow.plugin";
|
|
2
3
|
const applicationAuditSchema = new mongoose.Schema({
|
|
3
4
|
auditId: {
|
|
4
5
|
type: String,
|
|
@@ -38,5 +39,7 @@ const applicationAuditSchema = new mongoose.Schema({
|
|
|
38
39
|
required: true
|
|
39
40
|
}
|
|
40
41
|
}, { timestamps: true });
|
|
42
|
+
// Apply workflow plugin to the schema
|
|
43
|
+
applyWorkflowPlugin(applicationAuditSchema, 'applicationaudit');
|
|
41
44
|
const ApplicationAuditModel = mongoose.model('ApplicationAudit', applicationAuditSchema);
|
|
42
45
|
export default ApplicationAuditModel;
|
|
@@ -1,5 +1,34 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
21
|
+
/// <reference types="mongoose/types/session" />
|
|
22
|
+
/// <reference types="mongoose/types/types" />
|
|
23
|
+
/// <reference types="mongoose/types/utility" />
|
|
24
|
+
/// <reference types="mongoose/types/validation" />
|
|
25
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
29
|
import mongoose from "mongoose";
|
|
2
30
|
declare const ApplicationCheckListModel: mongoose.Model<{
|
|
31
|
+
applicationId: mongoose.Types.ObjectId;
|
|
3
32
|
additionalOfferConditions: string;
|
|
4
33
|
appFormSignedNotes: string;
|
|
5
34
|
buildingInsuranceInsurerName: string;
|
|
@@ -41,6 +70,7 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
41
70
|
valuationRequestedDate?: string | null | undefined;
|
|
42
71
|
valuationScheduledDate?: string | null | undefined;
|
|
43
72
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
73
|
+
applicationId: mongoose.Types.ObjectId;
|
|
44
74
|
additionalOfferConditions: string;
|
|
45
75
|
appFormSignedNotes: string;
|
|
46
76
|
buildingInsuranceInsurerName: string;
|
|
@@ -81,7 +111,8 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
81
111
|
valuationReceived?: string | null | undefined;
|
|
82
112
|
valuationRequestedDate?: string | null | undefined;
|
|
83
113
|
valuationScheduledDate?: string | null | undefined;
|
|
84
|
-
}> & {
|
|
114
|
+
}, {}> & {
|
|
115
|
+
applicationId: mongoose.Types.ObjectId;
|
|
85
116
|
additionalOfferConditions: string;
|
|
86
117
|
appFormSignedNotes: string;
|
|
87
118
|
buildingInsuranceInsurerName: string;
|
|
@@ -127,6 +158,7 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
127
158
|
} & {
|
|
128
159
|
__v: number;
|
|
129
160
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
161
|
+
applicationId: mongoose.Types.ObjectId;
|
|
130
162
|
additionalOfferConditions: string;
|
|
131
163
|
appFormSignedNotes: string;
|
|
132
164
|
buildingInsuranceInsurerName: string;
|
|
@@ -168,6 +200,7 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
168
200
|
valuationRequestedDate?: string | null | undefined;
|
|
169
201
|
valuationScheduledDate?: string | null | undefined;
|
|
170
202
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
203
|
+
applicationId: mongoose.Types.ObjectId;
|
|
171
204
|
additionalOfferConditions: string;
|
|
172
205
|
appFormSignedNotes: string;
|
|
173
206
|
buildingInsuranceInsurerName: string;
|
|
@@ -208,7 +241,8 @@ declare const ApplicationCheckListModel: mongoose.Model<{
|
|
|
208
241
|
valuationReceived?: string | null | undefined;
|
|
209
242
|
valuationRequestedDate?: string | null | undefined;
|
|
210
243
|
valuationScheduledDate?: string | null | undefined;
|
|
211
|
-
}
|
|
244
|
+
}>, {}> & mongoose.FlatRecord<{
|
|
245
|
+
applicationId: mongoose.Types.ObjectId;
|
|
212
246
|
additionalOfferConditions: string;
|
|
213
247
|
appFormSignedNotes: string;
|
|
214
248
|
buildingInsuranceInsurerName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-checklist-Item.model.d.ts","sourceRoot":"","sources":["../../applications/application-checklist-Item.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application-checklist-Item.model.d.ts","sourceRoot":"","sources":["../../applications/application-checklist-Item.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAuDhC,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8D,CAAC;AAC9F,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
|
+
import { applyWorkflowPlugin } from "../shared/workflow.plugin";
|
|
2
3
|
const checkListItemSchema = new mongoose.Schema({
|
|
4
|
+
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true },
|
|
3
5
|
additionalOfferConditions: { type: String, default: "" },
|
|
4
6
|
appFormSignedNotes: { type: String, default: "" },
|
|
5
7
|
applicationCompletionDate: { type: String },
|
|
@@ -41,5 +43,7 @@ const checkListItemSchema = new mongoose.Schema({
|
|
|
41
43
|
valuationScheduledDate: { type: String },
|
|
42
44
|
valuationSurveyorDetails: { type: String, default: "" }
|
|
43
45
|
});
|
|
46
|
+
// Apply workflow plugin to the schema
|
|
47
|
+
applyWorkflowPlugin(checkListItemSchema, 'applicationchecklist');
|
|
44
48
|
const ApplicationCheckListModel = mongoose.model("ApplicationCheckList", checkListItemSchema);
|
|
45
49
|
export default ApplicationCheckListModel;
|