@dynamatix/gb-schemas 1.2.149 → 1.2.151
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/applicants/applicant-additional-income.model.d.ts +26 -0
- package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-residence.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +26 -0
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-data.model.d.ts +27 -0
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts +27 -0
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts +27 -0
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment-income.model.d.ts +26 -0
- package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.d.ts +26 -0
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.d.ts +26 -0
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income-settings.model.d.ts +27 -0
- package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -1
- 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.model.d.ts +128 -102
- package/dist/applicants/applicant-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income.model.js +31 -31
- package/dist/applicants/applicant-pension-income.model.d.ts +26 -0
- package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-property-income.model.d.ts +26 -0
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-risk-narrative.model.d.ts +27 -0
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employed-income.model.d.ts +26 -0
- package/dist/applicants/applicant-self-employed-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-sole-trader-income.model.d.ts +26 -0
- package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +26 -0
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.d.ts +27 -1
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +1 -1
- package/dist/applications/application-audit.model.d.ts +27 -0
- package/dist/applications/application-audit.model.d.ts.map +1 -1
- package/dist/applications/application-checklist-Item.model.d.ts +27 -0
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
- package/dist/applications/application-company-model.d.ts +26 -0
- package/dist/applications/application-company-model.d.ts.map +1 -1
- package/dist/applications/application-credit-profile.model.d.ts +27 -0
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.d.ts +26 -0
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-document.model.d.ts +27 -0
- package/dist/applications/application-document.model.d.ts.map +1 -1
- package/dist/applications/application-euc.model.d.ts +27 -0
- package/dist/applications/application-euc.model.d.ts.map +1 -1
- package/dist/applications/application-fieldconfig.model.d.ts +27 -0
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
- package/dist/applications/application-illustration-model.d.ts +27 -0
- package/dist/applications/application-illustration-model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.d.ts +27 -0
- package/dist/applications/application-legal.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.d.ts +26 -0
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-note.model.d.ts +27 -0
- package/dist/applications/application-note.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.d.ts +27 -0
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-onboarding.model.d.ts +27 -0
- package/dist/applications/application-onboarding.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.d.ts +27 -0
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-productfeatures.model.d.ts +27 -0
- package/dist/applications/application-productfeatures.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.d.ts +27 -0
- package/dist/applications/application-rationale.model.d.ts.map +1 -1
- package/dist/applications/application-risk-narrative.model.d.ts +27 -0
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.d.ts +27 -0
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application.model.d.ts +27 -0
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/broker.model.d.ts +27 -0
- package/dist/applications/broker.model.d.ts.map +1 -1
- package/dist/applications/document.model.d.ts +27 -0
- package/dist/applications/document.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.d.ts +26 -0
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts +19 -0
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-credit-data.entity.js +5 -0
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts +14 -0
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-credit-profile.entity.js +5 -0
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts +14 -0
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-employment-income.entity.js +5 -0
- package/dist/entities/applicants/applicant-employment.entity.d.ts +54 -0
- package/dist/entities/applicants/applicant-employment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-employment.entity.js +5 -0
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts +14 -0
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-expenditure.entity.js +5 -0
- package/dist/entities/applicants/applicant-income-source.entity.d.ts +17 -0
- package/dist/entities/applicants/applicant-income-source.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-income-source.entity.js +5 -0
- package/dist/entities/applicants/applicant-income.entity.d.ts +59 -0
- package/dist/entities/applicants/applicant-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant-income.entity.js +2 -0
- package/dist/entities/applicants/applicant.entity.d.ts +143 -0
- package/dist/entities/applicants/applicant.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant.entity.js +48 -0
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts +16 -0
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-card-commitment.entity.js +5 -0
- package/dist/entities/applicants/index.d.ts +19 -0
- package/dist/entities/applicants/index.d.ts.map +1 -0
- package/dist/entities/applicants/index.js +17 -0
- package/dist/entities/applicants/loan-commitment.entity.d.ts +20 -0
- package/dist/entities/applicants/loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/loan-commitment.entity.js +5 -0
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts +37 -0
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/mortgage-commitment.entity.js +19 -0
- package/dist/entities/applicants/other-income.entity.d.ts +41 -0
- package/dist/entities/applicants/other-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/other-income.entity.js +19 -0
- package/dist/entities/applicants/property-income.entity.d.ts +17 -0
- package/dist/entities/applicants/property-income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/property-income.entity.js +5 -0
- package/dist/entities/applicants/residence-commitment.entity.d.ts +44 -0
- package/dist/entities/applicants/residence-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/residence-commitment.entity.js +19 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +21 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/secure-loan-commitment.entity.js +9 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +20 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/unsecured-loan-commitment.entity.js +10 -0
- package/dist/entities/applications/application-audit.entity.d.ts +18 -0
- package/dist/entities/applications/application-audit.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-audit.entity.js +5 -0
- package/dist/entities/applications/application-company.entity.d.ts +12 -0
- package/dist/entities/applications/application-company.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-company.entity.js +5 -0
- package/dist/entities/applications/application-credit-profile.entity.d.ts +11 -0
- package/dist/entities/applications/application-credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-credit-profile.entity.js +5 -0
- package/dist/entities/applications/application-direct-debit.entity.d.ts +24 -0
- package/dist/entities/applications/application-direct-debit.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-direct-debit.entity.js +5 -0
- package/dist/entities/applications/application-document.entity.d.ts +28 -0
- package/dist/entities/applications/application-document.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-document.entity.js +5 -0
- package/dist/entities/applications/application-fieldconfig.entity.d.ts +9 -0
- package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-fieldconfig.entity.js +5 -0
- package/dist/entities/applications/application-illustration.entity.d.ts +8 -0
- package/dist/entities/applications/application-illustration.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-illustration.entity.js +5 -0
- package/dist/entities/applications/application-legal.entity.d.ts +9 -0
- package/dist/entities/applications/application-legal.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-legal.entity.js +5 -0
- package/dist/entities/applications/application-mortgage.entity.d.ts +55 -0
- package/dist/entities/applications/application-mortgage.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-mortgage.entity.js +27 -0
- package/dist/entities/applications/application-note.entity.d.ts +37 -0
- package/dist/entities/applications/application-note.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-note.entity.js +5 -0
- package/dist/entities/applications/application-offer.entity.d.ts +8 -0
- package/dist/entities/applications/application-offer.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-offer.entity.js +5 -0
- package/dist/entities/applications/application-onboarding.entity.d.ts +11 -0
- package/dist/entities/applications/application-onboarding.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-onboarding.entity.js +5 -0
- package/dist/entities/applications/application-product.entity.d.ts +33 -0
- package/dist/entities/applications/application-product.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-product.entity.js +5 -0
- package/dist/entities/applications/application-rationale.entity.d.ts +51 -0
- package/dist/entities/applications/application-rationale.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-rationale.entity.js +5 -0
- package/dist/entities/applications/application.entity.d.ts +103 -0
- package/dist/entities/applications/application.entity.d.ts.map +1 -0
- package/dist/entities/applications/application.entity.js +66 -0
- package/dist/entities/applications/broker.entity.d.ts +23 -0
- package/dist/entities/applications/broker.entity.d.ts.map +1 -0
- package/dist/entities/applications/broker.entity.js +5 -0
- package/dist/entities/applications/checklist-item.entity.d.ts +47 -0
- package/dist/entities/applications/checklist-item.entity.d.ts.map +1 -0
- package/dist/entities/applications/checklist-item.entity.js +5 -0
- package/dist/entities/applications/company.entity.d.ts +77 -0
- package/dist/entities/applications/company.entity.d.ts.map +1 -0
- package/dist/entities/applications/company.entity.js +23 -0
- package/dist/entities/applications/index.d.ts +23 -0
- package/dist/entities/applications/index.d.ts.map +1 -0
- package/dist/entities/applications/index.js +21 -0
- package/dist/entities/applications/product-features.entity.d.ts +54 -0
- package/dist/entities/applications/product-features.entity.d.ts.map +1 -0
- package/dist/entities/applications/product-features.entity.js +5 -0
- package/dist/entities/applications/solicitor.entity.d.ts +33 -0
- package/dist/entities/applications/solicitor.entity.d.ts.map +1 -0
- package/dist/entities/applications/solicitor.entity.js +5 -0
- package/dist/entities/index.d.ts +10 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +10 -0
- package/dist/entities/prisma.d.ts +3 -0
- package/dist/entities/prisma.d.ts.map +1 -0
- package/dist/entities/prisma.js +10 -0
- package/dist/entities/product-catalogues/index.d.ts +8 -0
- package/dist/entities/product-catalogues/index.d.ts.map +1 -0
- package/dist/entities/product-catalogues/index.js +6 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +22 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-catalogue.entity.js +5 -0
- package/dist/entities/product-catalogues/product-definition.entity.d.ts +16 -0
- package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-definition.entity.js +5 -0
- package/dist/entities/product-catalogues/product-variant.entity.d.ts +14 -0
- package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product-variant.entity.js +5 -0
- package/dist/entities/product-catalogues/product.entity.d.ts +11 -0
- package/dist/entities/product-catalogues/product.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/product.entity.js +5 -0
- package/dist/entities/product-catalogues/rule.entity.d.ts +21 -0
- package/dist/entities/product-catalogues/rule.entity.d.ts.map +1 -0
- package/dist/entities/product-catalogues/rule.entity.js +5 -0
- package/dist/entities/properties/data-street.entity.d.ts +22 -0
- package/dist/entities/properties/data-street.entity.d.ts.map +1 -0
- package/dist/entities/properties/data-street.entity.js +5 -0
- package/dist/entities/properties/index.d.ts +6 -0
- package/dist/entities/properties/index.d.ts.map +1 -0
- package/dist/entities/properties/index.js +4 -0
- package/dist/entities/properties/property.entity.d.ts +30 -0
- package/dist/entities/properties/property.entity.d.ts.map +1 -0
- package/dist/entities/properties/property.entity.js +5 -0
- package/dist/entities/properties/security.entity.d.ts +57 -0
- package/dist/entities/properties/security.entity.d.ts.map +1 -0
- package/dist/entities/properties/security.entity.js +5 -0
- package/dist/entities/shared/alert.entity.d.ts +14 -0
- package/dist/entities/shared/alert.entity.d.ts.map +1 -0
- package/dist/entities/shared/alert.entity.js +5 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +19 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +1 -0
- package/dist/entities/shared/apprivo-sync-journey.entity.js +5 -0
- package/dist/entities/shared/checklist.entity.d.ts +15 -0
- package/dist/entities/shared/checklist.entity.d.ts.map +1 -0
- package/dist/entities/shared/checklist.entity.js +5 -0
- package/dist/entities/shared/document-type.entity.d.ts +9 -0
- package/dist/entities/shared/document-type.entity.d.ts.map +1 -0
- package/dist/entities/shared/document-type.entity.js +5 -0
- package/dist/entities/shared/index.d.ts +12 -0
- package/dist/entities/shared/index.d.ts.map +1 -0
- package/dist/entities/shared/index.js +10 -0
- package/dist/entities/shared/job-run.entity.d.ts +15 -0
- package/dist/entities/shared/job-run.entity.d.ts.map +1 -0
- package/dist/entities/shared/job-run.entity.js +5 -0
- package/dist/entities/shared/job-run.model.d.ts +11 -0
- package/dist/entities/shared/job-run.model.d.ts.map +1 -0
- package/dist/entities/shared/job-run.model.js +1 -0
- package/dist/entities/shared/job-setting.entity.d.ts +11 -0
- package/dist/entities/shared/job-setting.entity.d.ts.map +1 -0
- package/dist/entities/shared/job-setting.entity.js +5 -0
- package/dist/entities/shared/lookup-group.entity.d.ts +11 -0
- package/dist/entities/shared/lookup-group.entity.d.ts.map +1 -0
- package/dist/entities/shared/lookup-group.entity.js +5 -0
- package/dist/entities/shared/lookup.entity.d.ts +14 -0
- package/dist/entities/shared/lookup.entity.d.ts.map +1 -0
- package/dist/entities/shared/lookup.entity.js +5 -0
- package/dist/entities/shared/system-parameter.entity.d.ts +10 -0
- package/dist/entities/shared/system-parameter.entity.d.ts.map +1 -0
- package/dist/entities/shared/system-parameter.entity.js +5 -0
- package/dist/entities/underwriter/index.d.ts +4 -0
- package/dist/entities/underwriter/index.d.ts.map +1 -0
- package/dist/entities/underwriter/index.js +2 -0
- package/dist/entities/underwriter/underwriter.entity.d.ts +16 -0
- package/dist/entities/underwriter/underwriter.entity.d.ts.map +1 -0
- package/dist/entities/underwriter/underwriter.entity.js +5 -0
- package/dist/entities/users/auth-log.entity.d.ts +11 -0
- package/dist/entities/users/auth-log.entity.d.ts.map +1 -0
- package/dist/entities/users/auth-log.entity.js +5 -0
- package/dist/entities/users/index.d.ts +8 -0
- package/dist/entities/users/index.d.ts.map +1 -0
- package/dist/entities/users/index.js +6 -0
- package/dist/entities/users/permission.entity.d.ts +12 -0
- package/dist/entities/users/permission.entity.d.ts.map +1 -0
- package/dist/entities/users/permission.entity.js +5 -0
- package/dist/entities/users/role-group.entity.d.ts +12 -0
- package/dist/entities/users/role-group.entity.d.ts.map +1 -0
- package/dist/entities/users/role-group.entity.js +5 -0
- package/dist/entities/users/role.entity.d.ts +14 -0
- package/dist/entities/users/role.entity.d.ts.map +1 -0
- package/dist/entities/users/role.entity.js +5 -0
- package/dist/entities/users/user.entity.d.ts +35 -0
- package/dist/entities/users/user.entity.d.ts.map +1 -0
- package/dist/entities/users/user.entity.js +10 -0
- package/dist/product-catalogues/product-catalogue.model.d.ts +27 -0
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-definitions.model.d.ts +27 -0
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-variant.model.d.ts +27 -0
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
- package/dist/properties/property.model.d.ts +26 -0
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/security.model.d.ts +27 -0
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/shared/alert.model.d.ts +27 -0
- package/dist/shared/alert.model.d.ts.map +1 -1
- package/dist/shared/apprivo-sync-journey.model.d.ts +27 -0
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
- package/dist/shared/checklist.model.d.ts +27 -0
- package/dist/shared/checklist.model.d.ts.map +1 -1
- package/dist/shared/document-type-model.d.ts +27 -0
- package/dist/shared/document-type-model.d.ts.map +1 -1
- package/dist/shared/job-run.model.d.ts +27 -0
- package/dist/shared/job-run.model.d.ts.map +1 -1
- package/dist/shared/job-setting.model.d.ts +27 -0
- package/dist/shared/job-setting.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.d.ts +27 -0
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup.model.d.ts +27 -0
- package/dist/shared/lookup.model.d.ts.map +1 -1
- package/dist/shared/schema-doc.model.d.ts +27 -0
- package/dist/shared/schema-doc.model.d.ts.map +1 -1
- package/dist/shared/system-parameter.model.d.ts +27 -0
- package/dist/shared/system-parameter.model.d.ts.map +1 -1
- package/dist/shared/task-document.model.d.ts +27 -0
- package/dist/shared/task-document.model.d.ts.map +1 -1
- package/dist/shared/task.model.d.ts +27 -0
- package/dist/shared/task.model.d.ts.map +1 -1
- package/dist/underwriter/underwriter.model.d.ts +27 -0
- package/dist/underwriter/underwriter.model.d.ts.map +1 -1
- package/dist/users/auth-log.model.d.ts +27 -0
- package/dist/users/auth-log.model.d.ts.map +1 -1
- package/dist/users/permission.model.d.ts +27 -0
- package/dist/users/permission.model.d.ts.map +1 -1
- package/dist/users/role-group.model.d.ts +27 -0
- package/dist/users/role-group.model.d.ts.map +1 -1
- package/dist/users/role.model.d.ts +27 -0
- package/dist/users/role.model.d.ts.map +1 -1
- package/dist/users/tasks.model.d.ts +27 -0
- package/dist/users/tasks.model.d.ts.map +1 -1
- package/dist/users/user.model.d.ts +27 -0
- package/dist/users/user.model.d.ts.map +1 -1
- package/dist/value-objects/pound.d.ts +26 -0
- package/dist/value-objects/pound.d.ts.map +1 -1
- package/dist/value-objects/sort-code.d.ts +26 -0
- package/dist/value-objects/sort-code.d.ts.map +1 -1
- package/package.json +70 -70
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class ApplicantExpenditureEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
applicantId: string;
|
|
6
|
+
expenditureTypeLid: string;
|
|
7
|
+
amount: number;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
updatedAt: Date;
|
|
10
|
+
applicant?: ApplicantEntity;
|
|
11
|
+
expenditureType?: LookupEntity;
|
|
12
|
+
constructor(partial: Partial<ApplicantExpenditureEntity>);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=applicant-expenditure.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-expenditure.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/applicant-expenditure.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,0BAA0B;IACnC,EAAE,EAAG,MAAM,CAAC;IACZ,WAAW,EAAG,MAAM,CAAC;IACrB,kBAAkB,EAAG,MAAM,CAAC;IAC5B,MAAM,EAAG,MAAM,CAAC;IAChB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,eAAe,CAAC,EAAE,YAAY,CAAC;gBAEnB,OAAO,EAAE,OAAO,CAAC,0BAA0B,CAAC;CAG3D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class ApplicantIncomeSourceEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
employmentStatusLid?: string;
|
|
6
|
+
incomeFromEmployment?: string;
|
|
7
|
+
incomeFromPension?: string;
|
|
8
|
+
incomeFromProperty?: string;
|
|
9
|
+
incomeFromSavings?: string;
|
|
10
|
+
applicantId: string;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
applicant?: ApplicantEntity;
|
|
14
|
+
employmentStatus?: LookupEntity;
|
|
15
|
+
constructor(partial: Partial<ApplicantIncomeSourceEntity>);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=applicant-income-source.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-income-source.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/applicant-income-source.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,2BAA2B;IACpC,EAAE,EAAG,MAAM,CAAC;IACZ,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAG,MAAM,CAAC;IACrB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,gBAAgB,CAAC,EAAE,YAAY,CAAC;gBAEpB,OAAO,EAAE,OAAO,CAAC,2BAA2B,CAAC;CAG5D"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
2
|
+
export declare class ApplicantIncomeEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
accountantsAddressLine1: string;
|
|
5
|
+
accountantsAddressLine2: string;
|
|
6
|
+
accountantsAddressLine3: string;
|
|
7
|
+
accountantsCity: string;
|
|
8
|
+
accountantsCountryLid: string;
|
|
9
|
+
accountantsEmail: string;
|
|
10
|
+
accountantsPostCode: string;
|
|
11
|
+
accountantsPractice: string;
|
|
12
|
+
accountantsTelephoneNumber: string;
|
|
13
|
+
businessAddressLine1: string;
|
|
14
|
+
businessAddressLine2: string;
|
|
15
|
+
businessAddressLine3: string;
|
|
16
|
+
businessCity: string;
|
|
17
|
+
businessCountryLid: string;
|
|
18
|
+
businessPostCode: string;
|
|
19
|
+
businessTelephoneNumber: string;
|
|
20
|
+
businessTypeLid: string;
|
|
21
|
+
charteredCertifiedOrOtherLid: string;
|
|
22
|
+
contactName: string;
|
|
23
|
+
currentYearEnd: string;
|
|
24
|
+
dateEstablished: string;
|
|
25
|
+
doYouHaveAccountant: boolean;
|
|
26
|
+
isBusinessAddressDifferent: boolean;
|
|
27
|
+
nameOfBusiness: string;
|
|
28
|
+
natureOfBusiness: string;
|
|
29
|
+
netAssets1: number;
|
|
30
|
+
netAssets2: number;
|
|
31
|
+
netAssets3: number;
|
|
32
|
+
pageValidFlag: boolean;
|
|
33
|
+
percentageOfShareholding: number;
|
|
34
|
+
registeredAddressLine1: string;
|
|
35
|
+
registeredAddressLine2: string;
|
|
36
|
+
registeredAddressLine3: string;
|
|
37
|
+
registeredCity: string;
|
|
38
|
+
registeredCountryLid: string;
|
|
39
|
+
registeredPostCode: string;
|
|
40
|
+
registeredTelephone: string;
|
|
41
|
+
selfEmployedDate: string;
|
|
42
|
+
turnover1: number;
|
|
43
|
+
turnover2: number;
|
|
44
|
+
turnover3: number;
|
|
45
|
+
year1: number;
|
|
46
|
+
year2: number;
|
|
47
|
+
year3: number;
|
|
48
|
+
yearEnd1?: number;
|
|
49
|
+
yearEnd2?: number;
|
|
50
|
+
yearEnd3?: number;
|
|
51
|
+
createdAt: Date;
|
|
52
|
+
updatedAt: Date;
|
|
53
|
+
accountantsCountry?: LookupEntity;
|
|
54
|
+
businessCountry?: LookupEntity;
|
|
55
|
+
businessType?: LookupEntity;
|
|
56
|
+
charteredCertifiedOrOther?: LookupEntity;
|
|
57
|
+
registeredCountry?: LookupEntity;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=applicant-income.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant-income.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/applicant-income.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,qBAAqB;IAC9B,EAAE,EAAG,MAAM,CAAC;IACZ,uBAAuB,EAAG,MAAM,CAAC;IACjC,uBAAuB,EAAG,MAAM,CAAC;IACjC,uBAAuB,EAAG,MAAM,CAAC;IACjC,eAAe,EAAG,MAAM,CAAC;IACzB,qBAAqB,EAAG,MAAM,CAAC;IAC/B,gBAAgB,EAAG,MAAM,CAAC;IAC1B,mBAAmB,EAAG,MAAM,CAAC;IAC7B,mBAAmB,EAAG,MAAM,CAAC;IAC7B,0BAA0B,EAAG,MAAM,CAAC;IACpC,oBAAoB,EAAG,MAAM,CAAC;IAC9B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,YAAY,EAAG,MAAM,CAAC;IACtB,kBAAkB,EAAG,MAAM,CAAC;IAC5B,gBAAgB,EAAG,MAAM,CAAC;IAC1B,uBAAuB,EAAG,MAAM,CAAC;IACjC,eAAe,EA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|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { ApplicationEntity } from '../applications/application.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
import { OtherIncomeEntity } from './other-income.entity';
|
|
4
|
+
import { ApplicantExpenditureEntity } from './applicant-expenditure.entity';
|
|
5
|
+
import { ApplicantCreditProfileEntity } from './applicant-credit-profile.entity';
|
|
6
|
+
import { PropertyIncomeEntity } from './property-income.entity';
|
|
7
|
+
import { ApplicantIncomeEntity } from './applicant-income.entity';
|
|
8
|
+
import { ApplicantCreditDataEntity } from './applicant-credit-data.entity';
|
|
9
|
+
import { ApplicantEmploymentEntity } from './applicant-employment.entity';
|
|
10
|
+
import { ApplicantIncomeSourceEntity } from './applicant-income-source.entity';
|
|
11
|
+
export declare class ApplicantEntity {
|
|
12
|
+
id: string;
|
|
13
|
+
applicantId: string;
|
|
14
|
+
applicationId: string;
|
|
15
|
+
addressCity?: string;
|
|
16
|
+
addressCountryLid?: string;
|
|
17
|
+
addressLine1?: string;
|
|
18
|
+
addressLine2?: string;
|
|
19
|
+
addressLine3?: string;
|
|
20
|
+
addressMovedDate?: string;
|
|
21
|
+
addressPostCode?: string;
|
|
22
|
+
correspondenceAddressCity?: string;
|
|
23
|
+
correspondenceAddressCountryLid?: string;
|
|
24
|
+
correspondenceAddressLine1?: string;
|
|
25
|
+
correspondenceAddressLine2?: string;
|
|
26
|
+
correspondenceAddressLine3?: string;
|
|
27
|
+
correspondenceAddressPostCode?: string;
|
|
28
|
+
countryOfResidenceLid: string;
|
|
29
|
+
dateOfBirth?: string;
|
|
30
|
+
dependant10Age: number;
|
|
31
|
+
dependant1Age: number;
|
|
32
|
+
dependant2Age: number;
|
|
33
|
+
dependant3Age: number;
|
|
34
|
+
dependant4Age: number;
|
|
35
|
+
dependant5Age: number;
|
|
36
|
+
dependant6Age: number;
|
|
37
|
+
dependant7Age: number;
|
|
38
|
+
dependant8Age: number;
|
|
39
|
+
dependant9Age: number;
|
|
40
|
+
email?: string;
|
|
41
|
+
employmentStatusDetails?: string;
|
|
42
|
+
firstName: string;
|
|
43
|
+
isFirstTimelandlord: boolean;
|
|
44
|
+
foreignIdForNationals?: string;
|
|
45
|
+
gdprEmail: boolean;
|
|
46
|
+
gdprPost: boolean;
|
|
47
|
+
gdprTelephone: boolean;
|
|
48
|
+
gdprTextMessage: boolean;
|
|
49
|
+
gender: string;
|
|
50
|
+
hasBrokerGivenConsentForVulnerabilities: boolean;
|
|
51
|
+
hasLinkedJurisdiction: boolean;
|
|
52
|
+
isCorrespondence: boolean;
|
|
53
|
+
isCommitmentConfirmed: boolean;
|
|
54
|
+
isCurrentContract: boolean;
|
|
55
|
+
isCustomerVulnerable: boolean;
|
|
56
|
+
isExpat: boolean;
|
|
57
|
+
isFirstApplicant: boolean;
|
|
58
|
+
isUkPassport: boolean;
|
|
59
|
+
isUkResident: boolean;
|
|
60
|
+
classLid?: string;
|
|
61
|
+
pageValidFlag: boolean;
|
|
62
|
+
lastName: string;
|
|
63
|
+
linkedJurisdictionCountryLid?: string;
|
|
64
|
+
linkedJurisdictionDetails?: string;
|
|
65
|
+
maidenName?: string;
|
|
66
|
+
maritalStatusLid: string;
|
|
67
|
+
mobileNumber?: string;
|
|
68
|
+
nationalityLid: string;
|
|
69
|
+
netIncome: number;
|
|
70
|
+
niNumber?: string;
|
|
71
|
+
numberOfDependants: number;
|
|
72
|
+
isOneYearPrior: boolean;
|
|
73
|
+
phoneNumber?: string;
|
|
74
|
+
previous1AddressCity?: string;
|
|
75
|
+
previous1AddressCountryLid?: string;
|
|
76
|
+
previous1AddressLine1?: string;
|
|
77
|
+
previous1AddressLine2?: string;
|
|
78
|
+
previous1AddressLine3?: string;
|
|
79
|
+
previous1AddressMovedDate?: string;
|
|
80
|
+
previous1AddressPostCode?: string;
|
|
81
|
+
previous1AddressPropertyOwnedBy?: string;
|
|
82
|
+
previous2AddressCity?: string;
|
|
83
|
+
previous2AddressCountryLid?: string;
|
|
84
|
+
previous2AddressLine1?: string;
|
|
85
|
+
previous2AddressLine2?: string;
|
|
86
|
+
previous2AddressLine3?: string;
|
|
87
|
+
previous2AddressMovedDate?: string;
|
|
88
|
+
previous2AddressPostCode?: string;
|
|
89
|
+
previous2AddressPropertyOwnedBy?: string;
|
|
90
|
+
relationshipToOthers: string;
|
|
91
|
+
residentialStatusLid?: string;
|
|
92
|
+
retirementAge: number;
|
|
93
|
+
taxJurisdictionLid: string;
|
|
94
|
+
taxPayerLid: string;
|
|
95
|
+
timeResidedAtCountryOfResidence: number;
|
|
96
|
+
title: string;
|
|
97
|
+
isTwoYearPrior: boolean;
|
|
98
|
+
understandEnglish: boolean;
|
|
99
|
+
vulnerabilityNotes?: string;
|
|
100
|
+
vulnerabilityTypeLids: string[];
|
|
101
|
+
ukPassportProfessionLid?: string;
|
|
102
|
+
createdAt: Date;
|
|
103
|
+
updatedAt: Date;
|
|
104
|
+
application?: ApplicationEntity;
|
|
105
|
+
addressCountry?: LookupEntity;
|
|
106
|
+
correspondenceAddressCountry?: LookupEntity;
|
|
107
|
+
countryOfResidence?: LookupEntity;
|
|
108
|
+
class?: LookupEntity;
|
|
109
|
+
linkedJurisdictionCountry?: LookupEntity;
|
|
110
|
+
maritalStatus?: LookupEntity;
|
|
111
|
+
nationality?: LookupEntity;
|
|
112
|
+
previous1AddressCountry?: LookupEntity;
|
|
113
|
+
previous2AddressCountry?: LookupEntity;
|
|
114
|
+
residentialStatus?: LookupEntity;
|
|
115
|
+
taxJurisdiction?: LookupEntity;
|
|
116
|
+
taxPayer?: LookupEntity;
|
|
117
|
+
ukPassportProfession?: LookupEntity;
|
|
118
|
+
vulnerabilityTypes?: LookupEntity[];
|
|
119
|
+
creditData?: ApplicantCreditDataEntity;
|
|
120
|
+
otherIncome?: OtherIncomeEntity;
|
|
121
|
+
incomeSource?: ApplicantIncomeSourceEntity;
|
|
122
|
+
expenditure?: ApplicantExpenditureEntity;
|
|
123
|
+
creditProfile?: ApplicantCreditProfileEntity;
|
|
124
|
+
propertyIncome?: PropertyIncomeEntity;
|
|
125
|
+
income?: ApplicantIncomeEntity;
|
|
126
|
+
employment?: ApplicantEmploymentEntity;
|
|
127
|
+
constructor(partial: Partial<ApplicantEntity>);
|
|
128
|
+
get nationalityName(): string | null;
|
|
129
|
+
get residenceName(): string | null;
|
|
130
|
+
get employmentClassName(): string | null;
|
|
131
|
+
get addressCountryName(): string | null;
|
|
132
|
+
get previous1AddressCountryName(): string | null;
|
|
133
|
+
get previous2AddressCountryName(): string | null;
|
|
134
|
+
get maritalStatusName(): string | null;
|
|
135
|
+
get residentialStatusName(): string | null;
|
|
136
|
+
get taxPayerName(): string | null;
|
|
137
|
+
get vulnerabilityTypeNames(): string[] | null;
|
|
138
|
+
get fullName(): string;
|
|
139
|
+
get applicationTypeName(): string | null;
|
|
140
|
+
get lendingTypeName(): string | null;
|
|
141
|
+
get numberOfApplicants(): number | null;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=applicant.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applicant.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/applicant.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,2BA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constructor(partial) {
|
|
3
|
+
Object.assign(this, partial);
|
|
4
|
+
}
|
|
5
|
+
// Virtual fields from Mongoose model
|
|
6
|
+
get nationalityName() {
|
|
7
|
+
return this.nationality?.name ?? null;
|
|
8
|
+
}
|
|
9
|
+
get residenceName() {
|
|
10
|
+
return this.countryOfResidence?.name ?? null;
|
|
11
|
+
}
|
|
12
|
+
get employmentClassName() {
|
|
13
|
+
return this.class?.name ?? null;
|
|
14
|
+
}
|
|
15
|
+
get addressCountryName() {
|
|
16
|
+
return this.addressCountry?.name ?? null;
|
|
17
|
+
}
|
|
18
|
+
get previous1AddressCountryName() {
|
|
19
|
+
return this.previous1AddressCountry?.name ?? null;
|
|
20
|
+
}
|
|
21
|
+
get previous2AddressCountryName() {
|
|
22
|
+
return this.previous2AddressCountry?.name ?? null;
|
|
23
|
+
}
|
|
24
|
+
get maritalStatusName() {
|
|
25
|
+
return this.maritalStatus?.name ?? null;
|
|
26
|
+
}
|
|
27
|
+
get residentialStatusName() {
|
|
28
|
+
return this.residentialStatus?.name ?? null;
|
|
29
|
+
}
|
|
30
|
+
get taxPayerName() {
|
|
31
|
+
return this.taxPayer?.name ?? null;
|
|
32
|
+
}
|
|
33
|
+
get vulnerabilityTypeNames() {
|
|
34
|
+
return this.vulnerabilityTypes?.map(v => v.name) ?? null;
|
|
35
|
+
}
|
|
36
|
+
get fullName() {
|
|
37
|
+
return `${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
38
|
+
}
|
|
39
|
+
get applicationTypeName() {
|
|
40
|
+
return this.application?.applicationType?.name ?? null;
|
|
41
|
+
}
|
|
42
|
+
get lendingTypeName() {
|
|
43
|
+
return this.application?.lendingType?.name ?? null;
|
|
44
|
+
}
|
|
45
|
+
get numberOfApplicants() {
|
|
46
|
+
return this.application?.applicants?.length ?? null;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class CreditCardCommitmentEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
applicantId: string;
|
|
4
|
+
commitmentId: string;
|
|
5
|
+
commitmentTypeLid?: string;
|
|
6
|
+
lenderName: string;
|
|
7
|
+
creditLimit: number;
|
|
8
|
+
outstandingBalance: number;
|
|
9
|
+
creditCardRepaymentTypeLid: string;
|
|
10
|
+
monthlyPayment: number;
|
|
11
|
+
jointNames: boolean;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
constructor(partial: Partial<CreditCardCommitmentEntity>);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=credit-card-commitment.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-card-commitment.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/credit-card-commitment.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,0BAA0B;IACnC,EAAE,EAAG,MAAM,CAAC;IACZ,WAAW,EAAG,MAAM,CAAC;IACrB,YAAY,EAAG,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAG,MAAM,CAAC;IACpB,WAAW,EAAG,MAAM,CAAC;IACrB,kBAAkB,EAAG,MAAM,CAAC;IAC5B,0BAA0B,EAAG,MAAM,CAAC;IACpC,cAAc,EAAG,MAAM,CAAC;IACxB,UAAU,EAAG,OAAO,CAAC;IACrB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,0BAA0B,CAAC;CAK3D"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Applicant, ApplicantCreditData, ApplicantCreditProfile, ApplicantEmployment, ApplicantEmploymentIncome, ApplicantExpenditure, ApplicantIncome, ApplicantIncomeSource, ApplicantOtherIncome, ApplicantPropertyIncome, CreditCardCommitment, LoanCommitment, MortgageCommitment, ResidenceCommitment, SecuredLoanCommitment, UnsecuredLoanCommitment } from '@prisma/client';
|
|
2
|
+
export type { Applicant, ApplicantCreditData, ApplicantCreditProfile, ApplicantEmployment, ApplicantEmploymentIncome, ApplicantExpenditure, ApplicantIncome, ApplicantIncomeSource, ApplicantOtherIncome, ApplicantPropertyIncome, CreditCardCommitment, LoanCommitment, MortgageCommitment, ResidenceCommitment, SecuredLoanCommitment, UnsecuredLoanCommitment };
|
|
3
|
+
export * from './applicant.entity';
|
|
4
|
+
export * from './applicant-credit-data.entity';
|
|
5
|
+
export * from './applicant-credit-profile.entity';
|
|
6
|
+
export * from './applicant-employment.entity';
|
|
7
|
+
export * from './applicant-expenditure.entity';
|
|
8
|
+
export * from './applicant-income.entity';
|
|
9
|
+
export * from './applicant-income-source.entity';
|
|
10
|
+
export * from './credit-card-commitment.entity';
|
|
11
|
+
export * from './loan-commitment.entity';
|
|
12
|
+
export * from './mortgage-commitment.entity';
|
|
13
|
+
export * from './other-income.entity';
|
|
14
|
+
export * from './property-income.entity';
|
|
15
|
+
export * from './residence-commitment.entity';
|
|
16
|
+
export * from './secure-loan-commitment.entity';
|
|
17
|
+
export * from './unsecured-loan-commitment.entity';
|
|
18
|
+
export * from './applicant-employment-income.entity';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../entities/applicants/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,SAAS,EACT,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EAC1B,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACR,SAAS,EACT,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EAC1B,CAAC;AAGF,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Export entity classes
|
|
2
|
+
export * from './applicant.entity';
|
|
3
|
+
export * from './applicant-credit-data.entity';
|
|
4
|
+
export * from './applicant-credit-profile.entity';
|
|
5
|
+
export * from './applicant-employment.entity';
|
|
6
|
+
export * from './applicant-expenditure.entity';
|
|
7
|
+
export * from './applicant-income.entity';
|
|
8
|
+
export * from './applicant-income-source.entity';
|
|
9
|
+
export * from './credit-card-commitment.entity';
|
|
10
|
+
export * from './loan-commitment.entity';
|
|
11
|
+
export * from './mortgage-commitment.entity';
|
|
12
|
+
export * from './other-income.entity';
|
|
13
|
+
export * from './property-income.entity';
|
|
14
|
+
export * from './residence-commitment.entity';
|
|
15
|
+
export * from './secure-loan-commitment.entity';
|
|
16
|
+
export * from './unsecured-loan-commitment.entity';
|
|
17
|
+
export * from './applicant-employment-income.entity';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class LoanCommitmentEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
applicantId: string;
|
|
4
|
+
commitmentId: string;
|
|
5
|
+
commitmentTypeLid?: string;
|
|
6
|
+
lenderName: string;
|
|
7
|
+
loanTypeLid: string;
|
|
8
|
+
securityDetails: string;
|
|
9
|
+
purpose?: string;
|
|
10
|
+
doHaveSharedResponsibility: boolean;
|
|
11
|
+
sharedMortgage: string;
|
|
12
|
+
remainingTerm?: string;
|
|
13
|
+
startDate: string;
|
|
14
|
+
outstandingBalance: number;
|
|
15
|
+
monthlyPayment: number;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date;
|
|
18
|
+
constructor(partial: Partial<LoanCommitmentEntity>);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=loan-commitment.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loan-commitment.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/loan-commitment.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,oBAAoB;IAC7B,EAAE,EAAG,MAAM,CAAC;IACZ,WAAW,EAAG,MAAM,CAAC;IACrB,YAAY,EAAG,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAG,MAAM,CAAC;IACpB,WAAW,EAAG,MAAM,CAAC;IACrB,eAAe,EAAG,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0BAA0B,EAAG,OAAO,CAAC;IACrC,cAAc,EAAG,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,EAAG,MAAM,CAAC;IACnB,kBAAkB,EAAG,MAAM,CAAC;IAC5B,cAAc,EAAG,MAAM,CAAC;IACxB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC;CAKrD"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class MortgageCommitmentEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
applicantId: string;
|
|
6
|
+
lenderName: string;
|
|
7
|
+
propertyValue: number;
|
|
8
|
+
repaymentTypeLid: string;
|
|
9
|
+
mortgageTypeLid?: string;
|
|
10
|
+
fixedTerm: string;
|
|
11
|
+
originalLoanAmount: number;
|
|
12
|
+
outstandingBalance: number;
|
|
13
|
+
startDate: string;
|
|
14
|
+
monthlyPayment: number;
|
|
15
|
+
commitmentId: string;
|
|
16
|
+
commitmentTypeLid?: string;
|
|
17
|
+
furtherAdvances: boolean;
|
|
18
|
+
furtherAdvanceDetails: string;
|
|
19
|
+
accountUptoDate: boolean;
|
|
20
|
+
accountUptoDateFailDetails: string;
|
|
21
|
+
accountInArrears: boolean;
|
|
22
|
+
accountInArrearsDetails: string;
|
|
23
|
+
doHaveSharedResponsibility: boolean;
|
|
24
|
+
sharedMortgage: string;
|
|
25
|
+
createdAt: Date;
|
|
26
|
+
updatedAt: Date;
|
|
27
|
+
applicant?: ApplicantEntity;
|
|
28
|
+
repaymentType?: LookupEntity;
|
|
29
|
+
mortgageType?: LookupEntity;
|
|
30
|
+
commitmentType?: LookupEntity;
|
|
31
|
+
constructor(partial: Partial<MortgageCommitmentEntity>);
|
|
32
|
+
get furtherAdvancesDisplay(): string;
|
|
33
|
+
get accountUptoDateDisplay(): string;
|
|
34
|
+
get accountInArrearsDisplay(): string;
|
|
35
|
+
get doHaveSharedResponsibilityDisplay(): string;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=mortgage-commitment.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mortgage-commitment.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/mortgage-commitment.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qB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|
5
|
+
// Virtual fields from Mongoose model
|
|
6
|
+
// These are computed properties that were previously virtual in Mongoose
|
|
7
|
+
get furtherAdvancesDisplay() {
|
|
8
|
+
return this.furtherAdvances ? "Yes" : "No";
|
|
9
|
+
}
|
|
10
|
+
get accountUptoDateDisplay() {
|
|
11
|
+
return this.accountUptoDate ? "Yes" : "No";
|
|
12
|
+
}
|
|
13
|
+
get accountInArrearsDisplay() {
|
|
14
|
+
return this.accountInArrears ? "Yes" : "No";
|
|
15
|
+
}
|
|
16
|
+
get doHaveSharedResponsibilityDisplay() {
|
|
17
|
+
return this.doHaveSharedResponsibility ? "Yes" : "No";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class OtherIncomeEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
sourceDetails1?: string;
|
|
6
|
+
amount1: number;
|
|
7
|
+
payFrequency1Lid?: string;
|
|
8
|
+
guaranteed1: boolean;
|
|
9
|
+
sourceDetails2?: string;
|
|
10
|
+
amount2: number;
|
|
11
|
+
payFrequency2Lid?: string;
|
|
12
|
+
guaranteed2: boolean;
|
|
13
|
+
sourceDetails3?: string;
|
|
14
|
+
amount3: number;
|
|
15
|
+
payFrequency3Lid?: string;
|
|
16
|
+
guaranteed3: boolean;
|
|
17
|
+
sourceDetails4?: string;
|
|
18
|
+
amount4: number;
|
|
19
|
+
payFrequency4Lid?: string;
|
|
20
|
+
guaranteed4: boolean;
|
|
21
|
+
taxCredits: number;
|
|
22
|
+
maintenance: number;
|
|
23
|
+
otherBenefits: number;
|
|
24
|
+
grossPensionIncome: number;
|
|
25
|
+
privatePensionIncome: number;
|
|
26
|
+
statePensionIncome: number;
|
|
27
|
+
applicantId: string;
|
|
28
|
+
createdAt: Date;
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
applicant?: ApplicantEntity;
|
|
31
|
+
payFrequency1?: LookupEntity;
|
|
32
|
+
payFrequency2?: LookupEntity;
|
|
33
|
+
payFrequency3?: LookupEntity;
|
|
34
|
+
payFrequency4?: LookupEntity;
|
|
35
|
+
constructor(partial: Partial<OtherIncomeEntity>);
|
|
36
|
+
get guaranteed1Display(): string;
|
|
37
|
+
get guaranteed2Display(): string;
|
|
38
|
+
get guaranteed3Display(): string;
|
|
39
|
+
get guaranteed4Display(): string;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=other-income.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"other-income.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/other-income.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,iBAAiB;IAC1B,EAAE,EAAG,MAAM,CAAC;IAEZ,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAG,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAG,OAAO,CAAC;IAGtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAG,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAG,OAAO,CAAC;IAGtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAG,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAG,OAAO,CAAC;IAGtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAG,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAG,OAAO,CAAC;IAEtB,UAAU,EAAG,MAAM,CAAC;IACpB,WAAW,EAAG,MAAM,CAAC;IACrB,aAAa,EAAG,MAAM,CAAC;IACvB,kBAAkB,EAAG,MAAM,CAAC;IAC5B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,WAAW,EAAG,MAAM,CAAC;IACrB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,aAAa,CAAC,EAAE,YAAY,CAAC;gBAEjB,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAAC;IAM/C,IAAI,kBAAkB,IAAI,MAAM,CAE/B;IAED,IAAI,kBAAkB,IAAI,MAAM,CAE/B;IAED,IAAI,kBAAkB,IAAI,MAAM,CAE/B;IAED,IAAI,kBAAkB,IAAI,MAAM,CAE/B;CACJ"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export class OtherIncomeEntity {
|
|
2
|
+
constructor(partial) {
|
|
3
|
+
Object.assign(this, partial);
|
|
4
|
+
}
|
|
5
|
+
// Virtual fields from Mongoose model
|
|
6
|
+
// These are computed properties that were previously virtual in Mongoose
|
|
7
|
+
get guaranteed1Display() {
|
|
8
|
+
return this.guaranteed1 ? "Yes" : "No";
|
|
9
|
+
}
|
|
10
|
+
get guaranteed2Display() {
|
|
11
|
+
return this.guaranteed2 ? "Yes" : "No";
|
|
12
|
+
}
|
|
13
|
+
get guaranteed3Display() {
|
|
14
|
+
return this.guaranteed3 ? "Yes" : "No";
|
|
15
|
+
}
|
|
16
|
+
get guaranteed4Display() {
|
|
17
|
+
return this.guaranteed4 ? "Yes" : "No";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class PropertyIncomeEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
pageValidFlag: boolean;
|
|
4
|
+
yearEnd1: number;
|
|
5
|
+
rentalIncome1: number;
|
|
6
|
+
netProfit1: number;
|
|
7
|
+
yearEnd2: number;
|
|
8
|
+
rentalIncome2: number;
|
|
9
|
+
netProfit2: number;
|
|
10
|
+
yearEnd3: number;
|
|
11
|
+
rentalIncome3: number;
|
|
12
|
+
netProfit3: number;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
constructor(partial: Partial<PropertyIncomeEntity>);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=property-income.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"property-income.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/property-income.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,oBAAoB;IAC7B,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,OAAO,CAAC;IACxB,QAAQ,EAAG,MAAM,CAAC;IAClB,aAAa,EAAG,MAAM,CAAC;IACvB,UAAU,EAAG,MAAM,CAAC;IACpB,QAAQ,EAAG,MAAM,CAAC;IAClB,aAAa,EAAG,MAAM,CAAC;IACvB,UAAU,EAAG,MAAM,CAAC;IACpB,QAAQ,EAAG,MAAM,CAAC;IAClB,aAAa,EAAG,MAAM,CAAC;IACvB,UAAU,EAAG,MAAM,CAAC;IACpB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,oBAAoB,CAAC;CAGrD"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class ResidenceCommitmentEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
applicantId: string;
|
|
6
|
+
pageValidFlag: boolean;
|
|
7
|
+
financeTypeHppLid?: string;
|
|
8
|
+
lenderName: string;
|
|
9
|
+
propertyValue: number;
|
|
10
|
+
hppRepaymentTypeLid: string;
|
|
11
|
+
mortgageTypeLid?: string;
|
|
12
|
+
fixedTerm: string;
|
|
13
|
+
commitmentId: string;
|
|
14
|
+
originalLoanAmount: number;
|
|
15
|
+
outstandingBalance: number;
|
|
16
|
+
startDate: string;
|
|
17
|
+
mortgageRate: number;
|
|
18
|
+
remainingTermMonth: number;
|
|
19
|
+
financeHomeTypeLid: string;
|
|
20
|
+
chargeTypeLid: string;
|
|
21
|
+
monthlyPayment: number;
|
|
22
|
+
furtherAdvances: boolean;
|
|
23
|
+
furtherAdvanceDetails: string;
|
|
24
|
+
accountUptoDate: boolean;
|
|
25
|
+
accountUptoDateFailDetails: string;
|
|
26
|
+
accountInArrears: boolean;
|
|
27
|
+
accountInArrearsDetails: string;
|
|
28
|
+
doHaveSharedResponsibility: boolean;
|
|
29
|
+
sharedMortgage: string;
|
|
30
|
+
createdAt: Date;
|
|
31
|
+
updatedAt: Date;
|
|
32
|
+
applicant?: ApplicantEntity;
|
|
33
|
+
financeTypeHpp?: LookupEntity;
|
|
34
|
+
hppRepaymentType?: LookupEntity;
|
|
35
|
+
mortgageType?: LookupEntity;
|
|
36
|
+
financeHomeType?: LookupEntity;
|
|
37
|
+
chargeType?: LookupEntity;
|
|
38
|
+
constructor(partial: Partial<ResidenceCommitmentEntity>);
|
|
39
|
+
get furtherAdvancesDisplay(): string;
|
|
40
|
+
get accountUptoDateDisplay(): string;
|
|
41
|
+
get accountInArrearsDisplay(): string;
|
|
42
|
+
get doHaveSharedResponsibilityDisplay(): string;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=residence-commitment.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"residence-commitment.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/residence-commitment.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAA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