@dynamatix/gb-schemas 1.2.100 → 1.2.102
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 +0 -26
- package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.js +7 -0
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +24 -32
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +6 -2
- package/dist/applicants/applicant-commitment-residence.model.d.ts +0 -26
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-data.model.d.ts +0 -27
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-data.model.js +11 -11
- package/dist/applicants/applicant-credit-profile.model.d.ts +0 -27
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-profile.model.js +20 -20
- package/dist/applicants/applicant-direct-debit.model.d.ts +0 -27
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
- package/dist/applicants/applicant-direct-debit.model.js +17 -17
- package/dist/applicants/applicant-employment-income.model.d.ts +0 -26
- package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.d.ts +0 -26
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.js +48 -48
- package/dist/applicants/applicant-expenditure.model.d.ts +0 -26
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.js +54 -54
- package/dist/applicants/applicant-income-settings.model.d.ts +0 -27
- package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income-source.model.js +9 -9
- package/dist/applicants/applicant-income.model.d.ts +1420 -56
- package/dist/applicants/applicant-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income.model.js +70 -77
- package/dist/applicants/applicant-pension-income.model.d.ts +0 -26
- package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-property-income.model.d.ts +0 -26
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-risk-narrative.model.d.ts +0 -27
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
- package/dist/applicants/applicant-risk-narrative.model.js +13 -13
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +0 -26
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.d.ts +0 -27
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +217 -219
- package/dist/applicants/index.d.ts +1 -2
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applicants/index.js +14 -15
- package/dist/applications/application-audit.model.d.ts +0 -27
- package/dist/applications/application-audit.model.d.ts.map +1 -1
- package/dist/applications/application-audit.model.js +42 -42
- package/dist/applications/application-checklist-Item.model.d.ts +0 -27
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
- package/dist/applications/application-checklist-Item.model.js +45 -45
- package/dist/applications/application-company-model.d.ts +0 -26
- package/dist/applications/application-company-model.d.ts.map +1 -1
- package/dist/applications/application-company-model.js +120 -120
- package/dist/applications/application-credit-profile.model.d.ts +0 -27
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
- package/dist/applications/application-credit-profile.model.js +12 -12
- package/dist/applications/application-direct-debit.model.d.ts +0 -26
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.js +92 -92
- package/dist/applications/application-document.model.d.ts +0 -27
- package/dist/applications/application-document.model.d.ts.map +1 -1
- package/dist/applications/application-document.model.js +35 -35
- package/dist/applications/application-fieldconfig.model.d.ts +0 -27
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
- package/dist/applications/application-fieldconfig.model.js +7 -7
- package/dist/applications/application-illustration-model.d.ts +0 -27
- package/dist/applications/application-illustration-model.d.ts.map +1 -1
- package/dist/applications/application-illustration-model.js +6 -6
- package/dist/applications/application-legal.model.d.ts +0 -27
- package/dist/applications/application-legal.model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.js +7 -7
- package/dist/applications/application-mortgage.model.d.ts +3 -29
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.js +271 -271
- package/dist/applications/application-note.model.d.ts +0 -27
- package/dist/applications/application-note.model.d.ts.map +1 -1
- package/dist/applications/application-note.model.js +78 -78
- package/dist/applications/application-offer.model.d.ts +0 -27
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.js +6 -6
- package/dist/applications/application-onboarding.model.d.ts +0 -27
- package/dist/applications/application-onboarding.model.d.ts.map +1 -1
- package/dist/applications/application-onboarding.model.js +9 -9
- package/dist/applications/application-product.model.d.ts +0 -27
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.js +67 -67
- package/dist/applications/application-productfeatures.model.d.ts +0 -27
- package/dist/applications/application-productfeatures.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.d.ts +0 -27
- package/dist/applications/application-rationale.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.js +38 -38
- package/dist/applications/application-risk-narrative.model.d.ts +0 -27
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-risk-narrative.model.js +12 -12
- package/dist/applications/application-valuation.model.d.ts +0 -27
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.js +15 -15
- package/dist/applications/application.model.d.ts +0 -27
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/application.model.js +153 -153
- package/dist/applications/broker.model.d.ts +0 -27
- package/dist/applications/broker.model.d.ts.map +1 -1
- package/dist/applications/broker.model.js +21 -21
- package/dist/applications/document.model.d.ts +0 -27
- package/dist/applications/document.model.d.ts.map +1 -1
- package/dist/applications/document.model.js +35 -35
- package/dist/applications/index.js +20 -20
- package/dist/applications/solicitor.model.d.ts +0 -26
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.js +114 -114
- package/dist/index.js +7 -7
- package/dist/product-catalogues/index.js +3 -3
- package/dist/product-catalogues/product-catalogue.model.d.ts +0 -27
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-catalogue.model.js +18 -18
- package/dist/product-catalogues/product-definitions.model.d.ts +0 -27
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-definitions.model.js +26 -26
- package/dist/product-catalogues/product-variant.model.d.ts +0 -27
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-variant.model.js +12 -12
- package/dist/properties/index.js +2 -2
- package/dist/properties/property.model.d.ts +0 -26
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/property.model.js +144 -144
- package/dist/properties/security.model.d.ts +0 -27
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/shared/alert.model.d.ts +0 -27
- package/dist/shared/alert.model.d.ts.map +1 -1
- package/dist/shared/alert.model.js +24 -24
- package/dist/shared/apprivo-sync-journey.model.d.ts +0 -27
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
- package/dist/shared/apprivo-sync-journey.model.js +17 -17
- package/dist/shared/checklist.model.d.ts +0 -27
- package/dist/shared/checklist.model.d.ts.map +1 -1
- package/dist/shared/checklist.model.js +30 -30
- package/dist/shared/document-type-model.d.ts +0 -27
- package/dist/shared/document-type-model.d.ts.map +1 -1
- package/dist/shared/document-type-model.js +10 -10
- package/dist/shared/index.js +12 -12
- package/dist/shared/job-run.model.d.ts +0 -27
- package/dist/shared/job-run.model.d.ts.map +1 -1
- package/dist/shared/job-run.model.js +14 -14
- package/dist/shared/job-setting.model.d.ts +0 -27
- package/dist/shared/job-setting.model.d.ts.map +1 -1
- package/dist/shared/job-setting.model.js +11 -11
- package/dist/shared/lookup-group.model.d.ts +0 -27
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.js +16 -16
- package/dist/shared/lookup.model.d.ts +0 -27
- package/dist/shared/lookup.model.d.ts.map +1 -1
- package/dist/shared/lookup.model.js +20 -20
- package/dist/shared/schema-doc.model.d.ts +0 -27
- package/dist/shared/schema-doc.model.d.ts.map +1 -1
- package/dist/shared/system-parameter.model.d.ts +0 -27
- package/dist/shared/system-parameter.model.d.ts.map +1 -1
- package/dist/shared/system-parameter.model.js +32 -32
- package/dist/shared/task-document.model.d.ts +0 -27
- package/dist/shared/task-document.model.d.ts.map +1 -1
- package/dist/shared/task-document.model.js +23 -23
- package/dist/shared/task.model.d.ts +0 -27
- package/dist/shared/task.model.d.ts.map +1 -1
- package/dist/shared/task.model.js +15 -15
- package/dist/underwriter/index.js +1 -1
- package/dist/underwriter/underwriter.model.d.ts +0 -27
- package/dist/underwriter/underwriter.model.d.ts.map +1 -1
- package/dist/underwriter/underwriter.model.js +17 -17
- package/dist/users/auth-log.model.d.ts +0 -27
- package/dist/users/auth-log.model.d.ts.map +1 -1
- package/dist/users/auth-log.model.js +21 -21
- package/dist/users/index.js +6 -6
- package/dist/users/permission.model.d.ts +0 -27
- package/dist/users/permission.model.d.ts.map +1 -1
- package/dist/users/permission.model.js +10 -10
- package/dist/users/role-group.model.d.ts +0 -27
- package/dist/users/role-group.model.d.ts.map +1 -1
- package/dist/users/role-group.model.js +14 -14
- package/dist/users/role.model.d.ts +0 -27
- package/dist/users/role.model.d.ts.map +1 -1
- package/dist/users/role.model.js +13 -13
- package/dist/users/tasks.model.d.ts +0 -27
- package/dist/users/tasks.model.d.ts.map +1 -1
- package/dist/users/tasks.model.js +15 -15
- package/dist/users/user.model.d.ts +0 -27
- package/dist/users/user.model.d.ts.map +1 -1
- package/dist/users/user.model.js +30 -30
- package/dist/value-objects/pound.d.ts +0 -26
- package/dist/value-objects/pound.d.ts.map +1 -1
- package/dist/value-objects/sort-code.d.ts +0 -26
- package/dist/value-objects/sort-code.d.ts.map +1 -1
- package/package.json +70 -70
- 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-income-source.model.d.ts +0 -53
- package/dist/applicants/applicant-income-source.model.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts +0 -19
- package/dist/entities/applicants/applicant-credit-data.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-data.entity.js +0 -5
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-credit-profile.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-credit-profile.entity.js +0 -5
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-employment-income.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-employment-income.entity.js +0 -5
- package/dist/entities/applicants/applicant-employment.entity.d.ts +0 -54
- package/dist/entities/applicants/applicant-employment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-employment.entity.js +0 -5
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts +0 -14
- package/dist/entities/applicants/applicant-expenditure.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-expenditure.entity.js +0 -5
- package/dist/entities/applicants/applicant-income-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/index.d.ts +0 -19
- package/dist/entities/applicants/index.d.ts.map +0 -1
- package/dist/entities/applicants/index.js +0 -17
- 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/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/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 -24
- package/dist/entities/applications/application-direct-debit.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-direct-debit.entity.js +0 -5
- package/dist/entities/applications/application-document.entity.d.ts +0 -28
- package/dist/entities/applications/application-document.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-document.entity.js +0 -5
- package/dist/entities/applications/application-fieldconfig.entity.d.ts +0 -9
- package/dist/entities/applications/application-fieldconfig.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-fieldconfig.entity.js +0 -5
- package/dist/entities/applications/application-illustration.entity.d.ts +0 -8
- package/dist/entities/applications/application-illustration.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-illustration.entity.js +0 -5
- package/dist/entities/applications/application-legal.entity.d.ts +0 -9
- package/dist/entities/applications/application-legal.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-legal.entity.js +0 -5
- package/dist/entities/applications/application-mortgage.entity.d.ts +0 -54
- package/dist/entities/applications/application-mortgage.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-mortgage.entity.js +0 -27
- package/dist/entities/applications/application-note.entity.d.ts +0 -37
- package/dist/entities/applications/application-note.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-note.entity.js +0 -5
- package/dist/entities/applications/application-offer.entity.d.ts +0 -8
- package/dist/entities/applications/application-offer.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-offer.entity.js +0 -5
- package/dist/entities/applications/application-onboarding.entity.d.ts +0 -11
- package/dist/entities/applications/application-onboarding.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-onboarding.entity.js +0 -5
- package/dist/entities/applications/application-product.entity.d.ts +0 -33
- package/dist/entities/applications/application-product.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-product.entity.js +0 -5
- package/dist/entities/applications/application-rationale.entity.d.ts +0 -51
- package/dist/entities/applications/application-rationale.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-rationale.entity.js +0 -5
- package/dist/entities/applications/application.entity.d.ts +0 -103
- 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/index.d.ts +0 -23
- package/dist/entities/applications/index.d.ts.map +0 -1
- package/dist/entities/applications/index.js +0 -21
- 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
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
2
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
-
/// <reference types="mongoose/types/callback" />
|
|
4
|
-
/// <reference types="mongoose/types/collection" />
|
|
5
|
-
/// <reference types="mongoose/types/connection" />
|
|
6
|
-
/// <reference types="mongoose/types/cursor" />
|
|
7
|
-
/// <reference types="mongoose/types/document" />
|
|
8
|
-
/// <reference types="mongoose/types/error" />
|
|
9
|
-
/// <reference types="mongoose/types/expressions" />
|
|
10
|
-
/// <reference types="mongoose/types/helpers" />
|
|
11
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
-
/// <reference types="mongoose/types/indexes" />
|
|
13
|
-
/// <reference types="mongoose/types/models" />
|
|
14
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
-
/// <reference types="mongoose/types/populate" />
|
|
17
|
-
/// <reference types="mongoose/types/query" />
|
|
18
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
20
|
-
/// <reference types="mongoose/types/session" />
|
|
21
|
-
/// <reference types="mongoose/types/types" />
|
|
22
|
-
/// <reference types="mongoose/types/utility" />
|
|
23
|
-
/// <reference types="mongoose/types/validation" />
|
|
24
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
27
1
|
import mongoose from "mongoose";
|
|
28
2
|
import { Pound } from "../value-objects/pound";
|
|
29
3
|
declare const ApplicantAdditionalIncomeModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-additional-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-additional-income.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant-additional-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-additional-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAc/C,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiF,CAAC;AAEtH,eAAe,8BAA8B,CAAC"}
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
2
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
-
/// <reference types="mongoose/types/callback" />
|
|
4
|
-
/// <reference types="mongoose/types/collection" />
|
|
5
|
-
/// <reference types="mongoose/types/connection" />
|
|
6
|
-
/// <reference types="mongoose/types/cursor" />
|
|
7
|
-
/// <reference types="mongoose/types/document" />
|
|
8
|
-
/// <reference types="mongoose/types/error" />
|
|
9
|
-
/// <reference types="mongoose/types/expressions" />
|
|
10
|
-
/// <reference types="mongoose/types/helpers" />
|
|
11
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
-
/// <reference types="mongoose/types/indexes" />
|
|
13
|
-
/// <reference types="mongoose/types/models" />
|
|
14
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
-
/// <reference types="mongoose/types/populate" />
|
|
17
|
-
/// <reference types="mongoose/types/query" />
|
|
18
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
20
|
-
/// <reference types="mongoose/types/session" />
|
|
21
|
-
/// <reference types="mongoose/types/types" />
|
|
22
|
-
/// <reference types="mongoose/types/utility" />
|
|
23
|
-
/// <reference types="mongoose/types/validation" />
|
|
24
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
27
1
|
import mongoose from "mongoose";
|
|
28
2
|
import { Pound } from "../value-objects/pound";
|
|
29
3
|
declare const CreditCardCommitmentModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-creditCard.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-creditCard.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant-commitment-creditCard.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-creditCard.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAmC/C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqE,CAAC;AACrG,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
2
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
-
/// <reference types="mongoose/types/callback" />
|
|
4
|
-
/// <reference types="mongoose/types/collection" />
|
|
5
|
-
/// <reference types="mongoose/types/connection" />
|
|
6
|
-
/// <reference types="mongoose/types/cursor" />
|
|
7
|
-
/// <reference types="mongoose/types/document" />
|
|
8
|
-
/// <reference types="mongoose/types/error" />
|
|
9
|
-
/// <reference types="mongoose/types/expressions" />
|
|
10
|
-
/// <reference types="mongoose/types/helpers" />
|
|
11
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
-
/// <reference types="mongoose/types/indexes" />
|
|
13
|
-
/// <reference types="mongoose/types/models" />
|
|
14
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
-
/// <reference types="mongoose/types/populate" />
|
|
17
|
-
/// <reference types="mongoose/types/query" />
|
|
18
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
20
|
-
/// <reference types="mongoose/types/session" />
|
|
21
|
-
/// <reference types="mongoose/types/types" />
|
|
22
|
-
/// <reference types="mongoose/types/utility" />
|
|
23
|
-
/// <reference types="mongoose/types/validation" />
|
|
24
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
27
1
|
import mongoose from "mongoose";
|
|
28
2
|
import { Pound } from "../value-objects/pound";
|
|
29
3
|
declare const LoanCommitmentModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-loan.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-loan.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant-commitment-loan.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-loan.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAgD/C,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
|
|
@@ -23,6 +23,7 @@ const loanCommitmentSchema = new mongoose.Schema({
|
|
|
23
23
|
},
|
|
24
24
|
isSelected: { type: Boolean, default: true }, // mark as selected for summary calculation
|
|
25
25
|
loanRationale: { type: String, default: "" }, // Rationale for loan
|
|
26
|
+
// Unique fields from unsecured loan model
|
|
26
27
|
}, {
|
|
27
28
|
toJSON: { getters: true, virtuals: true },
|
|
28
29
|
toObject: { getters: true, virtuals: true }
|
|
@@ -35,5 +36,11 @@ loanCommitmentSchema.virtual('ApplicationId', {
|
|
|
35
36
|
justOne: true,
|
|
36
37
|
options: { select: 'applicationId' }
|
|
37
38
|
});
|
|
39
|
+
// virtual property 'lendingType'
|
|
40
|
+
loanCommitmentSchema.virtual('lendingType').get(function () {
|
|
41
|
+
return this.applicantId?.applicationId?.lendingTypeLid instanceof mongoose.Types.ObjectId
|
|
42
|
+
? null
|
|
43
|
+
: this.applicantId?.applicationId?.lendingTypeLid?.name || null;
|
|
44
|
+
});
|
|
38
45
|
const LoanCommitmentModel = mongoose.model("LoanCommitment", loanCommitmentSchema);
|
|
39
46
|
export default LoanCommitmentModel;
|
|
@@ -1,35 +1,9 @@
|
|
|
1
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
2
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
-
/// <reference types="mongoose/types/callback" />
|
|
4
|
-
/// <reference types="mongoose/types/collection" />
|
|
5
|
-
/// <reference types="mongoose/types/connection" />
|
|
6
|
-
/// <reference types="mongoose/types/cursor" />
|
|
7
|
-
/// <reference types="mongoose/types/document" />
|
|
8
|
-
/// <reference types="mongoose/types/error" />
|
|
9
|
-
/// <reference types="mongoose/types/expressions" />
|
|
10
|
-
/// <reference types="mongoose/types/helpers" />
|
|
11
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
-
/// <reference types="mongoose/types/indexes" />
|
|
13
|
-
/// <reference types="mongoose/types/models" />
|
|
14
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
-
/// <reference types="mongoose/types/populate" />
|
|
17
|
-
/// <reference types="mongoose/types/query" />
|
|
18
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
20
|
-
/// <reference types="mongoose/types/session" />
|
|
21
|
-
/// <reference types="mongoose/types/types" />
|
|
22
|
-
/// <reference types="mongoose/types/utility" />
|
|
23
|
-
/// <reference types="mongoose/types/validation" />
|
|
24
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
27
1
|
import mongoose from "mongoose";
|
|
28
2
|
import { Pound } from "../value-objects/pound";
|
|
29
3
|
declare const MortgageCommitmentModel: mongoose.Model<{
|
|
30
4
|
isSelected?: unknown;
|
|
31
5
|
source?: unknown;
|
|
32
|
-
applicantId?:
|
|
6
|
+
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
33
7
|
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
34
8
|
outstandingBalance?: unknown;
|
|
35
9
|
fixedTerm?: unknown;
|
|
@@ -37,8 +11,11 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
37
11
|
commitmentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
38
12
|
lenderName?: unknown;
|
|
39
13
|
monthlyPayment?: unknown;
|
|
14
|
+
securityDetails?: unknown;
|
|
15
|
+
purpose?: unknown;
|
|
40
16
|
doHaveSharedResponsibility?: unknown;
|
|
41
17
|
sharedMortgage?: unknown;
|
|
18
|
+
remainingTerm?: unknown;
|
|
42
19
|
startDate?: unknown;
|
|
43
20
|
propertyValue?: {
|
|
44
21
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -151,7 +128,7 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
151
128
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
152
129
|
isSelected?: unknown;
|
|
153
130
|
source?: unknown;
|
|
154
|
-
applicantId?:
|
|
131
|
+
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
155
132
|
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
156
133
|
outstandingBalance?: unknown;
|
|
157
134
|
fixedTerm?: unknown;
|
|
@@ -159,8 +136,11 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
159
136
|
commitmentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
160
137
|
lenderName?: unknown;
|
|
161
138
|
monthlyPayment?: unknown;
|
|
139
|
+
securityDetails?: unknown;
|
|
140
|
+
purpose?: unknown;
|
|
162
141
|
doHaveSharedResponsibility?: unknown;
|
|
163
142
|
sharedMortgage?: unknown;
|
|
143
|
+
remainingTerm?: unknown;
|
|
164
144
|
startDate?: unknown;
|
|
165
145
|
propertyValue?: {
|
|
166
146
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -273,7 +253,7 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
273
253
|
}> & {
|
|
274
254
|
isSelected?: unknown;
|
|
275
255
|
source?: unknown;
|
|
276
|
-
applicantId?:
|
|
256
|
+
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
277
257
|
repaymentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
278
258
|
outstandingBalance?: unknown;
|
|
279
259
|
fixedTerm?: unknown;
|
|
@@ -281,8 +261,11 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
281
261
|
commitmentTypeLid?: mongoose.Types.ObjectId | null | undefined;
|
|
282
262
|
lenderName?: unknown;
|
|
283
263
|
monthlyPayment?: unknown;
|
|
264
|
+
securityDetails?: unknown;
|
|
265
|
+
purpose?: unknown;
|
|
284
266
|
doHaveSharedResponsibility?: unknown;
|
|
285
267
|
sharedMortgage?: unknown;
|
|
268
|
+
remainingTerm?: unknown;
|
|
286
269
|
startDate?: unknown;
|
|
287
270
|
propertyValue?: {
|
|
288
271
|
validators: mongoose.Types.DocumentArray<{
|
|
@@ -408,11 +391,15 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
408
391
|
}, {
|
|
409
392
|
isSelected: boolean;
|
|
410
393
|
source: "Broker" | "Credit Report" | "Underwriter";
|
|
394
|
+
applicantId: mongoose.Types.ObjectId;
|
|
411
395
|
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
412
396
|
fixedTerm: string;
|
|
413
397
|
commitmentId: string;
|
|
414
398
|
commitmentTypeLid: mongoose.Types.ObjectId;
|
|
399
|
+
securityDetails: string;
|
|
400
|
+
purpose: string;
|
|
415
401
|
sharedMortgage: string;
|
|
402
|
+
remainingTerm: string;
|
|
416
403
|
startDate: string;
|
|
417
404
|
propertyValue: Pound;
|
|
418
405
|
mortgageTypeLid: mongoose.Types.ObjectId;
|
|
@@ -422,7 +409,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
422
409
|
accountInArrearsDetails: string;
|
|
423
410
|
mortgageHPPRationale: string;
|
|
424
411
|
financeTypeHppLid: mongoose.Types.ObjectId;
|
|
425
|
-
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
426
412
|
outstandingBalance?: Pound | null | undefined;
|
|
427
413
|
lenderName?: string | null | undefined;
|
|
428
414
|
monthlyPayment?: Pound | null | undefined;
|
|
@@ -438,11 +424,15 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
438
424
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
439
425
|
isSelected: boolean;
|
|
440
426
|
source: "Broker" | "Credit Report" | "Underwriter";
|
|
427
|
+
applicantId: mongoose.Types.ObjectId;
|
|
441
428
|
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
442
429
|
fixedTerm: string;
|
|
443
430
|
commitmentId: string;
|
|
444
431
|
commitmentTypeLid: mongoose.Types.ObjectId;
|
|
432
|
+
securityDetails: string;
|
|
433
|
+
purpose: string;
|
|
445
434
|
sharedMortgage: string;
|
|
435
|
+
remainingTerm: string;
|
|
446
436
|
startDate: string;
|
|
447
437
|
propertyValue: Pound;
|
|
448
438
|
mortgageTypeLid: mongoose.Types.ObjectId;
|
|
@@ -452,7 +442,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
452
442
|
accountInArrearsDetails: string;
|
|
453
443
|
mortgageHPPRationale: string;
|
|
454
444
|
financeTypeHppLid: mongoose.Types.ObjectId;
|
|
455
|
-
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
456
445
|
outstandingBalance?: Pound | null | undefined;
|
|
457
446
|
lenderName?: string | null | undefined;
|
|
458
447
|
monthlyPayment?: Pound | null | undefined;
|
|
@@ -468,11 +457,15 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
468
457
|
}>> & mongoose.FlatRecord<{
|
|
469
458
|
isSelected: boolean;
|
|
470
459
|
source: "Broker" | "Credit Report" | "Underwriter";
|
|
460
|
+
applicantId: mongoose.Types.ObjectId;
|
|
471
461
|
repaymentTypeLid: mongoose.Types.ObjectId;
|
|
472
462
|
fixedTerm: string;
|
|
473
463
|
commitmentId: string;
|
|
474
464
|
commitmentTypeLid: mongoose.Types.ObjectId;
|
|
465
|
+
securityDetails: string;
|
|
466
|
+
purpose: string;
|
|
475
467
|
sharedMortgage: string;
|
|
468
|
+
remainingTerm: string;
|
|
476
469
|
startDate: string;
|
|
477
470
|
propertyValue: Pound;
|
|
478
471
|
mortgageTypeLid: mongoose.Types.ObjectId;
|
|
@@ -482,7 +475,6 @@ declare const MortgageCommitmentModel: mongoose.Model<{
|
|
|
482
475
|
accountInArrearsDetails: string;
|
|
483
476
|
mortgageHPPRationale: string;
|
|
484
477
|
financeTypeHppLid: mongoose.Types.ObjectId;
|
|
485
|
-
applicantId?: mongoose.Types.ObjectId | null | undefined;
|
|
486
478
|
outstandingBalance?: Pound | null | undefined;
|
|
487
479
|
lenderName?: string | null | undefined;
|
|
488
480
|
monthlyPayment?: Pound | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-mortgage.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-mortgage.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant-commitment-mortgage.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-mortgage.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AA8E/C,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiE,CAAC;AAC/F,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
2
|
import { Pound } from "../value-objects/pound";
|
|
3
3
|
const mortgageCommitmentSchema = new mongoose.Schema({
|
|
4
|
-
applicantId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant" },
|
|
4
|
+
applicantId: { type: mongoose.Schema.Types.ObjectId, ref: "Applicant", required: true },
|
|
5
5
|
lenderName: { type: String }, // Provider Name / Provider category
|
|
6
6
|
propertyValue: { type: Pound, default: null },
|
|
7
7
|
repaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null },
|
|
@@ -41,7 +41,11 @@ const mortgageCommitmentSchema = new mongoose.Schema({
|
|
|
41
41
|
mortgageRate: { type: Number },
|
|
42
42
|
financeHomeTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
|
|
43
43
|
remainingTermMonth: { type: Number },
|
|
44
|
-
chargeTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" }
|
|
44
|
+
chargeTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
|
|
45
|
+
// Unique fields from secured loan model
|
|
46
|
+
securityDetails: { type: String, default: null },
|
|
47
|
+
purpose: { type: String, default: null },
|
|
48
|
+
remainingTerm: { type: String, default: null },
|
|
45
49
|
}, {
|
|
46
50
|
toJSON: { getters: true, virtuals: true },
|
|
47
51
|
toObject: { getters: true, virtuals: true }
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
2
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
-
/// <reference types="mongoose/types/callback" />
|
|
4
|
-
/// <reference types="mongoose/types/collection" />
|
|
5
|
-
/// <reference types="mongoose/types/connection" />
|
|
6
|
-
/// <reference types="mongoose/types/cursor" />
|
|
7
|
-
/// <reference types="mongoose/types/document" />
|
|
8
|
-
/// <reference types="mongoose/types/error" />
|
|
9
|
-
/// <reference types="mongoose/types/expressions" />
|
|
10
|
-
/// <reference types="mongoose/types/helpers" />
|
|
11
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
-
/// <reference types="mongoose/types/indexes" />
|
|
13
|
-
/// <reference types="mongoose/types/models" />
|
|
14
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
-
/// <reference types="mongoose/types/populate" />
|
|
17
|
-
/// <reference types="mongoose/types/query" />
|
|
18
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
20
|
-
/// <reference types="mongoose/types/session" />
|
|
21
|
-
/// <reference types="mongoose/types/types" />
|
|
22
|
-
/// <reference types="mongoose/types/utility" />
|
|
23
|
-
/// <reference types="mongoose/types/validation" />
|
|
24
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
27
1
|
import mongoose from "mongoose";
|
|
28
2
|
import { Pound } from "../value-objects/pound";
|
|
29
3
|
declare const ResidenceCommitmentModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-commitment-residence.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-residence.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant-commitment-residence.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-commitment-residence.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAiD/C,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmE,CAAC;AAClG,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
3
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
4
|
-
/// <reference types="mongoose/types/callback" />
|
|
5
|
-
/// <reference types="mongoose/types/collection" />
|
|
6
|
-
/// <reference types="mongoose/types/connection" />
|
|
7
|
-
/// <reference types="mongoose/types/cursor" />
|
|
8
|
-
/// <reference types="mongoose/types/document" />
|
|
9
|
-
/// <reference types="mongoose/types/error" />
|
|
10
|
-
/// <reference types="mongoose/types/expressions" />
|
|
11
|
-
/// <reference types="mongoose/types/helpers" />
|
|
12
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
13
|
-
/// <reference types="mongoose/types/indexes" />
|
|
14
|
-
/// <reference types="mongoose/types/models" />
|
|
15
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
16
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
17
|
-
/// <reference types="mongoose/types/populate" />
|
|
18
|
-
/// <reference types="mongoose/types/query" />
|
|
19
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
20
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
21
|
-
/// <reference types="mongoose/types/session" />
|
|
22
|
-
/// <reference types="mongoose/types/types" />
|
|
23
|
-
/// <reference types="mongoose/types/utility" />
|
|
24
|
-
/// <reference types="mongoose/types/validation" />
|
|
25
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
27
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
28
1
|
import mongoose from "mongoose";
|
|
29
2
|
declare const applicantCreditDataSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
30
3
|
statusLid: mongoose.Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-credit-data.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-data.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant-credit-data.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-data.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ7B,CAAC;AAEH,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import mongoose from "mongoose";
|
|
2
|
-
const applicantCreditDataSchema = new mongoose.Schema({
|
|
3
|
-
bankruptcy: { type: String, required: true },
|
|
4
|
-
countyCourtJudgment: { type: String, required: true },
|
|
5
|
-
creditDefaults: { type: String },
|
|
6
|
-
securedArrears: { type: String, required: true },
|
|
7
|
-
statusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null, required: true },
|
|
8
|
-
unsecuredArrears: { type: String, required: true },
|
|
9
|
-
valid: { type: String, required: true },
|
|
10
|
-
});
|
|
11
|
-
export default applicantCreditDataSchema;
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
const applicantCreditDataSchema = new mongoose.Schema({
|
|
3
|
+
bankruptcy: { type: String, required: true },
|
|
4
|
+
countyCourtJudgment: { type: String, required: true },
|
|
5
|
+
creditDefaults: { type: String },
|
|
6
|
+
securedArrears: { type: String, required: true },
|
|
7
|
+
statusLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", default: null, required: true },
|
|
8
|
+
unsecuredArrears: { type: String, required: true },
|
|
9
|
+
valid: { type: String, required: true },
|
|
10
|
+
});
|
|
11
|
+
export default applicantCreditDataSchema;
|
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
3
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
4
|
-
/// <reference types="mongoose/types/callback" />
|
|
5
|
-
/// <reference types="mongoose/types/collection" />
|
|
6
|
-
/// <reference types="mongoose/types/connection" />
|
|
7
|
-
/// <reference types="mongoose/types/cursor" />
|
|
8
|
-
/// <reference types="mongoose/types/document" />
|
|
9
|
-
/// <reference types="mongoose/types/error" />
|
|
10
|
-
/// <reference types="mongoose/types/expressions" />
|
|
11
|
-
/// <reference types="mongoose/types/helpers" />
|
|
12
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
13
|
-
/// <reference types="mongoose/types/indexes" />
|
|
14
|
-
/// <reference types="mongoose/types/models" />
|
|
15
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
16
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
17
|
-
/// <reference types="mongoose/types/populate" />
|
|
18
|
-
/// <reference types="mongoose/types/query" />
|
|
19
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
20
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
21
|
-
/// <reference types="mongoose/types/session" />
|
|
22
|
-
/// <reference types="mongoose/types/types" />
|
|
23
|
-
/// <reference types="mongoose/types/utility" />
|
|
24
|
-
/// <reference types="mongoose/types/validation" />
|
|
25
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
27
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
28
1
|
import mongoose from "mongoose";
|
|
29
2
|
declare const creditProfileSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
30
3
|
anyVoluntaryEnforcedPossessionNo: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-credit-profile.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-profile.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant-credit-profile.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-credit-profile.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;EAiBvB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import mongoose from "mongoose";
|
|
2
|
-
const creditProfileSchema = new mongoose.Schema({
|
|
3
|
-
anyVoluntaryEnforcedPossessionNo: {
|
|
4
|
-
type: String,
|
|
5
|
-
required: true
|
|
6
|
-
},
|
|
7
|
-
bankruptcyNo: {
|
|
8
|
-
type: String,
|
|
9
|
-
required: true
|
|
10
|
-
},
|
|
11
|
-
ccjInLastThreeYearNo: {
|
|
12
|
-
type: String,
|
|
13
|
-
required: true
|
|
14
|
-
},
|
|
15
|
-
defaultsInLastYearNo: {
|
|
16
|
-
type: String,
|
|
17
|
-
required: true
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
export default creditProfileSchema;
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
const creditProfileSchema = new mongoose.Schema({
|
|
3
|
+
anyVoluntaryEnforcedPossessionNo: {
|
|
4
|
+
type: String,
|
|
5
|
+
required: true
|
|
6
|
+
},
|
|
7
|
+
bankruptcyNo: {
|
|
8
|
+
type: String,
|
|
9
|
+
required: true
|
|
10
|
+
},
|
|
11
|
+
ccjInLastThreeYearNo: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: true
|
|
14
|
+
},
|
|
15
|
+
defaultsInLastYearNo: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: true
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export default creditProfileSchema;
|
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
3
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
4
|
-
/// <reference types="mongoose/types/callback" />
|
|
5
|
-
/// <reference types="mongoose/types/collection" />
|
|
6
|
-
/// <reference types="mongoose/types/connection" />
|
|
7
|
-
/// <reference types="mongoose/types/cursor" />
|
|
8
|
-
/// <reference types="mongoose/types/document" />
|
|
9
|
-
/// <reference types="mongoose/types/error" />
|
|
10
|
-
/// <reference types="mongoose/types/expressions" />
|
|
11
|
-
/// <reference types="mongoose/types/helpers" />
|
|
12
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
13
|
-
/// <reference types="mongoose/types/indexes" />
|
|
14
|
-
/// <reference types="mongoose/types/models" />
|
|
15
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
16
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
17
|
-
/// <reference types="mongoose/types/populate" />
|
|
18
|
-
/// <reference types="mongoose/types/query" />
|
|
19
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
20
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
21
|
-
/// <reference types="mongoose/types/session" />
|
|
22
|
-
/// <reference types="mongoose/types/types" />
|
|
23
|
-
/// <reference types="mongoose/types/utility" />
|
|
24
|
-
/// <reference types="mongoose/types/validation" />
|
|
25
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
26
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
27
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
28
1
|
import mongoose from 'mongoose';
|
|
29
2
|
declare const applicantDirectDebitSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
30
3
|
timestamps: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-direct-debit.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-direct-debit.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant-direct-debit.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-direct-debit.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcR,CAAC;AAEzB,eAAe,0BAA0B,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import mongoose from 'mongoose';
|
|
2
|
-
const applicantDirectDebitSchema = new mongoose.Schema({
|
|
3
|
-
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: 'Application' },
|
|
4
|
-
accountNumber: { type: String },
|
|
5
|
-
addressLine1: { type: String },
|
|
6
|
-
addressLine2: { type: String },
|
|
7
|
-
Applicants: { type: String },
|
|
8
|
-
branch: { type: String },
|
|
9
|
-
city: { type: String },
|
|
10
|
-
contactPostcode: { type: String },
|
|
11
|
-
institution: { type: String },
|
|
12
|
-
isConfirmDeclaration: { type: String, default: false },
|
|
13
|
-
nameOfAccountHolder: { type: String },
|
|
14
|
-
selectedPaymentDay: { type: String },
|
|
15
|
-
sortCode: { type: String }
|
|
16
|
-
}, { timestamps: true });
|
|
17
|
-
export default applicantDirectDebitSchema;
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
const applicantDirectDebitSchema = new mongoose.Schema({
|
|
3
|
+
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: 'Application' },
|
|
4
|
+
accountNumber: { type: String },
|
|
5
|
+
addressLine1: { type: String },
|
|
6
|
+
addressLine2: { type: String },
|
|
7
|
+
Applicants: { type: String },
|
|
8
|
+
branch: { type: String },
|
|
9
|
+
city: { type: String },
|
|
10
|
+
contactPostcode: { type: String },
|
|
11
|
+
institution: { type: String },
|
|
12
|
+
isConfirmDeclaration: { type: String, default: false },
|
|
13
|
+
nameOfAccountHolder: { type: String },
|
|
14
|
+
selectedPaymentDay: { type: String },
|
|
15
|
+
sortCode: { type: String }
|
|
16
|
+
}, { timestamps: true });
|
|
17
|
+
export default applicantDirectDebitSchema;
|
|
@@ -1,29 +1,3 @@
|
|
|
1
|
-
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
2
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
-
/// <reference types="mongoose/types/callback" />
|
|
4
|
-
/// <reference types="mongoose/types/collection" />
|
|
5
|
-
/// <reference types="mongoose/types/connection" />
|
|
6
|
-
/// <reference types="mongoose/types/cursor" />
|
|
7
|
-
/// <reference types="mongoose/types/document" />
|
|
8
|
-
/// <reference types="mongoose/types/error" />
|
|
9
|
-
/// <reference types="mongoose/types/expressions" />
|
|
10
|
-
/// <reference types="mongoose/types/helpers" />
|
|
11
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
-
/// <reference types="mongoose/types/indexes" />
|
|
13
|
-
/// <reference types="mongoose/types/models" />
|
|
14
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
-
/// <reference types="mongoose/types/populate" />
|
|
17
|
-
/// <reference types="mongoose/types/query" />
|
|
18
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
20
|
-
/// <reference types="mongoose/types/session" />
|
|
21
|
-
/// <reference types="mongoose/types/types" />
|
|
22
|
-
/// <reference types="mongoose/types/utility" />
|
|
23
|
-
/// <reference types="mongoose/types/validation" />
|
|
24
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
25
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
-
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
27
1
|
import mongoose from "mongoose";
|
|
28
2
|
import { Pound } from "../value-objects/pound";
|
|
29
3
|
declare const ApplicantEmploymentIncomeModel: mongoose.Model<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicant-employment-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-employment-income.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"applicant-employment-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-employment-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAS/C,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAgF,CAAC;AAErH,eAAe,8BAA8B,CAAC"}
|