@dynamatix/gb-schemas 2.0.68 → 2.3.237
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 +185 -2
- package/dist/applicants/applicant-additional-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-additional-income.model.js +18 -3
- package/dist/applicants/applicant-additional-income.type.d.ts +40 -0
- package/dist/applicants/applicant-additional-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts +50 -8
- package/dist/applicants/applicant-commitment-creditCard.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-creditCard.model.js +6 -6
- package/dist/applicants/applicant-commitment-loan.model.d.ts +47 -8
- package/dist/applicants/applicant-commitment-loan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-loan.model.js +8 -8
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts +53 -14
- package/dist/applicants/applicant-commitment-mortgage.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-mortgage.model.js +13 -19
- package/dist/applicants/applicant-commitment-residence.model.d.ts +767 -0
- package/dist/applicants/applicant-commitment-residence.model.d.ts.map +1 -0
- package/dist/applicants/applicant-commitment-residence.model.js +52 -0
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts +47 -14
- package/dist/applicants/applicant-commitment-secureLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-secureLoan.model.js +8 -8
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts +47 -14
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.d.ts.map +1 -1
- package/dist/applicants/applicant-commitment-unsecuredLoan.model.js +8 -8
- package/dist/applicants/applicant-credit-data.model.d.ts +29 -1
- package/dist/applicants/applicant-credit-data.model.d.ts.map +1 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts +29 -1
- package/dist/applicants/applicant-credit-profile.model.d.ts.map +1 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts +29 -1
- package/dist/applicants/applicant-direct-debit.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment-income.model.d.ts +32 -2
- package/dist/applicants/applicant-employment-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment-income.model.js +7 -2
- package/dist/applicants/applicant-employment-income.type.d.ts +37 -0
- package/dist/applicants/applicant-employment-income.type.d.ts.map +1 -0
- package/dist/applicants/applicant-employment-income.type.js +1 -0
- package/dist/applicants/applicant-employment.model.d.ts +87 -624
- package/dist/applicants/applicant-employment.model.d.ts.map +1 -1
- package/dist/applicants/applicant-employment.model.js +6 -10
- package/dist/applicants/applicant-expenditure.model.d.ts +35 -8
- package/dist/applicants/applicant-expenditure.model.d.ts.map +1 -1
- package/dist/applicants/applicant-expenditure.model.js +6 -2
- package/dist/applicants/applicant-income-settings.model.d.ts +30 -2
- package/dist/applicants/applicant-income-settings.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income-settings.model.js +7 -0
- package/dist/applicants/applicant-income-summary.model.d.ts +1907 -0
- package/dist/applicants/applicant-income-summary.model.d.ts.map +1 -0
- package/dist/applicants/applicant-income-summary.model.js +38 -0
- package/dist/applicants/applicant-income.model.d.ts +485 -125
- package/dist/applicants/applicant-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-income.model.js +48 -44
- package/dist/applicants/applicant-pension-income.model.d.ts +38 -290
- package/dist/applicants/applicant-pension-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-pension-income.model.js +9 -6
- package/dist/applicants/applicant-property-income.model.d.ts +65 -20
- package/dist/applicants/applicant-property-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-property-income.model.js +14 -7
- package/dist/applicants/applicant-risk-narrative.model.d.ts +29 -1
- package/dist/applicants/applicant-risk-narrative.model.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employed-income.model.d.ts +32 -2
- package/dist/applicants/applicant-self-employed-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-self-employed-income.model.js +9 -2
- package/dist/applicants/applicant-self-employment.model.d.ts +269 -0
- package/dist/applicants/applicant-self-employment.model.d.ts.map +1 -0
- package/dist/applicants/applicant-self-employment.model.js +50 -0
- package/dist/applicants/applicant-sole-trader-income.model.d.ts +32 -2
- package/dist/applicants/applicant-sole-trader-income.model.d.ts.map +1 -1
- package/dist/applicants/applicant-sole-trader-income.model.js +7 -2
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts +53 -305
- package/dist/applicants/applicant-uk-tax-credits.model.d.ts.map +1 -1
- package/dist/applicants/applicant-uk-tax-credits.model.js +10 -7
- package/dist/applicants/applicant.model.d.ts +1511 -88
- package/dist/applicants/applicant.model.d.ts.map +1 -1
- package/dist/applicants/applicant.model.js +14 -8
- package/dist/applicants/index.d.ts +10 -8
- package/dist/applicants/index.d.ts.map +1 -1
- package/dist/applicants/index.js +10 -8
- package/dist/applications/application-audit.model.d.ts +30 -2
- package/dist/applications/application-audit.model.d.ts.map +1 -1
- package/dist/applications/application-checklist-Item.model.d.ts +30 -2
- package/dist/applications/application-checklist-Item.model.d.ts.map +1 -1
- package/dist/applications/application-company-model.d.ts +47 -2
- package/dist/applications/application-company-model.d.ts.map +1 -1
- package/dist/applications/application-company-model.js +11 -9
- package/dist/applications/application-credit-profile.model.d.ts +29 -1
- package/dist/applications/application-credit-profile.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.d.ts +35 -5
- package/dist/applications/application-direct-debit.model.d.ts.map +1 -1
- package/dist/applications/application-direct-debit.model.js +2 -1
- package/dist/applications/application-document.model.d.ts +30 -2
- package/dist/applications/application-document.model.d.ts.map +1 -1
- package/dist/applications/application-euc.model.d.ts +70 -0
- package/dist/applications/application-euc.model.d.ts.map +1 -0
- package/dist/applications/application-euc.model.js +9 -0
- package/dist/applications/application-fieldconfig.model.d.ts +30 -2
- package/dist/applications/application-fieldconfig.model.d.ts.map +1 -1
- package/dist/applications/application-illustration-model.d.ts +30 -2
- package/dist/applications/application-illustration-model.d.ts.map +1 -1
- package/dist/applications/application-legal.model.d.ts +30 -2
- package/dist/applications/application-legal.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.d.ts +194 -1097
- package/dist/applications/application-mortgage.model.d.ts.map +1 -1
- package/dist/applications/application-mortgage.model.js +13 -21
- package/dist/applications/application-note.model.d.ts +30 -2
- package/dist/applications/application-note.model.d.ts.map +1 -1
- package/dist/applications/application-offer.model.d.ts +30 -2
- package/dist/applications/application-offer.model.d.ts.map +1 -1
- package/dist/applications/application-onboarding.model.d.ts +30 -2
- package/dist/applications/application-onboarding.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.d.ts +30 -2
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.js +5 -4
- package/dist/applications/application-productfeatures.model.d.ts +30 -2
- package/dist/applications/application-productfeatures.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.d.ts +90 -194
- package/dist/applications/application-rationale.model.d.ts.map +1 -1
- package/dist/applications/application-rationale.model.js +24 -32
- package/dist/applications/application-rationale.type.d.ts +44 -0
- package/dist/applications/application-rationale.type.d.ts.map +1 -0
- package/dist/applications/application-rationale.type.js +1 -0
- package/dist/applications/application-risk-narrative.model.d.ts +30 -2
- package/dist/applications/application-risk-narrative.model.d.ts.map +1 -1
- package/dist/applications/application-valuation.model.d.ts +29 -1
- package/dist/applications/application-valuation.model.d.ts.map +1 -1
- package/dist/applications/application.model.d.ts +60 -50
- package/dist/applications/application.model.d.ts.map +1 -1
- package/dist/applications/application.model.js +45 -9
- package/dist/applications/applications-task.model.d.ts +112 -0
- package/dist/applications/applications-task.model.d.ts.map +1 -0
- package/dist/applications/applications-task.model.js +50 -0
- package/dist/applications/broker.model.d.ts +30 -2
- package/dist/applications/broker.model.d.ts.map +1 -1
- package/dist/applications/document.model.d.ts +30 -2
- package/dist/applications/document.model.d.ts.map +1 -1
- package/dist/applications/index.d.ts +3 -0
- package/dist/applications/index.d.ts.map +1 -1
- package/dist/applications/index.js +3 -0
- package/dist/applications/solicitor.model.d.ts +35 -8
- package/dist/applications/solicitor.model.d.ts.map +1 -1
- package/dist/applications/solicitor.model.js +2 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/product-catalogues/product-catalogue.model.d.ts +30 -2
- package/dist/product-catalogues/product-catalogue.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-definitions.model.d.ts +30 -2
- package/dist/product-catalogues/product-definitions.model.d.ts.map +1 -1
- package/dist/product-catalogues/product-variant.model.d.ts +30 -2
- package/dist/product-catalogues/product-variant.model.d.ts.map +1 -1
- package/dist/properties/property.model.d.ts +44 -2
- package/dist/properties/property.model.d.ts.map +1 -1
- package/dist/properties/property.model.js +12 -6
- package/dist/properties/security.model.d.ts +30 -2
- package/dist/properties/security.model.d.ts.map +1 -1
- package/dist/properties/security.model.js +5 -3
- package/dist/shared/alert.model.d.ts +30 -2
- package/dist/shared/alert.model.d.ts.map +1 -1
- package/dist/shared/apprivo-sync-journey.model.d.ts +30 -2
- package/dist/shared/apprivo-sync-journey.model.d.ts.map +1 -1
- package/dist/shared/checklist.model.d.ts +30 -2
- package/dist/shared/checklist.model.d.ts.map +1 -1
- package/dist/shared/document-type-model.d.ts +30 -2
- package/dist/shared/document-type-model.d.ts.map +1 -1
- package/dist/shared/job-run.model.d.ts +30 -2
- package/dist/shared/job-run.model.d.ts.map +1 -1
- package/dist/shared/job-setting.model.d.ts +30 -2
- package/dist/shared/job-setting.model.d.ts.map +1 -1
- package/dist/shared/lookup-group.model.d.ts +30 -2
- package/dist/shared/lookup-group.model.d.ts.map +1 -1
- package/dist/shared/lookup.model.d.ts +30 -2
- package/dist/shared/lookup.model.d.ts.map +1 -1
- package/dist/shared/schema-doc.model.d.ts +30 -2
- package/dist/shared/schema-doc.model.d.ts.map +1 -1
- package/dist/shared/system-parameter.model.d.ts +30 -2
- package/dist/shared/system-parameter.model.d.ts.map +1 -1
- package/dist/shared/task-document.model.d.ts +30 -2
- package/dist/shared/task-document.model.d.ts.map +1 -1
- package/dist/shared/task.model.d.ts +30 -2
- package/dist/shared/task.model.d.ts.map +1 -1
- package/dist/types/base.types.d.ts +35 -0
- package/dist/types/base.types.d.ts.map +1 -0
- package/dist/types/base.types.js +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +1 -0
- package/dist/underwriter/underwriter.model.d.ts +30 -2
- package/dist/underwriter/underwriter.model.d.ts.map +1 -1
- package/dist/users/auth-log.model.d.ts +30 -2
- package/dist/users/auth-log.model.d.ts.map +1 -1
- package/dist/users/permission.model.d.ts +30 -2
- package/dist/users/permission.model.d.ts.map +1 -1
- package/dist/users/role-group.model.d.ts +30 -2
- package/dist/users/role-group.model.d.ts.map +1 -1
- package/dist/users/role.model.d.ts +30 -2
- package/dist/users/role.model.d.ts.map +1 -1
- package/dist/users/tasks.model.d.ts +30 -2
- package/dist/users/tasks.model.d.ts.map +1 -1
- package/dist/users/user.model.d.ts +30 -2
- package/dist/users/user.model.d.ts.map +1 -1
- package/dist/value-objects/account-number.d.ts +42 -0
- package/dist/value-objects/account-number.d.ts.map +1 -0
- package/dist/value-objects/account-number.js +24 -0
- package/dist/value-objects/pound.d.ts +28 -0
- package/dist/value-objects/pound.d.ts.map +1 -1
- package/dist/value-objects/pound.js +33 -9
- package/dist/value-objects/sort-code.d.ts +27 -0
- package/dist/value-objects/sort-code.d.ts.map +1 -1
- package/dist/value-objects/sort-code.js +13 -4
- package/package.json +76 -83
- 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-settings.entity.d.ts +0 -17
- package/dist/entities/applicants/applicant-income-settings.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-income-settings.entity.js +0 -5
- package/dist/entities/applicants/applicant-income.entity.d.ts +0 -77
- 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-share-holding.entity.d.ts +0 -18
- package/dist/entities/applicants/applicant-share-holding.entity.d.ts.map +0 -1
- package/dist/entities/applicants/applicant-share-holding.entity.js +0 -5
- package/dist/entities/applicants/applicant.entity.d.ts +0 -144
- 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 -22
- package/dist/entities/applicants/credit-card-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/credit-card-commitment.entity.js +0 -9
- package/dist/entities/applicants/index.d.ts +0 -20
- package/dist/entities/applicants/index.d.ts.map +0 -1
- package/dist/entities/applicants/index.js +0 -18
- package/dist/entities/applicants/loan-commitment.entity.d.ts +0 -29
- package/dist/entities/applicants/loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/loan-commitment.entity.js +0 -15
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts +0 -50
- package/dist/entities/applicants/mortgage-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/mortgage-commitment.entity.js +0 -27
- 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 -29
- package/dist/entities/applicants/secure-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/secure-loan-commitment.entity.js +0 -12
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts +0 -29
- package/dist/entities/applicants/unsecured-loan-commitment.entity.d.ts.map +0 -1
- package/dist/entities/applicants/unsecured-loan-commitment.entity.js +0 -12
- 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 -60
- package/dist/entities/applications/application-company.entity.d.ts.map +0 -1
- package/dist/entities/applications/application-company.entity.js +0 -15
- 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 -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 -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 -102
- 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/index.d.ts +0 -22
- package/dist/entities/applications/index.d.ts.map +0 -1
- package/dist/entities/applications/index.js +0 -20
- package/dist/entities/applications/product-features.entity.d.ts +0 -104
- package/dist/entities/applications/product-features.entity.d.ts.map +0 -1
- package/dist/entities/applications/product-features.entity.js +0 -20
- 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 -7
- package/dist/entities/product-catalogues/index.d.ts.map +0 -1
- package/dist/entities/product-catalogues/index.js +0 -5
- 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 -28
- 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/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 -58
- 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-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 -19
- 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 -13
- 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 -16
- 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 -33
- package/dist/entities/users/user.entity.d.ts.map +0 -1
- package/dist/entities/users/user.entity.js +0 -5
- package/entities/applicants/applicant-credit-data.entity.ts +0 -24
- package/entities/applicants/applicant-credit-profile.entity.ts +0 -19
- package/entities/applicants/applicant-employment-income.entity.ts +0 -18
- package/entities/applicants/applicant-employment.entity.ts +0 -60
- package/entities/applicants/applicant-expenditure.entity.ts +0 -19
- package/entities/applicants/applicant-income-settings.entity.ts +0 -22
- package/entities/applicants/applicant-income.entity.ts +0 -79
- package/entities/applicants/applicant-share-holding.entity.ts +0 -23
- package/entities/applicants/applicant.entity.ts +0 -194
- package/entities/applicants/credit-card-commitment.entity.ts +0 -31
- package/entities/applicants/index.ts +0 -59
- package/entities/applicants/loan-commitment.entity.ts +0 -44
- package/entities/applicants/mortgage-commitment.entity.ts +0 -77
- package/entities/applicants/other-income.entity.ts +0 -68
- package/entities/applicants/property-income.entity.ts +0 -19
- package/entities/applicants/residence-commitment.entity.ts +0 -63
- package/entities/applicants/secure-loan-commitment.entity.ts +0 -41
- package/entities/applicants/unsecured-loan-commitment.entity.ts +0 -41
- package/entities/applications/application-audit.entity.ts +0 -23
- package/entities/applications/application-company.entity.ts +0 -76
- package/entities/applications/application-credit-profile.entity.ts +0 -13
- package/entities/applications/application-direct-debit.entity.ts +0 -29
- package/entities/applications/application-document.entity.ts +0 -33
- package/entities/applications/application-fieldconfig.entity.ts +0 -11
- package/entities/applications/application-illustration.entity.ts +0 -10
- package/entities/applications/application-legal.entity.ts +0 -11
- package/entities/applications/application-mortgage.entity.ts +0 -82
- package/entities/applications/application-note.entity.ts +0 -42
- package/entities/applications/application-offer.entity.ts +0 -10
- package/entities/applications/application-onboarding.entity.ts +0 -13
- package/entities/applications/application-product.entity.ts +0 -38
- package/entities/applications/application-rationale.entity.ts +0 -56
- package/entities/applications/application.entity.ts +0 -168
- package/entities/applications/broker.entity.ts +0 -25
- package/entities/applications/checklist-item.entity.ts +0 -49
- package/entities/applications/index.ts +0 -63
- package/entities/applications/product-features.entity.ts +0 -118
- package/entities/applications/solicitor.entity.ts +0 -38
- package/entities/index.ts +0 -14
- package/entities/prisma.ts +0 -13
- package/entities/product-catalogues/index.ts +0 -20
- package/entities/product-catalogues/product-catalogue.entity.ts +0 -27
- package/entities/product-catalogues/product-definition.entity.ts +0 -34
- package/entities/product-catalogues/product-variant.entity.ts +0 -19
- package/entities/product-catalogues/product.entity.ts +0 -16
- package/entities/properties/data-street.entity.ts +0 -27
- package/entities/properties/index.ts +0 -17
- package/entities/properties/property.entity.ts +0 -35
- package/entities/properties/security.entity.ts +0 -63
- package/entities/shared/alert.entity.ts +0 -19
- package/entities/shared/apprivo-sync-journey.entity.ts +0 -25
- package/entities/shared/apprivo-sync-journey.model.ts +0 -13
- package/entities/shared/checklist.entity.ts +0 -20
- package/entities/shared/document-type.entity.ts +0 -11
- package/entities/shared/index.ts +0 -35
- package/entities/shared/job-run.entity.ts +0 -20
- package/entities/shared/job-run.model.ts +0 -10
- package/entities/shared/job-setting.entity.ts +0 -13
- package/entities/shared/lookup-group.entity.ts +0 -16
- package/entities/shared/lookup.entity.ts +0 -19
- package/entities/shared/system-parameter.entity.ts +0 -13
- package/entities/underwriter/index.ts +0 -7
- package/entities/underwriter/underwriter.entity.ts +0 -24
- package/entities/users/auth-log.entity.ts +0 -13
- package/entities/users/index.ts +0 -23
- package/entities/users/permission.entity.ts +0 -17
- package/entities/users/role-group.entity.ts +0 -18
- package/entities/users/role.entity.ts +0 -21
- package/entities/users/user.entity.ts +0 -38
- package/prisma/applicants/applicant-credit-data.prisma +0 -19
- package/prisma/applicants/applicant-credit-profile.prisma +0 -15
- package/prisma/applicants/applicant-employment-income.prisma +0 -15
- package/prisma/applicants/applicant-employment.prisma +0 -54
- package/prisma/applicants/applicant-expenditure.prisma +0 -14
- package/prisma/applicants/applicant-income-settings.prisma +0 -17
- package/prisma/applicants/applicant-income.prisma +0 -78
- package/prisma/applicants/applicant-other-income.prisma +0 -45
- package/prisma/applicants/applicant-property-income.prisma +0 -21
- package/prisma/applicants/applicant-share-holding.prisma +0 -17
- package/prisma/applicants/applicant.prisma +0 -130
- package/prisma/applicants/credit-card-commitment.prisma +0 -21
- package/prisma/applicants/loan-commitment.prisma +0 -26
- package/prisma/applicants/mortgage-commitment.prisma +0 -43
- package/prisma/applicants/residence-commitment.prisma +0 -41
- package/prisma/applicants/secured-loan-commitment.prisma +0 -27
- package/prisma/applicants/unsecured-loan-commitment.prisma +0 -27
- package/prisma/applications/application-audit.prisma +0 -19
- package/prisma/applications/application-company.prisma +0 -56
- package/prisma/applications/application-credit-profile.prisma +0 -15
- package/prisma/applications/application-direct-debit.prisma +0 -27
- package/prisma/applications/application-document.prisma +0 -28
- package/prisma/applications/application-fieldconfig.prisma +0 -9
- package/prisma/applications/application-illustration.prisma +0 -8
- package/prisma/applications/application-legal.prisma +0 -9
- package/prisma/applications/application-mortgage.prisma +0 -48
- package/prisma/applications/application-note.prisma +0 -36
- package/prisma/applications/application-offer.prisma +0 -8
- package/prisma/applications/application-onboarding.prisma +0 -11
- package/prisma/applications/application-product.prisma +0 -33
- package/prisma/applications/application-rationale.prisma +0 -51
- package/prisma/applications/application.prisma +0 -92
- package/prisma/applications/broker.prisma +0 -26
- package/prisma/applications/checklist-item.prisma +0 -47
- package/prisma/applications/checklist.prisma +0 -19
- package/prisma/applications/product-features.prisma +0 -122
- package/prisma/applications/solicitor.prisma +0 -33
- package/prisma/broker.entity.ts +0 -8
- package/prisma/migrations/20250501070203_initial_migration/migration.sql +0 -2044
- package/prisma/migrations/20250501102630_job_setting_name_change/migration.sql +0 -10
- package/prisma/migrations/20250501104920_milstone_update/migration.sql +0 -30
- package/prisma/migrations/20250501105546_apprivo_sync_journey_update/migration.sql +0 -9
- package/prisma/migrations/20250501105850_job_run_update/migration.sql +0 -13
- package/prisma/migrations/20250505115236_update_application_schema/migration.sql +0 -115
- package/prisma/migrations/20250505145328_update_broker_schema/migration.sql +0 -8
- package/prisma/migrations/20250505185034_update_direct_debit_schema/migration.sql +0 -27
- package/prisma/migrations/20250505190613_update_solicitor_schema/migration.sql +0 -29
- package/prisma/migrations/20250506054831_update_note_schema/migration.sql +0 -12
- package/prisma/migrations/20250506142218_update_broker_schema/migration.sql +0 -17
- package/prisma/migrations/20250506190258_update_application_note_schema/migration.sql +0 -32
- package/prisma/migrations/20250506204635_update_mortgage_schema/migration.sql +0 -26
- package/prisma/migrations/20250507122847_applicant_retirement_age/migration.sql +0 -9
- package/prisma/migrations/20250507184905_update_mortgage_schema/migration.sql +0 -8
- package/prisma/migrations/20250507194746_update_direct_debit_schema/migration.sql +0 -5
- package/prisma/migrations/20250508092417_update_application_schema/migration.sql +0 -3
- package/prisma/migrations/20250508094735_update_direct_debit_schema/migration.sql +0 -2
- package/prisma/migrations/20250509073536_update_applicant_schema/migration.sql +0 -4
- package/prisma/migrations/20250509111029_update_solicitor_schema/migration.sql +0 -2
- package/prisma/migrations/20250509125107_update_mortgage_schema/migration.sql +0 -19
- package/prisma/migrations/20250512071728_update_mortgage_schema/migration.sql +0 -15
- package/prisma/migrations/20250512094011_update_property_schema/migration.sql +0 -34
- package/prisma/migrations/20250512102019_update_mortgage_schema/migration.sql +0 -2
- package/prisma/migrations/20250513132704_update_credit_card_commitment_schema/migration.sql +0 -22
- package/prisma/migrations/20250513143530_update_credit_card_commitment_schema/migration.sql +0 -8
- package/prisma/migrations/20250513170654_update_mortgage_commitment_schema/migration.sql +0 -89
- package/prisma/migrations/20250513183558_update_loan_commitment_schema/migration.sql +0 -33
- package/prisma/migrations/20250513184341_update_loan_commitment_schema/migration.sql +0 -4
- package/prisma/migrations/20250513202307_update_role_schema/migration.sql +0 -12
- package/prisma/migrations/20250514062536_update_role_group_schema/migration.sql +0 -12
- package/prisma/migrations/20250514064054_update_user_schema/migration.sql +0 -12
- package/prisma/migrations/20250514071524_update_user_schema/migration.sql +0 -15
- package/prisma/migrations/20250514072729_update_user_schema/migration.sql +0 -18
- package/prisma/migrations/20250514102042_update_user_rolegroup_role_schemas/migration.sql +0 -9
- package/prisma/migrations/20250514183537_update_application_company_schema/migration.sql +0 -100
- package/prisma/migrations/20250514194139_update_applicant_share_holding_schema/migration.sql +0 -11
- package/prisma/migrations/20250515132015_update_underwriter_schema/migration.sql +0 -56
- package/prisma/migrations/20250515133236_update_underwriter_schema/migration.sql +0 -12
- package/prisma/migrations/20250515172824_update_security_schema/migration.sql +0 -43
- package/prisma/migrations/20250516053810_update_underwriter_schema/migration.sql +0 -14
- package/prisma/migrations/20250516075153_update_commitments_schemas/migration.sql +0 -134
- package/prisma/migrations/20250516094438_update_credit_card_commitment_schema/migration.sql +0 -8
- package/prisma/migrations/20250519075211_update_product_features_schema/migration.sql +0 -15
- package/prisma/migrations/20250519094725_update_product_feature_schema/migration.sql +0 -163
- package/prisma/migrations/20250519133154_update_employemnt_income_schema/migration.sql +0 -11
- package/prisma/migrations/20250519181411_update_applicant_income_schema/migration.sql +0 -65
- package/prisma/migrations/20250520030945_update_income_settings_schema/migration.sql +0 -44
- package/prisma/migrations/20250520061455_update_income_settings_schema/migration.sql +0 -11
- package/prisma/migrations/20250521173204_update_product_catalogue_schema/migration.sql +0 -28
- package/prisma/migrations/20250521180300_update_product_variant_schema/migration.sql +0 -8
- package/prisma/migrations/20250521191050_update_product_definition_schema/migration.sql +0 -23
- package/prisma/migrations/20250521192012_update_product_definition_schema/migration.sql +0 -9
- package/prisma/migrations/20250521194549_update_product_definition_schema/migration.sql +0 -14
- package/prisma/migrations/migration_lock.toml +0 -3
- package/prisma/product-catalogues/product-catalogue.prisma +0 -22
- package/prisma/product-catalogues/product-definition.prisma +0 -16
- package/prisma/product-catalogues/product-variant.prisma +0 -15
- package/prisma/product-catalogues/product.prisma +0 -10
- package/prisma/properties/property.prisma +0 -30
- package/prisma/properties/security.prisma +0 -81
- package/prisma/schema.prisma +0 -1955
- package/prisma/shared/alert.prisma +0 -15
- package/prisma/shared/apprivo-sync-journey.prisma +0 -19
- package/prisma/shared/checklist.prisma +0 -10
- package/prisma/shared/document-type.prisma +0 -9
- package/prisma/shared/job-run.prisma +0 -15
- package/prisma/shared/job-setting.prisma +0 -11
- package/prisma/shared/lookup-group.prisma +0 -12
- package/prisma/shared/lookup.prisma +0 -154
- package/prisma/shared/system-parameter.prisma +0 -16
- package/prisma/underwriter/underwriter.prisma +0 -20
- package/prisma/users/auth-log.prisma +0 -11
- package/prisma/users/permission.prisma +0 -13
- package/prisma/users/role-group.prisma +0 -15
- package/prisma/users/role.prisma +0 -15
- package/prisma/users/user.prisma +0 -30
- /package/dist/{entities/shared/job-run.model.js → applicants/applicant-additional-income.type.js} +0 -0
|
@@ -1,5 +1,32 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
3
|
+
/// <reference types="mongoose/types/callback" />
|
|
4
|
+
/// <reference types="mongoose/types/collection" />
|
|
5
|
+
/// <reference types="mongoose/types/connection" />
|
|
6
|
+
/// <reference types="mongoose/types/cursor" />
|
|
7
|
+
/// <reference types="mongoose/types/document" />
|
|
8
|
+
/// <reference types="mongoose/types/error" />
|
|
9
|
+
/// <reference types="mongoose/types/expressions" />
|
|
10
|
+
/// <reference types="mongoose/types/helpers" />
|
|
11
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
12
|
+
/// <reference types="mongoose/types/indexes" />
|
|
13
|
+
/// <reference types="mongoose/types/models" />
|
|
14
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
15
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
16
|
+
/// <reference types="mongoose/types/populate" />
|
|
17
|
+
/// <reference types="mongoose/types/query" />
|
|
18
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
25
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
26
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
27
|
import mongoose from "mongoose";
|
|
2
28
|
import { SortCode } from "../value-objects/sort-code";
|
|
29
|
+
import { AccountNumber } from "../value-objects/account-number";
|
|
3
30
|
declare const SolicitorModel: mongoose.Model<{
|
|
4
31
|
createdAt: NativeDate;
|
|
5
32
|
updatedAt: NativeDate;
|
|
@@ -12,7 +39,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
12
39
|
addressLine3?: string | null | undefined;
|
|
13
40
|
addressCity?: string | null | undefined;
|
|
14
41
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
15
|
-
accountNumber?:
|
|
42
|
+
accountNumber?: AccountNumber | null | undefined;
|
|
16
43
|
contactPostcode?: string | null | undefined;
|
|
17
44
|
institution?: string | null | undefined;
|
|
18
45
|
nameOfAccountHolder?: string | null | undefined;
|
|
@@ -38,7 +65,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
38
65
|
addressLine3?: string | null | undefined;
|
|
39
66
|
addressCity?: string | null | undefined;
|
|
40
67
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
41
|
-
accountNumber?:
|
|
68
|
+
accountNumber?: AccountNumber | null | undefined;
|
|
42
69
|
contactPostcode?: string | null | undefined;
|
|
43
70
|
institution?: string | null | undefined;
|
|
44
71
|
nameOfAccountHolder?: string | null | undefined;
|
|
@@ -52,7 +79,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
52
79
|
signatory?: string | null | undefined;
|
|
53
80
|
solicitorActing?: string | null | undefined;
|
|
54
81
|
telephone?: string | null | undefined;
|
|
55
|
-
}> & {
|
|
82
|
+
}, {}> & {
|
|
56
83
|
createdAt: NativeDate;
|
|
57
84
|
updatedAt: NativeDate;
|
|
58
85
|
} & {
|
|
@@ -64,7 +91,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
64
91
|
addressLine3?: string | null | undefined;
|
|
65
92
|
addressCity?: string | null | undefined;
|
|
66
93
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
67
|
-
accountNumber?:
|
|
94
|
+
accountNumber?: AccountNumber | null | undefined;
|
|
68
95
|
contactPostcode?: string | null | undefined;
|
|
69
96
|
institution?: string | null | undefined;
|
|
70
97
|
nameOfAccountHolder?: string | null | undefined;
|
|
@@ -102,7 +129,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
102
129
|
addressLine3?: string | null | undefined;
|
|
103
130
|
addressCity?: string | null | undefined;
|
|
104
131
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
105
|
-
accountNumber?:
|
|
132
|
+
accountNumber?: AccountNumber | null | undefined;
|
|
106
133
|
contactPostcode?: string | null | undefined;
|
|
107
134
|
institution?: string | null | undefined;
|
|
108
135
|
nameOfAccountHolder?: string | null | undefined;
|
|
@@ -128,7 +155,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
128
155
|
addressLine3?: string | null | undefined;
|
|
129
156
|
addressCity?: string | null | undefined;
|
|
130
157
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
131
|
-
accountNumber?:
|
|
158
|
+
accountNumber?: AccountNumber | null | undefined;
|
|
132
159
|
contactPostcode?: string | null | undefined;
|
|
133
160
|
institution?: string | null | undefined;
|
|
134
161
|
nameOfAccountHolder?: string | null | undefined;
|
|
@@ -142,7 +169,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
142
169
|
signatory?: string | null | undefined;
|
|
143
170
|
solicitorActing?: string | null | undefined;
|
|
144
171
|
telephone?: string | null | undefined;
|
|
145
|
-
}
|
|
172
|
+
}>, {}> & mongoose.FlatRecord<{
|
|
146
173
|
createdAt: NativeDate;
|
|
147
174
|
updatedAt: NativeDate;
|
|
148
175
|
} & {
|
|
@@ -154,7 +181,7 @@ declare const SolicitorModel: mongoose.Model<{
|
|
|
154
181
|
addressLine3?: string | null | undefined;
|
|
155
182
|
addressCity?: string | null | undefined;
|
|
156
183
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
157
|
-
accountNumber?:
|
|
184
|
+
accountNumber?: AccountNumber | null | undefined;
|
|
158
185
|
contactPostcode?: string | null | undefined;
|
|
159
186
|
institution?: string | null | undefined;
|
|
160
187
|
nameOfAccountHolder?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"solicitor.model.d.ts","sourceRoot":"","sources":["../../applications/solicitor.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAsHhE,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC;AACpE,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import mongoose from "mongoose";
|
|
2
2
|
import { SortCode } from "../value-objects/sort-code";
|
|
3
|
+
import { AccountNumber } from "../value-objects/account-number";
|
|
3
4
|
const Schema = mongoose.Schema;
|
|
4
5
|
const solicitorSchema = new Schema({
|
|
5
6
|
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application",
|
|
@@ -11,7 +12,7 @@ const solicitorSchema = new Schema({
|
|
|
11
12
|
default: true,
|
|
12
13
|
},
|
|
13
14
|
accountNumber: {
|
|
14
|
-
type:
|
|
15
|
+
type: AccountNumber,
|
|
15
16
|
description: "Account number associated with the solicitor"
|
|
16
17
|
},
|
|
17
18
|
addressCity: {
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
29
|
import mongoose from "mongoose";
|
|
2
30
|
declare const ProductCatalogueModel: mongoose.Model<{
|
|
3
31
|
createdAt: NativeDate;
|
|
@@ -29,7 +57,7 @@ declare const ProductCatalogueModel: mongoose.Model<{
|
|
|
29
57
|
baseRate?: string | null | undefined;
|
|
30
58
|
baseRateName?: string | null | undefined;
|
|
31
59
|
mapperName?: string | null | undefined;
|
|
32
|
-
}> & {
|
|
60
|
+
}, {}> & {
|
|
33
61
|
createdAt: NativeDate;
|
|
34
62
|
updatedAt: NativeDate;
|
|
35
63
|
} & {
|
|
@@ -80,7 +108,7 @@ declare const ProductCatalogueModel: mongoose.Model<{
|
|
|
80
108
|
baseRate?: string | null | undefined;
|
|
81
109
|
baseRateName?: string | null | undefined;
|
|
82
110
|
mapperName?: string | null | undefined;
|
|
83
|
-
}
|
|
111
|
+
}>, {}> & mongoose.FlatRecord<{
|
|
84
112
|
createdAt: NativeDate;
|
|
85
113
|
updatedAt: NativeDate;
|
|
86
114
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-catalogue.model.d.ts","sourceRoot":"","sources":["../../product-catalogues/product-catalogue.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAmBhC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"product-catalogue.model.d.ts","sourceRoot":"","sources":["../../product-catalogues/product-catalogue.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAmBhC,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6D,CAAC;AACzF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
29
|
import mongoose from "mongoose";
|
|
2
30
|
declare const ProductDefinitionsModel: mongoose.Model<{
|
|
3
31
|
createdAt: NativeDate;
|
|
@@ -91,7 +119,7 @@ declare const ProductDefinitionsModel: mongoose.Model<{
|
|
|
91
119
|
overrideRuleMessage?: string | null | undefined;
|
|
92
120
|
inheritedFrom?: string | null | undefined;
|
|
93
121
|
}>;
|
|
94
|
-
}> & {
|
|
122
|
+
}, {}> & {
|
|
95
123
|
createdAt: NativeDate;
|
|
96
124
|
updatedAt: NativeDate;
|
|
97
125
|
} & {
|
|
@@ -235,7 +263,7 @@ declare const ProductDefinitionsModel: mongoose.Model<{
|
|
|
235
263
|
overrideRuleMessage?: string | null | undefined;
|
|
236
264
|
inheritedFrom?: string | null | undefined;
|
|
237
265
|
}>;
|
|
238
|
-
}
|
|
266
|
+
}>, {}> & mongoose.FlatRecord<{
|
|
239
267
|
createdAt: NativeDate;
|
|
240
268
|
updatedAt: NativeDate;
|
|
241
269
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-definitions.model.d.ts","sourceRoot":"","sources":["../../product-catalogues/product-definitions.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA4BhC,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiE,CAAC;AAC/F,eAAe,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"product-definitions.model.d.ts","sourceRoot":"","sources":["../../product-catalogues/product-definitions.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA4BhC,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiE,CAAC;AAC/F,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
29
|
import mongoose from "mongoose";
|
|
2
30
|
declare const ProductVariantModel: mongoose.Model<{
|
|
3
31
|
createdAt: NativeDate;
|
|
@@ -17,7 +45,7 @@ declare const ProductVariantModel: mongoose.Model<{
|
|
|
17
45
|
variantid: string;
|
|
18
46
|
variantCode: string;
|
|
19
47
|
label?: string | null | undefined;
|
|
20
|
-
}> & {
|
|
48
|
+
}, {}> & {
|
|
21
49
|
createdAt: NativeDate;
|
|
22
50
|
updatedAt: NativeDate;
|
|
23
51
|
} & {
|
|
@@ -50,7 +78,7 @@ declare const ProductVariantModel: mongoose.Model<{
|
|
|
50
78
|
variantid: string;
|
|
51
79
|
variantCode: string;
|
|
52
80
|
label?: string | null | undefined;
|
|
53
|
-
}
|
|
81
|
+
}>, {}> & mongoose.FlatRecord<{
|
|
54
82
|
createdAt: NativeDate;
|
|
55
83
|
updatedAt: NativeDate;
|
|
56
84
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-variant.model.d.ts","sourceRoot":"","sources":["../../product-catalogues/product-variant.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAchC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"product-variant.model.d.ts","sourceRoot":"","sources":["../../product-catalogues/product-variant.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAchC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyD,CAAC;AACnF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
/// <reference path="../value-objects/account-number.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/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/schematypes" />
|
|
26
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
27
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
28
|
import mongoose from 'mongoose';
|
|
2
29
|
import { Pound } from '../value-objects/pound';
|
|
3
30
|
declare const PropertyModel: mongoose.Model<{
|
|
@@ -148,6 +175,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
148
175
|
instance?: unknown;
|
|
149
176
|
isRequired?: unknown;
|
|
150
177
|
path?: unknown;
|
|
178
|
+
toJSONSchema?: {} | null | undefined;
|
|
151
179
|
validateAll?: {} | null | undefined;
|
|
152
180
|
defaultOptions?: unknown;
|
|
153
181
|
} | null | undefined;
|
|
@@ -200,6 +228,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
200
228
|
instance?: unknown;
|
|
201
229
|
isRequired?: unknown;
|
|
202
230
|
path?: unknown;
|
|
231
|
+
toJSONSchema?: {} | null | undefined;
|
|
203
232
|
validateAll?: {} | null | undefined;
|
|
204
233
|
defaultOptions?: unknown;
|
|
205
234
|
} | null | undefined;
|
|
@@ -247,6 +276,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
247
276
|
instance?: unknown;
|
|
248
277
|
isRequired?: unknown;
|
|
249
278
|
path?: unknown;
|
|
279
|
+
toJSONSchema?: {} | null | undefined;
|
|
250
280
|
validateAll?: {} | null | undefined;
|
|
251
281
|
defaultOptions?: unknown;
|
|
252
282
|
} | null | undefined;
|
|
@@ -294,6 +324,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
294
324
|
instance?: unknown;
|
|
295
325
|
isRequired?: unknown;
|
|
296
326
|
path?: unknown;
|
|
327
|
+
toJSONSchema?: {} | null | undefined;
|
|
297
328
|
validateAll?: {} | null | undefined;
|
|
298
329
|
defaultOptions?: unknown;
|
|
299
330
|
} | null | undefined;
|
|
@@ -341,6 +372,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
341
372
|
instance?: unknown;
|
|
342
373
|
isRequired?: unknown;
|
|
343
374
|
path?: unknown;
|
|
375
|
+
toJSONSchema?: {} | null | undefined;
|
|
344
376
|
validateAll?: {} | null | undefined;
|
|
345
377
|
defaultOptions?: unknown;
|
|
346
378
|
} | null | undefined;
|
|
@@ -495,6 +527,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
495
527
|
instance?: unknown;
|
|
496
528
|
isRequired?: unknown;
|
|
497
529
|
path?: unknown;
|
|
530
|
+
toJSONSchema?: {} | null | undefined;
|
|
498
531
|
validateAll?: {} | null | undefined;
|
|
499
532
|
defaultOptions?: unknown;
|
|
500
533
|
} | null | undefined;
|
|
@@ -547,6 +580,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
547
580
|
instance?: unknown;
|
|
548
581
|
isRequired?: unknown;
|
|
549
582
|
path?: unknown;
|
|
583
|
+
toJSONSchema?: {} | null | undefined;
|
|
550
584
|
validateAll?: {} | null | undefined;
|
|
551
585
|
defaultOptions?: unknown;
|
|
552
586
|
} | null | undefined;
|
|
@@ -594,6 +628,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
594
628
|
instance?: unknown;
|
|
595
629
|
isRequired?: unknown;
|
|
596
630
|
path?: unknown;
|
|
631
|
+
toJSONSchema?: {} | null | undefined;
|
|
597
632
|
validateAll?: {} | null | undefined;
|
|
598
633
|
defaultOptions?: unknown;
|
|
599
634
|
} | null | undefined;
|
|
@@ -641,6 +676,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
641
676
|
instance?: unknown;
|
|
642
677
|
isRequired?: unknown;
|
|
643
678
|
path?: unknown;
|
|
679
|
+
toJSONSchema?: {} | null | undefined;
|
|
644
680
|
validateAll?: {} | null | undefined;
|
|
645
681
|
defaultOptions?: unknown;
|
|
646
682
|
} | null | undefined;
|
|
@@ -688,13 +724,14 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
688
724
|
instance?: unknown;
|
|
689
725
|
isRequired?: unknown;
|
|
690
726
|
path?: unknown;
|
|
727
|
+
toJSONSchema?: {} | null | undefined;
|
|
691
728
|
validateAll?: {} | null | undefined;
|
|
692
729
|
defaultOptions?: unknown;
|
|
693
730
|
} | null | undefined;
|
|
694
731
|
otherOwnershipParties?: unknown;
|
|
695
732
|
postCode?: unknown;
|
|
696
733
|
portfolioFile?: unknown;
|
|
697
|
-
}> & {
|
|
734
|
+
}, {}> & {
|
|
698
735
|
createdAt: NativeDate;
|
|
699
736
|
updatedAt: NativeDate;
|
|
700
737
|
} & {
|
|
@@ -842,6 +879,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
842
879
|
instance?: unknown;
|
|
843
880
|
isRequired?: unknown;
|
|
844
881
|
path?: unknown;
|
|
882
|
+
toJSONSchema?: {} | null | undefined;
|
|
845
883
|
validateAll?: {} | null | undefined;
|
|
846
884
|
defaultOptions?: unknown;
|
|
847
885
|
} | null | undefined;
|
|
@@ -894,6 +932,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
894
932
|
instance?: unknown;
|
|
895
933
|
isRequired?: unknown;
|
|
896
934
|
path?: unknown;
|
|
935
|
+
toJSONSchema?: {} | null | undefined;
|
|
897
936
|
validateAll?: {} | null | undefined;
|
|
898
937
|
defaultOptions?: unknown;
|
|
899
938
|
} | null | undefined;
|
|
@@ -941,6 +980,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
941
980
|
instance?: unknown;
|
|
942
981
|
isRequired?: unknown;
|
|
943
982
|
path?: unknown;
|
|
983
|
+
toJSONSchema?: {} | null | undefined;
|
|
944
984
|
validateAll?: {} | null | undefined;
|
|
945
985
|
defaultOptions?: unknown;
|
|
946
986
|
} | null | undefined;
|
|
@@ -988,6 +1028,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
988
1028
|
instance?: unknown;
|
|
989
1029
|
isRequired?: unknown;
|
|
990
1030
|
path?: unknown;
|
|
1031
|
+
toJSONSchema?: {} | null | undefined;
|
|
991
1032
|
validateAll?: {} | null | undefined;
|
|
992
1033
|
defaultOptions?: unknown;
|
|
993
1034
|
} | null | undefined;
|
|
@@ -1035,6 +1076,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1035
1076
|
instance?: unknown;
|
|
1036
1077
|
isRequired?: unknown;
|
|
1037
1078
|
path?: unknown;
|
|
1079
|
+
toJSONSchema?: {} | null | undefined;
|
|
1038
1080
|
validateAll?: {} | null | undefined;
|
|
1039
1081
|
defaultOptions?: unknown;
|
|
1040
1082
|
} | null | undefined;
|
|
@@ -1099,7 +1141,7 @@ declare const PropertyModel: mongoose.Model<{
|
|
|
1099
1141
|
associatedLoanPartiesIds?: mongoose.Types.ObjectId[] | null | undefined;
|
|
1100
1142
|
otherOwnershipParties?: string | null | undefined;
|
|
1101
1143
|
portfolioFile?: string | null | undefined;
|
|
1102
|
-
}
|
|
1144
|
+
}>, {}> & mongoose.FlatRecord<{
|
|
1103
1145
|
createdAt: NativeDate;
|
|
1104
1146
|
updatedAt: NativeDate;
|
|
1105
1147
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property.model.d.ts","sourceRoot":"","sources":["../../properties/property.model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"property.model.d.ts","sourceRoot":"","sources":["../../properties/property.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAe,MAAM,wBAAwB,CAAC;AA0J5D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
|
-
import { Pound } from '../value-objects/pound';
|
|
2
|
+
import { Pound, formatPound } from '../value-objects/pound';
|
|
3
3
|
const propertySchema = new mongoose.Schema({
|
|
4
|
-
applicationId: {
|
|
4
|
+
applicationId: {
|
|
5
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Application",
|
|
5
6
|
description: "Unique identifier for the application",
|
|
6
7
|
required: true
|
|
7
8
|
},
|
|
@@ -62,30 +63,35 @@ const propertySchema = new mongoose.Schema({
|
|
|
62
63
|
required: true,
|
|
63
64
|
default: 0.00,
|
|
64
65
|
description: "The market value of the property",
|
|
66
|
+
get: formatPound
|
|
65
67
|
},
|
|
66
68
|
monthlyRent: {
|
|
67
69
|
type: Pound,
|
|
68
70
|
required: true,
|
|
69
71
|
default: 0.00,
|
|
70
|
-
description: "The monthly rent value of the property"
|
|
72
|
+
description: "The monthly rent value of the property",
|
|
73
|
+
get: formatPound
|
|
71
74
|
},
|
|
72
75
|
monthlyRepayment: {
|
|
73
76
|
type: Pound,
|
|
74
77
|
required: true,
|
|
75
78
|
default: 0.00,
|
|
76
|
-
description: "The monthly repayment value for the property"
|
|
79
|
+
description: "The monthly repayment value for the property",
|
|
80
|
+
get: formatPound
|
|
77
81
|
},
|
|
78
82
|
originalLoanBalance: {
|
|
79
83
|
type: Pound,
|
|
80
84
|
required: true,
|
|
81
85
|
default: 0.00,
|
|
82
|
-
description: "The original loan balance for the property"
|
|
86
|
+
description: "The original loan balance for the property",
|
|
87
|
+
get: formatPound
|
|
83
88
|
},
|
|
84
89
|
outstandingBalance: {
|
|
85
90
|
type: Pound,
|
|
86
91
|
required: true,
|
|
87
92
|
default: 0.00,
|
|
88
|
-
description: "The remaining outstanding balance of the property loan"
|
|
93
|
+
description: "The remaining outstanding balance of the property loan",
|
|
94
|
+
get: formatPound
|
|
89
95
|
},
|
|
90
96
|
otherOwnershipParties: {
|
|
91
97
|
type: String,
|
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
/// <reference path="../value-objects/pound.d.ts" />
|
|
2
|
+
/// <reference path="../value-objects/account-number.d.ts" />
|
|
3
|
+
/// <reference path="../value-objects/sort-code.d.ts" />
|
|
4
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
5
|
+
/// <reference types="mongoose/types/callback" />
|
|
6
|
+
/// <reference types="mongoose/types/collection" />
|
|
7
|
+
/// <reference types="mongoose/types/connection" />
|
|
8
|
+
/// <reference types="mongoose/types/cursor" />
|
|
9
|
+
/// <reference types="mongoose/types/document" />
|
|
10
|
+
/// <reference types="mongoose/types/error" />
|
|
11
|
+
/// <reference types="mongoose/types/expressions" />
|
|
12
|
+
/// <reference types="mongoose/types/helpers" />
|
|
13
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
14
|
+
/// <reference types="mongoose/types/indexes" />
|
|
15
|
+
/// <reference types="mongoose/types/models" />
|
|
16
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
17
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
18
|
+
/// <reference types="mongoose/types/populate" />
|
|
19
|
+
/// <reference types="mongoose/types/query" />
|
|
20
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
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/schematypes" />
|
|
27
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
28
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
1
29
|
import mongoose from "mongoose";
|
|
2
30
|
declare const SecurityModel: mongoose.Model<{
|
|
3
31
|
applicationId: any;
|
|
@@ -87,7 +115,7 @@ declare const SecurityModel: mongoose.Model<{
|
|
|
87
115
|
energyEfficiencyRating: any;
|
|
88
116
|
energyEfficiencyRatingValue: any;
|
|
89
117
|
dataStreetSchema: any;
|
|
90
|
-
}> & {
|
|
118
|
+
}, {}> & {
|
|
91
119
|
applicationId: any;
|
|
92
120
|
pageValidFlag: any;
|
|
93
121
|
haveAnyBuyToLetProperties: any;
|
|
@@ -232,7 +260,7 @@ declare const SecurityModel: mongoose.Model<{
|
|
|
232
260
|
energyEfficiencyRating: any;
|
|
233
261
|
energyEfficiencyRatingValue: any;
|
|
234
262
|
dataStreetSchema: any;
|
|
235
|
-
}
|
|
263
|
+
}>, {}> & mongoose.FlatRecord<{
|
|
236
264
|
applicationId: any;
|
|
237
265
|
pageValidFlag: any;
|
|
238
266
|
haveAnyBuyToLetProperties: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security.model.d.ts","sourceRoot":"","sources":["../../properties/security.model.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"security.model.d.ts","sourceRoot":"","sources":["../../properties/security.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,QAAQ,MAAM,UAAU,CAAC;AA4JhC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// security.model.ts
|
|
2
2
|
import mongoose from "mongoose";
|
|
3
|
-
import { Pound } from "../value-objects/pound";
|
|
3
|
+
import { Pound, formatPound } from "../value-objects/pound";
|
|
4
4
|
const dataStreetSchema = new mongoose.Schema({
|
|
5
5
|
floorArea: { type: String, default: '' },
|
|
6
6
|
propertyType: { type: String, default: '' },
|
|
@@ -51,7 +51,8 @@ const dataStreetSchema = new mongoose.Schema({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
const securitySchema = new mongoose.Schema({
|
|
54
|
-
applicationId: {
|
|
54
|
+
applicationId: {
|
|
55
|
+
type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true,
|
|
55
56
|
description: "Unique identifier for the application"
|
|
56
57
|
}, // not-form securityData
|
|
57
58
|
pageValidFlag: { type: Boolean, default: true, }, //form
|
|
@@ -98,7 +99,8 @@ const securitySchema = new mongoose.Schema({
|
|
|
98
99
|
serviceCharge: {
|
|
99
100
|
type: Pound,
|
|
100
101
|
required: true,
|
|
101
|
-
default: 0.00 // Default value in correct format
|
|
102
|
+
default: 0.00, // Default value in correct format
|
|
103
|
+
get: formatPound
|
|
102
104
|
}, // form - pounds
|
|
103
105
|
unexpiredRemainingLease: { type: Number, required: true, max: 9999, default: 0 }, // form
|
|
104
106
|
yearLeaseExpires: { type: Number, required: true, default: 0 }, // not-form securityData
|