@dynamatix/gb-schemas 2.0.20 → 2.0.22
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/entities/applicants/applicant-employment-income.entity.ts +4 -0
- package/entities/applicants/applicant-employment.entity.ts +5 -0
- package/entities/applicants/applicant-expenditure.entity.ts +4 -0
- package/entities/applicants/index.ts +1 -0
- package/entities/applications/index.ts +0 -8
- package/package.json +1 -1
- package/dist/applicants/applicant-additional-income.model.d.ts +0 -214
- package/dist/applicants/applicant-additional-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-additional-income.model.js +0 -13
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +0 -534
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-creditCard.model.js +0 -34
- package/dist/applicants/applicant-commitment-loan.model.d.ts +0 -420
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-loan.model.js +0 -38
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +0 -498
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +0 -69
- package/dist/applicants/applicant-commitment-residence.model.d.ts +0 -754
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-residence.model.js +0 -50
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +0 -394
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.js +0 -29
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +0 -388
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +0 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +0 -28
- package/dist/applicants/applicant-credit-data.model.d.ts +0 -59
- package/dist/applicants/applicant-credit-data.model.d.ts.map +0 -1
- package/dist/applicants/applicant-credit-data.model.js +0 -11
- package/dist/applicants/applicant-credit-profile.model.d.ts +0 -50
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +0 -1
- package/dist/applicants/applicant-credit-profile.model.js +0 -20
- package/dist/applicants/applicant-direct-debit.model.d.ts +0 -88
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +0 -1
- package/dist/applicants/applicant-direct-debit.model.js +0 -17
- package/dist/applicants/applicant-employment-income.model.d.ts +0 -201
- package/dist/applicants/applicant-employment-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-employment-income.model.js +0 -9
- package/dist/applicants/applicant-employment.model.d.ts +0 -162
- package/dist/applicants/applicant-employment.model.d.ts.map +0 -1
- package/dist/applicants/applicant-employment.model.js +0 -50
- package/dist/applicants/applicant-expenditure.model.d.ts +0 -113
- package/dist/applicants/applicant-expenditure.model.d.ts.map +0 -1
- package/dist/applicants/applicant-expenditure.model.js +0 -54
- package/dist/applicants/applicant-income-source.model.d.ts +0 -53
- package/dist/applicants/applicant-income-source.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income-source.model.js +0 -9
- package/dist/applicants/applicant-income.model.d.ts +0 -234
- package/dist/applicants/applicant-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-income.model.js +0 -81
- package/dist/applicants/applicant-other-income.model.d.ts +0 -111
- package/dist/applicants/applicant-other-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-other-income.model.js +0 -46
- package/dist/applicants/applicant-pension-income.model.d.ts +0 -771
- package/dist/applicants/applicant-pension-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-pension-income.model.js +0 -27
- package/dist/applicants/applicant-property-income.model.d.ts +0 -933
- package/dist/applicants/applicant-property-income.model.d.ts.map +0 -1
- package/dist/applicants/applicant-property-income.model.js +0 -23
- package/dist/applicants/applicant-risk-narrative.model.d.ts +0 -65
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +0 -1
- package/dist/applicants/applicant-risk-narrative.model.js +0 -13
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +0 -777
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +0 -1
- package/dist/applicants/applicant-uk-tax-credits.model.js +0 -13
- package/dist/applicants/applicant.model.d.ts +0 -161
- package/dist/applicants/applicant.model.d.ts.map +0 -1
- package/dist/applicants/applicant.model.js +0 -223
- package/dist/applicants/index.d.ts +0 -14
- package/dist/applicants/index.d.ts.map +0 -1
- package/dist/applicants/index.js +0 -13
- package/dist/applications/application-audit.model.d.ts +0 -119
- package/dist/applications/application-audit.model.d.ts.map +0 -1
- package/dist/applications/application-audit.model.js +0 -42
- package/dist/applications/application-checklist-Item.model.d.ts +0 -285
- package/dist/applications/application-checklist-Item.model.d.ts.map +0 -1
- package/dist/applications/application-checklist-Item.model.js +0 -45
- package/dist/applications/application-company-model.d.ts +0 -1510
- package/dist/applications/application-company-model.d.ts.map +0 -1
- package/dist/applications/application-company-model.js +0 -120
- package/dist/applications/application-credit-profile.model.d.ts +0 -62
- package/dist/applications/application-credit-profile.model.d.ts.map +0 -1
- package/dist/applications/application-credit-profile.model.js +0 -12
- package/dist/applications/application-direct-debit.model.d.ts +0 -571
- package/dist/applications/application-direct-debit.model.d.ts.map +0 -1
- package/dist/applications/application-direct-debit.model.js +0 -92
- package/dist/applications/application-document.model.d.ts +0 -185
- package/dist/applications/application-document.model.d.ts.map +0 -1
- package/dist/applications/application-document.model.js +0 -35
- package/dist/applications/application-fieldconfig.model.d.ts +0 -57
- package/dist/applications/application-fieldconfig.model.d.ts.map +0 -1
- package/dist/applications/application-fieldconfig.model.js +0 -7
- package/dist/applications/application-illustration-model.d.ts +0 -51
- package/dist/applications/application-illustration-model.d.ts.map +0 -1
- package/dist/applications/application-illustration-model.js +0 -6
- package/dist/applications/application-legal.model.d.ts +0 -57
- package/dist/applications/application-legal.model.d.ts.map +0 -1
- package/dist/applications/application-legal.model.js +0 -7
- package/dist/applications/application-mortgage.model.d.ts +0 -1229
- package/dist/applications/application-mortgage.model.d.ts.map +0 -1
- package/dist/applications/application-mortgage.model.js +0 -271
- package/dist/applications/application-note.model.d.ts +0 -171
- package/dist/applications/application-note.model.d.ts.map +0 -1
- package/dist/applications/application-note.model.js +0 -78
- package/dist/applications/application-offer.model.d.ts +0 -51
- package/dist/applications/application-offer.model.d.ts.map +0 -1
- package/dist/applications/application-offer.model.js +0 -6
- package/dist/applications/application-onboarding.model.d.ts +0 -69
- package/dist/applications/application-onboarding.model.d.ts.map +0 -1
- package/dist/applications/application-onboarding.model.js +0 -9
- package/dist/applications/application-product.model.d.ts +0 -147
- package/dist/applications/application-product.model.d.ts.map +0 -1
- package/dist/applications/application-product.model.js +0 -67
- package/dist/applications/application-productfeatures.model.d.ts +0 -765
- package/dist/applications/application-productfeatures.model.d.ts.map +0 -1
- package/dist/applications/application-productfeatures.model.js +0 -96
- package/dist/applications/application-rationale.model.d.ts +0 -243
- package/dist/applications/application-rationale.model.d.ts.map +0 -1
- package/dist/applications/application-rationale.model.js +0 -38
- package/dist/applications/application-risk-narrative.model.d.ts +0 -87
- package/dist/applications/application-risk-narrative.model.d.ts.map +0 -1
- package/dist/applications/application-risk-narrative.model.js +0 -12
- package/dist/applications/application-valuation.model.d.ts +0 -71
- package/dist/applications/application-valuation.model.d.ts.map +0 -1
- package/dist/applications/application-valuation.model.js +0 -15
- package/dist/applications/application.model.d.ts +0 -455
- package/dist/applications/application.model.d.ts.map +0 -1
- package/dist/applications/application.model.js +0 -153
- package/dist/applications/broker.model.d.ts +0 -161
- package/dist/applications/broker.model.d.ts.map +0 -1
- package/dist/applications/broker.model.js +0 -21
- package/dist/applications/document.model.d.ts +0 -185
- package/dist/applications/document.model.d.ts.map +0 -1
- package/dist/applications/document.model.js +0 -35
- package/dist/applications/index.d.ts +0 -21
- package/dist/applications/index.d.ts.map +0 -1
- package/dist/applications/index.js +0 -20
- package/dist/applications/productfeatures.model.d.ts +0 -395
- package/dist/applications/productfeatures.model.d.ts.map +0 -1
- package/dist/applications/productfeatures.model.js +0 -94
- package/dist/applications/solicitor.model.d.ts +0 -203
- package/dist/applications/solicitor.model.d.ts.map +0 -1
- package/dist/applications/solicitor.model.js +0 -114
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts +0 -19
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-data.entity.js +0 -5
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-profile.entity.js +0 -5
- package/dist/entities/applicants/applicant-employment.entity.d.ts +0 -53
- package/dist/entities/applicants/applicant-employment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-employment.entity.js +0 -2
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts +0 -13
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-expenditure.entity.js +0 -2
- package/dist/entities/applicants/applicant-income-source.entity.d.ts +0 -17
- package/dist/entities/applicants/applicant-income-source.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-income-source.entity.js +0 -5
- package/dist/entities/applicants/applicant-income.entity.d.ts +0 -59
- package/dist/entities/applicants/applicant-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-income.entity.js +0 -2
- package/dist/entities/applicants/applicant.entity.d.ts +0 -143
- package/dist/entities/applicants/applicant.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant.entity.js +0 -48
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts +0 -16
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/credit-card-commitment.entity.js +0 -5
- package/dist/entities/applicants/credit-data.entity.d.ts +0 -19
- package/dist/entities/applicants/credit-data.entity.d.ts.map +0 -1
- package/dist/entities/applicants/credit-data.entity.js +0 -5
- package/dist/entities/applicants/credit-profile.entity.d.ts +0 -11
- package/dist/entities/applicants/credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applicants/credit-profile.entity.js +0 -5
- package/dist/entities/applicants/direct-debit.entity.d.ts +0 -25
- package/dist/entities/applicants/direct-debit.entity.d.ts.map +0 -1
- package/dist/entities/applicants/direct-debit.entity.js +0 -5
- package/dist/entities/applicants/employment.entity.d.ts +0 -59
- package/dist/entities/applicants/employment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/employment.entity.js +0 -2
- package/dist/entities/applicants/expenditure.entity.d.ts +0 -24
- package/dist/entities/applicants/expenditure.entity.d.ts.map +0 -1
- package/dist/entities/applicants/expenditure.entity.js +0 -5
- package/dist/entities/applicants/income-source.entity.d.ts +0 -17
- package/dist/entities/applicants/income-source.entity.d.ts.map +0 -1
- package/dist/entities/applicants/income-source.entity.js +0 -5
- package/dist/entities/applicants/income.entity.d.ts +0 -54
- package/dist/entities/applicants/income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/income.entity.js +0 -5
- package/dist/entities/applicants/index.d.ts +0 -18
- package/dist/entities/applicants/index.d.ts.map +0 -1
- package/dist/entities/applicants/index.js +0 -16
- package/dist/entities/applicants/loan-commitment.entity.d.ts +0 -20
- package/dist/entities/applicants/loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/loan-commitment.entity.js +0 -5
- package/dist/entities/applicants/lookup.entity.d.ts +0 -10
- package/dist/entities/applicants/lookup.entity.d.ts.map +0 -1
- package/dist/entities/applicants/lookup.entity.js +0 -5
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts +0 -37
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/mortgage-commitment.entity.js +0 -19
- package/dist/entities/applicants/other-income.entity.d.ts +0 -41
- package/dist/entities/applicants/other-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/other-income.entity.js +0 -19
- package/dist/entities/applicants/property-income.entity.d.ts +0 -17
- package/dist/entities/applicants/property-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/property-income.entity.js +0 -5
- package/dist/entities/applicants/residence-commitment.entity.d.ts +0 -44
- package/dist/entities/applicants/residence-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/residence-commitment.entity.js +0 -19
- package/dist/entities/applicants/risk-narrative.entity.d.ts +0 -23
- package/dist/entities/applicants/risk-narrative.entity.d.ts.map +0 -1
- package/dist/entities/applicants/risk-narrative.entity.js +0 -5
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts +0 -21
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/secure-loan-commitment.entity.js +0 -9
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +0 -20
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/unsecured-loan-commitment.entity.js +0 -10
- package/dist/entities/applications/application-audit.entity.d.ts +0 -18
- package/dist/entities/applications/application-audit.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-audit.entity.js +0 -5
- package/dist/entities/applications/application-company.entity.d.ts +0 -12
- package/dist/entities/applications/application-company.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-company.entity.js +0 -5
- package/dist/entities/applications/application-credit-profile.entity.d.ts +0 -11
- package/dist/entities/applications/application-credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-credit-profile.entity.js +0 -5
- package/dist/entities/applications/application-direct-debit.entity.d.ts +0 -12
- package/dist/entities/applications/application-direct-debit.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-direct-debit.entity.js +0 -5
- package/dist/entities/applications/application-document.entity.d.ts +0 -28
- package/dist/entities/applications/application-document.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-document.entity.js +0 -5
- package/dist/entities/applications/application-fieldconfig.entity.d.ts +0 -9
- package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-fieldconfig.entity.js +0 -5
- package/dist/entities/applications/application-illustration.entity.d.ts +0 -8
- package/dist/entities/applications/application-illustration.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-illustration.entity.js +0 -5
- package/dist/entities/applications/application-legal.entity.d.ts +0 -9
- package/dist/entities/applications/application-legal.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-legal.entity.js +0 -5
- package/dist/entities/applications/application-mortgage.entity.d.ts +0 -55
- package/dist/entities/applications/application-mortgage.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-mortgage.entity.js +0 -27
- package/dist/entities/applications/application-note.entity.d.ts +0 -36
- package/dist/entities/applications/application-note.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-note.entity.js +0 -5
- package/dist/entities/applications/application-offer.entity.d.ts +0 -8
- package/dist/entities/applications/application-offer.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-offer.entity.js +0 -5
- package/dist/entities/applications/application-onboarding.entity.d.ts +0 -11
- package/dist/entities/applications/application-onboarding.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-onboarding.entity.js +0 -5
- package/dist/entities/applications/application-product.entity.d.ts +0 -33
- package/dist/entities/applications/application-product.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-product.entity.js +0 -5
- package/dist/entities/applications/application-rationale.entity.d.ts +0 -51
- package/dist/entities/applications/application-rationale.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-rationale.entity.js +0 -5
- package/dist/entities/applications/application-risk-narrative.entity.d.ts +0 -17
- package/dist/entities/applications/application-risk-narrative.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-risk-narrative.entity.js +0 -5
- package/dist/entities/applications/application-valuation.entity.d.ts +0 -18
- package/dist/entities/applications/application-valuation.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-valuation.entity.js +0 -5
- package/dist/entities/applications/application.entity.d.ts +0 -99
- package/dist/entities/applications/application.entity.d.ts.map +0 -1
- package/dist/entities/applications/application.entity.js +0 -66
- package/dist/entities/applications/broker.entity.d.ts +0 -23
- package/dist/entities/applications/broker.entity.d.ts.map +0 -1
- package/dist/entities/applications/broker.entity.js +0 -5
- package/dist/entities/applications/checklist-item.entity.d.ts +0 -47
- package/dist/entities/applications/checklist-item.entity.d.ts.map +0 -1
- package/dist/entities/applications/checklist-item.entity.js +0 -5
- package/dist/entities/applications/company.entity.d.ts +0 -77
- package/dist/entities/applications/company.entity.d.ts.map +0 -1
- package/dist/entities/applications/company.entity.js +0 -23
- package/dist/entities/applications/credit-profile.entity.d.ts +0 -11
- package/dist/entities/applications/credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applications/credit-profile.entity.js +0 -5
- package/dist/entities/applications/index.d.ts +0 -25
- package/dist/entities/applications/index.d.ts.map +0 -1
- package/dist/entities/applications/index.js +0 -23
- package/dist/entities/applications/product-features.entity.d.ts +0 -54
- package/dist/entities/applications/product-features.entity.d.ts.map +0 -1
- package/dist/entities/applications/product-features.entity.js +0 -5
- package/dist/entities/applications/solicitor.entity.d.ts +0 -33
- package/dist/entities/applications/solicitor.entity.d.ts.map +0 -1
- package/dist/entities/applications/solicitor.entity.js +0 -5
- package/dist/entities/index.d.ts +0 -10
- package/dist/entities/index.d.ts.map +0 -1
- package/dist/entities/index.js +0 -10
- package/dist/entities/prisma.d.ts +0 -3
- package/dist/entities/prisma.d.ts.map +0 -1
- package/dist/entities/prisma.js +0 -10
- package/dist/entities/product-catalogues/index.d.ts +0 -8
- package/dist/entities/product-catalogues/index.d.ts.map +0 -1
- package/dist/entities/product-catalogues/index.js +0 -6
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts +0 -22
- package/dist/entities/product-catalogues/product-catalogue.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-catalogue.entity.js +0 -5
- package/dist/entities/product-catalogues/product-definition.entity.d.ts +0 -16
- package/dist/entities/product-catalogues/product-definition.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-definition.entity.js +0 -5
- package/dist/entities/product-catalogues/product-variant.entity.d.ts +0 -14
- package/dist/entities/product-catalogues/product-variant.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product-variant.entity.js +0 -5
- package/dist/entities/product-catalogues/product.entity.d.ts +0 -11
- package/dist/entities/product-catalogues/product.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/product.entity.js +0 -5
- package/dist/entities/product-catalogues/rule.entity.d.ts +0 -21
- package/dist/entities/product-catalogues/rule.entity.d.ts.map +0 -1
- package/dist/entities/product-catalogues/rule.entity.js +0 -5
- package/dist/entities/properties/data-street.entity.d.ts +0 -22
- package/dist/entities/properties/data-street.entity.d.ts.map +0 -1
- package/dist/entities/properties/data-street.entity.js +0 -5
- package/dist/entities/properties/index.d.ts +0 -6
- package/dist/entities/properties/index.d.ts.map +0 -1
- package/dist/entities/properties/index.js +0 -4
- package/dist/entities/properties/property.entity.d.ts +0 -30
- package/dist/entities/properties/property.entity.d.ts.map +0 -1
- package/dist/entities/properties/property.entity.js +0 -5
- package/dist/entities/properties/security.entity.d.ts +0 -57
- package/dist/entities/properties/security.entity.d.ts.map +0 -1
- package/dist/entities/properties/security.entity.js +0 -5
- package/dist/entities/shared/alert.entity.d.ts +0 -14
- package/dist/entities/shared/alert.entity.d.ts.map +0 -1
- package/dist/entities/shared/alert.entity.js +0 -5
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts +0 -19
- package/dist/entities/shared/apprivo-sync-journey.entity.d.ts.map +0 -1
- package/dist/entities/shared/apprivo-sync-journey.entity.js +0 -5
- package/dist/entities/shared/checklist.entity.d.ts +0 -15
- package/dist/entities/shared/checklist.entity.d.ts.map +0 -1
- package/dist/entities/shared/checklist.entity.js +0 -5
- package/dist/entities/shared/document-type.entity.d.ts +0 -9
- package/dist/entities/shared/document-type.entity.d.ts.map +0 -1
- package/dist/entities/shared/document-type.entity.js +0 -5
- package/dist/entities/shared/index.d.ts +0 -12
- package/dist/entities/shared/index.d.ts.map +0 -1
- package/dist/entities/shared/index.js +0 -10
- package/dist/entities/shared/job-run.entity.d.ts +0 -15
- package/dist/entities/shared/job-run.entity.d.ts.map +0 -1
- package/dist/entities/shared/job-run.entity.js +0 -5
- package/dist/entities/shared/job-run.model.d.ts +0 -11
- package/dist/entities/shared/job-run.model.d.ts.map +0 -1
- package/dist/entities/shared/job-run.model.js +0 -1
- package/dist/entities/shared/job-setting.entity.d.ts +0 -11
- package/dist/entities/shared/job-setting.entity.d.ts.map +0 -1
- package/dist/entities/shared/job-setting.entity.js +0 -5
- package/dist/entities/shared/lookup-group.entity.d.ts +0 -11
- package/dist/entities/shared/lookup-group.entity.d.ts.map +0 -1
- package/dist/entities/shared/lookup-group.entity.js +0 -5
- package/dist/entities/shared/lookup.entity.d.ts +0 -14
- package/dist/entities/shared/lookup.entity.d.ts.map +0 -1
- package/dist/entities/shared/lookup.entity.js +0 -5
- package/dist/entities/shared/system-parameter.entity.d.ts +0 -10
- package/dist/entities/shared/system-parameter.entity.d.ts.map +0 -1
- package/dist/entities/shared/system-parameter.entity.js +0 -5
- package/dist/entities/underwriter/index.d.ts +0 -4
- package/dist/entities/underwriter/index.d.ts.map +0 -1
- package/dist/entities/underwriter/index.js +0 -2
- package/dist/entities/underwriter/underwriter.entity.d.ts +0 -16
- package/dist/entities/underwriter/underwriter.entity.d.ts.map +0 -1
- package/dist/entities/underwriter/underwriter.entity.js +0 -5
- package/dist/entities/users/auth-log.entity.d.ts +0 -11
- package/dist/entities/users/auth-log.entity.d.ts.map +0 -1
- package/dist/entities/users/auth-log.entity.js +0 -5
- package/dist/entities/users/index.d.ts +0 -8
- package/dist/entities/users/index.d.ts.map +0 -1
- package/dist/entities/users/index.js +0 -6
- package/dist/entities/users/permission.entity.d.ts +0 -12
- package/dist/entities/users/permission.entity.d.ts.map +0 -1
- package/dist/entities/users/permission.entity.js +0 -5
- package/dist/entities/users/role-group.entity.d.ts +0 -12
- package/dist/entities/users/role-group.entity.d.ts.map +0 -1
- package/dist/entities/users/role-group.entity.js +0 -5
- package/dist/entities/users/role.entity.d.ts +0 -14
- package/dist/entities/users/role.entity.d.ts.map +0 -1
- package/dist/entities/users/role.entity.js +0 -5
- package/dist/entities/users/user.entity.d.ts +0 -35
- package/dist/entities/users/user.entity.d.ts.map +0 -1
- package/dist/entities/users/user.entity.js +0 -10
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -9
- package/dist/product-catalogues/index.d.ts +0 -4
- package/dist/product-catalogues/index.d.ts.map +0 -1
- package/dist/product-catalogues/index.js +0 -3
- package/dist/product-catalogues/product-catalogue.model.d.ts +0 -131
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +0 -1
- package/dist/product-catalogues/product-catalogue.model.js +0 -18
- package/dist/product-catalogues/product-definitions.model.d.ts +0 -317
- package/dist/product-catalogues/product-definitions.model.d.ts.map +0 -1
- package/dist/product-catalogues/product-definitions.model.js +0 -26
- package/dist/product-catalogues/product-variant.model.d.ts +0 -95
- package/dist/product-catalogues/product-variant.model.d.ts.map +0 -1
- package/dist/product-catalogues/product-variant.model.js +0 -12
- package/dist/properties/index.d.ts +0 -3
- package/dist/properties/index.d.ts.map +0 -1
- package/dist/properties/index.js +0 -2
- package/dist/properties/property.model.d.ts +0 -1157
- package/dist/properties/property.model.d.ts.map +0 -1
- package/dist/properties/property.model.js +0 -144
- package/dist/properties/security.model.d.ts +0 -312
- package/dist/properties/security.model.d.ts.map +0 -1
- package/dist/properties/security.model.js +0 -143
- package/dist/shared/alert.model.d.ts +0 -101
- package/dist/shared/alert.model.d.ts.map +0 -1
- package/dist/shared/alert.model.js +0 -24
- package/dist/shared/apprivo-sync-journey.model.d.ts +0 -113
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +0 -1
- package/dist/shared/apprivo-sync-journey.model.js +0 -17
- package/dist/shared/checklist.model.d.ts +0 -101
- package/dist/shared/checklist.model.d.ts.map +0 -1
- package/dist/shared/checklist.model.js +0 -30
- package/dist/shared/document-type-model.d.ts +0 -75
- package/dist/shared/document-type-model.d.ts.map +0 -1
- package/dist/shared/document-type-model.js +0 -10
- package/dist/shared/index.d.ts +0 -13
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/index.js +0 -12
- package/dist/shared/job-run.model.d.ts +0 -75
- package/dist/shared/job-run.model.d.ts.map +0 -1
- package/dist/shared/job-run.model.js +0 -14
- package/dist/shared/job-setting.model.d.ts +0 -69
- package/dist/shared/job-setting.model.d.ts.map +0 -1
- package/dist/shared/job-setting.model.js +0 -11
- package/dist/shared/lookup-group.model.d.ts +0 -57
- package/dist/shared/lookup-group.model.d.ts.map +0 -1
- package/dist/shared/lookup-group.model.js +0 -16
- package/dist/shared/lookup.model.d.ts +0 -69
- package/dist/shared/lookup.model.d.ts.map +0 -1
- package/dist/shared/lookup.model.js +0 -20
- package/dist/shared/schema-doc.model.d.ts +0 -75
- package/dist/shared/schema-doc.model.d.ts.map +0 -1
- package/dist/shared/schema-doc.model.js +0 -11
- package/dist/shared/system-parameter.model.d.ts +0 -87
- package/dist/shared/system-parameter.model.d.ts.map +0 -1
- package/dist/shared/system-parameter.model.js +0 -32
- package/dist/shared/task-document.model.d.ts +0 -69
- package/dist/shared/task-document.model.d.ts.map +0 -1
- package/dist/shared/task-document.model.js +0 -23
- package/dist/shared/task.model.d.ts +0 -233
- package/dist/shared/task.model.d.ts.map +0 -1
- package/dist/shared/task.model.js +0 -15
- package/dist/underwriter/index.d.ts +0 -2
- package/dist/underwriter/index.d.ts.map +0 -1
- package/dist/underwriter/index.js +0 -1
- package/dist/underwriter/underwriter.model.d.ts +0 -125
- package/dist/underwriter/underwriter.model.d.ts.map +0 -1
- package/dist/underwriter/underwriter.model.js +0 -17
- package/dist/users/auth-log.model.d.ts +0 -69
- package/dist/users/auth-log.model.d.ts.map +0 -1
- package/dist/users/auth-log.model.js +0 -21
- package/dist/users/index.d.ts +0 -7
- package/dist/users/index.d.ts.map +0 -1
- package/dist/users/index.js +0 -6
- package/dist/users/permission.model.d.ts +0 -83
- package/dist/users/permission.model.d.ts.map +0 -1
- package/dist/users/permission.model.js +0 -10
- package/dist/users/role-group.model.d.ts +0 -89
- package/dist/users/role-group.model.d.ts.map +0 -1
- package/dist/users/role-group.model.js +0 -14
- package/dist/users/role.model.d.ts +0 -89
- package/dist/users/role.model.d.ts.map +0 -1
- package/dist/users/role.model.js +0 -13
- package/dist/users/tasks.model.d.ts +0 -113
- package/dist/users/tasks.model.d.ts.map +0 -1
- package/dist/users/tasks.model.js +0 -15
- package/dist/users/user.model.d.ts +0 -215
- package/dist/users/user.model.d.ts.map +0 -1
- package/dist/users/user.model.js +0 -30
- package/dist/value-objects/pound.d.ts +0 -41
- package/dist/value-objects/pound.d.ts.map +0 -1
- package/dist/value-objects/pound.js +0 -26
- package/dist/value-objects/sort-code.d.ts +0 -41
- package/dist/value-objects/sort-code.d.ts.map +0 -1
- package/dist/value-objects/sort-code.js +0 -25
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { LookupEntity } from '../shared/lookup.entity';
|
|
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
|
-
export declare class ApplicationEntity {
|
|
13
|
-
id: string;
|
|
14
|
-
queueId: string[];
|
|
15
|
-
assignedToUserId?: string;
|
|
16
|
-
applicationId: string;
|
|
17
|
-
isApplicationFeePaid: string;
|
|
18
|
-
applicationNumber: string;
|
|
19
|
-
applicationTypeLid: string;
|
|
20
|
-
bankSolicitor: string;
|
|
21
|
-
brokerId: string;
|
|
22
|
-
caseManager: string;
|
|
23
|
-
caseManagerAccepted: string;
|
|
24
|
-
completedReason: string;
|
|
25
|
-
isIntendToOccupy: string;
|
|
26
|
-
introducer: string;
|
|
27
|
-
isIntroducerSubmission: string;
|
|
28
|
-
isBrokerAssigned: string;
|
|
29
|
-
isFinanceRecommendedToApplicant: string;
|
|
30
|
-
isWorkflowTaskCreated: string;
|
|
31
|
-
lastUpdated?: string;
|
|
32
|
-
lendingTypeLid: string;
|
|
33
|
-
networkClubName: string;
|
|
34
|
-
isNetworkClubSubmission: string;
|
|
35
|
-
newReason: string;
|
|
36
|
-
purchaseTypeLid: string;
|
|
37
|
-
rejectedReason: string;
|
|
38
|
-
repaymentTypeLid: string;
|
|
39
|
-
selectedProduct?: string;
|
|
40
|
-
sourceOfWealthLids: string[];
|
|
41
|
-
sowBusiness: string;
|
|
42
|
-
sowInheritance: string;
|
|
43
|
-
sowOther: string;
|
|
44
|
-
sowProperty: string;
|
|
45
|
-
sowSalary: string;
|
|
46
|
-
statusLid: string;
|
|
47
|
-
submitReason: string;
|
|
48
|
-
submittedDate?: string;
|
|
49
|
-
underwriter: string;
|
|
50
|
-
isValuationFeePaid: string;
|
|
51
|
-
withdrawalReason: string;
|
|
52
|
-
withdrawalReasonCode: string;
|
|
53
|
-
productId?: string;
|
|
54
|
-
securityId: string;
|
|
55
|
-
solicitorId: string;
|
|
56
|
-
isActive: string;
|
|
57
|
-
isUkResident: string;
|
|
58
|
-
riskRating?: string;
|
|
59
|
-
directDebitId?: string;
|
|
60
|
-
mortgageId?: string;
|
|
61
|
-
companyId?: string;
|
|
62
|
-
rationaleId?: string;
|
|
63
|
-
newAuditRecordsCount: string;
|
|
64
|
-
currentApprivoAuditId?: string;
|
|
65
|
-
propertyIds: string[];
|
|
66
|
-
createdAt: Date;
|
|
67
|
-
updatedAt: Date;
|
|
68
|
-
applicationType?: LookupEntity;
|
|
69
|
-
lendingType?: LookupEntity;
|
|
70
|
-
purchaseType?: LookupEntity;
|
|
71
|
-
status?: LookupEntity;
|
|
72
|
-
repaymentType?: LookupEntity;
|
|
73
|
-
broker?: BrokerEntity;
|
|
74
|
-
security?: SecurityEntity;
|
|
75
|
-
solicitor?: SolicitorEntity;
|
|
76
|
-
product?: ProductEntity;
|
|
77
|
-
directDebit?: ApplicationDirectDebitEntity;
|
|
78
|
-
mortgage?: ApplicationMortgageEntity;
|
|
79
|
-
company?: ApplicationCompanyEntity;
|
|
80
|
-
rationale?: ApplicationRationaleEntity;
|
|
81
|
-
applicants?: ApplicantEntity[];
|
|
82
|
-
sourceOfWealth?: LookupEntity[];
|
|
83
|
-
properties?: PropertyEntity[];
|
|
84
|
-
constructor(partial: Partial<ApplicationEntity>);
|
|
85
|
-
get noOfApplicants(): number;
|
|
86
|
-
get applicationTypeName(): string | null;
|
|
87
|
-
get lendingTypeName(): string | null;
|
|
88
|
-
get purchaseTypeName(): string | null;
|
|
89
|
-
get statusName(): string | null;
|
|
90
|
-
get ltv(): string | null;
|
|
91
|
-
get submittedDateFormatted(): string | null;
|
|
92
|
-
get brokerName(): string | null;
|
|
93
|
-
get brokerEmail(): string | null;
|
|
94
|
-
get solicitorName(): string | null;
|
|
95
|
-
get solicitorEmail(): string | null;
|
|
96
|
-
get brokerPhone(): string | null;
|
|
97
|
-
get solicitorPhone(): string | null;
|
|
98
|
-
}
|
|
99
|
-
//# sourceMappingURL=application.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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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EAAE,4BAA4B,CAAC;IAC3C,QAAQ,CAAC,EAAE,yBAAyB,CAAC;IACrC,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC,SAAS,CAAC,EAAE,0BAA0B,CAAC;IACvC,UAAU,CAAC,EAAE,eAAe,EAAE,CAAC;IAC/B,cAAc,CAAC,EAAE,YAAY,EAAE,CAAC;IAChC,UAAU,CAAC,EAAE,cAAc,EAAE,CAAC;gBAElB,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"}
|
|
@@ -1,66 +0,0 @@
|
|
|
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.applicants?.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
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CAAC,EAAE,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"}
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,77 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CAA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C;IAC9B,4BAA4B,EAAG,OAAO,CAAC;IACvC,2BAA2B,EAAG,OAAO,CAAC;IACtC,4BAA4B,EAAG,OAAO,CAAC;IACvC,2BAA2B,EAAG,OAAO,CAAC;IACtC,wCAAwC,EAAG,OAAO,CAAC;IACnD,uCAAuC,EAAG,OAAO,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"}
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"credit-profile.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/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"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, Company, CreditProfile, ApplicationRationale, ApplicationRiskNarrative, ApplicationValuation, ApplicationProduct, ApplicationNote, ApplicationOffer, ApplicationOnboarding, ApplicationIllustration, ApplicationLegal, ApplicationMortgage, ApplicationDocument, ApplicationFieldConfig, ApplicationAudit, ApplicationCompany, ApplicationDirectDebit } from '@prisma/client';
|
|
2
|
-
export type { Application, ProductFeatures, Solicitor, Broker, ChecklistItem, Company, CreditProfile, ApplicationRationale, ApplicationRiskNarrative, ApplicationValuation, 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-risk-narrative.entity';
|
|
12
|
-
export * from './application-valuation.entity';
|
|
13
|
-
export * from './application-product.entity';
|
|
14
|
-
export * from './application-note.entity';
|
|
15
|
-
export * from './application-offer.entity';
|
|
16
|
-
export * from './application-onboarding.entity';
|
|
17
|
-
export * from './application-illustration.entity';
|
|
18
|
-
export * from './application-legal.entity';
|
|
19
|
-
export * from './application-mortgage.entity';
|
|
20
|
-
export * from './application-document.entity';
|
|
21
|
-
export * from './application-fieldconfig.entity';
|
|
22
|
-
export * from './application-audit.entity';
|
|
23
|
-
export * from './application-company.entity';
|
|
24
|
-
export * from './application-direct-debit.entity';
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,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,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,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,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"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Export entity classes
|
|
2
|
-
export * from './application.entity';
|
|
3
|
-
export * from './product-features.entity';
|
|
4
|
-
export * from './solicitor.entity';
|
|
5
|
-
export * from './broker.entity';
|
|
6
|
-
export * from './checklist-item.entity';
|
|
7
|
-
export * from './company.entity';
|
|
8
|
-
export * from './application-credit-profile.entity';
|
|
9
|
-
export * from './application-rationale.entity';
|
|
10
|
-
export * from './application-risk-narrative.entity';
|
|
11
|
-
export * from './application-valuation.entity';
|
|
12
|
-
export * from './application-product.entity';
|
|
13
|
-
export * from './application-note.entity';
|
|
14
|
-
export * from './application-offer.entity';
|
|
15
|
-
export * from './application-onboarding.entity';
|
|
16
|
-
export * from './application-illustration.entity';
|
|
17
|
-
export * from './application-legal.entity';
|
|
18
|
-
export * from './application-mortgage.entity';
|
|
19
|
-
export * from './application-document.entity';
|
|
20
|
-
export * from './application-fieldconfig.entity';
|
|
21
|
-
export * from './application-audit.entity';
|
|
22
|
-
export * from './application-company.entity';
|
|
23
|
-
export * from './application-direct-debit.entity';
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
export declare class ProductFeaturesEntity {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
clientAdvance: string;
|
|
5
|
-
ltv: string;
|
|
6
|
-
repayment: string;
|
|
7
|
-
variableRepayment: string;
|
|
8
|
-
reversionRateWithoutBaseRate?: string;
|
|
9
|
-
totalReversionRate?: string;
|
|
10
|
-
initialRate: string;
|
|
11
|
-
fixedTerm: string;
|
|
12
|
-
fixedTermEndDate?: string;
|
|
13
|
-
baseRate?: string;
|
|
14
|
-
productRate?: string;
|
|
15
|
-
apr?: string;
|
|
16
|
-
rentalCoverage?: string;
|
|
17
|
-
repaymentType?: string;
|
|
18
|
-
applicationCategory?: string;
|
|
19
|
-
securityType?: string;
|
|
20
|
-
erc?: string;
|
|
21
|
-
loanType?: string;
|
|
22
|
-
maxLtvLimit?: string;
|
|
23
|
-
reimbursement?: string;
|
|
24
|
-
reimbursementPerPound?: string;
|
|
25
|
-
stressedApr?: string;
|
|
26
|
-
stressedRate?: string;
|
|
27
|
-
stressedRepayment?: string;
|
|
28
|
-
liborFloorRate?: string;
|
|
29
|
-
totalTermInMonths?: string;
|
|
30
|
-
chargeType: string;
|
|
31
|
-
productCategory: string;
|
|
32
|
-
ercCode: string;
|
|
33
|
-
variableTerm?: string;
|
|
34
|
-
totalFeePayable?: string;
|
|
35
|
-
dipIssueDate?: string;
|
|
36
|
-
estimatedCompletionDate?: string;
|
|
37
|
-
dipExpiryDate?: string;
|
|
38
|
-
fixedRepaymentUntillDate?: string;
|
|
39
|
-
rentalReviewDate?: string;
|
|
40
|
-
totalReimbursementWithFee?: string;
|
|
41
|
-
finalRentPayment?: string;
|
|
42
|
-
clientDeposit?: string;
|
|
43
|
-
firstRentPayment?: string;
|
|
44
|
-
ercFeatures?: any;
|
|
45
|
-
icr?: string;
|
|
46
|
-
ufssProductCode?: string;
|
|
47
|
-
ufssInterestRateCode?: string;
|
|
48
|
-
stressedPayment?: string;
|
|
49
|
-
stressedPaymentRate?: string;
|
|
50
|
-
createdAt: Date;
|
|
51
|
-
updatedAt: Date;
|
|
52
|
-
constructor(partial: Partial<ProductFeaturesEntity>);
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=product-features.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"product-features.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/product-features.entity.ts"],"names":[],"mappings":"AAAA,qBAAa,qBAAqB;IAC9B,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;IACd,aAAa,EAAG,MAAM,CAAC;IACvB,GAAG,EAAG,MAAM,CAAC;IACb,SAAS,EAAG,MAAM,CAAC;IACnB,iBAAiB,EAAG,MAAM,CAAC;IAC3B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAG,MAAM,CAAC;IACrB,SAAS,EAAG,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW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AC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;gBAEL,OAAO,EAAE,OAAO,CAAC,qBAAqB,CAAC;CAGtD"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { LookupEntity } from "../shared/lookup.entity";
|
|
2
|
-
import { ApplicationEntity } from "./application.entity";
|
|
3
|
-
export declare class SolicitorEntity {
|
|
4
|
-
id: string;
|
|
5
|
-
applicationId: string;
|
|
6
|
-
pageValidFlag: boolean;
|
|
7
|
-
accountNumber?: number;
|
|
8
|
-
addressCity?: string;
|
|
9
|
-
addressCountryLid?: string;
|
|
10
|
-
addressLine1?: string;
|
|
11
|
-
addressLine2?: string;
|
|
12
|
-
addressLine3?: string;
|
|
13
|
-
addressPostCode?: string;
|
|
14
|
-
bankAddressLine1?: string;
|
|
15
|
-
bankAddressLine2?: string;
|
|
16
|
-
bankBranch?: string;
|
|
17
|
-
bankCity?: string;
|
|
18
|
-
contactPostcode?: string;
|
|
19
|
-
email?: string;
|
|
20
|
-
institution?: string;
|
|
21
|
-
nameOfAccountHolder?: string;
|
|
22
|
-
nameOfFirm?: string;
|
|
23
|
-
signatory?: string;
|
|
24
|
-
solicitorActing?: string;
|
|
25
|
-
sortCode?: string;
|
|
26
|
-
telephone?: string;
|
|
27
|
-
createdAt: Date;
|
|
28
|
-
updatedAt: Date;
|
|
29
|
-
application?: ApplicationEntity;
|
|
30
|
-
addressCountry?: LookupEntity;
|
|
31
|
-
constructor(partial: Partial<SolicitorEntity>);
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=solicitor.entity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"solicitor.entity.d.ts","sourceRoot":"","sources":["../../../entities/applications/solicitor.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,qBAAa,eAAe;IACxB,EAAE,EAAG,MAAM,CAAC;IACZ,aAAa,EAAG,MAAM,CAAC;IACvB,aAAa,EAAG,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAG,IAAI,CAAC;IACjB,SAAS,EAAG,IAAI,CAAC;IAGjB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,cAAc,CAAC,EAAE,YAAY,CAAC;gBAElB,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC;CAGhD"}
|
package/dist/entities/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { prisma } from './prisma';
|
|
2
|
-
export * as ApplicantEntities from './applicants';
|
|
3
|
-
export * as ApplicationEntities from './applications';
|
|
4
|
-
export * as ProductCatalogueEntities from './product-catalogues';
|
|
5
|
-
export * as PropertyEntities from './properties';
|
|
6
|
-
export * as SharedEntities from './shared';
|
|
7
|
-
export * as UnderwriterEntities from './underwriter';
|
|
8
|
-
export * as UserEntities from './users';
|
|
9
|
-
export type { PrismaClient } from '@prisma/client';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../entities/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,mBAAmB,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,wBAAwB,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,gBAAgB,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,cAAc,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,mBAAmB,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,YAAY,MAAM,SAAS,CAAC;AAGxC,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/entities/index.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// Export Prisma client
|
|
2
|
-
export { prisma } from './prisma';
|
|
3
|
-
// Export all entities from each domain
|
|
4
|
-
export * as ApplicantEntities from './applicants';
|
|
5
|
-
export * as ApplicationEntities from './applications';
|
|
6
|
-
export * as ProductCatalogueEntities from './product-catalogues';
|
|
7
|
-
export * as PropertyEntities from './properties';
|
|
8
|
-
export * as SharedEntities from './shared';
|
|
9
|
-
export * as UnderwriterEntities from './underwriter';
|
|
10
|
-
export * as UserEntities from './users';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prisma.d.ts","sourceRoot":"","sources":["../../entities/prisma.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM9C,eAAO,MAAM,MAAM,gIAIb,CAAC"}
|
package/dist/entities/prisma.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PrismaClient } from '@prisma/client';
|
|
2
|
-
// PrismaClient is attached to the `global` object in development to prevent
|
|
3
|
-
// exhausting your database connection limit.
|
|
4
|
-
const globalForPrisma = global;
|
|
5
|
-
export const prisma = globalForPrisma.prisma ||
|
|
6
|
-
new PrismaClient({
|
|
7
|
-
log: ['query'],
|
|
8
|
-
});
|
|
9
|
-
if (process.env.NODE_ENV !== 'production')
|
|
10
|
-
globalForPrisma.prisma = prisma;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ProductCatalogue, ProductDefinition, ProductVariant, Product, Rule } from '@prisma/client';
|
|
2
|
-
export type { ProductCatalogue, ProductDefinition, ProductVariant, Product, Rule };
|
|
3
|
-
export * from './product-catalogue.entity';
|
|
4
|
-
export * from './product-definition.entity';
|
|
5
|
-
export * from './product-variant.entity';
|
|
6
|
-
export * from './product.entity';
|
|
7
|
-
export * from './rule.entity';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../entities/product-catalogues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,IAAI,EACP,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACR,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,OAAO,EACP,IAAI,EACP,CAAC;AAGF,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
|