@dynamatix/gb-schemas 1.2.79 → 2.0.0
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-commitment-creditCard.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-residence.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-data.model.d.ts +0 -27
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts +0 -27
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts +0 -27
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.d.ts +0 -26
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.d.ts +50 -99
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.js +18 -49
- package/dist/applicants/applicant-income-source.model.d.ts +0 -27
- package/dist/applicants/applicant-income-source.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income.model.d.ts +0 -26
- package/dist/applicants/applicant-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-other-income.model.d.ts +0 -26
- package/dist/applicants/applicant-other-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-property-income.model.d.ts +0 -26
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-risk-narrative.model.d.ts +0 -27
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.d.ts +0 -26
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/index.d.ts +0 -1
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applicants/index.js +0 -1
- package/dist/applications/application-audit.model.d.ts +0 -27
- package/dist/applications/application-audit.model.d.ts.map +1 -1
- package/dist/applications/application-checklist-Item.model.d.ts +0 -27
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
- package/dist/applications/application-company-model.d.ts +0 -26
- package/dist/applications/application-company-model.d.ts.map +1 -1
- package/dist/applications/application-credit-profile.model.d.ts +0 -27
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.d.ts +0 -26
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-document.model.d.ts +0 -27
- package/dist/applications/application-document.model.d.ts.map +1 -1
- package/dist/applications/application-fieldconfig.model.d.ts +0 -27
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
- package/dist/applications/application-illustration-model.d.ts +0 -27
- package/dist/applications/application-illustration-model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.d.ts +0 -27
- package/dist/applications/application-legal.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.d.ts +0 -26
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-note.model.d.ts +0 -27
- package/dist/applications/application-note.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.d.ts +0 -27
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-onboarding.model.d.ts +0 -27
- package/dist/applications/application-onboarding.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.d.ts +0 -27
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.d.ts +0 -27
- package/dist/applications/application-rationale.model.d.ts.map +1 -1
- package/dist/applications/application-risk-narrative.model.d.ts +0 -27
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.d.ts +0 -27
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application.model.d.ts +0 -27
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/broker.model.d.ts +0 -27
- package/dist/applications/broker.model.d.ts.map +1 -1
- package/dist/applications/document.model.d.ts +0 -27
- package/dist/applications/document.model.d.ts.map +1 -1
- package/dist/applications/productfeatures.model.d.ts +0 -27
- package/dist/applications/productfeatures.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.d.ts +0 -26
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/entities/applicants/applicant.entity.d.ts +148 -0
- package/dist/entities/applicants/applicant.entity.d.ts.map +1 -0
- package/dist/entities/applicants/applicant.entity.js +51 -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/credit-data.entity.d.ts +19 -0
- package/dist/entities/applicants/credit-data.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-data.entity.js +5 -0
- package/dist/entities/applicants/credit-profile.entity.d.ts +11 -0
- package/dist/entities/applicants/credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applicants/credit-profile.entity.js +5 -0
- package/dist/entities/applicants/direct-debit.entity.d.ts +25 -0
- package/dist/entities/applicants/direct-debit.entity.d.ts.map +1 -0
- package/dist/entities/applicants/direct-debit.entity.js +5 -0
- package/dist/entities/applicants/employment.entity.d.ts +61 -0
- package/dist/entities/applicants/employment.entity.d.ts.map +1 -0
- package/dist/entities/applicants/employment.entity.js +10 -0
- package/dist/entities/applicants/expenditure.entity.d.ts +24 -0
- package/dist/entities/applicants/expenditure.entity.d.ts.map +1 -0
- package/dist/entities/applicants/expenditure.entity.js +5 -0
- package/dist/entities/applicants/income-source.entity.d.ts +17 -0
- package/dist/entities/applicants/income-source.entity.d.ts.map +1 -0
- package/dist/entities/applicants/income-source.entity.js +5 -0
- package/dist/entities/applicants/income.entity.d.ts +54 -0
- package/dist/entities/applicants/income.entity.d.ts.map +1 -0
- package/dist/entities/applicants/income.entity.js +5 -0
- package/dist/entities/applicants/index.d.ts +20 -0
- package/dist/entities/applicants/index.d.ts.map +1 -0
- package/dist/entities/applicants/index.js +18 -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/lookup.entity.d.ts +10 -0
- package/dist/entities/applicants/lookup.entity.d.ts.map +1 -0
- package/dist/entities/applicants/lookup.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/risk-narrative.entity.d.ts +23 -0
- package/dist/entities/applicants/risk-narrative.entity.d.ts.map +1 -0
- package/dist/entities/applicants/risk-narrative.entity.js +5 -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-direct-debit.entity.d.ts +12 -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 +36 -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-risk-narrative.entity.d.ts +17 -0
- package/dist/entities/applications/application-risk-narrative.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-risk-narrative.entity.js +5 -0
- package/dist/entities/applications/application-valuation.entity.d.ts +18 -0
- package/dist/entities/applications/application-valuation.entity.d.ts.map +1 -0
- package/dist/entities/applications/application-valuation.entity.js +5 -0
- package/dist/entities/applications/application.entity.d.ts +99 -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/credit-profile.entity.d.ts +11 -0
- package/dist/entities/applications/credit-profile.entity.d.ts.map +1 -0
- package/dist/entities/applications/credit-profile.entity.js +5 -0
- package/dist/entities/applications/index.d.ts +25 -0
- package/dist/entities/applications/index.d.ts.map +1 -0
- package/dist/entities/applications/index.js +23 -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 +16 -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 +11 -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-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/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/product-catalogues/product-catalogue.model.d.ts +0 -27
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-definitions.model.d.ts +0 -27
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-variant.model.d.ts +0 -27
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
- package/dist/properties/property.model.d.ts +0 -26
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/security.model.d.ts +0 -27
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/shared/alert.model.d.ts +0 -27
- package/dist/shared/alert.model.d.ts.map +1 -1
- package/dist/shared/apprivo-sync-journey.model.d.ts +0 -27
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
- package/dist/shared/checklist.model.d.ts +0 -27
- package/dist/shared/checklist.model.d.ts.map +1 -1
- package/dist/shared/document-type-model.d.ts +0 -27
- package/dist/shared/document-type-model.d.ts.map +1 -1
- package/dist/shared/job-run.model.d.ts +0 -27
- package/dist/shared/job-run.model.d.ts.map +1 -1
- package/dist/shared/job-setting.model.d.ts +0 -27
- package/dist/shared/job-setting.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.d.ts +0 -27
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup.model.d.ts +0 -27
- package/dist/shared/lookup.model.d.ts.map +1 -1
- package/dist/shared/schema-doc.model.d.ts +0 -27
- package/dist/shared/schema-doc.model.d.ts.map +1 -1
- package/dist/shared/system-parameter.model.d.ts +0 -27
- package/dist/shared/system-parameter.model.d.ts.map +1 -1
- package/dist/shared/task-document.model.d.ts +0 -27
- package/dist/shared/task-document.model.d.ts.map +1 -1
- package/dist/shared/task.model.d.ts +0 -27
- package/dist/shared/task.model.d.ts.map +1 -1
- package/dist/underwriter/underwriter.model.d.ts +0 -27
- package/dist/underwriter/underwriter.model.d.ts.map +1 -1
- package/dist/users/auth-log.model.d.ts +0 -27
- package/dist/users/auth-log.model.d.ts.map +1 -1
- package/dist/users/permission.model.d.ts +0 -27
- package/dist/users/permission.model.d.ts.map +1 -1
- package/dist/users/role-group.model.d.ts +0 -27
- package/dist/users/role-group.model.d.ts.map +1 -1
- package/dist/users/role.model.d.ts +0 -27
- package/dist/users/role.model.d.ts.map +1 -1
- package/dist/users/tasks.model.d.ts +0 -27
- package/dist/users/tasks.model.d.ts.map +1 -1
- package/dist/users/user.model.d.ts +0 -27
- package/dist/users/user.model.d.ts.map +1 -1
- package/dist/value-objects/pound.d.ts +0 -26
- package/dist/value-objects/pound.d.ts.map +1 -1
- package/dist/value-objects/sort-code.d.ts +0 -26
- package/dist/value-objects/sort-code.d.ts.map +1 -1
- package/entities/applicants/applicant.entity.ts +201 -0
- package/entities/applicants/credit-card-commitment.entity.ts +20 -0
- package/entities/applicants/credit-data.entity.ts +24 -0
- package/entities/applicants/credit-profile.entity.ts +13 -0
- package/entities/applicants/direct-debit.entity.ts +30 -0
- package/entities/applicants/employment.entity.ts +71 -0
- package/entities/applicants/expenditure.entity.ts +29 -0
- package/entities/applicants/income-source.entity.ts +22 -0
- package/entities/applicants/income.entity.ts +58 -0
- package/entities/applicants/index.ts +59 -0
- package/entities/applicants/loan-commitment.entity.ts +24 -0
- package/entities/applicants/mortgage-commitment.entity.ts +56 -0
- package/entities/applicants/other-income.entity.ts +68 -0
- package/entities/applicants/property-income.entity.ts +19 -0
- package/entities/applicants/residence-commitment.entity.ts +63 -0
- package/entities/applicants/risk-narrative.entity.ts +28 -0
- package/entities/applicants/secure-loan-commitment.entity.ts +30 -0
- package/entities/applicants/unsecured-loan-commitment.entity.ts +30 -0
- package/entities/applications/application-audit.entity.ts +23 -0
- package/entities/applications/application-company.entity.ts +17 -0
- package/entities/applications/application-direct-debit.entity.ts +17 -0
- package/entities/applications/application-document.entity.ts +33 -0
- package/entities/applications/application-fieldconfig.entity.ts +11 -0
- package/entities/applications/application-illustration.entity.ts +10 -0
- package/entities/applications/application-legal.entity.ts +11 -0
- package/entities/applications/application-mortgage.entity.ts +82 -0
- package/entities/applications/application-note.entity.ts +41 -0
- package/entities/applications/application-offer.entity.ts +10 -0
- package/entities/applications/application-onboarding.entity.ts +13 -0
- package/entities/applications/application-product.entity.ts +38 -0
- package/entities/applications/application-rationale.entity.ts +56 -0
- package/entities/applications/application-risk-narrative.entity.ts +22 -0
- package/entities/applications/application-valuation.entity.ts +20 -0
- package/entities/applications/application.entity.ts +165 -0
- package/entities/applications/broker.entity.ts +25 -0
- package/entities/applications/checklist-item.entity.ts +49 -0
- package/entities/applications/company.entity.ts +102 -0
- package/entities/applications/credit-profile.entity.ts +13 -0
- package/entities/applications/index.ts +74 -0
- package/entities/applications/product-features.entity.ts +56 -0
- package/entities/applications/solicitor.entity.ts +38 -0
- package/entities/index.ts +14 -0
- package/entities/prisma.ts +13 -0
- package/entities/product-catalogues/index.ts +23 -0
- package/entities/product-catalogues/product-catalogue.entity.ts +27 -0
- package/entities/product-catalogues/product-definition.entity.ts +21 -0
- package/entities/product-catalogues/product-variant.entity.ts +19 -0
- package/entities/product-catalogues/product.entity.ts +16 -0
- package/entities/product-catalogues/rule.entity.ts +26 -0
- package/entities/properties/data-street.entity.ts +27 -0
- package/entities/properties/index.ts +17 -0
- package/entities/properties/property.entity.ts +36 -0
- package/entities/properties/security.entity.ts +62 -0
- package/entities/shared/alert.entity.ts +19 -0
- package/entities/shared/apprivo-sync-journey.entity.ts +21 -0
- package/entities/shared/checklist.entity.ts +20 -0
- package/entities/shared/document-type.entity.ts +11 -0
- package/entities/shared/index.ts +35 -0
- package/entities/shared/job-run.entity.ts +13 -0
- package/entities/shared/job-setting.entity.ts +13 -0
- package/entities/shared/lookup-group.entity.ts +16 -0
- package/entities/shared/lookup.entity.ts +19 -0
- package/entities/shared/system-parameter.entity.ts +13 -0
- package/entities/underwriter/index.ts +7 -0
- package/entities/underwriter/underwriter.entity.ts +19 -0
- package/entities/users/auth-log.entity.ts +13 -0
- package/entities/users/index.ts +23 -0
- package/entities/users/permission.entity.ts +17 -0
- package/entities/users/role-group.entity.ts +17 -0
- package/entities/users/role.entity.ts +19 -0
- package/entities/users/user.entity.ts +44 -0
- package/package.json +30 -17
- package/prisma/applicants/applicant.prisma +125 -0
- package/prisma/applicants/credit-card-commitment.prisma +21 -0
- package/prisma/applicants/credit-data.prisma +19 -0
- package/prisma/applicants/credit-profile.prisma +14 -0
- package/prisma/applicants/direct-debit.prisma +25 -0
- package/prisma/applicants/employment.prisma +59 -0
- package/prisma/applicants/expenditure.prisma +26 -0
- package/prisma/applicants/income-source.prisma +17 -0
- package/prisma/applicants/income.prisma +61 -0
- package/prisma/applicants/loan-commitment.prisma +25 -0
- package/prisma/applicants/mortgage-commitment.prisma +33 -0
- package/prisma/applicants/other-income.prisma +45 -0
- package/prisma/applicants/property-income.prisma +17 -0
- package/prisma/applicants/residence-commitment.prisma +40 -0
- package/prisma/applicants/risk-narrative.prisma +23 -0
- package/prisma/applicants/secured-loan-commitment.prisma +21 -0
- package/prisma/applicants/unsecured-loan-commitment.prisma +20 -0
- package/prisma/applications/application-audit.prisma +19 -0
- package/prisma/applications/application-company.prisma +11 -0
- package/prisma/applications/application-direct-debit.prisma +11 -0
- package/prisma/applications/application-document.prisma +28 -0
- package/prisma/applications/application-fieldconfig.prisma +9 -0
- package/prisma/applications/application-illustration.prisma +8 -0
- package/prisma/applications/application-legal.prisma +9 -0
- package/prisma/applications/application-mortgage.prisma +48 -0
- package/prisma/applications/application-note.prisma +35 -0
- package/prisma/applications/application-offer.prisma +8 -0
- package/prisma/applications/application-onboarding.prisma +11 -0
- package/prisma/applications/application-product.prisma +33 -0
- package/prisma/applications/application-rationale.prisma +51 -0
- package/prisma/applications/application-risk-narrative.prisma +18 -0
- package/prisma/applications/application-valuation.prisma +18 -0
- package/prisma/applications/application.prisma +83 -0
- package/prisma/applications/broker.prisma +23 -0
- package/prisma/applications/checklist-item.prisma +47 -0
- package/prisma/applications/checklist.prisma +19 -0
- package/prisma/applications/company.prisma +76 -0
- package/prisma/applications/credit-profile.prisma +11 -0
- package/prisma/applications/product-features.prisma +54 -0
- package/prisma/applications/solicitor.prisma +33 -0
- package/prisma/migrations/20250430085825_initial_migration/migration.sql +2090 -0
- package/prisma/migrations/migration_lock.toml +3 -0
- package/prisma/product-catalogues/product-catalogue.prisma +22 -0
- package/prisma/product-catalogues/product-definition.prisma +39 -0
- package/prisma/product-catalogues/product-variant.prisma +15 -0
- package/prisma/product-catalogues/product.prisma +10 -0
- package/prisma/properties/property.prisma +30 -0
- package/prisma/properties/security.prisma +80 -0
- package/prisma/schema.prisma +1925 -0
- package/prisma/shared/alert.prisma +15 -0
- package/prisma/shared/apprivo-sync-journey.prisma +12 -0
- package/prisma/shared/checklist.prisma +10 -0
- package/prisma/shared/document-type.prisma +9 -0
- package/prisma/shared/job-run.prisma +11 -0
- package/prisma/shared/job-setting.prisma +11 -0
- package/prisma/shared/lookup-group.prisma +12 -0
- package/prisma/shared/lookup.prisma +144 -0
- package/prisma/shared/system-parameter.prisma +16 -0
- package/prisma/underwriter/underwriter.prisma +21 -0
- package/prisma/users/auth-log.prisma +11 -0
- package/prisma/users/permission.prisma +13 -0
- package/prisma/users/role-group.prisma +14 -0
- package/prisma/users/role.prisma +14 -0
- package/prisma/users/user.prisma +44 -0
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
-
/// <reference types="mongoose/types/callback" />
|
|
4
|
-
/// <reference types="mongoose/types/collection" />
|
|
5
|
-
/// <reference types="mongoose/types/connection" />
|
|
6
|
-
/// <reference types="mongoose/types/cursor" />
|
|
7
|
-
/// <reference types="mongoose/types/document" />
|
|
8
|
-
/// <reference types="mongoose/types/error" />
|
|
9
|
-
/// <reference types="mongoose/types/expressions" />
|
|
10
|
-
/// <reference types="mongoose/types/helpers" />
|
|
11
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
-
/// <reference types="mongoose/types/indexes" />
|
|
13
|
-
/// <reference types="mongoose/types/models" />
|
|
14
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
-
/// <reference types="mongoose/types/populate" />
|
|
17
|
-
/// <reference types="mongoose/types/query" />
|
|
18
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
20
|
-
/// <reference types="mongoose/types/session" />
|
|
21
|
-
/// <reference types="mongoose/types/types" />
|
|
22
|
-
/// <reference types="mongoose/types/utility" />
|
|
23
|
-
/// <reference types="mongoose/types/validation" />
|
|
24
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
27
1
|
import mongoose from "mongoose";
|
|
28
2
|
import { SortCode } from "../value-objects/sort-code";
|
|
29
3
|
declare const SolicitorModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAsHtD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { ApplicationEntity } from '../applications/application.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
import { RiskNarrativeEntity } from './risk-narrative.entity';
|
|
4
|
+
import { OtherIncomeEntity } from './other-income.entity';
|
|
5
|
+
import { IncomeSourceEntity } from './income-source.entity';
|
|
6
|
+
import { ExpenditureEntity } from './expenditure.entity';
|
|
7
|
+
import { EmploymentEntity } from './employment.entity';
|
|
8
|
+
import { DirectDebitEntity } from './direct-debit.entity';
|
|
9
|
+
import { CreditProfileEntity } from './credit-profile.entity';
|
|
10
|
+
import { PropertyIncomeEntity } from './property-income.entity';
|
|
11
|
+
import { IncomeEntity } from './income.entity';
|
|
12
|
+
import { CreditDataEntity } from './credit-data.entity';
|
|
13
|
+
export declare class ApplicantEntity {
|
|
14
|
+
id: string;
|
|
15
|
+
applicantId: string;
|
|
16
|
+
applicationId: string;
|
|
17
|
+
addressCity?: string;
|
|
18
|
+
addressCountryLid?: string;
|
|
19
|
+
addressLine1?: string;
|
|
20
|
+
addressLine2?: string;
|
|
21
|
+
addressLine3?: string;
|
|
22
|
+
addressMovedDate?: string;
|
|
23
|
+
addressPostCode?: string;
|
|
24
|
+
correspondenceAddressCity?: string;
|
|
25
|
+
correspondenceAddressCountryLid?: string;
|
|
26
|
+
correspondenceAddressLine1?: string;
|
|
27
|
+
correspondenceAddressLine2?: string;
|
|
28
|
+
correspondenceAddressLine3?: string;
|
|
29
|
+
correspondenceAddressPostCode?: string;
|
|
30
|
+
countryOfResidenceLid: string;
|
|
31
|
+
dateOfBirth: string;
|
|
32
|
+
dependant10Age: number;
|
|
33
|
+
dependant1Age: number;
|
|
34
|
+
dependant2Age: number;
|
|
35
|
+
dependant3Age: number;
|
|
36
|
+
dependant4Age: number;
|
|
37
|
+
dependant5Age: number;
|
|
38
|
+
dependant6Age: number;
|
|
39
|
+
dependant7Age: number;
|
|
40
|
+
dependant8Age: number;
|
|
41
|
+
dependant9Age: number;
|
|
42
|
+
email: string;
|
|
43
|
+
employmentStatusDetails?: string;
|
|
44
|
+
firstName: string;
|
|
45
|
+
isFirstTimelandlord: boolean;
|
|
46
|
+
foreignIdForNationals?: string;
|
|
47
|
+
gdprEmail: boolean;
|
|
48
|
+
gdprPost: boolean;
|
|
49
|
+
gdprTelephone: boolean;
|
|
50
|
+
gdprTextMessage: boolean;
|
|
51
|
+
gender: string;
|
|
52
|
+
hasBrokerGivenConsentForVulnerabilities: boolean;
|
|
53
|
+
hasLinkedJurisdiction: boolean;
|
|
54
|
+
isCorrespondence: boolean;
|
|
55
|
+
isCommitmentConfirmed: boolean;
|
|
56
|
+
isCurrentContract: boolean;
|
|
57
|
+
isCustomerVulnerable: boolean;
|
|
58
|
+
isExpat: boolean;
|
|
59
|
+
isFirstApplicant: boolean;
|
|
60
|
+
isUkPassport: boolean;
|
|
61
|
+
isUkResident: boolean;
|
|
62
|
+
classLid?: string;
|
|
63
|
+
pageValidFlag: boolean;
|
|
64
|
+
lastName: string;
|
|
65
|
+
linkedJurisdictionCountryLid?: string;
|
|
66
|
+
linkedJurisdictionDetails?: string;
|
|
67
|
+
maidenName?: string;
|
|
68
|
+
maritalStatusLid: string;
|
|
69
|
+
mobileNumber?: string;
|
|
70
|
+
nationalityLid: string;
|
|
71
|
+
netIncome: number;
|
|
72
|
+
niNumber: string;
|
|
73
|
+
numberOfDependants: number;
|
|
74
|
+
isOneYearPrior: boolean;
|
|
75
|
+
phoneNumber?: string;
|
|
76
|
+
previous1AddressCity?: string;
|
|
77
|
+
previous1AddressCountryLid?: string;
|
|
78
|
+
previous1AddressLine1?: string;
|
|
79
|
+
previous1AddressLine2?: string;
|
|
80
|
+
previous1AddressLine3?: string;
|
|
81
|
+
previous1AddressMovedDate?: string;
|
|
82
|
+
previous1AddressPostCode?: string;
|
|
83
|
+
previous1AddressPropertyOwnedBy?: string;
|
|
84
|
+
previous2AddressCity?: string;
|
|
85
|
+
previous2AddressCountryLid?: string;
|
|
86
|
+
previous2AddressLine1?: string;
|
|
87
|
+
previous2AddressLine2?: string;
|
|
88
|
+
previous2AddressLine3?: string;
|
|
89
|
+
previous2AddressMovedDate?: string;
|
|
90
|
+
previous2AddressPostCode?: string;
|
|
91
|
+
previous2AddressPropertyOwnedBy?: string;
|
|
92
|
+
relationshipToOthers: string;
|
|
93
|
+
residentialStatusLid?: string;
|
|
94
|
+
retirementAge: string;
|
|
95
|
+
taxJurisdictionLid: string;
|
|
96
|
+
taxPayerLid: string;
|
|
97
|
+
timeResidedAtCountryOfResidence: number;
|
|
98
|
+
title: string;
|
|
99
|
+
isTwoYearPrior: boolean;
|
|
100
|
+
understandEnglish: boolean;
|
|
101
|
+
vulnerabilityNotes?: string;
|
|
102
|
+
vulnerabilityTypeLids: string[];
|
|
103
|
+
ukPassportProfessionLid?: string;
|
|
104
|
+
createdAt: Date;
|
|
105
|
+
updatedAt: Date;
|
|
106
|
+
application?: ApplicationEntity;
|
|
107
|
+
addressCountry?: LookupEntity;
|
|
108
|
+
correspondenceAddressCountry?: LookupEntity;
|
|
109
|
+
countryOfResidence?: LookupEntity;
|
|
110
|
+
class?: LookupEntity;
|
|
111
|
+
linkedJurisdictionCountry?: LookupEntity;
|
|
112
|
+
maritalStatus?: LookupEntity;
|
|
113
|
+
nationality?: LookupEntity;
|
|
114
|
+
previous1AddressCountry?: LookupEntity;
|
|
115
|
+
previous2AddressCountry?: LookupEntity;
|
|
116
|
+
residentialStatus?: LookupEntity;
|
|
117
|
+
taxJurisdiction?: LookupEntity;
|
|
118
|
+
taxPayer?: LookupEntity;
|
|
119
|
+
ukPassportProfession?: LookupEntity;
|
|
120
|
+
vulnerabilityTypes?: LookupEntity[];
|
|
121
|
+
creditData?: CreditDataEntity;
|
|
122
|
+
riskNarrative?: RiskNarrativeEntity;
|
|
123
|
+
otherIncome?: OtherIncomeEntity;
|
|
124
|
+
incomeSource?: IncomeSourceEntity;
|
|
125
|
+
expenditure?: ExpenditureEntity;
|
|
126
|
+
employment?: EmploymentEntity;
|
|
127
|
+
directDebit?: DirectDebitEntity;
|
|
128
|
+
creditProfile?: CreditProfileEntity;
|
|
129
|
+
propertyIncome?: PropertyIncomeEntity;
|
|
130
|
+
income?: IncomeEntity;
|
|
131
|
+
constructor(partial: Partial<ApplicantEntity>);
|
|
132
|
+
get nationalityName(): string | null;
|
|
133
|
+
get residenceName(): string | null;
|
|
134
|
+
get industryName(): string | null;
|
|
135
|
+
get employmentClassName(): string | null;
|
|
136
|
+
get addressCountryName(): string | null;
|
|
137
|
+
get previous1AddressCountryName(): string | null;
|
|
138
|
+
get previous2AddressCountryName(): string | null;
|
|
139
|
+
get maritalStatusName(): string | null;
|
|
140
|
+
get residentialStatusName(): string | null;
|
|
141
|
+
get taxPayerName(): string | null;
|
|
142
|
+
get vulnerabilityTypeNames(): string[] | null;
|
|
143
|
+
get fullName(): string;
|
|
144
|
+
get applicationTypeName(): string | null;
|
|
145
|
+
get lendingTypeName(): string | null;
|
|
146
|
+
get numberOfApplicants(): number | null;
|
|
147
|
+
}
|
|
148
|
+
//# 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,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,qBAAa,eAAe;IACxB,EAAE,EAAG,MAAM,CAAC;IACZ,WAAW,EAAG,MAAM,CAAC;IACrB,aAAa,EAAG,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,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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 industryName() {
|
|
13
|
+
return this.employment?.industry?.name ?? null;
|
|
14
|
+
}
|
|
15
|
+
get employmentClassName() {
|
|
16
|
+
return this.class?.name ?? null;
|
|
17
|
+
}
|
|
18
|
+
get addressCountryName() {
|
|
19
|
+
return this.addressCountry?.name ?? null;
|
|
20
|
+
}
|
|
21
|
+
get previous1AddressCountryName() {
|
|
22
|
+
return this.previous1AddressCountry?.name ?? null;
|
|
23
|
+
}
|
|
24
|
+
get previous2AddressCountryName() {
|
|
25
|
+
return this.previous2AddressCountry?.name ?? null;
|
|
26
|
+
}
|
|
27
|
+
get maritalStatusName() {
|
|
28
|
+
return this.maritalStatus?.name ?? null;
|
|
29
|
+
}
|
|
30
|
+
get residentialStatusName() {
|
|
31
|
+
return this.residentialStatus?.name ?? null;
|
|
32
|
+
}
|
|
33
|
+
get taxPayerName() {
|
|
34
|
+
return this.taxPayer?.name ?? null;
|
|
35
|
+
}
|
|
36
|
+
get vulnerabilityTypeNames() {
|
|
37
|
+
return this.vulnerabilityTypes?.map(v => v.name) ?? null;
|
|
38
|
+
}
|
|
39
|
+
get fullName() {
|
|
40
|
+
return `${this.firstName ?? ''} ${this.lastName ?? ''}`.trim();
|
|
41
|
+
}
|
|
42
|
+
get applicationTypeName() {
|
|
43
|
+
return this.application?.applicationType?.name ?? null;
|
|
44
|
+
}
|
|
45
|
+
get lendingTypeName() {
|
|
46
|
+
return this.application?.lendingType?.name ?? null;
|
|
47
|
+
}
|
|
48
|
+
get numberOfApplicants() {
|
|
49
|
+
return this.application?.applicants?.length ?? null;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -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 { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class CreditDataEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
bankruptcy: string;
|
|
6
|
+
countyCourtJudgment: string;
|
|
7
|
+
creditDefaults?: string;
|
|
8
|
+
securedArrears: string;
|
|
9
|
+
statusLid: string;
|
|
10
|
+
unsecuredArrears: string;
|
|
11
|
+
valid: string;
|
|
12
|
+
applicantId: string;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
applicant?: ApplicantEntity;
|
|
16
|
+
status?: LookupEntity;
|
|
17
|
+
constructor(partial: Partial<CreditDataEntity>);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=credit-data.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-data.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/credit-data.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,gBAAgB;IACzB,EAAE,EAAG,MAAM,CAAC;IACZ,UAAU,EAAG,MAAM,CAAC;IACpB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,EAAG,MAAM,CAAC;IACxB,SAAS,EAAG,MAAM,CAAC;IACnB,gBAAgB,EAAG,MAAM,CAAC;IAC1B,KAAK,EAAG,MAAM,CAAC;IACf,WAAW,EAAG,MAAM,CAAC;IACrB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,MAAM,CAAC,EAAE,YAAY,CAAC;gBAEV,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAAC;CAGjD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class CreditProfileEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
anyVoluntaryEnforcedPossessionNo: string;
|
|
4
|
+
bankruptcyNo: string;
|
|
5
|
+
ccjInLastThreeYearNo: string;
|
|
6
|
+
defaultsInLastYearNo: string;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
constructor(partial: Partial<CreditProfileEntity>);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=credit-profile.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"credit-profile.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/credit-profile.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAmB;IAC5B,EAAE,EAAG,MAAM,CAAC;IACZ,gCAAgC,EAAG,MAAM,CAAC;IAC1C,YAAY,EAAG,MAAM,CAAC;IACtB,oBAAoB,EAAG,MAAM,CAAC;IAC9B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,mBAAmB,CAAC;CAGpD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
import { ApplicationEntity } from '../applications/application.entity';
|
|
3
|
+
export declare class DirectDebitEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
applicationId: string;
|
|
6
|
+
accountNumber?: string;
|
|
7
|
+
addressLine1?: string;
|
|
8
|
+
addressLine2?: string;
|
|
9
|
+
Applicants?: string;
|
|
10
|
+
branch?: string;
|
|
11
|
+
city?: string;
|
|
12
|
+
contactPostcode?: string;
|
|
13
|
+
institution?: string;
|
|
14
|
+
isConfirmDeclaration?: string;
|
|
15
|
+
nameOfAccountHolder?: string;
|
|
16
|
+
selectedPaymentDay?: string;
|
|
17
|
+
sortCode?: string;
|
|
18
|
+
applicantId: string;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
applicant?: ApplicantEntity;
|
|
22
|
+
application?: ApplicationEntity;
|
|
23
|
+
constructor(partial: Partial<DirectDebitEntity>);
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=direct-debit.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direct-debit.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/direct-debit.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAEvE,qBAAa,iBAAiB;IAC1B,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAG,MAAM,CAAC;IACrB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,WAAW,CAAC,EAAE,iBAAiB,CAAC;gBAEpB,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAAC;CAGlD"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class EmploymentEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
pageValidFlag: boolean;
|
|
6
|
+
acceptableIncomeLids: string[];
|
|
7
|
+
addressCity?: string;
|
|
8
|
+
addressCountryLid: string;
|
|
9
|
+
addressLine1: string;
|
|
10
|
+
addressLine2?: string;
|
|
11
|
+
addressLine3?: string;
|
|
12
|
+
addressPostCode: string;
|
|
13
|
+
averageBonusPreviousTwoYears: number;
|
|
14
|
+
basicGrossIncome: number;
|
|
15
|
+
basicPay: number;
|
|
16
|
+
carAllowance: number;
|
|
17
|
+
childBenefit: number;
|
|
18
|
+
childBenefitOrSchoolAllowance: number;
|
|
19
|
+
contractRemaining?: string;
|
|
20
|
+
dateJoined: string;
|
|
21
|
+
disabilityLiving: number;
|
|
22
|
+
employerName: string;
|
|
23
|
+
employerTelephone?: string;
|
|
24
|
+
housingAllowance: number;
|
|
25
|
+
industryLid: string;
|
|
26
|
+
isUnderTerminationNotice: boolean;
|
|
27
|
+
jobTitleLid: string;
|
|
28
|
+
maintenance: number;
|
|
29
|
+
maternityIncome: number;
|
|
30
|
+
natureOfBusiness: string;
|
|
31
|
+
pensionIncome: number;
|
|
32
|
+
previousAddressCity?: string;
|
|
33
|
+
previousAddressCountry: string;
|
|
34
|
+
previousAddressLine1: string;
|
|
35
|
+
previousAddressLine2?: string;
|
|
36
|
+
previousAddressLine3?: string;
|
|
37
|
+
previousAddressPostCode: string;
|
|
38
|
+
previousBasicGrossIncome: number;
|
|
39
|
+
previousDateJoined: string;
|
|
40
|
+
previousDateLeft: string;
|
|
41
|
+
previousEmployerName: string;
|
|
42
|
+
previousEmployerTelephone?: string;
|
|
43
|
+
previousJobTitle: string;
|
|
44
|
+
previousNatureOfBusiness: string;
|
|
45
|
+
referenceContact?: string;
|
|
46
|
+
referenceContactEmail: string;
|
|
47
|
+
secondJob: number;
|
|
48
|
+
travelAllowance: number;
|
|
49
|
+
underTerminationNoticeNote?: string;
|
|
50
|
+
applicantId: string;
|
|
51
|
+
createdAt: Date;
|
|
52
|
+
updatedAt: Date;
|
|
53
|
+
applicant?: ApplicantEntity;
|
|
54
|
+
addressCountry?: LookupEntity;
|
|
55
|
+
industry?: LookupEntity;
|
|
56
|
+
jobTitle?: LookupEntity;
|
|
57
|
+
acceptableIncomeTypes?: LookupEntity[];
|
|
58
|
+
constructor(partial: Partial<EmploymentEntity>);
|
|
59
|
+
get isUnderTerminationNoticeDisplay(): string;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=employment.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"employment.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/employment.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,gBAAgB;IACzB,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,OAAO,CAAC;IACxB,oBAAoB,EAAG,MAAM,EAAE,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAG,MAAM,CAAC;IAC3B,YAAY,EAAG,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,EAAG,MAAM,CAAC;IACzB,4BAA4B,EAAG,MAAM,CAAC;IACtC,gBAAgB,EAAG,MAAM,CAAC;IAC1B,QAAQ,EAAG,MAAM,CAAC;IAClB,YAAY,EAAG,MAAM,CAAC;IACtB,YAAY,EAAG,MAAM,CAAC;IACtB,6BAA6B,EAAG,MAAM,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAG,MAAM,CAAC;IACpB,gBAAgB,EAAG,MAAM,CAAC;IAC1B,YAAY,EAAG,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAG,MAAM,CAAC;IAC1B,WAAW,EAAG,MAAM,CAAC;IACrB,wBAAwB,EAAG,OAAO,CAAC;IACnC,WAAW,EAAG,MAAM,CAAC;IACrB,WAAW,EAAG,MAAM,CAAC;IACrB,eAA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Mongoose model
|
|
6
|
+
// These are computed properties that were previously virtual in Mongoose
|
|
7
|
+
get isUnderTerminationNoticeDisplay() {
|
|
8
|
+
return this.isUnderTerminationNotice ? "Yes" : "No";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
export declare class ExpenditureEntity {
|
|
3
|
+
id: string;
|
|
4
|
+
pageValidFlag: boolean;
|
|
5
|
+
utilities: number;
|
|
6
|
+
transport: number;
|
|
7
|
+
subsistence: number;
|
|
8
|
+
communication: number;
|
|
9
|
+
health: number;
|
|
10
|
+
groundRentOrServiceCharge: number;
|
|
11
|
+
insurance: number;
|
|
12
|
+
childCareForDependents: number;
|
|
13
|
+
councilTax: number;
|
|
14
|
+
clothingAndFootwear: number;
|
|
15
|
+
vehicleInsurance: number;
|
|
16
|
+
mortgagePaymentVehicle: number;
|
|
17
|
+
other: number;
|
|
18
|
+
totalMontlyExpenditure?: string;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
applicant?: ApplicantEntity;
|
|
22
|
+
constructor(partial: Partial<ExpenditureEntity>);
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=expenditure.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"expenditure.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/expenditure.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,qBAAa,iBAAiB;IAC1B,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,OAAO,CAAC;IACxB,SAAS,EAAG,MAAM,CAAC;IACnB,SAAS,EAAG,MAAM,CAAC;IACnB,WAAW,EAAG,MAAM,CAAC;IACrB,aAAa,EAAG,MAAM,CAAC;IACvB,MAAM,EAAG,MAAM,CAAC;IAChB,yBAAyB,EAAG,MAAM,CAAC;IACnC,SAAS,EAAG,MAAM,CAAC;IACnB,sBAAsB,EAAG,MAAM,CAAC;IAChC,UAAU,EAAG,MAAM,CAAC;IACpB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,gBAAgB,EAAG,MAAM,CAAC;IAC1B,sBAAsB,EAAG,MAAM,CAAC;IAChC,KAAK,EAAG,MAAM,CAAC;IACf,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,SAAS,CAAC,EAAE,eAAe,CAAC;gBAEhB,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAAC;CAGlD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ApplicantEntity } from './applicant.entity';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class IncomeSourceEntity {
|
|
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<IncomeSourceEntity>);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=income-source.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"income-source.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/income-source.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,kBAAkB;IAC3B,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,kBAAkB,CAAC;CAGnD"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare class IncomeEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
accountantsAddressLine1: string;
|
|
4
|
+
accountantsAddressLine2: string;
|
|
5
|
+
accountantsAddressLine3: string;
|
|
6
|
+
accountantsCity: string;
|
|
7
|
+
accountantsCountryLid: string;
|
|
8
|
+
accountantsEmail: string;
|
|
9
|
+
accountantsPostCode: string;
|
|
10
|
+
accountantsPractice: string;
|
|
11
|
+
accountantsTelephoneNumber: string;
|
|
12
|
+
businessAddressLine1: string;
|
|
13
|
+
businessAddressLine2: string;
|
|
14
|
+
businessAddressLine3: string;
|
|
15
|
+
businessCity: string;
|
|
16
|
+
businessCountryLid: string;
|
|
17
|
+
businessPostCode: string;
|
|
18
|
+
businessTelephoneNumber: string;
|
|
19
|
+
businessTypeLid: string;
|
|
20
|
+
charteredCertifiedOrOtherLid: string;
|
|
21
|
+
contactName: string;
|
|
22
|
+
currentYearEnd: string;
|
|
23
|
+
dateEstablished: string;
|
|
24
|
+
doYouHaveAccountant: boolean;
|
|
25
|
+
isBusinessAddressDifferent: boolean;
|
|
26
|
+
nameOfBusiness: string;
|
|
27
|
+
natureOfBusiness: string;
|
|
28
|
+
netAssets1: number;
|
|
29
|
+
netAssets2: number;
|
|
30
|
+
netAssets3: number;
|
|
31
|
+
pageValidFlag: boolean;
|
|
32
|
+
percentageOfShareholding: number;
|
|
33
|
+
registeredAddressLine1: string;
|
|
34
|
+
registeredAddressLine2: string;
|
|
35
|
+
registeredAddressLine3: string;
|
|
36
|
+
registeredCity: string;
|
|
37
|
+
registeredCountryLid: string;
|
|
38
|
+
registeredPostCode: string;
|
|
39
|
+
registeredTelephone: string;
|
|
40
|
+
selfEmployedDate: string;
|
|
41
|
+
turnover1: number;
|
|
42
|
+
turnover2: number;
|
|
43
|
+
turnover3: number;
|
|
44
|
+
year1: number;
|
|
45
|
+
year2: number;
|
|
46
|
+
year3: number;
|
|
47
|
+
yearEnd1?: number;
|
|
48
|
+
yearEnd2?: number;
|
|
49
|
+
yearEnd3?: number;
|
|
50
|
+
createdAt: Date;
|
|
51
|
+
updatedAt: Date;
|
|
52
|
+
constructor(partial: Partial<IncomeEntity>);
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=income.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"income.entity.d.ts","sourceRoot":"","sources":["../../../entities/applicants/income.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IACrB,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,CA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ectDebit, CreditProfile, PropertyIncome, Income, SecuredLoanCommitment, UnsecuredLoanCommitment, ResidenceCommitment, MortgageCommitment, LoanCommitment, CreditCardCommitment } from '@prisma/client';
|
|
2
|
+
export type { Applicant, CreditData, RiskNarrative, OtherIncome, IncomeSource, Expenditure, Employment, DirectDebit, CreditProfile, PropertyIncome, Income, SecuredLoanCommitment, UnsecuredLoanCommitment, ResidenceCommitment, MortgageCommitment, LoanCommitment, CreditCardCommitment };
|
|
3
|
+
export * from './applicant.entity';
|
|
4
|
+
export * from './secure-loan-commitment.entity';
|
|
5
|
+
export * from './unsecured-loan-commitment.entity';
|
|
6
|
+
export * from './property-income.entity';
|
|
7
|
+
export * from './residence-commitment.entity';
|
|
8
|
+
export * from './risk-narrative.entity';
|
|
9
|
+
export * from './mortgage-commitment.entity';
|
|
10
|
+
export * from './other-income.entity';
|
|
11
|
+
export * from './income-source.entity';
|
|
12
|
+
export * from './income.entity';
|
|
13
|
+
export * from './loan-commitment.entity';
|
|
14
|
+
export * from './credit-profile.entity';
|
|
15
|
+
export * from './direct-debit.entity';
|
|
16
|
+
export * from './employment.entity';
|
|
17
|
+
export * from './expenditure.entity';
|
|
18
|
+
export * from './credit-card-commitment.entity';
|
|
19
|
+
export * from './credit-data.entity';
|
|
20
|
+
//# 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,UAAU,EACV,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,WAAW,EACX,aAAa,EACb,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACvB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACR,SAAS,EACT,UAAU,EACV,aAAa,EACb,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,WAAW,EACX,aAAa,EACb,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACvB,CAAC;AAGF,cAAc,oBAAoB,CAAC;AACnC,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Export entity classes
|
|
2
|
+
export * from './applicant.entity';
|
|
3
|
+
export * from './secure-loan-commitment.entity';
|
|
4
|
+
export * from './unsecured-loan-commitment.entity';
|
|
5
|
+
export * from './property-income.entity';
|
|
6
|
+
export * from './residence-commitment.entity';
|
|
7
|
+
export * from './risk-narrative.entity';
|
|
8
|
+
export * from './mortgage-commitment.entity';
|
|
9
|
+
export * from './other-income.entity';
|
|
10
|
+
export * from './income-source.entity';
|
|
11
|
+
export * from './income.entity';
|
|
12
|
+
export * from './loan-commitment.entity';
|
|
13
|
+
export * from './credit-profile.entity';
|
|
14
|
+
export * from './direct-debit.entity';
|
|
15
|
+
export * from './employment.entity';
|
|
16
|
+
export * from './expenditure.entity';
|
|
17
|
+
export * from './credit-card-commitment.entity';
|
|
18
|
+
export * from './credit-data.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
|