@dynamatix/gb-schemas 2.0.34 → 2.0.36
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 +1094 -0
- package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-additional-income.model.js +33 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +508 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-creditCard.model.js +34 -0
- package/dist/applicants/applicant-commitment-loan.model.d.ts +394 -0
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-loan.model.js +38 -0
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +472 -0
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-mortgage.model.js +69 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts +728 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-residence.model.js +50 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +368 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.js +29 -0
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +362 -0
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +28 -0
- package/dist/applicants/applicant-credit-data.model.d.ts +32 -0
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -0
- package/dist/applicants/applicant-credit-data.model.js +11 -0
- package/dist/applicants/applicant-credit-profile.model.d.ts +23 -0
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -0
- package/dist/applicants/applicant-credit-profile.model.js +20 -0
- package/dist/applicants/applicant-direct-debit.model.d.ts +61 -0
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -0
- package/dist/applicants/applicant-direct-debit.model.js +17 -0
- package/dist/applicants/applicant-employment-income.model.d.ts +175 -0
- package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-employment-income.model.js +9 -0
- package/dist/applicants/applicant-employment.model.d.ts +136 -0
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -0
- package/dist/applicants/applicant-employment.model.js +50 -0
- package/dist/applicants/applicant-expenditure.model.d.ts +87 -0
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -0
- package/dist/applicants/applicant-expenditure.model.js +54 -0
- package/dist/applicants/applicant-income-source.model.d.ts +26 -0
- package/dist/applicants/applicant-income-source.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income-source.model.js +9 -0
- package/dist/applicants/applicant-income.model.d.ts +220 -0
- package/dist/applicants/applicant-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income.model.js +81 -0
- package/dist/applicants/applicant-pension-income.model.d.ts +457 -0
- package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-pension-income.model.js +14 -0
- package/dist/applicants/applicant-property-income.model.d.ts +907 -0
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -0
- package/dist/applicants/applicant-property-income.model.js +23 -0
- package/dist/applicants/applicant-risk-narrative.model.d.ts +38 -0
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -0
- package/dist/applicants/applicant-risk-narrative.model.js +13 -0
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +463 -0
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -0
- package/dist/applicants/applicant-uk-tax-credits.model.js +11 -0
- package/dist/applicants/applicant.model.d.ts +134 -0
- package/dist/applicants/applicant.model.d.ts.map +1 -0
- package/dist/applicants/applicant.model.js +223 -0
- package/dist/applicants/index.d.ts +14 -0
- package/dist/applicants/index.d.ts.map +1 -0
- package/dist/applicants/index.js +13 -0
- package/dist/applications/application-audit.model.d.ts +92 -0
- package/dist/applications/application-audit.model.d.ts.map +1 -0
- package/dist/applications/application-audit.model.js +42 -0
- package/dist/applications/application-checklist-Item.model.d.ts +258 -0
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -0
- package/dist/applications/application-checklist-Item.model.js +45 -0
- package/dist/applications/application-company-model.d.ts +1484 -0
- package/dist/applications/application-company-model.d.ts.map +1 -0
- package/dist/applications/application-company-model.js +120 -0
- package/dist/applications/application-credit-profile.model.d.ts +35 -0
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -0
- package/dist/applications/application-credit-profile.model.js +12 -0
- package/dist/applications/application-direct-debit.model.d.ts +545 -0
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -0
- package/dist/applications/application-direct-debit.model.js +92 -0
- package/dist/applications/application-document.model.d.ts +158 -0
- package/dist/applications/application-document.model.d.ts.map +1 -0
- package/dist/applications/application-document.model.js +35 -0
- package/dist/applications/application-fieldconfig.model.d.ts +30 -0
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -0
- package/dist/applications/application-fieldconfig.model.js +7 -0
- package/dist/applications/application-illustration-model.d.ts +24 -0
- package/dist/applications/application-illustration-model.d.ts.map +1 -0
- package/dist/applications/application-illustration-model.js +6 -0
- package/dist/applications/application-legal.model.d.ts +30 -0
- package/dist/applications/application-legal.model.d.ts.map +1 -0
- package/dist/applications/application-legal.model.js +7 -0
- package/dist/applications/application-mortgage.model.d.ts +1203 -0
- package/dist/applications/application-mortgage.model.d.ts.map +1 -0
- package/dist/applications/application-mortgage.model.js +271 -0
- package/dist/applications/application-note.model.d.ts +144 -0
- package/dist/applications/application-note.model.d.ts.map +1 -0
- package/dist/applications/application-note.model.js +78 -0
- package/dist/applications/application-offer.model.d.ts +24 -0
- package/dist/applications/application-offer.model.d.ts.map +1 -0
- package/dist/applications/application-offer.model.js +6 -0
- package/dist/applications/application-onboarding.model.d.ts +42 -0
- package/dist/applications/application-onboarding.model.d.ts.map +1 -0
- package/dist/applications/application-onboarding.model.js +9 -0
- package/dist/applications/application-product.model.d.ts +120 -0
- package/dist/applications/application-product.model.d.ts.map +1 -0
- package/dist/applications/application-product.model.js +67 -0
- package/dist/applications/application-productfeatures.model.d.ts +738 -0
- package/dist/applications/application-productfeatures.model.d.ts.map +1 -0
- package/dist/applications/application-productfeatures.model.js +96 -0
- package/dist/applications/application-rationale.model.d.ts +216 -0
- package/dist/applications/application-rationale.model.d.ts.map +1 -0
- package/dist/applications/application-rationale.model.js +38 -0
- package/dist/applications/application-risk-narrative.model.d.ts +60 -0
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -0
- package/dist/applications/application-risk-narrative.model.js +12 -0
- package/dist/applications/application-valuation.model.d.ts +44 -0
- package/dist/applications/application-valuation.model.d.ts.map +1 -0
- package/dist/applications/application-valuation.model.js +15 -0
- package/dist/applications/application.model.d.ts +428 -0
- package/dist/applications/application.model.d.ts.map +1 -0
- package/dist/applications/application.model.js +153 -0
- package/dist/applications/broker.model.d.ts +134 -0
- package/dist/applications/broker.model.d.ts.map +1 -0
- package/dist/applications/broker.model.js +21 -0
- package/dist/applications/document.model.d.ts +158 -0
- package/dist/applications/document.model.d.ts.map +1 -0
- package/dist/applications/document.model.js +35 -0
- package/dist/applications/index.d.ts +21 -0
- package/dist/applications/index.d.ts.map +1 -0
- package/dist/applications/index.js +20 -0
- package/dist/applications/solicitor.model.d.ts +177 -0
- package/dist/applications/solicitor.model.d.ts.map +1 -0
- package/dist/applications/solicitor.model.js +114 -0
- 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/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/product-catalogues/index.d.ts +4 -0
- package/dist/product-catalogues/index.d.ts.map +1 -0
- package/dist/product-catalogues/index.js +3 -0
- package/dist/product-catalogues/product-catalogue.model.d.ts +104 -0
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -0
- package/dist/product-catalogues/product-catalogue.model.js +18 -0
- package/dist/product-catalogues/product-definitions.model.d.ts +290 -0
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -0
- package/dist/product-catalogues/product-definitions.model.js +26 -0
- package/dist/product-catalogues/product-variant.model.d.ts +68 -0
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -0
- package/dist/product-catalogues/product-variant.model.js +12 -0
- package/dist/properties/index.d.ts +3 -0
- package/dist/properties/index.d.ts.map +1 -0
- package/dist/properties/index.js +2 -0
- package/dist/properties/property.model.d.ts +1131 -0
- package/dist/properties/property.model.d.ts.map +1 -0
- package/dist/properties/property.model.js +144 -0
- package/dist/properties/security.model.d.ts +285 -0
- package/dist/properties/security.model.d.ts.map +1 -0
- package/dist/properties/security.model.js +143 -0
- package/dist/shared/alert.model.d.ts +74 -0
- package/dist/shared/alert.model.d.ts.map +1 -0
- package/dist/shared/alert.model.js +24 -0
- package/dist/shared/apprivo-sync-journey.model.d.ts +86 -0
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -0
- package/dist/shared/apprivo-sync-journey.model.js +17 -0
- package/dist/shared/checklist.model.d.ts +74 -0
- package/dist/shared/checklist.model.d.ts.map +1 -0
- package/dist/shared/checklist.model.js +30 -0
- package/dist/shared/document-type-model.d.ts +48 -0
- package/dist/shared/document-type-model.d.ts.map +1 -0
- package/dist/shared/document-type-model.js +10 -0
- package/dist/shared/index.d.ts +13 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +12 -0
- package/dist/shared/job-run.model.d.ts +48 -0
- package/dist/shared/job-run.model.d.ts.map +1 -0
- package/dist/shared/job-run.model.js +14 -0
- package/dist/shared/job-setting.model.d.ts +42 -0
- package/dist/shared/job-setting.model.d.ts.map +1 -0
- package/dist/shared/job-setting.model.js +11 -0
- package/dist/shared/lookup-group.model.d.ts +30 -0
- package/dist/shared/lookup-group.model.d.ts.map +1 -0
- package/dist/shared/lookup-group.model.js +16 -0
- package/dist/shared/lookup.model.d.ts +42 -0
- package/dist/shared/lookup.model.d.ts.map +1 -0
- package/dist/shared/lookup.model.js +20 -0
- package/dist/shared/schema-doc.model.d.ts +48 -0
- package/dist/shared/schema-doc.model.d.ts.map +1 -0
- package/dist/shared/schema-doc.model.js +11 -0
- package/dist/shared/system-parameter.model.d.ts +60 -0
- package/dist/shared/system-parameter.model.d.ts.map +1 -0
- package/dist/shared/system-parameter.model.js +32 -0
- package/dist/shared/task-document.model.d.ts +42 -0
- package/dist/shared/task-document.model.d.ts.map +1 -0
- package/dist/shared/task-document.model.js +23 -0
- package/dist/shared/task.model.d.ts +206 -0
- package/dist/shared/task.model.d.ts.map +1 -0
- package/dist/shared/task.model.js +15 -0
- package/dist/underwriter/index.d.ts +2 -0
- package/dist/underwriter/index.d.ts.map +1 -0
- package/dist/underwriter/index.js +1 -0
- package/dist/underwriter/underwriter.model.d.ts +98 -0
- package/dist/underwriter/underwriter.model.d.ts.map +1 -0
- package/dist/underwriter/underwriter.model.js +17 -0
- package/dist/users/auth-log.model.d.ts +42 -0
- package/dist/users/auth-log.model.d.ts.map +1 -0
- package/dist/users/auth-log.model.js +21 -0
- package/dist/users/index.d.ts +7 -0
- package/dist/users/index.d.ts.map +1 -0
- package/dist/users/index.js +6 -0
- package/dist/users/permission.model.d.ts +56 -0
- package/dist/users/permission.model.d.ts.map +1 -0
- package/dist/users/permission.model.js +10 -0
- package/dist/users/role-group.model.d.ts +62 -0
- package/dist/users/role-group.model.d.ts.map +1 -0
- package/dist/users/role-group.model.js +14 -0
- package/dist/users/role.model.d.ts +62 -0
- package/dist/users/role.model.d.ts.map +1 -0
- package/dist/users/role.model.js +13 -0
- package/dist/users/tasks.model.d.ts +86 -0
- package/dist/users/tasks.model.d.ts.map +1 -0
- package/dist/users/tasks.model.js +15 -0
- package/dist/users/user.model.d.ts +188 -0
- package/dist/users/user.model.d.ts.map +1 -0
- package/dist/users/user.model.js +30 -0
- package/dist/value-objects/pound.d.ts +15 -0
- package/dist/value-objects/pound.d.ts.map +1 -0
- package/dist/value-objects/pound.js +26 -0
- package/dist/value-objects/sort-code.d.ts +15 -0
- package/dist/value-objects/sort-code.d.ts.map +1 -0
- package/dist/value-objects/sort-code.js +25 -0
- package/entities/applications/application-mortgage.entity.ts +1 -1
- package/package.json +1 -1
- package/prisma/applications/application-mortgage.prisma +2 -2
- package/prisma/migrations/20250512071728_update_mortgage_schema/migration.sql +15 -15
- package/prisma/migrations/20250512094011_update_property_schema/migration.sql +34 -34
- package/prisma/migrations/20250512102019_update_mortgage_schema/migration.sql +2 -0
- package/prisma/schema.prisma +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-mortgage.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-mortgage.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,yBAAyB;IAClC,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,aAAa,EAAG,OAAO,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAG,MAAM,CAAC;IAC3B,mBAAmB,EAAG,MAAM,EAAE,CAAC;IAC/B,cAAc,EAAG,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,EAAG,MAAM,CAAC;IACvB,gBAAgB,EAAG,MAAM,CAAC;IAC1B,eAAe,EAAG,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,EAAG,MAAM,CAAC;IACtB,cAAc,EAAG,MAAM,CAAC;IACxB,YAAY,EAAG,MAAM,CAAC;IACtB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,aAAa,EAAG,MAAM,CAAC;IACvB,gBAAgB,EAAG,MAAM,CAA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AAG,IAAI,CAEjC;CACJ"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export class ApplicationMortgageEntity {
|
|
2
|
+
constructor(partial) {
|
|
3
|
+
Object.assign(this, partial);
|
|
4
|
+
}
|
|
5
|
+
// Virtual properties from Mongoose model
|
|
6
|
+
get depositComeFromNames() {
|
|
7
|
+
return this.depositComeFrom?.map(d => d.name) ?? null;
|
|
8
|
+
}
|
|
9
|
+
get repaymentTypeName() {
|
|
10
|
+
return this.repaymentType?.name ?? null;
|
|
11
|
+
}
|
|
12
|
+
get exitStrategyName() {
|
|
13
|
+
return this.exitStrategy?.name ?? null;
|
|
14
|
+
}
|
|
15
|
+
get sourceOfFundsName() {
|
|
16
|
+
return this.sourceOfFunds?.name ?? null;
|
|
17
|
+
}
|
|
18
|
+
get saleMadeName() {
|
|
19
|
+
return this.saleMade?.name ?? null;
|
|
20
|
+
}
|
|
21
|
+
get proposedTenantsNames() {
|
|
22
|
+
return this.proposedTenants?.map(t => t.name) ?? null;
|
|
23
|
+
}
|
|
24
|
+
get leaseTypeName() {
|
|
25
|
+
return this.leaseType?.name ?? null;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { LookupEntity } from "../shared/lookup.entity";
|
|
2
|
+
import { ApplicationEntity } from "./application.entity";
|
|
3
|
+
import { UserEntity } from "../users";
|
|
4
|
+
export declare class ApplicationNoteEntity {
|
|
5
|
+
id: string;
|
|
6
|
+
applicationId: string;
|
|
7
|
+
noteId: string;
|
|
8
|
+
createdOn?: string;
|
|
9
|
+
prettyCreatedOn?: string;
|
|
10
|
+
createdBy?: number;
|
|
11
|
+
username?: string;
|
|
12
|
+
createdByUserId?: string;
|
|
13
|
+
typeLid?: string;
|
|
14
|
+
subTypeLid?: string;
|
|
15
|
+
subject?: string;
|
|
16
|
+
note: string;
|
|
17
|
+
reminderDate?: string;
|
|
18
|
+
reminderStatus: number;
|
|
19
|
+
attachmentDocumentId?: string;
|
|
20
|
+
assignedOperation: string;
|
|
21
|
+
autoCreated: boolean;
|
|
22
|
+
additionalData?: string;
|
|
23
|
+
autoCreatedId?: string;
|
|
24
|
+
assignedTo: string;
|
|
25
|
+
assignedBy?: number;
|
|
26
|
+
assignedByUserId?: string;
|
|
27
|
+
comments?: any;
|
|
28
|
+
createdAt: Date;
|
|
29
|
+
updatedAt: Date;
|
|
30
|
+
application?: ApplicationEntity;
|
|
31
|
+
type?: LookupEntity;
|
|
32
|
+
subType?: LookupEntity;
|
|
33
|
+
createdByUser?: UserEntity;
|
|
34
|
+
assignedByUser?: UserEntity;
|
|
35
|
+
constructor(partial: Partial<ApplicationNoteEntity>);
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=application-note.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-note.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-note.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,qBAAa,qBAAqB;IAChC,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,MAAM,EAAG,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAG,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,EAAG,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iBAAiB,EAAG,MAAM,CAAC;IAC3B,WAAW,EAAG,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,EAAG,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,aAAa,CAAC,EAAE,UAAU,CAAC;IAC3B,cAAc,CAAC,EAAE,UAAU,CAAC;gBAEhB,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC;CAGpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-offer.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-offer.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,sBAAsB;IAC/B,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;IACd,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,sBAAsB,CAAC;CAGvD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class ApplicationOnboardingEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
errors: string;
|
|
4
|
+
status: string;
|
|
5
|
+
statusDate?: string;
|
|
6
|
+
warnings: string;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
constructor(partial: Partial<ApplicationOnboardingEntity>);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=application-onboarding.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-onboarding.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-onboarding.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,2BAA2B;IACpC,EAAE,EAAG,MAAM,CAAC;IACZ,MAAM,EAAG,MAAM,CAAC;IAChB,MAAM,EAAG,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAG,MAAM,CAAC;IAClB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,2BAA2B,CAAC;CAG5D"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ApplicationEntity } from '../applications';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class ApplicationProductEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
applicationId: string;
|
|
6
|
+
selectedProduct: string;
|
|
7
|
+
lendingTypeLid?: string;
|
|
8
|
+
pageValidFlag: boolean;
|
|
9
|
+
repaymentTypeLid?: string;
|
|
10
|
+
numberOfYearsToRepay: number;
|
|
11
|
+
repaymentVehicle: string;
|
|
12
|
+
fixedAmount: number;
|
|
13
|
+
isFinanceRecommendedToApplicantLid?: string;
|
|
14
|
+
procFeeRateLid?: string;
|
|
15
|
+
networkClubSubmission: boolean;
|
|
16
|
+
clubNetworkNameLid?: string;
|
|
17
|
+
introducerSubmission: boolean;
|
|
18
|
+
introducer: string;
|
|
19
|
+
bdm: string;
|
|
20
|
+
tempAppFee: number;
|
|
21
|
+
productFeePaymentTypeLid?: string;
|
|
22
|
+
createdAt: Date;
|
|
23
|
+
updatedAt: Date;
|
|
24
|
+
application?: ApplicationEntity;
|
|
25
|
+
lendingType?: LookupEntity;
|
|
26
|
+
repaymentType?: LookupEntity;
|
|
27
|
+
isFinanceRecommendedToApplicant?: LookupEntity;
|
|
28
|
+
procFeeRate?: LookupEntity;
|
|
29
|
+
clubNetworkName?: LookupEntity;
|
|
30
|
+
productFeePaymentType?: LookupEntity;
|
|
31
|
+
constructor(partial: Partial<ApplicationProductEntity>);
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=application-product.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-product.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-product.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,wBAAwB;IACjC,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,eAAe,EAAG,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,EAAG,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAG,MAAM,CAAC;IAC9B,gBAAgB,EAAG,MAAM,CAAC;IAC1B,WAAW,EAAG,MAAM,CAAC;IACrB,kCAAkC,CAAC,EAAE,MAAM,CAAC;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAG,OAAO,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oBAAoB,EAAG,OAAO,CAAC;IAC/B,UAAU,EAAG,MAAM,CAAC;IACpB,GAAG,EAAG,MAAM,CAAC;IACb,UAAU,EAAG,MAAM,CAAC;IACpB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,+BAA+B,CAAC,EAAE,YAAY,CAAC;IAC/C,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,qBAAqB,CAAC,EAAE,YAAY,CAAC;gBAEzB,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC;CAGzD"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ApplicationEntity } from '../applications';
|
|
2
|
+
import { LookupEntity } from '../shared/lookup.entity';
|
|
3
|
+
export declare class ApplicationRationaleEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
applicationId: string;
|
|
6
|
+
affordabilityDescription: string;
|
|
7
|
+
affordabilityAreaOfOfferCondition: string;
|
|
8
|
+
affordabilityAreaOfConcern: string;
|
|
9
|
+
affordabilityStatusLid?: string;
|
|
10
|
+
applicantsDescription: string;
|
|
11
|
+
applicantsAreaOfOfferCondition: string;
|
|
12
|
+
applicantsAreaOfConcern: string;
|
|
13
|
+
applicantsStatusLid?: string;
|
|
14
|
+
creditConductDescription: string;
|
|
15
|
+
creditConductAreaOfOfferCondition: string;
|
|
16
|
+
creditConductAreaOfConcern: string;
|
|
17
|
+
creditConductStatusLid?: string;
|
|
18
|
+
fraudCheckDescription: string;
|
|
19
|
+
fraudCheckAreaOfOfferCondition: string;
|
|
20
|
+
fraudCheckAreaOfConcern: string;
|
|
21
|
+
fraudCheckStatusLid?: string;
|
|
22
|
+
incomeSourceDescription: string;
|
|
23
|
+
incomeSourceAreaOfOfferCondition: string;
|
|
24
|
+
incomeSourceAreaOfConcern: string;
|
|
25
|
+
incomeSourceStatusLid?: string;
|
|
26
|
+
loanDescription: string;
|
|
27
|
+
loanAreaOfOfferCondition: string;
|
|
28
|
+
loanAreaOfConcern: string;
|
|
29
|
+
loanStatusLid?: string;
|
|
30
|
+
securityDescription: string;
|
|
31
|
+
securityAreaOfOfferCondition: string;
|
|
32
|
+
securityAreaOfConcern: string;
|
|
33
|
+
securityStatusLid?: string;
|
|
34
|
+
propertyDescription: string;
|
|
35
|
+
propertyAreaOfOfferCondition: string;
|
|
36
|
+
propertyAreaOfConcern: string;
|
|
37
|
+
propertyStatusLid?: string;
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
updatedAt: Date;
|
|
40
|
+
application?: ApplicationEntity;
|
|
41
|
+
affordabilityStatus?: LookupEntity;
|
|
42
|
+
applicantsStatus?: LookupEntity;
|
|
43
|
+
creditConductStatus?: LookupEntity;
|
|
44
|
+
fraudCheckStatus?: LookupEntity;
|
|
45
|
+
incomeSourceStatus?: LookupEntity;
|
|
46
|
+
loanStatus?: LookupEntity;
|
|
47
|
+
securityStatus?: LookupEntity;
|
|
48
|
+
propertyStatus?: LookupEntity;
|
|
49
|
+
constructor(partial: Partial<ApplicationRationaleEntity>);
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=application-rationale.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-rationale.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application-rationale.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,qBAAa,0BAA0B;IACnC,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,wBAAwB,EAAG,MAAM,CAAC;IAClC,iCAAiC,EAAG,MAAM,CAAC;IAC3C,0BAA0B,EAAG,MAAM,CAAC;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,qBAAqB,EAAG,MAAM,CAAC;IAC/B,8BAA8B,EAAG,MAAM,CAAC;IACxC,uBAAuB,EAAG,MAAM,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,wBAAwB,EAAG,MAAM,CAAC;IAClC,iCAAiC,EAAG,MAAM,CAAC;IAC3C,0BAA0B,EAAG,MAAM,CAAC;IACpC,sBAAsB,CAAC,EA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
2
|
+
import { BrokerEntity } from './broker.entity';
|
|
3
|
+
import { SecurityEntity } from '../properties/security.entity';
|
|
4
|
+
import { SolicitorEntity } from './solicitor.entity';
|
|
5
|
+
import { ProductEntity } from '../product-catalogues/product.entity';
|
|
6
|
+
import { ApplicationDirectDebitEntity } from './application-direct-debit.entity';
|
|
7
|
+
import { ApplicationMortgageEntity } from './application-mortgage.entity';
|
|
8
|
+
import { ApplicationCompanyEntity } from './application-company.entity';
|
|
9
|
+
import { ApplicationRationaleEntity } from './application-rationale.entity';
|
|
10
|
+
import { ApplicantEntity } from '../applicants/applicant.entity';
|
|
11
|
+
import { PropertyEntity } from '../properties/property.entity';
|
|
12
|
+
import { ApplicationCreditProfileEntity } from './application-credit-profile.entity';
|
|
13
|
+
export declare class ApplicationEntity {
|
|
14
|
+
id: string;
|
|
15
|
+
queueId: string[];
|
|
16
|
+
assignedToUserId?: string;
|
|
17
|
+
applicationId: string;
|
|
18
|
+
isApplicationFeePaid: boolean;
|
|
19
|
+
applicationNumber: string;
|
|
20
|
+
applicationTypeLid: string;
|
|
21
|
+
bankSolicitor: string;
|
|
22
|
+
brokerId: string;
|
|
23
|
+
caseManager: string;
|
|
24
|
+
caseManagerAccepted: boolean;
|
|
25
|
+
completedReason: string;
|
|
26
|
+
isIntendToOccupy: boolean;
|
|
27
|
+
introducer: string;
|
|
28
|
+
isIntroducerSubmission: boolean;
|
|
29
|
+
isBrokerAssigned: boolean;
|
|
30
|
+
isFinanceRecommendedToApplicant: boolean;
|
|
31
|
+
isWorkflowTaskCreated: boolean;
|
|
32
|
+
lastUpdated?: Date;
|
|
33
|
+
lendingTypeLid: string;
|
|
34
|
+
networkClubName: string;
|
|
35
|
+
isNetworkClubSubmission: boolean;
|
|
36
|
+
newReason: string;
|
|
37
|
+
purchaseTypeLid: string;
|
|
38
|
+
rejectedReason: string;
|
|
39
|
+
repaymentTypeLid: string;
|
|
40
|
+
selectedProduct?: string;
|
|
41
|
+
sourceOfWealthLids?: string[];
|
|
42
|
+
sowBusiness: string;
|
|
43
|
+
sowInheritance: string;
|
|
44
|
+
sowOther: string;
|
|
45
|
+
sowProperty: string;
|
|
46
|
+
sowSalary: string;
|
|
47
|
+
statusLid: string;
|
|
48
|
+
submitReason: string;
|
|
49
|
+
submittedDate?: Date;
|
|
50
|
+
underwriter: string;
|
|
51
|
+
isValuationFeePaid: boolean;
|
|
52
|
+
withdrawalReason: string;
|
|
53
|
+
withdrawalReasonCode: string;
|
|
54
|
+
productId?: string;
|
|
55
|
+
securityId: string;
|
|
56
|
+
solicitorId: string;
|
|
57
|
+
isActive: boolean;
|
|
58
|
+
isUkResident: boolean;
|
|
59
|
+
riskRating?: string;
|
|
60
|
+
directDebitId?: string;
|
|
61
|
+
mortgageId?: string;
|
|
62
|
+
companyId?: string;
|
|
63
|
+
rationaleId?: string;
|
|
64
|
+
newAuditRecordsCount: string;
|
|
65
|
+
currentApprivoAuditId?: string;
|
|
66
|
+
applicantIds: string[];
|
|
67
|
+
propertyIds: string[];
|
|
68
|
+
createdAt: Date;
|
|
69
|
+
updatedAt: Date;
|
|
70
|
+
applicationType?: LookupEntity;
|
|
71
|
+
lendingType?: LookupEntity;
|
|
72
|
+
purchaseType?: LookupEntity;
|
|
73
|
+
status?: LookupEntity;
|
|
74
|
+
repaymentType?: LookupEntity;
|
|
75
|
+
broker?: BrokerEntity;
|
|
76
|
+
security?: SecurityEntity;
|
|
77
|
+
solicitor?: SolicitorEntity;
|
|
78
|
+
product?: ProductEntity;
|
|
79
|
+
directDebit?: ApplicationDirectDebitEntity;
|
|
80
|
+
creditProfile?: ApplicationCreditProfileEntity;
|
|
81
|
+
mortgage?: ApplicationMortgageEntity;
|
|
82
|
+
company?: ApplicationCompanyEntity;
|
|
83
|
+
rationale?: ApplicationRationaleEntity;
|
|
84
|
+
applicants?: ApplicantEntity[];
|
|
85
|
+
sourceOfWealth?: LookupEntity[];
|
|
86
|
+
properties?: PropertyEntity[];
|
|
87
|
+
companies?: ApplicationCompanyEntity[];
|
|
88
|
+
constructor(partial: Partial<ApplicationEntity>);
|
|
89
|
+
get noOfApplicants(): number;
|
|
90
|
+
get applicationTypeName(): string | null;
|
|
91
|
+
get lendingTypeName(): string | null;
|
|
92
|
+
get purchaseTypeName(): string | null;
|
|
93
|
+
get statusName(): string | null;
|
|
94
|
+
get ltv(): string | null;
|
|
95
|
+
get submittedDateFormatted(): string | null;
|
|
96
|
+
get brokerName(): string | null;
|
|
97
|
+
get brokerEmail(): string | null;
|
|
98
|
+
get solicitorName(): string | null;
|
|
99
|
+
get solicitorEmail(): string | null;
|
|
100
|
+
get brokerPhone(): string | null;
|
|
101
|
+
get solicitorPhone(): string | null;
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=application.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/application.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF,qBAAa,iBAAiB;IAC1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UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,wBAAwB,EAAE,CAAC;gBAE3B,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAAC;IAK/C,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED,IAAI,mBAAmB,IAAI,MAAM,GAAG,IAAI,CAEvC;IAED,IAAI,eAAe,IAAI,MAAM,GAAG,IAAI,CAEnC;IAED,IAAI,gBAAgB,IAAI,MAAM,GAAG,IAAI,CAEpC;IAED,IAAI,UAAU,IAAI,MAAM,GAAG,IAAI,CAE9B;IAED,IAAI,GAAG,IAAI,MAAM,GAAG,IAAI,CAevB;IAED,IAAI,sBAAsB,IAAI,MAAM,GAAG,IAAI,CAO1C;IAED,IAAI,UAAU,IAAI,MAAM,GAAG,IAAI,CAK9B;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;IAED,IAAI,aAAa,IAAI,MAAM,GAAG,IAAI,CAEjC;IAED,IAAI,cAAc,IAAI,MAAM,GAAG,IAAI,CAElC;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,IAAI,CAE/B;IAED,IAAI,cAAc,IAAI,MAAM,GAAG,IAAI,CAElC;CACJ"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export class ApplicationEntity {
|
|
2
|
+
constructor(partial) {
|
|
3
|
+
Object.assign(this, partial);
|
|
4
|
+
}
|
|
5
|
+
// Virtual properties from Mongoose model
|
|
6
|
+
get noOfApplicants() {
|
|
7
|
+
return this.applicantIds?.length ?? 0;
|
|
8
|
+
}
|
|
9
|
+
get applicationTypeName() {
|
|
10
|
+
return this.applicationType?.name ?? null;
|
|
11
|
+
}
|
|
12
|
+
get lendingTypeName() {
|
|
13
|
+
return this.lendingType?.name ?? null;
|
|
14
|
+
}
|
|
15
|
+
get purchaseTypeName() {
|
|
16
|
+
return this.purchaseType?.name ?? null;
|
|
17
|
+
}
|
|
18
|
+
get statusName() {
|
|
19
|
+
return this.status?.name ?? null;
|
|
20
|
+
}
|
|
21
|
+
get ltv() {
|
|
22
|
+
if (this.mortgage?.purchasePrice && this.mortgage?.loanRequired) {
|
|
23
|
+
const parseCurrency = (value) => {
|
|
24
|
+
if (typeof value === 'string') {
|
|
25
|
+
return parseFloat(value.replace(/[^0-9.-]+/g, ""));
|
|
26
|
+
}
|
|
27
|
+
return value;
|
|
28
|
+
};
|
|
29
|
+
const parsedPurchasePrice = parseCurrency(this.mortgage.purchasePrice);
|
|
30
|
+
const parsedLoanRequired = parseCurrency(this.mortgage.loanRequired);
|
|
31
|
+
const ltv = (parsedLoanRequired / parsedPurchasePrice) * 100;
|
|
32
|
+
return ltv.toFixed(2) + "%";
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
get submittedDateFormatted() {
|
|
37
|
+
if (!this.submittedDate)
|
|
38
|
+
return null;
|
|
39
|
+
const date = new Date(this.submittedDate);
|
|
40
|
+
const day = String(date.getDate()).padStart(2, '0');
|
|
41
|
+
const month = String(date.getMonth() + 1).padStart(2, '0');
|
|
42
|
+
const year = date.getFullYear();
|
|
43
|
+
return `${day}-${month}-${year}`;
|
|
44
|
+
}
|
|
45
|
+
get brokerName() {
|
|
46
|
+
if (this.broker?.firstName && this.broker?.lastName) {
|
|
47
|
+
return `${this.broker.firstName} ${this.broker.lastName}`;
|
|
48
|
+
}
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
get brokerEmail() {
|
|
52
|
+
return this.broker?.email ?? null;
|
|
53
|
+
}
|
|
54
|
+
get solicitorName() {
|
|
55
|
+
return this.solicitor?.nameOfAccountHolder ?? null;
|
|
56
|
+
}
|
|
57
|
+
get solicitorEmail() {
|
|
58
|
+
return this.solicitor?.email ?? null;
|
|
59
|
+
}
|
|
60
|
+
get brokerPhone() {
|
|
61
|
+
return this.broker?.mobileTelephone ?? null;
|
|
62
|
+
}
|
|
63
|
+
get solicitorPhone() {
|
|
64
|
+
return this.solicitor?.telephone ?? null;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class BrokerEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
brokerId: string;
|
|
4
|
+
landlinePhone?: string;
|
|
5
|
+
mobileTelephone?: string;
|
|
6
|
+
addressPostCode?: string;
|
|
7
|
+
addressLine1?: string;
|
|
8
|
+
addressLine2?: string;
|
|
9
|
+
addressLine3?: string;
|
|
10
|
+
addressCity?: string;
|
|
11
|
+
addressCountry?: string;
|
|
12
|
+
tradingName?: string;
|
|
13
|
+
fcaNumber?: string;
|
|
14
|
+
brokerType?: string;
|
|
15
|
+
email?: string;
|
|
16
|
+
network?: string;
|
|
17
|
+
firstName?: string;
|
|
18
|
+
lastName?: string;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
constructor(partial: Partial<BrokerEntity>);
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=broker.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"broker.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/broker.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IACrB,EAAE,EAAG,MAAM,CAAC;IACZ,QAAQ,EAAG,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC;CAG7C"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare class ChecklistItemEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
additionalOfferConditions: string;
|
|
4
|
+
appFormSignedNotes: string;
|
|
5
|
+
applicationCompletionDate?: string;
|
|
6
|
+
buildingInsuranceInsurerName: string;
|
|
7
|
+
buildingInsurancePolicyNumber: string;
|
|
8
|
+
buildingInsuranceReceived: string;
|
|
9
|
+
buildingInsuranceRenewalDate?: string;
|
|
10
|
+
dateOfValuationReceived?: string;
|
|
11
|
+
feePaidDocumentsDownloaded: string;
|
|
12
|
+
feePaidNotes: string;
|
|
13
|
+
fundsNotes: string;
|
|
14
|
+
fundsReleasedDate?: string;
|
|
15
|
+
hasAllDocsReviewedAndAccepted: string;
|
|
16
|
+
idnPorReceived: string;
|
|
17
|
+
legalCompletionDate?: string;
|
|
18
|
+
legalDocsReceived: string;
|
|
19
|
+
legalNotes: string;
|
|
20
|
+
ninetyDaysValuationAmount: string;
|
|
21
|
+
offerConditionsItems: string;
|
|
22
|
+
offerConditionsMet: string;
|
|
23
|
+
offerNotes: string;
|
|
24
|
+
offerOfferPrepared: string;
|
|
25
|
+
offerOfferReviewed: string;
|
|
26
|
+
offerSignedNotes: string;
|
|
27
|
+
offerSolicitorInstructedDate?: string;
|
|
28
|
+
packagingNotes: string;
|
|
29
|
+
preOfferNotes: string;
|
|
30
|
+
reinstatementAmount: string;
|
|
31
|
+
rotReceived: string;
|
|
32
|
+
rotReceivedDate?: string;
|
|
33
|
+
salesContractReceived: string;
|
|
34
|
+
underwritingNotes: string;
|
|
35
|
+
underwritingValuationNotes: string;
|
|
36
|
+
valuationAccepted?: string;
|
|
37
|
+
valuationFurtherConditions: string;
|
|
38
|
+
valuationNotes: string;
|
|
39
|
+
valuationReceived?: string;
|
|
40
|
+
valuationRequestedDate?: string;
|
|
41
|
+
valuationScheduledDate?: string;
|
|
42
|
+
valuationSurveyorDetails: string;
|
|
43
|
+
createdAt: Date;
|
|
44
|
+
updatedAt: Date;
|
|
45
|
+
constructor(partial: Partial<ChecklistItemEntity>);
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=checklist-item.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checklist-item.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/checklist-item.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAmB;IAC5B,EAAE,EAAG,MAAM,CAAC;IACZ,yBAAyB,EAAG,MAAM,CAAC;IACnC,kBAAkB,EAAG,MAAM,CAAC;IAC5B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,4BAA4B,EAAG,MAAM,CAAC;IACtC,6BAA6B,EAAG,MAAM,CAAC;IACvC,yBAAyB,EAAG,MAAM,CAAC;IACnC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,0BAA0B,EAAG,MAAM,CAAC;IACpC,YAAY,EAAG,MAAM,CAAC;IACtB,UAAU,EAAG,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,6BAA6B,EAAG,MAAM,CAAC;IACvC,cAAc,EAAG,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,EAAG,MAAM,CAAC;IAC3B,UAAU,EAAG,MAAM,CAAC;IACpB,yBAAyB,EAAG,MAAM,CAAC;IACnC,oBAAoB,EAAG,MAAM,CAAC;IAC9B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,UAAU,EAAG,MAAM,CAAC;IACpB,kBAAkB,EAAG,MAAM,CAAC;IAC5B,kBAAkB,EAAG,MAAM,CAAC;IAC5B,gBAAgB,EAAG,MAAM,CAAC;IAC1B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,cAAc,EAAG,MAAM,CAAC;IACxB,aAAa,EAAG,MAAM,CAAC;IACvB,mBAAmB,EAAG,MAAM,CAAC;IAC7B,WAAW,EAAG,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAG,MAAM,CAAC;IAC/B,iBAAiB,EAAG,MAAM,CAAC;IAC3B,0BAA0B,EAAG,MAAM,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0BAA0B,EAAG,MAAM,CAAC;IACpC,cAAc,EAAG,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAG,MAAM,CAAC;IAClC,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,mBAAmB,CAAC;CAGpD"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { ApplicantEntity } from "../applicants/applicant.entity";
|
|
2
|
+
import { LookupEntity } from "../shared/lookup.entity";
|
|
3
|
+
import { ApplicationEntity } from "./application.entity";
|
|
4
|
+
export declare class ApplicantShareholdingEntity {
|
|
5
|
+
id: string;
|
|
6
|
+
companyId: string;
|
|
7
|
+
applicantId: string;
|
|
8
|
+
applicantName: string;
|
|
9
|
+
directorShareholderLid?: string;
|
|
10
|
+
shareholding?: number;
|
|
11
|
+
createdAt: Date;
|
|
12
|
+
updatedAt: Date;
|
|
13
|
+
company?: CompanyEntity;
|
|
14
|
+
applicant?: ApplicantEntity;
|
|
15
|
+
directorShareholder?: LookupEntity;
|
|
16
|
+
constructor(partial: Partial<ApplicantShareholdingEntity>);
|
|
17
|
+
}
|
|
18
|
+
export declare class CompanyEntity {
|
|
19
|
+
id: string;
|
|
20
|
+
applicationId: string;
|
|
21
|
+
pageValidFlag: boolean;
|
|
22
|
+
registeredName: string;
|
|
23
|
+
businessTypeLid: string;
|
|
24
|
+
registeredNumber: number;
|
|
25
|
+
taxJurisdictionLid: string;
|
|
26
|
+
tradingSince?: string;
|
|
27
|
+
natureOfBusiness: string;
|
|
28
|
+
yearEnd?: string;
|
|
29
|
+
addressPostCode: string;
|
|
30
|
+
addressLine1: string;
|
|
31
|
+
addressLine2?: string;
|
|
32
|
+
addressLine3?: string;
|
|
33
|
+
addressCity?: string;
|
|
34
|
+
addressCountryLid: string;
|
|
35
|
+
applicationTypeLid: string;
|
|
36
|
+
yearEnd1: number;
|
|
37
|
+
turnoverYear1: number;
|
|
38
|
+
netProfitYear1: number;
|
|
39
|
+
yearEnd2: number;
|
|
40
|
+
turnoverYear2: number;
|
|
41
|
+
netProfitYear2: number;
|
|
42
|
+
yearEnd3: number;
|
|
43
|
+
turnoverYear3: number;
|
|
44
|
+
netProfitYear3: number;
|
|
45
|
+
companyCreditDefaults: string;
|
|
46
|
+
companyCountyCourtJudgment: string;
|
|
47
|
+
companySecuredArrears: string;
|
|
48
|
+
companyUnsecuredArrears: string;
|
|
49
|
+
companyBankruptcy: string;
|
|
50
|
+
companyBankruptcyYes: boolean;
|
|
51
|
+
companyBankruptcyNo: boolean;
|
|
52
|
+
companyCCJInLastThreeYearYes: boolean;
|
|
53
|
+
companyCCJInLastThreeYearNo: boolean;
|
|
54
|
+
companyDefaultsInLastYearYes: boolean;
|
|
55
|
+
companyDefaultsInLastYearNo: boolean;
|
|
56
|
+
companyAnyVoluntaryEnforcedPossessionYes: boolean;
|
|
57
|
+
companyAnyVoluntaryEnforcedPossessionNo: boolean;
|
|
58
|
+
doYouKnowRegisteredNumber: boolean;
|
|
59
|
+
sicCodes: string[];
|
|
60
|
+
epc: string;
|
|
61
|
+
remainingLease: string;
|
|
62
|
+
dateOfIncorporation?: string;
|
|
63
|
+
createdAt: Date;
|
|
64
|
+
updatedAt: Date;
|
|
65
|
+
application?: ApplicationEntity;
|
|
66
|
+
businessType?: LookupEntity;
|
|
67
|
+
taxJurisdiction?: LookupEntity;
|
|
68
|
+
addressCountry?: LookupEntity;
|
|
69
|
+
applicationType?: LookupEntity;
|
|
70
|
+
applicantShareholdings?: ApplicantShareholdingEntity[];
|
|
71
|
+
constructor(partial: Partial<CompanyEntity>);
|
|
72
|
+
get businessTypeName(): string | null;
|
|
73
|
+
get taxJurisdictionName(): string | null;
|
|
74
|
+
get addressCountryName(): string | null;
|
|
75
|
+
get applicationTypeName(): string | null;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=company.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/company.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGzD,qBAAa,2BAA2B;IACpC,EAAE,EAAG,MAAM,CAAC;IACZ,SAAS,EAAG,MAAM,CAAC;IACnB,WAAW,EAAG,MAAM,CAAC;IACrB,aAAa,EAAG,MAAM,CAAC;IACvB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,mBAAmB,CAAC,EAAE,YAAY,CAAC;gBAEvB,OAAO,EAAE,OAAO,CAAC,2BAA2B,CAAC;CAG5D;AAED,qBAAa,aAAa;IACtB,EAAE,EAAG,M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AAO,CAAC;IAClD,yBAAyB,EAAG,OAAO,CAAC;IACpC,QAAQ,EAAG,MAAM,EAAE,CAAC;IACpB,GAAG,EAAG,MAAM,CAAC;IACb,cAAc,EAAG,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,sBAAsB,CAAC,EAAE,2BAA2B,EAAE,CAAC;gBAE3C,OAAO,EAAE,OAAO,CAAC,aAAa,CAAC;IAK3C,IAAI,gBAAgB,IAAI,MAAM,GAAG,IAAI,CAEpC;IAED,IAAI,mBAAmB,IAAI,MAAM,GAAG,IAAI,CAEvC;IAED,IAAI,kBAAkB,IAAI,MAAM,GAAG,IAAI,CAEtC;IAED,IAAI,mBAAmB,IAAI,MAAM,GAAG,IAAI,CAEvC;CACJ"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export class ApplicantShareholdingEntity {
|
|
2
|
+
constructor(partial) {
|
|
3
|
+
Object.assign(this, partial);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
export class CompanyEntity {
|
|
7
|
+
constructor(partial) {
|
|
8
|
+
Object.assign(this, partial);
|
|
9
|
+
}
|
|
10
|
+
// Virtual fields from Mongoose model
|
|
11
|
+
get businessTypeName() {
|
|
12
|
+
return this.businessType?.name ?? null;
|
|
13
|
+
}
|
|
14
|
+
get taxJurisdictionName() {
|
|
15
|
+
return this.taxJurisdiction?.name ?? null;
|
|
16
|
+
}
|
|
17
|
+
get addressCountryName() {
|
|
18
|
+
return this.addressCountry?.name ?? null;
|
|
19
|
+
}
|
|
20
|
+
get applicationTypeName() {
|
|
21
|
+
return this.applicationType?.name ?? null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, Company, ApplicationRationale, ApplicationProduct, ApplicationNote, ApplicationOffer, ApplicationOnboarding, ApplicationIllustration, ApplicationLegal, ApplicationMortgage, ApplicationDocument, ApplicationFieldConfig, ApplicationAudit, ApplicationCompany, ApplicationDirectDebit } from '@prisma/client';
|
|
2
|
+
export type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, Company, ApplicationRationale, ApplicationProduct, ApplicationNote, ApplicationOffer, ApplicationOnboarding, ApplicationIllustration, ApplicationLegal, ApplicationMortgage, ApplicationDocument, ApplicationFieldConfig, ApplicationAudit, ApplicationCompany, ApplicationDirectDebit };
|
|
3
|
+
export * from './application.entity';
|
|
4
|
+
export * from './product-features.entity';
|
|
5
|
+
export * from './solicitor.entity';
|
|
6
|
+
export * from './broker.entity';
|
|
7
|
+
export * from './checklist-item.entity';
|
|
8
|
+
export * from './company.entity';
|
|
9
|
+
export * from './application-credit-profile.entity';
|
|
10
|
+
export * from './application-rationale.entity';
|
|
11
|
+
export * from './application-product.entity';
|
|
12
|
+
export * from './application-note.entity';
|
|
13
|
+
export * from './application-offer.entity';
|
|
14
|
+
export * from './application-onboarding.entity';
|
|
15
|
+
export * from './application-illustration.entity';
|
|
16
|
+
export * from './application-legal.entity';
|
|
17
|
+
export * from './application-mortgage.entity';
|
|
18
|
+
export * from './application-document.entity';
|
|
19
|
+
export * from './application-fieldconfig.entity';
|
|
20
|
+
export * from './application-audit.entity';
|
|
21
|
+
export * from './application-company.entity';
|
|
22
|
+
export * from './application-direct-debit.entity';
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../entities/applications/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,OAAO,EACP,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACzB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACR,WAAW,EACX,eAAe,EACf,SAAS,EACT,MAAM,EACN,aAAa,EACb,OAAO,EACP,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACzB,CAAC;AAGF,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC"}
|